/* =================================================================== */
/* CSS FINAL E COMPLETO PARA LANDING PAGE PROFISSIONAL                 */
/* =================================================================== */

/* --- Configurações Globais --- */
:root {
    --color-green: #78B1A2;
    --color-orange: #E2822B; /* Cor "amarela" solicitada */
    --color-red: #D42D20;
    --color-dark: #1d1d1b;
    --color-light: #ffffff;
    --font-body: 'Nunito', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--color-light);
    color: #333;
    font-family: var(--font-body);
    line-height: 1.7;
    text-align: center;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-title { font-size: 2.2rem; font-weight: 900; line-height: 1.3; margin-bottom: 3rem; }
/* Classes de cores para os títulos */
.color-green { color: var(--color-green); }
.color-orange { color: var(--color-orange); }
.color-red { color: var(--color-red); }

/* --- Seção Hero --- */
.hero { position: relative; height: 100vh; min-height: 650px; background-image: url('img/foto-alunos-1.jpg'); background-size: cover; background-position: center; color: var(--color-light); display: flex; align-items: center; justify-content: center; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(29, 29, 27, 0.75); }
.hero-content { position: relative; z-index: 2; }
.hero .logo { width: 150px; margin-bottom: 2rem; }
.main-headline { font-size: 2.5rem; font-weight: 900; line-height: 2; text-shadow: 2px 2px 8px rgba(0,0,0,0.5); margin-bottom: 1rem; }
/* AUMENTO DA FONTE DO SUBTÍTULO */
.sub-headline { font-size: 1.2rem; max-width: 800px; margin: 0 auto 2.5rem auto; text-shadow: 1px 1px 4px rgba(0,0,0,0.5); opacity: 0.95; }

/* --- Botão de Ação (CTA) --- */
.cta-button { display: inline-block; background-color: var(--color-red); color: var(--color-light); padding: 1rem 2.5rem; border-radius: 50px; font-weight: 700; font-size: 1.1rem; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.2); border: 2px solid rgba(255,255,255,0.8); }
.cta-button:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.3); }
.cta-button i { margin-right: 0.75rem; }
.pulse { animation: pulse-animation 2s infinite; }
@keyframes pulse-animation { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* --- Seção Pilares (Reimaginada) --- */
.pilar-item { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; margin-bottom: 3rem; }
.pilar-item:last-child { margin-bottom: 0; }
.pilar-img img { width: 100%; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.pilar-text { text-align: left; }
.pilar-text h3 { font-size: 1.8rem; font-weight: 900; color: var(--color-green); margin-bottom: 1rem; }
/* AUMENTO DA FONTE DOS TEXTOS */
.pilar-text p { font-size: 1.1rem; color: #555; }

/* --- Seção Credibilidade (Mackenzie) --- */
.credibilidade { background-color: #f9f9f9; } /* Alterado para um cinza claro para destacar */
.destaque-parceiro { margin-bottom: 4rem; }
.destaque-parceiro-logo { margin-bottom: 1rem; }
.destaque-parceiro-logo img { width: 200px; }
.destaque-parceiro p { font-size: 1.1rem; max-width: 800px; margin: 0 auto; color: #555; }
.apoio-parceiros h3 { font-size: 1.3rem; margin-top: 4rem; margin-bottom: 2rem; color: #555; }
.parceiros-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: center; max-width: 800px; margin: 0 auto; }
.parceiro-logo img { max-width: 150px; width: 100%; filter: grayscale(100%); opacity: 0.6; transition: all 0.3s ease; }
.parceiro-logo img:hover { opacity: 1; filter: grayscale(0%); }

/* --- Seção Níveis de Ensino --- */
.tabs { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tab-button { background-color: #f0f0f0; border: none; padding: 0.8rem 1.5rem; border-radius: 50px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease; }
.tab-button.active, .tab-button:hover { background-color: var(--color-red); color: var(--color-light); transform: translateY(-3px); }
.tab-content { display: none; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.tab-content.active { display: grid; animation: fadeIn 0.5s; }
.tab-content img { width: 100%; border-radius: 12px; }
.tab-content div { text-align: left; }
.tab-content h3 { font-size: 1.8rem; font-weight: 900; margin-bottom: 1rem; color: var(--color-red); }
.tab-content p { font-size: 1.1rem; color: #555; }

/* --- Seção FAQ --- */
.faq { background-color: #f9f9f9; }
.faq-accordion { max-width: 800px; margin: 0 auto; text-align: left; }
.faq-item { border-bottom: 1px solid #e0e0e0; }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 1.5rem 0; font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--color-green); transition: transform 0.3s ease; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out; }
.faq-answer p { padding-bottom: 1.5rem; font-size: 1.1rem; color: #555; }
/* =================================================================== */
/* CSS PARA A NOVA SEÇÃO DE VÍDEO INSTITUCIONAL                        */
/* =================================================================== */

.video-section {
    background-color: #f9f9f9; /* Um fundo suave para destacar o vídeo */
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 para vídeos */
    height: 0;
    overflow: hidden;
    max-width: 1000px; /* Limita a largura máxima do vídeo */
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* =================================================================== */
/* CORREÇÃO PARA O SUBTÍTULO                                           */
/* =================================================================== */

.section-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: -2rem auto 3rem auto; /* O margin negativo aproxima-o do título */
    line-height: 1.6;
}

/* --- Seção CTA Final (AJUSTADA) --- */
.final-cta { 
    background: var(--color-dark) url('img/foto-colegio-1.jpg') no-repeat center center/cover; 
    background-blend-mode: overlay; 
    color: var(--color-light); 
    padding: 6rem 0; /* AUMENTADO O PADDING VERTICAL */
}
.final-cta h2 { font-size: 2.2rem; text-shadow: 2px 2px 8px rgba(0,0,0,0.5); }
.final-cta p { max-width: 600px; margin: 1rem auto 2.5rem auto; font-size: 1.2rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.5); }

/* --- Rodapé --- */
footer { background-color: #111; color: #888; padding: 2.5rem 1rem; font-size: 0.9rem; }
footer p { margin: 0.25rem 0; }

/* =================================================================== */
/* BOTÃO FLUTUANTE DO WHATSAPP                                        */
/* =================================================================== */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* Cor padrão do WhatsApp */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    z-index: 1000;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none !important;
}

.whatsapp-button:hover {
    background-color: #128C7E; /* Cor mais escura no hover */
    transform: scale(1.1);
}
/* --- Animações --- */
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =================================================================== */
/* RESPONSIVIDADE (MOBILE-FIRST)                                       */
/* =================================================================== */

/* Telas maiores (tablets para cima) */
@media (min-width: 768px) {
    .section { padding: 5rem 0; }
    .section-title { font-size: 2.8rem; }
    .main-headline { font-size: 3.5rem; }
    .cta-button { font-size: 1.2rem; }
    .pilar-item { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .pilar-item.reverse .pilar-img { order: 2; }
    .pilar-text { padding: 0 1rem; }
    .tab-content { grid-template-columns: 350px 1fr; gap: 3rem; }
    .parceiros-grid { grid-template-columns: repeat(4, 1fr); }
    .tabs { gap: 1rem; }
    .tab-button { font-size: 1rem; }
    .final-cta { padding: 8rem 0; } /* Aumenta ainda mais em telas maiores */
}

/* Telas de Desktop */
@media (min-width: 992px) {
    .main-headline { font-size: 4rem; }
    .tab-content { grid-template-columns: 450px 1fr; }
}