/* ==========================================================================
   SquadZ — design system do site (home + páginas das frentes)
   Incluído como /assets/site.css?v=AAAAMMDD: o nginx serve .css com cache
   imutável de 1 ano, então toda mudança precisa trocar o ?v= nas páginas.
   ========================================================================== */

:root {
  /* Superfícies */
  --ink: #0A0F0E;
  --ink-2: #101715;
  --ink-3: #18211F;
  --ink-line: rgba(255, 255, 255, .08);
  --ink-line-2: rgba(255, 255, 255, .14);
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --mist: #F2F4F1;

  /* Texto */
  --text: #131917;
  --text-2: #4A5451;
  --text-3: #7B8582;
  --on-ink: #F4F7F6;
  --on-ink-2: #A9B5B2;
  --on-ink-3: #74817E;

  --line: #E4E7E2;
  --line-2: #D5D9D3;

  /* Marca */
  --teal: #0D9488;
  --teal-deep: #0B7A70;
  --teal-bright: #2DD4BF;
  --teal-soft: #E6F7F4;
  --blue: #2563EB;
  --grad: linear-gradient(120deg, #2DD4BF 0%, #14B8A6 35%, #3B82F6 100%);

  /* Etapas da jornada */
  --c-demanda: #F59E0B;
  --c-autoridade: #A78BFA;
  --c-captacao: #FB7185;
  --c-atendimento: #34D399;
  --c-operacao: #60A5FA;
  --c-gestao: #2DD4BF;

  --ok: #10B981;
  --warn: #F59E0B;
  --bad: #EF4444;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --shadow-1: 0 1px 2px rgba(10, 15, 14, .06), 0 1px 1px rgba(10, 15, 14, .04);
  --shadow-2: 0 10px 30px -12px rgba(10, 15, 14, .18), 0 2px 6px rgba(10, 15, 14, .05);
  --shadow-3: 0 40px 80px -30px rgba(10, 15, 14, .35), 0 12px 30px -12px rgba(10, 15, 14, .18);
  --glow: 0 0 0 1px rgba(45, 212, 191, .25), 0 20px 60px -20px rgba(45, 212, 191, .45);

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --header-h: 72px;
  --wrap: 1200px;
  --gutter: 24px;
}

/* -------------------------------------------------------------------------- */
/* Base                                                                       */
/* -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; border-radius: 6px; }
.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; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

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

/* -------------------------------------------------------------------------- */
/* Tipografia                                                                 */
/* -------------------------------------------------------------------------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.6vw, 92px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.h4 { font-weight: 600; font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; }
.display em, .h2 em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text-2); }
.muted { color: var(--text-3); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}
.on-ink .eyebrow { color: var(--teal-bright); }

.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lead { margin-top: 20px; }

.on-ink { background: var(--ink); color: var(--on-ink); }
.on-ink .lead { color: var(--on-ink-2); }
.on-ink .muted { color: var(--on-ink-3); }
.bg-white { background: var(--white); }
.bg-mist { background: var(--mist); }

/* -------------------------------------------------------------------------- */
/* Botões                                                                     */
/* -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #11A598 0%, var(--teal) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 24px -8px rgba(13,148,136,.65);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 32px -10px rgba(13,148,136,.8); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: var(--white); }
.btn-ghost:hover { border-color: var(--text); }
.on-ink .btn-ghost, .btn-ghost.on-dark, .hero .btn-ghost, .page-hero .btn-ghost, .cta-final .btn-ghost { color: var(--on-ink); background: rgba(255,255,255,.04); border-color: var(--ink-line-2); }
.on-ink .btn-ghost:hover, .btn-ghost.on-dark:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .cta-final .btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.btn-arrow::after { content: "→"; transition: transform .2s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal); }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }
.on-ink .link-arrow { color: var(--teal-bright); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { margin-top: 16px; font-size: 14px; color: var(--text-3); }
.on-ink .cta-note { color: var(--on-ink-3); }

/* -------------------------------------------------------------------------- */
/* Faixa de teste + header                                                    */
/* -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: var(--on-ink-2);
  font-size: 13.5px;
  text-align: center;
  padding: 9px 16px;
  border-bottom: 1px solid var(--ink-line);
}
.topbar strong { color: #fff; font-weight: 600; }
.topbar a { color: var(--teal-bright); font-weight: 600; margin-left: 6px; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 250, 247, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 250, 247, .92); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; font-size: 23px; letter-spacing: -0.035em; color: #3F4442; flex: none; }
.brand img { width: 24px; height: 24px; margin-left: 2px; transform: translateY(1px); }
.on-ink .brand, .footer .brand { color: #fff; }

.main-nav { flex: 1; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .15s ease, background-color .15s ease;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { color: var(--text); background: rgba(10, 15, 14, .05); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-menu { position: relative; }

.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: -24px;
  width: min(760px, calc(100vw - 48px));
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-menu.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mega-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: var(--r-md);
  transition: background-color .15s ease;
}
.mega-item:hover, .mega-item[aria-current="page"] { background: var(--mist); }
.mega-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--stage);
  background: color-mix(in srgb, var(--stage) 14%, white);
  border: 1px solid color-mix(in srgb, var(--stage) 30%, white);
}
.mega-item strong { display: block; font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.3; }
.mega-item span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--text-3); margin-top: 3px; }
.mega-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 8px; padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--on-ink-2);
  font-size: 14px;
}
.mega-foot strong { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 19px; font-style: italic; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-actions .link-quiet { font-size: 15px; font-weight: 500; color: var(--text-2); padding: 0 12px; }
.header-actions .link-quiet:hover { color: var(--text); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); position: relative; transition: transform .2s ease, background-color .2s ease;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Stage tokens */
[data-stage="demanda"] { --stage: var(--c-demanda); }
[data-stage="autoridade"] { --stage: var(--c-autoridade); }
[data-stage="captacao"] { --stage: var(--c-captacao); }
[data-stage="atendimento"] { --stage: var(--c-atendimento); }
[data-stage="operacao"] { --stage: var(--c-operacao); }
[data-stage="gestao"] { --stage: var(--c-gestao); }
.mega-item[data-stage="demanda"] .mega-icon { color: #B45309; }
.mega-item[data-stage="autoridade"] .mega-icon { color: #6D28D9; }
.mega-item[data-stage="captacao"] .mega-icon { color: #BE123C; }
.mega-item[data-stage="atendimento"] .mega-icon { color: #047857; }
.mega-item[data-stage="operacao"] .mega-icon { color: #1D4ED8; }
.mega-item[data-stage="gestao"] .mega-icon { color: #0F766E; }

/* -------------------------------------------------------------------------- */
/* Hero (home)                                                                */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0 0;
  background: var(--ink);
  color: var(--on-ink);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 30%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 1100px; height: 700px;
  left: 50%; top: -260px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(45,212,191,.28), rgba(59,130,246,.10) 55%, transparent 75%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-copy { text-align: center; max-width: 980px; margin: 0 auto; }
.hero-copy .display { color: #fff; }
.hero-copy .lead { max-width: 720px; margin: 28px auto 0; color: var(--on-ink-2); }
.decide-card .lead, .on-ink .section-head .lead { color: var(--on-ink-2); }
.hero-copy .cta-row { justify-content: center; margin-top: 40px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 30px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--ink-line-2);
  background: rgba(255,255,255,.04);
  font-size: 13.5px;
  color: var(--on-ink-2);
}
.hero-badge b {
  font-weight: 600;
  font-size: 12px;
  color: var(--ink);
  background: var(--teal-bright);
  padding: 3px 9px;
  border-radius: 999px;
}

/* Trilha da jornada no hero */
.rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 1040px;
  margin: 64px auto 0;
}
.rail::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%; top: 21px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-demanda), var(--c-autoridade), var(--c-captacao), var(--c-atendimento), var(--c-operacao), var(--c-gestao));
  opacity: .5;
}
.rail-step { position: relative; text-align: center; color: var(--on-ink-2); font-size: 14px; font-weight: 500; }
.rail-step a { display: block; padding-bottom: 6px; }
.rail-dot {
  position: relative;
  width: 42px; height: 42px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink-2);
  border: 1px solid color-mix(in srgb, var(--stage) 55%, transparent);
  color: var(--stage);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.rail-step.is-live .rail-dot, .rail-step a:hover .rail-dot {
  background: var(--stage);
  color: var(--ink);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--stage) 18%, transparent), 0 0 30px color-mix(in srgb, var(--stage) 60%, transparent);
  transform: translateY(-2px);
}
.rail-step.is-live { color: #fff; }
.rail-step small { display: block; font-size: 12.5px; color: var(--on-ink-3); font-weight: 400; margin-top: 2px; }

/* Palco do produto no hero */
.hero-stage {
  position: relative;
  max-width: 1120px;
  margin: 56px auto 0;
  padding: 0 0 0;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 8% 6% auto;
  height: 70%;
  background: radial-gradient(closest-side, rgba(45,212,191,.35), transparent);
  filter: blur(40px);
  z-index: -1;
}
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--ink)); pointer-events: none; z-index: 2; }

