/* * --------------------------------
 * VARIÁVEIS GLOBAIS (DESIGN VENDÁVEL)
 * --------------------------------
 */
:root {
    --font-main: 'Inter', sans-serif;
    
    --color-primary: #D9232D;     /* Vermelho Guhan (Acento) */
    --color-secondary: #FDB03A;   /* Amarelo/Ouro (CTA Principal) */
    --color-dark: #23537B;        /* Azul Escuro (Profissionalismo, Texto) */
    --color-text: #333;
    --color-text-light: #555;
    --color-white: #FFFFFF;
    --color-bg-light: #F4F7F6;
    
    --border-radius-main: 12px;   /* Cantos mais suaves */
    --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 8px 30px rgba(35, 83, 123, 0.1);
    
    --transition-main: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* * --------------------------------
 * RESET E ESTILOS GLOBAIS
 * --------------------------------
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Isso garante que os links âncora pousem abaixo do header */
    scroll-padding-top: 100px; 
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.7;
    background-color: var(--color-white);
    overflow-x: hidden; /* Previne scroll horizontal por causa das animações */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section.bg-light {
    background-color: var(--color-bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background-color: rgba(217, 35, 45, 0.1); /* Vermelho com 10% opacidade */
    color: var(--color-primary);
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}

h1, h2, h3, h4 {
    color: var(--color-dark);
    font-weight: 800; /* Um pouco menos pesado que 900, mais elegante */
    line-height: 1.3;
    margin-bottom: 15px;
}

h1 { font-size: 48px; }
h2 { font-size: 40px; }
h3 { font-size: 24px; }

p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 17px;
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* * --------------------------------
 * BOTÕES (CTAs) - SUPER VENDÁVEIS
 * --------------------------------
 */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--border-radius-main);
    transition: var(--transition-main);
    cursor: pointer;
    text-align: center;
    border: none;
    transform: scale(1); /* Estado base para animação */
    box-shadow: var(--shadow-light);
}

.btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    /* Animação de Pulsação para chamar a atenção */
    animation: pulse 2s infinite;
}
.btn-primary:hover {
    background-color: #ffc24a; /* Tom mais claro no hover */
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}
.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
}
.btn-primary-outline:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--color-white);
    font-size: 18px;
    padding: 15px 35px;
}
.btn-whatsapp i {
    margin-right: 10px;
}
.btn-whatsapp:hover {
    background-color: #20b859;
}

/* Animação de Pulsação */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(253, 176, 58, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(253, 176, 58, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(253, 176, 58, 0);
    }
}


/* * --------------------------------
 * HEADER (CORRIGIDO E ESTILIZADO)
 * --------------------------------
 */
.header {
    background-color: var(--color-white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-main);
    /* Inicia transparente para o efeito de sombra */
    border-bottom: 1px solid transparent; 
}

/* Header com sombra ao rolar */
.header.sticky {
    border-bottom: 1px solid #EEE;
    box-shadow: var(--shadow-medium);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-main);
}
.header.sticky .navbar {
    height: 70px; /* Header encolhe um pouco ao rolar */
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: var(--color-dark);
    font-weight: 700;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}
/* Efeito de sublinhado no hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-primary);
    transition: var(--transition-main);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.nav-link:hover {
    color: var(--color-primary);
}

.cta-nav-button {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: var(--border-radius-main);
    transition: var(--transition-main);
}
.cta-nav-button::after { display: none; } /* Remove sublinhado */
.cta-nav-button:hover {
    background-color: #b31b24;
    color: var(--color-white);
    transform: scale(1.05);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-dark);
    transition: all 0.3s ease-in-out;
}

/* * --------------------------------
 * SEÇÃO 1: HERÓI
 * --------------------------------
 */
#hero {
    position: relative;
    height: 95vh; /* Um pouco mais alto */
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--color-white);
    /* O conteúdo começa abaixo do header fixo */
    margin-top: 80px; 
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente sutil para legibilidade */
    background: linear-gradient(0deg, rgba(35, 83, 123, 0.8) 0%, rgba(35, 83, 123, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* * --------------------------------
 * SEÇÃO 2: PROVA SOCIAL RÁPIDA
 * --------------------------------
 */
#proof-bar {
    background-color: var(--color-bg-light);
    padding: 40px 0;
    border-bottom: 1px solid #E0E0E0;
}

.stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h3 {
    color: var(--color-primary);
    font-size: 36px;
    margin-bottom: 0;
}

.stat-item p {
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 0;
}

/* * --------------------------------
 * SEÇÃO 3: OPORTUNIDADE (BOLSAS)
 * --------------------------------
 */
.opportunity-image img {
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-medium);
}

