/* InHelp — site institucional
   Tokens: valores do app (Inhelp_App/apps/mobile/src/design-system/tokens.ts) + azul-claro para luz e interação.
   Fonte: Segoe UI (D-045), com pilha de sistema equivalente fora do Windows. */
:root {
  --white: #ffffff;
  --ice: #f4f7fb;            /* iceGray */
  --ice-2: #eef3f8;          /* surfaceMuted */
  --ink: #0f172a;            /* textPrimary */
  --navy: #1e293b;           /* navy */
  --shell: #0b1220;          /* shell */
  --muted: #475569;          /* mais escuro que textSecondary (#64748B ficava apagado): 7,5:1 no branco */
  --muted-2: #64748b;
  --line: #e2e8f0;           /* border */
  --line-strong: #cbd5e1;
  --blue: #2563eb;           /* accent */
  --blue-dark: #1d4ed8;      /* accentDark */
  --blue-soft: #eaf1ff;      /* navActive */
  --blue-faint: #f5f8ff;     /* accentFaint */
  --blue-border: #d8e4ff;    /* softBlueBorder */
  --sky: #60a5fa;            /* azul-claro: luz, gradientes, destaques */
  --sky-2: #93c5fd;
  --green: #10b981; --green-soft: #ecfdf5;
  --amber: #b45309; --amber-soft: #fffbeb;

  --font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 12px; --radius: 20px; --radius-lg: 30px;
  --shadow-card: 0 12px 28px -14px rgba(37, 99, 235, 0.22), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-screen: 0 50px 100px -40px rgba(15, 23, 42, 0.45), 0 18px 40px -20px rgba(37, 99, 235, 0.35);
  --wrap: 1120px;
  --font-display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, Roboto, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); letter-spacing: -0.03em; line-height: 1.06; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; }
h3 { font-size: 17px; font-weight: 750; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 10px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- marca ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { --s: 32px; width: var(--s); height: var(--s); border-radius: calc(var(--s) * 0.31); background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: calc(var(--s) * 0.5); line-height: 1; letter-spacing: -0.02em; padding-bottom: calc(var(--s) * 0.06); }
.logo__mark--lg { --s: 64px; box-shadow: 0 0 0 10px rgba(96, 165, 250, 0.14), 0 0 60px 10px rgba(37, 99, 235, 0.45); }
.logo__word { font-weight: 900; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); }
.logo--sm .logo__mark { --s: 30px; }
.logo--sm .logo__word { font-size: 20px; }

