/* ==================================================
   1. IMPORTAÇÃO DE FONTE MODERNA E VARIÁVEIS
   ================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary-dark: #0a5c36;    /* Verde Escuro Principal */
    --primary-light: #7bc15e;   /* Verde Claro Secundário */
    --accent-dark: #12261e;      /* Escuro Quase Preto */
    --bg-white: #f9f8f3;        /* Off-White de Fundo */
    --pure-white: #ffffff;
    --text-color: #1a1a1a;      /* Escuro de Altíssima Legibilidade */
    --text-muted: #4a4a4a;      /* Cinza Escuro para Descrições */
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 30px rgba(10, 92, 54, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==================================================
   2. RESET E CONFIGURAÇÕES GERAIS
   ================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-white);
    font-size: 18px;
}

body {
    overflow-x: hidden;
    padding-top: 80px;
    line-height: 1.6;
}

section, [id] {
    scroll-margin-top: 90px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a:focus-visible, 
button:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 3px;
}

.scroll-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.scroll-anim.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==================================================
   3. BOTÕES ESTILIZADOS
   ================================================== */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--accent-dark);
    padding: 16px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(123, 193, 94, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--pure-white);
    transform: translateY(-3px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    color: var(--pure-white);
}

/* ==================================================
   4. NAVBAR FIXA
   ================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    z-index: 1000;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area { margin-left: auto; }
.nav-logo { height: 60px; object-fit: contain; cursor: pointer; }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.15rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active { color: var(--primary-dark); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-light);
    transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

/* ==================================================
   5. ESTRUTURA DE SEÇÕES E TÍTULOS
   ================================================== */
