/* Diário Pro — página de vendas. Tokens claro/escuro, mobile-first. */
:root {
  --brand: #4f46e5;
  --brand-600: #4338ca;
  --brand-soft: #eef2ff;
  --brand-ink: #3730a3;
  --accent: #f59e0b;
  --accent-soft: #fef3c7;
  --ok: #059669;
  --wa: #25d366;
  --wa-ink: #075e54;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --subtle: #64748b;
  --border: #e2e8f0;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(49, 46, 129, .35);
  --hero-grad: radial-gradient(1200px 500px at 80% -10%, #c7d2fe 0%, transparent 60%), radial-gradient(800px 400px at -10% 10%, #fde68a55 0%, transparent 60%);
  --radius: 18px;
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #818cf8; --brand-600: #6366f1; --brand-soft: #1e1b4b; --brand-ink: #c7d2fe;
    --accent: #fbbf24; --accent-soft: #422006; --ok: #34d399;
    --bg: #0b1020; --bg-alt: #0f1529; --surface: #141b33; --surface-2: #1b2340;
    --text: #e8ecf7; --muted: #b4bdd6; --subtle: #8b95b3; --border: #26304f;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7);
    --hero-grad: radial-gradient(1200px 500px at 80% -10%, #312e8199 0%, transparent 60%), radial-gradient(800px 400px at -10% 10%, #78350f44 0%, transparent 60%);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #818cf8; --brand-600: #6366f1; --brand-soft: #1e1b4b; --brand-ink: #c7d2fe;
  --accent: #fbbf24; --accent-soft: #422006; --ok: #34d399;
  --bg: #0b1020; --bg-alt: #0f1529; --surface: #141b33; --surface-2: #1b2340;
  --text: #e8ecf7; --muted: #b4bdd6; --subtle: #8b95b3; --border: #26304f;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7);
  --hero-grad: radial-gradient(1200px 500px at 80% -10%, #312e8199 0%, transparent 60%), radial-gradient(800px 400px at -10% 10%, #78350f44 0%, transparent 60%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.4em; border-radius: 14px; font: 700 1rem/1.2 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px var(--brand); }
:root[data-theme="dark"] .btn-primary { color: #0b1020; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { color: #0b1020; } }
.btn-wa { background: var(--wa); color: #06331f; box-shadow: 0 10px 24px -10px #25d366aa; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { font-size: 1.1rem; padding: 1em 1.6em; }
.btn-block { width: 100%; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 800 1.2rem var(--font-head); margin-right: auto; }
.logo b { color: var(--brand); }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, #6366f1, #4338ca); display: grid; place-items: center; box-shadow: 0 6px 16px -6px #4f46e5; }
.logo-mark svg { width: 22px; height: 22px; color: #fff; }
.nav-links { display: none; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--brand); }
@media (min-width: 900px) { .nav-links { display: flex; } }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.theme-ico-dark { display: none; }
:root[data-theme="dark"] .theme-ico-dark { display: block; }
:root[data-theme="dark"] .theme-ico-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-ico-dark { display: block; } :root:not([data-theme="light"]) .theme-ico-light { display: none; } }
.nav .btn { padding: .65em 1em; font-size: .92rem; }
.nav-cta-text-long { display: none; }
@media (min-width: 480px) { .nav-cta-text-long { display: inline; } .nav-cta-text-short { display: none; } }

/* Hero */
.hero { background: var(--hero-grad); padding: 48px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 48px; } .hero { padding: 72px 0 88px; } }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 55%, var(--text)); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; margin-bottom: 18px; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.hero h1 .hl { background: linear-gradient(90deg, var(--brand), #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 40ch; }
.price-strip { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 22px 0; padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); max-width: 520px; }
.price-strip .old { color: var(--subtle); text-decoration: line-through; font-weight: 600; }
.price-strip .new { font: 800 1.9rem var(--font-head); color: var(--text); }
.price-strip .tag { font-size: .85rem; color: var(--ok); font-weight: 700; width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .cta-row .btn { flex: 0 0 auto; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 20px 0 0; color: var(--muted); font-size: .92rem; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

.hero-visual { position: relative; padding-bottom: 40px; }
.browser { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.browser-bar i:nth-child(2) { background: #fbbf24; }
.browser-bar i:nth-child(3) { background: #34d399; }
.browser-bar span { margin-left: 10px; font-size: .75rem; color: var(--subtle); background: var(--surface); padding: 2px 10px; border-radius: 8px; border: 1px solid var(--border); }
.phone { width: 100%; max-width: 260px; border-radius: 34px; padding: 9px; background: #0f172a; box-shadow: var(--shadow-lg); border: 1px solid #334155; }
.phone img { border-radius: 26px; width: 100%; }
.hero-visual .phone { position: absolute; right: -6px; bottom: 0; width: 38%; max-width: 210px; transform: rotate(3deg); }
@media (max-width: 520px) { .hero-visual .phone { width: 42%; right: -4px; } }
.float-chip { position: absolute; left: -6px; bottom: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .85rem; font-weight: 700; display: flex; gap: 8px; align-items: center; max-width: 55%; }
.float-chip span { font-size: 1.3rem; }

/* Seções */
section { scroll-margin-top: 72px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow { display: inline-block; color: var(--brand); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin-bottom: 10px; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Dores */
.pains { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pain { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.pain .x { font-size: 1.6rem; }
.pain h3 { font-size: 1.05rem; margin: 8px 0 6px; }
.pain p { color: var(--muted); margin: 0; font-size: .95rem; }
.pain .fix { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); color: var(--ok); font-weight: 700; font-size: .92rem; }

/* Passos */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px 22px; box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 20px; width: 34px; height: 34px; border-radius: 11px; background: var(--brand); color: #fff; display: grid; place-items: center; font: 800 1rem var(--font-head); }
.step h3 { margin-top: 6px; font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }
.note { margin: 28px auto 0; max-width: 820px; background: var(--brand-soft); color: var(--brand-ink); border-radius: 16px; padding: 16px 20px; font-size: .97rem; }

/* Funcionalidades em destaque */
.feature { display: grid; gap: 32px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--border); }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; gap: 64px; padding: 56px 0; } .feature.rev .feature-media { order: 2; } }
.feature-media { display: flex; justify-content: center; gap: 16px; align-items: flex-end; }
.feature-media .phone { max-width: 250px; }
.feature-media.duo .phone { max-width: 210px; }
.feature-media.duo .phone:nth-child(2) { margin-bottom: 30px; }
.feature-media.combo { position: relative; display: block; padding-bottom: 36px; }
.feature-media.combo .phone { position: absolute; right: -6px; bottom: 0; width: 34%; max-width: 190px; transform: rotate(3deg); }
.feature-text .ico { font-size: 2rem; display: block; margin-bottom: 6px; }
.feature-text p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 7px; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks b { color: var(--text); }

/* Trio de celulares (app dos pais) */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 820px; margin: 0 auto; align-items: end; }
.trio figure { margin: 0; text-align: center; }
.trio .phone { max-width: 100%; border-radius: 24px; padding: 6px; }
.trio .phone img { border-radius: 19px; }
.trio figure:nth-child(2) { transform: translateY(-18px); }
.trio figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; font-weight: 600; }
@media (max-width: 560px) { .trio { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px 4px 8px; } .trio figure { scroll-snap-align: center; } }
.parent-points { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 40px; }
.pp { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; font-size: .95rem; color: var(--muted); }
.pp b { display: block; color: var(--text); margin-bottom: 2px; }

/* Grade de tudo que vem */
.grid-all { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); transform: translateY(-2px); }
.card .e { font-size: 1.7rem; line-height: 1; }
.card h3 { font-size: 1.02rem; margin: 10px 0 6px; }
.card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Segurança */
.sec-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.sec { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.sec .e { font-size: 1.6rem; flex: none; }
.sec h3 { font-size: 1rem; margin: 0 0 4px; }
.sec p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Sem demo */
.nodemo { display: grid; gap: 28px; align-items: center; background: linear-gradient(135deg, var(--brand-soft), var(--surface)); border: 1px solid var(--border); border-radius: 26px; padding: 28px 22px; }
@media (min-width: 900px) { .nodemo { grid-template-columns: 1.2fr .8fr; padding: 44px; } }
.nodemo p { color: var(--muted); }
.nodemo .phone { max-width: 230px; margin: 0 auto; }

/* Comparação */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--surface-2); font-family: var(--font-head); }
.compare td:nth-child(3), .compare th:nth-child(3) { background: color-mix(in srgb, var(--brand) 8%, transparent); font-weight: 600; }
.compare td:nth-child(2) { color: var(--subtle); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
@media (max-width: 600px) { .compare { font-size: .88rem; } .compare th, .compare td { padding: 11px 10px; } }

/* Preço */
.pricing { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .pricing { grid-template-columns: 1fr 440px; gap: 56px; } }
.price-card { position: relative; background: var(--surface); border: 2px solid var(--brand); border-radius: 26px; padding: 30px 24px 26px; box-shadow: var(--shadow-lg); }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #3b2300; font-weight: 800; font-size: .8rem; padding: 6px 14px; border-radius: 999px; white-space: nowrap; letter-spacing: .02em; }
.price-card h3 { text-align: center; margin-top: 6px; }
.price-big { text-align: center; margin: 8px 0 4px; }
.price-big .old { color: var(--subtle); text-decoration: line-through; font-weight: 600; font-size: 1.05rem; }
.price-big .now { font: 800 3.2rem/1 var(--font-head); color: var(--text); display: flex; justify-content: center; align-items: flex-start; gap: 4px; margin-top: 6px; }
.price-big .now small { font-size: 1.1rem; margin-top: .45em; }
.price-big .save { display: inline-block; margin-top: 10px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-weight: 800; padding: 4px 12px; border-radius: 999px; font-size: .9rem; }
.price-sub { text-align: center; color: var(--muted); font-weight: 600; margin: 10px 0 18px; }
.price-card .checks { margin-bottom: 22px; font-size: .97rem; }
.price-foot { text-align: center; color: var(--subtle); font-size: .85rem; margin: 12px 0 0; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* CTA final + formulário */
.final { background: linear-gradient(135deg, #4338ca, #6d28d9); color: #fff; border-radius: 28px; padding: 36px 22px; display: grid; gap: 28px; }
@media (min-width: 900px) { .final { grid-template-columns: 1.1fr .9fr; padding: 52px; align-items: center; } }
.final h2 { color: #fff; }
.final p { color: #e0e7ff; }
.final .price-line { font: 800 1.4rem var(--font-head); color: #fff; }
.final .price-line s { color: #c7d2fe; font-weight: 600; font-size: 1rem; }
.lead-form { background: #fff; color: #0f172a; border-radius: 20px; padding: 22px; display: grid; gap: 12px; }
.lead-form h3 { margin: 0; font-size: 1.1rem; }
.lead-form label { font-size: .88rem; font-weight: 700; color: #334155; display: grid; gap: 6px; }
.lead-form input, .lead-form textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid #cbd5e1; background: #fff; color: #0f172a; width: 100%; }
.lead-form input:focus, .lead-form textarea:focus { outline: 3px solid #a5b4fc; border-color: #6366f1; }
.lead-form .hp { position: absolute; left: -9999px; }
.lead-form .small { font-size: .8rem; color: #64748b; margin: 0; }
.lead-form .msg { font-size: .9rem; font-weight: 700; margin: 0; min-height: 1.2em; }
.lead-form .msg.err { color: #be123c; }
.lead-form .msg.ok { color: #047857; }

/* Rodapé */
.site-footer { padding: 40px 0 120px; color: var(--muted); font-size: .92rem; border-top: 1px solid var(--border); margin-top: 72px; }
.foot { display: grid; gap: 20px; }
@media (min-width: 800px) { .foot { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h4 { font-size: .95rem; color: var(--text); margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot a, .linklike { color: var(--muted); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.foot a:hover, .linklike:hover { color: var(--brand); text-decoration: underline; }
.copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); font-size: .88rem; text-align: center; }

/* Botão flutuante do WhatsApp (esquerda) */
.wa-float { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px #128c7e99; }
.wa-float svg { width: 30px; height: 30px; }

/* Chat (direita) */
.chat-fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; height: 56px; padding: 0 18px 0 14px; border-radius: 999px; border: 0; background: var(--brand); color: #fff; display: flex; align-items: center; gap: 8px; font: 700 .95rem var(--font-body); box-shadow: 0 12px 28px -8px #4f46e5aa; cursor: pointer; }
.chat-fab svg { width: 24px; height: 24px; }
:root[data-theme="dark"] .chat-fab { color: #0b1020; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chat-fab { color: #0b1020; } }
@media (max-width: 420px) { .chat-fab .lbl { display: none; } .chat-fab { width: 56px; padding: 0; justify-content: center; } }
.chat-panel { position: fixed; right: 16px; bottom: 84px; z-index: 70; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100dvh - 110px)); background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--brand); color: #fff; }
.chat-head .av { width: 34px; height: 34px; border-radius: 50%; background: #ffffff33; display: grid; place-items: center; font-size: 1.1rem; }
.chat-head b { display: block; font-size: .98rem; }
.chat-head small { opacity: .85; font-size: .78rem; }
.chat-head button { margin-left: auto; background: transparent; border: 0; color: #fff; cursor: pointer; padding: 6px; border-radius: 8px; }
.chat-head button svg { width: 20px; height: 20px; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt); }
.bubble { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: .93rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.bubble.bot { background: var(--surface); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble.me { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
:root[data-theme="dark"] .bubble.me { color: #0b1020; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bubble.me { color: #0b1020; } }
.bubble.typing { color: var(--subtle); font-style: italic; }
.chat-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 12px 0; background: var(--surface); }
.chat-quick button { border: 1px solid var(--border); background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 6px 11px; font: 600 .8rem var(--font-body); cursor: pointer; }
.chat-quick button:hover { border-color: var(--brand); color: var(--brand); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px 12px; background: var(--surface); border-top: 1px solid var(--border); }
.chat-form input { flex: 1; min-width: 0; font: inherit; font-size: .95rem; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--text); }
.chat-form button { border: 0; background: var(--brand); color: #fff; border-radius: 12px; width: 44px; display: grid; place-items: center; cursor: pointer; }
.chat-form button svg { width: 20px; height: 20px; }
.chat-wa { font-size: .78rem; text-align: center; padding: 0 12px 10px; background: var(--surface); color: var(--subtle); }

/* Banner de cookies */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin: 0 auto; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 18px; }
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1.05rem; margin: 0 0 6px; }
.cookie p { font-size: .9rem; color: var(--muted); margin: 0 0 12px; }
.cookie .row { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie .row .btn { flex: 1 1 140px; padding: .7em 1em; font-size: .92rem; }
.cookie fieldset { border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; margin: 0 0 12px; display: grid; gap: 8px; }
.cookie fieldset[hidden] { display: none; }
.cookie legend { font-weight: 700; font-size: .85rem; padding: 0 4px; }
.cookie label { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.cookie label b { color: var(--text); }
.cookie input[type="checkbox"] { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); }

/* Páginas de texto (privacidade/cookies) */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 0 24px; }
.doc h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.doc h2 { font-size: 1.3rem; margin-top: 1.8em; }
.doc p, .doc li { color: var(--muted); }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.w-full { width: 100%; }
.mt-20 { margin-top: 20px; }
.mt-12 { margin-top: 12px; }

/* Ajustes finais de layout */
h1, h2 { text-wrap: balance; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } .hero h1 { font-size: 3.05rem; } }
@media (min-width: 900px) { .parent-points, .sec-grid, .grid-all { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .wa-float, .chat-fab { width: 50px; height: 50px; } .wa-float svg { width: 26px; height: 26px; } }
