/* ==========================================================================
   LUMIIND — Design System (CSS compilado/autoral, sem build)
   Este arquivo é a folha de estilos versionada. Um tailwind.config.js está
   documentado no README para quem quiser recompilar/estender via Tailwind CLI.
   Organização:
     1. Tokens (variáveis)   4. Utilitários
     2. Reset                5. Componentes (btn, card, form, flash...)
     3. Base/tipografia      6. Landing   7. Responsivo
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
    /* Marca — cores extraídas da logo Lumiind (roxo vibrante + arco-íris) */
    --brand:        #7C3AED;   /* roxo das letras L / a */
    --brand-600:    #6D28D9;
    --brand-700:    #5B21B6;   /* roxo profundo do slogan */
    --brand-050:    #F2ECFE;
    --ink:          #2A1E5C;   /* violeta escuro (texto) */
    --ink-soft:     #574A82;
    --muted:        #8B82AD;

    /* Ambiente infantil (cores das letras da logo) */
    --kid-sky:      #35A7F0;   /* azul (u) */
    --kid-sun:      #FBBF24;   /* amarelo (i / estrela) */
    --kid-coral:    #F0389F;   /* rosa/magenta (n) */
    --kid-mint:     #4ECB71;   /* verde (m) */
    --kid-grape:    #A78BFA;   /* violeta claro */

    /* Matérias / mundos (mapeadas às letras da logo) */
    --math:         #7C3AED;   /* roxo */
    --portuguese:   #F0389F;   /* rosa */
    --english:      #35A7F0;   /* azul */
    --logic:        #4ECB71;   /* verde */
    --stories:      #FBBF24;   /* amarelo/dourado */
    --creativity:   #EC4899;   /* magenta */

    /* Aliases usados pelos componentes novos (funil, quiz, descoberta) */
    --pink:  var(--kid-coral);
    --sky:   var(--kid-sky);
    --green: var(--kid-mint);
    --gold:  var(--kid-sun);
    --card:  #FFFFFF;
    --text:  var(--ink);

    /* Neutros / superfícies */
    --bg:           #F7F5FC;
    --surface:      #FFFFFF;
    --border:       #EAE6F5;
    --border-strong:#D9D2ED;

    /* Feedback */
    --success:      #16A34A;
    --success-bg:   #DCFCE7;
    --error:        #DC2626;
    --error-bg:     #FEE2E2;
    --info:         #2563EB;
    --info-bg:      #DBEAFE;

    /* Raio, sombra, tipografia */
    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 2px rgba(30,27,58,.06), 0 1px 3px rgba(30,27,58,.08);
    --shadow:    0 4px 12px rgba(30,27,58,.08);
    --shadow-lg: 0 12px 32px rgba(30,27,58,.14);
    --shadow-brand: 0 10px 24px rgba(124,58,237,.32);
    --font: 'Nunito', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* 2. RESET ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea, button { font: inherit; color: inherit; }
ul { list-style: none; }
/* O atributo HTML `hidden` deve sempre vencer regras de display do autor
   (ex.: .celebrate-overlay/.q-feedback usam display:grid/flex). */
[hidden] { display: none !important; }

/* 3. BASE / TIPOGRAFIA ----------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; color: var(--ink); }
.h1 { font-size: 2.5rem; }
.h2 { font-size: 2rem; }
.h3 { font-size: 1.5rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* 4. UTILITÁRIOS ----------------------------------------------------------- */
.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 1.25rem; }
.container-sm { max-width: 460px; }
.container-md { max-width: 760px; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mx-auto { margin-inline: auto; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }

.gap-1 { gap: .25rem; } .gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; } .gap-5 { gap: 1.25rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; }

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}
.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-10{margin-top:2.5rem}
.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}
.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}
.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}
.py-2{padding-block:.5rem}.py-4{padding-block:1rem}.py-8{padding-block:2rem}
.py-12{padding-block:3rem}.py-16{padding-block:4rem}.py-20{padding-block:5rem}

.text-xs{font-size:.78rem}.text-sm{font-size:.88rem}.text-base{font-size:1rem}
.text-lg{font-size:1.15rem}.text-xl{font-size:1.35rem}.text-2xl{font-size:1.65rem}
.text-3xl{font-size:2rem}.text-4xl{font-size:2.6rem}.text-5xl{font-size:3.2rem}
.font-medium{font-weight:600}.font-bold{font-weight:700}.font-extrabold{font-weight:800}
.text-muted{color:var(--muted)}.text-soft{color:var(--ink-soft)}
.text-brand{color:var(--brand)}.text-white{color:#fff}
.leading-tight{line-height:1.2}

.rounded{border-radius:var(--radius)}.rounded-lg{border-radius:var(--radius-lg)}
.rounded-xl{border-radius:var(--radius-xl)}.rounded-full{border-radius:999px}
.shadow-sm{box-shadow:var(--shadow-sm)}.shadow{box-shadow:var(--shadow)}.shadow-lg{box-shadow:var(--shadow-lg)}

/* 5. COMPONENTES ----------------------------------------------------------- */

/* Botões */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .7rem 1.35rem; border-radius: 999px; font-weight: 700;
    font-size: 1rem; line-height: 1; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-600); }
.btn--ghost { background: var(--brand-050); color: var(--brand-700); }
.btn--ghost:hover { background: #E3E0F7; }
.btn--outline { background: #fff; color: var(--ink); border: 1.5px solid var(--border-strong); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--white { background: #fff; color: var(--brand-700); box-shadow: var(--shadow); }
.btn--lg { padding: .95rem 1.9rem; font-size: 1.12rem; }
.btn--block { width: 100%; }

/* Cartão */
.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.card--pad { padding: 1.5rem; }
.card--hover { transition: transform .15s ease, box-shadow .15s ease; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Formulários */
.field { margin-bottom: 1.05rem; }
.label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .4rem; color: var(--ink-soft); }
.input {
    width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--border-strong);
    border-radius: var(--radius); background: #fff; transition: border-color .12s, box-shadow .12s;
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-050); }
.input--error { border-color: var(--error); }
.field-error { color: var(--error); font-size: .82rem; margin-top: .35rem; font-weight: 600; }
.field-hint { color: var(--muted); font-size: .82rem; margin-top: .35rem; }

/* Pílulas / badges */
.pill {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .3rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 700;
    background: var(--brand-050); color: var(--brand-700);
}

/* Flash */
.flash-wrap {
    position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
    z-index: 60; width: min(92%, 460px); display: flex; flex-direction: column; gap: .5rem;
}
.flash {
    display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem;
    border-radius: var(--radius); box-shadow: var(--shadow-lg); font-weight: 600;
    animation: flash-in .25s ease;
}
.flash p { margin: 0; }
.flash--success { background: var(--success-bg); color: #14532D; }
.flash--error   { background: var(--error-bg); color: #7F1D1D; }
.flash--info    { background: var(--info-bg); color: #1E3A8A; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Página de erro */
.error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; gap: .5rem; }
.error-page__mascot { font-size: 4rem; }
.error-page__code { font-size: 3.5rem; color: var(--brand); }
.error-page__text { color: var(--ink-soft); max-width: 380px; margin-bottom: 1rem; }

/* 6. LANDING --------------------------------------------------------------- */
.page--guest { background:
    radial-gradient(1200px 600px at 82% -12%, rgba(124,58,237,.16), transparent 60%),
    radial-gradient(900px 520px at -10% 8%, rgba(53,167,240,.16), transparent 55%),
    radial-gradient(700px 500px at 60% 112%, rgba(240,56,159,.10), transparent 60%),
    var(--bg);
}

.site-nav { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(8px);
    background: rgba(246,245,251,.75); border-bottom: 1px solid var(--border); }
.site-nav__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .85rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--kid-grape)); color: #fff; font-size: 1.1rem; box-shadow: var(--shadow-brand); }
/* Logo em imagem (PNG). mix-blend-mode neutraliza o fundo claro da arte. */
.brand-logo { height: 56px; width: auto; display: block; mix-blend-mode: multiply; }
.auth-logo { height: 96px; width: auto; margin: 0 auto .5rem; display: block; mix-blend-mode: multiply; }
.hero-logo { width: 100%; max-width: 560px; height: auto; display: block; mix-blend-mode: multiply; margin-bottom: .75rem; }
/* Logo nas barras internas */
.topbar .brand-logo { height: 46px; }
.brand-logo-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 12px; padding: 5px 12px; }
.brand-logo-chip img { height: 38px; width: auto; display: block; mix-blend-mode: multiply; }
.kid-home-logo { height: 56px; width: auto; margin: .25rem auto 1rem; display: block; mix-blend-mode: multiply; }

.hero { padding-block: 3.5rem 2rem; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; }
.hero__title { font-size: 3rem; letter-spacing: -.02em; }
.hero__title .accent { color: var(--brand); }
.hero__sub { font-size: 1.2rem; color: var(--ink-soft); margin-top: 1rem; max-width: 30rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.75rem; color: var(--muted); font-size: .9rem; font-weight: 600; }
.hero__trust span { display: inline-flex; align-items: center; gap: .4rem; }

/* Cartão-mock do herói (preview do app infantil) */
.hero__art { position: relative; }
.mock {
    background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
    padding: 1.25rem; border: 1px solid var(--border); rotate: 2deg;
}
.mock__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mock__hi { font-weight: 800; font-size: 1.15rem; }
.mock__stats { display: flex; gap: .5rem; }
.stat-chip { display: inline-flex; align-items: center; gap: .3rem; background: var(--brand-050);
    color: var(--brand-700); font-weight: 800; font-size: .8rem; padding: .3rem .6rem; border-radius: 999px; }
.mock__mission { background: linear-gradient(135deg, var(--brand), var(--kid-grape)); color: #fff;
    border-radius: var(--radius-lg); padding: 1.1rem; box-shadow: var(--shadow-brand); }
