/* ==========================================================================
   AD Oficial · Landing page
   Tokens derivados de DESIGN.md
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --color-paper: #fafaf7;
  --color-paper-2: #f2f1ec;
  --color-paper-3: #e8e6dd;
  --color-line: #e2e0d8;
  --color-ink: #14140f;
  --color-ink-2: #4a4a42;
  --color-ink-3: #6c6b62;
  --color-indigo-deep: #1c1160;
  --color-indigo: #27187e;
  --color-indigo-soft: #3d2ca0;
  --color-lavender: #a89bff;
  --color-lavender-soft: #edeaf7;
  --color-sage: #5b6c5d;
  --color-amber: #ec9a29;
  --color-claret: #6c0e23;
  --color-surface: #ffffff;
  --color-on-primary: #fafaf7;

  --color-background: var(--color-paper);
  --color-muted: var(--color-paper-2);
  --color-border: var(--color-line);
  --color-primary: var(--color-indigo);
  --color-accent: var(--color-lavender);

  --ink-a08: rgba(20, 20, 15, .08);
  --ink-a18: rgba(20, 20, 15, .18);
  --ink-a22: rgba(20, 20, 15, .22);
  --lav-a06: rgba(168, 155, 255, .06);
  --lav-a40: rgba(168, 155, 255, .4);

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 0 var(--color-line), 0 18px 32px -22px var(--ink-a18);
  --shadow-card-lg: 0 1px 0 var(--color-line), 0 24px 48px -32px var(--ink-a18);
  --shadow-frame: 0 1px 0 var(--color-line), 0 32px 64px -32px var(--ink-a22), 0 8px 24px -12px var(--ink-a08);
  --shadow-focus: 0 0 0 4px var(--color-lavender-soft);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-rise: cubic-bezier(.16, .9, .2, 1);
  --dur: .15s;

  --wrap: 1240px;
  --gutter: 48px;
  --sec-pad: 110px;
  --nav-h: 72px;
}

/* Dark theme: segue o sistema, salvo quando o usuário fixa data-theme */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --color-paper: #121210;
    --color-paper-2: #191916;
    --color-paper-3: #22221e;
    --color-line: #2b2b26;
    --color-ink: #f3f2ec;
    --color-ink-2: #c3c2b8;
    --color-ink-3: #8d8c82;
    --color-indigo-deep: #c9c0ff;
    --color-indigo: #b7acff;
    --color-indigo-soft: #a89bff;
    --color-lavender: #8f7fff;
    --color-lavender-soft: #2a2350;
    --color-surface: #1c1c19;
    --color-on-primary: #14140f;
    --ink-a08: rgba(0, 0, 0, .3);
    --ink-a18: rgba(0, 0, 0, .5);
    --ink-a22: rgba(0, 0, 0, .6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --color-paper: #121210;
  --color-paper-2: #191916;
  --color-paper-3: #22221e;
  --color-line: #2b2b26;
  --color-ink: #f3f2ec;
  --color-ink-2: #c3c2b8;
  --color-ink-3: #8d8c82;
  --color-indigo-deep: #c9c0ff;
  --color-indigo: #b7acff;
  --color-indigo-soft: #a89bff;
  --color-lavender: #8f7fff;
  --color-lavender-soft: #2a2350;
  --color-surface: #1c1c19;
  --color-on-primary: #14140f;
  --ink-a08: rgba(0, 0, 0, .3);
  --ink-a18: rgba(0, 0, 0, .5);
  --ink-a22: rgba(0, 0, 0, .6);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-sm); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 100;
  background: var(--color-ink); color: var(--color-paper);
  padding: 10px 14px; border-radius: var(--radius-md); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  font-family: var(--font-display); font-weight: 800; font-size: 11px;
  text-transform: uppercase; letter-spacing: .2em; line-height: 1;
  color: var(--color-indigo-soft);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.no-rule::before { display: none; }
.eyebrow-muted { color: var(--color-ink-3); }
.eyebrow-light { color: var(--color-lavender); }