/* -------------------------------------------------------------------------- */
/* Janela de app (mockups)                                                    */
/* -------------------------------------------------------------------------- */
.window {
  /* Tokens do tema escuro do app (squadz-web/assets/css/themes.css) */
  --w-bg: #09090B;
  --w-panel: #131316;
  --w-panel-2: #1A1A1F;
  --w-line: rgba(255,255,255,.07);
  --w-text: #F4F4F5;
  --w-text-2: #B4B4BC;
  --w-text-3: #71717A;
  font-family: 'Outfit', var(--sans);
  position: relative;
  border-radius: 16px;
  background: var(--w-bg);
  color: var(--w-text);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}
.window-bar {
  display: flex; align-items: center; gap: 14px;
  height: 40px; padding: 0 14px;
  border-bottom: 1px solid var(--w-line);
  background: rgba(255,255,255,.02);
}
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 11px; height: 11px; border-radius: 50%; background: #3A4542; }
.window-dots i:nth-child(1) { background: #FF5F57; }
.window-dots i:nth-child(2) { background: #FEBC2E; }
.window-dots i:nth-child(3) { background: #28C840; }
.window-url {
  flex: 1; max-width: 420px; margin: 0 auto;
  height: 24px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255,255,255,.05);
  color: var(--w-text-3);
  font-size: 12px;
}
.window-body { display: grid; grid-template-columns: 56px 1fr; }
.window-body.no-rail { grid-template-columns: 1fr; }
.app-rail {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 0;
  border-right: 1px solid var(--w-line);
  background: rgba(0,0,0,.15);
}
.app-rail i {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid; place-items: center;
  color: var(--w-text-3);
}
.app-rail i svg { width: 17px; height: 17px; }
.app-rail i.on { background: rgba(45,212,191,.14); color: var(--teal-bright); }
.app-rail .z { width: 26px; height: 26px; margin-bottom: 10px; }
.app-main { padding: 18px 20px; min-width: 0; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.app-title { font-size: 15px; font-weight: 600; color: var(--w-text); letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.app-sub { font-size: 12px; color: var(--w-text-3); }
.app-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 9px; background: rgba(255,255,255,.04); }
.app-tabs span { padding: 4px 10px; border-radius: 7px; font-size: 11.5px; color: var(--w-text-2); }
.app-tabs span.on { background: rgba(255,255,255,.08); color: var(--w-text); }
.app-btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 11px;
  border-radius: 8px;
  font-size: 12px; font-weight: 600;
  background: var(--teal-bright);
  color: #052420;
}
.app-btn.ghost { background: rgba(255,255,255,.06); color: var(--w-text); }
.app-btn.danger { background: rgba(239,68,68,.14); color: #FCA5A5; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 20px; padding: 0 8px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  white-space: nowrap;
  background: rgba(255,255,255,.07);
  color: var(--w-text-2);
}
.chip.ok { background: rgba(16,185,129,.14); color: #6EE7B7; }
.chip.warn { background: rgba(245,158,11,.14); color: #FCD34D; }
.chip.bad { background: rgba(239,68,68,.14); color: #FCA5A5; }
.chip.info { background: rgba(96,165,250,.14); color: #93C5FD; }
.chip.teal { background: rgba(45,212,191,.14); color: var(--teal-bright); }
.chip.violet { background: rgba(167,139,250,.16); color: #C4B5FD; }
.chip.beta { background: rgba(167,139,250,.16); color: #C4B5FD; letter-spacing: .04em; text-transform: uppercase; font-size: 10px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; flex: none; }

.panel { background: var(--w-panel); border: 1px solid var(--w-line); border-radius: 12px; }
.panel-pad { padding: 14px; }
.panel-title { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--w-text-3); margin-bottom: 10px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { padding: 12px 14px; }
.kpi b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--w-text); }
.kpi span { font-size: 11.5px; color: var(--w-text-3); }
.kpi em { font-style: normal; font-size: 11px; font-weight: 600; color: #6EE7B7; margin-left: 4px; }

/* Avatar de agente dentro do app */
.ag {
  width: 26px; height: 26px; border-radius: 50%;
  flex: none;
  overflow: hidden;
  background: linear-gradient(160deg, #1F2A2A, #09090B);
  border: 1px solid rgba(255,255,255,.12);
}
.ag img { width: 100%; height: 100%; object-fit: cover; }
.ag.lg { width: 34px; height: 34px; }

/* Card de proposta do agente (padrão "propõe, você confirma") */
.proposal {
  border-radius: 12px;
  border: 1px solid rgba(45,212,191,.35);
  background: linear-gradient(180deg, rgba(45,212,191,.08), rgba(45,212,191,.02));
  padding: 12px 14px;
}
.proposal-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; font-size: 12px; color: var(--w-text-2); }
.proposal-head b { color: var(--w-text); font-weight: 600; }
.proposal-body { font-size: 13px; color: var(--w-text); }
.proposal-body small { display: block; color: var(--w-text-3); font-size: 11.5px; margin-top: 3px; }
.proposal-actions { display: flex; gap: 6px; margin-top: 10px; }

/* Chat */
.chat { display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 82%; padding: 8px 11px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; }
.msg small { display: block; font-size: 10px; color: var(--w-text-3); margin-top: 3px; text-align: right; }
.msg.in { align-self: flex-start; background: #1C1C21; border-top-left-radius: 4px; }
.msg.out { align-self: flex-end; background: color-mix(in srgb, #2DD4BF 20%, #16161A); border-top-right-radius: 4px; color: #F4F4F5; }
.msg.out small { color: rgba(230,255,250,.55); }
.msg.sys {
  align-self: center; max-width: 92%;
  background: transparent; border: 1px dashed rgba(255,255,255,.12);
  color: var(--w-text-2); font-size: 11.5px; text-align: center;
}
.typing { display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 12px; background: #1C1C21; align-self: flex-start; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--w-text-2); animation: typing 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }

/* Listas e tabelas do app */
.rows { display: flex; flex-direction: column; }
.row {
  display: grid;
  grid-template-columns: var(--cols, 1fr auto);
  gap: 12px;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid var(--w-line);
  font-size: 12.5px;
}
.row:last-child { border-bottom: 0; }
.row.head { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--w-text-3); padding-top: 4px; padding-bottom: 8px; }
.row .t { color: var(--w-text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .s { color: var(--w-text-3); font-size: 11.5px; }
.num { font-variant-numeric: tabular-nums; }
.pos { color: #6EE7B7; }
.neg { color: #FCA5A5; }

/* Kanban */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 10px; }
.kcol { background: rgba(255,255,255,.025); border: 1px solid var(--w-line); border-radius: 12px; padding: 10px; min-width: 0; }
.kcol-head { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 600; color: var(--w-text-2); margin-bottom: 8px; }
.kcol-head span { color: var(--w-text-3); font-weight: 500; }
.kcard { background: var(--w-panel-2); border: 1px solid var(--w-line); border-radius: 9px; padding: 9px 10px; margin-bottom: 7px; font-size: 12px; }
.kcard b { display: block; font-weight: 600; color: var(--w-text); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard .meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--w-text-3); font-size: 11px; }

/* Barras e gráficos simples */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--teal-bright), rgba(45,212,191,.25)); }
.bars i.neg { background: linear-gradient(180deg, #FB7185, rgba(251,113,133,.2)); }
.spark { width: 100%; height: 64px; }

/* -------------------------------------------------------------------------- */
/* Faixa de números                                                           */
/* -------------------------------------------------------------------------- */
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.proof > div { padding: 34px 28px; border-right: 1px solid var(--ink-line); }
.proof > div:last-child { border-right: 0; }
.proof b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 58px); line-height: 1; letter-spacing: -0.02em; color: #fff; }
.proof span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--on-ink-2); line-height: 1.45; }
.proof.light { border-color: var(--line); }
.proof.light > div { border-color: var(--line); }
.proof.light b { color: var(--text); }
.proof.light span { color: var(--text-2); }

/* -------------------------------------------------------------------------- */
/* Colcha de retalhos vs plataforma                                           */
/* -------------------------------------------------------------------------- */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: stretch; }
.versus-card { border-radius: var(--r-xl); padding: 32px; }
.versus-card h3 { margin-bottom: 20px; }
.versus-old { background: var(--white); border: 1px dashed var(--line-2); }
.versus-new { background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-3); position: relative; overflow: hidden; }
.versus-new::after { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; background: radial-gradient(closest-side, rgba(45,212,191,.35), transparent); }
.patch { display: flex; flex-wrap: wrap; gap: 8px; }
.patch span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--mist);
  border: 1px solid var(--line);
  font-size: 14px; color: var(--text-2);
}
.patch span:nth-child(odd) { transform: rotate(-1.2deg); }
.patch span:nth-child(even) { transform: rotate(1deg); }
.versus-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--text-2); }
.versus-list li:last-child { border-bottom: 0; }
.versus-list li::before { content: "×"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #FEE2E2; color: #B91C1C; font-weight: 700; font-size: 14px; line-height: 1; margin-top: 2px; }
.versus-new .versus-list li { color: var(--on-ink-2); border-color: var(--ink-line); }
.versus-new .versus-list li::before { content: "✓"; background: rgba(45,212,191,.16); color: var(--teal-bright); font-size: 12px; }
.versus-arrow { display: grid; place-items: center; }
.versus-arrow span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-2); font-size: 22px; color: var(--teal); }

/* -------------------------------------------------------------------------- */
/* Jornada: seis blocos                                                       */
/* -------------------------------------------------------------------------- */
.journey { position: relative; }
.journey-nav {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  z-index: 20;
  display: flex; justify-content: center;
  margin-bottom: clamp(40px, 6vw, 72px);
  pointer-events: none;
}
.journey-nav ol {
  pointer-events: auto;
  display: inline-flex; gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}
.journey-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  transition: background-color .2s ease, color .2s ease;
}
.journey-nav a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--stage); }
.journey-nav a.is-active { background: var(--ink); color: #fff; }

.stage {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0;
}
.stage + .stage { border-top: 1px solid var(--line); }
.stage:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.stage:nth-of-type(even) .stage-copy { order: 2; }
.stage-num {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  margin-bottom: 18px;
}
.stage-num b {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--ink);
  background: var(--stage);
  font-weight: 700;
}
.stage-copy .h2 { font-size: clamp(34px, 3.8vw, 50px); }
.stage-copy .lead { margin-top: 18px; font-size: 18px; }
.stage-points { margin: 24px 0 28px; display: grid; gap: 12px; }
.stage-points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; color: var(--text-2); line-height: 1.5; }
.stage-points li::before {
  content: ""; width: 22px; height: 22px; border-radius: 7px; margin-top: 1px;
  background: color-mix(in srgb, var(--stage) 18%, white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131917' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.stage-points strong { color: var(--text); font-weight: 600; }
.agent-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14px; color: var(--text-2);
  margin-right: 6px; margin-bottom: 8px;
}
.agent-tag img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--mist); }
.agent-tag b { color: var(--text); font-weight: 600; }
.beta-tag {
  display: inline-flex; align-items: center;
  height: 22px; padding: 0 9px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #6D28D9; background: #EDE9FE; border: 1px solid #DDD6FE;
  vertical-align: middle;
}
.on-ink .beta-tag { color: #C4B5FD; background: rgba(167,139,250,.14); border-color: rgba(167,139,250,.3); }
.stage-visual { position: relative; }
.stage-visual::before {
  content: "";
  position: absolute; inset: 10% 10%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--stage) 45%, transparent), transparent);
  filter: blur(50px);
  z-index: 0;
  opacity: .55;
}
.stage-visual .window { z-index: 1; }
.stage-fact {
  position: absolute;
  z-index: 3;
  right: -18px; bottom: -64px;
  max-width: 260px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  font-size: 13.5px; line-height: 1.45; color: var(--text-2);
}
.stage-fact b { display: block; font-size: 22px; letter-spacing: -0.02em; color: var(--text); line-height: 1.15; margin-bottom: 2px; }
.stage:nth-of-type(even) .stage-fact { right: auto; left: -18px; }

