/* ============================================================
   LGD+ · Órbita
   Duas peles na mesma estrutura: claro (vidro canelado, um azul)
   e escuro (nebulosa, orbe de vidro). Troca via html[data-theme].
   ============================================================ */

/* ---------- tokens ------------------------------------------ */
:root {
  --blue:       #0047FF;
  --blue-hover: #0038CC;
  --blue-400:   #4D85FF;
  --blue-200:   #B3C9FF;

  --font: 'Figtree', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --max-w: 1180px;
  --pad-x: clamp(20px, 5vw, 64px);
  --r-card: 20px;
  --r-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

:root,
html[data-theme="claro"] {
  --bg:        #F5F7FB;
  --ink:       #0B1220;
  --text:      #4B5563;
  --muted:     #6B7280;
  --line:      rgba(11, 18, 32, .09);
  --line-2:    rgba(11, 18, 32, .16);
  --accent:    var(--blue);          /* texto e número em destaque */
  --glass:     rgba(255, 255, 255, .62);
  --glass-2:   rgba(255, 255, 255, .82);
  --glass-bd:  rgba(255, 255, 255, .95);
  --glass-sh:  0 1px 0 rgba(255,255,255,.9) inset, 0 20px 50px -24px rgba(11, 18, 32, .22);
  --chip-bg:   rgba(255, 255, 255, .86);
  --field:     rgba(255, 255, 255, .9);
  --cost:      #8A94A6;
  color-scheme: light;
}

html[data-theme="escuro"] {
  --bg:        #04060B;
  --ink:       #EEF2F8;
  --text:      #A3AEC2;
  --muted:     #6F7B91;
  --line:      rgba(255, 255, 255, .08);
  --line-2:    rgba(255, 255, 255, .16);
  --accent:    var(--blue-400);
  --glass:     rgba(255, 255, 255, .035);
  --glass-2:   rgba(255, 255, 255, .06);
  --glass-bd:  rgba(255, 255, 255, .09);
  --glass-sh:  0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -30px rgba(0, 0, 0, .8);
  --chip-bg:   rgba(12, 18, 32, .78);
  --field:     rgba(255, 255, 255, .05);
  --cost:      #5B6679;
  color-scheme: dark;
}

/* ---------- base -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

/* ---------- tipografia -------------------------------------- */
.display {
  font-weight: 800;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.05em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.h2 {
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -.045em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.h2--xl { font-size: clamp(36px, 5vw, 68px); }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--text); max-width: 34em; margin: 0 0 30px; text-wrap: pretty; }
.body { color: var(--text); max-width: 36em; margin: 0 0 16px; text-wrap: pretty; }
.note { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 14px 0 0; max-width: 42em; }
.kicker {
  font: 500 11px/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  display: inline-flex; gap: 10px; align-items: center;
}
.kicker b { color: var(--accent); font-weight: 500; }
.cta-note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

/* ---------- botões ------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s;
}
.btn:active { transform: scale(.97); }
.btn--primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(0, 71, 255, .6), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { background: var(--blue-hover); }
.btn--ghost { background: var(--glass-2); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn--lg { min-height: 58px; padding: 16px 34px; font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* ---------- fundo vivo -------------------------------------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg__tex {
  position: absolute; inset: 0;
  /* a textura só aparece no escuro com o fundo galáxia; nos outros casos nem é baixada */
  background: center / cover no-repeat;
  opacity: .0; transition: opacity .6s;
}
.bg__blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
  transition: background .6s;
}
.bg__blob--a { width: 46vw; height: 60vh; right: -8vw; top: -10vh; background: rgba(0, 71, 255, .42); transform: translate3d(0, calc(var(--sy, 0) * -18vh), 0); }
.bg__blob--b { width: 34vw; height: 50vh; left: -10vw; top: 40vh; background: rgba(77, 133, 255, .30); transform: translate3d(0, calc(var(--sy, 0) * -30vh), 0); }
.bg__blob--c { width: 30vw; height: 40vh; right: 20vw; bottom: -20vh; background: rgba(0, 71, 255, .22); transform: translate3d(calc(var(--sy, 0) * -10vw), calc(var(--sy, 0) * -24vh), 0); }
/* vidro canelado: listras verticais de brilho e sombra */
.bg__reed {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.72) 0 1px,
      rgba(255,255,255,.18) 1px 5px,
      rgba(11,18,32,.035) 5px 7px,
      rgba(255,255,255,.35) 7px 9px,
      rgba(255,255,255,0) 9px 12px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.bg__grain {
  position: absolute; inset: -50%;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[data-theme="escuro"] .bg__tex { background-image: url("assets/img/textura-escuro.jpg"); opacity: .35; }
html[data-theme="escuro"] .bg__reed { opacity: 0; }
html[data-theme="escuro"] .bg__blob--a { background: rgba(0, 71, 255, .20); }
html[data-theme="escuro"] .bg__blob--b { background: rgba(0, 40, 160, .22); }
html[data-theme="escuro"] .bg__blob--c { background: rgba(77, 133, 255, .10); }
html[data-theme="escuro"] .bg__grain { opacity: .07; }

/* ---------- fundos alternativos do escuro (laboratório: ?lab=1) ----------
   galaxia (padrão) · aurora · grade · vidro · pontos · luz            */
.bg__fx { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
html[data-theme="escuro"][data-fundo]:not([data-fundo="galaxia"]) .bg__tex { opacity: 0; background-image: none; }

/* aurora: faixas de luz azul e ciano que respiram, sem estrelas */
html[data-theme="escuro"][data-fundo="aurora"] .bg__fx {
  opacity: 1;
  background:
    radial-gradient(60% 45% at 78% 18%, rgba(0, 71, 255, .45), transparent 70%),
    radial-gradient(50% 40% at 18% 72%, rgba(40, 110, 255, .30), transparent 70%),
    radial-gradient(40% 30% at 60% 88%, rgba(0, 190, 255, .16), transparent 70%),
    linear-gradient(180deg, #050814, #04060B 60%);
  filter: blur(20px) saturate(130%);
  animation: aurora 18s ease-in-out infinite alternate;
}
@keyframes aurora { to { transform: translate3d(-3%, 4%, 0) scale(1.08); } }

/* grade: piso em perspectiva com horizonte aceso */
html[data-theme="escuro"][data-fundo="grade"] .bg__fx {
  opacity: 1;
  background: radial-gradient(70% 40% at 50% 62%, rgba(0, 71, 255, .35), transparent 70%);
}
html[data-theme="escuro"][data-fundo="grade"] .bg__fx::after {
  content: ""; position: absolute; left: -50%; right: -50%; top: 58%; height: 90%;
  background-image:
    linear-gradient(rgba(77, 133, 255, .6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 133, 255, .6) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: 0 calc(var(--sy, 0) * 1200px);
  transform: perspective(600px) rotateX(68deg); transform-origin: top;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 75%); mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
}

/* vidro: o canelado do claro, versão noturna */
html[data-theme="escuro"][data-fundo="vidro"] .bg__reed {
  opacity: 1;
  background: repeating-linear-gradient(90deg,
    rgba(255,255,255,.07) 0 1px, rgba(255,255,255,.015) 1px 5px,
    rgba(0,0,0,.25) 5px 7px, rgba(255,255,255,.035) 7px 9px, rgba(0,0,0,0) 9px 12px);
}
html[data-theme="escuro"][data-fundo="vidro"] .bg__blob--a { background: rgba(0, 71, 255, .55); }
html[data-theme="escuro"][data-fundo="vidro"] .bg__blob--b { background: rgba(40, 100, 255, .38); }
html[data-theme="escuro"][data-fundo="vidro"] .bg__blob--c { background: rgba(0, 170, 255, .2); }

/* pontos: grade de pontos com um foco de luz */
html[data-theme="escuro"][data-fundo="pontos"] .bg__fx {
  opacity: 1;
  background-image: radial-gradient(rgba(160, 185, 255, .28) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 62% 45%, #000, transparent 80%); mask-image: radial-gradient(70% 70% at 62% 45%, #000, transparent 80%);
}

/* luz: preto limpo com um único foco azul atrás do chevron */
html[data-theme="escuro"][data-fundo="luz"] .bg__blob { opacity: 0; }
html[data-theme="escuro"][data-fundo="luz"] .bg__fx {
  opacity: 1;
  background:
    radial-gradient(38% 50% at 68% 46%, rgba(0, 71, 255, .42), rgba(0, 71, 255, .08) 55%, transparent 75%),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .7));
}

/* gráfico com painel (laboratório): mais contraste no escuro */
html[data-grafico="painel"] .chart {
  padding: 22px 22px 16px; border-radius: 24px;
  background: var(--glass-2); border: 1px solid var(--glass-bd); box-shadow: var(--glass-sh);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
html[data-theme="escuro"][data-grafico="painel"] .chart { background: rgba(10, 16, 32, .72); }
html[data-theme="escuro"][data-grafico="painel"] .chart__axis { stroke: #fff; stroke-opacity: .5; }
html[data-theme="escuro"][data-grafico="painel"] .chart__bars rect { fill: #B8C6E6; fill-opacity: .42; }
html[data-theme="escuro"][data-grafico="painel"] .chart__line { stroke: #7FA6FF; stroke-width: 5; filter: drop-shadow(0 0 12px rgba(77, 133, 255, .9)); }
html[data-theme="escuro"][data-grafico="painel"] .chart__dots circle { fill: #fff; stroke: #7FA6FF; }
html[data-theme="escuro"][data-grafico="painel"] .chart__legend { color: #C9D4EA; }

/* painel do laboratório */
.lab {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(340px, calc(100vw - 32px));
  padding: 14px 16px 16px; border-radius: 18px;
  background: rgba(10, 14, 26, .88); color: #E7ECF6; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font: 500 13px/1.3 var(--font);
}
.lab__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font: 500 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #8FA3C8; }
.lab__head button { background: none; border: 0; color: #8FA3C8; cursor: pointer; font: inherit; }
.lab__row { margin-top: 10px; }
.lab__label { display: block; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #8FA3C8; margin-bottom: 6px; }
.lab__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.lab__opts button {
  border: 1px solid rgba(255,255,255,.16); background: transparent; color: #E7ECF6; border-radius: 999px;
  padding: 6px 11px; font: 500 12px/1 var(--font); cursor: pointer;
}
.lab__opts button[aria-pressed="true"] { background: #0047FF; border-color: #0047FF; }
.lab.is-min .lab__row { display: none; }

/* ---------- vidro ------------------------------------------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-card);
  box-shadow: var(--glass-sh);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.glass--strong { background: var(--glass-2); }

/* ---------- header ------------------------------------------ */
.header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 12px;
  pointer-events: none;
}
.header__pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: var(--glass-2);
  border: 1px solid var(--glass-bd);
  box-shadow: var(--glass-sh);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.mark { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; margin-right: 10px; }
.mark__word { font-weight: 800; font-size: 22px; letter-spacing: -.055em; line-height: 1; }
.mark__chev { width: 17px; height: 17px; stroke: var(--blue); }
html[data-theme="escuro"] .mark__chev { stroke: var(--blue-400); }
.nav { display: flex; gap: 2px; }
.nav a {
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--text);
  padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: var(--line); }

.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 12px 6px 6px; cursor: pointer; min-height: 40px;
  font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text);
}
.theme-toggle__track {
  width: 34px; height: 20px; border-radius: 999px; background: var(--line-2);
  position: relative; transition: background-color .3s;
}
.theme-toggle__dot {
  position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .35s var(--ease);
}
html[data-theme="escuro"] .theme-toggle__track { background: var(--blue); }
html[data-theme="escuro"] .theme-toggle__dot { transform: translateX(14px); }
.theme-toggle__txt[data-when="escuro"] { display: none; }
html[data-theme="escuro"] .theme-toggle__txt[data-when="escuro"] { display: inline; }
html[data-theme="escuro"] .theme-toggle__txt[data-when="claro"] { display: none; }
.theme-toggle__ico { display: none; width: 18px; height: 18px; }

/* ============================================================
   ÓRBITA
   ============================================================ */
.orbita { position: relative; }

.stage-wrap { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  pointer-events: none;
}
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s ease; }
.stage__canvas.is-on { opacity: 1; }

/* imagem estática quando não há WebGL ou movimento reduzido */
.stage__poster {
  position: absolute; display: none;
  width: min(40vmin, 440px); aspect-ratio: 1;
  right: 12%; top: 50%; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23B3C9FF'/%3E%3Cstop offset='.5' stop-color='%230047FF'/%3E%3Cstop offset='1' stop-color='%234D85FF'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M8 6 L30 20 L8 34' fill='none' stroke='url(%23g)' stroke-width='8' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 20px 60px rgba(0, 71, 255, .35));
}
.no-webgl .stage__poster, .no-motion .stage__poster { display: block; }
.no-webgl .stage__canvas, .no-motion .stage__canvas { display: none; }

/* chips dos fragmentos, posicionados pelo orbita.js */
.chips { position: absolute; inset: 0; }
.chip {
  position: absolute; left: 0; top: 0;
  font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px;
  background: var(--chip-bg); border: 1px solid var(--line-2); color: var(--text);
  white-space: nowrap; will-change: transform, opacity;
  opacity: 0;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 8px; }
.chip .ico { width: 16px; height: 16px; color: var(--accent); flex: none; }
.no-motion .chips, .no-webgl .chips { display: none; }

.ico { display: block; width: 20px; height: 20px; }

/* abertura em CSS: começa na primeira pintura, sem esperar nenhum JavaScript.
   Manchete palavra por palavra (--i vem do HTML), depois kicker, frase e botão,
   e por fim as ferramentas chegam separadas e se conectam. */
@property --link { syntax: "<number>"; inherits: true; initial-value: 1; }
@keyframes abre-sobe { from { opacity: 0; transform: translateY(var(--de, 40px)); } }
@keyframes abre-junta { from { opacity: 0; transform: translateX(var(--dx, 0)) scale(.6); } }
@keyframes abre-liga { from { --link: 0; } to { --link: 1; } }
.chapter--hero .display .w { display: inline-block; }
html.js:not(.no-motion) .chapter--hero .display .w { animation: abre-sobe 1s cubic-bezier(.215, .61, .355, 1) calc(.2s + var(--i, 0) * .05s) both; }
html.js:not(.no-motion) .chapter--hero :is(.kicker, .lede, .btn-row) { --de: 20px; animation: abre-sobe .9s cubic-bezier(.215, .61, .355, 1) .6s both; }
html.js:not(.no-motion) .chapter--hero .lede { animation-delay: .7s; }
html.js:not(.no-motion) .chapter--hero .btn-row { animation-delay: .8s; }
html.js:not(.no-motion) .chapter--hero .tools__i { animation: abre-junta 1s cubic-bezier(.175, .885, .32, 1.275) 1.1s both; }
html.js:not(.no-motion) .chapter--hero .tools__i:nth-child(1) { --dx: -60px; }
html.js:not(.no-motion) .chapter--hero .tools__i:nth-child(2) { --dx: -30px; animation-delay: 1.17s; }
html.js:not(.no-motion) .chapter--hero .tools__i:nth-child(3) { animation-delay: 1.24s; }
html.js:not(.no-motion) .chapter--hero .tools__i:nth-child(4) { --dx: 30px; animation-delay: 1.31s; }
html.js:not(.no-motion) .chapter--hero .tools__i:nth-child(5) { --dx: 60px; animation-delay: 1.38s; }
html.js:not(.no-motion) .chapter--hero .tools { animation: abre-liga .8s cubic-bezier(.455, .03, .515, .955) 1.8s both; }

/* ferramentas na frase de abertura: se aproximam e se conectam */
.tools {
  display: inline-flex; align-items: center; vertical-align: middle;
  position: relative; margin: 0 .15em; padding: 0 2px; top: -.08em;
}
.tools::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 2px; margin-top: -1px;
  background: linear-gradient(90deg, var(--blue-200), var(--blue), var(--blue-200));
  transform-origin: left; transform: scaleX(var(--link, 1));
}
.tools__i {
  position: relative; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  margin-left: -6px;
  background: var(--glass-2); border: 1px solid var(--glass-bd);
  box-shadow: 0 6px 16px -8px rgba(0, 71, 255, .5);
  color: var(--accent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tools__i:first-child { margin-left: 0; }
.tools__i .ico { width: 17px; height: 17px; }
html[data-theme="escuro"] .tools__i { background: rgba(20, 30, 55, .8); }

/* gráfico da cena 3: eixos, barras de custo caindo e linha de horas subindo */
.chart {
  position: absolute; left: 50%; width: 42%; top: 20%; height: 56%;
  opacity: 0; display: flex; flex-direction: column; gap: 12px;
}
.chart svg { flex: 1; width: 100%; overflow: visible; }
.chart__grid path { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 6; fill: none; vector-effect: non-scaling-stroke; }
.chart__axis { fill: none; stroke: var(--ink); stroke-opacity: .35; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.chart__bars rect { fill: var(--cost); fill-opacity: .35; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
html[data-theme="escuro"] .chart__bars rect { fill: #7C8AA5; fill-opacity: .3; }
.chart__line { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(0,71,255,.5)); }
html[data-theme="escuro"] .chart__line { stroke: var(--blue-400); }
.chart__dots circle { fill: var(--bg); stroke: var(--blue); stroke-width: 2.5; opacity: 0; transition: opacity .2s; }
html[data-theme="escuro"] .chart__dots circle { stroke: var(--blue-400); }
.chart__legend { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: 0; padding-left: 20px; }
.chart__legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart__legend em { font-style: normal; margin-left: auto; opacity: .7; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.sw--cost { background: var(--cost); opacity: .5; }
.sw--time { background: var(--blue); height: 4px; border-radius: 2px; }

/* logo que se forma no centro no fechamento */
.finale-logo {
  position: absolute; left: 50%; top: 26%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: .02em;
  font: 800 clamp(72px, 11vw, 150px)/1 var(--font); letter-spacing: -.055em; color: var(--ink);
  opacity: 0; pointer-events: none;
}
.finale-logo__word { display: block; will-change: transform; }
.finale-logo__chev { width: .72em; height: .72em; stroke: var(--blue); opacity: 0; filter: drop-shadow(0 0 18px rgba(0,71,255,.45)); }
html[data-theme="escuro"] .finale-logo__chev { stroke: var(--blue-400); }

/* chevron do cabeçalho acende quando a peça pousa nele */
.header .mark__chev { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), filter .5s; }
.header .mark.is-docked .mark__chev { transform: scale(1.45); filter: drop-shadow(0 0 8px rgba(0, 71, 255, .8)); }

/* trilho de progresso */
.rail {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0; display: grid; gap: 10px;
}
.rail li { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background-color .3s, transform .3s; }
.rail li.is-on { background: var(--accent); transform: scale(1.6); }

/* capítulos rolam por cima do palco */
.chapter {
  position: relative; z-index: 2;
  min-height: 65vh;
  display: flex; align-items: center;
  max-width: var(--max-w); margin: 0 auto; padding: 5vh var(--pad-x);
}
.chapter--hero { min-height: 100vh; padding-top: 16vh; }
.chapter--final { min-height: 75vh; justify-content: center; align-items: flex-end; padding-bottom: 10vh; }
.chapter__card { width: min(560px, 100%); }
.chapter__card--wide { width: min(600px, 100%); }
.chapter__card--center { text-align: center; width: min(820px, 100%); }
.chapter--hero .chapter__card { width: min(700px, 100%); }
.chapter:not(.chapter--hero):not(.chapter--final) .chapter__card {
  padding: clamp(24px, 3vw, 40px);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  border-radius: 28px;
  box-shadow: var(--glass-sh);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 4vh; transform: translateX(-50%);
  font: 500 10px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  display: grid; justify-items: center; gap: 10px; margin: 0;
}
.scroll-cue span { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* números */
.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 24px; }
.stat { display: grid; gap: 6px; }
.stat__n {
  font-weight: 800; font-size: clamp(46px, 5.4vw, 72px); line-height: .95; letter-spacing: -.055em;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.stat__n i, .ledger__n i { font-style: normal; color: var(--accent); }
.stat__n small, .ledger__n small { font-size: .42em; letter-spacing: -.02em; color: var(--text); font-weight: 700; }
.stat__l { font: 500 11px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* calculadora */
.calc { display: grid; gap: 22px; margin-top: 8px; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.field__top label, .rate label { font-weight: 600; font-size: 15px; }
.field__read { font-weight: 800; font-size: 26px; letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.field__read small { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--blue) var(--fill, 26%), var(--line-2) var(--fill, 26%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--blue); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 4px 14px rgba(0,71,255,.4); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.scale { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); color: var(--muted); margin-top: 4px; }
.rate { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rate__box { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 999px; background: var(--field); border: 1px solid var(--line-2); color: var(--muted); }
.rate__box input { width: 64px; border: 0; background: transparent; font-weight: 700; font-size: 18px; color: var(--ink); padding: 8px 0; text-align: right; }
.rate__box input:focus { outline: none; }
.rate__box:focus-within { border-color: var(--accent); }
.rate__cap { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--accent); }
/* número grande nunca empurra o cartão para fora da tela */
.chapter__card, .calc, .calc__out, .calc__row > div { min-width: 0; }
.calc__value, .calc__row > div > span:last-child { overflow-wrap: anywhere; }
.calc__out { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 16px; }
.calc__label { display: block; font: 500 11px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.calc__value { font-weight: 800; font-size: clamp(44px, 5vw, 64px); letter-spacing: -.055em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.calc__row > div > span:last-child { font-weight: 700; font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ============================================================
   SEÇÕES
   ============================================================ */
.section { position: relative; padding: clamp(32px, 4.5vw, 64px) 0; }
.split-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px 60px; align-items: end; margin-bottom: 32px; }
.split-head .body { margin: 0 0 18px; }

/* ledger de números (estilo tabela) */
.ledger { padding: 8px clamp(16px, 3vw, 36px); }
.ledger__row {
  display: grid; grid-template-columns: minmax(170px, 1fr) 1fr 1.4fr; gap: 20px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.ledger__row:last-child { border-bottom: 0; }
.ledger__n { font-weight: 800; font-size: clamp(40px, 4.6vw, 60px); letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.ledger__k { font-weight: 700; font-size: 17px; }
.ledger__d { color: var(--text); font-size: 15px; }

/* galeria horizontal */
.gallery { position: relative; padding: clamp(60px, 8vw, 110px) 0; }
.gallery__pin { overflow: hidden; }
.gallery__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 60px; align-items: end; margin-bottom: 40px; }
.gallery__track {
  display: flex; gap: 22px; align-items: center;
  padding: 10px var(--pad-x) 30px;
  width: max-content;
  will-change: transform;
}
.shot { margin: 0; flex: 0 0 auto; width: clamp(280px, 34vw, 500px); }
.shot--tall { width: clamp(240px, 24vw, 360px); }
.shot__img {
  border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, var(--glass-2), rgba(0,71,255,.18));
  border: 1px solid var(--glass-bd); box-shadow: var(--glass-sh);
}
.shot--tall .shot__img { aspect-ratio: 4 / 5; }
.shot__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.shot figcaption {
  display: inline-block; margin-top: 14px; padding: 7px 12px; border-radius: 999px;
  font-size: 13px; color: var(--text); background: var(--glass-2); border: 1px solid var(--glass-bd);
}

/* ============================================================
   SEÇÕES HORIZONTAIS (a página alterna vertical e horizontal)
   Desktop: a seção fica presa e o trilho anda para o lado.
   Mobile e sem movimento: trilho com swipe nativo.
   ============================================================ */
.hsec { position: relative; padding: clamp(60px, 8vw, 110px) 0; }
.hsec__pin { overflow: hidden; }
.hsec__track {
  display: flex; gap: 22px; align-items: stretch;
  padding: 10px var(--pad-x) 30px; width: max-content; will-change: transform;
}
.step--panel {
  position: relative; overflow: hidden; flex: 0 0 auto;
  width: clamp(320px, 52vw, 720px); min-height: min(52vh, 460px);
  padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column;
}
.step--panel .step__num {
  position: absolute; right: -.04em; bottom: -.22em;
  font: 800 clamp(160px, 22vw, 300px)/1 var(--font); letter-spacing: -.06em;
  color: var(--accent); opacity: .08; pointer-events: none;
}
.step--panel p { font-size: clamp(16px, 1.3vw, 19px); max-width: 30em; }
.step--panel .kicker { font-size: 12px; }

/* carrossel 3D de "quem faz" */
.about-head { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; align-items: end; margin-bottom: 30px; }
.about-head .kicker { grid-column: 1 / -1; }
.about-head .h2 { grid-column: 1; }
.about-head .body, .about-head .note { grid-column: 2; }
.about-head .note { margin-top: 0; }
.hsec--cover .hsec__track {
  perspective: 1400px; perspective-origin: 50% 50%; padding-top: 20px; padding-bottom: 50px;
  /* começa e termina com um cartão no centro */
  padding-left: calc(50vw - clamp(130px, 15vw, 200px)); padding-right: calc(50vw - clamp(130px, 15vw, 200px));
}
.fact--card {
  flex: 0 0 auto;
  width: clamp(260px, 30vw, 400px); min-height: 230px; padding: 30px;
  display: flex; flex-direction: column; justify-content: space-between;
  transform-style: preserve-3d; will-change: transform;
}
.fact--card .kicker { font-size: 12px; margin-bottom: 18px; }
.fact--card p { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.4; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }

/* ---------- prova no hero, CTA da calculadora e caso ---------- */
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 22px 0 0; font-size: 14px; color: var(--text); }
.proof b { color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.proof i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); display: inline-block; }
.calc__cta { justify-self: start; margin-top: 4px; }
.case { margin: 22px 0 0; padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: auto 1fr; gap: 6px 40px; align-items: center; }
.case .kicker { grid-column: 1 / -1; margin-bottom: 6px; }
.case__q { margin: 0; font-weight: 800; font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -.05em; line-height: 1; }
.case__n { color: var(--accent); }
.case figcaption { color: var(--text); font-size: clamp(16px, 1.3vw, 19px); max-width: 32em; }
.case figcaption b { color: var(--ink); }

/* ---------- o que entregamos ---------- */
.h3 { font-weight: 800; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 12px; text-wrap: balance; }
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.offer-card { padding: clamp(24px, 2.6vw, 34px); }
.offer-card p { color: var(--text); margin: 0; }
.offer-card--hero { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr minmax(280px, 380px); gap: 40px; align-items: center; }
.offer-card--hero .h3 { font-size: clamp(26px, 2.6vw, 36px); }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticks b { color: var(--ink); }

/* celular com a conversa */
.phone {
  border-radius: 34px; padding: 12px; background: var(--glass-2); border: 1px solid var(--glass-bd);
  box-shadow: var(--glass-sh), 0 30px 60px -30px rgba(0, 71, 255, .45);
}
.phone__bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px 12px; font-size: 14px; border-bottom: 1px solid var(--line); }
.phone__bar small { color: var(--muted); font-size: 12px; margin-left: auto; }
.phone__dot { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9FBAFF, #0047FF 70%); flex: none; }
.phone__chat { display: flex; flex-direction: column; gap: 8px; padding: 14px 6px 8px; min-height: 380px; }
.msg { margin: 0; max-width: 86%; padding: 9px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.msg--bot { align-self: flex-start; background: var(--field); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg--me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.msg--typing { align-self: flex-start; display: inline-flex; gap: 4px; background: var(--field); border: 1px solid var(--line); }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.phone__note { margin: 4px 0 2px; text-align: center; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
/* com JS e movimento, as mensagens entram uma a uma (motion.js) */
.js:not(.no-motion) .phone .msg { opacity: 0; transform: translateY(10px) scale(.97); }

/* problemas */
.pains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pains li { padding: 26px; display: grid; gap: 14px; align-content: start; min-height: 210px; }
.pains__n { font: 500 12px/1 var(--mono); color: var(--accent); letter-spacing: .1em; }
.pains p { margin: 0; font-weight: 700; font-size: 19px; line-height: 1.3; letter-spacing: -.02em; }
.tag { align-self: end; justify-self: start; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); }

/* etapas */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 30px; display: grid; gap: 4px; align-content: start; }
.step p { margin: 0 0 14px; color: var(--text); }
.step .kicker { margin-bottom: 16px; }
.step__out { border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto !important; font-size: 15px; }
.step__out b { color: var(--ink); display: block; font-size: 13px; margin-bottom: 4px; }

/* oferta */
.offer { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; padding: clamp(28px, 4vw, 56px); position: relative; overflow: hidden; }
.offer::before {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,71,255,.35), transparent 70%); filter: blur(10px); pointer-events: none;
}
.offer__main { position: relative; }
.offer__nums { display: flex; gap: 40px; margin: 24px 0 30px; }
.offer__n { display: block; font-weight: 800; font-size: 34px; letter-spacing: -.045em; line-height: 1.1; color: var(--accent); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; align-content: center; position: relative; }
.checks li { padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 19px; width: 8px; height: 8px;
  border-right: 2px solid var(--accent); border-top: 2px solid var(--accent); transform: rotate(45deg);
}

/* sobre */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; align-items: start; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { padding: 22px; }
.fact .kicker { margin-bottom: 10px; color: var(--accent); }
.fact p { margin: 0; font-size: 15px; color: var(--text); }

/* fit */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit__col { padding: 30px; }
.fit__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.fit__col li { padding-left: 26px; position: relative; }
.fit__col li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--accent); }
.fit__col--no li { color: var(--text); }
.fit__col--no li::before { background: var(--muted); }
.kicker--yes { color: var(--accent); }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px 64px; align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq details { padding: 0 24px; border-radius: 16px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 30px 20px 0; font-weight: 700; font-size: 17px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 22px; color: var(--text); }

/* contato */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px 56px; padding: clamp(28px, 4vw, 56px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__field { display: grid; gap: 6px; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-size: 14px; font-weight: 600; }
.req { color: var(--accent); }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  background: var(--field); border: 1px solid var(--line-2);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,71,255,.14); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.consent input { margin-top: 4px; accent-color: var(--blue); width: 18px; height: 18px; }
.consent label { font-weight: 400; }
.form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__foot .cta-note { margin: 0; }
.form-status { padding: 12px 16px; border-radius: 12px; background: rgba(0,71,255,.08); border: 1px solid rgba(0,71,255,.25); font-size: 14px; }
.form-status--warn { background: rgba(194,65,12,.08); border-color: rgba(194,65,12,.3); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* rodapé */
.footer { padding: 40px 0 50px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__nav a { text-decoration: none; color: var(--text); font-size: 14px; }
.footer__nav a:hover { color: var(--ink); }
.footer__copy { margin: 0; color: var(--muted); font-size: 13px; }
.footer__copy a { color: var(--text); }
.footer__legal { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; flex-basis: 100%; overflow-wrap: anywhere; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--text); }
.footer__contact li { display: inline-flex; align-items: center; gap: 7px; }
.footer__contact .ico { width: 17px; height: 17px; color: var(--accent); flex: none; }
.footer__contact a { color: var(--ink); text-decoration: none; }
.footer__contact a:hover { color: var(--accent); }
.footer__inner--bottom { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }

/* revelação suave (motion.js liga) */
.js:not(.no-motion) .reveal { opacity: 0; transform: translateY(26px); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1000px) {
  .nav { display: none; }
  .pains, .steps { grid-template-columns: 1fr 1fr; }
  .offer, .about, .faq, .contact { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header { top: 10px; }
  .header__pill { padding-left: 14px; gap: 6px; }
  .header .btn--sm { padding: 8px 14px; font-size: 13px; }
  /* celular: botão redondo com ícone (lua no escuro, sol no claro) no lugar do trilho sem rótulo */
  .theme-toggle { padding: 0; width: 38px; min-height: 38px; justify-content: center; color: var(--ink); }
  .theme-toggle__txt, .theme-toggle__track { display: none !important; }
  html[data-theme="escuro"] .theme-toggle__ico--moon, html:not([data-theme="escuro"]) .theme-toggle__ico--sun { display: block; }

  .stage__poster { right: 50%; top: 24%; transform: translate(50%, -50%); width: 52vw; }
  .chart { left: 6%; width: 88%; top: 10%; height: 34%; }
  .finale-logo { top: 30%; }

  .chapter { min-height: 75vh; align-items: flex-end; padding: 30vh var(--pad-x) 3vh; }
  .chapter:not(.chapter--hero):not(.chapter--final) .chapter__card {
    padding: 22px; border-radius: 22px;
    backdrop-filter: blur(7px) saturate(140%); -webkit-backdrop-filter: blur(7px) saturate(140%);
  }
  html[data-theme="claro"] .chapter:not(.chapter--hero):not(.chapter--final) .chapter__card { background: rgba(255,255,255,.74); }
  html[data-theme="escuro"] .chapter:not(.chapter--hero):not(.chapter--final) .chapter__card { background: rgba(6,10,20,.55); }
  .chapter .body { font-size: 15px; }
  .stat__n { font-size: 44px; }
  .chapter--hero { align-items: flex-end; padding-top: 44vh; padding-bottom: 12vh; min-height: 100vh; }
  /* abertura no celular: sem etiquetas flutuantes e texto sobre vidro fosco, como os outros cartões */
  .chips { display: none; }
  .chapter--hero .chapter__card {
    padding: 22px; border-radius: 22px; margin-inline: -6px;
    backdrop-filter: blur(8px) saturate(140%); -webkit-backdrop-filter: blur(8px) saturate(140%);
    border: 1px solid var(--glass-bd);
  }
  html[data-theme="claro"] .chapter--hero .chapter__card { background: rgba(255,255,255,.74); }
  html[data-theme="escuro"] .chapter--hero .chapter__card { background: rgba(6,10,20,.58); }
  .chapter--final { padding-top: 46vh; min-height: 80vh; }
  .chapter__card--wide { width: 100%; }
  .rail { display: none; }
  .scroll-cue { display: none; }


  .split-head, .gallery__head { grid-template-columns: 1fr; margin-bottom: 32px; }
  .pains, .steps, .fit, .facts { grid-template-columns: 1fr; }
  .pains li { min-height: 0; }
  .ledger__row { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .calc__row { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .calc__row > div > span:last-child { font-size: 15px; }
  .form { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .offer-card--hero { grid-template-columns: 1fr; gap: 24px; }
  .case { grid-template-columns: 1fr; }
  .phone__chat { min-height: 0; }
  .offer__nums { gap: 24px; }

  .gallery__pin { overflow: visible; }
  .hsec__pin { overflow: visible; }
  .hsec__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hsec__track::-webkit-scrollbar { display: none; }
  .step--panel { width: 84vw; min-height: 0; scroll-snap-align: center; }
  .fact--card { width: 76vw; scroll-snap-align: center; }
  .hsec--cover .hsec__track { padding-left: var(--pad-x); padding-right: var(--pad-x); perspective: none; }
  .about-head { grid-template-columns: 1fr; }
  .about-head .h2, .about-head .body, .about-head .note { grid-column: 1; }
  .gallery__track {
    width: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery__track::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: center; width: 78vw; }
  .shot--tall { width: 64vw; }
}

/* ============================================================
   COPY V2 (23/09): treinamento largo, tabela da mudança,
   fundador com foto, etapas do formulário, convite flutuante
   ============================================================ */
.offer-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px 48px; align-items: center; }
.offer-card--wide .ticks { margin: 0; }

.shift { padding: clamp(10px, 1.6vw, 18px) clamp(20px, 3vw, 40px); }
.shift__row { display: grid; grid-template-columns: .6fr 1fr 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.shift__row:first-child { border-top: 0; }
.shift__row > span:first-child { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.shift__row > span:nth-child(2) { color: var(--muted); }
.shift__row > span:nth-child(3) { color: var(--ink); font-weight: 700; }
.shift__row--head > span { font: 500 12px/1.3 var(--mono) !important; letter-spacing: .08em; text-transform: uppercase; }
.shift__row--head > span:nth-child(3) { color: var(--accent) !important; }

.about-head--founder { grid-template-columns: auto 1fr; gap: 24px 56px; align-items: center; }
.about-head--founder .kicker, .about-head--founder .h2, .about-head--founder .body { grid-column: auto; }
.founder { margin: 0; display: grid; gap: 12px; justify-items: start; }
.founder__photo {
  position: relative; width: clamp(150px, 16vw, 220px); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  background: var(--glass-2); border: 1px solid var(--line); display: grid; place-items: center;
}
.founder__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: 1; }
.founder__initials { font-weight: 800; font-size: 44px; letter-spacing: -.04em; color: var(--accent); }
.founder figcaption { display: grid; gap: 2px; font-size: 15px; }
.founder figcaption span { color: var(--muted); font-size: 13px; }
.founder__copy .h2 { margin-bottom: 16px; }

.contact .ticks { margin-top: 22px; }
.form__step { margin: 8px 0 -4px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.form__step:first-of-type { margin-top: 0; }
.form__step b { color: var(--accent); font-weight: 500; margin-right: 6px; }

.nudge {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: min(360px, calc(100vw - 40px)); padding: 24px; border-radius: 22px;
  background: var(--bg); border: 1px solid var(--line-2); box-shadow: var(--glass-sh);
  transform: translateY(12px); opacity: 0; transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.nudge.is-on { transform: none; opacity: 1; }
.nudge__title { margin: 0 0 8px; font-weight: 800; font-size: 20px; line-height: 1.2; letter-spacing: -.03em; color: var(--ink); }
.nudge__body { margin: 0 0 18px; color: var(--text); font-size: 15px; }
.nudge__close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: 0; background: none; color: var(--muted); font-size: 22px; cursor: pointer; }
.nudge .btn { width: 100%; justify-content: center; }

@media (max-width: 760px) {
  .offer-card--wide { grid-template-columns: 1fr; }
  .shift__row { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .shift__row > span:first-child { grid-column: 1 / -1; }
  .shift__row--head > span:first-child { display: none; }
  .about-head--founder { grid-template-columns: 1fr; }
  /* celular: foto pequena à esquerda, nome e cargo ao lado */
  .founder { grid-template-columns: 88px 1fr; align-items: center; gap: 16px; }
  .founder__photo { width: 88px; border-radius: 18px; }
  .founder__initials { font-size: 28px; }
  .founder figcaption { font-size: 16px; }
  .nudge { right: 12px; left: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}

/* formulário em etapas (24/09) */
.form--steps { grid-template-columns: 1fr; gap: 18px; align-content: start; }
.steps-bar { display: flex; align-items: center; gap: 14px; }
.steps-bar__txt { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.steps-bar__txt b { color: var(--accent); font-weight: 500; }
.steps-bar__track { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.steps-bar__track i { display: block; height: 100%; width: 16.6%; background: var(--accent); border-radius: 4px; transition: width .45s var(--ease); }
.step-f { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.step-f[hidden] { display: none; }
.step-f__q { padding: 0; margin: 0 0 6px; grid-column: 1 / -1; font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -.035em; color: var(--ink); }
.step-f > legend.step-f__q { float: left; width: 100%; }
.form .label { font-size: 14px; font-weight: 600; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; cursor: pointer; font-weight: 500; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; font-size: 14px; color: var(--ink);
  background: var(--field); border: 1px solid var(--line-2); transition: border-color .2s, background-color .2s, color .2s;
}
.choices label:hover span { border-color: var(--accent); }
.choices input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.choices input[type="checkbox"] + span { padding-left: 42px; position: relative; }
.choices input[type="checkbox"] + span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 14px; height: 14px; margin-top: -8px; border: 1.5px solid var(--line-2); border-radius: 4px; background: var(--bg); }
.choices input[type="checkbox"]:checked + span::before { border-color: #fff; background: #fff; box-shadow: inset 0 0 0 3px var(--blue); }
.choices input:focus-visible + span { box-shadow: 0 0 0 4px rgba(0,71,255,.2); }
.choices--cards { display: grid; grid-template-columns: 1fr 1fr; }
.choices--cards span { display: block; border-radius: 14px; padding: 13px 16px; height: 100%; }
.step-done { display: grid; gap: 6px; padding: 8px 0; outline: none; }
.step-done[hidden], .steps-bar[hidden], .form__field[hidden] { display: none; }
.form__foot[hidden] { display: none; }
@media (max-width: 760px) {
  .step-f, .choices--cards { grid-template-columns: 1fr; }
}

/* marca em texto corrido: lgd + chevron (24/09) */
.brand { display: inline-flex; align-items: baseline; gap: .04em; font-weight: 800; letter-spacing: -.04em; color: var(--ink); white-space: nowrap; }
.brand__chev { width: .72em; height: .72em; stroke: var(--blue); align-self: center; }
html[data-theme="escuro"] .brand__chev { stroke: var(--blue-400); }
.offer-card__more { margin-top: 16px !important; padding-top: 14px; border-top: 1px solid var(--line); }
.ticks--sm { margin-top: 12px; gap: 8px; }
.ticks--sm li { font-size: 15px; }

.hsec[hidden] { display: none; }
/* cena com três números numa linha só */
.stats:has(.stat:nth-child(3)) { gap: 12px 26px; }
.stats:has(.stat:nth-child(3)) .stat__n { font-size: clamp(36px, 3.6vw, 52px); }
.stats:has(.stat:nth-child(3)) .stat__l { max-width: 11ch; }
/* números enxutos: só o resultado que se repete */
.section--tight { padding-block: clamp(24px, 3.5vw, 44px); }
.section--tight .case { margin-top: 0; }
/* hidden sempre esconde, mesmo em elementos com display próprio (.btn, .form__field...) */
[hidden] { display: none !important; }
/* formulário: uma coluna e começa fechado (24/09) */
.contact--single { grid-template-columns: 1fr; max-width: 780px; margin: 0 auto; gap: 26px; }
.contact--single .contact__copy .body { margin-bottom: 0; }
.form-start { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; }
.form-start .cta-note { margin: 0; }
.form--closed .steps-bar, .form--closed .step-f, .form--closed #form-foot, .form--closed #form-status { display: none !important; }
.form:not(.form--closed) .form-start { display: none; }
/* seletor de idioma (24/09) */
.lang-switch { font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
.lang-switch:hover { color: var(--ink); border-color: var(--accent); }
/* CTA intermediário e destaque de texto (24/09) */
.cta-band { margin-top: 22px; padding: clamp(22px, 2.6vw, 32px) clamp(22px, 3vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.cta-band > div { flex: 1 1 360px; }
.about-head--founder .cta-band { grid-column: 1 / -1; margin-top: 12px; }
.cta-band .kicker { margin-bottom: 8px; }
.cta-band__t { margin: 0; font-weight: 800; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; letter-spacing: -.03em; color: var(--ink); }
.cta-band__note { margin: 6px 0 0; color: var(--text); font-size: 15px; }
mark.hl { background: rgba(0, 71, 255, .12); color: var(--ink); font-weight: 600; padding: .05em .2em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
html[data-theme="escuro"] mark.hl { background: rgba(111, 155, 255, .18); }
.founder__copy .body + .body { margin-top: 12px; }
.about-head--founder { align-items: start; }

/* o que podemos fazer: grade compacta com mini ilustrações (24/09) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc { padding: 14px 14px 22px; display: flex; flex-direction: column; }
.svc--main { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.svc .kicker { margin: 16px 8px 8px; }
.svc .h3 { margin: 0 8px 8px; font-size: clamp(18px, 1.5vw, 21px); }
.svc > p:last-child { margin: 0 8px; color: var(--text); font-size: 15px; line-height: 1.5; }
.svc__vis {
  height: 148px; border-radius: 14px; overflow: hidden; position: relative;
  background: color-mix(in srgb, var(--accent) 9%, var(--field)); border: 1px solid var(--line);
  display: grid; place-items: center; padding: 14px;
  font-size: 11px; line-height: 1.3; color: var(--text);
}
.svc__vis b { color: var(--ink); }
/* 01 sistema */
.mock-app { width: 100%; height: 100%; display: grid; grid-template-columns: 44% 1fr; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg); }
.mock-app__side { padding: 8px; display: grid; gap: 3px; align-content: start; border-right: 1px solid var(--line); }
.mock-app__side b { font-size: 11px; margin-bottom: 3px; }
.mock-app__side i { font-style: normal; padding: 2px 6px; border-radius: 5px; }
.mock-app__side i.on { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--ink); }
.mock-app__main { padding: 8px 10px; display: grid; align-content: space-between; }
.mock-kpi { display: grid; font-weight: 800; font-size: 15px; color: var(--ink); letter-spacing: -.02em; }
.mock-kpi small { font-weight: 500; font-size: 10px; color: var(--muted); letter-spacing: 0; }
.mock-bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; }
.mock-bars i { flex: 1; background: var(--accent); border-radius: 3px 3px 0 0; opacity: .85; }
/* 02 chat */
.mock-chat { width: 100%; display: grid; gap: 6px; }
.mock-msg { justify-self: start; max-width: 88%; padding: 6px 9px; border-radius: 10px 10px 10px 3px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); }
.mock-msg--me { justify-self: end; background: var(--blue); border-color: var(--blue); color: #fff; border-radius: 10px 10px 3px 10px; }
/* 03 fluxo */
.mock-flow { width: 100%; display: grid; gap: 4px; justify-items: center; }
.mock-flow span { padding: 6px 10px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line-2); color: var(--ink); }
.mock-flow span.on { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.mock-flow i { width: 1.5px; height: 8px; background: var(--accent); }
/* 04 agenda */
.mock-cal { width: 100%; display: grid; gap: 6px; }
.mock-cal span { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 8px; background: var(--bg); border-left: 3px solid var(--accent); color: var(--ink); }
.mock-cal span.warn { border-left-color: #f0a33a; }
.mock-cal b { font-family: var(--mono); font-weight: 500; color: var(--muted); }
/* 05 treinamento */
.mock-list { width: 100%; display: grid; gap: 7px; }
.mock-list span { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); }
.mock-list span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid var(--line-2); flex: none; }
.mock-list span.ok::before { background: var(--accent); border-color: var(--accent); }
/* 06 site */
.mock-site { width: 100%; height: 100%; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); padding: 0 12px 12px; display: grid; gap: 7px; align-content: start; }
.mock-site__bar { display: flex; gap: 4px; margin: 0 -12px 4px; padding: 7px 10px; border-bottom: 1px solid var(--line); }
.mock-site__bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.mock-site b { height: 12px; width: 72%; border-radius: 4px; background: var(--ink); opacity: .85; }
.mock-site em { height: 6px; width: 90%; border-radius: 3px; background: var(--line-2); }
.mock-site em.short { width: 60%; }
.mock-site__btn { height: 16px; width: 44%; border-radius: 999px; background: var(--blue); margin-top: 4px; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  /* celular: carrossel de deslizar, com o próximo cartão aparecendo pela metade */
  .svc-grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--pad-x)); padding: 2px var(--pad-x) 8px; scroll-padding-inline: var(--pad-x);
  }
  .svc-grid::-webkit-scrollbar { display: none; }
  .svc { flex: 0 0 82%; scroll-snap-align: start; }
}

/* ============================================================
   SEM MOVIMENTO: tudo visível, nada preso
   ============================================================ */
.no-motion .stage-wrap { position: absolute; inset: 0 0 auto 0; height: 100vh; }
.no-motion .stage { position: absolute; inset: 0; height: 100vh; }
.no-motion .chapter--hero { min-height: 100vh; }
.no-motion .chapter { min-height: 0; padding: 60px var(--pad-x); }
.no-motion .chapter--hero { padding-top: 16vh; }
.no-motion .chart, .no-motion .finale-logo, .no-motion .rail { display: none; }
.no-motion .gallery__track, .no-motion .hsec__track { width: auto; overflow-x: auto; }
.no-motion .scroll-cue { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   REFORMULAÇÃO (05/10/2026): serviços nomeados, casos de uso em
   carrossel, diferenciais e páginas de serviço
   ============================================================ */
.svc-line { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 26px; }
.svc-line a, .svc-line__a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--glass-2); color: var(--ink); font-weight: 600; font-size: 14px;
  transition: border-color 200ms, color 200ms;
}
.svc-line a:hover, .svc-line__a:hover { border-color: var(--accent); color: var(--accent); }
.svc-line--solo { margin: 12px 0 0; }

.svc > p:not(.kicker) { margin: 0 8px 8px; color: var(--text); font-size: 15px; line-height: 1.5; }
.svc > p:not(.kicker) b { color: var(--ink); }
.svc__more { margin: auto 8px 0; padding-top: 10px; font-weight: 700; font-size: 14px; color: var(--accent); }
.svc__more:hover { text-decoration: underline; }
.svc--also { justify-content: center; border-style: dashed; }

/* casos de uso */
.casos-tema { padding: 22px 0 10px; }
.casos-tema__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.casos-tema__head .h3 { margin: 0 0 6px; }
.casos-tema__head .body { margin: 0; }
.casos-nav { display: flex; gap: 8px; flex: none; }
.casos-nav button {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--glass-2);
  color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color 200ms, color 200ms, opacity 200ms;
}
.casos-nav button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.casos-nav button:disabled { opacity: .35; cursor: default; }
.casos-nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.casos-nav .prev svg { transform: scaleX(-1); }
.casos-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * var(--pad-x)); padding: 2px var(--pad-x) 10px; scroll-padding-inline: var(--pad-x);
}
.casos-track::-webkit-scrollbar { display: none; }
.uc { flex: 0 0 min(340px, 82%); scroll-snap-align: start; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.uc .kicker { margin: 0; }
.uc__t { margin: 0; font-weight: 800; font-size: 19px; line-height: 1.2; letter-spacing: -.03em; color: var(--ink); }
.uc dl { margin: 0; display: grid; gap: 4px; }
.uc dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.uc dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.uc__res { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.4; color: var(--text); }
.uc__res b { color: var(--accent); font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin-right: 6px; }
.uc--mais { justify-content: center; border-style: dashed; border-color: color-mix(in srgb, var(--accent) 60%, transparent); transition: background 200ms; }
.uc--mais .uc__t { color: var(--accent); }
.uc--mais:hover { background: var(--glass-2); }
.uc__go { font-size: 26px; font-weight: 800; color: var(--accent); }

/* diferenciais */
.dif-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.dif { padding: 22px; }
.dif .kicker { margin: 0 0 10px; }
.dif .h3 { font-size: clamp(18px, 1.5vw, 21px); margin: 0 0 8px; }
.dif p:last-child { margin: 0; color: var(--text); font-size: 15px; line-height: 1.5; }
@media (max-width: 1000px) { .dif-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dif-grid { grid-template-columns: 1fr; } .casos-nav { display: none; } }

/* páginas de serviço */
.page-hero { padding-top: clamp(120px, 16vh, 170px); }
.page-hero .display { max-width: 14em; }
.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.crumbs a:hover { color: var(--accent); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.list-card { padding: 26px; }
.list-card .kicker { margin: 0; }
.list-card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.list-card li { position: relative; padding-left: 20px; color: var(--text); font-size: 15.5px; line-height: 1.5; }
.list-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.pstep { padding: 24px; }
.pstep .kicker { margin: 0 0 10px; }
.pstep p:last-child { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.55; }
.page-servico .faq { max-width: 860px; }
@media (max-width: 860px) { .two-col, .steps3 { grid-template-columns: 1fr; } }
.svc--also h3 { font-size: clamp(20px, 1.8vw, 24px); }
.svc > p.also { color: var(--muted); font-size: 14px; margin-top: 4px; }
.svc__ico { width: 60px; height: 60px; margin: 10px 8px 0; border-radius: 16px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.svc__ico .ico { width: 30px; height: 30px; }
.svc-text { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 26px; font-size: 15px; font-weight: 600; color: var(--ink); }
.svc-text i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); display: inline-block; }
.cta-band--big { padding: clamp(26px, 3.4vw, 44px); display: grid; grid-template-columns: 1.3fr auto; gap: 24px 40px; align-items: center; }
.cta-band--big .h2 { font-size: clamp(26px, 3vw, 40px); margin: 6px 0 10px; }
@media (max-width: 900px) { .cta-band--big { grid-template-columns: 1fr; } }
/* botão flutuante do WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 55;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #1FA855; color: #fff; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .55);
  transition: transform 200ms cubic-bezier(.4, 0, .2, 1), background 200ms;
}
.wa-float:hover { background: #178f47; transform: scale(1.06); }
.wa-float:active { transform: scale(.96); }
.wa-float .ico { width: 28px; height: 28px; }
.nudge { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 760px) { .wa-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); } .nudge { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); } }
/* o último capítulo da órbita agora só deixa o logo se formar: curto, sem vazio */
.chapter--final { min-height: 30vh; padding-top: 0; padding-bottom: 0; }
/* no desktop o logo se forma embaixo do cartão "lucro", na faixa livre antes de "O que fazemos" */
@media (min-width: 1001px) { .finale-logo { left: 50%; top: 85%; font-size: clamp(64px, min(11vw, 17vh), 150px); } }
.uc--curto { gap: 8px; }
.uc__d { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text); }
.casos-tema__head .h3 { margin: 0; }
/* abas dos casos de uso (só com JavaScript; sem ele, os cinco carrosséis aparecem em sequência) */
.casos-tabs { display: none; }
.js .casos-tabs { display: flex; gap: 8px; margin: 4px 0 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.js .casos-tabs::-webkit-scrollbar { display: none; }
.casos-tab {
  flex: none; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--glass-2); color: var(--ink); font: 600 14px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: border-color 200ms, color 200ms, background 200ms;
}
.casos-tab:hover { border-color: var(--accent); color: var(--accent); }
.casos-tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.js .casos-tema[data-painel] { display: none; }
.js .casos-tema[data-painel].is-on { display: block; }
.uc--mais { align-items: flex-start; gap: 14px; }
.uc--mais .uc__t { color: var(--ink); font-size: 21px; }
.uc--mais .btn { text-decoration: none; margin-top: 4px; }
