/* ========================================= */
/* CSS para a página "Programa de Contraturno" */
/* ========================================= */

/* 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/contraturno.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    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;
}

/* MODIFICAÇÃO GLOBAL: Oculta a linha de todos os cabeçalhos nesta página. */
.section-header::after {
    display: none;
}

/* --- AJUSTE DE ESPAÇAMENTO --- */
.new-student-promo {
    padding: 80px 0;
    margin-top: 0;
}
.feature-section, .features {
    padding: 80px 0;
}

/* Seção de Módulos de Aprendizado (Carrossel) */
.modulos-aprendizado {
    padding: 100px 0;
    background-color: var(--color-bg-alt);
}

.modulos-slider {
    position: relative;
    padding: 0 50px; /* Espaço para as setas de navegação */
}

.swiper-slide {
    height: auto; /* Garante que os slides se ajustem ao conteúdo */
    display: flex;
}

.modulos-aprendizado .feature-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    background-color: var(--color-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* Ocupa todo o espaço do slide */
    height: 100%; /* Ocupa toda a altura do slide */
}

.modulos-aprendizado .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.modulos-aprendizado .feature-card__icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.modulos-aprendizado .feature-card__title {
    font-size: 1.2rem; /* Tamanho padronizado */
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
    min-height: 40px; /* Altura mínima para alinhar */
    /* Limita o texto do título a 2 linhas */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.modulos-aprendizado .feature-card__text {
    font-size: 0.9rem; /* Tamanho padronizado */
    color: var(--color-text);
    line-height: 1.6;
    margin-top: auto; /* Empurra o texto para baixo, alinhando os títulos */
    /* Limita o texto a 3 linhas */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Estilos para a navegação do Swiper */
.modulos-slider .modulos-nav-button {
    color: var(--color-primary);
}
.modulos-slider .swiper-pagination-bullet-active {
    background-color: var(--color-primary);
}


/* Seção de Bilinguismo */
.bilingualism-promo-section {
    padding: 60px 0;
    margin-bottom: 80px;
    text-align: center;
    color: var(--color-white);
    background: linear-gradient(to bottom right, var(--color-secondary), var(--color-primary));
    position: relative;
    overflow: hidden;
}
.bilingualism-promo-section .section-header h2,
.bilingualism-promo-section .section-header p {
    color: var(--color-white);
}
.bilingualism-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}
.bilingualism-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}
.bilingualism-card__icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    height: 45px;
    color: var(--color-white);
}
.bilingualism-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--color-white);
}
.bilingualism-card__text {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
    color: var(--color-white);
}
.bilingualism-content .btn--white-outline {
    border: 2px solid var(--color-white);
    color: var(--color-white);
}
.bilingualism-content .btn--white-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* Seção Princípios / Proposta de Valor */
.principles {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    margin: 80px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(134, 96, 147, 0.7) 0%, #866093 50%, #704f7a 100%);
    min-height: 520px;
}
.principles .section-header h2, .principles .section-header p { color: var(--color-white); }


/* Seção de Pacotes Educacionais */
.packages-section {
    padding: 80px 0;
    background-color: #f7f7f7; /* Um tom de branco mais suave */
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.package-card {
    color: var(--color-white);
    background: linear-gradient(to bottom, #F16137, #F37344); /* Degradê do tom original para o mais claro */
    padding: 40px 25px;
    border-radius: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.package-label {
    background-color: #FFD700; /* Alterado para um tom de amarelo */
    color: #333; /* Alterado para um cinza escuro para melhor contraste */
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    display: inline-block;
}

.package-info h3 {
    color: var(--color-white);
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.packages-cta {
    text-align: center;
    margin-top: 50px;
}


/* --- RESPONSIVIDADE --- */

@media (max-width: 992px) {
    .hero--full-image .hero__content {
        margin-left: 10%;
    }
    .principles {
        margin: 80px 15px;
    }
    .principles__pane {
        grid-template-columns: 1fr;
    }
    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero--full-image {
        min-height: 80vh;
    }
    .hero--full-image .hero__content {
        max-width: 90%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .modulos-slider {
        padding: 0 15px;
    }

    .modulos-slider .modulos-nav-button {
        display: none;
    }

    .bilingualism-promo-section {
        padding: 60px 0;
    }
    .principles {
        padding: 40px 0;
    }
}