:root {
    /* Cores dos Níveis OBMEP & Tema Infantil */
    --nivel-1: #fdb302; /* Amarelo OBMEP */
    --nivel-2: #497d31; /* Verde OBMEP */
    --nivel-3: #000000;
    
    /* Nova Paleta Light/Infantil */
    --bg-main: #f4f5f7; /* Cinza bem clarinho/gelo */
    --bg-card: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --border-color: rgba(0, 0, 0, 0.05);
    
    /* Gradientes Lúdicos */
    --grad-green-yellow: linear-gradient(135deg, #497d31 0%, #7db85f 50%, #fdb302 100%);
    --grad-green-light: linear-gradient(135deg, #497d31 0%, #85c265 100%);
    --grad-yellow-light: linear-gradient(135deg, #fdb302 0%, #ffd466 100%);
    
    /* Sombras e Formas */
    --shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.06);
    --shadow-btn: 0 8px 20px rgba(253, 179, 2, 0.4);
    
    --radius-lg: 32px;
    --radius-md: 24px;
    --radius-sm: 12px;
    --radius-pill: 50px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Outfit', sans-serif;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografia */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 800; /* Mais bold para o estilo infantil */
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: #fff; /* Ficará em cima do fundo colorido */
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

h3 {
    font-size: 1.5rem;
}

.subtitle, .lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

section {
    padding: 100px 0;
    position: relative;
}

/* Botões Infantis/Alegres */
.btn-primary {
    display: inline-block;
    background: var(--nivel-1);
    color: #000;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: var(--radius-pill); /* Bem arredondado */
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: var(--shadow-btn);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(253, 179, 2, 0.5);
    background: #ffc436;
}

/* Mockup Placeholders */
.mockup-placeholder {
    background: var(--bg-card);
    border: 2px dashed #cccccc;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 11, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: none;
}

.nav-logo-container {
    position: relative;
    height: 40px;
    display: inline-block;
}

.nav-logo-container img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.nav-logo-container .logo-white {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.nav-logo-container .logo-black {
    opacity: 1;
}

.navbar.scrolled .nav-logo-container .logo-black {
    opacity: 0;
}

.navbar.scrolled .nav-logo-container .logo-white {
    opacity: 1;
}


.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logos {
    display: flex;
    gap: 16px;
}

.logo-placeholder {
    padding: 8px 16px;
    background: #f0f0f0;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: bold;
    color: #333;
}

.nav-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    box-shadow: none;
}

/* Hero Section Brincalhona */
.hero {
    padding-top: 180px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--grad-green-yellow);
    position: relative;
    overflow: hidden;
    color: #fff;
    border-bottom-left-radius: 80px; /* Borda curva para dar o tom infantil */
    border-bottom-right-radius: 80px;
    margin-bottom: 60px;
}

/* Formas Geométricas Flutuantes na Hero */
.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 30px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    bottom: 100px;
    left: 50px;
    transform: rotate(45deg);
    animation: float 8s ease-in-out infinite reverse;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--nivel-2);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero .subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
}

.hero-benefits {
    list-style: none;
    margin-bottom: 40px;
}

.hero-benefits li {
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #fff;
}

.hero-benefits .icon {
    background: #fff;
    border-radius: 50%;
    padding: 4px;
    display: inline-flex;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hero-btn {
    font-size: 1.1rem;
    padding: 20px 48px;
    background: #fff;
    color: var(--nivel-2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hero-btn:hover {
    background: #f4f5f7;
    color: var(--nivel-2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.main-mockup {
    height: 500px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: none;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    position: relative;
    z-index: 3;
}

/* Impacto Visual - Estilo Blocos Didáticos */
.impacto-visual {
    background-color: var(--bg-main);
    padding-top: 40px;
}

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

.section-header p {
    color: var(--text-muted);
}

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

.level-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Adicionando "tags" coloridas no topo de cada card para dar o ar infantil */
.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
}

.level-1::before { background: var(--nivel-1); }
.level-2::before { background: var(--nivel-2); }
.level-3::before { background: var(--nivel-3); }

.level-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.level-card h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.level-card p {
    color: var(--text-muted);
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
}

.feature-item {
    background: #fff;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.feature-item:nth-child(even) {
    background: #f0f7ed; /* Verdinho super claro para quebrar a monotonia */
}

.pages-mockup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--grad-green-light);
    padding: 60px;
    border-radius: 40px;
    position: relative;
}

/* Decoração no bloco verde */
.pages-mockup::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--nivel-1);
    border-radius: 50%;
    top: -30px;
    left: -30px;
}

.page-mockup {
    height: 450px;
    border: none;
    border-radius: var(--radius-md);
}

/* Diferencial - Caminho Lúdico */
.diferencial {
    background: #fff;
    border-radius: 60px; /* Bordas enormes */
    margin: 40px 24px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.diferencial-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.diferencial-content h2 {
    font-size: 2.8rem;
    color: var(--nivel-2);
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 80px 0;
    position: relative;
}

/* Linha conectando os passos */
.flow-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #e0e0e0;
    z-index: 1;
    border-radius: 4px;
}

.step {
    flex: 1;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--nivel-1);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(253, 179, 2, 0.3);
    border: 4px solid #fff;
}

