/* =================================================== */
/* HERO PADRONIZADO (SEGUINDO A REFERÊNCIA DE ARTE E CULTURA) */
/* =================================================== */
.hero {
    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 .hero__image-bg {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-image: url('../images/bilinguismo.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hero .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 .hero__content {
    position: relative;
    z-index: 3;
    text-align: left;
    margin-left: 15%;
    margin-right: auto;
    max-width: 700px;
    padding-top: 0;
}

.hero .hero__title {
    font-size: clamp(2rem, 4vw, 3.5rem); 
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: none;
}

.hero .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 .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;
}

/* Media query para ajustar em telas menores */
@media (max-width: 992px) {
    .hero .hero__content {
        margin-left: 10%; /* Reduz a margem em telas médias */
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh; /* Ajusta a altura proporcionalmente em telas menores */
    }
    .hero .hero__content {
        max-width: 90%; 
        text-align: center; 
         margin-left: auto;
         margin-right: auto;
    }
}


/* =================================================== */
/* CSS para a página "Programa de Bilinguismo" */
/* =================================================== */

/* --- Seção de Texto com Imagem (Estilo Atualizado) --- */
.text-image-section {
    padding: 100px 0;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
    margin-top: 0; /* Adicionado para garantir o espaçamento correto */
}
.text-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.text-image__image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: auto; 
}
.text-image__image img {
    width: 100%;
    display: block; 
    object-fit: cover; 
    aspect-ratio: 16 / 9; 
    transition: transform 0.4s ease;
}
.text-image__image:hover img {
    transform: scale(1.05);
}
.text-image__content h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--color-primary-dark);
    margin-bottom: 20px;
}
.text-image__content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 20px;
}
.text-image__content p strong {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--color-text-dark);
}
.text-image-grid--reversed .text-image__image {
    order: 2;
}

/* --- Seção de Benefícios/Vantagens --- */
.benefits-section {
    padding: 80px 0;
}
.benefits-section.bg-alt {
    background-color: var(--color-bg-alt);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.benefit-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 35px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease-in-out;
}
.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}
.benefit-card__icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-secondary);
    height: 50px;
    transition: color 0.3s ease;
}
.benefit-card:hover .benefit-card__icon {
    color: var(--color-primary);
}
.benefit-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--color-text-dark);
}
.benefit-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
}


/* --- Estilos para a Seção de Contato com Imagem de Fundo (Card à Direita) --- */
.history-promo-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--color-primary); 
    display: flex;
    align-items: center;
    justify-content: flex-end; 
    min-height: 600px;
    overflow: hidden;
}
.history-promo__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.history-promo__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 80%, transparent 100%);
    z-index: 1;
}
.history-promo-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end; 
    width: 100%; 
}
.history-promo-card {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-width: 550px;
    width: 100%; 
}
.history-promo-card__super-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 5px;
}
.history-promo-card__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}
.history-promo-card__text-group p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}
.history-promo-card__text-group address {
    font-style: normal;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}
.history-promo-card .btn {
    width: 100%;
    max-width: 300px;
}


/* --- Ajustes de Responsividade Gerais --- */
@media (max-width: 992px) {
    .text-image-section, .benefits-section {
        padding: 80px 0;
    }
    .text-image-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .text-image-grid--reversed .text-image__image {
        order: 0; 
    }
}

@media (max-width: 768px) {
    .text-image-section, .benefits-section {
        padding: 60px 0;
    }
    .text-image__content {
        text-align: center;
    }
    .text-image__content .btn {
        margin: 0 auto;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .history-promo-section {
        justify-content: center;
        text-align: center;
        padding: 80px 20px;
    }
    .history-promo__overlay {
         background: rgba(0, 0, 0, 0.7);
    }
    .history-promo-section .container {
        justify-content: center;
        padding-right: 0; 
    }
    .history-promo-card {
        padding: 30px;
        max-width: 100%;
    }
    .history-promo-card .btn {
        max-width: 100%;
    }
}