/* =============================================================================
   MyCross — página de vendas
   =============================================================================

   Dark-only por decisão: é uma peça de direção de arte com uma leitura única. O
   painel é que precisa servir claro e escuro, porque quem trabalha nele passa o
   dia ali. O que as duas compartilham é o rigor, não os valores.

   HIERARQUIA DE COR — deliberadamente não é "tudo teal":
     --accent .......... CTA primário e o que precisa ser clicado
     --accent-text ..... acento como texto (links, números, eyebrow)
     --text/2/3 ........ três níveis de leitura
     --card/2/3 ........ três profundidades de superfície
     --line/strong ..... borda decorativa e borda de controle
     --ok / --warn ..... estado, e só estado: nunca decoração
   O teal é reservado para AÇÃO e ESTADO POSITIVO. Cartões, bordas e a maior
   parte do texto são neutros — é o contraste com o neutro que faz o acento
   funcionar.

   Contraste medido, não estimado: 25 pares texto/superfície passam a WCAG 2.2
   AA (test em tests/e2e/landing-page.test.ts). --line fica em 1.23:1 de
   propósito — é separador decorativo, explicitamente isento da SC 1.4.11; o que
   delimita controle é --line-strong.

   Zero recurso de terceiro: ícones são SVG embutido, fundo é CSS/SVG, tipografia
   é a do sistema. Nenhuma fonte, script ou imagem sai deste servidor.
   ============================================================================= */

:root {
  color-scheme: dark;

  /* fundo em três profundidades */
  --bg: #021c20;
  --bg-2: #03262a;
  --bg-3: #05343a;

  /* superfícies */
  --card: #052b31;
  --card-2: #07373e;
  --card-3: #0a444c;

  /* ação */
  --accent: #20e3c2;
  --accent-hi: #35ead0;
  --accent-deep: #15bdae;
  --accent-text: #20e3c2;
  --accent-wash: rgb(32 227 194 / 9%);
  --accent-wash-2: rgb(32 227 194 / 14%);
  --on-accent: #021c20;

  /* texto: 16.7:1, 9.1:1 e 6.7:1 sobre o fundo */
  --text: #f4fafa;
  --text-2: #a6bfc1;
  --text-3: #89a5a8;

  /* estado */
  --ok: #4ade9b;
  --warn: #f2c14e;

  /* bordas */
  --line: #0d3b42;
  --line-soft: rgb(32 227 194 / 12%);
  --line-strong: rgb(32 227 194 / 30%);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow: 0 18px 50px rgb(0 0 0 / 45%);
  --shadow-soft: 0 10px 28px rgb(0 0 0 / 28%);
  --glow: 0 0 0 1px rgb(32 227 194 / 28%), 0 14px 44px rgb(32 227 194 / 13%);

  --wrap: 1180px;
  --gut: clamp(18px, 4vw, 40px);
  /* Ritmo vertical único: toda seção respira igual, e "espaço vazio" deixa de
     parecer seção inacabada. */
  --pad-y: clamp(44px, 5.6vw, 78px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--card-2); padding: 12px 18px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 8px;
}

/* --------------------------------------------------------------- fundo ------ */

.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.backdrop::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 620px at 78% -10%, rgb(21 189 174 / 22%), transparent 62%),
    radial-gradient(760px 520px at 6% 10%, rgb(11 82 85 / 26%), transparent 64%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 42%, var(--bg) 100%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(92px); opacity: .45; }
.glow-1 { width: 520px; height: 520px; top: -170px; right: -130px; background: rgb(32 227 194 / 14%); }
.glow-2 { width: 420px; height: 420px; top: 56%; left: -170px; background: rgb(21 189 174 / 15%); }
.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(32 227 194 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(32 227 194 / 4%) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1000px 560px at 50% 0%, #000 10%, transparent 70%);
}

