@charset "UTF-8";

/* ===== SEÇÃO ===== */
.curriculos-section {
    padding: 0 20px 20px;
    background: linear-gradient(180deg, #f2f2f2, #ffffff);
}

/* ===== TÍTULO ===== */
.curriculos-title {
    text-align: center;
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    color: #1e3a5f;
    margin-bottom: 35px;
    animation: fadeUp 0.8s ease forwards;
}

/* ===== WRAPPER (SEGURA SETAS) ===== */
.curriculos-wrapper {
    position: relative;
    max-width: 1200px;
    margin: auto;
    overflow: hidden; /* 🔥 ESSENCIAL */
}

/* ===== TRACK (ROLAGEM) ===== */
.curriculos-track {
    display: flex;
    gap: 24px;
    padding: 10px 5px;
    overflow-x: auto;
    scroll-behavior: smooth;
    cursor: grab;
    user-select: none;
}

.curriculos-track::-webkit-scrollbar {
    display: none;
}

/* ===== LINK ===== */
.curriculo-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ===== CARD ===== */
.curriculo-card {
    min-width: 260px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    padding: 20px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeUp 0.8s ease forwards;
    user-select: none;
}

.curriculo-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 15px;
}

.curriculo-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #1e3a5f;
}

/* ===== HOVER ===== */
.curriculo-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 22px 50px rgba(0,0,0,0.25);
}

/* ===== CLICK ===== */
.curriculo-card:active {
    transform: scale(0.95);
}

/* ===== SETAS ===== */
.curriculo-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    cursor: pointer;
    font-size: 20px;
    z-index: 20;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.curriculo-arrow:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.curriculo-arrow.left {
    left: -12px;
}

.curriculo-arrow.right {
    right: -12px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .curriculo-arrow {
        display: none;
    }
}

/* ===== ANIMAÇÃO ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
