/* ============================================================
   WaveOps — Landing styles
   Tokens driven by [data-theme] / [data-accent] / [data-font] / [data-density]
   ============================================================ */

/* ---------- Base tokens (dark default) ---------- */
:root {
  --bg: #08080b;
  --bg-soft: #0b0b10;
  --surface: #101016;
  --surface-2: #16161e;
  --surface-3: #1e1e28;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #f3f3f6;
  --muted: #9a9aa7;
  --dim: #696974;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px -28px rgba(0, 0, 0, 0.8);

  /* accent (default emerald) */
  --accent: #10b981;
  --accent-strong: #34d399;
  --accent-soft: #6ee7b7;
  --accent-ink: #03140d;
  --glow: 16, 185, 129;

  /* fonts (default pairing A) */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  --dscale: 1;
  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
}

/* ---------- Light theme ---------- */
[data-theme="light"] {
  --bg: #f6f6f8;
  --bg-soft: #eeeef1;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --surface-3: #f1f1f4;
  --border: rgba(12, 12, 20, 0.10);
  --border-2: rgba(12, 12, 20, 0.18);
  --text: #0e0e15;
  --muted: #54545f;
  --dim: #8b8b96;
  --shadow: 0 24px 60px -24px rgba(20, 20, 40, 0.22);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 16px 36px -26px rgba(20, 20, 40, 0.28);
}

/* ---------- Accents ---------- */
[data-accent="emerald"] { --accent:#10b981; --accent-strong:#34d399; --accent-soft:#6ee7b7; --accent-ink:#03140d; --glow:16,185,129; }
[data-accent="cyan"]    { --accent:#06b6d4; --accent-strong:#22d3ee; --accent-soft:#67e8f9; --accent-ink:#04161b; --glow:6,182,212; }
[data-accent="violet"]  { --accent:#8b5cf6; --accent-strong:#a78bfa; --accent-soft:#c4b5fd; --accent-ink:#120b22; --glow:139,92,246; }
[data-accent="amber"]   { --accent:#f59e0b; --accent-strong:#fbbf24; --accent-soft:#fcd34d; --accent-ink:#1c1203; --glow:245,158,11; }

/* A11y (SPEC-11): no tema claro o violeta claro falha no contraste AA para texto.
   Escurece o accent-strong (usado em textos de destaque) para passar AA (>= 4.5:1). */
[data-theme="light"][data-accent="violet"] { --accent-strong: #6d28d9; }

/* ---------- Fonts ---------- */
[data-font="a"] { --font-display:'Space Grotesk', system-ui, sans-serif; }
[data-font="b"] { --font-display:'Sora', system-ui, sans-serif; }

/* ---------- Density ---------- */
[data-density="compact"] { --dscale: 0.82; }
[data-density="regular"] { --dscale: 1; }
[data-density="comfy"]   { --dscale: 1.2; }

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; }
::selection { background: rgba(var(--glow), 0.35); color: var(--text); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
p { text-wrap: pretty; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: calc(96px * var(--dscale)); position: relative; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-strong); font-weight: 700;
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.section-head { max-width: 660px; margin-bottom: calc(54px * var(--dscale)); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin: 18px 0 0; }
.section-head p { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); margin-top: 16px; }

.lead { color: var(--muted); }
.accent-text { color: var(--accent-strong); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 15.5px;
  padding: 13px 22px; border-radius: 999px; letter-spacing: -0.01em;
  transition: transform .18s ease, background .2s ease, border-color .2s ease, box-shadow .25s ease, color .2s ease;
  white-space: nowrap; border: 1px solid transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px rgba(var(--glow), 0.6), 0 1px 0 rgba(255,255,255,.25) inset;
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(var(--glow), 0.75); }
.btn-ghost { background: var(--surface-2); border-color: var(--border-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 16.5px; }
.btn svg { width: 17px; height: 17px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px;
  border: 1px solid var(--border-2); border-radius: 999px; font-size: 13px;
  color: var(--muted); background: var(--surface);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-strong); box-shadow: 0 0 0 4px rgba(var(--glow), .18); }

/* ============================================================
   Background decoration
   ============================================================ */
.bg-deco { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-deco .grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 38px 38px; opacity: .5;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-deco .glow {
  position: absolute; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  top: -22vw; right: -12vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--glow), 0.22), transparent 62%);
  filter: blur(20px);
}
.bg-deco .glow.two { top: 38%; left: -20vw; right: auto; opacity: .55; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent-strong), var(--accent));
  box-shadow: 0 6px 18px -6px rgba(var(--glow), .7), 0 0 0 1px rgba(var(--glow), .3) inset;
}
.brand .mark svg { width: 19px; height: 19px; }
.brand b { font-weight: 700; }
.brand .ai { color: var(--accent-strong); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14.5px; color: var(--muted); padding: 9px 14px; border-radius: 9px;
  transition: color .18s ease, background .18s ease; font-weight: 500;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--accent-strong); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--border-2); background: var(--surface); color: var(--text);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent-strong); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .moon { display: none; }