/* ----------------------------------------------------------- tipografia ----- */

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
h1 { font-size: clamp(31px, 6.2cqi, 52px); }
h2 { font-size: clamp(25px, 3.4vw, 39px); }
h3 { font-size: clamp(16.5px, 1.4vw, 18.5px); letter-spacing: -0.015em; }
p { margin: 0; }

.eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--accent-wash);
  color: var(--accent-text);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.grad {
  display: block;
  background: linear-gradient(100deg, var(--accent-hi) 0%, var(--accent) 52%, #1bd3b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 42px rgb(32 227 194 / 18%);
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad { color: var(--accent-hi); -webkit-text-fill-color: currentColor; }
}

.lead { margin-top: 18px; max-width: 54ch; color: var(--text-2); font-size: clamp(15.5px, 1.4vw, 18px); }
.muted { color: var(--text-2); }
.panel-title { margin: 0 0 12px; color: var(--text-3); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* --------------------------------------------------------------- botões ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .18s ease;
}
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 14px 27px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: linear-gradient(135deg, var(--accent-hi), var(--accent) 56%, var(--accent-deep)); color: var(--on-accent); box-shadow: 0 10px 26px rgb(32 227 194 / 20%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgb(32 227 194 / 30%); }

.btn-outline { border-color: var(--line-strong); color: var(--text); background: var(--accent-wash); }
.btn-outline:hover { border-color: var(--accent); background: var(--accent-wash-2); transform: translateY(-2px); }

.btn-quiet { color: var(--text-2); padding: 11px 14px; }
.btn-quiet:hover { color: var(--text); }

.btn-play { width: 18px; height: 18px; border-radius: 50%; background: var(--accent-wash-2); position: relative; }
.btn-play::after { content: ''; position: absolute; left: 6.5px; top: 4.5px; border-left: 7px solid var(--accent); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }

.tick { flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-wash-2); position: relative; margin-top: 3px; }
.tick::after { content: ''; position: absolute; left: 4.5px; top: 5px; width: 6px; height: 3px; border-left: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent); transform: rotate(-45deg); }

.chip { padding: 2px 8px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--text-2); font-size: 10.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.chip-ok { color: var(--on-accent); background: var(--accent); border-color: transparent; }
.chip-ready { color: var(--ok); background: rgb(74 222 155 / 12%); border-color: rgb(74 222 155 / 28%); }
.chip-soon { color: var(--warn); background: rgb(242 193 78 / 11%); border-color: rgb(242 193 78 / 26%); }
/* Terceiro estado, para plataforma que NÃO tem API de publicação e nunca vai ter — hoje o Kwai.
   "Em breve" ali seria promessa que não se cumpre, e "Pronto" seria mentira. O que o produto
   entrega de verdade é o arquivo no formato certo; publicar é manual. Cor neutra de propósito:
   não é conquista nem pendência, é o limite da plataforma. */
/* Camada que ainda não existe no produto (Commerce). Nem conquista, nem pendência de aprovação:
   é outro escopo. Cor própria para não ser lido como "quase pronto". */
.chip-next { color: #9fb6e8; background: rgb(159 182 232 / 10%); border-color: rgb(159 182 232 / 26%); }
.chip-export { color: var(--text-2); background: rgb(166 191 193 / 10%); border-color: rgb(166 191 193 / 26%); }

/* --------------------------------------------------------------- header ----- */

.topbar { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); background: rgb(2 28 32 / 72%); border-bottom: 1px solid transparent; transition: border-color .25s ease, background-color .25s ease; }
.topbar.is-stuck { border-bottom-color: var(--line); background: rgb(2 28 32 / 92%); }
.topbar-inner { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gut); display: flex; align-items: center; gap: 20px; }