/* -------------------------------------------------------------------------- */
/* A IA faz, o advogado decide                                                */
/* -------------------------------------------------------------------------- */
.decide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.decide-card {
  position: relative;
  border-radius: var(--r-xl);
  padding: 32px;
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  overflow: hidden;
}
.decide-card .h3 { color: #fff; margin: 14px 0 10px; }
.decide-card p { color: var(--on-ink-2); }
.decide-card .window { margin-top: 24px; box-shadow: none; }
.decide-card .window-body { min-height: 0; }
.decide-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.decide-label.auto { color: #6EE7B7; }
.decide-label.human { color: #FCD34D; }
.decide-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.decide-points div { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--ink-line); background: rgba(255,255,255,.02); }
.decide-points b { display: block; color: #fff; font-size: 16.5px; margin-bottom: 6px; font-weight: 600; }
.decide-points p { color: var(--on-ink-2); font-size: 15px; margin: 0; }

/* -------------------------------------------------------------------------- */
/* Squad (agentes)                                                            */
/* -------------------------------------------------------------------------- */
.squad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.agent-card {
  position: relative;
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.agent-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.agent-card img {
  width: 72px; height: 72px;
  border-radius: 20px;
  object-fit: cover;
  background: linear-gradient(160deg, color-mix(in srgb, var(--stage) 30%, white), var(--mist));
  margin-bottom: 18px;
}
.agent-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.agent-card .role { font-size: 13px; font-weight: 600; color: var(--text-3); margin-top: 2px; }
.agent-card p { font-size: 14.5px; color: var(--text-2); margin: 12px 0 0; line-height: 1.5; }
.agent-card .where { margin-top: 16px; }
.stage-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--text-2);
  background: color-mix(in srgb, var(--stage) 14%, white);
}
.stage-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--stage); }