[data-theme="light"] .icon-btn .sun { display: none; }
[data-theme="light"] .icon-btn .moon { display: block; }

.hamburger { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70; background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(12px); padding: 90px 24px 24px;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .38s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 24px; }
.mobile-close { position: absolute; top: 18px; right: 20px; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-top: calc(56px * var(--dscale)); padding-bottom: calc(70px * var(--dscale)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.hero-copy { max-width: 600px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); margin: 22px 0 0; letter-spacing: -0.03em; }
.hero h1 .hl { color: var(--accent-strong); }
.hero-sub { color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); margin-top: 22px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { margin-top: 20px; font-size: 13.5px; color: var(--dim); display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); }
.hero-trust b { color: var(--accent-strong); font-weight: 700; }

/* Product panel mock */
.panel {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 18px; position: relative;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }
.panel-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 14px; }
.panel-top .lights { display: flex; gap: 6px; }
.panel-top .lights span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.panel-title { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.panel-badge { font-family: var(--font-mono); font-size: 11px; color: var(--accent-ink); background: var(--accent-soft); padding: 3px 9px; border-radius: 999px; font-weight: 700; }

.flow-row { display: flex; align-items: stretch; gap: 10px; }
.flow-col { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px; min-width: 0; }
.flow-col h5 { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); font-weight: 700; margin-bottom: 9px; display: flex; justify-content: space-between; }
.flow-col h5 b { color: var(--accent-strong); }
.card-mini { background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; padding: 8px 9px; margin-bottom: 7px; }
.card-mini:last-child { margin-bottom: 0; }
.card-mini .nm { font-size: 12px; font-weight: 600; }
.card-mini .mt { font-size: 10.5px; color: var(--dim); font-family: var(--font-mono); margin-top: 2px; }
.card-mini.live { border-color: rgba(var(--glow), .45); box-shadow: 0 0 0 1px rgba(var(--glow), .2); }

.panel-foot { display: flex; align-items: center; gap: 10px; margin-top: 13px; padding: 11px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.spark { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(var(--glow), .14); color: var(--accent-strong); flex-shrink: 0; }
.spark svg { width: 16px; height: 16px; }
.panel-foot .txt { font-size: 12px; min-width: 0; }
.panel-foot .txt b { font-weight: 700; }
.panel-foot .txt span { color: var(--dim); }
.panel-foot .count { margin-left: auto; font-family: var(--font-mono); font-weight: 700; color: var(--accent-strong); font-size: 15px; }

.toast {
  position: absolute; right: -14px; top: 28px; background: var(--surface-3); border: 1px solid var(--border-2);
  border-radius: 12px; padding: 9px 13px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 9px;
  font-size: 12px; animation: toastIn .6s ease both; animation-delay: 1s;
}
.toast .ic { width: 22px; height: 22px; border-radius: 6px; background: rgba(var(--glow), .16); color: var(--accent-strong); display: grid; place-items: center; }
.toast .ic svg { width: 13px; height: 13px; }
@keyframes toastIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }

/* ---------- Node-flow canvas (hero visual) ---------- */
.flow-canvas {
  position: relative; width: 100%; aspect-ratio: 520 / 440;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
  animation: floaty 7s ease-in-out infinite;
}
.flow-canvas .dots-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .6;
}
.flow-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 42px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(6px);
}
.flow-bar .t { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.flow-bar .t b { color: var(--text); font-weight: 700; }
.flow-bar .live { font-family: var(--font-mono); font-size: 10.5px; color: var(--accent-strong); display: flex; align-items: center; gap: 7px; }
.flow-bar .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-strong); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--glow), .55); } 70% { box-shadow: 0 0 0 7px rgba(var(--glow), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--glow), 0); } }