.wordmark { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.wordmark-mark { display: grid; place-items: center; filter: drop-shadow(0 0 12px rgb(32 227 194 / 32%)); }
.wordmark-text { font-size: 19.5px; font-weight: 600; letter-spacing: -0.02em; }
.wordmark-text strong { font-weight: 800; color: var(--accent-text); }

.mainnav { display: flex; gap: 4px; margin: 0 auto; }
.mainnav a { padding: 8px 13px; border-radius: var(--r-pill); color: var(--text-2); font-size: 14.5px; font-weight: 550; transition: color .18s ease, background-color .18s ease; }
.mainnav a:hover { color: var(--text); background: var(--accent-wash); }

.topbar-cta { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.navtoggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--accent-wash); cursor: pointer; }
.navtoggle span, .navtoggle span::before, .navtoggle span::after { display: block; width: 17px; height: 2px; background: var(--text); border-radius: 2px; margin: 0 auto; position: relative; }
.navtoggle span::before, .navtoggle span::after { content: ''; position: absolute; left: 0; }
.navtoggle span::before { top: -6px; }
.navtoggle span::after { top: 6px; }

/* ----------------------------------------------------- seções e ritmo ------- */

.section { max-width: var(--wrap); margin: 0 auto; padding: var(--pad-y) var(--gut); }
/* Faixa: muda discretamente o fundo e separa capítulos da narrativa sem régua. */
.band { position: relative; background: linear-gradient(180deg, rgb(3 38 42 / 55%), rgb(2 28 32 / 0%)); border-top: 1px solid var(--line); }
.band-demo { background: linear-gradient(180deg, rgb(5 52 58 / 55%), rgb(2 28 32 / 0%)); }

.section-head { max-width: 60ch; margin-bottom: clamp(26px, 3.4vw, 42px); }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { margin-top: 13px; color: var(--text-2); font-size: clamp(15px, 1.35vw, 16.5px); }

/* Aqui havia `content-visibility: auto` nas sete seções, com `contain-intrinsic-size: auto 600px`.
   Foi removido depois de medir o estrago em 390px: as seções reais têm de 500 a 950px, então cada
   uma que entrava em tela crescia contra a estimativa de 600px e empurrava tudo o que vinha abaixo
   — a altura do documento saltou de 7133 para 8075px durante a rolagem. Além do pulo de layout
   (exatamente o CLS que se queria evitar), o reflow tirava os elementos de baixo do alcance do
   IntersectionObserver da entrada suave: 15 dos 32 blocos ficavam presos em opacity 0 e seções
   inteiras apareciam em branco. Numa página que é só HTML e CSS, sem mídia pesada, a pintura
   preguiçosa não pagava esse preço. A entrada suave também deixou de depender de observer
   (ver setupReveal em site.js). */

/* ----------------------------------------------------------------- hero ----- */

.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(36px, 5.5vw, 72px) var(--gut) clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.hero-copy { container-type: inline-size; }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 26px; }
.hero-proof { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px 20px; color: var(--text-2); font-size: 13.5px; }
.hero-proof li { display: flex; align-items: flex-start; gap: 8px; }

/* -------------------------------------------- composição do produto -------- */

.hero-visual { position: relative; }
.app-window {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--card-2), var(--card) 62%, var(--bg-3));
  box-shadow: var(--shadow), 0 0 0 1px rgb(32 227 194 / 7%);
  overflow: hidden;
  transform: perspective(1500px) rotateY(-6deg) rotateX(2.5deg);
  transition: transform .55s ease;
}
.hero-visual:hover .app-window { transform: perspective(1500px) rotateY(-2deg) rotateX(.8deg); }

.app-chrome { display: flex; align-items: center; gap: 7px; padding: 10px 13px; border-bottom: 1px solid var(--line); background: rgb(2 28 32 / 55%); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.dot:first-child { background: rgb(32 227 194 / 55%); }
.app-title { margin-left: 8px; color: var(--text-3); font-size: 11px; letter-spacing: .03em; }
.app-pill { margin-left: auto; padding: 2px 8px; border-radius: var(--r-pill); background: var(--accent-wash); border: 1px solid var(--line-soft); color: var(--accent-text); font-size: 10px; font-weight: 700; }

.app-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 1px; background: var(--line); }
.app-main { padding: 12px; display: grid; gap: 10px; background: linear-gradient(180deg, rgb(5 52 58 / 45%), transparent); }
.app-side { padding: 12px; background: rgb(2 28 32 / 45%); }