/* -------------------------------------------------------------------------- */
/* Integrações                                                                */
/* -------------------------------------------------------------------------- */
.integrations { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.integration {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 18px 0 8px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 15px; font-weight: 500; color: var(--text);
}
.integration i {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-style: normal; font-size: 12px; font-weight: 700;
  color: #fff;
  background: var(--c, var(--teal));
}
.integration small { font-size: 12.5px; color: var(--text-3); font-weight: 400; }

/* -------------------------------------------------------------------------- */
/* Planos                                                                     */
/* -------------------------------------------------------------------------- */
.billing-toggle {
  display: inline-flex; padding: 4px; margin: 0 auto 40px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
}
.billing-toggle button { height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing-toggle em { font-style: normal; font-size: 12px; color: var(--teal); margin-left: 6px; }
.billing-toggle button[aria-pressed="true"] em { color: var(--teal-bright); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  padding: 32px;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
}
.plan.featured {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
  box-shadow: var(--shadow-3), var(--glow);
  position: relative;
}
.plan-badge {
  position: absolute; top: -13px; left: 32px;
  height: 26px; padding: 0 12px;
  display: inline-flex; align-items: center;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  background: var(--teal-bright); color: var(--ink);
}
.plan h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.plan .plan-desc { font-size: 15px; color: var(--text-2); margin: 8px 0 24px; min-height: 72px; }
.plan.featured .plan-desc { color: var(--on-ink-2); }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-family: var(--serif); font-weight: 400; font-size: 58px; line-height: 1; letter-spacing: -0.03em; }
.plan-price span { color: var(--text-3); font-size: 15px; }
.plan.featured .plan-price span { color: var(--on-ink-3); }
.plan-price-note { font-size: 13.5px; color: var(--text-3); margin-top: 8px; min-height: 21px; }
.plan.featured .plan-price-note { color: var(--on-ink-3); }
.plan .btn { width: 100%; margin: 26px 0 10px; }
.plan-alt { display: block; text-align: center; font-size: 14px; font-weight: 600; color: var(--text-2); }
.plan-alt:hover { color: var(--text); }
.plan.featured .plan-alt { color: var(--on-ink-2); }
.plan-features { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.plan.featured .plan-features { border-color: var(--ink-line); }
.plan-features li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; color: var(--text-2); line-height: 1.45; }
.plan.featured .plan-features li { color: var(--on-ink-2); }
.plan-features li::before { content: "✓"; color: var(--teal); font-weight: 700; }
.plan.featured .plan-features li::before { color: var(--teal-bright); }
.plan-features strong { color: var(--text); font-weight: 600; }
.plan.featured .plan-features strong { color: #fff; }
.plans-foot { text-align: center; margin-top: 28px; color: var(--text-3); font-size: 14.5px; }

/* -------------------------------------------------------------------------- */
/* FAQ                                                                        */
/* -------------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  font-size: 18px; font-weight: 400; color: var(--text-2);
  transition: transform .2s ease, background-color .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-list .faq-a { padding: 0 52px 24px 0; color: var(--text-2); font-size: 16px; }
.faq-list .faq-a p:last-child { margin: 0; }
.faq-list .faq-a a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* -------------------------------------------------------------------------- */
/* CTA final                                                                  */
/* -------------------------------------------------------------------------- */
.cta-final {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  background: var(--ink);
  color: var(--on-ink);
  text-align: center;
  isolation: isolate;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(45,212,191,.3), transparent 70%),
    radial-gradient(500px 300px at 90% 100%, rgba(59,130,246,.22), transparent 70%);
}
.cta-final .h2 { color: #fff; max-width: 820px; margin: 0 auto; }
.cta-final .lead { max-width: 620px; margin: 20px auto 0; color: var(--on-ink-2); }
.cta-final .cta-row { justify-content: center; margin-top: 36px; }

/* -------------------------------------------------------------------------- */
/* Diagnóstico (CTA secundário)                                               */
/* -------------------------------------------------------------------------- */
.diag {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: 24px 28px;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.diag-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); }
.diag-icon svg { width: 26px; height: 26px; }
.diag h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.diag p { margin: 4px 0 0; color: var(--text-2); font-size: 15px; }

/* -------------------------------------------------------------------------- */
/* Rodapé                                                                     */
/* -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--on-ink-2); padding: 80px 0 40px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.footer-about p { margin: 16px 0 0; max-width: 300px; color: var(--on-ink-3); line-height: 1.6; }
.footer h4 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  margin-top: 64px; padding-top: 28px;
  border-top: 1px solid var(--ink-line);
  color: var(--on-ink-3); font-size: 13px;
}
.footer-bottom a { color: var(--on-ink-2); }

/* -------------------------------------------------------------------------- */
/* Páginas das frentes                                                        */
/* -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px);
  background: var(--ink);
  color: var(--on-ink);
  isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 20%, transparent 75%);
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 700px; right: -200px; top: -200px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--stage) 40%, transparent), transparent 75%);
  opacity: .7;
  pointer-events: none;
}
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--on-ink-3); margin-bottom: 40px; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero .display { font-size: clamp(42px, 5.4vw, 76px); color: #fff; }
.page-hero .display em { background: none; color: var(--stage); -webkit-text-fill-color: currentColor; }
.page-hero .lead { margin-top: 24px; color: var(--on-ink-2); }
.page-hero .cta-row { margin-top: 36px; }
.stage-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: var(--mono); font-size: 13px; color: var(--on-ink-2); }
.stage-eyebrow b { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--stage); color: var(--ink); font-weight: 700; }

.stepper { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 30; }
.stepper ol { display: grid; grid-template-columns: repeat(6, 1fr); }
.stepper a {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 14px;
  font-size: 14px; font-weight: 500; color: var(--text-3);
  border-right: 1px solid var(--line);
  transition: color .15s ease, background-color .15s ease;
}
.stepper li:first-child a { border-left: 1px solid var(--line); }
.stepper a:hover { color: var(--text); background: var(--paper); }
.stepper a b { font-family: var(--mono); font-size: 12px; color: var(--stage); }
.stepper a[aria-current="page"] { color: var(--text); font-weight: 600; background: var(--paper); }
.stepper a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--stage); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--stage) 16%, white);
  color: var(--text);
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18.5px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature p { font-size: 15.5px; color: var(--text-2); margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 120px); }
.split.flip > :first-child { order: 2; }
.split .h2 { font-size: clamp(32px, 3.6vw, 46px); }
.split .lead { margin-top: 18px; }

.agent-spot {
  display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center;
  padding: 40px;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.agent-spot-photo { position: relative; aspect-ratio: 1; border-radius: 22px; background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--stage) 40%, white), var(--mist) 70%); overflow: hidden; }
.agent-spot-photo img { position: absolute; left: 50%; top: 6%; width: 104%; height: auto; max-width: none; transform: translateX(-50%); }
.agent-spot .h3 { margin: 10px 0 12px; }
.agent-spot p { color: var(--text-2); }
.agent-spot .quote {
  margin-top: 20px; padding: 16px 18px;
  border-left: 3px solid var(--stage);
  background: var(--paper);
  border-radius: 0 12px 12px 0;
  font-size: 15px; color: var(--text-2);
}

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.related a:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.related small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.related strong { font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.related span { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--teal); }

.next-stages { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.next-stage {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 28px 30px;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
}
.next-stage:hover { border-color: var(--stage); transform: translateY(-2px); }
.next-stage small { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 4px; }
.next-stage strong { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -0.01em; line-height: 1.1; }
.next-stage .arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--stage); color: var(--ink); font-size: 20px; flex: none; }
.next-stage.prev { flex-direction: row-reverse; text-align: right; }

.note {
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 15px; color: var(--text-2);
}
.note strong { color: var(--text); }

/* Prosa (comunidade, textos longos) */
.prose { font-size: 17.5px; color: var(--text-2); }
.prose h2 { font-family: var(--serif); font-size: 36px; line-height: 1.1; color: var(--text); margin: 48px 0 16px; }
.prose ul { list-style: none; display: grid; gap: 10px; margin: 0 0 1em; }
.prose li { position: relative; padding-left: 28px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--teal); }