.sec-h2 {
  font-weight: 800; font-size: clamp(34px, 4.2vw, 58px); line-height: 1;
  letter-spacing: -.035em; color: var(--color-ink); text-wrap: balance; max-width: 16ch;
}
.pivot {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.1; letter-spacing: -.03em; color: var(--color-indigo);
  text-align: center; margin: 64px auto 0; max-width: 22ch; text-wrap: balance;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: .14em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn-primary { background: var(--color-indigo); color: var(--color-on-primary); padding: 14px 22px; border-radius: var(--radius-pill); }
.btn-primary:hover { background: var(--color-indigo-deep); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { color: var(--color-ink); padding: 14px 4px; border-bottom: 1px solid transparent; }
.btn-ghost:hover { border-bottom-color: var(--color-lavender); }
.btn-outline { color: var(--color-ink); padding: 13px 22px; border: 1px solid var(--color-ink); border-radius: var(--radius-pill); }
.btn-outline:hover { background: var(--color-ink); color: var(--color-paper); }
.btn-light { background: var(--color-lavender); color: #14140f; }
.btn-light:hover { background: #fafaf7; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--radius-pill); color: var(--color-ink-2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--lav-a06); color: var(--color-ink); }

/* ---------- Pills / avatars ---------- */
.pill {
  display: inline-block; padding: 3px 8px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: .12em; line-height: 1.3; white-space: nowrap;
}
.pill.sage { background: rgba(91, 108, 93, .14); color: var(--color-sage); }
.pill.amber { background: rgba(236, 154, 41, .16); color: #9a5f0f; }
.pill.indigo { background: var(--color-lavender-soft); color: var(--color-indigo-soft); }
.pill.lavender { background: var(--color-lavender-soft); color: var(--color-indigo-soft); }
.pill.paper { background: var(--color-paper-3); color: var(--color-ink-3); }
.avatar {
  display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none;
  border-radius: 50%; background: var(--color-lavender-soft); color: var(--color-indigo-soft);
  font-family: var(--font-display); font-weight: 800; font-size: 10px; letter-spacing: .05em;
}
.avatar-lg { width: 48px; height: 48px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-paper) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--color-line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-lavender) 100%);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 7px; border-radius: 3px;
  background: var(--color-paper); clip-path: polygon(40% 0, 60% 0, 60% 35%, 100% 35%, 100% 55%, 60% 55%, 60% 100%, 40% 100%, 40% 55%, 0 55%, 0 35%, 40% 35%);
}
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.brand-name span { color: var(--color-indigo-soft); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 13px; text-decoration: none;
  color: var(--color-ink-2); border-bottom: 1px solid transparent; padding: 4px 0;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--color-ink); border-bottom-color: var(--color-lavender); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; flex-direction: column; gap: 4px; }
.nav-burger span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Tema: mostra o ícone oposto ao tema ativo */
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-moon { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(92svh - var(--nav-h)); display: flex; align-items: center;
  padding: 96px 0 90px;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.glow { position: absolute; border-radius: 50%; display: block; }
.glow-1 { top: -320px; right: -300px; width: 1100px; height: 1100px; background: radial-gradient(closest-side, rgba(168,155,255,.42), rgba(168,155,255,.3) 30%, rgba(168,155,255,.13) 62%, transparent); animation: drift-a 26s ease-in-out infinite; }
.glow-2 { bottom: -300px; left: -100px; width: 820px; height: 820px; background: radial-gradient(closest-side, rgba(61,44,160,.17), rgba(61,44,160,.09) 45%, transparent); animation: drift-b 32s ease-in-out infinite; animation-delay: -11s; }
.glow-3 { top: 14%; left: -280px; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(168,155,255,.2), rgba(168,155,255,.08), transparent); animation: drift-c 24s ease-in-out infinite; animation-delay: -14s; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 32px; }
.hero-title {
  font-weight: 800; font-size: clamp(38px, 5.6vw, 76px); line-height: .98;
  letter-spacing: -.04em; margin: 0 0 28px; text-wrap: balance; max-width: 12.5em;
}
.hero-title em { font-style: normal; color: var(--color-indigo); }
.hero-title .word { display: inline-block; }
.hero-sub { font-size: 1.125rem; color: var(--color-ink-2); max-width: 46ch; margin-bottom: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; }
.hero-proof li { position: relative; padding-left: 16px; font-size: 13px; color: var(--color-ink-3); }
.hero-proof li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--color-sage); }