.mock__mission h4 { color: #fff; font-size: 1.05rem; }
.mock__mission p { font-size: .88rem; opacity: .92; margin-top: .25rem; }
.mock__worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1rem; }
.world-chip { border-radius: var(--radius); padding: .7rem .5rem; text-align: center; font-weight: 800;
    font-size: .78rem; color: #fff; }

/* Seções */
.section { padding-block: 3.5rem; }
.section__head { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.section__head h2 { font-size: 2.1rem; }
.section__head p { color: var(--ink-soft); margin-top: .6rem; }

.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.audience .card--pad { padding: 1.75rem; }
.audience__icon { font-size: 2rem; }

.worlds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.world-card { padding: 1.4rem; border-radius: var(--radius-lg); color: #fff; box-shadow: var(--shadow); }
.world-card h3 { color: #fff; font-size: 1.2rem; margin-top: .5rem; }
.world-card p { font-size: .9rem; opacity: .95; margin-top: .3rem; }
.world-card__emoji { font-size: 1.8rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.step { text-align: center; padding: 1.25rem; }
.step__num { width: 44px; height: 44px; margin: 0 auto .75rem; border-radius: 999px; display: grid; place-items: center;
    background: var(--brand); color: #fff; font-weight: 800; box-shadow: var(--shadow-brand); }
.step h4 { font-size: 1.05rem; }
.step p { color: var(--ink-soft); font-size: .9rem; margin-top: .3rem; }

.cta-band { background: linear-gradient(135deg, var(--brand), var(--kid-grape)); border-radius: var(--radius-xl);
    padding: 2.75rem; text-align: center; color: #fff; box-shadow: var(--shadow-brand); }
.cta-band h2 { color: #fff; font-size: 2rem; }
.cta-band p { opacity: .95; margin-top: .5rem; }

.site-footer { border-top: 1px solid var(--border); padding-block: 2rem; color: var(--muted); font-size: .88rem; }

/* Cores utilitárias de fundo para mundos */
.bg-math{background:var(--math)} .bg-portuguese{background:var(--portuguese)}
.bg-english{background:var(--english)} .bg-logic{background:var(--logic)}
.bg-stories{background:var(--stories)} .bg-creativity{background:var(--creativity)}

/* 7. RESPONSIVO ------------------------------------------------------------ */
@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__art { order: -1; }
    .mock { rotate: 0deg; max-width: 420px; margin-inline: auto; }
    .audience { grid-template-columns: 1fr; }
    .worlds-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .hero__title { font-size: 2.4rem; }
    .h1 { font-size: 2rem; }
}
@media (max-width: 560px) {
    .worlds-grid, .steps { grid-template-columns: 1fr; }
    .hero__title { font-size: 2rem; }
    .cta-band { padding: 1.75rem; }
    .nav-links-desktop { display: none; }
    .section { padding-block: 2.5rem; }
}

/* Prefixos responsivos usados pelas telas internas (definidos p/ md >= 768px) */
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
}

/* Impressão (kits/atividades imprimíveis — usado nos próximos blocos) */
@media print {
    .no-print { display: none !important; }
    body { background: #fff; }
    .print-a4 { width: 210mm; min-height: 297mm; margin: 0 auto; padding: 15mm; box-shadow: none; }
}

/* ==========================================================================
   AUTENTICAÇÃO
   ========================================================================== */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; }
.auth-card {
    width: 100%; max-width: 430px; background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 2rem;
}
.auth-card .brand { justify-content: center; }
.auth-title { text-align: center; font-size: 1.5rem; }
.auth-sub { text-align: center; color: var(--ink-soft); margin-top: .35rem; margin-bottom: 1.5rem; }
.auth-alt { text-align: center; margin-top: 1.25rem; color: var(--ink-soft); font-size: .92rem; }
.auth-alt a { color: var(--brand); font-weight: 700; }
.link-muted { color: var(--muted); font-size: .85rem; }
.link-muted:hover { color: var(--brand); }

/* ==========================================================================
   SHELL DO RESPONSÁVEL (topbar + conteúdo)
   ========================================================================== */
.page--parent { background: var(--bg); }
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--border); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-link { padding: .5rem .85rem; border-radius: 999px; font-weight: 700; color: var(--ink-soft); font-size: .95rem; }
.nav-link:hover { background: var(--brand-050); color: var(--brand-700); }
.nav-link.is-active { background: var(--brand-050); color: var(--brand-700); }
.user-chip { display: flex; align-items: center; gap: .5rem; }
.avatar-dot { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--kid-grape)); color: #fff; font-weight: 800; flex: none; }
.app-main { flex: 1; padding-block: 2rem; }
.page-title { font-size: 1.8rem; }
.page-subtitle { color: var(--ink-soft); margin-top: .25rem; }
.btn--sm { padding: .5rem 1rem; font-size: .9rem; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
    .user-chip__name { display: none; }
    .nav-links { display: none; }
    .menu-toggle { display: inline-flex; }
    .topbar { position: relative; }
    .nav-links.open {
        display: flex; flex-direction: column; align-items: stretch;
        position: absolute; top: 100%; left: 0; right: 0; background: #fff;
        padding: .75rem 1.25rem 1.25rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    }
    .nav-links.open .nav-link { padding: .8rem 1rem; }
}

/* ==========================================================================
   AMBIENTE DOS PAIS — cards de progresso, perfil, relatório
   ========================================================================== */
.avatar-emoji { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
    font-size: 1.9rem; background: var(--brand-050); flex: none; }
.avatar-emoji--lg { width: 84px; height: 84px; font-size: 3rem; border-radius: 22px; }
.child-photo { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.child-photo--lg { width: 84px; height: 84px; border-radius: 22px; }

.xp-row { width: 100%; }
.xp-bar { height: 12px; border-radius: 999px; background: var(--brand-050); overflow: hidden; }
.xp-bar > span { display: block; height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--kid-grape)); transition: width .4s ease; }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mini-stat { background: var(--bg); border-radius: var(--radius); padding: .6rem; text-align: center; }
.mini-stat strong { display: block; font-size: 1.1rem; }
.mini-stat span { font-size: .75rem; color: var(--muted); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.25rem; text-align: center; box-shadow: var(--shadow-sm); }
.stat-card__icon { font-size: 1.6rem; }
.stat-card strong { display: block; font-size: 1.7rem; margin-top: .25rem; }
.stat-card span { color: var(--muted); font-size: .85rem; }

.profile-header .flex-1 { min-width: 200px; }
.report-list { display: flex; flex-direction: column; gap: .5rem; }
.report-list li { padding: .6rem .9rem; background: var(--bg); border-radius: var(--radius); }
.report-list strong { color: var(--brand); }

.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: .75rem; }
.badge { text-align: center; padding: .75rem .5rem; background: var(--bg); border-radius: var(--radius); }
.badge__emoji { font-size: 1.6rem; display: block; }
.badge__name { font-size: .72rem; font-weight: 700; color: var(--ink-soft); display: block; margin-top: .25rem; }

.activity-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    padding: .6rem .9rem; background: var(--bg); border-radius: var(--radius); }

.danger-zone { border-color: #F3C6C6; background: #FEF6F6; }
.btn--danger { background: var(--error); color: #fff; }
.btn--danger:hover { background: #B91C1C; }

/* Forms multi-coluna */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1rem; }

/* ==========================================================================
   ONBOARDING (wizard) + seletores de escolha
   ========================================================================== */
.wizard { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; }
.wizard__card { position: relative; width: 100%; max-width: 480px; background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 2rem; text-align: center; }
.wizard__card--wide { max-width: 620px; }
.wizard__card--celebrate { background:
    radial-gradient(600px 300px at 50% -20%, rgba(167,139,250,.25), transparent 70%), #fff; }
.wizard__mascot { font-size: 3rem; }
.wizard__mascot--big { font-size: 4.5rem; }
.wizard__title { font-size: 1.6rem; margin-top: .5rem; }
.wizard__sub { color: var(--ink-soft); margin-top: .5rem; margin-bottom: 1.25rem; }
.wizard__progress { display: flex; justify-content: center; gap: .4rem; margin-top: 1rem; }
.wizard__dot { width: 26px; height: 6px; border-radius: 999px; background: var(--border-strong); }
.wizard__dot.is-done { background: var(--brand); }
.wizard__count { font-size: .78rem; color: var(--muted); margin-top: .4rem; }

.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice-group-title { font-size: 1rem; font-weight: 800; margin-top: 1rem; margin-bottom: .5rem; }

/* Chip selecionável (esconde o input, estiliza o label) */
.choice-chip { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.choice-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-chip span { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .9rem;
    border: 1.5px solid var(--border-strong); border-radius: 999px; font-weight: 700; font-size: .9rem;
    transition: all .12s ease; background: #fff; }
.choice-chip input:checked + span { border-color: var(--brand); background: var(--brand-050); color: var(--brand-700); }
.choice-chip--sm span { padding: .4rem .75rem; font-size: .82rem; }

/* Cards "o que desenvolver" */
.develop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.develop-card { position: relative; cursor: pointer; }
.develop-card input { position: absolute; opacity: 0; }
.develop-card > span:not(.develop-card__emoji):not(.develop-card__name) {}
.develop-card__emoji { font-size: 1.8rem; }
.develop-card__name { font-weight: 700; font-size: .9rem; }
.develop-card { display: flex; flex-direction: column; align-items: center; gap: .3rem;
    padding: 1rem .5rem; border: 1.5px solid var(--border-strong); border-radius: var(--radius-lg);
    background: #fff; transition: all .12s ease; text-align: center; }
.develop-card input:checked ~ .develop-card__emoji,
.develop-card:has(input:checked) { border-color: var(--brand); background: var(--brand-050); }

/* Seletor de avatar */
.avatar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; }
.avatar-pick { position: relative; cursor: pointer; }
.avatar-pick input { position: absolute; opacity: 0; }
.avatar-pick__face { display: grid; place-items: center; aspect-ratio: 1; font-size: 1.8rem;
    border: 2px solid var(--border-strong); border-radius: var(--radius-lg); background: #fff; transition: all .12s ease; }
.avatar-pick input:checked + .avatar-pick__face { border-color: var(--brand); background: var(--brand-050); transform: scale(1.05); }

@media (max-width: 720px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .develop-grid { grid-template-columns: repeat(2, 1fr); }
    .avatar-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ==========================================================================
   MODO CRIANÇA — colorido, grande, tátil, mobile-first
   ========================================================================== */
.page--child {
    background:
        radial-gradient(900px 500px at 100% -10%, rgba(56,189,248,.20), transparent 60%),
        radial-gradient(700px 400px at -10% 0%, rgba(251,191,36,.18), transparent 55%),
        #F0F7FF;
    padding-bottom: 88px; /* espaço para a nav inferior */
}
.kid-main { max-width: 640px; margin-inline: auto; padding: 1rem 1rem 1.5rem; }

/* Barra de status */
.kid-topbar { position: sticky; top: 0; z-index: 30; background: #fff; box-shadow: var(--shadow-sm); }
.kid-topbar__inner { max-width: 640px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem 1rem; }
.kid-id { display: flex; align-items: center; gap: .5rem; }
.kid-avatar { width: 44px; height: 44px; border-radius: 14px; background: var(--brand-050); display: grid; place-items: center; font-size: 1.5rem; }
.kid-id__meta { display: flex; flex-direction: column; line-height: 1.1; }
.kid-id__meta strong { font-size: 1rem; }
.kid-level { font-size: .72rem; color: var(--muted); font-weight: 700; }
.kid-stats { display: flex; gap: .35rem; }
.kid-stat { background: var(--bg); border-radius: 999px; padding: .35rem .6rem; font-weight: 800; font-size: .82rem; white-space: nowrap; }
.kid-stat--streak { background: #FFEDD5; }
.kid-stat--xp { background: #EDE9FE; }
.kid-stat--coin { background: #FEF9C3; }
.kid-xpbar { max-width: 640px; margin-inline: auto; height: 6px; background: var(--brand-050); }
.kid-xpbar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--kid-sky), var(--kid-grape)); transition: width .4s ease; }

/* Navegação inferior */
.kid-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: #fff;
    border-top: 1px solid var(--border); display: flex; justify-content: space-around; padding: .35rem .25rem; box-shadow: 0 -4px 12px rgba(30,27,58,.06); }
.kid-nav__item { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .35rem .75rem; border-radius: var(--radius); color: var(--muted); font-weight: 700; }
.kid-nav__item span { font-size: 1.4rem; }
.kid-nav__item small { font-size: .68rem; }
.kid-nav__item.is-active { color: var(--brand); background: var(--brand-050); }

/* Saudação */
.kid-greeting { margin: .5rem 0 1rem; }
.kid-greeting h1 { font-size: 1.8rem; }
.kid-greeting p { color: var(--ink-soft); }
.kid-section-title { font-size: 1.15rem; font-weight: 800; margin: 1.5rem 0 .75rem; }
.kid-sub { color: var(--ink-soft); margin-bottom: 1rem; }

/* Missão em destaque */
.mission-hero { display: flex; gap: 1rem; align-items: center; padding: 1.25rem;
    border-radius: var(--radius-xl); color: #fff; box-shadow: var(--shadow-brand);
    background: linear-gradient(135deg, var(--brand), var(--kid-grape)); }
.mission-hero.is-complete { background: linear-gradient(135deg, var(--kid-mint), #10B981); box-shadow: 0 10px 24px rgba(16,185,129,.3); }
.mission-hero__mascot { font-size: 3rem; flex: none; }
.mission-hero__tag { display: inline-block; background: rgba(255,255,255,.22); padding: .2rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.mission-hero h2 { color: #fff; font-size: 1.15rem; margin-top: .4rem; }
.mission-hero p { font-size: .9rem; opacity: .95; margin-top: .2rem; }
.mission-hero__progress { font-weight: 700; }

/* Mapa de mundos */
.worlds-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.world-tile { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: 1.1rem .5rem;
    border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); border: 2px solid transparent;
    transition: transform .12s ease, border-color .12s ease; text-align: center; }
.world-tile:active { transform: scale(.96); }
.world-tile:hover { border-color: var(--tile); }
.world-tile__emoji { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.9rem;
    background: color-mix(in srgb, var(--tile) 15%, #fff); }
.world-tile__name { font-size: .82rem; font-weight: 800; color: var(--ink); }
.world-tile { position: relative; }
.world-tile.is-locked { opacity: .75; filter: grayscale(.35); cursor: default; }
.world-tile.is-complete { border-color: var(--kid-mint); }
.world-tile__lock { position: absolute; top: .4rem; right: .5rem; font-size: 1rem; }
.world-tile__done { position: absolute; top: .35rem; right: .4rem; width: 22px; height: 22px; border-radius: 999px;
    background: var(--kid-mint); color: #fff; font-size: .8rem; display: grid; place-items: center; font-weight: 800; }
.world-tile__req { font-size: .68rem; font-weight: 800; color: var(--muted); }
.world-progress { width: 80%; height: 5px; border-radius: 999px; background: var(--bg); overflow: hidden; margin-top: .2rem; }
.world-progress > span { display: block; height: 100%; background: var(--tile); border-radius: 999px; transition: width .4s ease; }
.world-progress-bar { background: #fff; border-radius: var(--radius); padding: .8rem 1rem; box-shadow: var(--shadow-sm); margin-bottom: 1rem; }
.activity-card.is-done { border-color: var(--kid-mint); background: #F6FEF9; }
.activity-card__check { color: #16A34A; }

/* Medalhas na home */
.kid-badges { display: flex; gap: .6rem; flex-wrap: wrap; }
.kid-badge { background: #fff; border-radius: var(--radius); padding: .6rem; text-align: center; box-shadow: var(--shadow-sm); width: 84px; }
.kid-badge span { font-size: 1.6rem; }
.kid-badge small { display: block; font-size: .66rem; font-weight: 700; color: var(--ink-soft); margin-top: .2rem; }

/* Cabeçalho de página infantil */
.kid-page-head { display: flex; align-items: center; gap: .5rem; margin: .5rem 0 1rem; }
.kid-page-head h1 { font-size: 1.4rem; }
.kid-back { width: 40px; height: 40px; border-radius: 999px; background: #fff; display: grid; place-items: center;
    font-size: 1.3rem; box-shadow: var(--shadow-sm); flex: none; }

/* Missão — passos */
.mission-card { display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: var(--radius-xl);
    padding: 1.25rem; box-shadow: var(--shadow-sm); margin-bottom: 1rem; }
.mission-card__mascot { font-size: 2.5rem; }
.mission-card__story { font-weight: 700; color: var(--ink-soft); }
.mission-steps { display: flex; flex-direction: column; gap: .6rem; }
.mission-step { display: flex; align-items: center; gap: .75rem; background: #fff; border-radius: var(--radius-lg);
    padding: .9rem 1rem; box-shadow: var(--shadow-sm); border: 2px solid transparent; }
.mission-step.is-done { border-color: var(--kid-mint); background: #F0FDF4; }
.mission-step__num { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center;
    background: var(--brand-050); color: var(--brand-700); font-weight: 800; flex: none; }
.mission-step.is-done .mission-step__num { background: var(--kid-mint); color: #fff; }
.mission-step__info { display: flex; flex-direction: column; flex: 1; }
.mission-step__info small { color: var(--muted); font-size: .78rem; }
.mission-step__badge { font-size: .72rem; font-weight: 800; color: #16A34A; }

.kid-cta { margin-top: 1.25rem; }

/* Trilha de aprendizado (módulos → lições) */
.trail-module { background: #fff; border-radius: var(--radius-xl); padding: 1rem 1.1rem 1.25rem; box-shadow: var(--shadow-sm); margin-bottom: 1rem; }
.trail-module__head { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.trail-module__emoji { width: 44px; height: 44px; border-radius: 14px; background: var(--brand-050); display: grid; place-items: center; font-size: 1.5rem; }
.trail-module__meta { flex: 1; }
.trail-module__meta h3 { font-size: 1.05rem; }
.trail-module__meta small { color: var(--muted); }
.trail-module__lock { font-size: .72rem; font-weight: 800; color: var(--muted); }
.trail-lessons { display: flex; flex-direction: column; gap: .5rem; position: relative; }
.lesson-node { display: flex; align-items: center; gap: .75rem; padding: .8rem .9rem; border-radius: var(--radius-lg);
    background: var(--bg); border: 2px solid transparent; transition: border-color .12s ease, transform .1s ease; }
.lesson-node:active { transform: scale(.98); }
.lesson-node.is-available { border-color: var(--brand); background: var(--brand-050); }
.lesson-node.is-available:hover { box-shadow: var(--shadow-sm); }
.lesson-node.is-completed { border-color: var(--kid-mint); background: #F0FDF4; }
.lesson-node.is-locked { opacity: .6; }
.lesson-node__dot { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; font-weight: 800; flex: none;
    background: #fff; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.lesson-node.is-available .lesson-node__dot { background: var(--brand); color: #fff; }
.lesson-node.is-completed .lesson-node__dot { background: var(--kid-mint); color: #fff; }
.lesson-node__title { flex: 1; font-weight: 800; font-size: .95rem; }
.lesson-node__go { color: var(--brand); font-weight: 800; }

/* Página da lição (aula) */
.lesson-module-tag { color: var(--muted); font-weight: 700; font-size: .82rem; margin-bottom: .75rem; }
.lesson-card { display: flex; gap: .85rem; background: #fff; border-radius: var(--radius-xl); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.lesson-card__mascot { font-size: 2.2rem; flex: none; }
.lesson-body { flex: 1; }
.lesson-body p { font-size: 1.05rem; line-height: 1.7; margin-bottom: .75rem; }
.lesson-body p:last-child { margin-bottom: 0; }
.lesson-callout { background: #FEF9C3; border-radius: var(--radius); padding: .7rem .9rem; margin-bottom: .75rem; font-weight: 700; color: #7C5A00; }
.lesson-practice { display: flex; flex-direction: column; gap: .5rem; }
.practice-item { display: flex; align-items: center; gap: .75rem; background: #fff; border-radius: var(--radius); padding: .7rem .9rem; box-shadow: var(--shadow-sm); }
.practice-item.is-done { background: #F0FDF4; }
.practice-item__num { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; font-weight: 800; background: var(--brand-050); color: var(--brand-700); flex: none; }
.practice-item.is-done .practice-item__num { background: var(--kid-mint); color: #fff; }
.practice-item__title { flex: 1; font-weight: 700; font-size: .92rem; }
.practice-item__xp { font-size: .78rem; font-weight: 800; color: var(--muted); }
.lesson-done-banner { text-align: center; font-weight: 800; color: #16A34A; background: #DCFCE7; border-radius: var(--radius-lg); padding: 1rem; margin-bottom: .5rem; }

/* Mundo — lista de atividades */
.world-tagline { color: var(--ink-soft); margin-bottom: 1rem; }
.activity-list { display: flex; flex-direction: column; gap: .6rem; }
.activity-card { display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    background: #fff; border-radius: var(--radius-lg); padding: 1rem 1.1rem; box-shadow: var(--shadow-sm);
    border: 2px solid transparent; transition: border-color .12s ease, transform .12s ease; }
.activity-card:active { transform: scale(.98); }
.activity-card:hover { border-color: var(--brand); }
.activity-card__body { display: flex; flex-direction: column; }
.activity-card__body small { color: var(--muted); font-size: .8rem; }
.activity-card__play { width: 40px; height: 40px; border-radius: 999px; background: var(--brand-050);
    color: var(--brand-700); display: grid; place-items: center; font-weight: 800; flex: none; }

/* Atividade — perguntas */
.activity-instructions { background: #fff; border-radius: var(--radius); padding: .75rem 1rem; box-shadow: var(--shadow-sm); margin-bottom: 1rem; color: var(--ink-soft); }
.q-progress { height: 8px; background: #fff; border-radius: 999px; overflow: hidden; box-shadow: var(--shadow-sm); }
.q-progress > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--kid-sky), var(--kid-grape)); transition: width .3s ease; }
.q-stage { background: #fff; border-radius: var(--radius-xl); padding: 1.5rem; box-shadow: var(--shadow); margin-top: 1rem; }
.q-count { font-size: .8rem; font-weight: 800; color: var(--muted); }
.q-prompt { font-size: 1.35rem; margin: .5rem 0 1.25rem; }
.q-options { display: grid; gap: .6rem; }
.q-options--tf { grid-template-columns: 1fr 1fr; }
.q-option { padding: 1rem 1.1rem; border-radius: var(--radius-lg); border: 2px solid var(--border-strong);
    background: #fff; font-weight: 800; font-size: 1.05rem; text-align: left; transition: all .12s ease; }
.q-option:hover { border-color: var(--brand); }
.q-option.is-selected { border-color: var(--brand); background: var(--brand-050); color: var(--brand-700); }
.q-input { font-size: 1.15rem; padding: 1rem; }
.q-hint-btn { margin-top: 1rem; color: var(--brand); font-weight: 800; }
.q-hint { margin-top: .5rem; background: #FEF9C3; padding: .6rem .9rem; border-radius: var(--radius); font-weight: 600; }

.q-feedback { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--radius-lg); margin-top: 1rem; animation: flash-in .2s ease; }
.q-feedback__mascot { font-size: 1.8rem; }
.q-feedback p { font-size: .9rem; margin-top: .2rem; }
.q-feedback.is-correct { background: #DCFCE7; color: #14532D; }
.q-feedback.is-wrong { background: #FEF3C7; color: #7C2D12; }

/* Revisar erros — tile na home + hero */
.review-tile { display: flex; align-items: center; gap: .85rem; background: #fff; border: 2px solid #FDE68A;
    border-radius: var(--radius-lg); padding: .9rem 1.1rem; box-shadow: var(--shadow-sm); margin-bottom: .5rem; }
.review-tile__icon { font-size: 1.8rem; }
.review-tile__body { flex: 1; display: flex; flex-direction: column; }
.review-tile__body small { color: var(--muted); font-size: .8rem; }
.review-tile__go { width: 36px; height: 36px; border-radius: 999px; background: #FEF3C7; color: #B45309; display: grid; place-items: center; font-weight: 800; }
.review-hero { text-align: center; color: #fff; border-radius: var(--radius-xl); padding: 1.75rem 1.25rem;
    background: linear-gradient(135deg, var(--kid-sun), #F97316); box-shadow: 0 10px 24px rgba(249,115,22,.3); }
.review-hero__mascot { font-size: 3rem; }
.review-hero h2 { color: #fff; margin-top: .5rem; }
.review-hero p { opacity: .95; margin-top: .35rem; }

/* Flashcards — tile na home, lista de baralhos e estudo */
.flashcards-tile { border-color: #C7B3F5; }
.review-tile__go--fc { background: var(--brand-050); color: var(--brand-700); }
.deck-list { display: flex; flex-direction: column; gap: .6rem; }
.deck-card { display: flex; align-items: center; gap: .85rem; background: #fff; border-radius: var(--radius-lg); padding: .9rem 1.1rem; box-shadow: var(--shadow-sm); border: 2px solid transparent; transition: border-color .12s ease; }
.deck-card:hover { border-color: var(--brand); }
.deck-card__emoji { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-050); display: grid; place-items: center; font-size: 1.6rem; flex: none; }
.deck-card__body { flex: 1; display: flex; flex-direction: column; }
.deck-card__body small { color: var(--muted); font-size: .8rem; }
.deck-card__due { background: #FEF3C7; color: #B45309; font-weight: 800; font-size: .78rem; padding: .35rem .6rem; border-radius: 999px; white-space: nowrap; }
.deck-card__done { color: #16A34A; font-weight: 800; font-size: .82rem; white-space: nowrap; }

/* Treino rápido por matéria */
.practice-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.practice-chip { display: flex; flex-direction: column; align-items: center; gap: .35rem; background: #fff;
    border-radius: var(--radius-lg); padding: .8rem .3rem; box-shadow: var(--shadow-sm); border: 2px solid transparent;
    transition: border-color .12s ease, transform .12s ease; text-align: center; }
.practice-chip:active { transform: scale(.95); }
.practice-chip:hover { border-color: var(--pc, var(--brand)); }
.practice-chip__emoji { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem;
    background: color-mix(in srgb, var(--pc, var(--brand)) 16%, #fff); }
.practice-chip small { font-size: .72rem; font-weight: 800; color: var(--ink); }

.fc-progress { height: 8px; background: #fff; border-radius: 999px; overflow: hidden; box-shadow: var(--shadow-sm); margin-top: .5rem; }
.fc-progress > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--kid-grape)); transition: width .3s ease; }
.fc-stage { perspective: 1200px; margin-top: 1.25rem; }
.fc-card { position: relative; width: 100%; height: 260px; transform-style: preserve-3d; transition: transform .5s ease; }
.fc-card.is-flipped { transform: rotateY(180deg); }
.fc-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.fc-front { background: #fff; font-size: 1.9rem; font-weight: 800; color: var(--ink); }
.fc-back { transform: rotateY(180deg); background: linear-gradient(135deg, var(--brand), var(--kid-grape)); color: #fff; }
.fc-back__answer { font-size: 2.1rem; font-weight: 800; }
.fc-back__ex { font-size: 1rem; opacity: .92; margin-top: .6rem; font-style: italic; }
.fc-answer { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }

/* Loja de avatar */
.kid-avatar { position: relative; }
.kid-avatar__acc { position: absolute; bottom: -4px; right: -6px; font-size: .85rem; background: #fff; border-radius: 999px; padding: 0 .15rem; box-shadow: var(--shadow-sm); }
.avatar-preview { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: linear-gradient(135deg, var(--kid-grape), var(--brand)); color: #fff; border-radius: var(--radius-xl);
    padding: 1.25rem; box-shadow: var(--shadow-brand); margin-bottom: 1rem; }
.avatar-preview__stage { display: flex; align-items: center; gap: .25rem; font-size: 2.6rem; }
.avatar-preview__acc { font-size: 1.6rem; }
.avatar-preview__coins { background: rgba(255,255,255,.2); padding: .5rem .9rem; border-radius: 999px; font-weight: 800; white-space: nowrap; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.shop-item { background: #fff; border: 2px solid var(--border); border-radius: var(--radius-lg); padding: .9rem .5rem;
    text-align: center; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .4rem; align-items: center; }
.shop-item.is-equipped { border-color: var(--kid-mint); background: #F0FDF4; }
.shop-item.is-locked { opacity: .7; }
.shop-item__emoji { font-size: 2.2rem; }
.shop-item__name { font-size: .78rem; font-weight: 800; }
.shop-item form { width: 100%; }
.shop-item__price--locked { font-size: .8rem; font-weight: 800; color: var(--muted); background: var(--bg); border-radius: 999px; padding: .4rem; }
/* Palco do mascote (aba Meu Mascote) */
.mascot-stage { text-align: center; border-radius: var(--radius-xl); padding: 1.25rem 1rem 1rem; margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    background: radial-gradient(120% 90% at 50% 0%, #F3ECFF 0%, #E9F3FF 55%, #FFFFFF 100%); }
.mascot-stage__scene { display: inline-flex; align-items: flex-end; justify-content: center; gap: 2px; }
.mascot-char { position: relative; }
/* Acessórios "usados" pelo mascote (camadas 2D). Posições calibráveis por gênero. */
.worn { position: absolute; transform: translateX(-50%); pointer-events: none; height: auto; }
.worn--hat { top: var(--hat-top, 0%); left: var(--hat-left, 50%); width: var(--hat-w, 50%); }
.worn--glasses { top: var(--glasses-top, 26%); left: var(--glasses-left, 50%); width: var(--glasses-w, 42%); }
.mascot-char--male { --hat-top: -3%; --hat-left: 50%; --hat-w: 46%; --glasses-top: 12%; --glasses-left: 51%; --glasses-w: 30%; }
.mascot-char--female { --hat-top: -4%; --hat-left: 50%; --hat-w: 46%; --glasses-top: 13%; --glasses-left: 50%; --glasses-w: 30%; }
.mascot-char--unspecified { --hat-top: -3%; --hat-left: 51%; --hat-w: 46%; --glasses-top: 12%; --glasses-left: 51%; --glasses-w: 30%; }
.mascot-img { width: 200px; max-width: 56vw; height: auto; display: block;
    filter: drop-shadow(0 8px 14px rgba(42,30,92,.20)); }
.mascot-hat { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); font-size: 2rem; }
.mascot-pet { width: 96px; max-width: 27vw; height: auto; display: block;
    filter: drop-shadow(0 6px 10px rgba(42,30,92,.18)); animation: pet-bob 2.6s ease-in-out infinite; }
.mascot-pet--emoji { font-size: 3rem; width: auto; }
@keyframes pet-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.shop-item__img { width: 48px; height: 48px; object-fit: contain; }
.mascot-stage__coins { font-weight: 800; font-size: 1.15rem; margin-top: .5rem; }
.mascot-wearing { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.mascot-wearing__label { font-weight: 700; color: var(--ink-soft); }
.worn-item { width: 46px; height: 46px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; font-size: 1.5rem; }
.worn-item img { width: 36px; height: 36px; object-fit: contain; }
.mascot-hint { color: var(--ink-soft); font-size: .9rem; margin-top: .25rem; }
@media (max-width: 420px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }

/* Ligar (matching) */
.match-list { display: flex; flex-direction: column; gap: .75rem; }
.match-row { display: flex; align-items: center; gap: .75rem; }
.match-left { flex: 1; font-weight: 800; font-size: 1.05rem; background: var(--bg); padding: .8rem 1rem; border-radius: var(--radius); }
.match-sel { flex: 1; }

/* Ordenar (ordering) */
.order-list { display: flex; flex-direction: column; gap: .6rem; }
.order-item { display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    background: #fff; border: 2px solid var(--border-strong); border-radius: var(--radius-lg); padding: .85rem 1rem; }
.order-item__label { font-weight: 800; font-size: 1.1rem; }
.order-btns { display: flex; gap: .3rem; }
.order-btn { width: 40px; height: 40px; border-radius: var(--radius); background: var(--brand-050); color: var(--brand-700);
    font-weight: 800; font-size: 1rem; }
.order-btn:active { transform: scale(.94); }

/* Celebração */
.celebrate-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(30,27,58,.55); display: grid; place-items: center; padding: 1.5rem; }
.celebrate-overlay__card { background: #fff; border-radius: var(--radius-xl); padding: 2rem 1.75rem; max-width: 400px; width: 100%; text-align: center; box-shadow: var(--shadow-lg); animation: pop-in .3s ease; }
.celebrate-screen { text-align: center; padding: 2rem 1rem; }
.celebrate-burst { font-size: 3rem; animation: pop-in .4s ease; }
.celebrate-mascot { font-size: 4rem; }
.celebrate-screen h1, .celebrate-overlay__card h2 { font-size: 1.6rem; margin-top: .25rem; }
.celebrate-sub { color: var(--ink-soft); margin-top: .35rem; }
.celebrate-rewards { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 1.25rem 0; }
.reward-pill { background: var(--brand-050); color: var(--brand-700); font-weight: 800; padding: .55rem .9rem; border-radius: 999px; }
.reward-pill small { font-weight: 600; opacity: .8; }
.cel-achv { background: #FEF9C3; border-radius: var(--radius); padding: .6rem .9rem; margin-bottom: .5rem; font-weight: 700; }
.cel-achv small { display: block; font-size: .72rem; color: var(--muted); }
.celebrate-actions { display: flex; flex-direction: column; gap: .6rem; align-items: center; margin-top: 1.5rem; }

@keyframes pop-in { 0% { transform: scale(.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* Conquistas (grade) */
.achv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.achv-card { background: #fff; border-radius: var(--radius-lg); padding: 1.25rem 1rem; text-align: center; box-shadow: var(--shadow-sm); }
.achv-card__emoji { font-size: 2.2rem; display: block; }
.achv-card strong { display: block; margin-top: .4rem; font-size: .95rem; }
.achv-card small { display: block; color: var(--muted); font-size: .76rem; margin-top: .2rem; }
.achv-card.is-locked { opacity: .55; filter: grayscale(.4); }

.kid-empty { text-align: center; padding: 2.5rem 1rem; color: var(--ink-soft); }
.kid-empty span { font-size: 3rem; display: block; margin-bottom: .5rem; }

@media (min-width: 560px) {
    .achv-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   HISTÓRIAS
   ========================================================================== */
.story-card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-050); display: grid; place-items: center; font-size: 1.6rem; }
.story-reader__head { display: flex; align-items: center; gap: 1rem; }
.story-body { max-width: 62ch; }
.story-body p { margin-bottom: 1rem; font-size: 1.08rem; line-height: 1.75; color: var(--ink); }
.story-body p:first-child::first-letter { font-size: 2.6rem; font-weight: 800; color: var(--brand); float: left; line-height: 1; padding: .1rem .5rem .1rem 0; }

/* ==========================================================================
   GRÁFICOS (painel dos pais)
   ========================================================================== */
.chart-title { font-weight: 700; color: var(--ink-soft); font-size: .9rem; margin-bottom: .35rem; }
.chart-wrap { width: 100%; overflow-x: auto; }
.chart { width: 100%; height: auto; min-width: 320px; }
.chart .c-val { font-size: 12px; font-weight: 800; fill: var(--ink); text-anchor: middle; }
.chart .c-lbl { font-size: 11px; fill: var(--muted); text-anchor: middle; }
.chart-empty { color: var(--muted); font-size: .88rem; padding: 1rem 0; }

.acc-list { display: flex; flex-direction: column; gap: .6rem; }
.acc-row { display: grid; grid-template-columns: 130px 1fr 44px; align-items: center; gap: .6rem; }
.acc-row__name { font-weight: 700; font-size: .88rem; }
.acc-row__pct { font-weight: 800; text-align: right; }
.acc-bar { height: 12px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.acc-bar > span { display: block; height: 100%; border-radius: 999px; transition: width .4s ease; }

.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.compare-metrics { display: flex; flex-direction: column; gap: .4rem; margin-top: .5rem; }
.compare-metrics li { display: flex; align-items: center; justify-content: space-between; padding: .5rem .75rem; background: var(--bg); border-radius: var(--radius); font-size: .9rem; }
.compare-metrics li span { color: var(--ink-soft); }

@media (max-width: 480px) {
    .acc-row { grid-template-columns: 100px 1fr 40px; }
}

/* ==========================================================================
   MATERIAIS IMPRIMÍVEIS
   ========================================================================== */
.kit-options { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.coloring-thumb { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: .5rem; }
.coloring-thumb svg, .coloring-svg { width: 100%; height: auto; }

/* ==========================================================================
   IMPRESSÃO (A4) — histórias, colorir e kit
   ========================================================================== */
.page--print { background: #eef; padding: 1rem; }
.print-toolbar {
    position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; background: #fff; padding: .6rem 1rem; border-radius: var(--radius); box-shadow: var(--shadow-sm);
    max-width: 210mm; margin: 0 auto 1rem;
}
.print-a4 {
    width: 210mm; min-height: 297mm; margin: 0 auto 1rem; background: #fff; padding: 18mm;
    box-shadow: var(--shadow); box-sizing: border-box;
}

.story-print__header, .coloring-print__header { display: flex; justify-content: space-between; font-weight: 800; color: var(--brand); border-bottom: 2px solid var(--border); padding-bottom: .5rem; }
.story-print__title { font-size: 2rem; text-align: center; margin: 2rem 0; color: var(--ink); }
.story-print__body p { font-size: 1.15rem; line-height: 1.9; margin-bottom: 1.1rem; text-align: justify; }
.story-print__footer { text-align: center; color: var(--muted); margin-top: 2rem; font-weight: 700; }

.coloring-print__title { text-align: center; font-size: 1.6rem; margin: 1rem 0; }
.coloring-print__art { display: grid; place-items: center; }
.coloring-print__art svg { width: 100%; max-width: 170mm; height: auto; }
.coloring-print__hint { text-align: center; color: var(--muted); margin-top: 1rem; font-weight: 700; }

/* Kit */
.kit-cover { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .75rem; }
.kit-cover__badge { font-weight: 800; color: var(--brand); font-size: 1.2rem; }
.kit-cover__avatar { font-size: 6rem; }
.kit-cover__title { font-size: 2.6rem; }
.kit-cover__name { font-size: 1.6rem; color: var(--brand); font-weight: 800; }
.kit-cover__date { color: var(--muted); }
.kit-page__title { font-size: 1.5rem; border-bottom: 2px solid var(--border); padding-bottom: .5rem; margin-bottom: 1rem; }
.kit-coloring { display: grid; place-items: center; }
.kit-coloring svg { width: 100%; max-width: 160mm; height: auto; }
.kit-maze { display: grid; place-items: center; margin-top: 1rem; }
.ws-title { font-size: 1.2rem; margin-bottom: .25rem; }
.ws-instr { color: var(--muted); margin-bottom: 1rem; }
.ws-q { margin-bottom: 1.25rem; }
.ws-q__prompt { font-size: 1.1rem; font-weight: 700; }
.ws-opts { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: .5rem; }
.ws-opt { font-size: 1.05rem; }
.ws-line { border-bottom: 1.5px dashed #999; height: 1.5rem; margin-top: 1rem; }

@media print {
    .page--print { background: #fff; padding: 0; }
    .print-a4 { box-shadow: none; margin: 0; width: 100%; min-height: auto; page-break-after: always; }
    .print-a4:last-child { page-break-after: auto; }
}

@media (max-width: 780px) {
    .print-a4, .print-toolbar { width: 100%; }
    .print-a4 { padding: 1.25rem; }
}

/* ==========================================================================
   ASSINATURAS
   ========================================================================== */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.plan-card { position: relative; background: #fff; border: 2px solid var(--border); border-radius: var(--radius-xl);
    padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm); }
.plan-card--featured { border-color: var(--brand); box-shadow: var(--shadow-brand); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--brand); color: #fff; font-size: .72rem; font-weight: 800; padding: .25rem .8rem; border-radius: 999px; }
.plan-card__name { font-size: 1.2rem; }
.plan-card__price { font-size: 2rem; font-weight: 800; color: var(--brand); margin: .25rem 0; }
.plan-features { display: flex; flex-direction: column; gap: .4rem; margin: 1.25rem 0; font-size: .9rem; color: var(--ink-soft); }

/* ==========================================================================
   ADMIN
   ========================================================================== */
.page--admin { background: var(--bg); }
.topbar--admin { background: var(--ink); }
.topbar--admin .brand, .topbar--admin .nav-link { color: #fff; }
.topbar--admin .nav-link:hover, .topbar--admin .nav-link.is-active { background: rgba(255,255,255,.12); color: #fff; }
.topbar--admin .brand__mark { background: rgba(255,255,255,.15); box-shadow: none; }
.admin-tag { font-size: .7rem; background: var(--brand); color: #fff; padding: .1rem .5rem; border-radius: 999px; margin-left: .25rem; }

.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.admin-table tbody tr:hover { background: var(--brand-050); }
.admin-actions { display: flex; gap: .4rem; white-space: nowrap; }
.admin-actions form { display: inline; }

.link-activities { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice-chip.is-elsewhere span { opacity: .65; border-style: dashed; }
.q-admin { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
    padding: .9rem; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .6rem; }
.q-admin__opts { margin-top: .4rem; display: flex; flex-direction: column; gap: .2rem; font-size: .88rem; }

@media (max-width: 820px) {
    .plans-grid { grid-template-columns: 1fr; }
    .topbar--admin .admin-tag { display: none; }
}

/* ==========================================================================
   Modo Descoberta (2–4 anos)
   ========================================================================== */
.discover-hero {
    display: flex; align-items: center; gap: 1rem; text-decoration: none;
    background: linear-gradient(135deg, var(--brand) 0%, var(--pink) 100%);
    color: #fff; border-radius: 22px; padding: 1.1rem 1.2rem; margin: 0 0 1.2rem;
    box-shadow: 0 12px 26px rgba(124, 58, 237, .28);
}
.discover-hero__emoji { font-size: 3rem; line-height: 1; filter: drop-shadow(0 3px 4px rgba(0,0,0,.2)); }
.discover-hero h2 { margin: 0; font-size: 1.35rem; }
.discover-hero p { margin: .15rem 0 0; opacity: .92; font-size: .95rem; }

.discover-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
.discover-set {
    display: flex; flex-direction: column; align-items: center; gap: .5rem; text-decoration: none;
    background: var(--card); border: 2px solid var(--border); border-radius: 22px;
    padding: 1.4rem 1rem; color: var(--text); transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.discover-set:hover, .discover-set:focus-visible {
    transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 12px 22px rgba(124, 58, 237, .18);
}
.discover-set__emoji { font-size: 3.2rem; line-height: 1; }
.discover-set strong { font-size: 1.05rem; }

.dc-progress { height: 12px; background: var(--brand-050); border-radius: 999px; overflow: hidden; margin: 0 0 1.4rem; }
.dc-progress #dcBar { display: block; height: 100%; width: 0; border-radius: 999px;
    background: linear-gradient(90deg, var(--green), var(--sky)); transition: width .4s ease; }

.dc-prompt-row { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 0 0 1.6rem; }
.dc-prompt { margin: 0; text-align: center; font-size: 1.6rem; color: var(--text); }
.dc-speak {
    flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
    background: var(--gold); color: #fff; font-size: 1.6rem; line-height: 1;
    box-shadow: 0 6px 14px rgba(251, 191, 36, .4); transition: transform .1s ease;
}
.dc-speak:active { transform: scale(.92); }

.dc-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.dc-option {
    aspect-ratio: 1 / 1; border: 3px solid var(--border); border-radius: 26px; cursor: pointer;
    background: var(--card); font-size: clamp(3rem, 16vw, 5.5rem); line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: transform .1s ease, border-color .12s ease, box-shadow .12s ease;
}
.dc-option:hover { border-color: var(--brand); transform: translateY(-2px); }
.dc-option:disabled { cursor: default; }
.dc-option.is-correct { border-color: var(--green); background: rgba(78, 203, 113, .16);
    box-shadow: 0 0 0 4px rgba(78, 203, 113, .25); transform: scale(1.04); }
.dc-option.is-wrong { border-color: var(--pink); animation: dcShake .4s ease; }
@keyframes dcShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

@media (max-width: 520px) {
    .dc-options { gap: .7rem; }
    .dc-prompt { font-size: 1.35rem; }
}

/* Selo da jornada (faixa etária) na home da criança */
.journey-badge {
    display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem;
    background: var(--brand-050); color: var(--brand); font-weight: 700; font-size: .82rem;
    padding: .28rem .8rem; border-radius: 999px;
}

/* Modo Descoberta — PAREAR (match) */
.dc-match { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 460px; margin: 0 auto; }
.dc-col { display: flex; flex-direction: column; gap: 1rem; }
.dc-pair {
    aspect-ratio: 1 / 1; border: 3px solid var(--border); border-radius: 24px; cursor: pointer;
    background: var(--card); font-size: clamp(2.6rem, 12vw, 4rem); line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: transform .1s ease, border-color .12s ease, box-shadow .12s ease, opacity .2s ease;
}
.dc-pair:hover { border-color: var(--brand); transform: translateY(-2px); }
.dc-pair.is-active { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(251,191,36,.35); transform: scale(1.05); }
.dc-pair.is-matched { border-color: var(--green); background: rgba(78,203,113,.16); opacity: .65; cursor: default; }
.dc-pair.is-wrong { border-color: var(--pink); animation: dcShake .4s ease; }
.discover-set__badge { font-size: .68rem; font-weight: 700; color: var(--brand);
    background: var(--brand-050); padding: .12rem .5rem; border-radius: 999px; }

/* ==========================================================================
   FUNIL — Quiz "Qual aventura combina com seu filho?"
   ========================================================================== */
.quiz-wrap {
    max-width: 620px; margin: 0 auto; padding: 1.5rem 1.2rem 3rem;
    min-height: 100vh; display: flex; flex-direction: column; align-items: center;
}
.quiz-logo { display: block; margin: .5rem auto 1.5rem; }
.quiz-logo img { height: 46px; width: auto; }

.quiz-mascots { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 1.2rem; }
.quiz-mascot { display: flex; flex-direction: column; align-items: center; gap: .3rem; font-weight: 700; color: var(--brand); font-size: .85rem; }
.quiz-mascot img {
    width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: #fff;
    border: 3px solid var(--brand-050); box-shadow: 0 8px 18px rgba(124,58,237,.18); mix-blend-mode: multiply;
}
.quiz-mascots--big .quiz-mascot img { width: 96px; height: 96px; }

/* Intro */
.quiz-intro { text-align: center; margin: auto 0; animation: quizFade .4s ease; }
.quiz-intro h1 { font-size: clamp(1.6rem, 6vw, 2.3rem); margin: 0 0 .8rem; line-height: 1.15; }
.quiz-intro p { color: var(--muted); font-size: 1.05rem; max-width: 46ch; margin: 0 auto 1.6rem; }
.quiz-note { display: block; margin-top: .8rem; font-size: .82rem; color: var(--muted); }

/* Perguntas */
.quiz-stage { width: 100%; margin: auto 0; }
.quiz-progress { height: 12px; background: var(--brand-050); border-radius: 999px; overflow: hidden; margin-bottom: .8rem; }
.quiz-progress #quizBar { display: block; height: 100%; width: 0; border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--pink)); transition: width .35s ease; }
.quiz-count { text-align: center; color: var(--muted); font-size: .82rem; font-weight: 700; margin: 0 0 1.2rem; }
.quiz-prompt { text-align: center; font-size: clamp(1.3rem, 5vw, 1.7rem); margin: 0 0 1.4rem; line-height: 1.2; }
.quiz-options { display: flex; flex-direction: column; gap: .7rem; }
.quiz-option {
    display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; cursor: pointer;
    background: var(--card); border: 2px solid var(--border); border-radius: 16px; padding: .9rem 1.1rem;
    font-size: 1.05rem; font-weight: 600; color: var(--text);
    transition: transform .1s ease, border-color .12s ease, box-shadow .12s ease, background .12s ease;
}
.quiz-option:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(124,58,237,.14); }
.quiz-option.is-selected { border-color: var(--brand); background: var(--brand-050); }
.quiz-option__emoji { font-size: 1.8rem; line-height: 1; flex: 0 0 auto; }
.quiz-back { margin: 1.2rem auto 0; display: block; background: none; border: none; color: var(--muted);
    font-size: .9rem; cursor: pointer; }
.quiz-step.is-anim { animation: quizStep .3s ease; }
@keyframes quizStep { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes quizFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Transição */
.quiz-transition { text-align: center; margin: auto 0; animation: quizFade .4s ease; }
.quiz-transition h2 { font-size: 1.4rem; margin: 1rem 0 .4rem; }
.quiz-transition p { color: var(--muted); }
.quiz-spinner { width: 46px; height: 46px; margin: .5rem auto; border-radius: 50%;
    border: 5px solid var(--brand-050); border-top-color: var(--brand); animation: quizSpin .8s linear infinite; }
@keyframes quizSpin { to { transform: rotate(360deg); } }

/* Resultado */
.quiz-result { align-items: stretch; }
.qr-hero { text-align: center; margin-bottom: 1.5rem; animation: quizFade .4s ease; }
.qr-badge { display: inline-flex; align-items: center; gap: .35rem; background: var(--brand-050); color: var(--brand);
    font-weight: 700; font-size: .82rem; padding: .3rem .9rem; border-radius: 999px; margin-bottom: .8rem; }
.qr-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); margin: 0 0 .6rem; }
.qr-lead { color: var(--text); font-size: 1.08rem; max-width: 52ch; margin: 0 auto; }
.qr-card, .qr-parent, .qr-cta { background: var(--card); border: 1px solid var(--border); border-radius: 20px;
    padding: 1.4rem 1.3rem; margin-bottom: 1rem; }
.qr-card h2, .qr-parent h2 { margin: 0 0 .9rem; font-size: 1.2rem; }
.qr-list { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: .7rem; }
.qr-list li { display: flex; align-items: center; gap: .7rem; font-size: 1rem; }
.qr-list li span { font-size: 1.4rem; flex: 0 0 auto; }
.qr-transform { background: var(--brand-050); border-radius: 14px; padding: .9rem 1rem; margin: 0; font-size: 1rem; }
.qr-cta { text-align: center; background: linear-gradient(135deg, var(--brand), var(--pink)); border: none; }
.qr-cta h2 { color: #fff; font-size: 1.35rem; margin: 0 0 1.1rem; }
.qr-cta .quiz-note { color: rgba(255,255,255,.9); }
.qr-cta .btn--primary { background: #fff; color: var(--brand); }
.qr-restart { text-align: center; margin-top: .5rem; }
.qr-restart a { color: var(--muted); font-size: .88rem; }

/* ==========================================================================
   PÁGINA DE VENDAS (TLS)
   ========================================================================== */
.section--soft { background: var(--brand-050); }

/* Bloco DOR */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.pain-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.4rem 1.1rem; text-align: center; }
.pain-card span { font-size: 2.4rem; display: block; margin-bottom: .5rem; }
.pain-card p { color: var(--muted); margin: 0; }
.pain-turn { text-align: center; max-width: 60ch; margin: 1.8rem auto 0; font-size: 1.25rem; line-height: 1.5; }

/* Bloco O QUE A CRIANÇA FAZ */
.feature-band { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.feature-pill { background: var(--card); border: 1px solid var(--border); border-radius: 999px;
    padding: .6rem 1.1rem; font-weight: 700; font-size: .95rem; }

/* Bloco Ludi & Luma */
.mascot-feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: center;
    background: linear-gradient(135deg, var(--brand-050), #fff); border: 1px solid var(--border);
    border-radius: 28px; padding: 2rem; }
.mascot-feature__art { display: flex; justify-content: center; gap: 1rem; }
.mascot-feature__art img { width: 46%; max-width: 190px; height: auto; filter: drop-shadow(0 12px 22px rgba(124,58,237,.25)); mix-blend-mode: multiply; }
.mascot-feature__text h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.15; }

/* Bloco O PAI */
.parent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.parent-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.4rem 1rem; text-align: center; }
.parent-card span { font-size: 2rem; display: block; margin-bottom: .4rem; }
.parent-card h4 { margin: 0 0 .3rem; }
.parent-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Bloco OFERTA */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.plan-card { position: relative; background: var(--card); border: 2px solid var(--border); border-radius: 22px;
    padding: 1.8rem 1.4rem; display: flex; flex-direction: column; text-align: center; }
.plan-card--featured { border-color: var(--brand); box-shadow: 0 18px 40px rgba(124,58,237,.22); transform: translateY(-8px); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--brand); color: #fff; font-weight: 700; font-size: .78rem; padding: .3rem .9rem; border-radius: 999px; white-space: nowrap; }
.plan-name { font-size: 1.1rem; color: var(--muted); margin: 0 0 .5rem; text-transform: uppercase; letter-spacing: .04em; }
.plan-price { font-size: 2.3rem; font-weight: 800; color: var(--text); line-height: 1; }
.plan-price span { font-size: .9rem; font-weight: 600; color: var(--muted); }
.plan-equiv { color: var(--brand); font-weight: 700; font-size: .9rem; margin: .5rem 0 .2rem; }
.plan-desc { color: var(--muted); font-size: .92rem; margin: .4rem 0 1.3rem; flex: 1; }
.offer-assure { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem;
    padding: 0; margin: 1.6rem 0 0; color: var(--muted); font-size: .92rem; }

@media (max-width: 820px) {
    .pain-grid, .parent-grid { grid-template-columns: 1fr 1fr; }
    .offer-grid { grid-template-columns: 1fr; }
    .plan-card--featured { transform: none; }
    .mascot-feature { grid-template-columns: 1fr; text-align: center; }
    .mascot-feature__text .btn { display: inline-block; }
}
@media (max-width: 520px) {
    .pain-grid, .parent-grid { grid-template-columns: 1fr; }
}

/* Aviso de personalização vinda do quiz (onboarding) */
.quiz-seeded { background: var(--brand-050); color: var(--brand); border: 1px solid var(--brand);
    border-radius: 12px; padding: .7rem .9rem; font-size: .9rem; font-weight: 600; margin-bottom: 1rem; text-align: left; }

/* Quiz — intro: selos de confiança */
.quiz-assure { list-style: none; padding: 0; margin: 1.4rem auto 0; display: flex; flex-wrap: wrap;
    justify-content: center; gap: .5rem 1.2rem; color: var(--muted); font-size: .85rem; font-weight: 600; }
.quiz-assure li { white-space: nowrap; }
.quiz-assure--foot { margin-top: 2rem; opacity: .8; font-size: .8rem; }

/* Quiz resultado — quebra de objeção */
.qr-worry { display: flex; gap: 1rem; align-items: flex-start;
    background: linear-gradient(135deg, var(--brand-050), var(--card));
    border: 1px solid var(--brand); border-radius: 20px; padding: 1.3rem 1.3rem; margin-bottom: 1rem; }
.qr-worry__emoji { font-size: 2.2rem; line-height: 1; flex: 0 0 auto; }
.qr-worry h2 { margin: 0 0 .3rem; font-size: 1.12rem; color: var(--brand); }
.qr-worry p { margin: 0; font-size: .98rem; }

/* Quiz resultado — selos de confiança */
.qr-trust { list-style: none; padding: 0; margin: 0 0 1rem; display: grid;
    grid-template-columns: repeat(4, 1fr); gap: .6rem; text-align: center; }
.qr-trust li { background: var(--card); border: 1px solid var(--border); border-radius: 14px;
    padding: .8rem .4rem; font-size: 1.4rem; }
.qr-trust li span { display: block; font-size: .74rem; font-weight: 700; color: var(--muted); margin-top: .25rem; }

/* Quiz resultado — como começa (passos) */
.qr-how { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 1.4rem 1.3rem; margin-bottom: 1rem; }
.qr-how h2 { margin: 0 0 1rem; font-size: 1.2rem; }
.qr-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.qr-steps li { display: flex; gap: .9rem; align-items: flex-start; font-size: .96rem; }
.qr-steps__n { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff;
    font-weight: 800; display: flex; align-items: center; justify-content: center; }

@media (max-width: 520px) {
    .qr-trust { grid-template-columns: repeat(2, 1fr); }
    .qr-worry { flex-direction: column; gap: .5rem; }
}

/* Quiz resultado — etapa 1: bloco "continuar" */
.qr-next { margin-top: .4rem; }
.qr-next .qr-restart { margin-top: 1rem; }

/* ==========================================================================
   ADMIN — Métricas do funil
   ========================================================================== */
.seg { display: inline-flex; background: var(--brand-050); border-radius: 999px; padding: .2rem; gap: .2rem; }
.seg__btn { padding: .35rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.seg__btn.is-active { background: var(--brand); color: #fff; }

.metric-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.metric-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .2rem; }
.metric-tile__n { font-size: 1.9rem; font-weight: 800; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }
.metric-tile__l { font-size: .82rem; color: var(--muted); font-weight: 600; }
.metric-tile--accent { border-color: var(--brand); background: var(--brand-050); }
.metric-tile--accent .metric-tile__n { color: var(--brand); }
.metric-tile--muted { opacity: .8; }

.funnel { display: flex; flex-direction: column; gap: .55rem; }
.funnel-row { display: grid; grid-template-columns: 180px 1fr 56px 70px; align-items: center; gap: .8rem; }
.funnel-row__label { font-size: .9rem; font-weight: 600; }
.funnel-row__track { position: relative; background: var(--brand-050); border-radius: 8px; height: 30px; overflow: hidden; }
.funnel-row__bar { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--brand), var(--pink)); border-radius: 8px; transition: width .4s ease; }
.funnel-row__count { position: absolute; left: .6rem; top: 50%; transform: translateY(-50%); font-size: .82rem; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.25); font-variant-numeric: tabular-nums; }
.funnel-row__pct { font-size: .85rem; font-weight: 700; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.drop-badge { font-size: .75rem; font-weight: 700; color: var(--kid-coral); background: rgba(240,56,159,.1); padding: .15rem .45rem; border-radius: 6px; }
.drop-badge--none { color: var(--muted); background: transparent; }

@media (max-width: 640px) {
    .funnel-row { grid-template-columns: 110px 1fr 44px; }
    .funnel-row__drop { display: none; }
}

/* Pill de conversão na tabela de UTM */
.conv-pill { display: inline-block; font-weight: 800; font-size: .82rem; color: var(--brand);
    background: var(--brand-050); padding: .18rem .55rem; border-radius: 999px; font-variant-numeric: tabular-nums; }

/* Filtro de data (dashboard e métricas) */
.date-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.date-range { display: flex; align-items: center; gap: .4rem; }
.date-range input[type=date] { border: 1px solid var(--border); border-radius: 8px; padding: .35rem .5rem; font-size: .85rem; background: var(--surface); color: var(--text); }
.date-range__sep { color: var(--muted); font-size: .85rem; }

/* Formas/emojis grandes nas atividades (missão do dia) */
.q-emoji { font-size: 2.2em; line-height: 1; vertical-align: middle; display: inline-block; margin: 0 .05em; }
.q-options--emoji { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .8rem; }
.q-option--emoji {
    aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
    font-size: clamp(3rem, 16vw, 5.5rem); line-height: 1; padding: .4rem;
    border-radius: 24px;
}

/* Ancoragem de oferta (70% off) na LP */
.offer-promo { text-align: center; background: linear-gradient(135deg, var(--kid-coral), var(--brand));
    color: #fff; font-weight: 700; padding: .7rem 1rem; border-radius: 14px; margin: 0 auto 1.4rem; max-width: 560px; }
.plan-anchor { margin: 0 0 .1rem; color: var(--muted); font-size: .95rem; }
.plan-anchor s { opacity: .8; }
.plan-off { display: inline-block; background: var(--kid-coral); color: #fff; font-weight: 800; font-size: .78rem;
    padding: .12rem .5rem; border-radius: 999px; margin-left: .3rem; }

/* Distribuição de respostas do quiz (admin métricas) */
.answers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.answer-block__q { font-weight: 700; margin: 0 0 .7rem; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.answer-block__n { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .72rem; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.answer-block__total { color: var(--muted); font-size: .78rem; font-weight: 600; margin-left: auto; }
.answer-opt { display: grid; grid-template-columns: 1fr 90px 78px; align-items: center; gap: .5rem; margin-bottom: .4rem; font-size: .88rem; }
.answer-opt__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.answer-opt__track { background: var(--brand-050); border-radius: 999px; height: 12px; overflow: hidden; }
.answer-opt__bar { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--pink)); border-radius: 999px; }
.answer-opt__val { text-align: right; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; font-size: .8rem; }
@media (max-width: 520px) { .answer-opt { grid-template-columns: 1fr 60px; } .answer-opt__label { grid-column: 1 / -1; } }

/* Quiz: opções em 2 colunas (perguntas com 4+ opções, pra alinhar) */
.quiz-options--2col { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.quiz-options--2col .quiz-option { height: 100%; }
@media (max-width: 480px) { .quiz-options--2col { grid-template-columns: 1fr; } }

/* Escape "Sair" no onboarding (evita ficar preso sem logout) */
.wizard__exit { position: absolute; top: 1rem; right: 1rem; margin: 0; }
.wizard__exit button { background: none; border: none; color: var(--muted); font-size: .85rem;
    font-weight: 600; cursor: pointer; padding: .3rem .5rem; border-radius: 8px; }
.wizard__exit button:hover { color: var(--brand); background: var(--brand-050); }

/* ==========================================================================
   QUIZ B — argumentação de venda interativa
   ========================================================================== */
.qb { min-height: 100vh; display: flex; flex-direction: column; align-items: center;
    padding: 1.1rem 1.1rem 2.4rem; background: linear-gradient(180deg, var(--brand-050), #fff 60%); }
.qb-logo { display: block; margin: .2rem auto 1rem; }
.qb-logo img { height: 40px; width: auto; }

.qb-screen { display: none; width: 100%; max-width: 560px; margin: 0 auto; }
.qb-screen.is-active { display: flex; flex-direction: column; align-items: center;
    justify-content: center; flex: 1 1 auto; text-align: center; animation: qbFade .35s ease; }
@keyframes qbFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Mascotes */
.qb-mascots { display: flex; gap: 1rem; justify-content: center; margin-bottom: 1rem; }
.qb-mascot { display: flex; flex-direction: column; align-items: center; gap: .3rem; font-weight: 800; color: var(--brand-700); font-size: .8rem; }
.qb-mascot img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: #fff;
    border: 3px solid #fff; box-shadow: 0 10px 22px rgba(124,58,237,.2); }
.qb-mascots--sm .qb-mascot img { width: 60px; height: 60px; }

/* Botões */
.qb-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    font-weight: 800; font-size: 1rem; padding: .95rem 1.5rem; border-radius: 16px; border: none;
    cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease; font-family: inherit; }
.qb-btn:active { transform: scale(.98); }
.qb-btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(124,58,237,.32); }
.qb-btn--primary:hover { background: var(--brand-600); }
.qb-btn--outline { background: #fff; color: var(--brand-700); border: 2px solid var(--brand-050); }
.qb-btn--outline:hover { border-color: var(--brand); }
.qb-btn--lg { font-size: 1.12rem; padding: 1.1rem 2rem; }
.qb-btn--block { width: 100%; }
.qb-btn.is-loading { opacity: .7; pointer-events: none; }

/* Abertura */
.qb-open__h { font-size: clamp(1.55rem, 6vw, 2.15rem); line-height: 1.16; margin: 0 0 .9rem; }
.qb-open__sub { color: var(--ink-soft); font-size: 1.06rem; max-width: 44ch; margin: 0 auto 1.4rem; }
.qb-note { display: block; margin-top: .7rem; font-size: .84rem; color: var(--muted); }
.qb-assure { list-style: none; padding: 0; margin: 1.6rem auto 0; display: flex; flex-wrap: wrap;
    justify-content: center; gap: .5rem 1.2rem; color: var(--ink-soft); font-size: .88rem; font-weight: 600; }
.qb-assure li { white-space: nowrap; }
.qb-assure--wrap { margin-top: 1rem; }

/* Tela de compromisso (microcompromisso antes da P1) — cabe em 1 viewport */
.qb-hl { background: linear-gradient(120deg, var(--brand), var(--pink)); -webkit-background-clip: text;
    background-clip: text; color: transparent; }
.qb-commit { text-align: center; }
.qb-commit__q { font-size: clamp(1.55rem, 6.5vw, 2.15rem); font-weight: 800; line-height: 1.2; margin: 1.3rem auto 1.7rem; max-width: 17ch; }
.qb-commit__tag { display: inline-block; background: var(--brand-050); color: var(--brand-700); font-weight: 800;
    font-size: .74rem; padding: .35rem .8rem; border-radius: 999px; line-height: 1.3; }
.qb-commit__h { font-size: clamp(1.2rem, 5vw, 1.55rem); line-height: 1.2; margin: .55rem 0 .35rem; }
.qb-commit__big { font-size: clamp(1.2rem, 5.2vw, 1.65rem); font-weight: 800; line-height: 1.2; margin: 0 auto .2rem; max-width: 22ch; }
.qb-commit__benefits { list-style: none; padding: .45rem .2rem; margin: .55rem auto; max-width: 330px; background: var(--brand-050);
    border-radius: 14px; display: flex; flex-direction: column; gap: .25rem; text-align: left; }
.qb-commit__benefits li { display: flex; align-items: center; gap: .55rem; padding: .16rem .7rem;
    font-weight: 600; font-size: .9rem; color: var(--ink); }
.qb-commit__benefits li span { font-size: 1.15rem; flex: 0 0 auto; }
.qb-commit__divider { width: 44px; height: 4px; border-radius: 999px; background: var(--brand-050); margin: .45rem auto; }
.qb-commit__purpose { color: var(--ink-soft); font-size: .95rem; line-height: 1.3; max-width: 34ch; margin: 0 auto .45rem; }
.qb-commit__micro { font-weight: 700; color: var(--ink); margin: 0 0 .55rem; }
.qb-commit__cta { width: 100%; max-width: 380px; }
.qb-commit .qb-note { margin-top: .45rem; }

/* Stage (perguntas + microfeedbacks) */
.qb-stage { justify-content: flex-start !important; padding-top: .5rem; }
.qb-progress { width: 100%; height: 12px; background: var(--brand-050); border-radius: 999px; overflow: hidden; margin-bottom: .8rem; }
.qb-progress span { display: block; height: 100%; width: 0; border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--pink)); transition: width .4s ease; }
.qb-count { color: var(--muted); font-size: .82rem; font-weight: 700; margin: 0 0 1.1rem; }
.qb-step { width: 100%; }
.qb-step.is-anim { animation: qbFade .3s ease; }
.qb-back { background: none; border: none; color: var(--muted); font-weight: 700; font-size: .9rem;
    cursor: pointer; margin-top: 1.2rem; padding: .4rem .6rem; border-radius: 8px; }
.qb-back:hover { color: var(--brand); }

.qb-prompt { font-size: clamp(1.25rem, 5vw, 1.6rem); line-height: 1.25; margin: 0 0 1.3rem; }
.qb-options { display: flex; flex-direction: column; gap: .7rem; }
.qb-option { display: flex; align-items: center; gap: .9rem; text-align: left; width: 100%;
    background: #fff; border: 2px solid var(--brand-050); border-radius: 16px; padding: 1rem 1.1rem;
    font-family: inherit; font-size: 1.02rem; font-weight: 600; color: var(--ink); cursor: pointer;
    box-shadow: 0 4px 12px rgba(124,58,237,.06); transition: border-color .15s ease, transform .12s ease, box-shadow .2s ease; }
.qb-option:hover { border-color: var(--brand); transform: translateY(-1px); }
.qb-option.is-selected { border-color: var(--brand); background: var(--brand-050); box-shadow: 0 8px 20px rgba(124,58,237,.18); }
.qb-option:disabled { cursor: default; }
.qb-option__emoji { font-size: 1.7rem; line-height: 1; flex: 0 0 auto; }
.qb-option__label { flex: 1; }

/* Microfeedbacks */
.qb-fb { text-align: center; padding: 1.4rem 0; animation: qbFade .35s ease; }
.qb-fb__big { font-size: clamp(1.4rem, 5.5vw, 1.9rem); font-weight: 800; color: var(--brand-700); margin-bottom: .8rem; line-height: 1.2; }
.qb-fb__big--sm { font-size: clamp(1.15rem, 4.5vw, 1.5rem); margin-top: 1rem; }
.qb-fb__p { font-size: 1.08rem; color: var(--ink-soft); max-width: 42ch; margin: 0 auto; line-height: 1.5; }
.qb-fb__cta { margin-top: 1.6rem; }

/* Análise */
.qb-analysis__h { font-size: clamp(1.3rem, 5vw, 1.7rem); margin: .4rem 0 1.4rem; transition: color .3s ease; }
.qb-analysis__h.is-found { color: var(--brand); }
.qb-progress--big { height: 16px; max-width: 340px; }
.qb-progress--big span { transition: width 3.2s cubic-bezier(.4,0,.2,1); }
.qb-checklist { list-style: none; padding: 0; margin: 1.6rem auto 0; max-width: 340px; text-align: left; display: flex; flex-direction: column; gap: .7rem; }
.qb-checklist li { color: var(--muted); font-weight: 600; opacity: .5; transition: opacity .3s ease, color .3s ease; padding-left: 1.8rem; position: relative; }
.qb-checklist li::before { content: '○'; position: absolute; left: 0; color: var(--muted); }
.qb-checklist li.is-done { opacity: 1; color: var(--ink); }
.qb-checklist li.is-done::before { content: '✓'; color: var(--success); font-weight: 900; }

/* Resultado / página de venda — tudo centralizado e com ritmo consistente */
.qb-result.is-active { display: block; flex: none; text-align: center; }
.qb-result__inner { max-width: 560px; margin: 0 auto; }
.qb-h1 { font-size: clamp(1.55rem, 6vw, 2.05rem); line-height: 1.16; margin: 0 0 .6rem; }
.qb-h2 { font-size: clamp(1.2rem, 4.6vw, 1.5rem); margin: 0 0 .9rem; }
.qb-result__sub { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.45; margin: 0 auto 1.5rem; max-width: 30ch; }

/* Recapitulação das respostas: rótulo à esquerda, valor à direita */
.qb-recap { list-style: none; padding: .3rem .2rem; margin: 0 0 1.8rem; background: #fff;
    border: 2px solid var(--brand-050); border-radius: 18px; box-shadow: 0 8px 20px rgba(124,58,237,.07); }
.qb-recap li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
    padding: .7rem .95rem; text-align: left; border-bottom: 1px solid var(--brand-050); }
.qb-recap li:last-child { border-bottom: none; }
.qb-recap span { color: var(--muted); font-size: .84rem; font-weight: 700; flex: 0 0 auto; }
.qb-recap b { color: var(--ink); font-size: .92rem; line-height: 1.3; text-align: right; }

.qb-reveal { background: linear-gradient(160deg, var(--brand-050), #fff); border-radius: 22px;
    padding: 1.5rem 1.2rem; margin: 0 0 1.8rem; }
.qb-reveal p { color: var(--ink-soft); line-height: 1.45; margin: 0 auto; max-width: 32ch; }
.qb-subjects { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.qb-subjects li { background: #fff; border-radius: 12px; padding: .55rem .4rem; font-size: .82rem; font-weight: 700;
    color: var(--ink); box-shadow: 0 4px 10px rgba(124,58,237,.08); }

.qb-mech { margin: 0 0 1.8rem; }
.qb-mech__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.qb-mech__card { background: #fff; border: 2px solid var(--brand-050); border-radius: 16px; padding: 1rem .8rem; text-align: center; }
.qb-mech__card span { font-size: 1.6rem; display: block; margin-bottom: .35rem; line-height: 1; }
.qb-mech__card b { display: block; font-size: .94rem; margin-bottom: .2rem; color: var(--ink); }
.qb-mech__card p { font-size: .82rem; color: var(--ink-soft); line-height: 1.35; margin: 0; }

.qb-bridge { margin: 0 0 1.1rem; }

/* Planos */
.qb-plans { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.4rem; }
.qb-plan { background: #fff; border: 2px solid var(--brand-050); border-radius: 20px; padding: 1.4rem 1.2rem; text-align: center; position: relative; box-shadow: 0 8px 20px rgba(124,58,237,.07); }
.qb-plan--best { border-color: var(--brand); box-shadow: 0 14px 34px rgba(124,58,237,.22); }
.qb-plan__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
    background: linear-gradient(90deg, var(--brand), var(--pink)); color: #fff; font-weight: 800; font-size: .74rem;
    padding: .35rem .9rem; border-radius: 999px; letter-spacing: .03em; }
.qb-plan__name { font-size: 1.15rem; margin: .3rem 0 .5rem; color: var(--ink); }
.qb-plan__price { font-size: 2rem; font-weight: 800; color: var(--brand-700); line-height: 1; }
.qb-plan__price small { font-size: .9rem; font-weight: 700; color: var(--muted); }
.qb-plan__perday { display: inline-block; background: var(--brand-050); color: var(--brand-700);
    font-weight: 800; font-size: .92rem; padding: .35rem .85rem; border-radius: 999px; margin: .7rem 0 .3rem; }
.qb-plan__perday strong { color: var(--brand); }
.qb-plan--best .qb-plan__perday { background: linear-gradient(90deg, var(--brand), var(--pink)); color: #fff; }
.qb-plan--best .qb-plan__perday strong { color: #fff; }
.qb-plan__permes { color: var(--ink-soft); font-size: .96rem; margin: .4rem 0 .2rem; }
.qb-plan__permes strong { color: var(--brand); }
.qb-plan__save { color: var(--muted); font-size: .84rem; margin: 0 0 1rem; line-height: 1.4; }
.qb-plan__save strong { color: var(--success); }
.qb-plan__cta { margin-top: .6rem; }
.qb-plans__note { text-align: center; color: var(--muted); font-size: .82rem; margin: 1.2rem auto 0; max-width: 40ch; line-height: 1.4; }

@media (min-width: 620px) {
    .qb-mech__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .qb-subjects { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   TLS (página de vendas reconstruída) — prefixo t-
   Mobile-first. Marca EDTECH infantil premium (roxo/rosa/branco).
   ========================================================================== */
.t-nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92);
    backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--brand-050); }
.t-nav__inner { display: flex; align-items: center; justify-content: space-between; padding: .6rem 0; }
.t-nav .brand-logo { height: 34px; width: auto; }

.t-sec { padding: 3rem 0; }
.t-sec--soft { background: var(--brand-050); }
.t-sec--belief { background: linear-gradient(160deg, var(--brand-700), var(--brand)); color: #fff; }
.t-center { text-align: center; }
.t-muted { color: var(--muted); }

.t-head { text-align: center; max-width: 40ch; margin: 0 auto 2rem; }
.t-head h2 { font-size: clamp(1.5rem, 6vw, 2.1rem); line-height: 1.18; margin: .4rem 0 .6rem; }
.t-head p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.5; }
.t-head--light h2 { color: #fff; }
.t-tag { display: inline-block; background: var(--brand-050); color: var(--brand-700); font-weight: 800;
    font-size: .8rem; padding: .35rem .9rem; border-radius: 999px; }
.t-sec--belief .t-tag { background: rgba(255,255,255,.15); color: #fff; }

/* Hero */
.t-hero { background: linear-gradient(180deg, var(--brand-050), #fff 78%); padding: 2rem 0 3rem; overflow: hidden; }
.t-hero__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.t-hero__title { font-size: clamp(1.8rem, 8vw, 3rem); line-height: 1.12; margin: .6rem 0 .9rem; }
.t-hl { background: linear-gradient(120deg, var(--brand), var(--pink)); -webkit-background-clip: text;
    background-clip: text; color: transparent; }
.t-hero__sub { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.55; margin: 0 0 1rem; }
.t-hero__punch { font-size: 1.15rem; font-weight: 800; color: var(--brand-700); line-height: 1.35; margin: 0 0 1.4rem; }
.t-hero__cta .btn { width: 100%; }
.t-hero__slogan { color: var(--muted); font-size: .9rem; margin: .8rem 0 0; }
.t-trust { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.1rem;
    justify-content: center; color: var(--ink-soft); font-size: .9rem; font-weight: 600; }
.t-hero__art { display: flex; justify-content: center; align-items: flex-end; gap: 1rem; max-width: 340px; margin: 1.6rem auto .4rem; }
.t-hero__mascot { width: 42%; max-width: 175px; height: auto; filter: drop-shadow(0 12px 24px rgba(124,58,237,.24)); }

/* Cards de dor */
.t-cards-3 { display: grid; gap: .9rem; margin-bottom: 1.8rem; }
.t-card-mini { background: #fff; border: 1.5px solid var(--brand-050); border-radius: 18px; padding: 1.2rem;
    text-align: center; box-shadow: 0 6px 16px rgba(124,58,237,.06); }
.t-card-mini span { font-size: 2rem; display: block; margin-bottom: .5rem; }
.t-card-mini p { margin: 0; font-weight: 700; color: var(--ink); }
.t-emo { text-align: center; margin: 2rem 0 1.4rem; }
.t-emo__lead { color: var(--ink-soft); margin: 0 0 .5rem; }
.t-emo__big { font-size: clamp(1.35rem, 5.5vw, 1.9rem); font-weight: 800; color: var(--brand-700); line-height: 1.25; margin: 0; }
.t-transition { text-align: center; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.55; max-width: 52ch; margin: 0 auto; }

/* Nova crença */
.t-belief__text { max-width: 54ch; margin: 0 auto 1.8rem; text-align: center; line-height: 1.55; color: rgba(255,255,255,.92); }
.t-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-bottom: 1.6rem; }
.t-flow__step { background: rgba(255,255,255,.14); border-radius: 14px; padding: .6rem .7rem; font-weight: 800;
    font-size: .82rem; text-align: center; line-height: 1.3; min-width: 78px; }
.t-flow i { font-style: normal; font-weight: 800; opacity: .7; }
.t-belief__foot { text-align: center; max-width: 50ch; margin: 0 auto 1.8rem; line-height: 1.5; color: rgba(255,255,255,.92); }

/* Revelação — chips de matérias */
.t-subjects { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-width: 640px; margin: 0 auto; }
.t-subjects .world-chip { font-size: .92rem; padding: .6rem 1rem; border-radius: 999px; font-weight: 800; color: #fff; }

/* Demo */
.t-demo { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; align-items: center; margin-bottom: 1.4rem; }

/* Comparação */
.t-vs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; max-width: 620px; margin: 0 auto; }
.t-vs__col { border-radius: 18px; padding: 1.2rem 1rem; }
.t-vs__col--a { background: #fff; border: 1.5px solid var(--brand-050); }
.t-vs__col--b { background: linear-gradient(160deg, var(--brand), var(--brand-600)); color: #fff; }
.t-vs__col h3 { font-size: 1.05rem; margin: 0 0 .8rem; }
.t-vs__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; font-weight: 600; font-size: .92rem; }
.t-vs__foot { margin-top: 1.4rem; font-size: 1.1rem; color: var(--ink-soft); }

/* Mascotes (bloco 7) */
.t-mascot { display: grid; gap: 1.4rem; align-items: center; }
.t-mascot__art { display: flex; justify-content: center; gap: .6rem; }
.t-mascot__text { text-align: center; }
.t-mascot__art img { width: 42%; max-width: 160px; height: auto; filter: drop-shadow(0 12px 24px rgba(124,58,237,.22)); }
.t-mascot__text h2 { font-size: clamp(1.4rem, 5.5vw, 2rem); line-height: 1.2; margin: 0 0 .6rem; }
.t-mascot__h { font-size: 1.2rem; font-weight: 800; color: var(--brand); margin: 0 0 .8rem; }
.t-mascot__text p { color: var(--ink-soft); line-height: 1.55; }
.t-mascot__quote { background: var(--brand-050); border-radius: 16px; padding: 1rem 1.2rem; margin-top: 1.2rem; color: var(--ink) !important; }

/* Personalização */
.t-perso { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-bottom: 1.4rem; }
.t-perso__part { background: #fff; border: 1.5px solid var(--brand-050); border-radius: 12px; padding: .6rem 1rem; font-weight: 800; color: var(--ink); }
.t-perso i { font-style: normal; font-weight: 800; color: var(--brand); }
.t-perso__result { background: linear-gradient(90deg, var(--brand), var(--pink)); color: #fff; border-radius: 12px; padding: .6rem 1.1rem; font-weight: 800; }
.t-interests { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1rem; }
.t-interests span { background: var(--brand-050); color: var(--brand-700); border-radius: 999px; padding: .5rem .95rem; font-weight: 700; font-size: .9rem; }

/* Painel dos pais */
.t-parents { display: grid; gap: 1.6rem; align-items: center; }
.t-parents__mock { display: flex; justify-content: center; }
.t-parents__text { text-align: center; }
.t-parents__text h2 { font-size: clamp(1.4rem, 5.5vw, 2rem); line-height: 1.2; margin: 0 0 .6rem; }
.t-parents__text p { color: var(--ink-soft); line-height: 1.55; }
.t-parents__punch { font-size: 1.15rem; color: var(--ink) !important; font-weight: 700; margin-top: 1rem !important; }

/* O que recebe */
.t-receive { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; max-width: 640px; margin: 0 auto; }
.t-receive div { background: #fff; border: 1.5px solid var(--brand-050); border-radius: 14px; padding: .85rem 1rem; font-weight: 700; font-size: .92rem; color: var(--ink); }

/* Ponte */
.t-bridge__small { font-size: 1.1rem; color: rgba(255,255,255,.85); margin: 0 0 .4rem; }
.t-bridge__big { font-size: clamp(1.6rem, 6.5vw, 2.4rem); font-weight: 800; line-height: 1.15; margin: 0 0 1.2rem; }
.t-bridge__text { max-width: 50ch; margin: 0 auto 1rem; line-height: 1.55; color: rgba(255,255,255,.92); }
.t-bridge__go { font-size: 1.15rem; font-weight: 800; margin: 0; }

/* Planos */
.t-plans { display: grid; gap: 1.1rem; max-width: 400px; margin: 0 auto; }
.t-plan { background: #fff; border: 2px solid var(--brand-050); border-radius: 22px; padding: 1.5rem 1.3rem; text-align: center;
    position: relative; box-shadow: 0 8px 22px rgba(124,58,237,.07); }
.t-plan--best { border-color: var(--brand); box-shadow: 0 16px 40px rgba(124,58,237,.24); }
.t-plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
    background: linear-gradient(90deg, var(--brand), var(--pink)); color: #fff; font-weight: 800; font-size: .74rem;
    padding: .35rem .9rem; border-radius: 999px; letter-spacing: .03em; }
.t-plan__tier { color: var(--muted); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; margin: .2rem 0 .1rem; }
.t-plan__name { font-size: 1.3rem; margin: 0 0 .5rem; }
.t-plan__price { font-size: 2.1rem; font-weight: 800; color: var(--brand-700); line-height: 1; }
.t-plan__price small { font-size: .9rem; font-weight: 700; color: var(--muted); }
.t-plan__perday { display: inline-block; background: var(--brand-050); color: var(--brand-700); font-weight: 800;
    font-size: .9rem; padding: .35rem .85rem; border-radius: 999px; margin: .7rem 0 .3rem; }
.t-plan__perday strong { color: var(--brand); }
.t-plan--best .t-plan__perday { background: linear-gradient(90deg, var(--brand), var(--pink)); color: #fff; }
.t-plan--best .t-plan__perday strong { color: #fff; }
.t-plan__equiv { color: var(--ink-soft); font-size: .96rem; margin: .3rem 0 .2rem; }
.t-plan__equiv strong { color: var(--brand); }
.t-plan__save { color: var(--muted); font-size: .84rem; line-height: 1.4; margin: 0 0 1.1rem; }
.t-plan__save strong { color: var(--success); }
.t-plan__cta { margin-top: .4rem; }

/* Redução de risco */
.t-risk { list-style: none; padding: 0; margin: 1.8rem auto 0; max-width: 560px; display: flex; flex-wrap: wrap;
    justify-content: center; gap: .6rem 1.2rem; color: var(--ink-soft); font-weight: 600; font-size: .9rem; }

/* Prova social */
.t-social { display: grid; gap: 1rem; }
.t-social__card { background: #fff; border: 1.5px solid var(--brand-050); border-radius: 18px; padding: 1.3rem; margin: 0; }
.t-social__stars { margin-bottom: .5rem; }
.t-social__card blockquote { margin: 0 0 .6rem; font-size: 1.02rem; line-height: 1.5; }
.t-social__card figcaption { color: var(--muted); font-weight: 700; }

/* FAQ */
.t-faq-wrap { max-width: 640px; }
.t-faq { display: flex; flex-direction: column; gap: .7rem; }
.t-faq__item { background: #fff; border: 1.5px solid var(--brand-050); border-radius: 14px; overflow: hidden; }
.t-faq__item summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; color: var(--ink);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.t-faq__item summary::-webkit-details-marker { display: none; }
.t-faq__ico { color: var(--brand); font-weight: 800; font-size: 1.3rem; flex: 0 0 auto; transition: transform .2s ease; }
.t-faq__item[open] .t-faq__ico { transform: rotate(45deg); }
.t-faq__a { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); line-height: 1.55; }
.t-faq__a p { margin: 0; }

/* CTA final */
.t-final { background: linear-gradient(180deg, #fff, var(--brand-050)); }
.t-mascots-sm { display: flex; justify-content: center; gap: .4rem; margin-bottom: 1rem; }
.t-mascots-sm img { width: 68px; height: 68px; }
.t-final__h { font-size: clamp(1.5rem, 6vw, 2.1rem); line-height: 1.18; margin: 0 0 .8rem; }
.t-final p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 1rem; line-height: 1.5; }
.t-final__punch { font-size: 1.2rem; font-weight: 800; color: var(--brand-700) !important; }
.t-final .btn { margin-top: .6rem; }
.t-final__slogan { color: var(--muted); font-size: .9rem; margin-top: 1rem !important; }

.t-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 1.6rem 0; font-size: .88rem; }
.t-footer p { margin: 0; }

/* Sticky CTA mobile */
.t-sticky { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50; display: none; text-align: center;
    background: var(--brand); color: #fff; font-weight: 800; padding: 1rem; border-radius: 16px; text-decoration: none;
    box-shadow: 0 10px 30px rgba(124,58,237,.4); transform: translateY(140%); transition: transform .3s ease; }
.t-sticky.is-show { transform: translateY(0); }

/* ---- Phone mockup (UI real) ---- */
.t-phone { width: 260px; max-width: 82vw; background: #fff; border-radius: 30px; padding: 12px;
    box-shadow: 0 24px 60px rgba(42,30,92,.22); border: 1px solid var(--brand-050); }
.t-phone__screen { background: linear-gradient(180deg, var(--brand-050), #fff); border-radius: 22px; padding: 1rem; }
.t-mk-top { display: flex; align-items: center; justify-content: space-between; }
.t-mk-hi { font-weight: 800; color: var(--ink); }
.t-mk-chips b { display: inline-block; background: #fff; border-radius: 999px; padding: .2rem .5rem; font-size: .78rem; margin-left: .25rem; box-shadow: 0 2px 6px rgba(124,58,237,.12); }
.t-mk-label { text-transform: uppercase; letter-spacing: .05em; font-size: .68rem; font-weight: 800; color: var(--muted); margin: .9rem 0 .4rem; }
.t-mk-quest { display: flex; gap: .6rem; align-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff; border-radius: 16px; padding: .8rem; }
.t-mk-quest__emoji { font-size: 1.8rem; }
.t-mk-quest p { margin: 0; font-size: .82rem; font-weight: 700; line-height: 1.3; }
.t-mk-step { font-size: .72rem; font-weight: 800; color: var(--muted); margin: .8rem 0 .4rem; }
.t-mk-card { background: #fff; border-radius: 16px; padding: .9rem; box-shadow: 0 6px 16px rgba(124,58,237,.1); }
.t-mk-q { margin: 0 0 .6rem; font-weight: 800; font-size: .86rem; color: var(--ink); }
.t-mk-seq { display: flex; gap: .4rem; justify-content: center; margin-bottom: .7rem; }
.t-mk-seq span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-050); font-weight: 800; color: var(--brand-700); }
.t-mk-seq__q { background: var(--kid-sun) !important; color: #fff !important; }
.t-mk-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.t-mk-opts button { border: 2px solid var(--brand-050); background: #fff; border-radius: 10px; padding: .5rem; font-weight: 800; color: var(--ink); font-family: inherit; }
.t-mk-opts .is-correct { border-color: var(--success); background: var(--success-bg); color: #166534; }
.t-phone--win .t-phone__screen { background: linear-gradient(180deg, #FFF7E6, #fff); text-align: center; }
.t-mk-win { padding: 1.6rem 1rem; }
.t-mk-win__trophy { font-size: 3rem; }
.t-mk-win__h { font-size: 1.2rem; margin: .4rem 0 .8rem; color: var(--brand-700); }
.t-mk-win__rewards { display: flex; gap: .5rem; justify-content: center; margin-bottom: .8rem; }
.t-mk-win__rewards span { background: var(--brand); color: #fff; border-radius: 999px; padding: .35rem .8rem; font-weight: 800; font-size: .84rem; }
.t-mk-win__badge { background: var(--kid-sun); color: #fff; border-radius: 999px; padding: .35rem .8rem; display: inline-block; font-weight: 800; font-size: .82rem; margin: 0 0 1rem; }
.t-mk-win__bar { height: 10px; background: var(--brand-050); border-radius: 999px; overflow: hidden; }
.t-mk-win__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--brand), var(--pink)); }
.t-mk-win__next { color: var(--muted); font-size: .8rem; margin: .6rem 0 0; }

/* ---- Painel dos pais (mockup) ---- */
.t-panel { width: 300px; max-width: 88vw; background: #fff; border-radius: 22px; padding: 1.2rem; box-shadow: 0 20px 50px rgba(42,30,92,.16); border: 1px solid var(--brand-050); }
.t-panel__head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .8rem; font-weight: 700; }
.t-panel__head b { color: var(--ink); }
.t-panel__row--big { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1rem 0; }
.t-panel__row--big div { background: var(--brand-050); border-radius: 14px; padding: .8rem; text-align: center; }
.t-panel__n { font-size: 1.8rem; font-weight: 800; color: var(--brand-700); display: block; line-height: 1; }
.t-panel__row--big small { color: var(--ink-soft); font-size: .74rem; }
.t-panel__subj { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.t-panel__bar { font-size: .82rem; font-weight: 700; color: var(--ink); }
.t-panel__bar i { display: block; height: 8px; margin-top: .3rem; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--pink)); }
.t-panel__streak { background: #FFF7E6; border-radius: 12px; padding: .6rem; text-align: center; font-weight: 700; font-size: .88rem; color: #92400E; }

/* ---- Desktop ---- */
@media (min-width: 860px) {
    .t-sec { padding: 4.5rem 0; }
    .t-hero { padding: 3rem 0 4rem; }
    .t-cards-3 { grid-template-columns: repeat(3, 1fr); }
    .t-mascot { grid-template-columns: .8fr 1.2fr; gap: 2.5rem; }
    .t-mascot__text, .t-parents__text { text-align: left; }
    .t-parents { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .t-receive { grid-template-columns: repeat(5, 1fr); max-width: none; }
    .t-plans { grid-template-columns: repeat(3, 1fr); max-width: 940px; align-items: start; }
    .t-plan--best { transform: translateY(-8px); }
    .t-social { grid-template-columns: repeat(3, 1fr); }
    .t-sticky { display: none !important; }  /* sticky é só mobile */
}
@media (max-width: 859px) {
    .t-sticky { display: block; }
    .t-receive { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
    .t-receive, .t-vs { grid-template-columns: 1fr; }
}

/* ==========================================================================
   VSL — landing de vídeo (dobra 1) + oferta liberada no pitch (dobra 2)
   ========================================================================== */
.vsl { background: linear-gradient(180deg, var(--brand-050), #fff 60%); min-height: 100vh; }
.vsl-hero { max-width: 1080px; margin: 0 auto; padding: 1.2rem 1.1rem 2.5rem; text-align: center; }
.vsl-logo { display: inline-block; margin-bottom: 1.1rem; }
.vsl-logo img { height: 38px; width: auto; }
.vsl-title { font-size: clamp(.95rem, 4.25vw, 2rem); line-height: 1.24; margin: 0 0 1.1rem; }
.vsl-hl { background: linear-gradient(120deg, var(--brand), var(--pink)); -webkit-background-clip: text;
    background-clip: text; color: transparent; }

.vsl-player { position: relative; border-radius: 18px; overflow: hidden; background: #000;
    box-shadow: 0 18px 46px rgba(42,30,92,.28); }
.vsl-player video { display: block; width: 100%; height: auto; }

/* Capa translúcida: o vídeo continua visível rodando atrás do botão. */
.vsl-cover { position: absolute; inset: 0; width: 100%; border: none; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
    background: rgba(20, 12, 45, .45); color: #fff; font-family: inherit;
    transition: opacity .35s ease; -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); }
.vsl-cover.is-hidden { opacity: 0; pointer-events: none; }

/* Anel pulsante em volta do ícone de som */
.vsl-cover__ring { position: relative; width: 88px; height: 88px; border-radius: 50%;
    display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--pink));
    box-shadow: 0 12px 34px rgba(0,0,0,.45); animation: vslPulse 1.6s ease-in-out infinite; }
.vsl-cover__ring::before, .vsl-cover__ring::after { content: ''; position: absolute; inset: 0;
    border-radius: 50%; border: 3px solid rgba(255,255,255,.85); animation: vslRing 2s ease-out infinite; }
.vsl-cover__ring::after { animation-delay: 1s; }
.vsl-cover__ico { font-size: 2.4rem; line-height: 1; }

.vsl-cover__txt { font-weight: 900; font-size: clamp(.95rem, 3.6vw, 1.25rem); letter-spacing: .02em;
    text-align: center; padding: .55rem 1.1rem; border-radius: 999px; background: rgba(0,0,0,.45);
    text-shadow: 0 2px 8px rgba(0,0,0,.6); animation: vslBlink 2.2s ease-in-out infinite; }
.vsl-cover__hint { font-size: .84rem; opacity: .92; text-shadow: 0 2px 6px rgba(0,0,0,.7); }

@keyframes vslPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.08); }
}
@keyframes vslRing {
    0%   { transform: scale(1);   opacity: .8; }
    100% { transform: scale(1.7); opacity: 0; }
}
@keyframes vslBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: .72; }
}
/* Respeita quem prefere menos animação */
@media (prefers-reduced-motion: reduce) {
    .vsl-cover__ring, .vsl-cover__ring::before, .vsl-cover__ring::after, .vsl-cover__txt { animation: none; }
}

.vsl-bar { height: 5px; background: rgba(255,255,255,.15); }
.vsl-bar span { display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--brand), var(--pink)); transition: width .3s linear; }

.vsl-trust { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap;
    justify-content: center; gap: .5rem 1.1rem; color: var(--ink-soft); font-size: .88rem; font-weight: 600; }
.vsl-locked { margin: 1.4rem auto 0; max-width: 34ch; color: var(--muted); font-size: .95rem;
    background: #fff; border: 1.5px dashed var(--brand-050); border-radius: 14px; padding: .9rem 1rem; }
.vsl-locked__ico { font-size: 1.1rem; }

/* Dobra 2 — oferta */
.vsl-offer { background: #fff; border-top: 1px solid var(--brand-050); padding: 2.4rem 1.1rem 3rem;
    animation: qbFade .5s ease; }
.vsl-offer__inner { max-width: 560px; margin: 0 auto; text-align: center; }
.vsl-offer__h { font-size: clamp(1.4rem, 5.5vw, 1.9rem); margin: 0 0 .5rem; }
.vsl-offer__sub { color: var(--ink-soft); margin: 0 auto 1.6rem; max-width: 40ch; line-height: 1.45; }

/* Curva de retenção (painel admin) */
.vsl-curve { display: flex; flex-direction: column; gap: .35rem; }
.vsl-curve__row { display: grid; grid-template-columns: 62px 1fr 108px; align-items: center; gap: .6rem; }
.vsl-curve__t { font-size: .8rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.vsl-curve__track { background: var(--brand-050); border-radius: 999px; height: 16px; overflow: hidden; }
.vsl-curve__bar { display: block; height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--pink)); transition: width .4s ease; }
.vsl-curve__v { font-size: .78rem; color: var(--ink); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.vsl-curve__row.is-pitch .vsl-curve__t { color: var(--brand); }
.vsl-curve__row.is-pitch .vsl-curve__track { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---- VSL: player grande e oferta em 3 colunas no desktop ---- */
.vsl-hero .vsl-title { max-width: 100%; margin-left: auto; margin-right: auto; font-weight: 900; }
@media (min-width: 700px) { .vsl-hero .vsl-title { max-width: 40ch; } }

/* Planos lado a lado no PC, empilhados no mobile */
.vsl-plans { display: grid; grid-template-columns: 1fr; gap: 1rem; }

@media (min-width: 900px) {
    .vsl-hero { padding: 2rem 1.5rem 3rem; }
    .vsl-title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 1.5rem; }
    .vsl-player { max-width: 980px; margin: 0 auto; border-radius: 22px; }

    .vsl-offer__inner { max-width: 1000px; }
    .vsl-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 1.2rem; }
    /* O anual (destaque) fica maior e à frente */
    .vsl-plans .qb-plan--best { transform: scale(1.05); z-index: 1; }
}

/* Em telas muito largas, não deixa o vídeo esticar demais */
@media (min-width: 1280px) {
    .vsl-player { max-width: 1040px; }
}
/* ---- Planos vitalícios: pagamento único + lista de benefícios ---- */
.qb-plan__once { color: var(--ink-soft); font-size: .95rem; margin: .5rem 0 1rem; }
.qb-plan__once strong { color: var(--brand); }
.qb-plan__benefits { list-style: none; padding: 0; margin: 0 0 1.2rem; text-align: left;
    display: flex; flex-direction: column; gap: .45rem; }
.qb-plan__benefits li { display: flex; gap: .5rem; align-items: flex-start;
    font-size: .9rem; line-height: 1.35; color: var(--ink); }
.qb-plan__benefits li::before { content: '✓'; color: var(--success); font-weight: 900; flex: 0 0 auto; }
.qb-plan--best .qb-plan__benefits li:first-child { font-weight: 800; color: var(--brand-700); }

/* Grade de 2 planos: lado a lado no desktop, empilhado no mobile */
.qb-plans { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 820px) {
    .qb-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; max-width: 760px; margin-left: auto; margin-right: auto; }
    .qb-plans .qb-plan--best { transform: scale(1.04); }
    .t-plans-lifetime { max-width: 800px; }
}