.player-stage {
  position: relative;
  aspect-ratio: 16 / 8;
  border-radius: 11px;
  border: 1px solid var(--line-soft);
  background: radial-gradient(300px 150px at 32% 24%, rgb(32 227 194 / 15%), transparent 70%), linear-gradient(140deg, #0a3b41, #04252a 72%);
  display: grid;
  place-items: center;
}
.play { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-wash-2); border: 1px solid var(--line-strong); position: relative; box-shadow: 0 0 24px rgb(32 227 194 / 20%); }
.play::after { content: ''; position: absolute; left: 16px; top: 12px; border-left: 12px solid var(--accent-hi); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.badge-live { position: absolute; top: 9px; right: 9px; padding: 3px 8px; border-radius: var(--r-pill); background: rgb(2 28 32 / 78%); border: 1px solid var(--line-strong); color: var(--accent-text); font-size: 10px; font-weight: 800; letter-spacing: .07em; }
/* Legenda queimada: é o que o produto entrega, então aparece no mockup. */
.caption-burn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 82%;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgb(2 28 32 / 82%);
  color: var(--text);
  font-size: 10.5px;
  font-weight: 650;
  text-align: center;
}

.waveform { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.waveform i { flex: 1; height: var(--h); border-radius: 2px; background: linear-gradient(180deg, var(--accent), rgb(21 189 174 / 40%)); opacity: .7; animation: pulse 2.8s ease-in-out infinite; }
.waveform i:nth-child(3n) { animation-delay: .45s; }
.waveform i:nth-child(4n) { animation-delay: .95s; }
@keyframes pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

.timeline { position: relative; height: 8px; border-radius: var(--r-pill); background: var(--accent-wash); }
.timeline .cut { position: absolute; top: 0; bottom: 0; left: var(--a); right: calc(100% - var(--b)); border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent-hi), var(--accent)); box-shadow: 0 0 12px rgb(32 227 194 / 30%); }
.timeline .playhead { position: absolute; top: -3px; bottom: -3px; left: var(--p); width: 2px; background: var(--text); border-radius: 2px; box-shadow: 0 0 8px rgb(244 250 250 / 45%); }

.metrics-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.metric { padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: rgb(2 28 32 / 45%); }
.metric-label { color: var(--text-3); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.metric-value { font-size: 19px; font-weight: 750; letter-spacing: -0.02em; margin-top: 1px; }

.transcript { border: 1px solid var(--line); border-radius: 11px; padding: 11px; background: rgb(2 28 32 / 42%); }
.transcript .line { color: var(--text-2); font-size: 12px; padding: 2px 0; }
.transcript .line b { color: var(--text-3); font-weight: 600; margin-right: 7px; font-size: 11px; }
.transcript .line.hot { color: var(--text); background: var(--accent-wash); border-left: 2px solid var(--accent); border-radius: 0 6px 6px 0; padding-left: 7px; }
/* O fundo do trecho em destaque clareia o cartão, e o --text-3 do horário cai para 4,49:1 contra
   ele — reprovado por uma casa decimal. Sobe um nível de hierarquia só nessa linha. */
.transcript .line.hot b { color: var(--text-2); }

.cut-card { display: flex; align-items: center; gap: 8px; padding: 7px; margin-bottom: 7px; border: 1px solid var(--line); border-radius: 9px; background: rgb(7 55 62 / 55%); }
.cut-card.is-active { border-color: var(--line-strong); background: var(--accent-wash); }
.cut-thumb { flex: 0 0 auto; width: 24px; height: 32px; border-radius: 4px; background: linear-gradient(160deg, rgb(32 227 194 / 28%), rgb(21 189 174 / 14%)); border: 1px solid var(--line-soft); }
.cut-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cut-meta b { font-size: 12px; font-weight: 600; }
.cut-meta i { color: var(--text-3); font-size: 10px; font-style: normal; }

.net-row { display: flex; flex-wrap: wrap; gap: 5px; }
.net { padding: 4px 8px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--text-3); font-size: 10.5px; font-weight: 600; }
.net.on { color: var(--accent-text); border-color: var(--line-strong); background: var(--accent-wash); }