/* Palavra que alterna */
.morph { display: inline-grid; grid-template-areas: "m"; text-align: left; }
.morph > * { grid-area: m; }
.morph-sizer { visibility: hidden; }
.morph-value { display: inline-block; }
.morph-value.is-out { animation: morph-out .28s var(--ease) forwards; }
.morph-value.is-in { animation: morph-in .5s var(--ease-rise) forwards; }

/* Entrada escalonada */
.word, .hero-sub, .hero-cta, .hero-proof, .hero-visual {
  opacity: 0; transform: translateY(.5em);
  animation: fade .35s ease-out forwards, rise .9s var(--ease-rise) forwards;
}
.word:nth-child(1) { animation-delay: .03s } .word:nth-child(2) { animation-delay: .06s }
.word:nth-child(3) { animation-delay: .09s } .word:nth-child(4) { animation-delay: .12s }
.word:nth-child(5) { animation-delay: .15s } .word:nth-child(6) { animation-delay: .18s }
.word:nth-child(7) { animation-delay: .21s } .word:nth-child(8) { animation-delay: .24s }
.word:nth-child(9) { animation-delay: .27s }
.hero-sub { animation-delay: .42s } .hero-cta { animation-delay: .52s }
.hero-proof { animation-delay: .62s } .hero-visual { animation-delay: .5s }

/* Mockups do hero */
.hero-visual { position: relative; min-height: 460px; }
.frame {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-frame);
}
.frame-desktop { position: absolute; left: 0; right: 40px; top: 0; }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--color-paper-2); border-bottom: 1px solid var(--color-line); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-r { background: #e5584f } .dot-y { background: #e8b63e } .dot-g { background: #5ac25a }
.frame-url { margin-left: 10px; flex: 1; font-family: var(--font-mono); font-size: 10px; color: var(--color-ink-3); background: var(--color-paper); border-radius: var(--radius-sm); padding: 4px 8px; }
.frame-body { padding: 16px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: var(--color-paper); border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 10px 12px; display: grid; gap: 2px; }
.kpi-label { font-size: 10px; color: var(--color-ink-3); text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-display); font-weight: 700; }
.kpi strong { font-family: var(--font-display); font-size: 20px; letter-spacing: -.03em; }
.kpi small { font-size: 10px; color: var(--color-ink-3); }
.kpi .up { color: var(--color-sage); }
.kpi .warn { color: var(--color-amber); }
.chart { height: 90px; border: 1px solid var(--color-line); border-radius: var(--radius-md); overflow: hidden; background: var(--color-paper); }
.chart svg { width: 100%; height: 100%; }
.rows li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--color-line); font-size: 12px; }
.rows li span:nth-child(2) { flex: 1; }

.frame-phone {
  position: absolute; right: 0; bottom: -20px; width: 190px; border-radius: 28px;
  border: 6px solid var(--color-ink); background: var(--color-paper); box-shadow: var(--shadow-frame);
}
.phone-notch { width: 70px; height: 18px; margin: 6px auto 0; border-radius: 10px; background: var(--color-ink); }
.phone-body { padding: 14px 12px 18px; display: grid; gap: 10px; }
.phone-greet { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -.02em; }
.phone-card { display: grid; gap: 2px; padding: 10px; border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); font-size: 11px; color: var(--color-ink-3); }
.phone-card strong { font-family: var(--font-display); font-size: 13px; color: var(--color-ink); }
.phone-card .eyebrow { font-size: 9px; }
.phone-btn { background: var(--color-indigo); color: var(--color-on-primary); border-radius: var(--radius-pill); padding: 10px; font-family: var(--font-display); font-weight: 700; font-size: 11px; cursor: default; }