.flow-wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.flow-wires path.wire { fill: none; stroke: var(--border-2); stroke-width: 2; }
.flow-wires path.flow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 5 7; opacity: .5; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.flow-wires circle.bead { fill: var(--accent-strong); filter: drop-shadow(0 0 5px rgba(var(--glow), .9)); }

.fnode {
  position: absolute; transform: translate(-50%, -50%); z-index: 2;
  background: var(--surface-3); border: 1px solid var(--border-2); border-radius: 12px;
  padding: 8px 11px; display: flex; align-items: center; gap: 9px; min-width: 120px;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .65);
}
.fnode .ic { width: 27px; height: 27px; border-radius: 7px; display: grid; place-items: center; background: var(--surface); color: var(--muted); flex-shrink: 0; }
.fnode .ic svg { width: 15px; height: 15px; }
.fnode .nm { font-size: 12px; font-weight: 600; line-height: 1.15; }
.fnode .sb { font-size: 10px; color: var(--dim); font-family: var(--font-mono); margin-top: 1px; }
.fnode.hub {
  min-width: 132px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 24%, var(--surface-3)), var(--surface-3));
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--glow), .14), 0 14px 34px -14px rgba(var(--glow), .55);
}
.fnode.hub .ic { background: var(--accent); color: var(--accent-ink); }
.fnode.hub .sb { color: var(--accent-strong); }

.flow-toast {
  position: absolute; left: 14px; bottom: 14px; z-index: 4;
  background: var(--surface-3); border: 1px solid var(--border-2); border-radius: 12px;
  padding: 9px 13px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 9px;
  font-size: 12px; animation: toastIn .6s ease both; animation-delay: 1.1s;
}
.flow-toast .ic { width: 23px; height: 23px; border-radius: 6px; background: rgba(var(--glow), .16); color: var(--accent-strong); display: grid; place-items: center; flex-shrink: 0; }
.flow-toast .ic svg { width: 13px; height: 13px; }
.flow-toast b { font-weight: 700; }
.flow-toast span.dim { color: var(--dim); }

@media (max-width: 520px) {
  .fnode { min-width: 92px; padding: 6px 8px; gap: 7px; }
  .fnode .ic { width: 22px; height: 22px; }
  .fnode .nm { font-size: 10.5px; }
  .fnode .sb { font-size: 8.5px; }
}

/* ---------- Logo strip ---------- */
.logos { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos .wrap { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding-block: 26px; }
.logos .lab { font-family: var(--font-mono); font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; flex-shrink: 0; }
.logos .items { display: flex; gap: 12px; flex-wrap: wrap; flex: 1; }
.logos .chip {
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--muted);
  padding: 7px 15px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  transition: color .2s ease, border-color .2s ease;
}
.logos .chip:hover { color: var(--accent-strong); border-color: var(--accent); }

/* ============================================================
   Problema (pains)
   ============================================================ */
.pains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.pain:hover { border-color: var(--border-2); transform: translateY(-3px); }
.pain .pic { width: 40px; height: 40px; border-radius: 11px; background: var(--surface-3); display: grid; place-items: center; color: var(--muted); margin-bottom: 16px; }
.pain .pic svg { width: 20px; height: 20px; }
.pain h3 { font-size: 18px; letter-spacing: -0.01em; }
.pain p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* ============================================================
   Pilares (what we do)
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pillar {
  position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px;
  overflow: hidden; transition: border-color .25s ease, transform .25s ease;
}
.pillar:hover { border-color: rgba(var(--glow), .4); transform: translateY(-4px); }
.pillar::after { content: ""; position: absolute; top: -40%; right: -20%; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--glow), .12), transparent 65%); opacity: 0; transition: opacity .3s ease; }
.pillar:hover::after { opacity: 1; }
.pillar .pnum { font-family: var(--font-mono); font-size: 12px; color: var(--dim); }
.pillar .picon { width: 50px; height: 50px; border-radius: 13px; background: rgba(var(--glow), .12); color: var(--accent-strong); display: grid; place-items: center; margin: 14px 0 18px; }
.pillar .picon svg { width: 25px; height: 25px; }
.pillar h3 { font-size: 23px; }
.pillar > p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.pillar .ex { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.pillar .ex span { font-size: 12.5px; color: var(--muted); background: var(--surface-3); border: 1px solid var(--border); padding: 5px 11px; border-radius: 999px; }
.pillar .note { margin-top: 16px; font-size: 13px; color: var(--accent-strong); font-family: var(--font-mono); display: flex; align-items: center; gap: 7px; }

/* ============================================================
   Como funciona (process)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step::before {
  content: ""; position: absolute; top: 11px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--border)); opacity: .5;
}
.step:last-child::before { background: var(--accent); opacity: .5; }
.step .num {
  position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent); color: var(--accent-strong);
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; font-weight: 700; z-index: 1;
}
.step h4 { font-size: 16px; margin-bottom: 7px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* ============================================================
   Pacotes (pricing)
   ============================================================ */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 999px; margin: 0 auto 38px; }