.side-approval { margin-top: 12px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--accent-wash); }
.float-label { color: var(--text-3); font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.float-note { color: var(--text-2); font-size: 11.5px; margin-top: 2px; }
.float-icon { display: block; width: 20px; height: 20px; margin-bottom: 6px; border-radius: 6px; background: var(--accent-wash-2); border: 1px solid var(--line-strong); position: relative; }
.float-icon::after { content: ''; position: absolute; left: 5px; top: 6px; width: 8px; height: 4px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ------------------------------------------------------------- problema ----- */

.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 14px; }
.pain { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: linear-gradient(170deg, var(--card), rgb(2 28 32 / 40%)); }
.pain-n { position: absolute; top: 16px; right: 18px; font-size: 26px; font-weight: 800; letter-spacing: -0.04em; color: rgb(242 193 78 / 16%); }
.pain h3 { margin-bottom: 7px; padding-right: 40px; }
.pain p { color: var(--text-2); font-size: 14px; }

/* ------------------------------------------------------------- públicos ----- */

.audiences { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(198px, 1fr)); gap: 13px; }
.audiences li { display: flex; flex-direction: column; padding: 19px; border: 1px solid var(--line); border-radius: var(--r-md); background: linear-gradient(170deg, var(--card-2), var(--card)); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.audiences li:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.aud-ico, .feat-ico { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 13px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--accent-wash); color: var(--accent-text); }
.aud-ico svg, .feat-ico svg { width: 20px; height: 20px; }
.audiences h3 { margin-bottom: 6px; }
.audiences p { color: var(--text-2); font-size: 13.5px; }
.aud-gain { margin-top: auto; padding-top: 11px; color: var(--accent-text); font-size: 12px; font-weight: 650; }

/* ---------------------------------------------------------------- fluxo ----- */

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; position: relative; }
/* A linha de conexão atravessa os quatro nós: é o que transforma quatro caixas
   em progressão. Fica atrás dos nós e para nas bordas do primeiro e do último. */
.flow::before {
  content: '';
  position: absolute;
  top: 19px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgb(32 227 194 / 25%) 100%);
  z-index: 0;
}
.flow li { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.flow-node { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg-2); box-shadow: 0 0 0 5px var(--bg); transition: border-color .22s ease, box-shadow .22s ease; }
.flow li:hover .flow-node { border-color: var(--accent); box-shadow: 0 0 0 5px var(--bg), 0 0 18px rgb(32 227 194 / 28%); }
.flow-n { color: var(--accent-text); font-size: 15px; font-weight: 800; }
.flow-body { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: linear-gradient(170deg, var(--card-2), var(--card)); flex: 1; transition: transform .22s ease, border-color .22s ease; }
.flow li:hover .flow-body { transform: translateY(-3px); border-color: var(--line-strong); }
.flow-body h3 { margin-bottom: 7px; }
.flow-body p { color: var(--text-2); font-size: 13.5px; }

/* -------------------------------------------------------- CTA contextual ---- */

.inline-cta {
  margin-top: clamp(26px, 3.4vw, 40px);
  padding: 20px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgb(32 227 194 / 8%), rgb(2 28 32 / 30%));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.inline-cta p { color: var(--text); font-size: clamp(15px, 1.5vw, 17px); font-weight: 600; }