.opportunity-content p {
    font-size: 18px;
}
.opportunity-content p strong {
    color: var(--color-dark);
}

/* * --------------------------------
 * SEÇÃO 4: PARA QUEM É?
 * --------------------------------
 */
.feature-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius-main);
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-main);
}
.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card .icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 16px;
    margin-bottom: 0;
}

/* * --------------------------------
 * SEÇÃO 5: CURSOS
 * --------------------------------
 */
.course-card {
    background-color: var(--color-white);
    border: none;
    border-radius: var(--border-radius-main);
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-main);
}

.course-card:hover {
    transform: translateY(-8px);
}

.course-card .card-tag {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.course-card p {
    flex-grow: 1;
    margin-bottom: 25px;
}
.course-card .btn-primary-outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.course-card .btn-primary-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Destaca o curso principal */
.course-card:nth-child(1) {
    background-color: var(--color-dark);
    transform: scale(1.05); /* Levemente maior */
}
.course-card:nth-child(1):hover {
    transform: scale(1.1) translateY(-8px);
}
.course-card:nth-child(1) h3,
.course-card:nth-child(1) p {
    color: var(--color-white);
}
.course-card:nth-child(1) .card-tag {
    color: var(--color-secondary);
}
.course-card:nth-child(1) .btn-primary-outline {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    border: 2px solid var(--color-secondary);
}
.course-card:nth-child(1) .btn-primary-outline:hover {
    background-color: #ffc24a;
}


/* * --------------------------------
 * SEÇÃO 6: AUTORIDADE (PROFESSOR)
 * --------------------------------
 */
.author-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-medium);
}

.author-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* * --------------------------------
 * SEÇÃO 7: DEPOIMENTOS
 * --------------------------------
 */
.testimonial-card {
    background-color: var(--color-white);
    border: none;
    padding: 30px;
    border-radius: var(--border-radius-main);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-light);
    position: relative;
    padding-top: 50px;
}
/* Efeito de "aspas" */
.testimonial-card::before {
    content: '“';
    font-family: Georgia, serif;
    font-size: 60px;
    color: var(--color-secondary);
    position: absolute;
    top: -10px;
    left: 20px;
}

.testimonial-card p {
    font-style: italic;
    font-size: 17px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.student-info strong {
    color: var(--color-dark);
}
.student-info span {
    font-size: 14px;
    color: var(--color-text-light);
}

/* * --------------------------------
 * SEÇÃO 8: BLOG
 * --------------------------------
 */
.blog-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: var(--transition-main);
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-card-content {
    padding: 25px;
}

.blog-card h4 {
    margin-bottom: 10px;
}
.blog-card p {
    font-size: 16px;
    margin-bottom: 20px;
}
.blog-card a {
    font-weight: 700;
}

/* * --------------------------------
 * SEÇÃO 9: CTA FINAL (WHATSAPP)
 * --------------------------------
 */
#final-cta {
    background-color: var(--color-dark);
    text-align: center;
}

#final-cta h2, #final-cta p {
    color: var(--color-white);
}

#final-cta p {
    font-size: 18px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.8);
}

/* * --------------------------------
 * RODAPÉ
 * --------------------------------
 */
.footer {
    background-color: var(--color-dark);
    color: #b0c4de;
    padding: 80px 0 0 0;
}

.footer-logo {
    height: 45px;
    width: auto;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #b0c4de;
    transition: var(--transition-main);
}
.footer-col ul li a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #b0c4de;
    font-size: 24px;
    transition: var(--transition-main);
}
.social-icons a:hover {
    color: var(--color-white);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid #3a6a96;
    font-size: 14px;
}
.footer-bottom p {
    margin: 5px 0;
    color: #b0c4de;
}
.footer-bottom a {
    color: var(--color-white);
    font-weight: 700;
}

/* * --------------------------------
 * ANIMAÇÕES DE SCROLL (REVEAL)
 * --------------------------------
 */
/* Estado inicial (escondido) */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
/* Estado final (visível) */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* * --------------------------------
 * RESPONSIVIDADE (CELULAR)
 * --------------------------------
 */
@media (max-width: 992px) {
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    #hero {
        height: 100vh;
        margin-top: 80px;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    .hero-content p {
        font-size: 18px;
    }
    .cta-buttons {
        flex-direction: column;
        width: 80%;
        margin: 0 auto;
    }

    /* Inverte a ordem na seção Oportunidade */
    #opportunity .opportunity-image { order: 1; }
    #opportunity .opportunity-content { order: 2; }
    
    /* Inverte a ordem na seção Autor */
    #author .author-video { order: 1; }
    #author .author-content { order: 2; }

    /* Ajuste no curso destacado */
    .course-card:nth-child(1) {
        transform: scale(1); /* Tira o destaque no mobile */
    }
}