/* ---------- Seções ---------- */
.sec { padding: var(--sec-pad) 0; border-top: 1px solid var(--color-line); }
.sec-muted { background: var(--color-paper-2); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px 32px;
  border-top: 1px solid var(--color-ink); padding-top: 18px; margin-bottom: 48px;
}
.section-num {
  flex-basis: 100%; font-family: var(--font-display); font-weight: 800; font-size: 11px;
  text-transform: uppercase; letter-spacing: .2em; color: var(--color-indigo-soft);
}
.section-sub { margin-left: auto; max-width: 320px; font-size: .875rem; line-height: 1.5; color: var(--color-ink-2); text-align: right; }

/* Problema */
.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-card); }
.card-tag { display: block; margin-bottom: 14px; font-family: var(--font-display); font-weight: 800; font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: var(--color-indigo-soft); }
.evidence { display: flex; flex-direction: column; gap: 10px; }
.evidence-note { margin-top: auto; padding-top: 14px; font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--color-ink-3); }
.bubble { align-self: flex-start; max-width: 85%; background: var(--color-paper-2); border-radius: 12px 12px 12px 3px; padding: 8px 12px; font-size: 13px; }
.bubble-out { align-self: flex-end; background: #dcf3d1; color: #14140f; border-radius: 12px 12px 3px 12px; }
.bubble time { display: block; font-size: 10px; color: var(--color-ink-3); text-align: right; margin-top: 2px; }
.sheet { width: 100%; border-collapse: collapse; font-size: 12px; font-family: var(--font-mono); }
.sheet th, .sheet td { border: 1px solid var(--color-line); padding: 6px 8px; text-align: left; }
.sheet th { background: var(--color-paper-2); font-weight: 500; color: var(--color-ink-3); }
.sheet-empty { color: var(--color-claret); }
.sheet-ghost td { color: var(--color-amber); background: rgba(236, 154, 41, .08); }
.notebook { font-family: var(--font-serif); font-size: 16px; line-height: 2; border-left: 2px solid var(--color-claret); padding-left: 14px; background: repeating-linear-gradient(transparent 0 31px, var(--color-line) 31px 32px); }
.notebook .strike { text-decoration: line-through; color: var(--color-ink-3); }

/* Como funciona */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--color-line); border-radius: var(--radius-xl); overflow: hidden; background: var(--color-surface); }
.step { padding: 40px 32px 44px; border-right: 1px solid var(--color-line); display: grid; gap: 12px; align-content: start; }
.step:last-child { border-right: 0; }
.step-num {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: var(--color-indigo); color: var(--color-on-primary); font-family: var(--font-display); font-weight: 800; font-size: 15px;
}
.step h3 { font-size: 1.375rem; letter-spacing: -.025em; }
.step p { color: var(--color-ink-2); font-size: .9375rem; }

/* Jornada */
.journey { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); box-shadow: var(--shadow-card-lg); padding: 28px; }
.journey-head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--color-line); margin-bottom: 28px; }
.journey-name { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.125rem; letter-spacing: -.02em; }
.journey-meta { display: block; font-size: 13px; color: var(--color-ink-3); }
.journey-status { margin-left: auto; }
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--color-line); }
.timeline li { position: relative; padding-top: 24px; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--color-paper); border: 2px solid var(--color-indigo-soft); }
.timeline li:first-child::before, .timeline li:last-child::before { background: var(--color-indigo-soft); }
.timeline time { font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; color: var(--color-ink-3); }
.timeline strong { font-family: var(--font-display); font-size: 15px; letter-spacing: -.02em; }
.timeline span { font-size: 12px; color: var(--color-ink-3); }

/* Recursos */
.features { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--color-line); border-left: 1px solid var(--color-line); }
.feature { padding: 32px 28px 36px; border-right: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); display: grid; gap: 10px; align-content: start; transition: background var(--dur) var(--ease); }
.feature:hover { background: var(--lav-a06); }
.feature-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; color: var(--color-ink-3); }
.feature h3 { font-size: 1.125rem; letter-spacing: -.02em; }
.feature p { color: var(--color-ink-2); font-size: .875rem; line-height: 1.55; }