/* ------------------------------------------------------------- recursos ----- */

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 14px; }
.feature { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(165deg, var(--card-2), var(--card) 72%); position: relative; overflow: hidden; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.feature::before { content: ''; position: absolute; inset: -1px -1px auto auto; width: 150px; height: 150px; background: radial-gradient(circle at 100% 0%, rgb(32 227 194 / 10%), transparent 68%); pointer-events: none; }
.feature:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
/* O problema vem ANTES do nome do recurso: é assim que a pessoa se reconhece. */
.feat-problem { color: var(--warn); font-size: 12px; font-weight: 700; letter-spacing: .01em; margin-bottom: 7px; }
.feature h3 { margin-bottom: 9px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature p:last-child { color: var(--text-2); font-size: 14px; }

/* --------------------------------------------------------- demonstração ----- */

.demo { max-width: 900px; margin: 0 auto; }
.demo-frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--card-2), var(--card) 70%);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3.2vw, 38px);
  overflow: hidden;
}
.demo-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 26px); }
.demo-steps > li:not(.demo-arrow) { flex: 1 1 0; min-width: 0; text-align: center; }
.demo-steps p { margin-top: 10px; color: var(--text-2); font-size: 13.5px; }
.demo-badge { display: inline-block; margin-bottom: 12px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--accent-wash); border: 1px solid var(--line-soft); color: var(--accent-text); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.demo-arrow { flex: 0 0 auto; width: 22px; height: 10px; position: relative; }
.demo-arrow::before { content: ''; position: absolute; inset: 4px 0; background: linear-gradient(90deg, rgb(32 227 194 / 45%), rgb(32 227 194 / 10%)); }
.demo-arrow::after { content: ''; position: absolute; right: 0; top: 1px; width: 7px; height: 7px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); }

.demo-art { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 72px; }
.demo-art i { border-radius: 4px; border: 1px solid var(--line-soft); background: linear-gradient(180deg, rgb(32 227 194 / 16%), rgb(2 28 32 / 40%)); }
.demo-art-long i { width: 34px; height: 46px; }
.demo-art-long i:first-child { width: 58px; height: 62px; background: linear-gradient(180deg, rgb(32 227 194 / 26%), rgb(2 28 32 / 40%)); }
.demo-art-work i { width: 7px; height: 26px; animation: grow 1.8s ease-in-out infinite; }
.demo-art-work i:nth-child(2) { animation-delay: .2s; }
.demo-art-work i:nth-child(3) { animation-delay: .4s; }
.demo-art-work i:nth-child(4) { animation-delay: .6s; }
@keyframes grow { 0%, 100% { height: 22px; opacity: .55; } 50% { height: 62px; opacity: 1; } }
.demo-art-out i { width: 15px; height: 58px; }
.demo-art-out i:nth-child(odd) { background: linear-gradient(180deg, rgb(32 227 194 / 30%), rgb(2 28 32 / 40%)); }

.demo-note { margin-top: 16px; text-align: center; color: var(--text-3); font-size: 13px; }