@media (max-width: 768px) {
    /* Não precisa mais do padding-top no body aqui */
    
    .stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    /* Menu Hamburguer */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; /* Alinhado com o header.sticky */
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        gap: 0;
        box-shadow: var(--shadow-medium);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link {
        display: block;
        padding: 25px 0;
        width: 100%;
    }
    .nav-link::after {
        display: none; /* Sem sublinhado no mobile */
    }

    .cta-nav-button {
        width: 90%;
        margin: 20px auto;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .footer .grid-3 {
        gap: 40px;
        text-align: center;
    }
    .footer-logo {
        margin: 0 auto 20px auto;
    }
    .social-icons {
        justify-content: center;
    }
}

/* * --------------------------------
 * ESTILOS DA PÁGINA DE POST (BLOG)
 * --------------------------------
 */
.post-wrapper {
    background-color: var(--color-white);
}

/* Container principal do artigo (foco na leitura) */
.post-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cabeçalho do Post */
.post-header {
    padding-top: 60px; /* Espaço do header fixo */
    padding-bottom: 40px;
    border-bottom: 1px solid #EEE;
    margin-bottom: 40px;
}

.post-breadcrumb {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
    display: inline-block;
}
.post-breadcrumb:hover {
    color: var(--color-primary);
}

.post-title {
    font-size: 44px; /* Título grande e impactante */
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.post-meta {
    font-size: 15px;
    color: var(--color-text-light);
}
.post-meta strong {
    color: var(--color-dark);
}

/* Imagem de Destaque */
.post-image-featured {
    margin-bottom: 40px;
}
.post-image-featured img {
    width: 100%;
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-light);
}

/* Conteúdo do Post (Tipografia de Leitura) */
.post-content {
    font-size: 19px;
    line-height: 1.8;
    color: #222; /* Texto um pouco mais escuro para leitura */
}

.post-content p {
    font-size: 19px;
    margin-bottom: 25px;
}

.post-content h2,
.post-content h3 {
    color: var(--color-dark);
    font-weight: 700;
    margin-top: 45px;
    margin-bottom: 20px;
}

.post-content h2 { font-size: 32px; }
.post-content h3 { font-size: 26px; }

.post-content ul,
.post-content ol {
    margin-left: 30px;
    margin-bottom: 25px;
}
.post-content li {
    margin-bottom: 10px;
}

.post-content blockquote {
    border-left: 4px solid var(--color-secondary);
    padding-left: 25px;
    margin: 30px 0;
    font-style: italic;
    font-size: 20px;
    color: var(--color-text-light);
}

/* Botões de Compartilhamento */
.post-share {
    margin: 40px 0;
    padding-top: 30px;
    border-top: 1px solid #EEE;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.post-share strong {
    font-size: 18px;
    color: var(--color-dark);
}
.share-icons {
    display: flex;
    gap: 10px;
}
.share-icons a {
    font-size: 22px;
    color: var(--color-text-light);
    transition: var(--transition-main);
    padding: 5px;
}
.share-icons a:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

/* Caixa do Autor (Pós-Post) */
.post-author-box {
    background-color: var(--color-bg-light);
    padding: 50px 0;
}
.post-author-box .container {
    max-width: 900px;
    display: flex;
    align-items: center;
    gap: 30px;
}
.post-author-box img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-white);
    box-shadow: var(--shadow-medium);
}
.post-author-box .author-info h3 {
    margin-bottom: 10px;
}
.post-author-box .author-info p {
    font-size: 17px;
    margin-bottom: 0;
}

/* Caixa de CTA (Pós-Post) */
.post-cta-box {
    background-color: var(--color-dark);
    text-align: center;
    padding: 80px 0;
}
.post-cta-box h2,
.post-cta-box p {
    color: var(--color-white);
}
.post-cta-box p {
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.8);
}

/* Artigos Relacionados */
#related-posts {
    padding-bottom: 100px;
}


/* Responsividade para o Post */
@media (max-width: 768px) {
    .post-title {
        font-size: 34px;
    }
    
    .post-content,
    .post-content p {
        font-size: 17px;
        line-height: 1.7;
    }
    
    .post-content blockquote {
        font-size: 18px;
    }
    
    .post-share {
        flex-direction: column;
        gap: 20px;
    }
    
    .post-author-box .container {
        flex-direction: column;
        text-align: center;
    }
    .post-author-box img {
        width: 100px;
        height: 100px;
    }
}

