/* Landing page: layout e tipografia inspirados em páginas de produto minimalistas
   (texto pequeno e leve, página larga, molduras 16:9 com "janela" animada, botões em pílula).
   Tema escuro. Tudo o que é imagem é CSS; as demonstrações animam-se em app.js. */
:root {
  --bg: #121210;
  --fg: #f3f1ea;
  --card: #191916;
  --card-2: #20201c;
  --border: #2b2b26;
  --muted: rgba(243, 241, 234, .6);
  --brand: #8fb0e0;
  --positive: #4cc597;
  --negative: #e56b86;
  --warn: #e9c46a;
  --radius: .5rem;
  --page: 1300px;
  --pad-y: 4.2rem;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/24px var(--sans); -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.page { width: min(var(--page), 100%); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .page { padding-inline: 24px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-weight: 400; margin: 0; }
h1 { font-size: 26px; line-height: 32.5px; letter-spacing: -.325px; }
h2 { font-size: 22px; line-height: 28.6px; letter-spacing: -.11px; }
h3 { font-size: 18px; line-height: 25.2px; }
p { margin: 0; }
.muted { color: var(--muted); }
.big { font-size: 22px; line-height: 28.6px; letter-spacing: -.11px; color: var(--muted); }
section { padding-block: var(--pad-y); }
.tight-top { padding-top: 0; }
.eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.link { color: var(--brand); text-decoration: none; font-size: 16px; display: inline-block; margin-top: 18px; }
.link:hover { text-decoration: underline; }

/* Cabeçalho */
header.top { position: sticky; top: 0; z-index: 30; background: var(--bg); height: 56px; }
header.top .page { height: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.brand { font: 500 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.brand i { width: 11px; height: 11px; border: 1.5px solid var(--fg); border-radius: 50%; display: block; border-right-color: transparent; transform: rotate(-30deg); }
nav.main { display: flex; gap: 22px; font-size: 14px; }
nav.main a { text-decoration: none; opacity: .85; }
nav.main a:hover { opacity: 1; }
.head-r { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
@media (max-width: 900px) { nav.main { display: none; } header.top .page { grid-template-columns: 1fr auto; } }

/* Botones pílula */
.pill { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 12px; border-radius: 999px; font: 400 14px/1 var(--sans); text-decoration: none; cursor: pointer; border: .67px solid var(--border); background: rgba(243, 241, 234, .04); color: var(--fg); white-space: nowrap; transition: background .15s; }
.pill:hover { background: rgba(243, 241, 234, .09); }
.pill.solid { background: var(--fg); color: var(--bg); border-color: transparent; }
.pill.solid:hover { background: #fff; }
.pill.lg { height: 40px; padding: 0 20px; font-size: 16px; }
.pill[disabled] { opacity: .4; cursor: not-allowed; }
.pill.block { display: flex; width: 100%; }
.lang select { appearance: none; height: 32px; padding: 0 12px; border-radius: 999px; border: .67px solid var(--border); background: rgba(243, 241, 234, .04); color: var(--fg); font: 400 14px/1 var(--sans); cursor: pointer; }
.lang option { background: var(--card); color: var(--fg); }
@media (max-width: 520px) { .brand { font-size: 11px; letter-spacing: .06em; } .head-r .pill { padding: 0 10px; font-size: 13px; } }

/* Hero */
.hero { padding-top: 64px; padding-bottom: 0; }
@media (min-width: 640px) { .hero { padding-top: 80px; } }
.hero h1 { max-width: 690px; }
.hero .cta { margin-top: 24px; }
.trust { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.trust span b { color: var(--fg); font-weight: 400; margin-left: 6px; }
.hero .media { margin-top: 48px; }

/* Moldura con fondo difuminado y ventana animada */
.media { position: relative; border-radius: 4px; overflow: hidden; padding: 6%; display: grid; place-items: center;
  background:
    radial-gradient(55% 70% at 12% 15%, var(--c1), transparent 70%),
    radial-gradient(45% 60% at 90% 30%, var(--c2), transparent 70%),
    radial-gradient(70% 50% at 50% 105%, var(--c3), transparent 72%),
    #1d1e1c; }
.media::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.tone-a { --c1: rgba(120, 150, 140, .55); --c2: rgba(70, 90, 120, .5); --c3: rgba(200, 120, 70, .35); }
.tone-b { --c1: rgba(90, 120, 160, .5); --c2: rgba(190, 130, 90, .4); --c3: rgba(70, 100, 90, .5); }
.tone-c { --c1: rgba(180, 120, 90, .45); --c2: rgba(100, 120, 110, .5); --c3: rgba(60, 80, 120, .5); }
.tone-d { --c1: rgba(150, 130, 170, .4); --c2: rgba(80, 120, 120, .5); --c3: rgba(190, 150, 90, .35); }

.app { position: relative; z-index: 1; width: 88%; aspect-ratio: 16 / 9; background: var(--card); border: .67px solid var(--border); border-radius: 4px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .35), 0 20px 50px rgba(0, 0, 0, .35); overflow: hidden;
  font-size: clamp(10.5px, 1.1vw, 14px); line-height: 1.45; }
@media (max-width: 640px) { .app { width: 100%; aspect-ratio: 4 / 6.4; font-size: 12px; } .media { padding: 5%; } }
.app-bar { display: flex; align-items: center; gap: 8px; padding: .75em 1em; border-bottom: .67px solid var(--border); font-size: .92em; color: var(--muted); }
.app-bar .dot { width: .8em; height: .8em; border-radius: 50%; background: #d98a6a; }
.app-bar .st { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-size: .85em; }
.app-bar .st::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--positive); }
.tag-fict { position: absolute; z-index: 3; right: .8em; bottom: .5em; font-size: .78em; color: var(--warn); opacity: .85; }

/* Cenas animadas (os "vídeos" curtos) */
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; pointer-events: none; padding: 1.2em 1.4em; display: flex; flex-direction: column; }
.scene.on { opacity: 1; }
.scene.with-bar { top: 2.9em; }
.scene.center { align-items: center; justify-content: center; text-align: center; }
[data-step] { opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
[data-step].on { opacity: 1; transform: none; }
.s-title { font-size: 2.1em; line-height: 1.15; letter-spacing: -.02em; }
.s-sub { color: var(--muted); font-size: 1.05em; margin-top: .4em; }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; margin-top: 1.6em; width: min(100%, 36em); text-align: left; }
.qcard { background: var(--card-2); border-radius: .6em; padding: .9em 1em; }
.qcard small { display: block; font-size: .72em; letter-spacing: .08em; color: #d98a6a; text-transform: uppercase; margin-bottom: .35em; }
.msgs { display: flex; flex-direction: column; gap: .8em; max-width: 44em; width: 100%; margin: 0 auto; }
.u { align-self: flex-end; background: var(--card-2); padding: .55em .9em; border-radius: .8em; max-width: 80%; }
.chip { display: inline-flex; align-items: center; gap: .6em; font: .82em/1.4 var(--mono); color: var(--muted); background: #141412; border: .67px solid var(--border); border-radius: .5em; padding: .35em .7em; align-self: flex-start; }
.chip b { color: var(--positive); font-weight: 400; }
.ai { color: var(--fg); }
.caret { display: inline-block; width: .5em; height: 1em; background: var(--fg); vertical-align: -.15em; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chart { background: #141412; border: .67px solid var(--border); border-radius: .6em; padding: .8em 1em; }
.chart-h { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); font-size: .85em; margin-bottom: .5em; }
.chart-h strong { color: var(--fg); font-size: 1.5em; font-weight: 400; line-height: 1; }
.row { margin-top: .5em; font-size: .9em; }
.row div { display: flex; justify-content: space-between; }
.row i { display: block; height: 3px; border-radius: 2px; margin-top: 3px; width: 0; transition: width 1s ease; }
.chart.on .row i { width: var(--w); }
.r1 i { background: #e08a62; } .r2 i { background: #6d8fd6; } .r3 i { background: #9aa066; } .r4 i { background: #b184a8; }

.term { font: .95em/1.8 var(--mono); color: var(--muted); }
.term .p { color: var(--positive); } .term .t { color: var(--fg); }
.rules { font: .9em/1.7 var(--mono); color: var(--muted); }
.rules .t { color: var(--fg); }
.txrow { display: grid; grid-template-columns: 1fr auto auto; gap: 1em; align-items: center; padding: .5em 0; border-bottom: .67px solid var(--border); font-size: .95em; }
.txrow .amt { font-variant-numeric: tabular-nums; color: var(--muted); }
.pillchip { font-size: .8em; padding: .15em .7em; border-radius: 99px; border: .67px solid var(--border); white-space: nowrap; }
.pillchip.before { color: var(--warn); border-color: rgba(233, 196, 106, .4); }
.pillchip.after { display: none; color: var(--positive); border-color: rgba(76, 197, 151, .45); }
.txrow:has(.after.on) .before { display: none; }
.txrow:has(.after.on) .after { display: inline-block; }
.after[data-step] { opacity: 0; }
.after[data-step].on { opacity: 1; }

/* Estatísticas */
.stats { padding-block: var(--pad-y); }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: 36px; line-height: 1.1; font-weight: 400; letter-spacing: -.02em; }
.stat span { font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .stats .grid { grid-template-columns: repeat(2, 1fr); } .stat b { font-size: 28px; } }

/* Cartões e blocos de funcionalidade */
.card { background: var(--card); border-radius: 4px; padding: 26px; }
.grid3 { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.grid2 { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card .num { color: var(--muted); font-size: 14px; margin-bottom: 20px; display: block; }
.card h3 + p { margin-top: 8px; color: var(--muted); }
.sec-title { max-width: 560px; margin-bottom: 28px; }
.sec-title p { margin-top: 8px; }

.feat { display: grid; gap: 0; background: var(--card); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.feat .txt { padding: 26px; }
.feat .txt h2 { margin-bottom: 8px; }
.feat .media { border-radius: 0; }
@media (min-width: 1024px) { .feat.split { grid-template-columns: 342px 1fr; } .feat.split .txt { padding: 40px 30px; display: flex; flex-direction: column; justify-content: center; } }

/* Citações (prompts) */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--card); border-radius: 4px; padding: 18px 22px; color: var(--muted); font-size: 16px; }

.list { list-style: none; padding: 0; margin: 14px 0 0; }
.list li { padding-left: 22px; position: relative; margin-bottom: 8px; color: var(--muted); }
.list li::before { content: "✓"; position: absolute; left: 0; color: var(--positive); }
.list.no li::before { content: "✕"; color: var(--negative); }

/* Preço */
.price-card { max-width: 560px; margin-inline: auto; padding: 32px; }
.price { font-size: 44px; line-height: 1.1; letter-spacing: -.03em; margin: 14px 0 4px; }
.price small { font-size: 14px; color: var(--muted); letter-spacing: 0; }
.price-card .list { margin-bottom: 26px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 14px auto 0; max-width: 560px; padding: 16px 18px; background: var(--card); border-radius: 4px; font-size: 14px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--fg); flex: none; }
.consent strong { color: var(--fg); font-weight: 500; }
#checkout-msg { min-height: 1.4em; margin: 10px auto 0; max-width: 560px; font-size: 14px; color: var(--warn); }
.notice { max-width: 560px; margin: 20px auto 0; padding: 20px 22px; border: .67px solid rgba(233, 196, 106, .3); border-radius: 4px; }
.notice h3 { color: var(--warn); font-size: 16px; margin-bottom: 8px; }
.notice ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.notice li { margin-bottom: 5px; }

/* Tabela */
.table-wrap { overflow-x: auto; background: var(--card); border-radius: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 18px; border-bottom: .67px solid var(--border); }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 400; font-size: 12px; }
.st-b { font-size: 12px; padding: 2px 10px; border-radius: 99px; border: .67px solid var(--border); }
.st-b.ok { color: var(--positive); border-color: rgba(76, 197, 151, .4); }
.st-b.no { color: var(--muted); }

/* FAQ */
.faq { max-width: 760px; }
details { border-bottom: .67px solid var(--border); padding: 18px 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin-top: 10px; color: var(--muted); }

.final { text-align: center; }
.final h2 { font-size: 26px; line-height: 32.5px; letter-spacing: -.325px; }
.final .pill { margin-top: 22px; }
footer { padding: 40px 0 56px; color: var(--muted); font-size: 13px; }
footer .pending { color: var(--warn); margin-top: 8px; }
footer .page > p { max-width: 760px; }

.scene.chat { padding: 0; }
.scene.chat .msgs { padding: 1.2em 1.4em; }
.scene.chat .msgs { flex: 1; justify-content: center; }
@media (min-width: 641px) and (max-width: 900px) { .app { aspect-ratio: 4 / 3; } }

/* Hero centrado: título a negrito, subtítulo, botão e linhas de confiança */
.hero { text-align: center; }
.hero h1 { font-weight: 700; max-width: 760px; margin-inline: auto; }
.hero .lead { max-width: 620px; margin: 14px auto 0; color: var(--muted); font-size: 18px; line-height: 26px; }
.hero .trust { align-items: center; gap: 10px; font-size: 14px; }
.trow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px; }
.trow .lbl { color: var(--muted); font-size: 13px; }
.trow .it { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); font-weight: 500; }
.trow .g { width: 14px; height: 14px; border-radius: 50%; background: var(--card-2); border: .67px solid #46463f; display: inline-block; }
.trow .note { color: var(--muted); font-size: 12px; }

/* Hero v3: título maior, subtítulo menor, linha única minimalista */
.hero h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.03em; max-width: 900px; }
.hero .lead { font-size: 15px; line-height: 22px; max-width: 560px; margin-top: 16px; }
.hero .trust { margin-top: 36px; flex-direction: row; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; text-align: left; }
.trust .lbl { color: var(--muted); font-size: 13px; }
.trust .lbl b { color: var(--fg); font-weight: 500; margin-left: 4px; }
.trust .ai-list { display: inline-flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; }
.trust .it { display: inline-flex; align-items: center; gap: 7px; color: var(--fg); font-weight: 500; font-size: 13px; }
.trust .it img { display: block; width: 16px; height: 16px; }
.hero .media { margin-top: 20px; }
@media (max-width: 520px) { .hero .trust { justify-content: center; text-align: center; } }