.tab { padding: 10px 22px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--muted); transition: color .2s ease, background .2s ease; }
.tab.active { background: var(--accent); color: var(--accent-ink); }

.pricing-panel { display: none; }
.pricing-panel.active { display: block; animation: fadeUp .4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; transition: border-color .25s ease, transform .25s ease;
}
.price-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.price-card .tag { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.price-card h3 { font-size: 21px; margin: 12px 0 0; }
.price-card .desc { color: var(--muted); font-size: 14px; margin-top: 8px; flex: 1; }
.price-card .price { margin-top: 18px; display: flex; align-items: baseline; gap: 7px; }
.price-card .price .from { font-family: var(--font-mono); font-size: 12px; color: var(--dim); }
.price-card .price .val { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.price-card .meta { font-size: 12.5px; color: var(--dim); margin-top: 8px; font-family: var(--font-mono); }

/* retainer */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease;
}
.plan:hover { transform: translateY(-4px); }
.plan.featured { border-color: var(--accent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface)); box-shadow: 0 30px 70px -40px rgba(var(--glow), .7); }
.plan .ribbon { position: absolute; top: 18px; right: 18px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); background: var(--accent); padding: 4px 10px; border-radius: 999px; }
.plan .pname { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--muted); }
.plan .pprice { display: flex; align-items: baseline; gap: 5px; margin: 14px 0 4px; }
.plan .pprice .v { font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; }
.plan .pprice .u { color: var(--dim); font-size: 14px; font-family: var(--font-mono); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; color: var(--accent-strong); flex-shrink: 0; margin-top: 2px; }
.pricing-note { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--dim); font-family: var(--font-mono); }

/* ============================================================
   Para quem é
   ============================================================ */
.audience { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.aud-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.aud-chips span {
  display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500;
  padding: 11px 17px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
  transition: border-color .2s ease, transform .2s ease;
}
.aud-chips span:hover { border-color: var(--accent); transform: translateY(-2px); }
.aud-chips span i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-strong); font-style: normal; }
.aud-check { display: flex; gap: 11px; align-items: flex-start; margin-top: 14px; color: var(--muted); font-size: 14.5px; }
.aud-check svg { width: 18px; height: 18px; color: var(--accent-strong); flex-shrink: 0; margin-top: 3px; }
.aud-groups { display: flex; flex-direction: column; gap: 22px; }
.aud-group-label { display: block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin-bottom: 10px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 18.5px; color: var(--text); transition: color .2s ease; }
.faq-q:hover { color: var(--accent-strong); }
.faq-q .ico { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-2); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s ease, border-color .2s ease, background .2s ease; }
.faq-q .ico svg { width: 14px; height: 14px; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { color: var(--muted); font-size: 15.5px; padding: 0 4px 24px; max-width: 660px; }

/* ============================================================
   CTA + form
   ============================================================ */
.cta { position: relative; }
.cta-box {
  position: relative; overflow: hidden; border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.cta-box::before { content: ""; position: absolute; width: 360px; height: 360px; top: -120px; left: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--glow), .18), transparent 65%); pointer-events: none; }
.cta-left { padding: 48px; position: relative; min-width: 0; }
.cta-left h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cta-left p { color: var(--muted); margin-top: 16px; font-size: 16.5px; max-width: 420px; }
.cta-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 13px; }
.cta-points li { display: flex; gap: 11px; align-items: center; font-size: 15px; }
.cta-points li svg { width: 19px; height: 19px; color: var(--accent-strong); flex-shrink: 0; }
.cta-wa { margin-top: 28px; }

