/* ========================================= */
/* CSS para a página "Nossos Resultados"     */
/* ========================================= */

/* HERO PADRONIZADO */
.hero--full-image {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--color-white);
    min-height: 90vh;
    padding: 40px 20px;
    background-color: var(--color-text-dark);
    margin-bottom: 0;
    z-index: 10;
    overflow: hidden;
}

.hero--full-image .hero__image-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/hero-resultado.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito Parallax */
    z-index: 1;
}

.hero--full-image .hero__overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 10%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.hero--full-image .hero__content {
    position: relative;
    z-index: 3;
    text-align: left;
    margin-left: 15%;
    margin-right: auto;
    max-width: 700px;
    padding-top: 0;
}

.hero--full-image .hero__title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: none;
}

.hero--full-image .hero__content > .hero__subtitle:first-of-type {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.2;
    text-shadow: none;
    max-width: none;
    margin: 0;
}

.hero--full-image .hero__content > .hero__subtitle:last-of-type {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: none;
    max-width: none;
    margin: 0;
}


/* 2. Seção de Excelência Pedagógica (Features) */
.features-results {
    padding: 100px 0;
    background-color: var(--color-white);
    margin-top: 0; /* Garante espaçamento correto */
}
.features-results__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.feature-card {
    background-color: var(--color-bg-alt);
    padding: 35px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.feature-card__icon {
    width: 70px; height: 70px;
    margin: 0 auto 30px auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background-color: var(--color-white);
    color: var(--color-primary);
    font-size: 2.2rem;
    box-shadow: 0 0 0 5px rgba(241, 97, 55, 0.1);
    transition: all 0.3s ease;
}
.feature-card:hover .feature-card__icon {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1) rotate(10deg);
}
.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--color-text-dark);
}
.feature-card p {
    font-sze: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
}

/* 4. SEÇÃO DE ALUNOS APROVADOS */
.student-results-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--color-bg-alt), #fdfdfd);
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: #F16137;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    font-size: 1.2rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: #F16137;
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-btn--prev {
    left: -20px;
}

.carousel-btn--next {
    right: -20px;
}

.student-carousel-container {
    overflow-x: auto;
    padding: 30px 0;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.student-carousel-container.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
    scroll-behavior: auto;
}


.student-carousel-container::-webkit-scrollbar {
    display: none;
}

.student-carousel {
    display: flex;
    gap: 30px;
    width: fit-content;
    padding: 5px 15px;
}

.student-card {
    background: linear-gradient(145deg, #F16137, #866093 120%);
    color: #ffffff;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    width: 280px;
    min-width: 280px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    user-select: none;
}

.student-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(241, 97, 55, 0.4);
}

.student-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--color-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-left: auto;
    margin-right: auto;
    pointer-events: none;
}

.student-card h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
}

.student-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.student-card p span {
    font-weight: 800;
    font-size: 1.8rem;
    color: #ffffff;
    display: block;
    margin-top: 5px;
    line-height: 1;
}

/* ======================================================= */
/* 5. [NOVO] SEÇÃO FINAL COM CARD PROMOCIONAL (DIREITA)   */
/* ======================================================= */
.promo-card-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 500px; /* Reduzi um pouco a altura mínima */
    padding: 80px 0; /* Aumentei um pouco o padding vertical */
    overflow: hidden;
}
.promo-card__bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.promo-card__overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}
.promo-card-section .container {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: flex-end; /* Alinha o conteúdo à direita */
    align-items: center;
    padding-right: 5%; /* Adiciona um pequeno espaço à direita */
}
.promo-card {
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 40px; /* Reduzi o padding interno */
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: auto; /* Largura automática para se ajustar ao conteúdo */
    max-width: 450px; /* Defina uma largura máxima menor */
    text-align: left; /* Alinhe o texto à esquerda dentro do card */
    color: var(--color-text-dark);
}
.promo-card h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem); /* Reduzi o tamanho da fonte do título */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px; /* Reduzi a margem inferior */
    color: var(--color-primary-dark);
}
.promo-card p {
    font-size: 1rem; /* Reduzi o tamanho da fonte do parágrafo */
    line-height: 1.6;
    margin-bottom: 25px; /* Reduzi a margem inferior */
    max-width: none; /* Remove a restrição de largura */
}
.promo-card__buttons {
    display: flex;
    gap: 15px; /* Reduzi a distância entre os botões */
    flex-wrap: nowrap; /* Evita que os botões quebrem para a linha de baixo */
}
.promo-card__buttons .btn {
    font-size: 0.9rem; /* Reduzi o tamanho da fonte dos botões */
    padding: 10px 20px; /* Reduzi o padding dos botões */
}
.promo-card__buttons .btn--secondary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .features-results, .student-results-section, .promo-card-section {
        padding: 60px 0;
    }
    .student-carousel {
        padding-left: 15px;
        padding-right: 15px;
        gap: 20px;
    }
    .promo-card-section {
        min-height: auto; /* Permite que a altura se ajuste ao conteúdo */
    }
    .promo-card-section .container {
        justify-content: center; /* Centraliza em telas menores */
        padding-right: 0;
        padding-left: 0;
    }
    .promo-card {
        max-width: 90%; /* O card ocupa mais largura em telas menores */
        text-align: center;
    }
    .promo-card__buttons {
        flex-wrap: wrap; /* Permite que os botões quebrem em telas menores */
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .features-results, .student-results-section {
        padding: 40px 0;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .carousel-btn--prev {
        left: -10px;
    }
    .carousel-btn--next {
        right: -10px;
    }
    .student-carousel-container {
        padding: 20px 0;
    }
    .student-carousel {
        gap: 15px;
    }
    .student-card {
        width: 240px;
        min-width: 240px;
        padding: 20px 15px;
    }
    .student-card img {
        width: 100px;
        height: 100px;
    }
    .student-card h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    .student-card p {
        font-size: 0.9rem;
    }
    .student-card p span {
        font-size: 1.6rem;
    }

    .promo-card-section {
        padding: 40px 0;
    }
    .promo-card {
        padding: 25px;
    }
    .promo-card h2 {
        font-size: 1.6rem;
    }
    .promo-card p {
        font-size: 0.95rem;
    }
    .promo-card__buttons {
        gap: 10px;
    }
    .promo-card__buttons .btn {
        font-size: 0.85rem;
        padding: 8px 15px;
    }
}