/* ==========================================================================
   Volta · landing (skill landing-studio, direção mono)
   Ordem: fontes → tokens → base → layout → componentes → seções
          → UI do produto (Volta) → cenas → responsivo → movimento reduzido
   Cores do produto: design/tokens.json. Marca: marca/logo/kit.
   ========================================================================== */

/* ---------- Fontes (Inter do app, @fontsource/inter, só latino) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --bg-sunken: #eeeff1;
  --surface: #ffffff;
  --ink: #1c1f24;
  --ink-2: #3d434c;
  --muted: #5f6672;
  --faint: #6a707a;
  --line: rgb(28 31 36 / 0.08);
  --line-2: rgb(28 31 36 / 0.14);

  /* marca: Petróleo Volta (6,2:1 no branco) */
  --brand: #0e6b75;
  --brand-ink: #ffffff;
  --brand-text: #0e6b75;
  --brand-hover: #0c5c65;
  --brand-soft: #ebf3f4;
  --brand-line: #b9d4d7;
  --brand-glow: #8fd9de;
  --focus: #0e6b75;
  --logo-mark: #0e6b75;

  --cta-bg: var(--brand);
  --cta-ink: #ffffff;
  --cta-bg-hover: var(--brand-hover);
  --btn-r: 10px;

  --hero-bg:
    radial-gradient(52% 34% at 50% 66%, rgb(14 107 117 / 0.13) 0%, rgb(14 107 117 / 0) 70%),
    radial-gradient(80% 30% at 50% 74%, rgb(143 217 222 / 0.12) 0%, rgb(143 217 222 / 0) 70%),
    #ffffff;

  --dark-bg: #121618;
  --panel-bg:
    radial-gradient(70% 90% at 50% 125%, rgb(14 107 117 / 0.7) 0%, rgb(14 107 117 / 0) 70%),
    #121618;
  --featured-bg: #121618;

  /* status do produto (design/tokens.json › color.status / movement / risk) */
  --disp: #1f9d63; --disp-bg: #e7f5ee; --disp-ink: #136b43;
  --campo: #6e56cf; --campo-bg: #efecfb; --campo-ink: #5240b0;
  --atr: #e5484d; --atr-bg: #fdebec; --atr-ink: #b42d33;
  --avar: #e8a33d; --avar-bg: #fcf2e1; --avar-ink: #8a5a0b;
  --perd: #8b919b; --perd-bg: #eff0f2; --perd-ink: #4b515b;

  --r-l: 16px; --r-xl: 24px;

  --shadow-window:
    0 0 0 1px rgb(11 13 24 / 0.06), 0 1px 2px rgb(11 13 24 / 0.03), 0 3px 6px rgb(11 13 24 / 0.03),
    0 8px 14px rgb(11 13 24 / 0.035), 0 16px 28px rgb(11 13 24 / 0.045), 0 32px 64px rgb(11 13 24 / 0.05);
  --shadow-pop: 0 0 0 1px rgb(11 13 24 / 0.06), 0 4px 8px rgb(11 13 24 / 0.06), 0 14px 32px rgb(11 13 24 / 0.11);
  --shadow-card: 0 0 0 1px var(--line), 0 1px 2px rgb(11 13 24 / 0.04);
  --shadow-ui: 0 1px 2px rgb(16 24 40 / 0.05);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 9vw, 120px);
  --nav-h: 64px;
  --app-h: 540px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
input { caret-color: var(--brand); }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: #c7e0e2; color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  padding: 10px 14px; border-radius: 8px; background: var(--ink); color: var(--bg); font-weight: 500;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.i {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.n { font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- Tipografia ---------- */
.display {
  font-weight: 600;
  font-size: clamp(2.5rem, 1.45rem + 4.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2 {
  font-weight: 500;
  font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.h3 {
  font-weight: 500;
  font-size: clamp(1.3125rem, 1.12rem + 0.8vw, 1.6875rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h4 { font-weight: 500; font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.012em; }
.soft { color: var(--muted); }
.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 58ch;
  text-wrap: pretty;
}
.body { color: var(--muted); text-wrap: pretty; }
.lead--short { display: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.rail { border-inline: 1px solid var(--line); }
.section { position: relative; padding-block: var(--section-y); }
.section--flush { padding-block: 0; }
.section--line { border-top: 1px solid var(--line); }
.section--snug-top { padding-top: clamp(24px, 4vw, 48px); }
.section-head { max-width: 800px; margin-bottom: clamp(36px, 5.5vw, 64px); }
.section-head .lead { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dots-bg {
  background-color: var(--bg-soft);
  background-image: radial-gradient(circle at 1px 1px, #dcdfe3 1px, transparent 0);
  background-size: 14px 14px;
}

/* ---------- Botões ---------- */
.btn {
  --h: 40px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 16px;
  border-radius: var(--btn-r); border: 1px solid transparent;
  font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.005em; line-height: 1; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn--lg { --h: 48px; padding: 0 20px; font-size: 1rem; }
.btn--sm { --h: 36px; padding: 0 13px; font-size: 0.875rem; }
.btn--primary {
  background: var(--cta-bg); color: var(--cta-ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16), 0 1px 2px rgb(0 0 0 / 0.16);
}
.btn--primary:hover { background: var(--cta-bg-hover); }
.btn--secondary {
  background: var(--surface); color: var(--ink); border-color: var(--line-2);
  box-shadow: 0 1px 2px rgb(11 13 24 / 0.05);
}
.btn--secondary:hover { background: var(--bg-soft); }
.btn--ghost { color: var(--ink-2); }
.btn--ghost:hover { background: var(--bg-sunken); color: var(--ink); }
.btn .i-arrow { transition: transform 0.2s var(--ease-out); }
.btn:hover .i-arrow { transform: translateX(2px); }

/* pílula do herói com brilho (shimmer) que passa por ela */
.pill-link {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  min-height: 34px; padding: 4px 10px 4px 4px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: rgb(255 255 255 / 0.8);
  font-size: 0.8125rem; color: var(--ink-2); text-align: left;
  box-shadow: 0 1px 2px rgb(11 13 24 / 0.04);
  transition: border-color 0.15s, background-color 0.15s;
}
.pill-link::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgb(14 107 117 / 0.14) 44%, rgb(255 255 255 / 0.75) 50%, rgb(14 107 117 / 0.14) 56%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 4.2s var(--ease-in-out) 1.2s infinite;
}
.pill-link:hover { border-color: var(--brand-line); background: var(--surface); }
.pill-link__tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; flex: none;
  border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 0.75rem; font-weight: 500;
}
.pill-link .i { width: 14px; height: 14px; color: var(--muted); }
@keyframes shimmer { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(100%); } }

/* ---------- Navegação ---------- */
/* Fundo opaco: nada da página passa por baixo do logo e do menu, em nenhum motor (QA landing-mobile, item 1). */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.is-scrolled, .nav.is-open { border-bottom-color: var(--line); }
.nav__inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.brand { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.brand__logo { width: auto; height: 28px; aspect-ratio: 639.92 / 256; }
.logo__mark { fill: var(--logo-mark); }
.logo__name { fill: currentColor; }
.nav__links { display: flex; gap: 2px; }
.nav__links a {
  padding: 8px 12px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 500; color: var(--ink-2);
  transition: background-color 0.15s, color 0.15s;
}
.nav__links a:hover { background: var(--bg-sunken); color: var(--ink); }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
/* CTA e Entrar do header: a caixa tem 44 (alvo de toque) e o desenho continua com 36 */
.nav .btn--sm { --h: 44px; padding: 0 14px; font-size: 0.875rem; isolation: isolate; background: transparent; box-shadow: none; }
.nav .btn--sm::before { content: ""; position: absolute; inset: 4px 0; z-index: -1; border-radius: 9px; transition: background-color 0.15s; }
.nav .btn--primary::before { background: var(--cta-bg); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16), 0 1px 2px rgb(0 0 0 / 0.16); }
.nav .btn--primary:hover { background: transparent; }
.nav .btn--primary:hover::before { background: var(--cta-bg-hover); }
.nav .btn--ghost:hover { background: transparent; }
.nav .btn--ghost:hover::before { background: var(--bg-sunken); }
.nav__toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  align-items: center; justify-content: center; border-radius: 10px; color: var(--ink);
}
.nav__toggle:active { background: var(--bg-sunken); }
.burger { position: relative; width: 18px; height: 12px; }
.burger i {
  position: absolute; left: 0; right: 0; height: 1.75px; border-radius: 2px; background: currentColor;
  transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out);
}
.burger i:first-child { top: 2px; }
.burger i:last-child { top: 8.25px; }
.nav.is-open .burger i { top: 5.1px; }
.nav.is-open .burger i:first-child { transform: rotate(45deg); }
.nav.is-open .burger i:last-child { transform: rotate(-45deg); }

/* menu do celular: folha de tela cheia abaixo do header, links grandes e as ações embaixo */
.nav__mobile {
  position: fixed; inset: var(--nav-h) 0 0 0;
  display: flex; flex-direction: column;
  padding: 8px var(--gutter) calc(20px + env(safe-area-inset-bottom));
  background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
  animation: folha 0.28s var(--ease-out);
}
.nav__sheet { display: flex; flex-direction: column; }
.nav__sheet a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px;
  border-bottom: 1px solid var(--line);
  font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink);
  animation: folha-item 0.42s var(--ease-out) both;
}
.nav__sheet a:nth-child(2) { animation-delay: 30ms; }
.nav__sheet a:nth-child(3) { animation-delay: 60ms; }
.nav__sheet a:nth-child(4) { animation-delay: 90ms; }
.nav__sheet .i { width: 18px; height: 18px; color: var(--faint); }
.nav__sheet-foot { display: grid; gap: 10px; margin-top: auto; padding-top: 28px; }
.nav__sheet-foot .btn { width: 100%; --h: 52px; }
.nav__sheet-note { margin-top: 4px; text-align: center; font-size: 0.875rem; color: var(--muted); text-wrap: balance; }
html.menu-open { overflow: hidden; }
@keyframes folha { from { opacity: 0; } }
@keyframes folha-item { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Herói ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; padding-top: clamp(48px, 8vw, 104px); }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--hero-bg); pointer-events: none; }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__title { margin-top: 24px; max-width: 20ch; }
.hero__title .soft { display: block; }
.hero__lead { margin-top: 22px; max-width: 56ch; }
.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero__note { margin-top: 16px; font-size: 0.875rem; color: var(--muted); text-wrap: balance; }
.hero__stage { position: relative; margin-top: clamp(44px, 6.5vw, 80px); padding-bottom: clamp(56px, 8vw, 96px); }