.cta-form { padding: 40px 48px; background: var(--surface); border-left: 1px solid var(--border); min-width: 0; }
.form-row { margin-bottom: 16px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: 12.5px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--dim); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; background: var(--surface-2);
  border: 1px solid var(--border-2); color: var(--text); font-family: var(--font-body); font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--glow), .18); }
.field.invalid input, .field.invalid select { border-color: #ef4444; }
.field .err { color: #f87171; font-size: 12px; margin-top: 5px; display: none; font-family: var(--font-mono); }
.field.invalid .err { display: block; }
.form-foot { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.form-foot small { color: var(--dim); font-size: 12px; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; animation: fadeUp .4s ease both; }
.form-success .ok { width: 60px; height: 60px; border-radius: 50%; background: rgba(var(--glow), .16); color: var(--accent-strong); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .ok svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 23px; }
.form-success p { color: var(--muted); margin-top: 10px; }
.form-success p a { color: var(--accent-strong); font-weight: 600; }

/* Lead magnet (checklist) */
.lm-box {
  position: relative; overflow: hidden; border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0;
}
.lm-box::before { content: ""; position: absolute; width: 340px; height: 340px; top: -130px; right: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--glow), .16), transparent 65%); pointer-events: none; }
.lm-left { padding: 44px 48px; position: relative; min-width: 0; }
.lm-left h2 { font-size: clamp(24px, 2.8vw, 32px); }
.lm-left p { color: var(--muted); margin-top: 14px; font-size: 16px; max-width: 440px; }
.lm-form { padding: 40px 44px; background: var(--surface); border-left: 1px solid var(--border); min-width: 0; display: flex; flex-direction: column; justify-content: center; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding-block: 54px 36px; margin-top: 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 300px; }
.foot-col h5 { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color .2s ease; }
.foot-col a:hover { color: var(--accent-strong); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.foot-bottom small { color: var(--dim); font-size: 13px; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  html.anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  html.anim .reveal.is-visible { opacity: 1; transform: none; }
  html.anim .reveal.d1 { transition-delay: .07s; }
  html.anim .reveal.d2 { transition-delay: .14s; }
  html.anim .reveal.d3 { transition-delay: .21s; }
}

/* A11y (SPEC-11): respeita "reduzir movimento" desligando as animações decorativas infinitas. */
@media (prefers-reduced-motion: reduce) {
  .flow-canvas,
  .hero-visual,
  .flow-bar .live i,
  .flow-wires path.flow,
  .toast,
  .flow-toast { animation: none !important; }
  html.anim .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 460px; }
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .step::before { display: none; }
  .audience { grid-template-columns: 1fr; gap: 28px; }
  .cta-box, .lm-box { grid-template-columns: 1fr; }
  .cta-form { border-left: none; border-top: 1px solid var(--border); }
  .lm-form { border-left: none; border-top: 1px solid var(--border); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .hamburger { display: grid; }
  .nav-actions .btn-primary.desktop { display: none; }
  .pains-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta-left, .cta-form { padding: 30px 24px; }
  .lm-left, .lm-form { padding: 30px 24px; }
  .form-row.two { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .section { padding-block: calc(70px * var(--dscale)); }
}

/* ============================================================
   Prova social (SPEC-07) — estilos prontos; a seção #prova fica
   comentada no index.html até ter foto e um número real.
   ============================================================ */
.founder { display: flex; align-items: center; gap: 28px; max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.founder-photo { width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(150deg, var(--accent-soft), var(--accent)); display: grid; place-items: center; color: var(--accent-ink); font-family: var(--font-display); font-weight: 700; font-size: 30px; overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-info h3 { font-size: 20px; }
.founder-role { color: var(--accent-strong); font-family: var(--font-mono); font-size: 13px; margin-top: 4px; }
.founder-info p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.case-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.case-num { font-family: var(--font-display); font-weight: 700; font-size: 40px; color: var(--accent-strong); letter-spacing: -0.02em; }
.case-label { font-size: 14px; margin-top: 6px; font-weight: 600; }
.case-desc { color: var(--muted); font-size: 13px; margin-top: 8px; }
@media (max-width: 720px) {
  .founder { flex-direction: column; text-align: center; }
  .cases { grid-template-columns: 1fr; }
}