.step:nth-child(3) .step-number { background: var(--nivel-2); color: #fff; box-shadow: 0 8px 20px rgba(73, 125, 49, 0.3); }

.step h4 { margin-bottom: 12px; font-size: 1.2rem; }
.step p { font-size: 1rem; color: var(--text-muted); }
.step-arrow { display: none; /* Removendo seta em favor da linha contínua */ }

.future-updates-box {
    background: var(--grad-yellow-light);
    padding: 50px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 30px rgba(253, 179, 2, 0.2);
    position: relative;
}

.future-updates-box::after {
    content: '⭐';
    font-size: 3rem;
    position: absolute;
    top: -20px;
    right: -10px;
    transform: rotate(15deg);
}

.future-updates-box h3 { margin-bottom: 16px; color: #000; font-size: 2rem; }
.future-updates-box p { color: #333; font-size: 1.1rem; }

/* Autoridade */
.autoridade {
    background-color: var(--bg-main);
}

.autoridade-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.autoridade-text h2 { color: var(--nivel-2); }

.autoridade-text ul {
    list-style: none;
    margin-top: 32px;
}

.autoridade-text li {
    margin-bottom: 20px;
    padding-left: 36px;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 500;
}

.autoridade-text li::before {
    content: "📘"; /* Usando emoji de livro ao invés de bullet simples */
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    top: 2px;
}

.author-mockup { 
    height: 450px; 
    border-radius: var(--radius-lg);
    background: #fff;
    border: none;
    box-shadow: var(--shadow-soft);
}

/* Para Quem É */
.para-quem {
    background: var(--grad-green-light);
    color: #fff;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
    padding: 120px 0;
}

.para-quem h2 {
    color: #fff;
    text-align: center;
    font-size: 3rem;
}

.target-audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.audience-card {
    background: #fff;
    border: none;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    color: var(--text-main);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.audience-card:hover { 
    transform: translateY(-8px); 
}
.audience-card .icon { 
    font-size: 3.5rem; 
    display: block; 
    margin-bottom: 20px; 
}
.audience-card p strong {
    color: var(--nivel-2);
}

/* Benefícios */
.beneficios { 
    background-color: var(--bg-main); 
}

.benefits-table {
    width: 100%;
    border-collapse: separate; /* Permite bordas arredondadas e espaços */
    border-spacing: 0 16px; /* Espaço entre as linhas */
    margin-top: 20px;
}

.benefits-table th {
    padding: 20px 32px;
    text-align: left;
    font-size: 1.2rem;
    color: var(--nivel-2);
    border-bottom: 2px solid #e0e0e0;
}

.benefits-table td {
    padding: 24px 32px;
    text-align: left;
    background: #fff;
    font-weight: 500;
}

/* Arredondando as linhas da tabela para parecerem cards contínuos */
.benefits-table tr td:first-child {
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
    font-weight: 700;
    color: var(--nivel-2);
}

.benefits-table tr td:last-child {
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    color: var(--text-muted);
}

.benefits-table tbody tr {
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.benefits-table tbody tr:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-soft);
}

/* Prova Social */
.prova-social {
    background: #fff;
    border-radius: 60px;
    margin: 40px 24px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.prova-social .subtitle {
    margin: 0 auto 40px;
}

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

.review-mockup { 
    height: 250px; 
    border-radius: var(--radius-md);
    border: none;
    box-shadow: var(--shadow-soft);
    background: var(--bg-main);
}

/* CTA Final */
.cta-final {
    text-align: center;
    padding: 120px 0;
    background: var(--bg-main);
}

.cta-box {
    background: var(--grad-green-yellow);
    padding: 80px 40px;
    border-radius: 60px;
    box-shadow: 0 20px 50px rgba(73, 125, 49, 0.2);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    color: #fff;
    font-size: 3rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 40px 0 50px;
    flex-wrap: wrap;
}

.cta-features span {
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 30px;
}

.cta-final .cta-btn {
    font-size: 1.3rem;
    padding: 24px 56px;
    background: #fff;
    color: var(--nivel-2);
}

.secure-checkout {
    margin-top: 24px;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 60px 0 40px;
    text-align: center;
    background: var(--bg-main);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logos { justify-content: center; }

/* Animação Flutuante Simples */
@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Responsividade Básica */
@media (max-width: 992px) {
    .hero-grid, .autoridade-grid { grid-template-columns: 1fr; text-align: center; }
    .hero { text-align: center; padding-top: 140px; border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; }
    .hero-benefits li { justify-content: center; }
    .hero-benefits { display: inline-block; text-align: left; }
    .levels-grid, .reviews-grid { grid-template-columns: 1fr; }
    .pages-mockup { grid-template-columns: 1fr; padding: 30px; }
    .flow-steps { flex-direction: column; align-items: center; gap: 40px; }
    .flow-steps::before { display: none; }
    .diferencial, .prova-social { border-radius: 30px; margin: 20px 16px; }
    .para-quem { border-top-left-radius: 40px; border-top-right-radius: 40px; }
    .cta-box { border-radius: 40px; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .benefits-table th, .benefits-table td { padding: 16px; display: block; text-align: center; }
    .benefits-table tr td:first-child { border-bottom-left-radius: 0; border-top-right-radius: var(--radius-md); border-bottom: 1px solid #eee; }
    .benefits-table tr td:last-child { border-top-right-radius: 0; border-bottom-left-radius: var(--radius-md); }
    .cta-features { flex-direction: column; gap: 12px; }
}

/* Animações Iniciais (preparação para JS Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