/* moldura translúcida em volta da janela do produto + border beam */
.frame {
  position: relative; isolation: isolate;
  padding: 6px;
  border-radius: var(--r-l);
  background: rgb(246 247 248 / 0.85);
  box-shadow: var(--shadow-window), 0 40px 120px rgb(14 107 117 / 0.12);
}
.frame__beam {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: inherit; padding: 1.5px; overflow: hidden;
  container-type: size;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.frame__beam i {
  position: absolute; left: 50%; top: 50%;
  width: 150%; width: hypot(100cqw, 100cqh); aspect-ratio: 1;
  background: conic-gradient(from 0deg, transparent 0 70%, rgb(14 107 117 / 0) 72%, rgb(14 107 117 / 0.9) 82%, var(--brand-glow) 86%, transparent 88%);
  transform: translate(-50%, -50%) rotate(0deg);
  animation: beam-spin 7s linear infinite;
}
@keyframes beam-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.frame > .app { position: relative; z-index: 1; }

/* ---------- Tipos de ativo (marquee) ---------- */
.tipos { padding: clamp(36px, 5vw, 56px) 0; }
.tipos__title { text-align: center; color: var(--muted); font-size: 0.9375rem; margin-bottom: 22px; padding-inline: 16px; text-wrap: balance; }
.marquee {
  overflow: hidden; padding-block: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.tipo {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 6px;
  border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-card);
  font-size: 0.9375rem; color: var(--ink-2); white-space: nowrap;
}
.code {
  display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 6px;
  background: var(--perd-bg); color: var(--perd-ink);
  font-size: 0.875rem; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
}

/* ---------- A dor ---------- */
.dor { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.dor__text .h2 { max-width: 18ch; }
.mesa {
  position: relative; height: 470px; border-radius: var(--r-l);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
}
.papel {
  position: absolute; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-pop);
  font-size: 12.5px; color: var(--ink-2); line-height: 1.4;
}
.papel .mark { position: relative; margin-inline: 5px; color: var(--atr-ink); font-weight: 600; }
.papel .mark::after {
  content: ""; position: absolute; inset: -3px -6px; border: 1.5px solid var(--atr); border-radius: 50%;
  transform: rotate(-4deg);
}
.papel--sheet { left: 4%; top: 5%; width: 60%; overflow: hidden; }
.sheet__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: #f3f6f4; }
.sheet__file { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet__file .i { width: 14px; height: 14px; color: #3f7a52; }
.sheet__meta { color: var(--atr-ink); font-size: 11.5px; white-space: nowrap; }
.sheet__grid { display: grid; grid-template-columns: 26px 1.5fr 0.8fr 0.8fr 1.1fr; }
.sheet__grid > span { padding: 6px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 30px; }
.sheet__grid .h { background: var(--bg-soft); color: var(--faint); font-size: 11px; text-align: center; padding-inline: 2px; }
.sheet__grid .b { font-weight: 600; color: var(--ink); }
.sheet__grid .num { text-align: right; font-variant-numeric: tabular-nums; overflow: visible; text-overflow: clip; }
.sheet__grid .err { color: var(--atr-ink); }
.sheet__grid .obs { color: var(--muted); font-style: italic; }
.papel--note {
  left: 14%; bottom: 5%; width: 46%; padding: 14px 16px 16px; z-index: 2;
  background:
    repeating-linear-gradient(180deg, transparent 0 25px, #dde6ef 25px 26px) 0 34px / 100% calc(100% - 34px) no-repeat,
    #fffdf6;
  transform: rotate(-2deg);
  font-size: 13.5px; color: #2a3a5c; line-height: 26px;
}
.note__date { color: var(--atr-ink); font-weight: 500; line-height: 20px; margin-bottom: 8px; }
.papel--chat { right: 3%; top: 4%; width: 40%; padding: 10px; background: #f4f5f6; transform: rotate(1.5deg); }
.chat__head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.chat__head b { display: block; color: var(--ink); font-weight: 600; font-size: 12.5px; }
.chat__head small { display: block; color: var(--muted); font-size: 12px; }
.bubble { position: relative; max-width: 88%; margin: 0 0 6px; padding: 6px 10px; border-radius: 4px 12px 12px 12px; background: var(--surface); box-shadow: var(--shadow-ui); }
.bubble b { display: block; font-size: 12px; color: var(--brand); font-weight: 600; }
.bubble__t { display: block; text-align: right; font-size: 11.5px; color: var(--faint); margin-top: -2px; }
.typing { display: inline-flex; gap: 4px; padding: 8px 10px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-ui); }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); animation: blink 1.2s infinite both; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

.dores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); margin-top: clamp(48px, 6vw, 72px); }
.dore { padding-top: 18px; border-top: 1px solid var(--ink); }
.dore .body { margin-top: 8px; font-size: 0.9375rem; }

/* calculadora de perda */
.calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 3.5vw, 48px);
  margin-top: clamp(56px, 7vw, 88px); padding: clamp(20px, 3.5vw, 40px);
  border-radius: var(--r-xl); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line);
}
.calc__note { margin-top: 14px; font-size: 0.875rem; color: var(--muted); }
.calc__fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; }
.calc__field label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.stepper {
  position: relative; display: flex; align-items: center; height: 48px;
  border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
}
.stepper:focus-within { box-shadow: inset 0 0 0 1px var(--brand), 0 0 0 3px var(--brand-soft); }
.stepper button { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 9px; color: var(--ink-2); }
.stepper button:hover { background: var(--bg-soft); }
.stepper input {
  flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: 0;
  text-align: center; font-size: 1.0625rem; font-weight: 500; font-variant-numeric: tabular-nums;
}
.stepper--prefix::before, .stepper--suffix::after { position: absolute; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.9375rem; pointer-events: none; }
.stepper--prefix::before { content: attr(data-prefix); left: 54px; }
.stepper--suffix::after { content: attr(data-suffix); right: 54px; }
.calc__result { display: flex; flex-direction: column; align-items: flex-start; padding-left: clamp(0px, 3vw, 40px); border-left: 1px solid var(--line-2); }
.calc__value { font-size: clamp(2.25rem, 1.7rem + 2vw, 3.25rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--atr-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__label { margin-top: 6px; font-weight: 500; }
.calc__sub { margin-top: 12px; color: var(--muted); font-size: 0.9375rem; }
.calc__vs { margin-top: 12px; padding: 8px 12px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-size: 0.875rem; font-weight: 500; }
.calc__result .btn { margin-top: 20px; }

/* ---------- A virada: fluxo dos ativos com beam ---------- */
.fluxo-stage { border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(24px, 4vw, 48px) clamp(16px, 3vw, 40px); overflow: hidden; }
.fluxo {
  --node-w: 236px;
  position: relative; display: grid;
  grid-template-columns: var(--node-w) minmax(48px, 1fr) var(--node-w) minmax(48px, 1fr) var(--node-w);
  grid-template-rows: 52px auto 40px auto;
  align-items: center; max-width: 1040px; margin-inline: auto;
}
.fx-node {
  position: relative; z-index: 1; padding: 12px 14px; min-height: 74px;
  border-radius: 10px; background: var(--surface);
  box-shadow: 0 0 0 1px #87b5ba, 0 1px 2px rgb(16 24 40 / 0.06), 0 4px 10px rgb(16 24 40 / 0.05);
}
.fx-node--neutral { box-shadow: 0 0 0 1px #dadde1, 0 1px 2px rgb(16 24 40 / 0.06), 0 4px 10px rgb(16 24 40 / 0.05); }
.fx-node--a { grid-area: 2 / 1; }
.fx-node--b { grid-area: 2 / 3; }
.fx-node--c { grid-area: 2 / 5; }
.fx-node--d { grid-area: 4 / 3; }
.fx-node__head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.fx-node__val { margin-top: 6px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fx-node__val small { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.fx-ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--perd-bg); color: var(--perd-ink); flex: none; }
.fx-ico .i { width: 15px; height: 15px; }
.fx-ico--violet { background: var(--campo-bg); color: var(--campo-ink); }
.fx-ico--ok { background: var(--disp-bg); color: var(--disp-ink); }
.fx-ico--warn { background: var(--avar-bg); color: var(--avar-ink); }
.fx-chip { margin-left: auto; padding: 1px 7px; border-radius: 5px; font-size: 11.5px; font-weight: 500; }
.fx-chip--bad { background: var(--atr-bg); color: var(--atr-ink); }
.fx-chip--ok { background: var(--disp-bg); color: var(--disp-ink); }
.fx-link { position: relative; height: 100%; display: grid; place-items: center; }
.fx-link--a { grid-area: 2 / 2; }
.fx-link--b { grid-area: 2 / 4; }
.fx-pill {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 9px; border-radius: 999px; background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-2); font-size: 12px; color: var(--ink-2); white-space: nowrap;
}
.fx-pill .i { width: 12px; height: 12px; color: var(--brand); }
.fx-drop { grid-area: 3 / 3; position: relative; height: 100%; }
.fx-loop {
  grid-area: 1 / 1 / 2 / 6; position: relative; height: 100%;
  margin-inline: calc(var(--node-w) / 2);
  border: 1.5px solid #9fc4c8; border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.fx-pill--loop { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); }

/* segmentos com beam: a linha é estática; o brilho anda só por transform */
.seg { position: absolute; overflow: hidden; pointer-events: none; }
.seg i { position: absolute; inset: 0; display: block; }
.seg--h { height: 2px; }
.seg--v { width: 2px; }
.seg--h i { background: linear-gradient(90deg, transparent, rgb(14 107 117 / 0) 20%, var(--brand) 70%, var(--brand-glow) 92%, transparent); transform: translateX(-100%); }
.seg--v i { background: linear-gradient(180deg, transparent, rgb(14 107 117 / 0) 20%, var(--brand) 70%, var(--brand-glow) 92%, transparent); transform: translateY(-100%); }
.fx-link .seg--h { left: -1px; right: -1px; top: calc(50% - 1px); background: #9fc4c8; }
.fx-drop .seg--v { top: -1px; bottom: -1px; left: calc(50% - 1px); background: #bfc3c9; }
.fx-drop .seg--v i { background: linear-gradient(180deg, transparent, #8b919b 70%, #c9cdd2 92%, transparent); }
.seg--loop-up { right: -1.75px; top: 10px; bottom: 0; }
.seg--loop-top { left: 12px; right: 12px; top: -1.75px; }
.seg--loop-down { left: -1.75px; top: 10px; bottom: 0; }
.seg--loop-top i { background: linear-gradient(270deg, transparent, rgb(14 107 117 / 0) 20%, var(--brand) 70%, var(--brand-glow) 92%, transparent); transform: translateX(100%); }
.seg--loop-up i { background: linear-gradient(0deg, transparent, rgb(14 107 117 / 0) 20%, var(--brand) 70%, var(--brand-glow) 92%, transparent); transform: translateY(100%); }
/* portas: cheia na saída, vazada na entrada */
.fx-link::before, .fx-link::after {
  content: ""; position: absolute; top: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; z-index: 2;
}
.fx-link::before { left: -4px; background: var(--brand); }
.fx-link::after { right: -4px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--brand); }
/* ciclo de 6 s: estoque → clientes → retornados → sobe → volta → desce */
.is-flowing .seg--a i { animation: beam-x 6s var(--ease-in-out) infinite; }
.is-flowing .seg--b i { animation: beam-x 6s var(--ease-in-out) 1s infinite; }
.is-flowing .seg--drop i { animation: beam-y 6s var(--ease-in-out) 1.1s infinite; }
.is-flowing .seg--loop-up i { animation: beam-up 6s var(--ease-in-out) 2.05s infinite; }
.is-flowing .seg--loop-top i { animation: beam-xl 6s var(--ease-in-out) 2.45s infinite; }
.is-flowing .seg--loop-down i { animation: beam-y-short 6s var(--ease-in-out) 3.6s infinite; }
@keyframes beam-x { 0% { transform: translateX(-100%); } 18%, 100% { transform: translateX(100%); } }
@keyframes beam-xl { 0% { transform: translateX(100%); } 20%, 100% { transform: translateX(-100%); } }
@keyframes beam-y { 0% { transform: translateY(-100%); } 12%, 100% { transform: translateY(100%); } }
@keyframes beam-y-short { 0% { transform: translateY(-100%); } 8%, 100% { transform: translateY(100%); } }
@keyframes beam-up { 0% { transform: translateY(100%); } 8%, 100% { transform: translateY(-100%); } }

.passos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2.5vw, 32px); margin-top: clamp(32px, 4vw, 48px); }
.passo { padding-top: 18px; border-top: 1px solid var(--line-2); }
.passo__num {
  display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 12px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.passo .body { margin-top: 6px; font-size: 0.9375rem; }

/* ---------- Tour do produto ---------- */
.tour-head { max-width: 920px; margin: 0; padding: clamp(64px, 9vw, 120px) clamp(20px, 4.5vw, 64px) clamp(36px, 5vw, 56px); }
.tour { display: grid; grid-template-columns: 224px minmax(0, 1fr); border-top: 1px solid var(--line); }
.tour__nav { position: relative; }
.tour__sticky { position: sticky; top: calc(var(--nav-h) + 40px); padding: 48px 24px; }
.tour__list { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.tour__link { position: relative; display: block; padding: 7px 0 7px 16px; color: var(--muted); font-size: 0.9375rem; transition: color 0.2s; }
.tour__link::before { content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 1.5px; background: transparent; transition: background-color 0.2s; }
.tour__link:hover { color: var(--ink-2); }
.tour__link[aria-current] { color: var(--ink); }
.tour__link[aria-current]::before { background: var(--brand); }
.tour__chapters { border-left: 1px solid var(--line); min-width: 0; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter__head { padding: clamp(44px, 6.5vw, 88px) clamp(20px, 4.5vw, 64px) clamp(32px, 4.5vw, 52px); max-width: 760px; }
.chapter__head .body { margin-top: 14px; max-width: 54ch; }
.chapter__stage { position: relative; overflow: hidden; padding: clamp(16px, 4vw, 52px); border-top: 1px solid var(--line); }
.tour-end {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: clamp(28px, 4vw, 40px) clamp(20px, 4.5vw, 64px); border-top: 1px solid var(--line);
}

/* ---------- Recursos (seção escura) ---------- */
.section--dark {
  --bg: var(--dark-bg);
  --bg-soft: rgb(255 255 255 / 0.03);
  --bg-sunken: rgb(255 255 255 / 0.07);
  --surface: rgb(255 255 255 / 0.05);
  --ink: #f2f4f5; --ink-2: #d3d8db; --muted: #9ba4a9; --faint: #7d878c;
  --line: rgb(255 255 255 / 0.08); --line-2: rgb(255 255 255 / 0.14);
  --shadow-card: 0 0 0 1px var(--line);
  --logo-mark: #ffffff;
  --focus: #8fd9de;
  color-scheme: dark;
  background: var(--bg); color: var(--ink);
}
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.bento__cell { grid-column: span 2; display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bento__cell--wide { grid-column: span 3; }
.bento__visual { position: relative; flex: 1; min-height: 230px; padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; overflow: hidden; }
.bento__text { position: relative; padding: 0 28px 28px; }
.bento__text .body { margin-top: 6px; font-size: 0.9375rem; }
.bento__nota { margin-top: 8px; color: var(--muted); font-size: 0.8125rem; line-height: 1.45; }

/* spotlight: luz que segue o ponteiro (só no hover; --mx/--my vêm do JS) */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(14 107 117 / 0.24), transparent 60%);
  transition: opacity 0.3s;
}
.spot:hover::before { opacity: 1; }
.plan.spot::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgb(14 107 117 / 0.08), transparent 60%); }
.plan--featured.spot::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgb(143 217 222 / 0.16), transparent 60%); }

/* relatório (barras divergentes) */
.rel { width: 100%; max-width: 460px; padding: 16px; border-radius: 12px; background: rgb(255 255 255 / 0.04); box-shadow: 0 0 0 1px var(--line); font-size: 13px; }
.rel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.rel__head b { display: block; font-weight: 500; }
.rel__head small { color: var(--muted); font-size: 12px; }
.rel__chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 7px; box-shadow: 0 0 0 1px var(--line-2); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.rel__chip .i { width: 13px; height: 13px; }


/* ---------- Preços ---------- */
.billing-wrap { display: flex; justify-content: center; margin-bottom: 32px; }
.billing { display: inline-flex; flex-wrap: wrap; justify-content: center; padding: 3px; border-radius: 12px; background: var(--bg-sunken); }
.billing button {
  min-height: 44px; padding: 0 14px; border-radius: 9px;
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.billing button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(11 13 24 / 0.12); }
.billing__save { color: var(--disp-ink); }
.plans { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; max-width: 940px; margin-inline: auto; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: 20px; padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-l); background: var(--surface); box-shadow: var(--shadow-card);
}
.plan--featured {
  --focus: #8fd9de;
  --surface: var(--featured-bg); --ink: #f2f4f5; --ink-2: #d3d8db; --muted: #a3acb1;
  --line: rgb(255 255 255 / 0.12); --line-2: rgb(255 255 255 / 0.2);
  background: var(--featured-bg); color: var(--ink);
  box-shadow: 0 24px 60px rgb(11 13 24 / 0.22);
}
.plan__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 500; font-size: 1.0625rem; }
.plan__badge { font-size: 0.875rem; padding: 2px 10px; border-radius: 999px; background: var(--brand-glow); color: #0b3a40; font-weight: 500; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: -12px; }
.plan__amount { font-size: 2.75rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan__unit { color: var(--muted); font-size: 0.9375rem; }
.plan__billed { color: var(--muted); font-size: 0.875rem; min-height: 1.3em; }
.plan__anchor { margin-top: -14px; color: var(--muted); font-size: 0.875rem; }
.plan__anchor s { color: var(--ink-2); text-decoration-thickness: 1.5px; }
.plan__desc { color: var(--muted); font-size: 0.9375rem; margin-top: -6px; }
.plan__list { display: grid; gap: 10px; font-size: 0.9375rem; color: var(--ink-2); }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; }
.plan__list .i { margin-top: 3px; color: var(--disp); }
.plan--featured .plan__list .i { color: var(--brand-glow); }
.plan .btn { margin-top: auto; width: 100%; --h: 46px; }
.plan--featured .btn--primary { background: #fff; color: var(--brand); box-shadow: none; }
.plan--featured .btn--primary:hover { background: #e9f4f5; }
.mods { padding-top: 18px; border-top: 1px solid var(--line); }
.mods__title { font-size: 0.875rem; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.mod { display: flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.mod:last-child { border-bottom: 0; }
.mod__name { flex: 1; min-width: 0; color: var(--ink-2); }
.mod__price { color: var(--muted); font-size: 0.875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* interruptor: a caixa tem 48x44 (alvo de toque) e o desenho continua 40x24 */
.switch { position: relative; width: 48px; height: 44px; flex: none; margin: -10px -4px; }
.switch::before { content: ""; position: absolute; left: 4px; top: 10px; width: 40px; height: 24px; border-radius: 99px; background: #b5b9c0; transition: background-color 0.2s; }
.switch::after { content: ""; position: absolute; top: 13px; left: 7px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 0.3); transition: transform 0.2s var(--ease-out); }
.switch[aria-checked="true"]::before { background: var(--brand); }
.switch[aria-checked="true"]::after { transform: translateX(16px); }
.switch:focus-visible { outline: 0; }
.switch:focus-visible::before { outline: 2px solid var(--focus); outline-offset: 2px; }
.ministep { display: inline-flex; align-items: center; gap: 2px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); }
.ministep button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; color: var(--ink-2); }
.ministep button:hover { background: var(--bg-soft); }
.ministep output { min-width: 18px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.plan__total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 14px 16px; border-radius: 10px; background: var(--bg-soft); }
.plan__total > span { color: var(--muted); font-size: 0.9375rem; }
.plan__total b { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan__total small { font-size: 0.875rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan__hint { margin-top: -8px; padding: 10px 12px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-size: 0.875rem; }
.sep { display: grid; gap: 6px; padding: 14px 16px; border-radius: 10px; background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.875rem; color: var(--muted); }
.sep__t { color: var(--ink-2); font-weight: 500; margin-bottom: 2px; }
.sep li { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.sep li > span:last-child { white-space: nowrap; }
.sep li:last-child { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--ink-2); font-weight: 500; }
.plans__note { margin-top: 20px; text-align: center; color: var(--muted); font-size: 0.875rem; text-wrap: balance; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__intro .body { margin-top: 14px; }
.faq__intro .btn-row { margin-top: 24px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 64px; padding: 16px 0; font-weight: 500; font-size: 1.0625rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { color: var(--muted); transition: transform 0.25s var(--ease-out); }
.faq__item[open] summary .i { transform: rotate(45deg); }
.faq__answer { padding: 0 48px 22px 0; color: var(--muted); }
@supports selector(::details-content) {
  .faq__item::details-content { block-size: 0; overflow: clip; transition: block-size 0.3s var(--ease-out), content-visibility 0.3s allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; block-size: calc-size(auto, size); }
}

/* ---------- CTA final ---------- */
.cta-panel {
  --focus: #8fd9de;
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(56px, 9vw, 112px) clamp(20px, 6vw, 80px);
  border-radius: var(--r-xl);
  background: var(--panel-bg); color: #fff; text-align: center;
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: radial-gradient(circle at 1px 1px, rgb(255 255 255 / 0.14) 1px, transparent 0);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}
.cta-panel__mark { width: 40px; height: 40px; margin: 0 auto 24px; color: #fff; }
.cta-panel .h2 { max-width: 25ch; margin-inline: auto; }
.cta-panel .soft { color: rgb(255 255 255 / 0.68); }
.cta-panel .btn-row { justify-content: center; margin-top: 32px; }
.cta-panel .btn--primary { background: #fff; color: var(--brand); box-shadow: none; }
.cta-panel .btn--primary:hover { background: #e9f4f5; }
.cta-panel .btn--secondary { background: rgb(255 255 255 / 0.08); color: #fff; border-color: rgb(255 255 255 / 0.22); box-shadow: none; }
.cta-panel .btn--secondary:hover { background: rgb(255 255 255 / 0.15); }
.cta-panel__note { margin-top: 16px; text-wrap: balance; font-size: 0.875rem; color: rgb(255 255 255 / 0.72); }

/* ---------- Rodapé ---------- */
.footer { padding-block: 56px 32px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__about { color: var(--muted); max-width: 36ch; margin-top: 14px; }
.footer__col h2 { font-size: 0.875rem; font-weight: 500; margin-bottom: 10px; }
.footer__col ul { display: grid; }
.footer__col a { display: inline-flex; align-items: center; min-height: 36px; min-width: 44px; color: var(--muted); transition: color 0.15s; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.875rem;
}

/* ==========================================================================
   UI do produto (mockups em DOM, nunca imagem). A .app é ilustração:
   role="img" + aria-label; nada dentro dela é clicável.
   Medidas e cores seguem design/componentes.md e design/tokens.json.
   ========================================================================== */
.app {
  --app-fs: 13px;
  position: relative; overflow: hidden;
  height: var(--app-h);
  display: flex; flex-direction: column;
  background: #fff; color: #1c1f24;
  border: 1px solid rgb(28 31 36 / 0.08); border-radius: 11px;
  font-size: var(--app-fs); line-height: 1.4;
  text-align: left; letter-spacing: -0.003em; user-select: none;
  font-variant-numeric: tabular-nums;
}
.app .i { width: 15px; height: 15px; }
.app small { font-size: 12px; color: #5f6672; }
.app__bar {
  display: flex; align-items: center; gap: 12px; flex: none;
  height: 38px; padding: 0 12px;
  border-bottom: 1px solid #eeeff1; background: #f7f7f8;
}
.dots { display: flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3e3e7; }
.dots i:nth-child(1) { background: #ff6159; }
.dots i:nth-child(2) { background: #ffbd2e; }
.dots i:nth-child(3) { background: #28c941; }
.app__crumb { display: flex; align-items: center; gap: 6px; min-width: 0; color: #5f6672; font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.app__crumb b { color: #1c1f24; font-weight: 500; }

/* shell do Volta (sidebar 1.1, topbar 1.3) */
.app--hero { --app-h: 656px; background: #f7f7f8; }
.vapp { flex: 1; min-height: 0; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.vside { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 8px; }
.vws { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 6px; font-weight: 600; font-size: 14px; }
.vws__logo { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--brand); color: #fff; flex: none; }
.vws__logo svg { width: 15px; height: 15px; }
.app .vws__chev { width: 14px; height: 14px; color: #6a707a; }
.vws__panel { margin-left: auto; color: #8b919b; }
.vquick { display: flex; gap: 6px; padding: 6px 0 10px; }
.vquick__btn { flex: 1; display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 8px; border-radius: 6px; border: 1px solid #e1e3e6; background: #fff; color: #2b3038; font-weight: 500; white-space: nowrap; }
.vquick__btn .i { color: #6a707a; }
.vquick__sq { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 6px; border: 1px solid #e1e3e6; background: #fff; color: #6a707a; }
.kbd { margin-left: auto; padding: 0 5px; border-radius: 4px; border: 1px solid #e3e4e8; background: #fafafb; color: #5f6672; font-size: 11px; font-weight: 500; line-height: 16px; }
.kbd--on { margin-left: 8px; border-color: rgb(255 255 255 / 0.3); background: rgb(255 255 255 / 0.14); color: #fff; }
.vnav { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 8px; border-radius: 6px; color: #2b3038; font-weight: 500; white-space: nowrap; }
.app .vnav .i { width: 16px; height: 16px; color: #6a707a; }
.vnav.is-active { background: #e9eaed; color: #1c1f24; }
.app .vnav.is-active .i { color: #1c1f24; }
.vnav__count { margin-left: auto; padding: 0 5px; border-radius: 4px; background: var(--atr-bg); color: var(--atr-ink); font-size: 11px; font-weight: 600; line-height: 16px; }
.vgroup { display: flex; align-items: center; gap: 6px; height: 28px; margin-top: 10px; padding: 0 8px; color: #6a707a; font-size: 12px; font-weight: 500; }
.app .vgroup .i { width: 13px; height: 13px; }
.vside__foot { margin-top: auto; display: grid; gap: 6px; }
.vuser { display: flex; align-items: center; gap: 9px; padding: 4px 8px; }
.vuser b { display: block; font-weight: 500; font-size: 13px; }
.vuser small { display: block; }
.vav { --c: #24727a; display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--c); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0; }
.vav--a { --c: #24727a; } .vav--b { --c: #6a57b8; } .vav--c { --c: #3f6db5; } .vav--d { --c: #a8547a; } .vav--e { --c: #6f7236; }
.vmain { position: relative; min-width: 0; min-height: 0; margin: 8px 8px 8px 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #e6e7ea; border-radius: 10px; box-shadow: 0 1px 2px rgb(16 24 40 / 0.04); }
.vtop { display: flex; align-items: center; gap: 10px; flex: none; height: 48px; padding: 0 12px 0 16px; border-bottom: 1px solid #eeeff1; }
.vcrumb { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.vcrumb b { font-weight: 500; }
.vcrumb__ico { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: #f1f2f4; color: #5f6672; flex: none; }
.app .vcrumb__ico .i { width: 13px; height: 13px; }
.vtop__right { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.vlive { display: inline-flex; align-items: center; gap: 7px; color: #5f6672; font-size: 12px; white-space: nowrap; }
.vlive i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--disp); box-shadow: 0 0 0 3px var(--disp-bg); }
.vlive i::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid var(--disp); opacity: 0; animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { opacity: 0.8; transform: scale(0.6); } 100% { opacity: 0; transform: scale(2.2); } }
.vdiv { width: 1px; height: 18px; background: #e6e7ea; }
.vbtn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 6px; border: 1px solid #e1e3e6; background: #fff; color: #1c1f24; font-weight: 500; font-size: 12.5px; white-space: nowrap; box-shadow: var(--shadow-ui); transition: transform 0.15s var(--ease-out), background-color 0.2s; }
.app .vbtn .i { width: 14px; height: 14px; }
.vbtn--pri { background: var(--brand); border-color: var(--brand); color: #fff; }
.vbtn--ghost { border-color: transparent; background: transparent; box-shadow: none; color: #3d434c; }
.vbtn.is-pressed { transform: scale(0.95); background: var(--brand-hover); }
.vbody { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; overflow: hidden; }
.vhello b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.vhello span { color: #5f6672; font-size: 12.5px; }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; flex: none; }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 11px 13px; min-width: 0; border-radius: 10px; border: 1px solid #e6e7ea; background: #fff; box-shadow: var(--shadow-ui); }
.tile__head { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: #5f6672; font-size: 12px; font-weight: 500; white-space: nowrap; }
.app .tile__head .i { width: 15px; height: 15px; color: #8b919b; }
.tile__val { font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.tile__sub { color: #5f6672; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile--danger { background: #fef7f7; border-color: #f6d9da; }
.tile--danger .tile__head, .tile--danger .tile__sub { color: #9a3a3f; }
.tile--danger .tile__val { color: #b42d33; }
.app .tile--danger .i { color: var(--atr); }
.vgrid2 { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
.vcard { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; border-radius: 10px; border: 1px solid #e6e7ea; background: #fff; box-shadow: var(--shadow-ui); }
.vcard__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; height: 42px; padding: 0 14px; }
.vcard__head b { font-weight: 500; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vlink { display: inline-flex; align-items: center; gap: 2px; color: #5f6672; font-size: 12px; white-space: nowrap; }
.app .vlink .i { width: 13px; height: 13px; transform: rotate(-90deg); }

/* tabela do Volta (4.4) */
.vt { display: flex; flex-direction: column; }
.vt__tr { display: grid; grid-template-columns: minmax(0, 1fr) 56px 84px 70px; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-top: 1px solid #f1f2f4; transition: background-color 0.5s; }
.vt__th { height: 30px; color: #5f6672; font-size: 12px; font-weight: 500; }
.vt__tr.is-highlight, .act__item.is-highlight, .al__tr.is-highlight { background: #edf5f6; transition-duration: 0.15s; }
.cli { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cli > span:last-child { min-width: 0; }
.cli b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cli small { display: block; font-size: 11.5px; white-space: nowrap; }
.sq { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 6px; background: #f1f2f4; border: 1px solid #e6e7ea; color: #4b515b; font-size: 11px; font-weight: 600; }
.sq--s { width: 22px; height: 22px; font-size: 11px; border-radius: 5px; }
.sq--l { width: 40px; height: 40px; font-size: 13px; border-radius: 9px; }
.atr { color: var(--atr-ink); font-weight: 600; white-space: nowrap; }
.atr small { color: #5f6672; font-weight: 400; font-size: 11.5px; }
.nil { color: #6a707a; }
.nil::before { content: "—"; }

/* chips (3.1): status, risco, movimentação */
.rk, .st, .mv {
  display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px;
  border-radius: 5px; font-size: 12px; font-weight: 500; white-space: nowrap;
  transition: background-color 0.35s, color 0.35s;
}
.rk::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.rk--s { height: 18px; font-size: 11px; padding: 0 6px; }
.rk--plain::before { display: none; }
.rk--baixo, .st--disp, .mv--ret { background: var(--disp-bg); color: var(--disp-ink); }
.rk--baixo::before { background: var(--disp); }
.rk--atencao, .st--avar, .mv--avar { background: var(--avar-bg); color: var(--avar-ink); }
.rk--atencao::before { background: var(--avar); }
.rk--alto, .st--atr { background: var(--atr-bg); color: var(--atr-ink); }
.rk--alto::before { background: var(--atr); }
.st--campo, .mv--sai { background: var(--campo-bg); color: var(--campo-ink); }
.st--perd { background: var(--perd-bg); color: var(--perd-ink); }
.is-swapping { animation: pop 0.45s var(--ease-out); }
@keyframes pop { 40% { transform: scale(1.1); } }

/* atividade recente (6.3) */
.act { display: flex; flex-direction: column; min-height: 0; }
.act__item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 8px 14px; transition: background-color 0.5s; }
.act__ico { display: grid; place-items: center; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; border: 1px solid #e6e7ea; background: #fafafb; color: #5f6672; }
.app .act__ico .i { width: 12px; height: 12px; stroke-width: 2; }
.act__ico--ret { background: var(--disp-bg); border-color: #d3eddf; color: var(--disp-ink); }
.act__ico--sai { background: var(--campo-bg); border-color: #dcd5f6; color: var(--campo-ink); }
.act__ico--par { background: var(--avar-bg); border-color: #f3e1bd; color: var(--avar-ink); }
.act__txt { min-width: 0; }
.act__txt b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act__txt small { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act__t { color: #5f6672; font-size: 12px; white-space: nowrap; padding-top: 1px; }

/* painel de movimentação (7) */
.app--saida { --app-h: 616px; }
.vsplit { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 420px; background: #fff; }
.vbg { padding: 14px 16px; opacity: 0.5; }
.vbg__head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #eeeff1; }
.vbg__head b { font-weight: 500; font-size: 14px; }
.vbg__head span { color: #5f6672; font-size: 12px; }
.vbg__row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 44px; align-items: center; gap: 10px; height: 42px; border-bottom: 1px solid #f1f2f4; white-space: nowrap; }
.vbg__row > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
.mp {
  position: relative; display: flex; flex-direction: column; min-height: 0; overflow: hidden;
  border-left: 1px solid #e6e7ea; background: #fff;
  box-shadow: -18px 0 40px rgb(16 24 40 / 0.08);
}
.mp--full { flex: 1; border-left: 0; box-shadow: none; }
.app--retorno { --app-h: 640px; max-width: 640px; margin-inline: auto; }
.mp__head { position: relative; flex: none; padding: 14px 16px 12px; }
.mp__head small { display: block; font-size: 12px; }
.mp__head b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.mp__head > span { display: block; margin-top: 2px; color: #5f6672; font-size: 12.5px; }
.mp__x { position: absolute; right: 14px; top: 14px; color: #6a707a; }
.mtabs { display: flex; gap: 2px; flex: none; margin: 0 16px 12px; padding: 3px; border-radius: 8px; background: #f1f2f4; }
.mtabs span { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 28px; border-radius: 6px; color: #5f6672; font-weight: 500; font-size: 12.5px; }
.mtabs .is-on { background: #fff; color: #1c1f24; box-shadow: 0 1px 2px rgb(16 24 40 / 0.1); }
.app .mtabs .i { width: 13px; height: 13px; }
.mfields { flex: none; margin: 0 16px 12px; border: 1px solid #e6e7ea; border-radius: 10px; }
.mfield { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 12px; }
.mfield__l { width: 52px; flex: none; color: #5f6672; font-size: 12.5px; }
.mfield__v { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.mfield__name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mfield__name:empty::before, .q:empty::before, .cnt-in:empty::before { content: attr(data-placeholder); color: #6a707a; font-weight: 400; }
.mfield__meta { display: inline-flex; align-items: center; gap: 8px; color: #5f6672; font-size: 12.5px; margin-left: auto; }
.mitems { flex: none; padding: 0 16px; }
.mitems__head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 6px; }
.mitems__head b { font-weight: 500; }
.mitems__head span { color: #5f6672; font-size: 12px; }
.mitem { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-height: 52px; padding: 6px 0; border-top: 1px solid #f1f2f4; }
.mitem__ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: #f1f2f4; color: #5f6672; }
.mitem__txt { min-width: 0; }
.mitem__txt b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mitem__txt small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mitem__q { color: #5f6672; font-size: 12.5px; }
.token { padding: 0 6px; border-radius: 5px; background: #f1f2f4; color: #4b515b; font-size: 11.5px; font-weight: 500; line-height: 20px; }
.stepq { display: inline-flex; align-items: center; height: 30px; border: 1px solid #e1e3e6; border-radius: 7px; grid-column: 3 / 5; }
.stepq__b { display: grid; place-items: center; width: 28px; height: 28px; color: #5f6672; }
.app .stepq__b .i { width: 13px; height: 13px; }
.stepq__v { min-width: 38px; text-align: center; font-weight: 600; }
.msum { flex: none; margin: 10px 16px 0; padding: 12px; border-radius: 10px; background: #f8f9fa; }
.msum__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.msum__head > b { font-weight: 500; font-size: 12.5px; }
.msum__head > span { color: #5f6672; font-size: 12px; white-space: nowrap; }
.msum__head > span b { color: #1c1f24; font-weight: 600; }
.msum .lim { grid-template-columns: 150px minmax(50px, 1fr) auto; }
.lim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(60px, 0.9fr) auto; align-items: center; gap: 10px; min-height: 26px; }
.lim__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.lim__num { color: #5f6672; font-size: 12px; white-space: nowrap; }
.lim__bar { position: relative; height: 8px; border-radius: 4px; background: #eeeff1; overflow: hidden; }
.lim__bar--free { background: repeating-linear-gradient(90deg, #eeeff1 0 6px, transparent 6px 9px); }
.lim__bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.lim__base { left: 0; width: calc(var(--v) * 100%); background: #b5b9c0; clip-path: inset(0 0 0 0); transition: clip-path 0.9s var(--ease-out); }
.lim__base--ok { background: var(--campo); }
.lim__base--over { background: var(--atr); }
.lim__add { left: calc(var(--a) * 100%); width: calc((var(--b) - var(--a)) * 100%); background: var(--avar); border-radius: 0 4px 4px 0; clip-path: inset(0 0 0 0); transition: clip-path 0.9s var(--ease-out); }
.lim__tick { left: calc(var(--t) * 100%); width: 2px; background: #1c1f24; border-radius: 0; opacity: 0.7; }
[data-scene].is-armed [data-act="grow"]:not(.is-shown) { clip-path: inset(0 100% 0 0); }
.mwarn { display: flex; gap: 8px; margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: #fef8ec; border: 1px solid #f3e1bd; color: #8a5a0b; font-size: 12px; line-height: 1.4; }
.app .mwarn .i { width: 14px; height: 14px; margin-top: 1px; color: var(--avar); }
.mp__foot { display: flex; align-items: center; gap: 8px; flex: none; margin-top: auto; padding: 12px 16px; border-top: 1px solid #eeeff1; }
.mp__foot .vbtn { height: 32px; }
.mp__meta { margin-left: auto; color: #5f6672; font-size: 12px; white-space: nowrap; }
.app--toast-left .toasts { left: 14px; right: auto; }
.app--toast-top .toasts { top: 52px; bottom: auto; }

/* retorno (9) */
.rt { flex: none; margin: 0 16px; border: 1px solid #e6e7ea; border-radius: 10px; overflow: hidden; }
.rt__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 12px 8px; }
.rt__head b { font-weight: 500; }
.rt__head span { color: #5f6672; font-size: 12px; white-space: nowrap; }
.rt__tr { display: grid; grid-template-columns: 16px minmax(0, 1fr) 62px 62px 62px; align-items: center; gap: 8px; min-height: 48px; padding: 6px 12px; border-top: 1px solid #f1f2f4; }
.rt__th { min-height: 30px; background: #fafafb; color: #5f6672; font-size: 12px; font-weight: 500; }
.rt__th .n { text-align: center; }
.rt__s { min-width: 0; }
.rt__s b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt__s small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt__s em { font-style: normal; }
.late { color: var(--atr-ink); }
.warn { color: var(--avar-ink); }
.box { width: 15px; height: 15px; border-radius: 4px; border: 1px solid #cdd1d6; background: #fff; flex: none; transition: background-color 0.2s, border-color 0.2s; }
.box.is-on { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: var(--brand); }
.q { display: flex; align-items: center; justify-content: center; height: 32px; border-radius: 7px; border: 1px solid #e1e3e6; background: #fff; font-weight: 600; font-size: 13px; }
.q--avar { background: var(--avar-bg); border-color: #f3ddb4; color: #8a5a0b; }
.q--perd { background: var(--perd-bg); border-color: #dfe1e5; color: #4b515b; }
.q--zero { color: #6a707a; font-weight: 400; background: #fafafb; }
.q--focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.motivos { display: flex; flex-wrap: wrap; gap: 6px 16px; flex: none; margin: 10px 16px 0; color: #5f6672; font-size: 12px; }
.motivos .cnt { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin: 0 4px; padding: 0 4px; border-radius: 4px; background: #f1f2f4; color: #1c1f24; font-weight: 600; font-size: 11px; }
.depois { flex: none; margin: 10px 16px 0; padding: 10px 12px; border-radius: 10px; background: #f8f9fa; border: 1px solid #eeeff1; }
.depois__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.depois__head b { font-weight: 500; }
.depois__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; color: #5f6672; font-size: 12.5px; }
.depois__row > span:last-child { display: inline-flex; align-items: center; gap: 5px; color: #3d434c; white-space: nowrap; }
.depois__row b { color: #1c1f24; font-weight: 600; }

/* saldo por cliente (5 e 6) */
.app--saldos { --app-h: 540px; }
.cd { flex: 1; min-height: 0; display: grid; grid-template-columns: 250px minmax(0, 1fr); background: #fff; }
.cd__list { padding: 12px 10px; border-right: 1px solid #eeeff1; background: #fcfcfd; overflow: hidden; }
.cd__seg { display: flex; flex-wrap: wrap; gap: 2px; padding: 2px; margin-bottom: 8px; border-radius: 7px; background: #f1f2f4; font-size: 11.5px; }
.cd__seg span { flex: 1; padding: 3px 4px; border-radius: 5px; text-align: center; color: #5f6672; white-space: nowrap; }
.cd__seg .is-on { background: #fff; color: #1c1f24; box-shadow: 0 1px 2px rgb(16 24 40 / 0.1); }
.cd__row { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 8px; height: 36px; padding: 0 8px; border-radius: 6px; }
.cd__row > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd__row.is-sel { background: #edf5f6; box-shadow: inset 0 0 0 1px #cfe1e3; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--alto { background: var(--atr); } .dot--atencao { background: var(--avar); } .dot--baixo { background: var(--disp); }
.cd__main { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px 18px; overflow: hidden; }
.cd__title { display: flex; align-items: center; gap: 12px; }
.cd__title > span:nth-child(2) { min-width: 0; }
.cd__title b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd__title small { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.cd__cta { margin-left: auto; }
.hls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hl { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid #e6e7ea; }
.hl__l { color: #5f6672; font-size: 12px; }
.hl__v { font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.015em; }
.hl__v--risk { color: var(--atr-ink); display: inline-flex; align-items: center; gap: 7px; }
.hl__v--risk::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--atr); }
.hl small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl--danger { background: #fef7f7; border-color: #f6d9da; }
.app .hl--danger .hl__l, .app .hl--danger small { color: #9a3a3f; }
.hl--danger .hl__v { color: #b42d33; }
.cd__box { padding: 10px 12px; border-radius: 10px; border: 1px solid #e6e7ea; }
.cd__box .lim { grid-template-columns: 136px minmax(60px, 1fr) auto auto; }
.cd__cap { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; color: #5f6672; font-size: 12px; font-weight: 500; }
.cd__cap span { font-weight: 400; color: #6a707a; }
.cd__box--list { padding-bottom: 4px; }
.ep { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 38px; border-top: 1px solid #f1f2f4; }
.ep__a { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep__m { color: #5f6672; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* alertas (10) */
.app--alertas { --app-h: 520px; }
.al { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; overflow: hidden; }
.al__top { display: flex; align-items: center; gap: 10px; flex: none; height: 46px; padding: 0 16px; border-bottom: 1px solid #eeeff1; }
.al__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap; }
.al__meta { margin-left: auto; color: #5f6672; font-size: 12px; white-space: nowrap; }
.al__bar { display: flex; align-items: center; gap: 12px; flex: none; height: 42px; padding: 0 16px; border-bottom: 1px solid #eeeff1; color: #5f6672; font-size: 12px; }
.al__bar b { color: #1c1f24; font-weight: 500; }
.seg-mini { display: inline-flex; padding: 2px; border-radius: 7px; background: #f1f2f4; }
.seg-mini span { padding: 3px 9px; border-radius: 5px; }
.seg-mini .is-on { background: #fff; color: #1c1f24; box-shadow: 0 1px 2px rgb(16 24 40 / 0.1); }
.al__group { display: flex; align-items: center; gap: 12px; flex: none; height: 36px; padding: 0 16px; background: #fafafb; border-bottom: 1px solid #f1f2f4; }
.al__gt { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.al__gt b { font-weight: 500; }
.app .al__gt .i { width: 13px; height: 13px; color: #6a707a; }
.app .al__group--closed .al__gt .i { transform: rotate(-90deg); }
.al__gs { color: #6a707a; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cnt { color: #5f6672; font-weight: 500; }
.al__tr { display: grid; grid-template-columns: 24px minmax(0, 1.4fr) 44px minmax(0, 1.1fr) 112px; align-items: center; gap: 12px; height: 48px; flex: none; padding: 0 16px; border-bottom: 1px solid #f1f2f4; background: #fff; transition: background-color 0.5s; }
.al__c { min-width: 0; }
.al__c b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al__c small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sev { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; }
.app .sev .i { width: 13px; height: 13px; }
.sev--alta { background: var(--atr-bg); color: #c2303a; }
.sev--media { background: var(--avar-bg); color: #9a6512; }
.al__a { justify-self: end; display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid #e1e3e6; font-weight: 500; font-size: 12px; white-space: nowrap; }
.al__foot { margin-top: auto; flex: none; display: flex; justify-content: space-between; padding: 10px 16px; border-top: 1px solid #eeeff1; color: #5f6672; font-size: 12px; }

/* inventário (12) */
.app--inv { --app-h: 500px; }
.inv { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; background: #fff; overflow: hidden; }
.inv__head { display: flex; align-items: center; gap: 12px; }
.inv__head > span:first-child { min-width: 0; }
.inv__head b { display: block; font-weight: 600; font-size: 15px; }
.inv__head small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv__head .vbtn { margin-left: auto; }
.inv__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.itile { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid #e6e7ea; }
.itile span { color: #5f6672; font-size: 12px; white-space: nowrap; }
.itile b { font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; }
.itile b span { font-size: inherit; color: inherit; }
.itile--danger { background: #fef7f7; border-color: #f6d9da; }
.itile--danger > span { color: #9a3a3f; }
.itile--danger b { color: #b42d33; }
.it { border: 1px solid #e6e7ea; border-radius: 10px; overflow: hidden; }
.it__tr { display: grid; grid-template-columns: minmax(0, 1.5fr) 80px 92px 76px minmax(96px, 0.9fr); align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-top: 1px solid #f1f2f4; }
.it__tr:first-child { border-top: 0; }
.it__th { height: 32px; background: #fafafb; color: #5f6672; font-size: 12px; font-weight: 500; }
.it__t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.app .it__t small { margin-left: 6px; font-weight: 400; color: #6a707a; }
.cnt-in { justify-self: end; display: flex; align-items: center; justify-content: flex-end; width: 72px; height: 30px; padding: 0 10px; border-radius: 7px; border: 1px solid #e1e3e6; font-weight: 600; }
.cnt-in:empty { border-style: dashed; }
.neg { color: var(--atr-ink); font-weight: 600; }
.pos { color: var(--avar-ink); font-weight: 600; }
.zero { color: #6a707a; }

/* toasts (2.11): fundo escuro como no app */
.toasts {
  position: absolute; right: 14px; bottom: 14px; z-index: 6;
  display: flex; flex-direction: column; gap: 8px; width: min(320px, calc(100% - 28px));
  pointer-events: none;
}
.toast {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px;
  border-radius: 10px; background: #1c1f24; color: #f2f4f5; box-shadow: 0 12px 32px rgb(16 24 40 / 0.28);
  font-size: 12.5px; line-height: 1.4;
  opacity: 0; transform: translateY(10px) scale(0.98);
  transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out);
}
.toast.is-shown { opacity: 1; transform: none; }
.toast__icon { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; flex: none; background: rgb(60 203 134 / 0.16); color: #3ccb86; }
.app .toast__icon .i { width: 12px; height: 12px; stroke-width: 2.5; }
.toast__icon--violet { background: rgb(167 145 255 / 0.18); color: #b8a8ff; }
.toast__icon--warn { background: rgb(232 163 61 / 0.18); color: #f0b65e; }
.toast__icon--info { background: rgb(143 217 222 / 0.16); color: var(--brand-glow); }
.toast b { font-weight: 600; }
.toast__time { color: #9ba4a9; font-size: 11.5px; }

/* cursor fictício que "usa" o sistema */
.cursor {
  position: absolute; left: 0; top: 0; z-index: 8; width: 20px; height: 20px;
  pointer-events: none; opacity: 0;
  transition: transform 0.85s var(--ease-in-out), opacity 0.3s;
  will-change: transform;
}
.cursor svg { width: 20px; height: 20px; filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.25)); transition: transform 0.12s; }
.cursor.is-on { opacity: 1; }
.cursor.is-click svg { transform: scale(0.82); }
.cursor::after {
  content: ""; position: absolute; left: -9px; top: -9px; width: 20px; height: 20px;
  border-radius: 50%; border: 2px solid var(--brand); opacity: 0; transform: scale(0.4);
}
.cursor.is-click::after { animation: ripple 0.5s var(--ease-out); }
@keyframes ripple { 0% { opacity: 0.7; transform: scale(0.4); } 100% { opacity: 0; transform: scale(1.8); } }
.is-typing::after {
  content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px;
  background: currentColor; vertical-align: text-bottom; animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* animações contínuas pausam fora da tela (--play vem do JS) */
.frame__beam i, .marquee__track, .pill-link::after, .typing i { animation-play-state: var(--play, running); }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ==========================================================================
   Estados de cena (só existem quando o JS arma a cena fora da tela).
   Sem JS ou com movimento reduzido, tudo fica visível e completo.
   ========================================================================== */
[data-scene].is-armed [data-enter] { opacity: 0; transform: translateY(8px); }
[data-scene].is-armed [data-enter].is-in, [data-enter].is-in { opacity: 1; transform: none; transition: opacity 0.45s var(--ease-out), transform 0.6s var(--ease-out); }
[data-scene].is-armed [data-act="show"]:not(.is-shown) { opacity: 0; }
[data-reveal].is-reveal { opacity: 0; transform: translateY(16px); }
[data-reveal].is-reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0ms); }

/* ==========================================================================
   V5 e V6 na página (marketing 01): Resumo da semana, Cobrar hoje, portal, Pix,
   contrato, o celular na rua (QR, canhoto, sem internet), rota e os recursos novos.
   ========================================================================== */
/* Resumo da semana (V5-R3), acima dos cartões do Dashboard */
.resumo { display: flex; align-items: center; gap: 8px; flex: none; padding: 9px 10px 9px 14px; border-radius: 10px; border: 1px solid var(--brand-line); background: var(--brand-soft); }
.resumo__txt { flex: 1; min-width: 0; }
.app .resumo__txt small { display: block; color: #3c6a70; }
.resumo__txt b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resumo__txt em { font-style: normal; font-weight: 600; color: var(--brand); }
.app .vbtn--wa .i { color: var(--disp); }
.app .vbtn--pri .i { color: currentColor; }

/* cobrança: você na fila, o cliente no link */
.cb { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px 40px; align-items: start; padding: clamp(20px, 3.5vw, 44px); border: 1px solid var(--line); border-radius: var(--r-xl); }
.cb__quem { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--muted); font-size: 0.875rem; font-weight: 500; }
.cb__quem .i { width: 16px; height: 16px; }
.app--fila { --app-h: 606px; box-shadow: var(--shadow-window); }
.fila { position: relative; display: flex; flex: 1; flex-direction: column; min-height: 0; }
.fila__abas { display: flex; flex: none; gap: 20px; height: 42px; padding: 0 18px; border-bottom: 1px solid #eef0f2; }
.fila__abas > span { display: flex; align-items: center; gap: 6px; color: #5f6672; font-weight: 500; }
.fila__abas .is-on { color: #1c1f24; box-shadow: inset 0 -2px 0 var(--brand); }
.fila__tiles { display: grid; flex: none; grid-template-columns: repeat(3, minmax(0, 148px)) minmax(0, 1fr); align-items: end; gap: 10px; padding: 14px 18px; }
.fila__ord { justify-self: end; color: #5f6672; font-size: 12.5px; white-space: nowrap; }
.app .itile b small { color: #5f6672; font-size: 13px; font-weight: 500; }
.fl__tr { display: grid; grid-template-columns: minmax(0, 1fr) 70px 70px 92px 148px 104px; align-items: center; gap: 12px; height: 52px; padding: 0 18px; border-bottom: 1px solid #f1f2f4; }
.fl__th { height: 34px; border-top: 1px solid #eef0f2; background: #fafafb; color: #5f6672; font-size: 12px; font-weight: 500; }
.fl__c { min-width: 0; }
.fl__c b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl__c small { display: block; }
.fl__tr > .vbtn { justify-self: end; }
.score { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; font-size: 12.5px; font-weight: 600; }
.score--alto { background: var(--atr-bg); color: var(--atr-ink); }
.score--atencao { background: var(--avar-bg); color: var(--avar-ink); }
/* diálogo Cobrar no WhatsApp: abre abaixo da 1ª linha, sem cobrir o selo dela */
.wa { position: absolute; left: 18px; top: 222px; z-index: 3; width: 452px; padding: 14px 16px 12px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-pop); }
.wa__head { display: flex; flex-direction: column; padding-bottom: 10px; border-bottom: 1px solid #eef0f2; }
.wa__head b { font-size: 14px; font-weight: 600; }
.wa__cap { margin-top: 10px; color: #5f6672; font-size: 12px; font-weight: 500; }
.wa__bolha { margin-top: 6px; padding: 10px 12px; border-radius: 10px 10px 10px 2px; background: #dcf5d6; color: #1c1f24; font-size: 12.5px; line-height: 1.5; }
.wa__bolha mark { padding: 0 2px; border-radius: 3px; background: rgb(14 107 117 / 0.12); color: inherit; }
.wa__chk { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12.5px; }
.wa__foot { display: flex; gap: 8px; margin-top: 10px; }
.wa__nota { margin-top: 8px; color: #5f6672; font-size: 12px; }

/* celular (portal e na rua): moldura escura, tela branca, toque visível */
.app.cel { --app-h: auto; width: 300px; max-width: 100%; margin-inline: auto; padding: 8px; border: 0; border-radius: 42px; background: #0b0d10; box-shadow: 0 0 0 1px rgb(11 13 24 / 0.08), 0 30px 60px -18px rgb(14 107 117 / 0.38); }
.cel__tela { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 560px; padding: 22px 14px 16px; overflow: hidden; border-radius: 34px; background: #fff; }
.cel .toasts { top: 14px; right: 14px; bottom: auto; left: 14px; width: auto; }
.cel .toast br, .cel .toast__time { display: none; }
.cursor--dedo { width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgb(14 107 117 / 0.26); box-shadow: 0 0 0 2px rgb(255 255 255 / 0.9), 0 2px 8px rgb(0 0 0 / 0.2); }
.cursor--dedo::after { left: 3px; top: 3px; }
.cursor--dedo.is-click { transform: scale(0.86); }
.cel__cap { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cel__cap b { font-weight: 600; }
.cel__btn { display: grid; place-items: center; height: 42px; margin-top: auto; border-radius: 10px; background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; transition: transform 0.15s var(--ease-out), background-color 0.2s; }
.cel__btn.is-pressed { transform: scale(0.97); background: var(--brand-hover); }
.cel__off { display: flex; align-items: center; gap: 6px; margin: -22px -14px 0; padding: 22px 14px 9px 16px; background: var(--avar-bg); color: var(--avar-ink); font-size: 12px; font-weight: 500; white-space: nowrap; }
.cel__top { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #eef0f2; }
.cel__top > span:nth-child(2) { flex: 1; min-width: 0; }
.cel__top small { display: block; }
.cel__top b { display: block; font-size: 15px; font-weight: 600; }
.cel__fila { margin-left: auto; padding: 2px 8px; border-radius: 99px; background: rgb(255 255 255 / 0.7); color: var(--avar-ink); font-size: 12px; font-weight: 500; white-space: nowrap; }
.leitor { position: relative; display: grid; flex: none; place-items: center; height: 124px; overflow: hidden; border-radius: 12px; background: #15191c; }
.leitor::before { content: ""; position: absolute; inset: 14px calc(50% - 50px) 30px; border: 2px solid rgb(143 217 222 / 0.85); border-radius: 12px; }
.leitor__qr { width: 58px; height: 58px; margin-top: -16px; padding: 5px; border-radius: 4px; background: #fff; color: #1c1f24; transform: rotate(-4deg); }
.leitor__mira { position: absolute; top: 20px; left: calc(50% - 44px); width: 88px; height: 2px; background: var(--brand-glow); box-shadow: 0 0 10px var(--brand-glow); animation: mira 2.2s var(--ease-in-out) infinite alternate; animation-play-state: var(--play, running); }
@keyframes mira { to { transform: translateY(70px); } }
.leitor__rot { position: absolute; bottom: 7px; left: 10px; display: flex; align-items: center; gap: 6px; color: #d3d8db; font-size: 12px; }
.app .leitor__rot .i { width: 13px; height: 13px; }
.lido { display: grid; grid-template-columns: 16px minmax(0, 1fr) 16px; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; background: #f7f7f8; }
.lido b, .lido small { display: block; }
.lido b { font-weight: 600; }
.app .lido .i { width: 16px; height: 16px; color: #5f6672; }
.app .lido__ok { color: var(--disp); }
.assin { position: relative; flex: none; height: 74px; border: 1px dashed #c9cdd2; border-radius: 10px; }
.assin__traco { position: absolute; top: 4px; left: 14px; width: 180px; height: 54px; fill: none; stroke: #1c1f24; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease-in-out); }
.assin > span { position: absolute; right: 12px; bottom: 6px; left: 12px; padding-top: 3px; border-top: 1px solid #e6e7ea; color: #6a707a; font-size: 12px; }
.cel__campo { display: flex; flex-direction: column; gap: 2px; padding: 7px 10px; border: 1px solid #e1e3e6; border-radius: 10px; }
.cel__campo b { min-height: 20px; font-size: 14px; font-weight: 500; }
/* portal do cliente */
.por__top { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #eef0f2; }
.por__logo { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); }
.por__logo svg { width: 18px; height: 18px; }
.por__top b, .por__top small { display: block; }
.por__top b { font-size: 14px; font-weight: 600; }
.por__ok { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--disp-bg); color: var(--disp-ink); font-weight: 500; }
.por__h { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
.por__l { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 1px solid #e6e7ea; border-radius: 10px; }
.por__l > span { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.por__l b { font-weight: 500; }
.por__l .por__n { font-size: 20px; font-weight: 600; }
.por__mov { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: #f7f7f8; }
.por__mov small { display: flex; align-items: center; gap: 6px; }
.app .por__mov .i { width: 13px; height: 13px; }
.por__conf { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid #eef0f2; }
.por__conf > span:first-child { font-weight: 500; }
.por__conf .cel__btn { margin-top: 0; }

/* os três cartões da cobrança */
.cb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.cbc { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 20px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.cbc__vis { display: grid; place-items: center; min-height: 200px; margin-bottom: 12px; padding: 16px; border-radius: 12px; background: var(--bg-soft); }
.cbc .body { font-size: 0.9375rem; }
.pont, .pixv, .ctr { width: 100%; max-width: 300px; padding: 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); color: #1c1f24; font-size: 13px; line-height: 1.4; }
.pont__top { display: flex; align-items: baseline; gap: 6px; }
.pont__top b { font-size: 30px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.pont__top small, .pont__cap, .ctr__t small, .pixv__txt small, .pixv__txt > span:not(.pixv__bts) { color: #5f6672; font-size: 12px; }
.pont__top .rk { margin-left: auto; align-self: center; }
.pont__regua { position: relative; display: block; height: 6px; margin-top: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--disp) 0 35%, var(--avar) 35% 65%, var(--atr) 65%); }
.pont__regua i { position: absolute; top: -4px; left: calc(var(--v) * 100%); width: 3px; height: 14px; margin-left: -1.5px; border-radius: 2px; background: #1c1f24; box-shadow: 0 0 0 2px #fff; }
.pont__cap { margin-top: 12px; font-weight: 500; }
.pont__m li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid #f1f2f4; }
.pont__m li:last-child { border-bottom: 0; }
.pont__m b { font-weight: 600; font-variant-numeric: tabular-nums; }
.pixv { display: flex; align-items: center; gap: 14px; }
.pixv__qr { flex: none; width: 96px; height: 96px; padding: 6px; border-radius: 8px; box-shadow: inset 0 0 0 1px #e6e7ea; color: #1c1f24; }
.pixv__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pixv__txt small { display: flex; align-items: center; gap: 6px; }
.pixv .i { width: 14px; height: 14px; }
.pixv__txt b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.pixv__bts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ctr { display: flex; flex-direction: column; gap: 8px; }
.ctr__t b, .ctr__t small { display: block; }
.ctr__t b { font-weight: 600; }
.ctr__l { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 9px; background: #f7f7f8; }
.ctr__l > span:first-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctr .vbtn { align-self: flex-start; }
.ctr .i { width: 14px; height: 14px; color: var(--disp); }
.cb-end { margin-top: 24px; padding-inline: 0; border-top: 0; }

/* na rua */
.rua { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.rua__palco { padding: clamp(24px, 4vw, 48px) 16px; border: 1px solid var(--line); border-radius: var(--r-xl); }
.rua__itens { display: grid; gap: 24px; }
.rua__itens li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.rua__itens .body { margin-top: 4px; }
.ri { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.ri .i { width: 20px; height: 20px; }
.rota-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 20px; margin-top: 32px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--bg-soft); }
.rota { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); color: #1c1f24; font-size: 12.5px; line-height: 1.35; }
.rota__top { display: flex; flex-direction: column; gap: 8px; }
.rota__top b { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.rota .i { width: 14px; height: 14px; }
.rota .seg-mini { align-self: flex-start; color: #5f6672; font-size: 12px; }
.rota__lista li { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 8px; padding: 4px 0; }
.rota__lista b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rota__lista small { display: block; color: #5f6672; font-size: 12px; }
.rota__n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; }
.rota__n--dep { background: #f1f2f4; color: #4b515b; }
.rota .vbtn { justify-content: center; margin-top: 4px; }
.rota-card__txt .body { margin-top: 6px; font-size: 0.9375rem; }

/* faixa escura: quanto ajudou, NF-e, validade, depósitos, avisos */
.aj { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.aj > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 12px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.aj small, .aj__cap { color: var(--muted); font-size: 12px; }
.aj b { color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.aj > .aj__val { background: rgb(143 217 222 / 0.08); box-shadow: 0 0 0 1px rgb(143 217 222 / 0.3); }
.aj__val b { color: var(--brand-glow); }
.aj__cap { margin-top: 14px; }
.aj__bars { display: flex; align-items: flex-end; gap: 8px; height: 60px; margin-top: 8px; }
.aj__bars i { flex: 1; height: calc(var(--v) * 100%); border-radius: 4px 4px 0 0; background: var(--disp); transform-origin: bottom; transition: transform 0.9s var(--ease-out); }
[data-scene].is-armed .aj__bars i { transform: scaleY(0); }
.nfe, .lst, .push { display: grid; gap: 8px; width: 100%; font-size: 13px; color: var(--ink-2); }
.nfe { max-width: 440px; gap: 10px; }
.lst, .push { max-width: 320px; }
.nfe__arq, .lst__l { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-card); }
.nfe__arq b, .nfe__arq small, .lst__l b, .lst__l small { display: block; }
.nfe b, .lst b, .push b { color: var(--ink); font-weight: 500; }
.nfe small, .lst small, .push__t { color: var(--muted); font-size: 12px; }
.files__ico { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgb(255 255 255 / 0.06); color: var(--brand-glow); }
.files__ico .i { width: 15px; height: 15px; }
.nfe__box { padding: 12px 14px; border-radius: 12px; background: rgb(255 255 255 / 0.04); box-shadow: 0 0 0 1px var(--line-2); }
.nfe__t { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; }
.nfe .nfe__t b { font-weight: 600; }
.nfe__l { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.nfe__foot { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.dk { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.dk--campo { background: rgb(110 86 207 / 0.22); color: #c9bfff; }
.dk--atr { background: rgb(229 72 77 / 0.18); color: #ffa3a6; }
.lst__abas { display: flex; flex-wrap: wrap; gap: 6px; }
.lst__abas span { padding: 4px 10px; border-radius: 99px; box-shadow: 0 0 0 1px var(--line-2); color: var(--muted); font-size: 12px; }
.lst__abas .is-on { background: rgb(255 255 255 / 0.08); color: var(--ink); }
.lst__l { justify-content: space-between; }
.lst .lst__n { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lst__aviso { display: flex; align-items: flex-start; gap: 8px; padding: 9px 12px; border-radius: 10px; background: rgb(255 255 255 / 0.06); font-size: 12.5px; line-height: 1.4; }
.lst__aviso .i { width: 14px; height: 14px; margin-top: 2px; flex: none; color: var(--brand-glow); }
.push__n { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgb(255 255 255 / 0.09); }
.push__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: #fff; }
.push__ico svg { width: 18px; height: 18px; }
.push__n b, .push__n small { display: block; }
.push__n b { font-weight: 600; }
.push__n small { color: var(--ink-2); font-size: 12px; line-height: 1.35; }
.extras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.extras li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 12px; color: var(--muted); font-size: 0.875rem; line-height: 1.4; }
.extras b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 0.9375rem; font-weight: 600; }
.extras .rm-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px var(--line); color: var(--brand-glow); }
.extras .rm-ico .i { width: 18px; height: 18px; }

@media (max-width: 1100px) {
  .nav__opt { display: none; }
  .cb { grid-template-columns: minmax(0, 1fr); }
  .cb__col--cli .cb__quem { justify-content: center; }
  .rua { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .rota-card { grid-template-columns: minmax(0, 1fr); }
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .fl__tr { grid-template-columns: minmax(0, 1fr) 70px 92px 148px 104px; }
  .fl__tr > :nth-child(3) { display: none; }
  .cb-cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .rua { grid-template-columns: minmax(0, 1fr); }
  .rua__palco { max-width: 560px; }
  .fila__ord { display: none; }
  .resumo__txt b { white-space: normal; }
}
/* tablet: cada cartão da cobrança com o recorte ao lado do texto */
@media (min-width: 768px) and (max-width: 960px) {
  .cb-cards { max-width: none; }
  .cbc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; column-gap: 24px; }
  .cbc__vis { grid-row: 1 / span 2; margin: 0; }
  .cbc .h4 { align-self: end; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .tour { grid-template-columns: minmax(0, 1fr); }
  .tour__nav { display: none; }
  .tour__chapters { border-left: 0; }
  .vapp { grid-template-columns: minmax(0, 1fr); }
  .vside { display: none; }
  .vmain { margin: 0; border: 0; border-radius: 0; }
  .fluxo { --node-w: 184px; }
  .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .calc__intro { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .nav__links, .nav__entrar { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__cta { opacity: 0; visibility: hidden; }
  .dor { grid-template-columns: minmax(0, 1fr); }
  .dor__text .h2 { max-width: 24ch; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile--opt { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__cell, .bento__cell--wide { grid-column: span 1; }
  .bento__cell--wide:first-child { grid-column: span 2; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .vsplit { grid-template-columns: minmax(0, 1fr) 400px; }
  .cd { grid-template-columns: minmax(0, 1fr); }
  .vt--top .vt__tr { grid-template-columns: minmax(0, 1fr) 56px 76px; }
  .vt--top .vt__tr > :nth-child(3) { display: none; }
}

/* ==========================================================================
   Celular (até 767): composição própria (tarefa 06), não o desktop espremido.
   Uma ideia por tela; H2 de 28/1,15/600; corpo de 16; parágrafo cinza de no
   máximo 2 linhas; gutter de 20 e 64 entre seções; cartões com borda sutil e
   raio de 14. Os blocos .m-show só existem aqui; os .d-show, a partir de 768.
   ========================================================================== */
@media (min-width: 768px) {
  .m-show { display: none !important; }
  .monte > summary { display: none; }
}

@media (max-width: 767px) {
  :root { --nav-h: 56px; --gutter: 20px; --section-y: 32px; }
  .d-show { display: none !important; }

  /* ---- header (aprovado pela Lupa): logo, CTA compacto só quando nenhum outro CTA está na tela, menu ---- */
  .brand__logo { height: 26px; }
  .nav__cta { transition: opacity 0.2s, visibility 0s; }
  .nav:not(.is-scrolled) .nav__cta, .cta-na-tela .nav__cta { opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0s linear 0.2s; }

  /* ---- tipografia e ritmo ---- */
  .h2 { font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; }
  .h2 .soft, .h3 .soft { display: none; }
  .h3 { font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
  .h4 { font-size: 17px; }
  .m-sub { margin-top: 10px; max-width: 34ch; font-size: 16px; line-height: 1.5; color: var(--muted); }
  .section-head { margin-bottom: 24px; }
  .section-head .lead { margin-top: 10px; font-size: 16px; }
  .section-head--center { text-align: left; }
  .section--dark { padding-block: 56px; }
  .rail { border-inline: 0; }

  /* ---- herói: título à esquerda em 2 tons, um CTA e UM momento num celular ---- */
  .hero { padding-top: 28px; }
  .hero__inner { align-items: stretch; text-align: left; }
  .pill-link, .hero__stage { display: none; }
  .hero__title { max-width: none; margin-top: 0; font-size: clamp(2.25rem, 1.75rem + 2.2vw, 2.5rem); line-height: 1.04; letter-spacing: -0.032em; text-wrap: balance; }
  .lead--full { display: none; }
  .lead--short { display: inline; }
  .hero__lead { max-width: 30ch; margin-top: 14px; font-size: 16px; line-height: 1.5; }
  .hero__ctas { display: contents; }
  .hero__ctas .btn--primary { order: 1; --h: 52px; width: 100%; margin-top: 24px; }
  /* nota e link alinhados à esquerda, com o H1; o link sem recuo lateral, para o texto casar com a margem */
  .hero__note { order: 2; margin-top: 10px; text-align: left; font-size: 14px; }
  .hero__ctas .btn--secondary { order: 3; --h: 44px; align-self: flex-start; margin-top: 2px; padding-inline: 0; border-color: transparent; background: none; box-shadow: none; color: var(--brand); }
  .momento { order: 4; position: relative; margin-top: 28px; }
  .momento__tela {
    max-width: 340px; margin-inline: auto; padding-bottom: 20px; overflow: hidden;
    border: 6px solid #e8eaed; border-bottom: 0; border-radius: 36px 36px 0 0; background: #fff;
    box-shadow: 0 0 0 1px rgb(11 13 24 / 0.06), 0 24px 48px -16px rgb(14 107 117 / 0.28);
  }
  .momento__top { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-bottom: 1px solid #e6e7ea; background: #f7f7f8; font-size: 15px; font-weight: 600; }
  .momento__top > .i { color: #5f6672; }
  .momento__top .vlive { margin-left: auto; font-size: 13px; font-weight: 400; }
  .momento__tile { margin: 26px 16px 0; padding: 18px 18px 20px; border: 1px solid #e6e7ea; border-radius: 14px; }
  .momento__rot { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--muted); }
  .momento__num { display: block; margin-top: 8px; font-size: 64px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; transition: color 0.4s; }
  .momento__num.is-mudou { color: var(--disp-ink); }
  .momento__tile small { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }
  .momento .toasts { top: 10px; right: auto; bottom: auto; left: 50%; width: min(312px, calc(100% - 40px)); transform: translateX(-50%); }
  .momento .toast { font-size: 14px; transform: translateY(-10px) scale(0.98); }
  .momento .toast.is-shown { transform: none; }
  .momento .toast br, .momento .toast__time { display: none; }
  .hero + .section { border-top: 1px solid var(--line); }

  /* ---- tipos ---- */
  .tipos { padding: 24px 0 28px; }
  .tipos__title { margin-bottom: 14px; }

  /* ---- dor: três números em conflito para o mesmo cliente e as dores em 3 linhas ---- */
  .dor { display: block; }
  .conflito { margin-top: 24px; }
  .conflito__cli { margin-bottom: 10px; font-size: 14px; color: var(--muted); }
  .conflito__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cfc { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
  .cfc .i { width: 20px; height: 20px; color: var(--muted); }
  .cfc span { font-size: 14px; font-weight: 500; color: var(--ink-2); }
  .cfc b { font-size: 34px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
  .conflito__q { margin-top: 16px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
  .dores-m { display: grid; gap: 14px; margin-top: 28px; }
  .dores-m li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 16px; line-height: 1.4; color: var(--ink-2); }
  .dm-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }

  /* ---- calculadora compacta: campos em linha e o resultado numa linha só ---- */
  .calc { display: block; margin-top: 56px; padding: 20px; border-radius: 14px; }
  .calc__note { margin-top: 6px; font-size: 15px; }
  .calc__fields { margin-top: 16px; gap: 10px; }
  .calc__field { display: grid; grid-template-columns: minmax(0, 1fr) 164px; align-items: center; gap: 12px; }
  .calc__field label { margin: 0; font-size: 15px; }
  .stepper { height: 46px; }
  .stepper button { width: 44px; height: 44px; }
  .stepper input { font-size: 16px; }
  .stepper--prefix::before { left: 48px; }
  .stepper--suffix::after { right: 48px; }
  .calc__result { display: block; margin-top: 18px; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .calc__value { font-size: 40px; }
  .calc__label { margin-top: 4px; font-size: 15px; }
  .calc__sub { display: none; }
  .calc__vs { margin-top: 12px; }
  .calc__result .btn { display: flex; width: 100%; --h: 48px; margin-top: 16px; }

  /* ---- virada: 3 números ligados por uma linha e 4 passos com ícone ---- */
  .trio { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trio::before { content: ""; position: absolute; left: 16%; right: 16%; top: 19px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand-line), var(--brand), var(--brand-line)); }
  .trio div { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
  .trio b { padding: 0 8px; background: var(--bg); font-size: 28px; line-height: 40px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
  .trio span { font-size: 13px; color: var(--muted); }
  .passos-m { display: grid; gap: 18px; margin-top: 36px; }
  .passos-m li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; font-size: 17px; line-height: 1.35; font-weight: 500; }
  .pm-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
  .pm-ico .i { width: 22px; height: 22px; }

  /* ---- tour: carrossel com scroll-snap, 3 recortes ampliados ---- */
  #produto { padding-block: var(--section-y); }
  .tour-head { margin: 0; padding: 0 0 20px; }
  .carrossel {
    position: relative; display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 6px; scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory; scrollbar-width: none; align-items: flex-start;
  }
  .carrossel::-webkit-scrollbar { display: none; }
  .carrossel:focus-visible { outline-offset: -2px; }
  .slide { display: flex; flex: 0 0 86%; flex-direction: column; margin: 0; scroll-snap-align: center; }
  .slide figcaption { margin-top: 12px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
  /* cada slide com a altura do próprio conteúdo (QA redesenho, R3); nada dentro encolhe, senão a barra some */
  .mc { position: relative; display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 20px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); font-size: 15px; }
  .mc > * { flex-shrink: 0; }
  .mc .i { width: 16px; height: 16px; }
  .mc-cab { display: flex; align-items: center; gap: 10px; }
  .mc-cab b { min-width: 0; font-size: 16px; font-weight: 600; }
  .mc-cab .rk { margin-left: auto; font-size: 13px; }
  /* o chip troca de Baixo para Atenção: o lugar dele tem a largura do maior, e o nome do cliente não muda de quebra */
  .mc-st { display: flex; flex: none; justify-content: flex-end; min-width: 84px; margin-left: auto; }
  .mc .sq { width: 28px; height: 28px; font-size: 13px; }
  .mc-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); }
  .mc-item b { display: block; font-size: 16px; font-weight: 600; }
  .mc-item small { display: block; font-size: 14px; color: var(--muted); }
  /* a largura dos 3 dígitos desde o 0 da contagem: o nome do tipo não muda de quebra e o cartão não pula (R3) */
  .mc-qtd { min-width: 3ch; font-size: 34px; font-weight: 600; letter-spacing: -0.03em; text-align: right; font-variant-numeric: tabular-nums; }
  .mc-saldo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--muted); }
  .mc-saldo b { color: var(--ink); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .mc .lim__bar { height: 10px; border-radius: 5px; }
  /* o aviso entra por cima do uso, na mesma célula: o cartão não reserva espaço vazio nem muda de altura (R3) */
  .mc-limite { display: grid; }
  .mc-limite > * { grid-area: 1 / 1; }
  .mc-uso { display: flex; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); color: var(--muted); font-size: 14px; line-height: 1.35; }
  .mc-aviso { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #fef8ec; color: #8a5a0b; font-size: 14px; line-height: 1.35; }
  .mc-aviso .i { margin-top: 1px; color: var(--avar); }
  .mc-lin { margin-top: -6px; font-size: 14px; color: var(--muted); }
  .mc-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .mc-trio div { display: flex; flex-direction: column; gap: 6px; padding: 12px 8px; border: 1px solid var(--line-2); border-radius: 12px; text-align: center; }
  .mc-trio small { font-size: 13px; color: var(--muted); }
  .mc-trio b { font-size: 30px; line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; }
  .mc-trio .mc-av { border-color: #f3ddb4; background: var(--avar-bg); }
  .mc-trio .mc-av small, .mc-trio .mc-av b { color: var(--avar-ink); }
  .mc-fica { align-self: flex-start; padding: 4px 10px; border-radius: 8px; background: var(--avar-bg); color: var(--avar-ink); font-size: 14px; font-weight: 500; }
  .mc-al-top { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
  .mc-al-top .rk { margin-left: auto; font-size: 13px; }
  /* a lista de alertas tem a altura de 3 alertas e corta na base, com degradê: a altura não pula quando um alerta chega */
  .mc-lista { display: grid; flex: none; align-content: start; gap: 8px; height: 214px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
  .mc-alerta { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: background-color 0.5s, border-color 0.5s; }
  .mc-alerta.is-highlight { border-color: var(--brand-line); background: var(--brand-soft); transition-duration: 0.15s; }
  .mc-alerta b { display: block; font-size: 15px; line-height: 1.3; font-weight: 600; }
  .mc-alerta > span:nth-child(2) { min-width: 0; }
  .mc-alerta small { display: block; font-size: 13px; color: var(--muted); }
  .mc-alerta .n { font-size: 18px; font-weight: 600; }
  .mc .sev { width: 28px; height: 28px; border-radius: 8px; }
  .mc .sev .i { width: 14px; height: 14px; }
  .pontos { display: flex; justify-content: center; margin-top: 4px; }
  .pontos button { display: grid; place-items: center; width: 44px; height: 44px; }
  .pontos button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: #c9cdd2; transition: width 0.25s var(--ease-out), background-color 0.25s; }
  .pontos button[aria-current="true"]::before { width: 22px; background: var(--brand); }
  .tour-end { flex-direction: column; align-items: stretch; gap: 12px; padding: 24px 0 0; border-top: 0; }
  .tour-end .h4 { font-size: 16px; }
  .tour-end .btn { --h: 48px; }

  /* ---- recursos: lista de 5, ícone e uma frase, sem mockups ---- */
  .recursos-m li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; color: var(--muted); }
  .recursos-m li:last-child { border-bottom: 0; }
  .recursos-m b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
  .rm-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px var(--line); color: var(--brand-glow); }
  .rm-ico .i { width: 20px; height: 20px; }

  /* ---- preços: o Completo primeiro; o Base com "Monte o seu plano" fechado; totais ao vivo ---- */
  .billing-wrap { margin-bottom: 16px; }
  .billing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .billing button { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 6px 4px; line-height: 1.2; }
  .plans { display: flex; flex-direction: column; gap: 16px; }
  .plan--featured { order: -1; }
  .plan { gap: 16px; padding: 22px 20px; border-radius: 14px; }
  .plan__amount { font-size: 2.5rem; }
  .monte { border-top: 1px solid var(--line); }
  .monte > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: 16px; font-weight: 500; cursor: pointer; list-style: none; }
  .monte > summary::-webkit-details-marker { display: none; }
  .monte > summary .i { color: var(--muted); transition: transform 0.25s var(--ease-out); }
  .monte[open] > summary .i { transform: rotate(180deg); }
  .monte .mods { padding-top: 0; border-top: 0; }
  .monte .mods__title { display: none; }
  .ministep button { width: 44px; height: 44px; }
  /* a descrição de cada plano e a nota dos ciclos repetem o que o alternador e o "sem fidelidade" já dizem */
  .plan__desc, .plans__note { display: none; }
  .plan { gap: 14px; }
  .plan__list { gap: 8px; }
  .plan[data-reveal].is-reveal { opacity: 1; transform: none; }

  /* ---- perguntas, CTA final e rodapé: com mais respiro ---- */
  .faq { gap: 20px; }
  .faq__intro .btn-row { display: none; }
  .faq__item summary { min-height: 64px; gap: 16px; padding: 18px 0; font-size: 16px; }
  .faq__answer { padding: 0 0 20px; }
  .cta-panel { padding: 48px 20px; border-radius: 20px; }
  .cta-panel__mark { width: 32px; height: 32px; margin-bottom: 18px; }
  .cta-panel .btn-row { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .cta-panel .btn { width: 100%; }
  .footer { padding-block: 40px calc(24px + env(safe-area-inset-bottom)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer__brand { grid-column: span 2; }
  .footer__bottom { margin-top: 28px; }
}

/* Celular (até 767): a cobrança vira um cartão da fila com a prévia, o portal no celular e os três cartões; na rua, o celular e a lista. */
@media (max-width: 767px) {
  .cb { gap: 24px; padding: 0; border: 0; background: none; }
  .mc-fila { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--bg-soft); }
  .mc-fila b { display: block; font-size: 15px; line-height: 1.3; font-weight: 600; }
  .mc-fila small { display: block; color: var(--muted); font-size: 13px; }
  .mc .score { min-width: 36px; height: 28px; font-size: 14px; }
  .mc .vbtn { height: 36px; font-size: 14px; }
  .mc .st, .mc .rk { font-size: 13px; }
  .mc .wa__bolha { margin: 0; font-size: 14px; }
  .mc-cob { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 14px; }
  .mc-fila { grid-template-columns: auto minmax(0, 1fr); }
  .mc-fila .vbtn { grid-column: 1 / -1; justify-content: center; }
  /* os três cartões num carrossel com pontos, como o tour (tarefa 06) */
  .cb-cards { position: relative; display: flex; gap: 12px; max-width: none; margin: 8px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-padding-inline: var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cb-cards::-webkit-scrollbar { display: none; }
  .cb-cards:focus-visible { outline-offset: -2px; }
  .cb-cards [data-reveal] { opacity: 1; transform: none; }
  .cbc { flex: 0 0 86%; padding: 14px 14px 18px; scroll-snap-align: center; }
  .ctr__l > span:first-child { white-space: normal; }
  .cbc__vis { min-height: 0; padding: 14px; }
  .cb-end { margin-top: 20px; }
  .rua { gap: 28px; }
  .rua__palco { padding: 8px 0 0; border: 0; background: none; }
  .rua__itens { gap: 18px; }
  .rota-card { margin-top: 24px; padding: 12px; }
  /* os recortes dos cartões no celular com o piso de 13 px */
  .pont, .pixv, .ctr, .rota { font-size: 14px; }
  .pont__top small, .pont__cap, .ctr__t small, .pixv__txt small, .pixv__txt > span:not(.pixv__bts), .rota__lista small, .rota .seg-mini, .rota__n, .cbc .st, .cbc .rk { font-size: 13px; }
  .cbc .vbtn, .rota .vbtn { height: 36px; font-size: 14px; }
}

/* Paisagem e janelas baixas: o header ocupa menos (48) e a folha do menu cabe sem rolar, com as ações lado a lado. */
@media (max-height: 480px) {
  :root { --nav-h: 48px; }
  .nav__sheet a { min-height: 48px; font-size: 1.125rem; }
  .nav__sheet-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 16px; }
  .nav__sheet-foot .btn { --h: 44px; font-size: 0.9375rem; }
  .nav__sheet-note { display: none; }
}

/* telefones estreitos: botões de seção em largura total, como no herói */
@media (max-width: 560px) {
  .calc__result .btn, .faq__intro .btn, .tour-end .btn, .plan .btn { width: 100%; --h: 48px; }
  .mod { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nome ctl" "preco ctl"; align-items: center; gap: 2px 12px; padding: 10px 0; }
  .mod__name { grid-area: nome; }
  .mod__price { grid-area: preco; }
  .mod > .switch, .mod > .ministep { grid-area: ctl; }
}
@media (max-width: 380px) {
  .nav .btn--sm { padding: 0 12px; }
  .cfc { padding-inline: 10px; }
  .cfc b { font-size: 30px; }
}

/* ---------- Toque: alvos de 44 ---------- */
@media (pointer: coarse) {
  .btn--sm { --h: 44px; }
  .pill-link { min-height: 44px; }
  .ministep button { width: 44px; height: 44px; }
  .footer__col a { min-height: 44px; }
}

/* ---------- Movimento reduzido e impressão ---------- */
@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; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; padding-inline: 16px; }
  .tipo[aria-hidden="true"] { display: none; }
  .frame__beam, .seg i, .pill-link::after, .typing, .vlive i::after { display: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .tipo:nth-child(n+7) { display: none; }
}
@media print {
  .nav, .toasts, .cursor { display: none !important; }
  [data-reveal].is-reveal, [data-scene].is-armed [data-enter] { opacity: 1 !important; transform: none !important; }
}