/* Para quem */
.personas { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--color-line); background: var(--color-surface); border-radius: var(--radius-xl); overflow: visible; }
.persona { padding: 40px 28px 48px; border-right: 1px solid var(--color-line); display: grid; gap: 12px; align-content: start; }
.persona:last-child { border-right: 0; }
.persona-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-ink-3); }
.persona h3 { font-size: 1.25rem; letter-spacing: -.025em; line-height: 1.2; }
.persona p { color: var(--color-ink-2); font-size: .9375rem; }
.persona-featured { background: var(--color-paper); transform: translateY(-28px); padding-top: 56px; padding-bottom: 72px; margin-bottom: -28px; border-left: 1px solid var(--color-line); border-radius: var(--radius-xl); box-shadow: var(--shadow-card-lg); }
.persona-featured h3 { color: var(--color-indigo); }

/* Depoimentos */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; padding: 28px; border: 1px solid var(--color-line); border-radius: var(--radius-md); background: var(--color-surface); display: grid; gap: 20px; align-content: space-between; }
.quote p { font-family: var(--font-serif); font-size: 1.125rem; line-height: 1.5; text-wrap: pretty; }
.quote footer { display: flex; align-items: center; gap: 10px; }
.quote cite { font-style: normal; font-size: 13px; color: var(--color-ink-3); }

/* Planos */
.billing { display: inline-flex; gap: 4px; padding: 4px; background: var(--color-paper-3); border-radius: var(--radius-pill); margin-bottom: 32px; }
.billing-opt { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--color-ink-2); transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.billing-opt.is-active { background: var(--color-surface); color: var(--color-ink); box-shadow: 0 1px 2px var(--ink-a08); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: grid; gap: 16px; align-content: start; padding: 32px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); }
.plan h3 { font-size: 1.25rem; letter-spacing: -.025em; }
.plan-desc { color: var(--color-ink-2); font-size: .9375rem; min-height: 3em; }
.plan-price { display: flex; align-items: baseline; gap: 4px; font-family: var(--font-display); }
.plan-currency { font-size: 1rem; color: var(--color-ink-3); }
.plan-amount { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-amount-text { font-size: 1.75rem; }
.plan-period { color: var(--color-ink-3); font-size: .875rem; }
.plan-list { display: grid; gap: 10px; padding: 16px 0 8px; border-top: 1px solid var(--color-line); font-size: .9375rem; }
.plan-list li { position: relative; padding-left: 22px; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-sage); font-weight: 700; }
.plan .btn { justify-content: center; margin-top: auto; }
.plan-featured { border-color: var(--color-indigo-soft); box-shadow: 0 0 0 1px var(--color-indigo-soft), var(--shadow-card-lg); }
.plan-badge { position: absolute; top: -12px; left: 32px; padding: 4px 10px; background: var(--color-indigo); color: var(--color-on-primary); border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 800; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.plan-amount.is-swapping { animation: price-swap .35s var(--ease); }

/* Manifesto */
.manifesto { margin-top: 32px; display: grid; gap: 24px; font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.65; color: var(--color-ink-2); }
.dropcap::first-letter { float: left; font-family: var(--font-display); font-weight: 800; font-size: 5.2em; line-height: .86; padding: 6px 14px 0 0; margin-top: 4px; color: var(--color-indigo); }

/* FAQ */
.faq { border-top: 1px solid var(--color-line); }
.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--color-line); color: var(--color-ink-3); font-weight: 500; transition: transform .2s var(--ease), background var(--dur), color var(--dur); }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--color-indigo); color: var(--color-on-primary); border-color: var(--color-indigo); }
.faq-item p { padding: 0 0 24px; max-width: 64ch; color: var(--color-ink-2); }