/* Player real, quando existir vídeo configurado. */
.demo-player { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); background: var(--card); aspect-ratio: 16 / 9; }
.demo-player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo-cover { position: absolute; inset: 0; display: grid; place-items: center; gap: 14px; border: 0; background: linear-gradient(160deg, rgb(5 52 58 / 92%), rgb(2 28 32 / 96%)); cursor: pointer; color: var(--text); font: inherit; }
.demo-cover:hover .demo-cover-play { transform: scale(1.06); box-shadow: 0 0 0 10px rgb(32 227 194 / 10%), 0 0 40px rgb(32 227 194 / 26%); }
.demo-cover-play { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-hi), var(--accent)); display: grid; place-items: center; box-shadow: 0 0 0 10px rgb(32 227 194 / 7%); transition: transform .22s ease, box-shadow .22s ease; }
.demo-cover-play::after { content: ''; margin-left: 5px; border-left: 20px solid var(--on-accent); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.demo-cover-text { font-size: 15px; font-weight: 650; }

/* -------------------------------------------------------- prova social ------ */

.proof { margin-top: clamp(26px, 3.4vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 13px; }
.proof-stat { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: linear-gradient(170deg, var(--card-2), var(--card)); text-align: center; }
.proof-value { font-size: clamp(26px, 3vw, 34px); font-weight: 780; letter-spacing: -0.03em; color: var(--accent-text); }
.proof-label { margin-top: 5px; color: var(--text-2); font-size: 13px; }

/* -------------------------------------------------------- integrações ------- */

.integrations { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 14px; align-items: start; }
.int-group { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: linear-gradient(170deg, var(--card), rgb(2 28 32 / 35%)); }
.int-title { margin-bottom: 14px; color: var(--text-3); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.int-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.int-group li { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgb(2 28 32 / 40%); transition: border-color .2s ease, transform .2s ease; }
.int-group li:hover { border-color: var(--line-strong); transform: translateX(2px); }
.int-name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--text); }
/* A nota que explica POR QUE uma plataforma está em expansão. Em --text-2 e não --text-3: é texto
   corrido para ler, não rótulo — no tom mais fraco ele reprovaria o contraste do corpo de texto. */
.int-note { margin-top: 12px; color: var(--text-2); font-size: 12.5px; line-height: 1.55; }
/* A marca externa mantém a cor dela: é o que faz o reconhecimento funcionar.
   A identidade da página continua no resto do card. */
.pf-ico { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; color: var(--brand, var(--accent-text)); }
.pf-ico svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------- planos ------- */

.pricing { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 14px; }

.plan { display: flex; flex-direction: column; gap: 13px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(170deg, var(--card-2), var(--card)); position: relative; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.plan:hover { transform: translateY(-4px); }
.plan.is-featured { border-color: var(--accent); background: linear-gradient(170deg, var(--card-3), var(--card-2) 68%); box-shadow: var(--glow); }
/* Esqueleto do mesmo tamanho do card final: sem salto de layout ao carregar. */
.plan.is-skeleton { min-height: 430px; border-style: dashed; opacity: .4; background: linear-gradient(170deg, var(--card), rgb(2 28 32 / 30%)); }
.plan-flag { position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: var(--r-pill); background: linear-gradient(135deg, var(--accent-hi), var(--accent)); color: var(--on-accent); font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.plan-name { font-size: 16.5px; font-weight: 650; }
.plan-price { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.plan-price strong { font-size: clamp(29px, 3.2vw, 38px); font-weight: 780; letter-spacing: -0.035em; }
.plan-cycle { color: var(--text-2); font-size: 14.5px; font-weight: 600; }
.plan-saving { align-self: flex-start; padding: 3px 10px; border-radius: var(--r-pill); background: rgb(74 222 155 / 12%); border: 1px solid rgb(74 222 155 / 28%); color: var(--ok); font-size: 12px; font-weight: 700; }
/* --text-3 dá 4,5:1 no cartão comum, mas o cartão em destaque tem uma camada de gradiente a mais
   (--card-3) e ali o mesmo cinza cai para 4,12:1 — reprovado, justamente na linha que traduz o
   preço anual em valor por mês. Sobe um nível: --text-2 passa nos dois fundos. */
.plan-equiv { color: var(--text-2); font-size: 12.5px; }
.plan-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan-features li { display: flex; align-items: flex-start; gap: 9px; color: var(--text-2); font-size: 13.5px; }
.plan .btn { margin-top: auto; }

.guarantees { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(170deg, var(--card), var(--bg-3)); }
.guarantees ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guarantees li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); font-size: 13.5px; }
.guarantees li b { color: var(--text); font-weight: 650; }
.guarantees-note { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 12.5px; }

/* ---------------------------------------------------------- CTA final ------- */

.finale { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.finale-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: clamp(50px, 6.5vw, 88px) var(--gut); text-align: center; }
.finale-inner p { margin: 13px 0 26px; color: var(--text-2); font-size: clamp(15px, 1.4vw, 16.5px); }
.finale-actions { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; }
.finale::before { content: ''; position: absolute; inset: 0; background: radial-gradient(620px 300px at 50% 0%, rgb(32 227 194 / 12%), transparent 68%), linear-gradient(180deg, var(--bg-2), var(--bg-3)); }
.waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 200px; }

/* ------------------------------------------------------------- rodapé ------- */

.sitefoot { border-top: 1px solid var(--line); background: var(--bg); }
.sitefoot-inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(32px, 4.4vw, 52px) var(--gut) 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 30px; }
.foot-product { margin-top: 9px; color: var(--accent-text); font-size: 13px; font-weight: 650; }
.foot-parent { margin-top: 4px; color: var(--text-3); font-size: 12.5px; }
.foot-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 22px; }
.foot-title { color: var(--text); font-size: 12.5px; font-weight: 700; margin-bottom: 11px; }
.foot-links a { display: block; padding: 4px 0; color: var(--text-2); font-size: 13.5px; }
.foot-links a:hover { color: var(--accent-text); }
.copyright { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gut) calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--text-3); font-size: 12.5px; }