/* ---------- botões ---------- */
.btn { --bg: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 14px; border: 1px solid transparent; background: var(--bg); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s, transform .25s var(--ease); }
.btn--primary { --bg: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn--primary:hover { --bg: var(--blue-dark); box-shadow: 0 14px 30px -10px rgba(37, 99, 235, 0.75), 0 0 0 4px rgba(96, 165, 250, 0.18); }
.btn--ghost { color: var(--ink); border-color: #b8c6dc; background: rgba(255, 255, 255, 0.85); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-dark); background: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 16px; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- navegação ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.is-scrolled { border-color: rgba(226, 232, 240, 0.9); box-shadow: 0 10px 30px -20px rgba(15, 23, 42, 0.25); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 14.5px; font-weight: 600; color: #1e293b; }
.nav__links a:not(.btn) { text-decoration: none; position: relative; padding: 6px 0; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span[aria-hidden] { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- tipografia utilitária ---------- */
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.eyebrow { padding: 8px 14px; border-radius: 999px; background: var(--blue-faint); border: 1px solid var(--blue-border); letter-spacing: 0.08em; font-size: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15); }
.kicker { margin-bottom: 14px; }
.kicker--light { color: var(--sky-2); }
.body-lg { font-size: clamp(16px, 1.2vw, 18px); color: var(--muted); line-height: 1.65; max-width: 58ch; }
.accent { color: var(--blue); }
.accent-light { color: var(--sky); }
.muted-ink { color: var(--muted); }
.section-head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head h2 { max-width: 18ch; }
.section-head--center h2 { max-width: 22ch; }
.section-head .body-lg { margin-top: 20px; }
.section-head--center { text-align: center; }
.section-head--center h2, .section-head--center .body-lg { margin-inline: auto; }

/* ---------- elementos de interface reproduzidos do app ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--green { background: var(--green-soft); color: #047857; border: 1px solid #c7f0de; }
.badge--blue { background: var(--blue-soft); color: var(--blue-dark); border: 1px solid var(--blue-border); }
.badge--amber { background: var(--amber-soft); color: var(--amber); border: 1px solid #fde7b0; }

/* ---------- telas ---------- */
/* aparelho genérico (guia de marca §6: moldura preta fina, sem marca, sem notch identificável);
   a captura entra inteira, na proporção exata da tela (390 x 844) */
.screen { --bezel: clamp(7px, 0.75vw, 10px); margin: 0; padding: var(--bezel); border-radius: calc(var(--bezel) + 34px); background: linear-gradient(150deg, #2a3446 0%, #0b1220 38%, #111827 100%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.10), 0 0 0 1px rgba(15, 23, 42, 0.55), var(--shadow-screen); }
.screen img { display: block; width: 100%; height: auto; aspect-ratio: 780 / 1688; object-fit: cover; border-radius: 34px; background: var(--ice); }

/* ================= 01 · APRESENTAÇÃO (rolagem) =================
   Padrão = bloco estático (sem JS, Motion indisponível ou prefers-reduced-motion).
   Com .js-motion: palco fixo (sticky) de 100svh; o progresso da rolagem é escrito em variáveis CSS pelo site.js. */
.intro { position: relative; background: #fff; }
.intro__stage { padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 8vw, 104px); }
.intro__brand { text-align: center; padding: 0 var(--gutter); }
.intro__sign { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 0.24em; font-size: clamp(52px, 10vw, 164px); font-weight: 850; letter-spacing: -0.055em; line-height: 1.02; }
.intro__ask { color: var(--ink); }
.intro__word { display: inline-block; white-space: nowrap; }
.intro__word .l { display: inline-block; overflow: hidden; padding: 0 0.02em 0.16em; margin-bottom: -0.16em; }
.intro__word .l > span { display: inline-block; }
.intro__word .l1 { color: #1d4ed8; } .intro__word .l2 { color: #2057e2; } .intro__word .l3 { color: #2563eb; }
.intro__word .l4 { color: #3070f0; } .intro__word .l5 { color: #3d7ef4; } .intro__word .l6 { color: #4b8cf7; } .intro__word .l7 { color: #60a5fa; }
.intro__lead { margin: 22px auto 0; max-width: 32ch; font-size: clamp(18px, 1.9vw, 26px); color: var(--muted); line-height: 1.45; }
.intro__phone, .intro__notes, .intro__dots, .intro__skip, .intro__cue { display: none; }
.intro__steps { list-style: none; margin: clamp(48px, 7vw, 88px) auto 0; padding: 0; width: min(var(--wrap), 100% - 2 * var(--gutter)); display: grid; gap: clamp(40px, 6vw, 72px); }
.intro__step { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(24px, 5vw, 72px); align-content: center; align-items: center; }
.intro__step > :not(.intro__shot) { grid-column: 1; }
.intro__step h2 { font-size: clamp(26px, 3.2vw, 42px); max-width: 20ch; text-wrap: balance; }
.intro__lead { text-wrap: balance; }
:lang(ja) .intro__step h2, :lang(zh) .intro__step h2 { line-break: strict; }
.intro__step > p:not(.intro__kicker) { margin-top: 14px; color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; max-width: 50ch; }
.intro__kicker { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.intro__kicker span { color: var(--muted-2); font-variant-numeric: tabular-nums; }
.intro__shot { grid-column: 2; grid-row: 1 / span 3; width: clamp(150px, 15vw, 200px); margin: 0; padding: 7px; border-radius: 30px; background: linear-gradient(150deg, #2a3446 0%, #0b1220 38%, #111827 100%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.1), var(--shadow-screen); }
.intro__shot img { width: 100%; height: auto; border-radius: 24px; }
.intro__end { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(48px, 6vw, 72px); padding: 0 var(--gutter); }

/* aparelho, telas e luz (usados no modo cinematográfico) */
.intro__device { position: relative; z-index: 2; height: 100%; margin: 0; padding: 9px; border-radius: 46px; background: linear-gradient(150deg, #2a3446 0%, #0b1220 38%, #111827 100%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.55), var(--shadow-screen); }
.intro__screens { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: var(--ice); }
.intro__screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s var(--ease), filter .7s var(--ease); }
.intro__screens img.is-active { opacity: 1; }
.intro__phone.is-dim .intro__screens img { filter: grayscale(0.85) brightness(1.03) contrast(0.92); }
.intro__glow { position: absolute; z-index: 0; left: 50%; top: 50%; width: 250%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(96, 165, 250, 0.3), rgba(96, 165, 250, 0)); pointer-events: none; }
.intro__3d { position: absolute; z-index: 1; left: 50%; top: 47%; width: 330%; max-width: none; translate: -50% -50%; opacity: var(--c3d-o, 0); scale: var(--c3d-s, 0.92); pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, #000 60%, transparent 100%); }
.intro__real { position: absolute; left: 50%; top: 100%; translate: -50% 0; margin-top: 14px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.intro__note { display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 26px -18px rgba(15, 23, 42, 0.3); }
.intro__note time { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.intro__note span { font-weight: 650; font-size: 15px; }
.intro__bubble { margin-top: 8px; padding: 12px 14px; border-radius: 16px 16px 16px 6px; background: var(--ice); border: 1px dashed #b8c6dc; }
.intro__bubble p { margin: 0; font-size: 14px; }
.intro__bubble .intro__meta { margin-top: 4px; font-size: 12px; color: var(--muted); }
.intro__illus { margin: 6px 2px 0; font-size: 12px; color: var(--muted-2); text-align: right; }
.intro__dots button { position: relative; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.intro__dots button::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--line-strong); transition: background-color .3s, transform .3s var(--ease); }
.intro__dots button:hover::before { background: var(--sky); }
.intro__dots button[aria-current="step"]::before { background: var(--blue); transform: scale(1.35); }
.intro__skip { align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; }
.intro__skip:hover { color: var(--blue-dark); background: var(--blue-faint); }
.intro__cue span { position: relative; width: 1px; height: 44px; overflow: hidden; background: linear-gradient(var(--line-strong), rgba(203, 213, 225, 0)); }
.intro__cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--blue); animation: introcue 1.8s var(--ease) infinite; }
@keyframes introcue { to { top: 100%; } }

/* modo cinematográfico */
/* a abertura começa no topo da janela, por baixo do menu (escondido na primeira tela): a marca fica no centro exato */
.js-motion .intro { margin-top: calc(-1 * var(--nav-h)); }
.js-motion .intro__track { height: 170svh; } /* só a marca e a frase; as etapas agora estão no mapa (#pedido) */
.js-motion .intro__stage { position: sticky; top: 0; height: 100svh; padding: 0; overflow: hidden; }
.js-motion .intro__brand, .js-motion .intro__phone, .js-motion .intro__step, .js-motion .intro__notes > * { will-change: transform, opacity; }
/* a seção seguinte entra como uma folha sobre o fim da apresentação */
.intro + .solution { position: relative; z-index: 1; margin-top: -48px; border-radius: 44px 44px 0 0; box-shadow: 0 -30px 70px -40px rgba(15, 23, 42, 0.45); }
.js-motion .intro__brand { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: var(--b-o, 1); transform: translateY(var(--b-y, 0px)) scale(var(--b-s, 1)); }
.js-motion .intro__brand.is-off { visibility: hidden; }
.js-motion .intro__sign { flex-wrap: nowrap; white-space: nowrap; }
.js-motion .intro__ask { opacity: var(--ask-o, 0); transform: translateX(var(--ask-x, -0.25em)); }
.js-motion .intro__word { transform: translate(var(--w-x, 0px), var(--w-y, 0px)); }
.js-motion .intro__word .l > span { transform: translateY(var(--ly, 106%)); }
.js-motion .intro__lead { opacity: var(--lead-o, 0); transform: translateY(var(--lead-y, 16px)); }
.js-motion .intro__phone { display: block; position: absolute; z-index: 1; left: 50%; top: 50%; height: min(68svh, 640px); aspect-ratio: 800 / 1708; opacity: var(--ph-o, 0); transform: translate(-50%, calc(-50% + var(--ph-y, 60svh))) scale(var(--ph-s, 0.9)); }
.js-motion .intro__steps { position: absolute; inset: 0; z-index: 2; margin: 0; width: auto; display: block; pointer-events: none; }
.js-motion .intro__step { position: absolute; top: 50%; display: block; width: min(440px, calc(50vw - min(16svh, 150px) - 6vw - 56px)); opacity: var(--o, 0); transform: translate(var(--sx, 0px), calc(-50% + var(--sy, 0px))); visibility: hidden; }
.js-motion .intro__step.is-on { visibility: visible; pointer-events: auto; }
.js-motion .intro__step[data-side="left"] { left: clamp(24px, 6vw, 120px); }
.js-motion .intro__step[data-side="right"] { right: clamp(24px, 6vw, 120px); }
.js-motion .intro__step h2 { font-size: clamp(28px, 2.9vw, 44px); }
.js-motion .intro__shot { display: none; }
.js-motion .intro__notes { display: grid; position: absolute; z-index: 2; top: 50%; right: clamp(24px, 6vw, 120px); width: min(300px, calc(50vw - min(16svh, 150px) - 6vw - 56px)); transform: translateY(-50%); gap: 10px; pointer-events: none; }
.js-motion .intro__notes > * { opacity: var(--o, 0); transform: translateY(var(--y, 14px)); }
.js-motion .intro__end { position: absolute; z-index: 3; left: 50%; bottom: max(28px, 5svh); flex-wrap: nowrap; margin: 0; padding: 0; opacity: var(--e-o, 0); transform: translate(-50%, var(--e-y, 16px)); visibility: hidden; }
.js-motion .intro__end.is-on { visibility: visible; }
.js-motion .intro__dots { display: flex; flex-direction: column; position: absolute; z-index: 3; right: clamp(10px, 1.6vw, 22px); top: 50%; transform: translateY(-50%); opacity: var(--d-o, 0); }
.js-motion .intro__skip { display: inline-flex; position: absolute; z-index: 3; right: clamp(12px, 2.4vw, 32px); bottom: clamp(12px, 2.6vh, 26px); opacity: var(--sk-o, 0); }
/* primeira tela: só a marca em azul sobre o branco; a indicação de rolagem aparece depois de um tempo parado */
.js-motion .intro__cue { animation: introcuein 0.7s var(--ease) 2.4s both; display: flex; flex-direction: column; align-items: center; gap: 10px; position: absolute; left: 50%; bottom: max(28px, 6svh); translate: -50% 0; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); opacity: var(--cue-o, 1); pointer-events: none; }
.js-motion .intro__dots.is-off, .js-motion .intro__skip.is-off { visibility: hidden; }
@keyframes introcuein { from { filter: opacity(0); } to { filter: opacity(1); } }

/* navegação some na tela branca e volta quando a marca se forma (ou ao receber foco) */
.nav { transition: border-color .3s, box-shadow .3s, transform .45s var(--ease), opacity .45s var(--ease); }
.js-motion .nav.is-hidden { transform: translateY(-100%); opacity: 0; }
.js-motion .nav.is-hidden:focus-within { transform: none; opacity: 1; }

/* telas estreitas ou em retrato: texto em cima, aparelho embaixo */
@media (max-width: 900px), (max-aspect-ratio: 4/5) {
  .js-motion .intro__track { height: 160svh; }
  .js-motion .intro__sign { flex-direction: column; align-items: center; font-size: clamp(56px, 17vw, 128px); line-height: 1.04; }
  .js-motion .intro__lead { max-width: 26ch; padding: 0 var(--gutter); }
  .js-motion .intro__phone { height: min(46svh, 560px); top: 70%; }
  .js-motion .intro__real { display: none; }
  .js-motion .intro__step, .js-motion .intro__step[data-side] { top: calc(var(--nav-h) + 3svh); left: var(--gutter); right: var(--gutter); width: auto; text-align: center; transform: translate(0, var(--sy, 0px)); }
  .js-motion .intro__step .intro__kicker { justify-content: center; }
  .js-motion .intro__step h2 { font-size: clamp(23px, 6.2vw, 36px); max-width: none; }
  .js-motion .intro__step > p:not(.intro__kicker) { margin: 10px auto 0; max-width: 56ch; font-size: clamp(15px, 2.1vw, 18px); line-height: 1.5; }
  .js-motion .intro__notes { display: none; }
  .js-motion .intro__dots { flex-direction: row; right: auto; left: 50%; top: auto; bottom: 6px; transform: translateX(-50%); }
  .js-motion .intro__skip { right: auto; left: 8px; bottom: 8px; font-size: 12px; }
  .js-motion .intro__end { flex-direction: column; align-items: stretch; width: calc(100% - 2 * var(--gutter)); bottom: max(44px, 6svh); }
  .js-motion .intro__end .btn { width: 100%; }
}
@media (max-width: 640px) {
  .intro__step { grid-template-columns: 1fr; text-align: center; }
  .intro__step > * { grid-column: 1 !important; }
  .intro__step h2 { margin: 0 auto; }
  .intro__step .intro__kicker { justify-content: center; }
  .intro__step > p:not(.intro__kicker) { margin-inline: auto; }
  .intro__shot { grid-row: auto; margin: 22px auto 0; width: min(220px, 60vw); }
  .intro__end { flex-direction: column; align-items: stretch; }
}

/* ================= 02 · SOLUÇÃO ================= */
.solution { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(1200px 520px at 50% -10%, rgba(37, 99, 235, 0.35), transparent 70%), linear-gradient(180deg, var(--shell), var(--ink) 60%, var(--navy)); color: #fff; padding: clamp(72px, 9vw, 120px) 0; }
.solution .body-lg { color: #dbe4f0; }
.bridge { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; max-width: 920px; margin: 0 auto clamp(56px, 8vw, 96px); }
.bridge__node { display: grid; justify-items: center; gap: 4px; text-align: center; min-width: 150px; }
.bridge__node strong { font-size: 18px; }
.bridge__node > span:last-child { font-size: 14px; color: #b6c2d4; }
.bridge__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(147, 197, 253, 0.25); }
.bridge__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--sky-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bridge__line { width: 100%; height: 120px; overflow: visible; }
.bridge__track { fill: none; stroke: rgba(148, 163, 184, 0.25); stroke-width: 2; stroke-dasharray: 4 8; }
.bridge__path { fill: none; stroke: var(--sky); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.8)); }
.bridge__pulse { fill: #fff; filter: drop-shadow(0 0 8px var(--sky)); opacity: 0; }
.bridge__hub { position: absolute; left: 50%; top: 50%; translate: -50% -88%; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(148, 163, 184, 0.2); }
.pillar { padding: 32px 28px 8px 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid rgba(148, 163, 184, 0.2); }
.pillar__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(37, 99, 235, 0.22); margin-bottom: 18px; }
.pillar__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--sky-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { color: #fff; }
.pillar p { margin-top: 10px; color: #b6c2d4; font-size: 15px; }
.solution__extra { margin-top: 40px; text-align: center; color: #b6c2d4; font-size: 15px; }
.solution__extra strong { color: #fff; }

/* ================= 04 · DEMO ================= */
.demo { padding: clamp(72px, 9vw, 120px) 0; background: linear-gradient(180deg, #f1f5fb 0%, #e6eefb 100%); }
.demo__video { display: none; margin: 0 0 clamp(24px, 5vw, 40px); }
.demo__video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 20px; background: var(--ice); border: 1px solid var(--blue-border); box-shadow: var(--shadow-screen); }
.demo__video figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.demo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.chapters { list-style: none; margin: 0; padding: 0; counter-reset: ch; }
.chapter { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0 20px 26px; border-left: 2px solid #c9d6ea; transition: border-color .4s var(--ease); }
.chapter:first-child { min-height: 48vh; justify-content: flex-start; padding-top: 6vh; }
.chapter__head { all: unset; cursor: pointer; display: flex; align-items: baseline; gap: 16px; border-radius: 8px; }
.chapter__head:focus-visible { outline: 3px solid var(--sky); outline-offset: 6px; }
.chapter__num { font-size: 13px; font-weight: 800; color: var(--muted-2); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; transition: color .4s; }
.chapter__title { font-family: var(--font-display); font-size: clamp(22px, 2.3vw, 30px); font-weight: 800; letter-spacing: -0.03em; color: #7a879b; transition: color .4s var(--ease); }
.chapter p { margin-top: 12px; font-size: 16px; color: var(--muted); max-width: 40ch; transition: opacity .4s; opacity: .8; }
.chapter.is-active { border-color: var(--blue); }
.chapter.is-active .chapter__title { color: var(--ink); }
.chapter.is-active .chapter__num { color: var(--blue); }
.chapter.is-active p { opacity: 1; }
.chapter__figure { display: none; }
.demo__stage { position: sticky; top: calc(var(--nav-h) + 4vh); display: grid; justify-items: center; gap: 18px; }
.stage { --bezel: 9px; position: relative; height: clamp(480px, calc(100vh - var(--nav-h) - 130px), 620px); aspect-ratio: 800 / 1708; padding: var(--bezel); border-radius: 46px; background: linear-gradient(150deg, #2a3446 0%, #0b1220 38%, #111827 100%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.10), 0 0 0 1px rgba(15, 23, 42, 0.55), var(--shadow-screen); }
.demo__stage::before { content: ""; position: absolute; z-index: -1; inset: 8% -20% 18%; background: radial-gradient(closest-side, rgba(96, 165, 250, 0.28), transparent); pointer-events: none; }
.stage__screens { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--ice); }
.stage__screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease), transform 1.1s var(--ease); transform-origin: 50% 30%; }
.stage__screens img.is-active { opacity: 1; }
.stage__ring { position: absolute; border-radius: 16px; border: 2.5px solid var(--blue); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.14), 0 0 30px rgba(96, 165, 250, 0.45); pointer-events: none; opacity: 0; transition: left .7s var(--ease), top .7s var(--ease), width .7s var(--ease), height .7s var(--ease), opacity .4s; }
.stage__ring.is-on { opacity: 1; }
.stage__meta { display: flex; align-items: center; gap: 16px; }
.stage__count { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted-2); font-variant-numeric: tabular-nums; }

/* ================= 05 · COMO FUNCIONA ================= */
.how { padding: clamp(72px, 9vw, 120px) 0; background: #fff; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps__rail { position: absolute; left: 22px; right: 22px; top: 21px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.steps__rail span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--sky)); transform-origin: left; transform: scaleX(1); }
.step { position: relative; display: flex; flex-direction: column; }
.step__num { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 17px; color: #fff; background: var(--blue); box-shadow: 0 0 0 6px #fff, 0 10px 20px -8px rgba(37, 99, 235, 0.6); margin-bottom: 24px; position: relative; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.ui-snippet { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ui-snippet > * { box-shadow: var(--shadow-card); }
.ui-field { width: 100%; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }
.ui-button { width: 100%; padding: 12px 14px; border-radius: 14px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; text-align: center; }
.ui-button--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.ui-snippet--timeline { flex-direction: column; align-items: stretch; gap: 0; padding: 14px 16px; margin-top: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.ui-snippet--timeline > * { box-shadow: none; }
.tl { position: relative; padding: 6px 0 6px 20px; font-size: 13px; font-weight: 700; }
.tl::before { content: ""; position: absolute; left: 2px; top: 12px; width: 8px; height: 8px; border-radius: 50%; }
.tl--done::before { background: var(--green); }
.tl--current::before { background: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18); }

/* ================= 06 · PROFISSIONAIS ================= */
.pro { position: relative; overflow: hidden; background: radial-gradient(900px 600px at 85% 60%, rgba(37, 99, 235, 0.35), transparent 65%), linear-gradient(180deg, var(--navy), var(--shell)); color: #fff; padding: clamp(72px, 9vw, 120px) 0; }
.pro .body-lg { color: #dbe4f0; margin-top: 20px; }
/* carrossel: celulares grandes, um em destaque; arrasta no toque, setas e teclado no desktop */
.pro__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.pro__copy { max-width: 620px; }
.pro__nav { display: flex; gap: 10px; flex: none; }
.pro__arrow { all: unset; box-sizing: border-box; cursor: pointer; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(147, 197, 253, 0.35); color: #fff; font-size: 20px; transition: background-color .25s, border-color .25s, opacity .25s; }
.pro__arrow:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(147, 197, 253, 0.7); }
.pro__arrow:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.pro__arrow[disabled] { opacity: 0.3; cursor: default; }
.pro__carousel { margin-top: clamp(32px, 4vw, 56px); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pro__carousel::-webkit-scrollbar { display: none; }
.pro__carousel:focus-visible { outline: 3px solid var(--sky); outline-offset: -3px; }
.pro { --slide: clamp(250px, 21vw, 300px); }
.pro__track { list-style: none; margin: 0; display: flex; gap: clamp(24px, 3.4vw, 56px); padding: 24px calc(50vw - var(--slide) / 2) 32px; width: max-content; } /* o 1º e o último slide também podem ficar no centro */
.pro__slide { width: var(--slide); scroll-snap-align: center; display: grid; gap: 22px; opacity: 0.4; transform: scale(0.92); transform-origin: 50% 40%; transition: opacity .45s var(--ease), transform .55s var(--ease); }
.pro__slide.is-on { opacity: 1; transform: none; }
.screen--pro { box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05); }
.pro__cap h3 { margin: 0; font-size: 20px; font-weight: 750; color: #fff; letter-spacing: -0.01em; }
.pro__cap p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: #b6c3d5; }
.pro__dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.pro__dots span { width: 26px; height: 4px; border-radius: 4px; background: rgba(148, 163, 184, 0.35); transition: background-color .3s, width .3s; }
.pro__dots span.is-on { width: 40px; background: var(--sky); }

/* ================= 06b · PLANOS E OPORTUNIDADES ================= */
.plans { padding: clamp(72px, 9vw, 120px) 0; background: linear-gradient(180deg, #e6eefb 0%, #f1f5fb 100%); }
.opp { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--blue-border); box-shadow: var(--shadow-card); }
.opp__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.opp__steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.opp__n { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-dark); font-weight: 800; font-size: 15px; }
.opp__steps strong { display: block; font-size: 15.5px; line-height: 1.3; }
.opp__steps p { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.opp__meter { display: grid; gap: 8px; padding: 18px 20px; border-radius: 20px; background: var(--ice); border: 1px solid var(--line); }
.opp__label { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-dark); }
.opp__sub { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.opp__count { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.opp__bar { height: 8px; border-radius: 8px; background: #dbe3ef; overflow: hidden; }
.opp__bar i { display: block; height: 100%; width: calc(var(--p) * 100%); border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--sky)); transition: width .8s var(--ease); }
.opp__hint { font-size: 13px; color: var(--muted); }

.plan-finder { margin: clamp(36px, 5vw, 56px) auto 22px; max-width: 640px; text-align: center; }
.plan-finder label { font-weight: 700; font-size: 16px; }
.plan-finder__row { margin-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.plan-finder output { min-width: 200px; padding: 8px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--blue-border); font-weight: 700; font-size: 14px; color: var(--blue-dark); font-variant-numeric: tabular-nums; }
.plan-finder input[type="range"] { width: 100%; accent-color: var(--blue); height: 28px; cursor: pointer; }

.plan-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 22px 20px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px -18px rgba(15, 23, 42, 0.3); transition: border-color .35s var(--ease), box-shadow .35s var(--ease), translate .35s var(--ease); }
.plan h3 { font-size: 18px; }
.plan__price { margin-top: 14px; display: flex; align-items: baseline; gap: 4px; }
.plan__price strong { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.plan__price span { color: var(--muted); font-size: 14px; }
.plan__opp { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--blue-faint); border: 1px solid var(--blue-border); display: grid; gap: 2px; }
.plan__opp span { font-size: 12.5px; font-weight: 600; color: var(--muted); line-height: 1.3; }
.plan__opp strong { font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--blue-dark); }
.plan__features { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.plan__features li { position: relative; padding-left: 20px; }
.plan__features li::before { content: ""; position: absolute; left: 0; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%232563EB' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.plan.is-match { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16), 0 20px 40px -22px rgba(37, 99, 235, 0.55); translate: 0 -4px; }
.plan.is-match::after { content: "Indicado para você"; position: absolute; top: -11px; left: 18px; padding: 3px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
.plans__fine { margin: 28px auto 0; max-width: 72ch; text-align: center; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ================= 07 · ENCERRAMENTO ================= */
.final { position: relative; isolation: isolate; overflow: hidden; text-align: center; color: #fff; padding: clamp(84px, 10vw, 136px) 0 clamp(76px, 9vw, 120px); background: radial-gradient(700px 360px at 50% 18%, rgba(147, 197, 253, 0.45), transparent 70%), linear-gradient(160deg, #1d4ed8 0%, #2563eb 45%, #1e3a8a 100%); }
.final .accent { color: #bfdbfe; }
.final .body-lg { color: #e0eaff; }
.final .btn--primary { --bg: #fff; color: var(--blue-dark); box-shadow: 0 14px 30px -12px rgba(11, 18, 32, 0.6); }
.final .btn--primary:hover { --bg: #eaf1ff; }
.final .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.08); }
.final .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.16); color: #fff; }
.final__3d { position: absolute; z-index: -1; left: 50%; top: 30%; width: min(1100px, 150vw); translate: -50% 0; opacity: 0.32; mix-blend-mode: screen; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 44%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 44%, #000 60%, transparent 100%); }
.final__title { font-size: clamp(44px, 6.6vw, 92px); font-weight: 850; letter-spacing: -0.055em; line-height: 0.95; }
.final .body-lg { margin: 22px auto 0; }
.final__actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- rodapé ---------- */
.footer { background: var(--shell); padding: 30px 0 36px; font-size: 14px; color: #b6c2d4; }
.footer .logo__word { color: #fff; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: #fff; }

/* ---------- vídeo ---------- */
.video { width: min(1040px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 24px; background: transparent; overflow: visible; }
.video::backdrop { background: rgba(11, 18, 32, 0.78); backdrop-filter: blur(6px); }
.video__frame { position: relative; border-radius: 24px; overflow: hidden; background: var(--ice); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.6); }
.video__frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ice); }
.video__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 14px; border: 0; background: rgba(15, 23, 42, 0.72); color: #fff; display: grid; place-items: center; cursor: pointer; }
.video__close:hover { background: var(--ink); }
.video__caption { margin-top: 12px; text-align: center; color: #cbd5e1; font-size: 14px; }


/* ---------- idioma ---------- */
body { transition: opacity .25s ease; }
html.i18n-loading body { opacity: 0; }
.langbtn { margin-left: 14px; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; color: #1e293b; font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em; cursor: pointer; transition: border-color .25s, background-color .25s; }
.langbtn:hover { border-color: var(--blue); background: var(--blue-faint); }
.langbtn svg { color: var(--blue); }

.langs { width: min(440px, calc(100vw - 24px)); max-height: min(640px, calc(100dvh - 24px)); padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 40px 120px -20px rgba(11, 18, 32, 0.6); overflow: hidden; }
.langs[open] { display: flex; }
.langs::backdrop { background: rgba(11, 18, 32, 0.6); backdrop-filter: blur(4px); }
.langs__box { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.langs__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 6px; }
.langs__title { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.langs__close { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.langs__close:hover { background: var(--ice); }
.langs__search { margin: 8px 20px 10px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); font: inherit; font-size: 15px; color: var(--ink); background: var(--ice); }
.langs__search:focus-visible { outline: 3px solid var(--sky); outline-offset: 1px; background: #fff; }
.langs__scroll { overflow-y: auto; padding: 0 12px 16px; overscroll-behavior: contain; }
.langs__group { margin: 14px 8px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-dark); }
.langs__note { margin: 0 8px 8px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.langs__empty { margin: 16px 8px; font-size: 14px; color: var(--muted); }
.langs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.langs__list li[hidden] { display: none; }
.langs__item { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; padding: 8px 12px; border-radius: 12px; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent; }
.langs__item:hover { background: var(--blue-faint); }
.langs__item:focus-visible { outline: 3px solid var(--sky); outline-offset: -1px; }
.langs__item i { font-style: normal; font-weight: 800; color: var(--blue); opacity: 0; }
.langs__item[aria-current="true"] { background: var(--blue-soft); border-color: var(--blue-border); color: var(--blue-dark); }
.langs__item[aria-current="true"] i { opacity: 1; }

.langbanner { position: fixed; z-index: 70; left: 50%; bottom: 16px; translate: -50% 0; width: min(560px, calc(100vw - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px 12px 18px; border-radius: 18px; background: var(--shell); color: #fff; box-shadow: 0 24px 60px -16px rgba(11, 18, 32, 0.7); font-size: 14.5px; }
.langbanner[hidden] { display: none; }
.langbanner__actions { display: flex; gap: 8px; flex: none; }
.langbanner__actions[hidden] { display: none; }
.langbanner .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: transparent; }
.langbanner .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.langbanner .btn { width: auto; }

/* Google Tradutor (opt-in): esconde a barra e o balão do widget */
#google_translate_element { position: absolute; width: 0; height: 0; overflow: hidden; }
iframe.skiptranslate, .goog-te-banner-frame, .goog-te-balloon-frame, #goog-gt-tt, .goog-tooltip { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
html.is-google .nav__links, html.is-google .final__actions { overflow-wrap: anywhere; }

/* idiomas da direita para a esquerda (via Google): espelha as regras físicas do layout */
html.is-rtl .nav__links { margin-left: 0; margin-right: auto; }
html.is-rtl .langbtn { margin-left: 0; margin-right: 14px; }
html.is-rtl .chapter { border-left: 0; border-right: 2px solid #c9d6ea; padding-left: 0; padding-right: 26px; }
html.is-rtl .chapter.is-active { border-right-color: var(--blue); }
html.is-rtl .pillar { padding: 32px 0 8px 28px; }
html.is-rtl .pillar + .pillar { padding: 32px 28px 8px 0; border-left: 0; border-right: 1px solid rgba(148, 163, 184, 0.2); }
html.is-rtl .plan__features li { padding-left: 0; padding-right: 20px; }
html.is-rtl .plan__features li::before { left: auto; right: 0; }
html.is-rtl .tl { padding-left: 0; padding-right: 20px; }
html.is-rtl .tl::before { left: auto; right: 2px; }
html.is-rtl .btn:hover .btn__arrow { transform: translateX(-4px); }
html.is-rtl .btn__arrow { display: inline-block; transform: scaleX(-1); }
html.is-rtl .langs__item i { margin-right: 0; }
html.is-rtl .langbanner { direction: rtl; }
html.is-rtl .notranslate { unicode-bidi: isolate; }
@media (max-width: 960px) { html.is-rtl .nav__links { margin-right: 0; } html.is-rtl .langbtn { margin-left: 0; margin-right: auto; } }

/* tipografia por idioma */
:lang(ja) { --font: "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", "Meiryo UI", "Segoe UI", system-ui, sans-serif; --font-display: var(--font); }
:lang(zh) { --font: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", "Segoe UI", system-ui, sans-serif; --font-display: var(--font); }
:lang(ko) { --font: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", system-ui, sans-serif; --font-display: var(--font); }
:lang(hi) { --font: "Nirmala UI", "Noto Sans Devanagari", "Segoe UI", system-ui, sans-serif; --font-display: var(--font); }
.lang-cjk h1, .lang-cjk h2, .lang-cjk h3, .lang-cjk .intro__sign, .lang-cjk .final__title, .lang-cjk .chapter__title, .lang-cjk .plan__price strong { letter-spacing: 0; font-weight: 800; }
.lang-cjk body, .lang-cjk .body-lg, .lang-cjk p { line-height: 1.75; }
.lang-cjk .intro__sign { letter-spacing: 0; line-height: 1.15; }
:lang(ko) body { word-break: keep-all; }
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3 { letter-spacing: 0; line-height: 1.25; }
:lang(hi) .intro__sign { letter-spacing: 0; line-height: 1.15; }
:lang(ru) h1, :lang(ru) h2 { letter-spacing: -0.02em; }
:lang(ru) .intro__sign, :lang(de) .intro__sign, :lang(nl) .intro__sign, :lang(tr) .intro__sign, :lang(es) .intro__sign, :lang(it) .intro__sign { font-size: clamp(44px, 8vw, 132px); }
h1, h2, h3, p { overflow-wrap: break-word; }

/* ---------- estados iniciais das animações (só com Motion ativo) ---------- */
.js-motion:not(.motion-calm) [data-reveal], .js-motion:not(.motion-calm) .step { opacity: 0; }
.js-motion:not(.motion-calm) .steps__rail span { transform: scaleX(0); }
.js-motion:not(.motion-calm) .bridge__node, .js-motion:not(.motion-calm) .bridge__hub, .js-motion:not(.motion-calm) .plan { opacity: 0; }

/* ================= responsivo ================= */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(n + 3) { border-top: 1px solid rgba(148, 163, 184, 0.2); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .opp { grid-template-columns: 1fr; }
  .steps__rail { display: none; }
}

@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav__toggle { display: inline-flex; }
  .nav__links { margin-left: 0; }
  .langbtn { margin-left: auto; }
  .langs__list { grid-template-columns: 1fr 1fr; }
  .nav__links { position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.3); display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; min-height: 48px; }



  .demo__grid { grid-template-columns: 1fr; }
  .demo__stage { display: none; }
  .demo__video { display: block; }
  .chapter, .chapter:first-child { min-height: 0; padding: 28px 0 40px 20px; justify-content: flex-start; }
  .chapter p { opacity: 1; }
  .chapter__title { color: var(--ink); }
  .chapter__num { color: var(--blue); }
  .chapter__head { cursor: default; pointer-events: none; }
  .chapter__figure { display: block; width: min(290px, 80%); margin-top: 26px; }
  .chapter { border-color: var(--blue-border); }
}

@media (max-width: 640px) {
  .pro { --slide: min(72vw, 290px); }
  .pro__head { flex-direction: column; align-items: flex-start; }
  .pro__nav { display: none; }
  body { font-size: 16px; }
  .btn { width: 100%; }
  .langbanner { flex-direction: column; align-items: stretch; text-align: center; }
  .langbanner__actions { justify-content: center; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 26px 0 6px; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid rgba(148, 163, 184, 0.2); }
  .bridge { grid-template-columns: 1fr; justify-items: center; gap: 0; }
  .bridge__line { width: 120px; height: 160px; rotate: 90deg; margin: -10px 0; }
  .bridge__hub { display: none; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; }
  .step__num { grid-row: span 3; margin: 0; }
  .ui-snippet { grid-column: 2; }
  .final__actions { flex-direction: column; align-items: stretch; }
  .opp__steps { grid-template-columns: 1fr; gap: 16px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-finder__row { grid-template-columns: 1fr; }
  .plan-finder output { min-width: 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ================= 02 · mapa da cidade (assets/js/mapa.js) =================
   Palco fixo com a cidade 3D; por cima, só o essencial: o cartão da etapa (escuro, para ser a primeira leitura),
   rótulos que seguem a cena e a tela real do app. Sem JS (.cm sem .is-live): pôster e as etapas em lista. */
.cm { position: relative; background: var(--ice); }
.cm__track { position: relative; }
.cm__stage { position: relative; overflow: hidden; background: var(--ice); }
.cm.is-live .cm__track { height: 740svh; } /* inclui a descida aérea antes da 1ª etapa */
.js-motion .cm.is-live { margin-top: -38svh; } /* o mapa sobe por cima do fim da abertura: sem vão branco entre a marca e a névoa */
.cm.is-live .cm__stage { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); }
.cm__scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cm__poster { display: block; width: 100%; height: auto; max-width: 100%; }
.cm.is-live .cm__poster { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: opacity .8s var(--ease), visibility 0s; }
.cm.gl-ready .cm__poster { opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.cm.no-webgl .cm__scene { display: none; }
.cm.no-webgl .cm__poster { opacity: 1; visibility: visible; }
.cm.is-live .cm__stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 95% at 55% 50%, rgba(244, 247, 251, 0) 58%, rgba(244, 247, 251, 0.55) 100%); }

.cm__pins { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cm__pin { position: absolute; left: 0; top: 0; padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 750; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)) translate(var(--x, -999px), var(--y, -999px)); opacity: var(--o, 0); transition: opacity .35s var(--ease); box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.45); }
.cm__pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 10px; translate: -50% 0; background: inherit; }
.cm__pin--home { background: var(--blue); color: #fff; }
.cm__pin--pro { background: var(--ink); color: #fff; }
.cm__pin--done { background: #10b981; color: #fff; }
.cm:not(.is-live) .cm__pins, .cm:not(.is-live) .cm__mini, .cm:not(.is-live) .cm__steps { display: none; }

.cm__cards { list-style: none; margin: 0; padding: 24px var(--gutter); display: grid; gap: 12px; }
.cm.is-live .cm__cards { position: absolute; z-index: 3; left: max(clamp(18px, 4vw, 56px), env(safe-area-inset-left, 0px)); top: 50%; translate: 0 -50%; width: min(340px, 30vw); padding: 0; display: block; }
.cm__card { padding: 16px 18px 17px; border-radius: 18px; background: rgba(15, 23, 42, 0.92); border: 1px solid rgba(96, 165, 250, 0.18); box-shadow: 0 24px 50px -30px rgba(15, 23, 42, 0.7); color: #fff; }
.cm.is-live .cm__card { position: absolute; left: 0; top: 50%; width: 100%; backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transform: translateY(calc(-50% + 18px)); transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s .45s; }
.cm.is-live .cm__card.is-on { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s; }
.cm__who { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.cm__n { display: inline-grid; place-items: center; min-width: 26px; height: 19px; padding: 0 6px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10.5px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.cm__chip { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(96, 165, 250, 0.16); color: #bfdbfe; font-size: 10.5px; font-weight: 700; letter-spacing: 0.01em; text-transform: none; white-space: nowrap; }
.cm__chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.cm__card:last-child .cm__chip { background: rgba(16, 185, 129, 0.18); color: #a7f3d0; }
.cm__card:last-child .cm__chip::before { background: #10b981; }
.cm__card h2 { margin: 8px 0 0; font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); font-weight: 850; letter-spacing: -0.03em; line-height: 1.08; color: #fff; text-wrap: balance; }
.cm__card h2 + p { margin: 6px 0 0; color: #cbd5e1; font-size: 15px; line-height: 1.45; }

.cm__mini { position: absolute; z-index: 3; right: max(clamp(24px, 4vw, 72px), env(safe-area-inset-right, 0px)); top: 50%; margin: 0; display: grid; justify-items: center; gap: 12px; opacity: var(--mo, 0); transform: translateY(calc(-50% + (1 - var(--mo, 0)) * 16px)); transition: opacity .4s var(--ease), transform .5s var(--ease); }
/* aparelho com moldura (mesmo acabamento dos outros celulares do site): tela inteira e legível */
.cm__screens { --bezel: 9px; position: relative; height: min(calc(100svh - var(--nav-h) - 120px), 640px); aspect-ratio: 800 / 1708; max-width: 100%; padding: var(--bezel); border-radius: 46px; background: linear-gradient(150deg, #2a3446 0%, #0b1220 38%, #111827 100%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.10), 0 0 0 1px rgba(15, 23, 42, 0.55), var(--shadow-screen); }
.cm__screens img { position: absolute; inset: var(--bezel); width: calc(100% - 2 * var(--bezel)); height: calc(100% - 2 * var(--bezel)); border-radius: 37px; object-fit: cover; background: var(--ice); opacity: 0; transition: opacity .45s var(--ease); }
.cm__screens img.is-on { opacity: 1; }
.cm__mini figcaption { font-size: 11.5px; font-weight: 600; color: var(--muted-2); padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.86); }
.cm__steps { list-style: none; margin: 0; padding: 0; position: absolute; z-index: 3; left: 50%; bottom: 20px; translate: -50% 0; display: flex; gap: 8px; }
.cm__steps li { width: 28px; height: 4px; border-radius: 4px; background: rgba(148, 163, 184, 0.45); overflow: hidden; }
.cm__steps li::before { content: ""; display: block; height: 100%; width: calc(var(--f, 0) * 100%); background: var(--blue); }

@media (max-width: 860px) {
  .cm.is-live .cm__cards { left: var(--gutter); right: var(--gutter); top: auto; bottom: 34px; translate: none; width: auto; height: 0; }
  .cm.is-live .cm__card { top: auto; bottom: 0; transform: translateY(18px); padding: 11px 14px 12px; border-radius: 16px; }
  .cm.is-live .cm__card.is-on { transform: none; }
  .cm__who { font-size: 10px; }
  .cm__card h2 { margin-top: 5px; font-size: 19px; }
  .cm__card h2 + p { font-size: 13.5px; margin-top: 3px; line-height: 1.35; }
  .cm__mini { display: none; }
  .cm__steps { bottom: 12px; }
  .cm__steps li { width: 20px; }
}