/* CTA final */
.cta-final { position: relative; overflow: hidden; background: #14140f; color: #fafaf7; padding: 140px 0 130px; }
.cta-final::before { content: ""; position: absolute; top: -300px; right: -200px; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(168,155,255,.28), transparent); pointer-events: none; }
.cta-inner { position: relative; display: grid; gap: 24px; justify-items: start; max-width: 760px; }
.cta-final .sec-h2 { color: #fafaf7; }
.cta-sub { color: rgba(250, 250, 247, .72); font-size: 1.125rem; max-width: 46ch; }
.cta-form { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; max-width: 520px; margin-top: 8px; }
.cta-form input {
  flex: 1 1 240px; min-width: 0; padding: 14px 18px; border-radius: var(--radius-pill);
  border: 1px solid rgba(250,250,247,.2); background: rgba(250,250,247,.06); color: #fafaf7; font: inherit;
}
.cta-form input::placeholder { color: rgba(250,250,247,.4); }
.cta-form input:focus-visible { box-shadow: 0 0 0 4px rgba(168,155,255,.35); border-color: var(--color-lavender); }
.cta-form input[aria-invalid="true"] { border-color: #ff8a8a; }
.form-msg { flex-basis: 100%; font-size: 13px; color: rgba(250,250,247,.7); min-height: 1.4em; }
.form-msg.is-error { color: #ffb4b4; }
.form-msg.is-ok { color: #b9e5b0; }
.cta-alt { font-size: 14px; color: rgba(250,250,247,.6); }
.cta-alt a { color: var(--color-lavender); text-decoration: none; border-bottom: 1px solid var(--lav-a40); padding-bottom: 3px; font-family: var(--font-display); font-weight: 600; transition: color var(--dur), border-color var(--dur); }
.cta-alt a:hover { color: #fafaf7; border-color: #fafaf7; }

/* Footer */
.footer { border-top: 1px solid var(--color-line); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 32ch; color: var(--color-ink-3); font-size: 14px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--color-ink-3); font-weight: 800; margin-bottom: 6px; }
.footer-col a { text-decoration: none; font-size: 14px; color: var(--color-ink-2); }
.footer-col a:hover { color: var(--color-ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--color-line); font-size: 12px; color: var(--color-ink-3); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .8s var(--ease-rise); }
.reveal.is-visible { opacity: 1; transform: none; }
html.no-js .reveal, html.no-io .reveal { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes fade { to { opacity: 1 } }
@keyframes rise { to { transform: none } }
@keyframes drift-a { 50% { transform: translate(-60px, 40px) } }
@keyframes drift-b { 50% { transform: translate(50px, -30px) } }
@keyframes drift-c { 50% { transform: translate(40px, 60px) } }
@keyframes morph-out { to { opacity: 0; transform: translateY(-.35em); filter: blur(4px) } }
@keyframes morph-in { from { opacity: 0; transform: translateY(.35em); filter: blur(4px) } to { opacity: 1; transform: none; filter: none } }
@keyframes price-swap { 0% { opacity: .2; transform: translateY(6px) } 100% { opacity: 1; transform: none } }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .personas { grid-template-columns: repeat(2, 1fr); }
  .persona { border-bottom: 1px solid var(--color-line); }
  .persona:nth-child(2n) { border-right: 0; }
  .persona-featured { transform: none; padding-top: 40px; padding-bottom: 48px; margin-bottom: 0; border-radius: 0; box-shadow: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 28px 12px; }
  .timeline::before { display: none; }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: auto; padding: 64px 0 80px; }
  .hero-visual { min-height: 0; display: grid; gap: 20px; }
  .frame-desktop, .frame-phone { position: static; width: auto; }
  .frame-phone { display: none; }
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0; padding: 8px 24px 24px; background: var(--color-paper); border-bottom: 1px solid var(--color-line); box-shadow: var(--shadow-card-lg); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--color-line); font-size: 15px; }
  .nav.menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-burger { display: inline-flex; }
  .nav-actions .btn-ghost { display: none; }
  .evidence-grid, .steps, .quotes, .plans { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--color-line); }
  .step:last-child { border-bottom: 0; }
  .section-sub { margin-left: 0; text-align: left; max-width: 48ch; }
  .plan-featured { order: -1; }
}
@media (max-width: 720px) {
  :root { --gutter: 24px; --sec-pad: 80px; }
  .nav-actions .btn-primary { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .features, .personas { grid-template-columns: 1fr; }
  .feature, .persona { border-right: 0; }
  .persona:last-child { border-bottom: 0; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .cta-final { padding: 96px 0 88px; }
  .cta-form .btn { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .word, .hero-sub, .hero-cta, .hero-proof, .hero-visual, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .glow { animation: none; }
  .morph-value.is-out, .morph-value.is-in { animation: none; }
  .plan-amount.is-swapping { animation: none; }
}