.page-content { display: none; }
.page-content.active { display: block; animation: fadeIn 0.4s ease-in-out forwards; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-padding { padding: 90px 0; }
.bg-light { background-color: rgba(123, 193, 94, 0.08); }

.section-subtitle {
    display: block;
    color: var(--primary-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 1rem;
    text-align: center;
}

h2 { 
    font-size: 2.6rem; 
    color: var(--primary-dark); 
    margin-bottom: 25px; 
    font-weight: 800; 
    line-height: 1.25; 
    text-align: center;
}

.center-title { 
    text-align: center; 
    margin: 0 auto 50px auto; 
}

.margin-top { margin-top: 45px; }

/* ==================================================
   6. BANNER HERO & PÁGINA INICIAL
   ================================================== */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background-image: url('home_capa.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.48);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; color: #ffffff; max-width: 900px; }
.hero-content h1 { font-size: 3.3rem; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.hero-content p { font-size: 1.45rem; margin-bottom: 35px; opacity: 0.95; }

.section-text { font-size: 1.25rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; }
.fundadora--wrapper { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-medium); }
.fundadora-img { width: 100%; display: block; object-fit: cover; }
.fundadora-bio { font-size: 1.25rem; line-height: 1.8; margin-bottom: 20px; color: var(--text-color); }

.home-explore, .home-explore .container { text-align: center; }
.explore-buttons { 
    display: flex; 
    gap: 20px; 
    justify-content: center; 
    align-items: center;
    flex-wrap: wrap; 
    margin-top: 1.5rem;
}

/* ==================================================
   7. ABA CURSOS (MENU 2 OPÇÕES + DETALHES)
   ================================================== */
.cursos-main-desc {
    font-size: 1.45rem;
    color: var(--accent-dark);
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

.cursos-main-desc strong { font-weight: 800; }

.cursos-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    margin-top: 45px;
}

.option-card {
    background: var(--pure-white);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 2px solid rgba(10, 92, 54, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.category-icon { font-size: 3.8rem; color: var(--primary-dark); margin-bottom: 20px; }
.option-card h3 { font-size: 1.65rem; color: var(--primary-dark); margin-bottom: 15px; font-weight: 800; }
.option-card p { font-size: 1.25rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 35px; }

.btn-card-large {
    width: 100%;
    background-color: var(--primary-dark);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.15rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-card-large:hover {
    background-color: var(--primary-light);
    color: var(--accent-dark);
    transform: translateY(-3px);
}

.btn-back {
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    margin-bottom: 35px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-back:hover { text-decoration: underline; }

.category-title { text-align: center; margin-bottom: 45px; font-size: 2.4rem; color: var(--primary-dark); font-weight: 800; }

.cursos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    align-items: stretch;
}

.course-card {
    background-color: var(--pure-white);
    border-radius: 24px;
    padding: 40px 35px;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(10, 92, 54, 0.12);
}
.course-card.highlighted-card { border: 3px solid var(--primary-dark); }

.course-badge { font-size: 1.4rem; font-weight: 800; color: var(--accent-dark); margin-bottom: 12px; }
.course-subtitle { color: var(--primary-dark); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
.course-description { color: var(--text-muted); font-size: 1.2rem; line-height: 1.7; margin-bottom: 22px; }

.course-includes { margin-bottom: 25px; flex-grow: 1; }
.course-includes h4 { font-size: 1.15rem; color: var(--accent-dark); margin-bottom: 14px; font-weight: 800; }
.course-topics { list-style: none; }
.course-topics li {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}
.course-topics li i { color: var(--primary-dark); font-size: 1.1rem; }

.price-single {
    background-color: rgba(123, 193, 94, 0.15);
    padding: 16px;
    border-radius: 14px;
    text-align: center;
    margin-bottom: 22px;
}
.price-value { font-size: 1.75rem; font-weight: 800; color: var(--primary-dark); }

.btn-card {
    display: block;
    text-align: center;
    background-color: var(--primary-dark);
    color: var(--pure-white);
    padding: 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}
.btn-card:hover { background-color: var(--primary-light); color: var(--accent-dark); }

.group-course-card {
    background-color: var(--pure-white);
    border: 2px dashed var(--primary-dark);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}
.group-course-header h3 { font-size: 1.5rem; color: var(--primary-dark); margin-bottom: 8px; font-weight: 800; }
.group-course-header p { font-size: 1.2rem; color: var(--text-muted); }
.group-highlight { font-weight: 700; color: var(--primary-dark); margin-top: 6px; }
.group-course-details li { font-size: 1.2rem; margin-bottom: 10px; font-weight: 600; }

/* ==================================================
   8. ABA SERVIÇOS & CONSULTORIA
   ================================================== */
.services-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

@media (min-width: 1024px) {
    .services-full-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.service-card-full {
    background: var(--pure-white);
    padding: 35px 25px;
    border-radius: 24px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(10, 92, 54, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-header { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.service-card-header i { font-size: 2.4rem; color: var(--primary-dark); }
.service-card-header h3 { font-size: 1.5rem; color: var(--accent-dark); font-weight: 800; }

.service-card-desc { font-size: 1.15rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 25px; }

.service-card-list { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.service-card-list li {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.service-card-list li i { color: var(--primary-light); font-size: 0.9rem; }

/* BLOCO FINAL CONSULTORIA (DESTAQUE INTEGRAL) */
.custom-consult-box {
    width: 100%;
    background: linear-gradient(135deg, #0a5c36 0%, #12261e 100%);
    color: var(--pure-white);
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    margin-top: 55px;
}

.custom-consult-box h3 { 
    font-size: 2.2rem; 
    margin-bottom: 18px; 
    color: var(--pure-white); 
    font-weight: 800;
    text-align: center;
}

.custom-consult-box p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-align: center;
}

.custom-consult-box .btn-primary {
    background-color: #25d366;
    color: #ffffff;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.custom-consult-box .btn-primary:hover {
    background-color: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ==================================================
   9. WHATSAPP FLUTUANTE E RODAPÉ
   ================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.footer {
    background-color: var(--accent-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 70px 0 25px 0;
    margin-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
}

.footer h3 { color: var(--pure-white); margin-bottom: 20px; font-size: 1.3rem; font-weight: 800; }
.footer p { font-size: 1.1rem; margin-bottom: 12px; }

.social-icons { display: flex; gap: 15px; }
.social-icons a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    background-color: var(--primary-light);
    color: var(--accent-dark);
}

.footer-bottom { text-align: center; margin-top: 45px; font-size: 1rem; }
.footer-bottom hr { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px; }

/* ==================================================
   10. RESPONSIVIDADE E ACESSIBILIDADE
   ================================================== */
@media (max-width: 900px) {
    html { font-size: 16px; }
    .grid-2 { grid-template-columns: 1fr; }
    .menu-toggle { display: flex; }
    .logo-area { margin-left: 0; }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--pure-white);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: left 0.4s ease-in-out;
    }
    .nav-menu.active { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .scroll-anim { opacity: 1; transform: none; }
}
