/* ============================================================
   KALKU — landing (redesenho 11/2026)
   Paleta Kalku: preto quente #060607, creme #f0efec e o azul #0867df.
   Linguagem: navbar em pílula, hero centralizado com painel 3D e
   cartões flutuantes, ícones 3D, cenas em scrollytelling (historias.js).
   Tema: data-theme no <html> (assets/tema.js) vence o sistema.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --void: #060607;
  --panel: #0f0f12;
  --panel-2: #141418;
  --surface-alt: #0a0a0c;

  --light: #f0efec;
  --light-85: rgba(240, 239, 236, 0.85);
  --light-70: rgba(240, 239, 236, 0.70);
  --light-55: rgba(240, 239, 236, 0.55);
  --light-38: rgba(240, 239, 236, 0.38);
  --light-24: rgba(240, 239, 236, 0.24);
  --light-14: rgba(240, 239, 236, 0.14);
  --light-09: rgba(240, 239, 236, 0.09);
  --light-05: rgba(240, 239, 236, 0.05);

  --edge: var(--light-09);
  --edge-strong: rgba(240, 239, 236, 0.16);
  --chip-bg: rgba(240, 239, 236, 0.05);
  --card-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  --float-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.85);
  --ring-plate: linear-gradient(150deg, rgba(240, 239, 236, 0.16), rgba(240, 239, 236, 0.03));
  --glow-strength: 0.34;
  --void-rgb: 6, 6, 7;

  --blue: #0867df;
  --blue-hover: #0a74f5;
  --blue-ink: #ffffff;
  --blue-accent: #3d8bf0;
  --blue-rgb: 61, 139, 240;
  --hl-a: #6aa8ff;
  --hl-b: #3d8bf0;
  --ok: #22c55e;
  --danger: #f87171;
  --warn: #e3a23c;

  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 24px;
  --container: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* medida da página separada dos tokens de cor (o tema não pode sobrescrever) */
html { --gutter: 48px; }

html[data-theme="light"] {
  color-scheme: light;
  --void: #f0efec;
  --panel: #ffffff;
  --panel-2: #f6f5f2;
  --surface-alt: #e8e7e3;

  --light: #060607;
  --light-85: rgba(6, 6, 7, 0.85);
  --light-70: rgba(6, 6, 7, 0.70);
  --light-55: rgba(6, 6, 7, 0.62);
  --light-38: rgba(6, 6, 7, 0.38);
  --light-24: rgba(6, 6, 7, 0.24);
  --light-14: rgba(6, 6, 7, 0.14);
  --light-09: rgba(6, 6, 7, 0.09);
  --light-05: rgba(6, 6, 7, 0.05);

  --edge: var(--light-09);
  --edge-strong: rgba(6, 6, 7, 0.14);
  --chip-bg: #ffffff;
  --card-shadow: 0 24px 50px -32px rgba(6, 6, 7, 0.28);
  --float-shadow: 0 22px 40px -18px rgba(6, 6, 7, 0.3);
  --ring-plate: linear-gradient(150deg, #ffffff, rgba(255, 255, 255, 0.35));
  --glow-strength: 0.2;
  --void-rgb: 240, 239, 236;

  --blue-accent: #0867df;
  --blue-rgb: 8, 103, 223;
  --hl-a: #0867df;
  --hl-b: #0544a0;
  --ok: #15803d;
  --danger: #b42318;
  --warn: #8a5208;
}

/* Sem JS: segue o sistema. */
@media (prefers-color-scheme: light) {
  html:not([data-theme]) {
    color-scheme: light;
    --void: #f0efec; --panel: #ffffff; --panel-2: #f6f5f2; --surface-alt: #e8e7e3;
    --light: #060607; --light-85: rgba(6,6,7,.85); --light-70: rgba(6,6,7,.70); --light-55: rgba(6,6,7,.62);
    --light-38: rgba(6,6,7,.38); --light-24: rgba(6,6,7,.24); --light-14: rgba(6,6,7,.14);
    --light-09: rgba(6,6,7,.09); --light-05: rgba(6,6,7,.05);
    --edge-strong: rgba(6,6,7,.14); --chip-bg: #fff;
    --card-shadow: 0 24px 50px -32px rgba(6,6,7,.28); --float-shadow: 0 22px 40px -18px rgba(6,6,7,.3);
    --ring-plate: linear-gradient(150deg, #fff, rgba(255,255,255,.35)); --glow-strength: .2; --void-rgb: 240, 239, 236;
    --blue-accent: #0867df; --blue-rgb: 8, 103, 223; --hl-a: #0867df; --hl-b: #0544a0;
    --ok: #15803d; --danger: #b42318; --warn: #8a5208;
  }
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--void);
  color: var(--light);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 280ms var(--ease), color 280ms var(--ease);
}
main { overflow-x: clip; }

a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; }
em { font-style: normal; }
code { font-family: var(--font-mono); font-size: 0.88em; padding: 1px 6px; border-radius: 5px; background: var(--light-09); }
:focus-visible { outline: 2px solid var(--blue-accent); outline-offset: 3px; }
::selection { background: rgba(var(--blue-rgb), 0.28); color: var(--light); }