/* -------------------------------------------------------------------------- */
/* Animações de entrada                                                       */
/* -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }

.float-y { animation: floatY 7s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.pulse-ring { position: relative; }
.pulse-ring::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid currentColor; opacity: 0; animation: pulseRing 2.4s ease-out infinite; }
@keyframes pulseRing { 0% { transform: scale(.8); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* Itens que entram em sequência dentro de mockups */
.js .seq > * { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.js .seq.is-in > * { opacity: 1; transform: none; }
.js .seq.is-in > *:nth-child(2) { transition-delay: .35s; }
.js .seq.is-in > *:nth-child(3) { transition-delay: .7s; }
.js .seq.is-in > *:nth-child(4) { transition-delay: 1.05s; }
.js .seq.is-in > *:nth-child(5) { transition-delay: 1.4s; }
.js .seq.is-in > *:nth-child(6) { transition-delay: 1.75s; }
.js .seq.is-in > *:nth-child(7) { transition-delay: 2.1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .seq > * { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------------- */
/* Responsivo                                                                 */
/* -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .header-actions .link-quiet { display: none; }
  .squad { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-about { grid-column: 1 / -1; }
  .stepper a span { display: none; }
  .stepper a { justify-content: center; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--paper);
    padding: 16px var(--gutter) 40px;
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; height: 56px; justify-content: space-between; padding: 0 4px; font-size: 17px; border-radius: 0; background: none !important; color: var(--text); }
  .mega { position: static; width: auto; padding: 0 0 12px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-menu.is-open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-item { padding: 10px 4px; }
  .mega-foot { display: none; }
  .mobile-cta { display: grid !important; gap: 10px; margin-top: 24px; }
  .mobile-cta .btn { width: 100%; }

  .rail { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .rail::before { display: none; }
  .stage, .stage:nth-of-type(even), .split, .page-hero-grid, .faq, .agent-spot { grid-template-columns: 1fr; }
  .stage:nth-of-type(even) .stage-copy, .split.flip > :first-child { order: 0; }
  .stage-fact { position: relative; right: auto !important; left: auto !important; bottom: auto; margin: -28px 16px 0 auto; max-width: 280px; }
  .faq .section-head { position: static; }
  .decide-grid, .decide-points, .features, .related, .plans, .next-stages { grid-template-columns: 1fr; }
  .versus { grid-template-columns: 1fr; }
  .versus-arrow span { transform: rotate(90deg); }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof > div:nth-child(2) { border-right: 0; }
  .proof > div:nth-child(-n+2) { border-bottom: 1px solid var(--ink-line); }
  .proof.light > div:nth-child(-n+2) { border-bottom-color: var(--line); }
  .plan .plan-desc { min-height: 0; }
  .journey-nav { display: none; }
  .agent-spot { padding: 24px; gap: 24px; }
  .agent-spot-photo { max-width: 280px; }
  .stepper { position: static; }
  .stepper ol { display: flex; overflow-x: auto; scrollbar-width: none; }
  .stepper ol::-webkit-scrollbar { display: none; }
  .stepper a span { display: inline; }
  .stepper a { white-space: nowrap; }
  .diag { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .topbar .topbar-full { display: none; }
  .hero-copy .cta-row .btn, .page-hero .cta-row .btn, .cta-final .cta-row .btn { width: 100%; }
  .window-body { grid-template-columns: 1fr; min-height: 0; }
  .app-rail { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kanban { grid-template-columns: repeat(4, 160px); overflow-x: auto; }
  .squad { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plan { padding: 26px; }
  .decide-card, .versus-card { padding: 24px; }
  .hide-sm { display: none !important; }
  .faq-list .faq-a { padding-right: 0; }
}
.mobile-cta { display: none; }

/* -------------------------------------------------------------------------- */
/* Padrões do app reproduzidos nos mockups                                    */
/* -------------------------------------------------------------------------- */
.window-label { margin-left: auto; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--w-text-3); }
.ctx-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--w-line); font-size: 11.5px; color: var(--w-text-2); }
.ctx-pill b { color: var(--w-text); font-weight: 600; }
.agent-btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 4px; border-radius: 10px; border: 1px solid rgba(59,130,246,.35); background: rgba(59,130,246,.08); font-size: 12px; font-weight: 600; color: var(--w-text); }
.agent-btn img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
/* Card de ações do agente (AgenteAcoesCard): verbo em negrito, detalhe, motivo e "Aplicar" */
.acoes { display: flex; flex-direction: column; gap: 6px; }
.acao { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 9px 11px; border-radius: 10px; background: rgba(45,212,191,.05); border: 1px solid rgba(45,212,191,.18); font-size: 12.5px; }
.acao b { font-weight: 600; color: var(--w-text); }
.acao .det { display: block; color: var(--w-text-2); font-size: 11.5px; margin-top: 2px; }
.acao .why { display: block; color: var(--w-text-3); font-size: 11px; margin-top: 2px; }
.aplicar { height: 26px; padding: 0 11px; border-radius: 8px; font-size: 11.5px; font-weight: 600; background: rgba(45,212,191,.14); color: var(--teal-bright); white-space: nowrap; display: inline-flex; align-items: center; }
.acao.done { opacity: .6; }
.acao.done .aplicar { background: rgba(255,255,255,.06); color: var(--w-text-3); }
.js .acao-live .aplicar { animation: aplicar 6s ease-in-out infinite; }
@keyframes aplicar { 0%, 55% { background: rgba(45,212,191,.14); color: var(--teal-bright); } 60% { background: var(--teal-bright); color: #042F2E; } 70%, 100% { background: rgba(255,255,255,.06); color: var(--w-text-3); } }
.leia-chip { background: rgba(139,92,246,.16); color: #C4B5FD; }
.mono { font-family: 'JetBrains Mono', var(--mono); font-size: 11.5px; letter-spacing: -0.01em; }

/* Mapa da Demanda (cartograma de UFs) */
.tilemap { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.tilemap span { aspect-ratio: 1; border-radius: 6px; display: grid; place-items: center; font-size: 10px; font-weight: 600; color: rgba(244,244,245,.75); background: color-mix(in srgb, #2DD4BF var(--h, 8%), #18181B); transition: transform .3s ease; }
.tilemap span.hot { color: #042F2E; }
.tilemap span:empty { background: transparent; }
.ramp { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--w-text-3); margin-top: 10px; }
.ramp i { width: 18px; height: 6px; border-radius: 3px; }
.big-num { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--w-text); }

/* Player do audiocast */
.player { border-radius: 14px; padding: 14px; background: radial-gradient(120% 140% at 0% 0%, rgba(45,212,191,.18), transparent 60%), radial-gradient(120% 140% at 100% 100%, rgba(59,130,246,.16), transparent 60%), #111114; border: 1px solid var(--w-line); }
.player-top { display: flex; align-items: center; gap: 10px; }
.duo { display: flex; }
.duo .ag + .ag { margin-left: -9px; }
.wave { display: flex; align-items: center; gap: 2px; height: 34px; margin: 12px 0 8px; }
.wave i { flex: 1; border-radius: 2px; background: rgba(255,255,255,.18); }
.wave i.on { background: #2DD4BF; }
.player-ctl { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 11px; color: var(--w-text-2); }
.play { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2DD4BF, #3B82F6); color: #042F2E; }
.no-ar { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; color: var(--teal-bright); }
.no-ar .dot { animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

@media (max-width: 640px) {
  .app-main [style*="grid-template-columns"], .wa-grid { grid-template-columns: 1fr !important; }
  .stage-fact { margin: -20px 12px 0 auto; }
}

/* Plano Radar (Pro + Radar): destaque na cor da etapa Demanda */
.plan-radar {
  position: relative;
  border-color: color-mix(in srgb, var(--c-demanda) 55%, white);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c-demanda) 25%, transparent), 0 30px 60px -30px color-mix(in srgb, var(--c-demanda) 45%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c-demanda) 7%, white), var(--white) 40%);
}
.plan-radar .plan-badge { background: var(--c-demanda); color: var(--ink); }
.plan-radar .plan-features li::before { color: #B45309; }
.btn-radar { color: var(--ink); background: linear-gradient(180deg, #FBBF24, var(--c-demanda)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 24px -8px rgba(245,158,11,.6); }
.btn-radar:hover { transform: translateY(-1px); }

/* Setup com o nosso time (opcional, pagamento único) */
.setup {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 28px 32px;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.setup-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); }
.setup-icon svg { width: 28px; height: 28px; }
.setup h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.setup h3 small { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.setup p { margin: 6px 0 12px; color: var(--text-2); font-size: 15.5px; }
.setup ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.setup li { display: inline-flex; gap: 8px; font-size: 14.5px; color: var(--text-2); }
.setup li::before { content: "✓"; color: var(--teal); font-weight: 700; }
.setup-price { text-align: right; }
.setup-price b { display: block; font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.setup-price span { display: block; margin: 6px 0 14px; font-size: 13.5px; color: var(--text-3); }
.plan-addon { margin-top: 14px; font-size: 13.5px; color: var(--text-3); }
.plan.featured .plan-addon { color: var(--on-ink-3); }
.plan-addon a { font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .setup { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .setup-price { text-align: left; }
}