/* ----------------------------------------------------------- animações ------ */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .waveform i, .demo-art-work i { animation: none; }
}

/* ---------------------------------------------------------- responsivo ------ */

@media (max-width: 1060px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: 2; }
  .app-window { transform: none; }
  .pricing { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow::before { display: none; }
}

@media (max-width: 880px) {
  .mainnav {
    position: fixed;
    inset: 62px 12px auto 12px;
    flex-direction: column;
    gap: 3px;
    padding: 11px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-md);
    background: rgb(3 38 42 / 97%);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    display: none;
    z-index: 45;
  }
  .mainnav.is-open { display: flex; }
  /* Medido em celular de verdade (390x844): 30px de altura. A navegação do topo é a primeira
     coisa que alguém toca na landing, e dedo não acerta 30px. A área cresce por padding — o texto
     continua do mesmo tamanho. */
  .mainnav a { padding: 12px 14px; font-size: 15.5px; min-height: 44px; display: inline-flex; align-items: center; }
  .navtoggle { display: grid; place-items: center; }
  .topbar-inner { gap: 10px; justify-content: space-between; }
  .btn-quiet { display: none; }
  .sitefoot-inner { grid-template-columns: minmax(0, 1fr); }
  /* Medido em 390x844: 30px de altura. Sao links de navegacao isolados, um embaixo do outro —
     dedo nao acerta 30px, e aqui nao ha texto corrido para preservar. */
  .foot-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .inline-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .inline-cta .btn { width: 100%; }
}

@media (max-width: 620px) {
  .hero { padding-top: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  /* Em 390px a maquete inteira tem 931px e empurrava o primeiro argumento para 1645px — quatro
     arrastadas de polegar antes de a página dizer qualquer coisa. A coluna lateral responde por
     379px disso, e é a parte que se repete adiante: os cortes com nota estão em "Como funciona",
     as redes em "Integrações" e a aprovação de gasto em "Recursos" e nos planos. No celular fica
     o que não se repete — o player com a legenda queimada, a linha do tempo, os números e a
     transcrição. */
  .app-side { display: none; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  /* No celular o fluxo vira lista com o número à esquerda: a progressão fica
     mais clara na vertical do que quatro cartões empilhados soltos. */
  .flow li { flex-direction: row; align-items: flex-start; gap: 12px; }
  .flow-node { box-shadow: none; }
  .finale-actions .btn, .demo .btn { width: 100%; }
  /* A fita de demonstração empilha: em 390px três quadros lado a lado viram
     três selos ilegíveis. */
  .demo-steps { flex-direction: column; }
  .demo-steps > li:not(.demo-arrow) { width: 100%; }
  .demo-arrow { transform: rotate(90deg); margin: 2px auto; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan.is-skeleton { min-height: 280px; }
}