.container { width: min(var(--container), calc(100% - var(--gutter))); margin: 0 auto; }
.mono { font-family: var(--font-mono); }
.num { font-variant-numeric: tabular-nums; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 10000;
  padding: 10px 18px; border-radius: 999px;
  background: var(--blue); color: var(--blue-ink);
  font-size: 0.85rem; font-weight: 600;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

.so-leitor {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============ BOTÕES ============ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 0.92rem; font-weight: 560; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 220ms var(--ease), background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 220ms ease;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--blue); color: var(--blue-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 12px 26px -12px rgba(8, 103, 223, 0.85);
}
.btn-primary:hover { background: var(--blue-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 16px 32px -12px rgba(8, 103, 223, 0.95); }
.btn-soft { background: var(--panel); color: var(--light); border-color: var(--edge-strong); box-shadow: var(--card-shadow); }
.btn-soft:hover { border-color: var(--light-38); }
.btn-ghost { color: var(--light-70); }
.btn-ghost:hover { color: var(--light); background: var(--light-05); }
.btn-outline { color: #f0efec; border-color: rgba(240, 239, 236, 0.26); }
.btn-outline:hover { border-color: #3d8bf0; color: #fff; }
.btn-dark { background: #060607; color: #f0efec; box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.7); }
.btn-dark:hover { background: #17171b; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 0.98rem; }
.btn-xl { height: 62px; padding: 0 34px; font-size: 1.04rem; }
.btn-seta { padding-right: 8px; }
.btn-seta .seta {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px;
  background: #fff; color: var(--blue);
  transition: transform 260ms var(--ease);
}
.btn-seta:hover .seta { transform: translateX(3px) rotate(-8deg); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ============ NAVBAR EM PÍLULA ============ */

.navbar {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100;
  width: min(1180px, calc(100% - 24px)); margin: 0 auto;
}
.navbar-pill {
  display: flex; align-items: center; gap: 16px;
  height: 64px; padding: 0 10px 0 18px;
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.92);
  border: 1px solid rgba(240, 239, 236, 0.10);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  color: #f0efec;
  transition: box-shadow 260ms ease, background-color 260ms ease;
}
.navbar.scrolled .navbar-pill { box-shadow: 0 22px 50px -20px rgba(0, 0, 0, 0.85); background: rgba(10, 10, 12, 0.96); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 32px; height: 32px; }
.brand-mark rect, .dash-logo rect, .footer-giant-mark rect { fill: var(--blue); }
.brand-mark path, .dash-logo path, .footer-giant-mark path { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-size: 1.14rem; font-weight: 650; letter-spacing: -0.03em; }
.brand-tag { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; color: rgba(240, 239, 236, 0.55); padding-top: 3px; }

.navbar-nav { flex: 1; display: flex; justify-content: center; }
.navbar-links { display: flex; gap: 2px; }
.navbar-links a {
  display: block; padding: 9px 14px; border-radius: 999px;
  font-size: 0.9rem; color: rgba(240, 239, 236, 0.78);
  transition: color 180ms ease, background-color 180ms ease;
}
.navbar-links a:hover { color: #fff; background: rgba(240, 239, 236, 0.08); }

.navbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-icon-btn {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid rgba(240, 239, 236, 0.18); color: #f0efec;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.nav-icon-btn:hover { border-color: rgba(240, 239, 236, 0.4); background: rgba(240, 239, 236, 0.06); }
.theme-icon svg { width: 18px; height: 18px; }
.icon-moon { display: none; }
html[data-theme="light"] .icon-sun { display: none; }
html[data-theme="light"] .icon-moon { display: block; }
.nav-burger { display: none; }
.nav-burger-box { display: grid; gap: 4px; width: 18px; }
.nav-burger-box i { display: block; height: 1.7px; border-radius: 2px; background: currentColor; transition: transform 260ms var(--ease), opacity 200ms ease; }
.navbar.menu-open .nav-burger-box i:nth-child(1) { transform: translateY(5.7px) rotate(45deg); }
.navbar.menu-open .nav-burger-box i:nth-child(2) { opacity: 0; }
.navbar.menu-open .nav-burger-box i:nth-child(3) { transform: translateY(-5.7px) rotate(-45deg); }

.mobile-nav-panel {
  position: absolute; top: 74px; left: 0; right: 0;
  padding: 12px; border-radius: 28px;
  background: rgba(12, 12, 14, 0.97);
  border: 1px solid rgba(240, 239, 236, 0.10);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8);
  color: #f0efec;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98);
  transition: opacity 220ms ease, transform 260ms var(--ease), visibility 0s 260ms;
}
.navbar.menu-open .mobile-nav-panel { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms ease, transform 260ms var(--ease); }
.mobile-nav-grid { display: grid; gap: 6px; }
.mobile-nav-pill { display: block; padding: 14px 18px; border-radius: 18px; background: rgba(240, 239, 236, 0.05); font-size: 0.98rem; }
.mobile-nav-pill:hover { background: rgba(240, 239, 236, 0.1); }
.mobile-nav-access { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.mobile-nav-access .btn { height: 48px; }
.mobile-nav-cta { margin-top: 2px; }

@media (min-width: 1081px) { .mobile-nav-panel { display: none; } }
@media (max-width: 1080px) {
  .navbar-nav, .nav-login { display: none; }
  .nav-burger { display: grid; }
  .navbar-pill { gap: 10px; }
}
@media (max-width: 600px) {
  .navbar { top: 10px; }
  .navbar-pill { height: 58px; padding: 0 8px 0 14px; }
  .nav-cta { display: none; }
  .mobile-nav-panel { top: 66px; }
}
@media (max-width: 380px) { .brand-tag { display: none; } }

/* nav no tema claro: pílula clara de vidro, texto escuro */
html[data-theme="light"] .navbar-pill { background: rgba(255, 255, 255, 0.82); border-color: rgba(6, 6, 7, 0.08); color: #060607; box-shadow: 0 18px 40px -24px rgba(6, 6, 7, 0.35); }
html[data-theme="light"] .navbar.scrolled .navbar-pill { background: rgba(255, 255, 255, 0.94); box-shadow: 0 22px 50px -22px rgba(6, 6, 7, 0.4); }
html[data-theme="light"] .brand-tag { color: rgba(6, 6, 7, 0.5); }
html[data-theme="light"] .navbar-links a { color: rgba(6, 6, 7, 0.72); }
html[data-theme="light"] .navbar-links a:hover { color: #060607; background: rgba(6, 6, 7, 0.06); }
html[data-theme="light"] .nav-icon-btn { border-color: rgba(6, 6, 7, 0.14); color: #060607; }
html[data-theme="light"] .nav-icon-btn:hover { border-color: rgba(6, 6, 7, 0.3); background: rgba(6, 6, 7, 0.04); }
html[data-theme="light"] .btn-outline { color: #060607; border-color: rgba(6, 6, 7, 0.2); }
html[data-theme="light"] .btn-outline:hover { color: #0867df; border-color: #0867df; }
html[data-theme="light"] .mobile-nav-panel { background: #ffffff; border-color: rgba(6, 6, 7, 0.08); color: #060607; box-shadow: 0 30px 60px -28px rgba(6, 6, 7, 0.4); }
html[data-theme="light"] .mobile-nav-pill { background: rgba(6, 6, 7, 0.04); }
html[data-theme="light"] .mobile-nav-pill:hover { background: rgba(6, 6, 7, 0.08); }

/* ============ PEÇAS COMUNS ============ */

.pill-tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--chip-bg); border: 1px solid var(--edge);
  box-shadow: 0 8px 20px -14px rgba(var(--void-rgb), 0.5);
  font-size: 0.82rem; font-weight: 560; color: var(--light-85);
}
.pill-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--blue-accent); box-shadow: 0 0 0 4px rgba(var(--blue-rgb), 0.18); }
.pill-tag-band { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.25); color: #fff; box-shadow: none; }
.pill-tag-band .pill-dot { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22); }
.pill-tag-dark { background: rgba(240, 239, 236, 0.06); border-color: rgba(240, 239, 236, 0.12); color: #f0efec; box-shadow: none; }

.section { position: relative; padding: 120px 0; }
.section-tight { padding: 40px 0; }
.section-heading { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.section-heading h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 1.15rem + 3vw, 3.4rem);
  font-weight: 650; letter-spacing: -0.042em; line-height: 1.05;
  text-wrap: balance;
}
.section-heading p { max-width: 620px; margin: 16px auto 0; font-size: 1.05rem; line-height: 1.65; color: var(--light-70); text-wrap: pretty; }
.section-heading em, .hero-title em {
  background: linear-gradient(100deg, var(--hl-a), var(--hl-b) 55%, var(--hl-a));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.on-band h2, .on-dark h2 { color: #fff; }
.on-band em, .on-dark em { background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.on-band em { color: #bcd8ff; }
.on-dark em { color: #6aa8ff; }
.on-band p { color: rgba(255, 255, 255, 0.82); }
.on-dark p { color: rgba(240, 239, 236, 0.7); }
.section-index { font-size: 0.68rem; letter-spacing: 0.16em; color: var(--light-55); }

.dot { display: inline-block; flex-shrink: 0; width: 9px; height: 9px; border-radius: 999px; background: #9aa6b8; box-shadow: 0 0 0 3px rgba(154, 166, 184, 0.18); }
.dot.ok { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.dot.warn { background: #f5a524; box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.22); }
.dot.bad { background: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.2); }

.avatar {
  display: grid; place-items: center; flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 999px;
  background: linear-gradient(140deg, #6aa8ff, #0867df);
  color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(255, 255, 255, 0.9);
}
.avatar-xs { width: 26px; height: 26px; font-size: 0.56rem; box-shadow: none; }

/* ---------- Ícones 3D (esfera "clay" com brilho) ---------- */
.ico3d {
  --c1: #6aaeff; --c2: #0867df; --c3: #033b8f;
  position: relative; isolation: isolate;
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 64px; height: 64px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.85) 0 5%, rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 50% 42%, var(--c1), var(--c2) 58%, var(--c3) 100%);
  box-shadow:
    inset -6px -9px 16px rgba(0, 0, 0, 0.3),
    inset 5px 6px 12px rgba(255, 255, 255, 0.35),
    0 18px 28px -12px rgba(8, 103, 223, 0.7);
}
.ico3d::before {
  content: ""; position: absolute; inset: -8px; z-index: -1; border-radius: 50%;
  background: var(--ring-plate);
  box-shadow: 0 12px 24px -14px rgba(var(--void-rgb), 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.ico3d > svg {
  width: 46%; height: 46%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 2px 2px rgba(0, 30, 90, 0.45));
}
.ico3d-badge {
  position: absolute; top: -10px; right: -14px;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px;
  background: #fff; color: #0b1220; font-style: normal; font-size: 0.6rem; font-weight: 600;
  box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.5), inset 0 -2px 4px rgba(0, 0, 0, 0.08);
}
.ico3d-badge svg { width: 15px; height: 15px; fill: none; stroke: #0b1220; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico3d-sm { width: 38px; height: 38px; }
.ico3d-sm::before { display: none; }
.ico3d-ok { --c1: #6ee7a0; --c2: #16a34a; --c3: #0b6b30; box-shadow: inset -4px -6px 10px rgba(0, 0, 0, 0.25), inset 3px 4px 8px rgba(255, 255, 255, 0.4), 0 10px 18px -8px rgba(22, 163, 74, 0.7); }
.ico3d-white { --c1: #ffffff; --c2: #e9f1ff; --c3: #a9c4ef; box-shadow: inset -6px -9px 16px rgba(4, 50, 130, 0.25), inset 5px 6px 12px rgba(255, 255, 255, 0.9), 0 18px 28px -12px rgba(0, 20, 70, 0.55); }
.ico3d-white > svg { stroke: var(--blue); filter: drop-shadow(0 2px 2px rgba(8, 103, 223, 0.25)); }
.ico3d-white::before { background: linear-gradient(150deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.08)); }
.ico3d-xl { width: 124px; height: 124px; }
.ico3d-xl::before { inset: -14px; }
.ico3d-xl > svg { stroke-width: 2.4; }

/* ============ HERO ============ */

.hero { position: relative; padding: 156px 0 40px; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.glow-a { width: 1100px; height: 700px; left: 50%; top: -320px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(8, 103, 223, var(--glow-strength)), transparent); }
.glow-b { width: 700px; height: 700px; right: -260px; top: 520px; background: radial-gradient(closest-side, rgba(61, 139, 240, calc(var(--glow-strength) * 0.7)), transparent); }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--light-05) 1px, transparent 1px), linear-gradient(90deg, var(--light-05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, #000 0%, transparent 75%);
}
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-title {
  max-width: 15ch; margin-top: 24px;
  font-size: clamp(2.6rem, 1.3rem + 4.9vw, 5.5rem);
  font-weight: 650; letter-spacing: -0.048em; line-height: 1.0;
  text-wrap: balance;
}
.hero-sub { max-width: 650px; margin-top: 24px; font-size: 1.14rem; line-height: 1.65; color: var(--light-70); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--chip-bg); border: 1px solid var(--edge);
  font-size: 0.85rem; color: var(--light-70);
}
.hero-chips svg { width: 16px; height: 16px; fill: none; stroke: var(--blue-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.access-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 20px; margin-top: 26px; font-size: 0.9rem; }
.access-label { font-size: 0.66rem; letter-spacing: 0.14em; color: var(--light-55); }
.access-link { color: var(--light-85); border-bottom: 1px solid var(--light-24); padding-bottom: 1px; transition: color 180ms ease, border-color 180ms ease; }
.access-link:hover { color: var(--blue-accent); border-color: var(--blue-accent); }

/* ---------- Painel ilustrativo ---------- */
.hero-visual { position: relative; z-index: 1; margin-top: 72px; padding-bottom: 40px; perspective: 1800px; }
.dash-wrap {
  position: relative; max-width: 960px; margin: 0 auto;
  aspect-ratio: 960 / 560;
  border-radius: 24px; overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--edge-strong);
  box-shadow: 0 60px 120px -50px rgba(var(--blue-rgb), 0.55), 0 40px 80px -40px rgba(0, 0, 0, 0.6);
  transform: rotateX(var(--tilt, 0deg));
  transform-origin: 50% 100%;
  text-align: left;
}
.dash {
  width: 960px; height: 560px;
  transform: scale(var(--s, 1)); transform-origin: 0 0;
  display: grid; grid-template-columns: 190px minmax(0, 1fr);
  font-size: 13px; color: var(--light);
}
.dash-side { display: flex; flex-direction: column; gap: 4px; padding: 22px 14px; background: var(--panel-2); border-right: 1px solid var(--edge); }
.dash-logo { display: flex; align-items: center; gap: 9px; margin: 0 6px 18px; font-size: 16px; font-weight: 650; letter-spacing: -0.03em; }
.dash-logo svg { width: 26px; height: 26px; }
.dash-nav { padding: 10px 12px; border-radius: 12px; color: var(--light-70); }
.dash-nav.on { background: var(--blue); color: #fff; font-weight: 560; box-shadow: 0 10px 20px -12px rgba(8, 103, 223, 0.9); }
.dash-main { padding: 24px 26px; min-width: 0; }
.dash-top { display: flex; justify-content: space-between; align-items: center; }
.dash-top b { display: block; font-size: 22px; font-weight: 650; letter-spacing: -0.03em; }
.dash-top span { font-size: 12px; color: var(--light-55); }
.dash-user { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--edge); }
.dash-user i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: linear-gradient(140deg, #6aa8ff, #0867df); color: #fff; font-size: 10px; font-style: normal; font-weight: 700; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.kpi { padding: 16px 16px 10px; border-radius: 18px; border: 1px solid var(--edge); background: var(--panel); box-shadow: var(--card-shadow); }
.kpi > span { font-size: 12px; color: var(--light-55); }
.kpi b { display: block; margin: 6px 0 2px; font-size: 30px; font-weight: 650; letter-spacing: -0.04em; }
.kpi em { font-size: 11.5px; color: var(--light-55); }
.kpi em.up { color: var(--ok); }
.kpi em.warn { color: var(--warn); }
.kpi svg { width: 100%; height: 34px; margin-top: 6px; }
.sp { fill: none; stroke-width: 2.4; stroke-linecap: round; }
.sp-ok { stroke: #22c55e; } .sp-blue { stroke: #3d8bf0; } .sp-warn { stroke: #f5a524; }
.dash-row { display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; margin-top: 14px; }
.dash-chart, .dash-list { height: 252px; padding: 16px; border-radius: 18px; border: 1px solid var(--edge); background: var(--panel); }
.dash-h { font-size: 12px; font-weight: 560; color: var(--light-55); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 186px; margin-top: 18px; }
.bars i { flex: 1; height: calc(var(--v) * 100%); border-radius: 9px 9px 4px 4px; background: linear-gradient(180deg, #6aa8ff, #0867df); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.bars i:nth-child(odd) { background: linear-gradient(180deg, rgba(106, 168, 255, 0.55), rgba(8, 103, 223, 0.45)); }
.dash-list p { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--edge); font-size: 13px; }
.dash-list p:last-child { border-bottom: 0; }
.dash-list p b { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--light-05); font-size: 11px; font-weight: 560; color: var(--light-70); }

/* ---------- Cartões flutuantes ---------- */
.float {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 16px 12px 12px; border-radius: 20px;
  background: var(--panel); color: var(--light);
  border: 1px solid var(--edge-strong);
  box-shadow: var(--float-shadow);
  text-align: left; font-size: 0.8rem;
  transform: translate3d(calc(var(--mx, 0) * var(--d, 12) * 1px), calc(var(--my, 0) * var(--d, 12) * 1px), 0);
  transition: transform 500ms var(--ease);
}
.float b { display: block; font-size: 0.88rem; font-weight: 600; letter-spacing: -0.01em; }
.float span { color: var(--light-55); }
.float-h { display: block; font-size: 0.74rem; font-weight: 560; }
.float-tag { margin-left: 4px; padding: 3px 9px; border-radius: 999px; background: rgba(34, 197, 94, 0.14); color: var(--ok) !important; font-size: 0.68rem; font-weight: 600; }
.f-enviada { left: 1%; top: 6%; --d: 22; }
.f-cliente { left: -1%; top: 54%; --d: 34; }
.f-grafico { right: 0; top: -2%; display: block; width: 214px; padding: 14px 16px; --d: 28; }
.f-cnd { right: 2%; top: 52%; display: block; width: 170px; padding: 14px 16px; --d: 18; }
.f-cnd p { display: flex; align-items: center; gap: 9px; margin-top: 8px; font-size: 0.82rem; }
.f-lembrete { right: 18%; bottom: 4%; --d: 40; }
.mini-bars { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; height: 72px; margin-top: 12px; }
.mini-bars i { flex: 1; height: calc(var(--v) * 100%); border-radius: 7px; background: var(--light-09); }
.mini-bars i:nth-child(2n) { background: linear-gradient(180deg, #6aa8ff, #0867df); }
.mini-lbl { display: flex; justify-content: space-between; margin-top: 7px; font-size: 0.64rem; color: var(--light-55); }

/* ============ FAIXA AZUL: O CAMINHO DA GUIA ============ */

.band, .stage, .cta {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(165deg, #1a7df4 0%, #0867df 42%, #0544a8 100%);
  color: #fff;
}
.band {
  position: relative; overflow: hidden;
  padding: 76px 48px 44px; border-radius: 40px;
  box-shadow: 0 50px 100px -50px rgba(8, 103, 223, 0.7);
}
.band-rings, .stage-rings {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 115%, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 90px);
}
.band .section-heading { position: relative; margin-bottom: 48px; }
.steps4 { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: passo; }
.steps4 li {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 34px 22px 30px; border-radius: 28px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 320ms var(--ease), background-color 240ms ease;
}
.steps4 li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.14); }
.steps4 .ico3d { margin-bottom: 22px; }
.steps4 b { font-size: 1.12rem; font-weight: 620; letter-spacing: -0.02em; }
.steps4 li > span:last-child { margin-top: 8px; font-size: 0.93rem; line-height: 1.55; color: rgba(255, 255, 255, 0.8); }
.band-foot { position: relative; margin-top: 30px; text-align: center; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }

/* ============ HISTÓRIAS (scrollytelling) ============ */

.story-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: start; }
.story-stage-col { position: sticky; top: 104px; z-index: 2; }
.stage {
  position: relative; overflow: hidden;
  padding: 60px 28px 30px; border-radius: 36px;
  box-shadow: 0 50px 100px -50px rgba(8, 103, 223, 0.75);
}
.stage-bars { position: absolute; top: 24px; left: 28px; right: 28px; z-index: 2; display: flex; gap: 8px; }
.stage-bars i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.stage-bars b { display: block; width: 0; height: 100%; border-radius: 4px; background: #fff; }
.stage-canvas-wrap { position: relative; z-index: 1; max-width: 460px; margin: 0 auto; aspect-ratio: 460 / 400; }
.stage-canvas { position: relative; width: 460px; height: 400px; transform: scale(var(--s, 1)); transform-origin: 0 0; }

.story-steps { display: grid; }
.story-step {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 78vh; padding: 0 4px;
  opacity: 0.32; transition: opacity 400ms ease;
}
.story-step.is-ativo { opacity: 1; }
html:not(.js) .story-step { opacity: 1; min-height: 0; padding: 24px 4px; }
.step-num {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 16px;
  background: rgba(var(--blue-rgb), 0.12); color: var(--blue-accent);
  font-size: 0.86rem; font-weight: 600;
}
.story-step.is-ativo .step-num { background: var(--blue); color: #fff; box-shadow: 0 12px 24px -10px rgba(8, 103, 223, 0.8); }
.story-step h3 { margin-top: 20px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.1; text-wrap: balance; }
.story-step p { margin-top: 14px; max-width: 480px; font-size: 1.06rem; line-height: 1.7; color: var(--light-70); }

/* cenas: base = quadro final (é o que aparece sem animação) */
.scene { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 450ms ease, visibility 0s 450ms; color: #0b1220; font-size: 12px; }
.scene.is-on { opacity: 1; visibility: visible; transition: opacity 450ms ease; }
html:not(.js) .scene[data-cena="1"] { opacity: 1; visibility: visible; }

.card-w { background: #fff; border-radius: 16px; box-shadow: 0 18px 30px -16px rgba(0, 20, 70, 0.55); }

/* telefone */
.phone { position: absolute; padding: 6px; border-radius: 30px; background: #0b0f17; box-shadow: 0 30px 50px -20px rgba(0, 10, 40, 0.7), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12); }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; z-index: 2; width: 44px; height: 12px; border-radius: 10px; background: #0b0f17; transform: translateX(-50%); }
.phone-top { display: flex; align-items: center; gap: 8px; padding: 28px 10px 9px; border-radius: 24px 24px 0 0; background: #f0f2f5; }
.phone-top b { display: block; font-size: 10.5px; font-weight: 650; color: #111b21; }
.phone-top small { display: block; font-size: 9px; color: #667781; }
.phone-chat {
  display: flex; flex-direction: column; justify-content: flex-end;
  height: calc(100% - 62px); padding: 10px 8px; border-radius: 0 0 24px 24px;
  background-color: #efeae2;
  background-image: radial-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px);
  background-size: 10px 10px;
}
.bolha { position: relative; padding: 8px 9px 6px; border-radius: 12px; background: #fff; font-size: 10.5px; line-height: 1.42; color: #111b21; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
.bolha-out { align-self: flex-end; background: #d9fdd3; border-radius: 12px 12px 4px 12px; }
.bolha small { display: block; margin-top: 3px; text-align: right; font-size: 8.5px; color: #667781; }
.vistos { font-style: normal; color: #34b7f1; letter-spacing: -2px; }
.anexo { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; padding: 6px; border-radius: 8px; background: rgba(0, 0, 0, 0.05); font-size: 9.5px; }
.anexo i { padding: 2px 4px; border-radius: 4px; background: #e5484d; color: #fff; font-size: 8px; font-style: normal; }

/* robô 3D (cubo em CSS) */
.robo-wrap { position: absolute; width: 104px; height: 104px; perspective: 520px; }
.robo { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(-14deg) rotateY(-26deg); }
/* robô do Kalku: cabeça azul-marinho com laterais no azul da marca, tela de leitura
   com olhos de pixel e linha de varredura, fenda de papel no topo e o K no queixo */
.rf { position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(155deg, #1b2a4a, #0d1830); }
.rf-front { transform: translateZ(52px); background: linear-gradient(160deg, #22355c, #0e1a33 70%); box-shadow: inset 0 0 0 2px rgba(106, 168, 255, 0.35), inset 0 -8px 14px rgba(0, 0, 0, 0.35); }
.rf-back { transform: rotateY(180deg) translateZ(52px); }
.rf-right { transform: rotateY(90deg) translateZ(52px); background: linear-gradient(155deg, #0867df, #04398a); }
.rf-left { transform: rotateY(-90deg) translateZ(52px); background: linear-gradient(155deg, #3d8bf0, #0867df); }
.rf-top { transform: rotateX(90deg) translateZ(52px); background: linear-gradient(155deg, #6aaeff, #2d7fe8); transform-style: preserve-3d; }
.rf-bottom { transform: rotateX(-90deg) translateZ(52px); background: #061024; }
.visor { position: absolute; left: 11px; right: 11px; top: 16px; height: 46px; display: flex; align-items: center; justify-content: center; gap: 20px; overflow: hidden; border-radius: 10px; background: #050b18; box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(106, 168, 255, 0.25); }
.olho { display: block; width: 12px; height: 12px; border-radius: 3px; background: #6aa8ff; box-shadow: 0 0 6px #6aa8ff, 0 0 16px rgba(61, 139, 240, 0.75); }
.scan { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, #9fd0ff, transparent); box-shadow: 0 0 10px #6aa8ff; opacity: 0.85; }
.robo-k { position: absolute; left: 50%; bottom: 10px; width: 22px; height: 22px; transform: translateX(-50%); }
.robo-k path { fill: none; stroke: #6aa8ff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(106, 168, 255, 0.7)); }
.orelha { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: radial-gradient(circle, #0d1830 0 38%, #9fd0ff 40% 52%, #0d1830 54%); box-shadow: 0 0 10px rgba(159, 208, 255, 0.5); }
.fenda { position: absolute; left: 22px; right: 22px; top: 46px; height: 10px; border-radius: 5px; background: #050b18; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.9); transform-style: preserve-3d; }
.folha { position: absolute; left: 8px; right: 8px; bottom: 5px; height: 26px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #ffffff, #dfe7f3); transform-origin: 50% 100%; transform: rotateX(-90deg); }
.folha::before { content: ""; position: absolute; left: 6px; right: 14px; top: 7px; height: 3px; border-radius: 2px; background: #c9d4e4; box-shadow: 0 6px 0 #c9d4e4; }
.robo-sombra { position: absolute; left: 8%; bottom: -36px; width: 84%; height: 14px; border-radius: 50%; background: rgba(0, 10, 50, 0.38); filter: blur(5px); }

/* Cena 1 */
.s1-doc { position: absolute; left: 14px; top: 96px; width: 128px; height: 170px; padding: 14px; background: #fff; border-radius: 14px; box-shadow: 0 20px 34px -16px rgba(0, 20, 70, 0.6); transform: rotate(-4deg); }
.pdf-tag { position: absolute; top: 10px; right: 10px; padding: 2px 6px; border-radius: 6px; background: #e5484d; color: #fff; font-size: 9.5px; font-weight: 600; }
.s1-doc b { display: block; margin-top: 18px; font-size: 12.5px; font-weight: 700; }
.s1-doc .ln { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: #e6ebf3; }
.s1-doc .ln.short { width: 60%; }
.s1-doc em { display: block; margin-top: 14px; font-size: 16px; font-weight: 700; color: #0867df; letter-spacing: -0.02em; }
.s1-doc small { font-size: 10.5px; color: #6b7280; }
.s1-beam { position: absolute; left: 140px; top: 136px; width: 52px; height: 70px; opacity: 0; background: linear-gradient(270deg, rgba(127, 220, 255, 0.75), rgba(127, 220, 255, 0)); clip-path: polygon(100% 38%, 100% 62%, 0 100%, 0 0); }
.s1-robo { left: 182px; top: 120px; }
.s1-checks { position: absolute; left: 172px; top: 278px; display: grid; gap: 6px; }
.s1-checks li { display: flex; align-items: center; gap: 7px; width: fit-content; padding: 5px 11px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.96); font-size: 11.5px; font-weight: 600; box-shadow: 0 8px 16px -10px rgba(0, 20, 70, 0.6); }
.s1-checks i { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 10px; font-style: normal; }
.s1-phone { left: 308px; top: 26px; width: 146px; height: 318px; }

/* Cena 2 */
.s2-guias { position: absolute; left: 14px; top: 66px; width: 158px; display: grid; gap: 10px; }
.s2-guias li { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; border-radius: 14px; background: #fff; box-shadow: 0 14px 24px -14px rgba(0, 20, 70, 0.6); }
.s2-guias i { padding: 3px 7px; border-radius: 6px; background: #e8f0fe; color: #0867df; font-size: 10px; font-style: normal; font-weight: 700; }
.s2-guias span { font-size: 11.5px; font-weight: 650; }
.s2-l { display: block; }
.s2-phone { left: 292px; top: 26px; width: 160px; height: 318px; }
.s2-selo { position: absolute; left: 14px; top: 300px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #0b1220; color: #fff; font-size: 12.5px; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.6); }
.s2-selo b { font-size: 17px; color: #7fdcff; }

/* Cena 3 */
.semaforo {
  position: absolute; left: 34px; top: 60px; width: 86px; height: 226px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-around;
  padding: 14px 0; border-radius: 26px;
  background: linear-gradient(90deg, #26324a, #111827 55%, #1c2538);
  box-shadow: 2px 2px 0 #0a0f18, 4px 4px 0 #0a0f18, 6px 6px 0 #0a0f18, 8px 8px 0 #0a0f18, 10px 10px 0 #0a0f18, 0 40px 40px -20px rgba(0, 0, 0, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.14);
  transform: perspective(600px) rotateY(16deg);
}
.lamp { position: relative; display: block; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.45), inset 0 4px 6px rgba(255, 255, 255, 0.35); }
.lamp::before { content: ""; position: absolute; left: -6px; right: -6px; top: -8px; height: 22px; border-radius: 26px 26px 6px 6px; background: linear-gradient(180deg, #0b1020, #19233a); z-index: -1; }
.lamp-r { background: radial-gradient(circle at 38% 32%, #ffb3b3, #e5484d 55%, #9b1c20); }
.lamp-y { background: radial-gradient(circle at 38% 32%, #ffe7a6, #f5a524 55%, #9a5b00); }
.lamp-g { background: radial-gradient(circle at 38% 32%, #b8ffd2, #22c55e 55%, #0b6b30); box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.35), 0 0 22px rgba(34, 197, 94, 0.8), 0 0 50px rgba(34, 197, 94, 0.45); }
.semaforo-poste { position: absolute; left: 70px; top: 290px; width: 18px; height: 80px; border-radius: 4px; background: linear-gradient(90deg, #26324a, #111827); }
.semaforo-poste::after { content: ""; position: absolute; bottom: -6px; left: -22px; width: 62px; height: 12px; border-radius: 50%; background: rgba(0, 10, 50, 0.4); filter: blur(4px); }
.s3-lista { position: absolute; left: 160px; top: 50px; width: 286px; display: grid; gap: 10px; }
.s3-lista li { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 14px 24px -14px rgba(0, 20, 70, 0.6); }
.s3-lista .dot { width: 12px; height: 12px; }
.s3-lista b { display: block; font-size: 13px; font-weight: 650; }
.s3-lista small { font-size: 11px; color: #6b7280; }
.s3-vira { padding-left: 38px !important; }
.s3-vira .dot { position: absolute; left: 14px; top: 50%; margin-top: -6px; }
.s3-vira div { display: grid; }
.s3-vira small { grid-area: 2 / 1; }
.s3-vira .s3-a { opacity: 0; }
.s3-vira small.s3-b { color: #15803d; font-weight: 600; }
.s3-vira::after { content: "emitindo…"; position: absolute; right: 12px; top: 50%; padding: 3px 9px; border-radius: 999px; background: #e8f0fe; color: #0867df; font-size: 10px; font-weight: 600; transform: translateY(-50%); opacity: 0; }

/* Cena 4 */
.s4-tarefas { position: absolute; left: 30px; top: 46px; width: 400px; }
.s4-tarefas li { position: relative; display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 18px; margin-bottom: 34px; border-radius: 18px; background: #fff; box-shadow: 0 16px 28px -16px rgba(0, 20, 70, 0.6); }
.s4-tarefas b { display: block; font-size: 13.5px; font-weight: 650; }
.s4-tarefas small { font-size: 11px; color: #6b7280; }
.caixa { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; border: 2px solid #22c55e; background: #22c55e; }
.caixa svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; }
.cadeado { position: relative; margin-left: auto; width: 22px; height: 24px; }
.cadeado::before { content: ""; position: absolute; left: 4px; top: 0; width: 14px; height: 13px; border: 2.6px solid #22c55e; border-bottom: 0; border-radius: 8px 8px 0 0; transform: translate(6px, -3px) rotate(14deg); transform-origin: 100% 100%; }
.cadeado::after { content: ""; position: absolute; left: 1px; bottom: 0; width: 20px; height: 13px; border-radius: 4px; background: #22c55e; }
.s4-linha { position: absolute; left: 59px; top: calc(110px + var(--i) * 98px); width: 4px; height: 34px; border-radius: 4px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.s4-linha b { display: block; width: 100%; height: 100%; background: #fff; box-shadow: 0 0 10px #fff; }
.s4-selo { position: absolute; left: 30px; top: 338px; display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; background: #0b1220; color: #fff; font-size: 12.5px; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.6); }
.s4-selo::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3); }

/* ============ MÓDULOS ============ */

.modules { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.module {
  grid-column: span 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 40px 26px 34px; border-radius: 30px;
  background: var(--panel); border: 1px solid var(--edge);
  box-shadow: var(--card-shadow);
  transition: transform 320ms var(--ease), border-color 240ms ease;
}
.module-wide, .module:nth-child(9), .module:nth-child(10) { grid-column: span 3; }
.module:hover { transform: translateY(-4px); border-color: rgba(var(--blue-rgb), 0.4); }
.module .ico3d { margin-bottom: 26px; transition: transform 420ms var(--ease); }
.module:hover .ico3d { transform: translateY(-3px) rotate(-6deg); }
.module h3 { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 1.16rem; font-weight: 620; letter-spacing: -0.025em; line-height: 1.25; }
.module p { margin-top: 10px; max-width: 360px; font-size: 0.95rem; line-height: 1.6; color: var(--light-70); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--light-14);
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.1em; white-space: nowrap;
}
.chip i { width: 6px; height: 6px; border-radius: 999px; background: var(--light-38); }
.chip-beta { color: var(--warn); border-color: currentColor; }
.chip-beta i { background: var(--warn); }
.chip-dev { color: var(--blue-accent); border-color: currentColor; }
.chip-dev i { background: var(--blue-accent); }
.chip-off { color: var(--light-70); border-color: var(--light-24); }

.status-panel {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px;
  margin-top: 26px; padding: 40px;
  border-radius: 30px; background: var(--panel); border: 1px solid var(--edge);
  box-shadow: var(--card-shadow);
}
.status-intro .section-index { display: block; margin-bottom: 12px; }
.status-intro h3 { font-size: 1.45rem; font-weight: 620; letter-spacing: -0.03em; line-height: 1.2; }
.status-intro p { margin-top: 10px; color: var(--light-70); font-size: 0.95rem; }
.status-list li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; padding: 18px 0; }
.status-list li:first-child { padding-top: 0; }
.status-list li:last-child { padding-bottom: 0; }
.status-list li + li { border-top: 1px solid var(--edge); }
.status-list .chip { justify-self: start; align-self: start; margin-top: 2px; }
.status-list b { font-weight: 600; letter-spacing: -0.015em; }
.status-list p { margin-top: 4px; font-size: 0.93rem; line-height: 1.6; color: var(--light-70); }

/* ============ SEGURANÇA (faixa escura) ============ */

.dark-band {
  position: relative; overflow: hidden;
  padding: 76px 48px 48px; border-radius: 40px;
  background: radial-gradient(90% 70% at 50% 0%, rgba(8, 103, 223, 0.32), transparent 60%), #0a0b10;
  border: 1px solid rgba(240, 239, 236, 0.08);
  color: #f0efec;
}
.glow-c { width: 600px; height: 600px; left: -200px; bottom: -300px; background: radial-gradient(closest-side, rgba(61, 139, 240, 0.28), transparent); }
.dark-band .section-heading { position: relative; margin-bottom: 48px; }
.security { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.security li {
  padding: 32px 24px 28px; border-radius: 26px;
  background: rgba(240, 239, 236, 0.04);
  border: 1px solid rgba(240, 239, 236, 0.09);
  transition: border-color 260ms ease, transform 320ms var(--ease);
}
.security li:hover { border-color: rgba(61, 139, 240, 0.5); transform: translateY(-3px); }
.security .ico3d { margin: 8px 0 26px 8px; }
.security .ico3d::before { background: linear-gradient(150deg, rgba(240, 239, 236, 0.16), rgba(240, 239, 236, 0.03)); }
.security h3 { font-size: 1.06rem; font-weight: 620; letter-spacing: -0.02em; line-height: 1.3; }
.security p { margin-top: 10px; font-size: 0.93rem; line-height: 1.6; color: rgba(240, 239, 236, 0.7); }

/* ============ SIMULADORES ============ */

.sim {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.sim-inputs { display: grid; gap: 20px; min-width: 0; }
.sim-result { position: sticky; top: 100px; min-width: 0; }

.panel, .result {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--card-shadow);
}
.result { border-color: rgba(var(--blue-rgb), 0.35); box-shadow: 0 40px 80px -40px rgba(var(--blue-rgb), 0.45); }

.panel-title {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--light-70);
  margin-bottom: 20px;
}

.cabeca-linha, .linha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 40px;
  gap: 10px;
  align-items: center;
}
.cabeca-linha { padding: 0 2px 10px; font-size: 0.64rem; letter-spacing: 0.12em; color: var(--light-55); border-bottom: 1px solid var(--edge); }
.lista-linhas { display: grid; gap: 8px; padding-top: 12px; }
.lista-vazia { padding: 16px 0 4px; color: var(--light-55); font-size: 0.93rem; }

.panel-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--edge);
}
.panel-actions .btn-soft { box-shadow: none; }

input[type="text"], input[type="number"] {
  width: 100%; min-width: 0; height: 46px;
  padding: 0 14px;
  background: var(--void);
  color: var(--light);
  border: 1px solid var(--edge-strong);
  border-radius: var(--radius);
  font: inherit; font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
input[type="number"] { font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input::placeholder { color: var(--light-55); opacity: 1; }
input:hover { border-color: var(--light-38); }
input:focus { outline: none; }
input:focus-visible, input:focus { border-color: var(--blue-accent); box-shadow: 0 0 0 3px rgba(var(--blue-rgb), 0.22); }

.icone {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--light-14); color: var(--light-55);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.icone:hover { color: var(--danger); border-color: var(--danger); background: var(--light-05); }
.icone svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.campo { display: grid; gap: 8px; align-content: start; }
.campo label { font-size: 0.9rem; font-weight: 500; color: var(--light-85); }
.campo + .campo-check { margin-top: 22px; }
.dica { font-size: 0.84rem; line-height: 1.55; color: var(--light-55); }
.dica-topo { margin: -8px 0 18px; }

.campo-check {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  padding: 16px; border: 1px solid var(--edge); border-radius: var(--radius);
  background: var(--light-05);
}
.campo-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); cursor: pointer; }
.campo-check label { font-size: 0.92rem; line-height: 1.55; color: var(--light-85); cursor: pointer; }
.campo-check a { color: var(--blue-accent); text-decoration: underline; text-underline-offset: 3px; }

.grade-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; align-items: end; }
.campo-full { grid-column: 1 / -1; }

.destaque-texto {
  margin-top: 20px; padding: 14px 16px;
  border-left: 3px solid var(--blue-accent);
  background: rgba(var(--blue-rgb), 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem; line-height: 1.55; color: var(--light-85);
  font-variant-numeric: tabular-nums;
}
.destaque-texto:empty { display: none; }

.comparativo { display: grid; gap: 0; }
.bloco { padding: 4px 0 20px; }
.bloco + .bloco { padding-top: 20px; border-top: 1px solid var(--edge); }
.bloco dt { font-size: 0.92rem; font-weight: 500; color: var(--light-70); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.bloco .grande {
  margin-top: 6px;
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
  font-weight: 650; letter-spacing: -0.04em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.bloco-kalku .grande { color: var(--blue-accent); }
.miudo { font-size: 0.84rem; color: var(--light-55); font-variant-numeric: tabular-nums; }
dt .miudo { font-size: 0.7rem; letter-spacing: 0.06em; }
dd.miudo { margin-top: 4px; }

.diferenca {
  margin-top: 4px; padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--light-05);
  border: 1px solid var(--edge);
  font-size: 0.93rem; line-height: 1.5; color: var(--light-85);
  font-variant-numeric: tabular-nums;
}
.diferenca.positiva { color: var(--ok); border-color: currentColor; }
.diferenca.negativa { color: var(--danger); border-color: currentColor; }

/* Comparativo fixo: o que o escritório paga hoje x Kalku */
.troca { display: grid; gap: 0; margin-top: 6px; }
.troca li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--edge); }
.troca-txt { display: grid; gap: 4px; min-width: 0; }
.troca-txt strong { font-size: 0.98rem; font-weight: 600; color: var(--light); }
.troca-txt span { font-size: 0.86rem; line-height: 1.5; color: var(--light-55); }
.troca-preco { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.02em; color: var(--light); white-space: nowrap; font-variant-numeric: tabular-nums; }
.troca-preco small, .troca-total small { font-size: 0.72rem; font-weight: 500; color: var(--light-55); margin-left: 2px; letter-spacing: 0; }
.troca-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 18px; }
.troca-total span { font-size: 0.92rem; color: var(--light-70); }
.troca-total strong { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.riscado { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(255, 93, 93, 0.75); color: var(--light-55); }
.economia-cta { width: 100%; justify-content: center; margin-top: 16px; }
@media (max-width: 560px) {
  .troca li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .troca-preco { font-size: 1.15rem; }
}

.nota { margin-top: 16px; font-size: 0.85rem; line-height: 1.6; color: var(--light-55); }
.nota-dentro { margin-top: 18px; }
.nota strong { color: var(--light); font-weight: 600; }

.alerta {
  display: grid; grid-template-columns: 22px 1fr; gap: 14px;
  max-width: 900px; margin: 0 auto 28px; padding: 18px 20px;
  border: 1px solid var(--warn); border-radius: 18px;
  background: var(--panel);
  font-size: 0.92rem; line-height: 1.6; color: var(--light-85);
}
.alerta svg { width: 22px; height: 22px; fill: none; stroke: var(--warn); stroke-width: 1.7; stroke-linecap: round; }
.alerta strong { color: var(--light); font-weight: 600; }

.rolagem-tabela { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabela { width: 100%; border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.tabela th, .tabela td { padding: 11px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--edge); }
.tabela th:first-child, .tabela td:first-child { padding-left: 0; }
.tabela th:last-child, .tabela td:last-child { padding-right: 0; }
.tabela thead th {
  font-family: var(--font-mono); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--light-55); border-bottom-color: var(--edge-strong);
}
.tabela tbody th { font-weight: 400; color: var(--light-85); }
.tabela td { color: var(--light-85); white-space: nowrap; }
#whats-linhas td, #whats-linhas + tfoot td, .tabela thead th:not(:first-child) { text-align: right; }
.tabela tfoot th, .tabela tfoot td { border-bottom: 0; padding-top: 14px; font-weight: 600; color: var(--light); }
#tabela-precos td { white-space: normal; }
#tabela-precos td:last-child { white-space: nowrap; }
.panel-precos .tabela thead th:not(:first-child) { text-align: left; }
.panel-precos .tabela thead th:last-child, #tabela-precos td:last-child { text-align: right; }
.panel-precos { margin-top: 24px; }

.note-box {
  margin-top: 20px; padding: 14px 16px;
  border: 1px dashed var(--edge-strong); border-radius: var(--radius);
  font-size: 0.9rem; line-height: 1.55; color: var(--light-70);
}

/* ============ CTA FINAL ============ */

.cta {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 80px 32px 56px; border-radius: 44px;
  text-align: center;
  box-shadow: 0 60px 120px -60px rgba(8, 103, 223, 0.8);
}
.cta > *:not(.band-rings):not(.cta-float) { position: relative; z-index: 1; }
.cta-token { margin-bottom: 36px; }
.cta .section-index { color: rgba(255, 255, 255, 0.72); }
.cta-title {
  max-width: 15ch; margin-top: 16px;
  font-size: clamp(2.3rem, 1.2rem + 4.4vw, 4.8rem);
  font-weight: 650; letter-spacing: -0.048em; line-height: 1.02;
  text-wrap: balance; color: #fff;
}
.cta-title em { color: #bcd8ff; }
.cta-sub { max-width: 560px; margin-top: 22px; font-size: 1.08rem; line-height: 1.65; color: rgba(255, 255, 255, 0.84); }
.cta-actions { margin-top: 36px; display: flex; justify-content: center; }
.cta .note-box { max-width: 560px; margin-top: 24px; text-align: left; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.cta .note-box code { background: rgba(255, 255, 255, 0.16); }
.cta-access {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.92rem;
}
.cta-access .mono { font-size: 0.68rem; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.7); }
.cta-access a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.4); padding-bottom: 2px; transition: border-color 180ms ease; }
.cta-access a:hover { border-color: #fff; }
.cta-float {
  position: absolute; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px 12px 12px; border-radius: 20px;
  background: #fff; color: #0b1220; text-align: left; font-size: 0.8rem;
  box-shadow: 0 24px 40px -18px rgba(0, 20, 70, 0.6);
}
.cta-float b { display: block; font-size: 0.88rem; font-weight: 650; }
.cta-float span { color: #6b7280; }
.cta-float .float-h { color: #0b1220; }
.cta-float p { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cf-a { left: 5%; top: 16%; transform: rotate(-7deg); }
.cf-b { right: 6%; top: 12%; display: block; transform: rotate(6deg); }
.cf-c { right: 4%; bottom: 20%; transform: rotate(-4deg); }

/* ============ RODAPÉ ============ */

.footer {
  position: relative; overflow: hidden; margin-top: 80px;
  border-top: 1px solid var(--edge);
  background: radial-gradient(80% 60% at 50% 100%, rgba(var(--blue-rgb), calc(var(--glow-strength) * 0.8)), transparent 70%), var(--void);
}
.footer-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 72px 0 32px; }
.footer-label { display: block; margin-bottom: 16px; font-size: 0.66rem; letter-spacing: 0.2em; color: var(--light-70); }
.footer-col p { font-size: 0.88rem; line-height: 1.7; color: var(--light-70); margin-bottom: 12px; }
.footer-col a {
  display: block; width: fit-content; margin-bottom: 10px;
  font-size: 0.88rem; color: var(--light-70);
  transition: color 200ms ease, transform 250ms var(--ease);
}
.footer-col a:hover { color: var(--blue-accent); transform: translateX(4px); }
.back-top { margin-top: 6px; padding: 6px 0; font-size: 0.7rem; letter-spacing: 0.12em; color: var(--light-55); transition: color 200ms ease; }
.back-top:hover { color: var(--blue-accent); }

.footer-marks-wrap { display: flex; justify-content: center; padding: 18px 0 8px; }
.footer-marks { display: flex; align-items: center; justify-content: center; gap: 26px; min-height: 58px; }
.footer-mark { display: block; object-fit: contain; }
.footer-connecta-mark { width: 220px; height: auto; }
.footer-mark-on-dark { display: block; }
.footer-mark-on-light { display: none; }
html[data-theme="light"] .footer-mark-on-dark { display: none; }
html[data-theme="light"] .footer-mark-on-light { display: block; }
@media (prefers-color-scheme: light) {
  html:not([data-theme]) .footer-mark-on-dark { display: none; }
  html:not([data-theme]) .footer-mark-on-light { display: block; }
}
.footer-hostinger-link { line-height: 0; }
.footer-marks-divider { width: 1px; height: 34px; background: var(--light-24); }

.footer-giant {
  display: flex; align-items: center; justify-content: center; gap: 0.12em;
  padding-top: 24px;
  font-size: clamp(5rem, 1rem + 19vw, 17rem); font-weight: 700; letter-spacing: -0.065em; line-height: 0.9;
  user-select: none;
}
.footer-giant span {
  background: linear-gradient(180deg, var(--light) 20%, rgba(var(--blue-rgb), 0.55) 75%, transparent 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.06em;
}
.footer-giant-mark { width: 0.72em; height: 0.72em; flex-shrink: 0; filter: drop-shadow(0 20px 40px rgba(8, 103, 223, 0.45)); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 26px 0 30px; border-top: 1px solid var(--edge);
  font-size: 0.78rem; color: var(--light-70);
}
.footer-bottom a:hover { color: var(--blue-accent); }

/* ============ O PROBLEMA ============ */
.dores { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dor {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--card-shadow);
}
.dor-num { font-size: clamp(2.2rem, 1.8rem + 1.2vw, 3rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.dor-un { font-size: 0.95rem; font-weight: 600; color: var(--light); }
.dor p { font-size: 0.9rem; line-height: 1.55; color: var(--light-55); margin-top: 4px; flex: 1; }
.dor-horas { align-self: flex-start; margin-top: 10px; padding: 4px 10px; border-radius: 99px; font-size: 0.74rem; color: var(--blue-accent); background: rgba(var(--blue-rgb), 0.1); border: 1px solid rgba(var(--blue-rgb), 0.3); }
.dor-total {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 12px 40px; align-items: center;
  margin-top: 16px; padding: 26px 30px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(var(--blue-rgb), 0.16), rgba(var(--blue-rgb), 0.04));
  border: 1px solid rgba(var(--blue-rgb), 0.35);
}
.dor-total > div { display: grid; gap: 4px; }
.dor-total span { font-size: 0.66rem; letter-spacing: 0.12em; color: var(--light-55); }
.dor-total b { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; color: var(--blue-accent); white-space: nowrap; }
.dor-total p { font-size: 0.86rem; line-height: 1.55; color: var(--light-70); }
.riscos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.riscos li { padding: 4px 0 4px 16px; border-left: 2px solid var(--warn); font-size: 0.9rem; line-height: 1.55; color: var(--light-70); }
.riscos b { color: var(--light); font-weight: 600; }

/* ============ PLANOS ============ */
.periodo {
  display: flex; width: max-content; max-width: 100%; margin: -24px auto 36px; padding: 5px; gap: 4px;
  background: var(--panel); border: 1px solid var(--edge); border-radius: 99px; box-shadow: var(--card-shadow);
}
.periodo[hidden] { display: none; }
.periodo button {
  font: inherit; font-size: 0.9rem; font-weight: 500; color: var(--light-70);
  background: none; border: 0; border-radius: 99px; padding: 10px 18px; cursor: pointer; white-space: nowrap;
}
.periodo button small { font-size: 0.72rem; color: var(--ok); margin-left: 4px; font-weight: 600; }
.periodo button[aria-pressed="true"] { background: var(--blue); color: var(--blue-ink); }
.periodo button[aria-pressed="true"] small { color: inherit; opacity: 0.85; }
.periodo button:focus-visible { outline: 2px solid var(--blue-accent); outline-offset: 2px; }
.planos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plano {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--card-shadow);
}
.plano-destaque { border-color: rgba(var(--blue-rgb), 0.55); box-shadow: 0 40px 80px -40px rgba(var(--blue-rgb), 0.55); }
.plano-selo { position: absolute; top: -12px; left: 28px; padding: 5px 12px; border-radius: 99px; background: var(--blue); color: var(--blue-ink); font-size: 0.66rem; letter-spacing: 0.12em; }
.plano h3 { font-size: 1.35rem; font-weight: 650; letter-spacing: -0.02em; }
.plano-para { margin-top: 4px; font-size: 0.9rem; color: var(--light-55); }
.plano-preco { margin-top: 22px; min-height: 92px; }
.plano-preco b { font-size: clamp(2.3rem, 1.9rem + 1.2vw, 3rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plano-preco b small { font-size: 0.42em; font-weight: 600; letter-spacing: 0; color: var(--light-70); vertical-align: 0.9em; }
.plano-destaque .plano-preco b { color: var(--blue-accent); }
.plano-preco .per { font-size: 0.95rem; color: var(--light-55); margin-left: 4px; }
.plano-preco .eq { margin-top: 8px; font-size: 0.84rem; line-height: 1.5; color: var(--light-55); }
.plano-cta { width: 100%; justify-content: center; margin-top: 18px; }
.plano-itens { display: grid; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--edge); }
.plano-itens li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 0.92rem; line-height: 1.45; color: var(--light-85); }
.plano-itens svg { width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.plano-extra { margin-top: auto; padding-top: 18px; font-size: 0.84rem; color: var(--light-55); }
.planos-extras { max-width: 760px; margin: 28px auto 0; display: grid; gap: 6px; text-align: center; font-size: 0.9rem; line-height: 1.6; color: var(--light-70); }
.planos-extras b { color: var(--light); font-weight: 600; }
.planos-tabela { font-size: 0.8rem; color: var(--light-38); }
.planos-extras a { color: var(--blue-accent); text-decoration: underline; text-underline-offset: 3px; }
html.js .planos-tabela { display: none; }

/* ============ DÚVIDAS ============ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 28px 18px 0; position: relative; font-weight: 600; font-size: 1rem; color: var(--light); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--blue-accent); }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid var(--blue-accent); outline-offset: 4px; border-radius: 6px; }
.faq details p { padding: 0 0 20px; font-size: 0.94rem; line-height: 1.65; color: var(--light-70); }

.cta-primeiros { position: relative; max-width: 520px; margin-top: 14px; font-size: 0.92rem; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }

@media (max-width: 1000px) {
  .dores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planos { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .dor-total { grid-template-columns: 1fr 1fr; padding: 22px 20px; }
  .dor-total p { grid-column: 1 / -1; }
  .riscos { grid-template-columns: minmax(0, 1fr); }
  .periodo { margin-top: -12px; }
  .periodo button { padding: 9px 12px; font-size: 0.84rem; }
}
@media (max-width: 420px) {
  .dores { grid-template-columns: minmax(0, 1fr); }
  .periodo button small { display: none; }
}

/* auditoria de copy (30/11): microtexto, legenda do painel, CTAs intermediários, resumo */
.cta-micro { margin-top: 14px; font-size: 0.84rem; color: var(--light-55); text-align: center; }
.demo-legenda { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); margin: 0; font-size: 0.72rem; color: var(--light-38); white-space: nowrap; }
.cta-mini { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin-top: 56px; text-align: center; }
.cta-mini p { font-size: 1.02rem; color: var(--light-70); }
.cta-resumo { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 24px; }
.cta-resumo li { padding: 7px 14px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; font-size: 0.88rem; }
@media (max-width: 760px) { .cta-mini { margin-top: 40px; } .cta-mini .btn { width: 100%; justify-content: center; } }

/* ============ PLANO ESPECIALIZADO ============ */
.plano-sob-medida {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center;
  margin-top: 18px; padding: 26px 30px; border-radius: var(--radius-lg);
  background: var(--panel); border: 1px dashed var(--edge-strong); box-shadow: var(--card-shadow);
}
.plano-sob-medida h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.plano-sob-medida h3 span { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--light-55); }
.plano-sob-medida p { margin-top: 6px; font-size: 0.93rem; line-height: 1.6; color: var(--light-70); max-width: 620px; }
.sob-medida-preco { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.sob-medida-preco b { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }

/* ============ CADASTRO (dialog) ============ */
.cadastro {
  width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0;
  color: var(--light); background: var(--panel); border: 1px solid var(--edge-strong); border-radius: var(--radius-lg);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.8); overflow: auto; overscroll-behavior: contain;
}
.cadastro::backdrop { background: rgba(var(--void-rgb), 0.72); backdrop-filter: blur(4px); }
.cadastro-form { padding: 28px 30px 26px; }
.cadastro-topo { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.cadastro-kicker { font-size: 0.66rem; letter-spacing: 0.12em; color: var(--blue-accent); }
.cadastro h2 { margin-top: 6px; font-size: 1.45rem; font-weight: 650; letter-spacing: -0.025em; line-height: 1.2; }
.cadastro-fechar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 99px; border: 1px solid var(--edge-strong); background: none; color: var(--light-70); cursor: pointer; }
.cadastro-fechar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cadastro-fechar:hover { color: var(--light); border-color: var(--light-38); }
.cadastro-aviso { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius); background: rgba(var(--blue-rgb), 0.08); border: 1px solid rgba(var(--blue-rgb), 0.25); font-size: 0.86rem; line-height: 1.55; color: var(--light-70); }
.cadastro-aviso a { color: var(--blue-accent); text-decoration: underline; text-underline-offset: 3px; }
.cadastro fieldset { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; }
.cadastro legend { padding: 0; margin-bottom: 12px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--light-55); }
.cadastro-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.cadastro .campo { gap: 6px; }
.cadastro .campo-largo { grid-column: 1 / -1; }
.cadastro .opc { font-weight: 400; color: var(--light-55); }
.cadastro input[type="tel"], .cadastro input[type="email"], .cadastro select, .cadastro textarea {
  width: 100%; min-width: 0; padding: 0 14px; height: 46px;
  background: var(--void); color: var(--light); border: 1px solid var(--edge-strong); border-radius: var(--radius);
  font: inherit; font-size: 1rem;
}
.cadastro textarea { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.cadastro select { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 20px, calc(100% - 15px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }
.cadastro select:focus, .cadastro textarea:focus, .cadastro input:focus { outline: none; border-color: var(--blue-accent); box-shadow: 0 0 0 3px rgba(var(--blue-rgb), 0.22); }
.cadastro [aria-invalid="true"] { border-color: var(--danger); }
.cadastro .erro { min-height: 0; font-size: 0.8rem; color: var(--danger); }
.cadastro .erro:empty { display: none; }
.cadastro-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cadastro-acoes .btn-primary { flex: 1 1 260px; justify-content: center; }
.cta-sem-js { position: relative; margin-top: 16px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.cta-sem-js a { color: #fff; text-decoration: underline; }

@media (max-width: 760px) {
  .plano-sob-medida { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .sob-medida-preco { justify-content: flex-start; }
  .sob-medida-preco .btn { width: 100%; justify-content: center; }
  .cadastro { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; }
  .cadastro-form { padding: 20px 16px 24px; }
  .cadastro-grade { grid-template-columns: minmax(0, 1fr); }
  .cadastro-acoes .btn { width: 100%; justify-content: center; }
}

/* ============ MOVIMENTO (só sem prefers-reduced-motion) ============ */

html.js [data-revela] { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 900ms var(--ease); }
html.js [data-revela].visto { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: sobe 900ms var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 80ms; }
  .hero-copy > :nth-child(3) { animation-delay: 160ms; }
  .hero-copy > :nth-child(4) { animation-delay: 240ms; }
  .hero-copy > :nth-child(5) { animation-delay: 320ms; }
  .hero-copy > :nth-child(6) { animation-delay: 380ms; }
  .hero-visual { animation: sobe 1200ms 300ms var(--ease) both; }
  .float { animation: boia 6s ease-in-out infinite; }
  .f-cliente { animation-delay: -1.5s; } .f-grafico { animation-delay: -3s; } .f-cnd { animation-delay: -4.2s; } .f-lembrete { animation-delay: -2.2s; }
  .cta-token .ico3d { animation: boia 5s ease-in-out infinite, gira 12s linear infinite; }
  .cta-float { animation: balanca 7s ease-in-out infinite; }
  .cf-b { animation-delay: -2s; } .cf-c { animation-delay: -4s; }
  .pill-dot { animation: pulso 2.4s ease-in-out infinite; }

  /* robô: gira e pisca sempre que a cena está visível */
  .scene.is-on .robo { animation: robo-gira 5s ease-in-out infinite alternate; }
  .scene.is-on .olho { animation: pisca 4s infinite; }
  .scene.is-on .scan { animation: varre 2.2s ease-in-out infinite alternate; }

  /* Cena 1: PDF → robô → WhatsApp (9 s) */
  .scene.is-on .s1-doc { animation: s1-doc 9s var(--ease-io) infinite both; }
  .scene.is-on .s1-beam { animation: s1-beam 9s infinite both; }
  .scene.is-on .s1-robo { animation: s1-robo 9s infinite both; }
  .scene.is-on .s1-checks li { animation: s1-check 9s var(--ease) infinite both; }
  .scene.is-on .s1-checks li:nth-child(2) { animation-name: s1-check2; }
  .scene.is-on .s1-checks li:nth-child(3) { animation-name: s1-check3; }
  .scene.is-on .s1-bolha { animation: s1-bolha 9s var(--ease) infinite both; }
  .scene.is-on .s1-bolha .vistos { animation: s1-vistos 9s infinite both; }

  /* Cena 2: quatro guias, um lembrete (9 s) */
  .scene.is-on .s2-guias li { animation: s2-voa 9s var(--ease-io) infinite both; }
  .scene.is-on .s2-guias li:nth-child(2) { animation-name: s2-voa2; }
  .scene.is-on .s2-guias li:nth-child(3) { animation-name: s2-voa3; }
  .scene.is-on .s2-guias li:nth-child(4) { animation-name: s2-voa4; }
  .scene.is-on .s2-bolha { animation: s2-bolha 9s var(--ease) infinite both; }
  .scene.is-on .s2-l { animation: s2-l1 9s var(--ease) infinite both; }
  .scene.is-on .s2-l:nth-of-type(2) { animation-name: s2-l2; }
  .scene.is-on .s2-l:nth-of-type(3) { animation-name: s2-l3; }
  .scene.is-on .s2-l:nth-of-type(4) { animation-name: s2-l4; }
  .scene.is-on .s2-selo { animation: s2-selo 9s var(--ease) infinite both; }

  /* Cena 3: semáforo (8 s) */
  .scene.is-on .lamp-y { animation: s3-amarelo 8s infinite both; }
  .scene.is-on .lamp-g { animation: s3-verde 8s infinite both; }
  .scene.is-on .lamp-r { animation: s3-vermelho 2.4s ease-in-out infinite; }
  .scene.is-on .s3-vira .s3-a { animation: s3-a 8s infinite both; }
  .scene.is-on .s3-vira .s3-b { animation: s3-b 8s infinite both; }
  .scene.is-on .s3-vira::after { animation: s3-emit 8s infinite both; }
  .scene.is-on .s3-vira { animation: s3-anel 8s infinite both; }

  /* Cena 4: cascata (9 s) */
  .scene.is-on .s4-tarefas li:nth-child(1) .caixa { animation: s4-k0 9s infinite both; }
  .scene.is-on .s4-tarefas li:nth-child(1) .caixa svg { animation: s4-v0 9s infinite both; }
  .scene.is-on .s4-tarefas li:nth-child(2) { animation: s4-l1 9s infinite both; }
  .scene.is-on .s4-tarefas li:nth-child(2) .caixa { animation: s4-k1 9s infinite both; }
  .scene.is-on .s4-tarefas li:nth-child(2) .caixa svg { animation: s4-v1 9s infinite both; }
  .scene.is-on .s4-tarefas li:nth-child(2) .cadeado::before { animation: s4-c1 9s infinite both, s4-borda1 9s infinite both; }
  .scene.is-on .s4-tarefas li:nth-child(2) .cadeado::after { animation: s4-fundo1 9s infinite both; }
  .scene.is-on .s4-tarefas li:nth-child(3) { animation: s4-l2 9s infinite both; }
  .scene.is-on .s4-tarefas li:nth-child(3) .caixa { animation: s4-k2 9s infinite both; }
  .scene.is-on .s4-tarefas li:nth-child(3) .caixa svg { animation: s4-v2 9s infinite both; }
  .scene.is-on .s4-tarefas li:nth-child(3) .cadeado::before { animation: s4-c2 9s infinite both, s4-borda2 9s infinite both; }
  .scene.is-on .s4-tarefas li:nth-child(3) .cadeado::after { animation: s4-fundo2 9s infinite both; }
  .scene.is-on .s4-linha:nth-of-type(1) b { animation: s4-f0 9s var(--ease-io) infinite both; }
  .scene.is-on .s4-linha:nth-of-type(2) b { animation: s4-f1 9s var(--ease-io) infinite both; }
  .scene.is-on .s4-selo { animation: s4-selo 9s var(--ease) infinite both; }

  .stage.pausado * { animation-play-state: paused !important; }
}

@keyframes sobe { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes boia { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes balanca { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -8px; rotate: 2deg; } }
@keyframes gira { 0% { rotate: 0deg; } 100% { rotate: 360deg; } }
@keyframes pulso { 0%, 100% { box-shadow: 0 0 0 4px rgba(var(--blue-rgb), 0.18); } 50% { box-shadow: 0 0 0 7px rgba(var(--blue-rgb), 0.06); } }
@keyframes robo-gira { from { transform: rotateX(-14deg) rotateY(-30deg); } to { transform: rotateX(-8deg) rotateY(-12deg); } }
@keyframes pisca { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(0.1); } }
@keyframes varre { from { transform: translateY(-20px); } to { transform: translateY(20px); } }

@keyframes s1-doc {
  0%, 20% { opacity: 1; transform: rotate(-4deg); }
  25% { opacity: 1; transform: translate(70px, -64px) scale(0.7) rotate(8deg); }
  32% { opacity: 1; transform: translate(152px, -78px) scale(0.26) rotate(0deg); }
  35% { opacity: 0; transform: translate(156px, -62px) scale(0.16) rotate(0deg); }
  35.5%, 78% { opacity: 0; transform: translateX(-70px) rotate(-14deg); }
  88%, 100% { opacity: 1; transform: rotate(-4deg); }
}
@keyframes s1-beam { 0%, 12% { opacity: 0; } 17%, 30% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes s1-robo { 0%, 32% { transform: none; } 35% { transform: scale(1.1, 0.92); } 39% { transform: scale(0.96, 1.05); } 43%, 100% { transform: none; } }
@keyframes s1-check { 0%, 40% { opacity: 0; transform: translateY(8px) scale(0.9); } 45%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes s1-check2 { 0%, 45% { opacity: 0; transform: translateY(8px) scale(0.9); } 50%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes s1-check3 { 0%, 50% { opacity: 0; transform: translateY(8px) scale(0.9); } 55%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes s1-bolha { 0%, 60% { opacity: 0; transform: translateY(16px) scale(0.9); } 67%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes s1-vistos { 0%, 74% { color: #8696a0; } 78%, 100% { color: #34b7f1; } }

@keyframes s2-voa { 0% { opacity: 0; transform: translateX(-24px); } 6%, 28% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translate(190px, 10px) scale(0.5); } }
@keyframes s2-voa2 { 0%, 2% { opacity: 0; transform: translateX(-24px); } 9%, 32% { opacity: 1; transform: none; } 40%, 100% { opacity: 0; transform: translate(190px, -10px) scale(0.5); } }
@keyframes s2-voa3 { 0%, 4% { opacity: 0; transform: translateX(-24px); } 12%, 36% { opacity: 1; transform: none; } 44%, 100% { opacity: 0; transform: translate(190px, -30px) scale(0.5); } }
@keyframes s2-voa4 { 0%, 6% { opacity: 0; transform: translateX(-24px); } 15%, 40% { opacity: 1; transform: none; } 48%, 100% { opacity: 0; transform: translate(190px, -50px) scale(0.5); } }
@keyframes s2-bolha { 0%, 30% { opacity: 0; transform: translateY(12px) scale(0.94); } 36%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes s2-l1 { 0%, 34% { opacity: 0; transform: translateX(-6px); } 38%, 100% { opacity: 1; transform: none; } }
@keyframes s2-l2 { 0%, 38% { opacity: 0; transform: translateX(-6px); } 42%, 100% { opacity: 1; transform: none; } }
@keyframes s2-l3 { 0%, 42% { opacity: 0; transform: translateX(-6px); } 46%, 100% { opacity: 1; transform: none; } }
@keyframes s2-l4 { 0%, 46% { opacity: 0; transform: translateX(-6px); } 50%, 100% { opacity: 1; transform: none; } }
@keyframes s2-selo { 0%, 58% { opacity: 0; transform: translateY(10px) scale(0.85); } 64%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

@keyframes s3-amarelo {
  0%, 50% { box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.35), 0 0 22px rgba(245, 165, 36, 0.85), 0 0 50px rgba(245, 165, 36, 0.45); filter: none; }
  56%, 100% { box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.45), inset 0 4px 6px rgba(255, 255, 255, 0.2); filter: brightness(0.45) saturate(0.6); }
}
@keyframes s3-verde {
  0%, 52% { box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.45); filter: brightness(0.45) saturate(0.6); }
  58%, 100% { box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.35), 0 0 22px rgba(34, 197, 94, 0.85), 0 0 50px rgba(34, 197, 94, 0.45); filter: none; }
}
@keyframes s3-vermelho { 0%, 100% { filter: brightness(0.6); } 50% { filter: brightness(1); } }
@keyframes s3-a { 0%, 50% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes s3-b { 0%, 52% { opacity: 0; } 58%, 100% { opacity: 1; } }
@keyframes s3-emit { 0%, 26% { opacity: 0; } 32%, 50% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes s3-anel {
  0%, 52% { box-shadow: 0 14px 24px -14px rgba(0, 20, 70, 0.6); }
  58% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.55), 0 14px 24px -14px rgba(0, 20, 70, 0.6); }
  80%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0), 0 14px 24px -14px rgba(0, 20, 70, 0.6); }
}

@keyframes s4-k0 { 0%, 8% { background: transparent; border-color: #c5cfdd; } 12%, 94% { background: #22c55e; border-color: #22c55e; } 100% { background: transparent; border-color: #c5cfdd; } }
@keyframes s4-v0 { 0%, 8% { stroke-dashoffset: 24; } 14%, 94% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 24; } }
@keyframes s4-k1 { 0%, 38% { background: transparent; border-color: #c5cfdd; } 42%, 94% { background: #22c55e; border-color: #22c55e; } 100% { background: transparent; border-color: #c5cfdd; } }
@keyframes s4-v1 { 0%, 38% { stroke-dashoffset: 24; } 44%, 94% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 24; } }
@keyframes s4-k2 { 0%, 68% { background: transparent; border-color: #c5cfdd; } 72%, 94% { background: #22c55e; border-color: #22c55e; } 100% { background: transparent; border-color: #c5cfdd; } }
@keyframes s4-v2 { 0%, 68% { stroke-dashoffset: 24; } 74%, 94% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 24; } }
@keyframes s4-l1 { 0%, 26% { opacity: 0.55; filter: grayscale(1); } 30%, 94% { opacity: 1; filter: none; } 100% { opacity: 0.55; filter: grayscale(1); } }
@keyframes s4-l2 { 0%, 56% { opacity: 0.55; filter: grayscale(1); } 60%, 94% { opacity: 1; filter: none; } 100% { opacity: 0.55; filter: grayscale(1); } }
@keyframes s4-c1 { 0%, 26% { transform: none; } 30%, 94% { transform: translate(6px, -3px) rotate(14deg); } 100% { transform: none; } }
@keyframes s4-c2 { 0%, 56% { transform: none; } 60%, 94% { transform: translate(6px, -3px) rotate(14deg); } 100% { transform: none; } }
@keyframes s4-borda1 { 0%, 26% { border-color: #9aa6b8; } 30%, 94% { border-color: #22c55e; } 100% { border-color: #9aa6b8; } }
@keyframes s4-borda2 { 0%, 56% { border-color: #9aa6b8; } 60%, 94% { border-color: #22c55e; } 100% { border-color: #9aa6b8; } }
@keyframes s4-fundo1 { 0%, 26% { background-color: #9aa6b8; } 30%, 94% { background-color: #22c55e; } 100% { background-color: #9aa6b8; } }
@keyframes s4-fundo2 { 0%, 56% { background-color: #9aa6b8; } 60%, 94% { background-color: #22c55e; } 100% { background-color: #9aa6b8; } }
@keyframes s4-f0 { 0%, 14% { height: 0; } 26%, 94% { height: 100%; } 100% { height: 0; } }
@keyframes s4-f1 { 0%, 44% { height: 0; } 56%, 94% { height: 100%; } 100% { height: 0; } }
@keyframes s4-selo { 0%, 74% { opacity: 0; transform: translateY(10px) scale(0.85); } 80%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ============ RESPONSIVO ============ */

@media (max-width: 1180px) {
  .security { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module, .module-wide, .module:nth-child(9), .module:nth-child(10) { grid-column: auto; }
  .sim { grid-template-columns: minmax(0, 1fr); }
  .sim-result { position: static; }
  .status-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-cliente { display: none; }
  .cta-float { display: none; }
}

@media (max-width: 900px) {
  .story-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* palco preso no alto com fundo da página: o texto some por baixo sem aparecer cortado */
  .story-stage-col {
    top: 0; padding: 78px 16px 6px; margin: 0 -16px;
    background: var(--void);
  }
  .story-stage-col::after {
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 36px;
    background: linear-gradient(var(--void), rgba(var(--void-rgb), 0));
    pointer-events: none;
  }
  .stage { padding: 46px 14px 16px; border-radius: 28px; }
  .stage-bars { top: 20px; left: 20px; right: 20px; }
  .story-step { min-height: 66vh; justify-content: flex-start; padding: 28px 0 0; opacity: 0.25; }
  .story-step:last-child { min-height: 52vh; }
  .story-step h3 { margin-top: 14px; }
  .story-step p { margin-top: 10px; font-size: 1rem; line-height: 1.6; }
  html:not(.js) .story-stage-col { position: static; }
}

@media (max-width: 760px) {
  html { --gutter: 32px; }
  .hero { padding: 120px 0 28px; }
  .hero-sub { font-size: 1.04rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-chips { gap: 8px; }
  .hero-chips li { font-size: 0.74rem; padding: 6px 10px; gap: 6px; }
  .hero-chips svg { width: 14px; height: 14px; }
  .access-label { flex-basis: 100%; }
  .hero-visual { margin-top: 56px; padding-bottom: 28px; }
  .dash-wrap { border-radius: 18px; }
  .float { padding: 9px 12px 9px 9px; border-radius: 16px; font-size: 0.72rem; gap: 8px; }
  .float b { font-size: 0.78rem; }
  .float .ico3d-sm { width: 30px; height: 30px; }
  .f-enviada { left: -6px; top: -30px; }
  .f-grafico { display: none; }
  .f-cnd { right: -6px; top: auto; bottom: 46%; width: 138px; padding: 10px 12px; }
  .f-cnd p { font-size: 0.72rem; margin-top: 5px; }
  .f-lembrete { right: auto; left: 8%; bottom: -2px; }
  .section { padding: 84px 0; }
  .section-tight { padding: 24px 0; }
  .section-heading { margin-bottom: 40px; }
  .band, .dark-band { padding: 56px 18px 22px; border-radius: 30px; }
  .steps4, .security { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .steps4 li { padding: 28px 20px 24px; }
  .modules { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .module { padding: 34px 22px 28px; }
  .status-panel { padding: 26px 20px; }
  .status-list li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .panel, .result { padding: 22px 18px; }
  .grade-campos { grid-template-columns: minmax(0, 1fr); }
  .cabeca-linha, .linha { grid-template-columns: minmax(0, 1fr) 96px 40px; gap: 8px; }
  .panel-actions .btn { flex: 1 1 auto; }
  .panel-actions #add-ferramenta { flex-basis: 100%; }
  .cta { padding: 60px 18px 40px; border-radius: 32px; }
  .cta-token { margin-bottom: 28px; }
  .ico3d-xl { width: 92px; height: 92px; }
  .btn-xl { height: auto; min-height: 56px; padding: 12px 24px; font-size: 0.98rem; white-space: normal; }
  .footer { margin-top: 48px; }
}

@media (max-width: 520px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 56px 0 16px; }
  .footer-marks { gap: 14px; min-height: 36px; }
  .footer-connecta-mark { width: 160px; height: auto; }
  .footer-hostinger-mark { width: 96px; height: 36px; }
  .tabela { font-size: 0.84rem; }
  .tabela th, .tabela td { padding: 10px 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-revela] { opacity: 1; transform: none; }
  .dash-wrap { transform: none; }
}
