/* ==========================================================================
   typevox — design tokens (marca: navy + teal + ciano)
   Modo padrão: CLARO. O modo escuro é opt-in via [data-theme="dark"]
   (botão "Tema" no topo) — não segue a preferência do sistema, é uma
   escolha de marca: o site nasce claro.
   ========================================================================== */
:root {
  --navy: #012233;
  --teal: #008c98;
  --cyan: #00edf4;
  --teal-2: #00747f;
  --deep: #0a3546;

  --bg: #f5f8f8;
  --bg-soft: #eef3f3;
  --surface: #ffffff;
  --surface-2: #eef3f3;
  --surface-3: #e4ecec;
  --ink: #06222e;
  --muted: #52666c;
  --muted-2: #7c8e93;
  --line: #dde7e8;
  --line-soft: #e6eeee;
  --accent: var(--teal);
  --accent-ink: #ffffff;
  --logo-ink: var(--navy);
  --logo-accent: var(--teal);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow: 0 1px 2px rgba(1,34,51,.06), 0 20px 45px -12px rgba(1,34,51,.12);
  --glow: 0 0 0 1px rgba(0,140,152,.18), 0 0 40px -8px rgba(0,140,152,.30);
  --ease: cubic-bezier(.16,.84,.32,1);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0a1a20;
  --bg-soft: #0c1e24;
  --surface: #102830;
  --surface-2: #16323b;
  --surface-3: #1c3d47;
  --ink: #eef6f6;
  --muted: #93a9ae;
  --muted-2: #6f878d;
  --line: #1f3a41;
  --line-soft: #172c32;
  --accent: var(--cyan);
  --accent-ink: #04252b;
  --logo-ink: #ffffff;
  --logo-accent: var(--cyan);

  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 20px 50px -10px rgba(0,0,0,.55);
  --glow: 0 0 0 1px rgba(0,237,244,.18), 0 0 40px -8px rgba(0,237,244,.35);

  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 640px) { .wrap { padding-inline: 18px; } }

h1, h2, h3, h4 { text-wrap: balance; line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 800; }
p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.lead { font-size: clamp(17px, 2.4vw, 21px); font-weight: 500; color: var(--ink); max-width: 60ch; }
.lead b { color: var(--accent); font-weight: 700; }

.muted { color: var(--muted); }

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding-inline: 22px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -6px color-mix(in srgb, var(--accent) 55%, transparent); }
.btn-primary:hover { box-shadow: 0 12px 32px -6px color-mix(in srgb, var(--accent) 70%, transparent); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { height: 58px; padding-inline: 30px; font-size: 16px; }
.btn svg { height: 16px; width: 16px; }
.hero-cta .btn svg { transition: transform .25s var(--ease); }
.hero-cta .btn-primary:hover svg { transform: translateX(3px); }
.hero-cta .btn-ghost svg { color: var(--accent); }

/* ==========================================================================
   Trilho de conversa — indicador de scroll no formato de um "recibo de
   leitura" descendo por uma linha, como se você rolasse dentro de um
   chat. Diferente do clichê de barra fina no topo.
   ========================================================================== */
.chat-rail {
  position: fixed; top: 84px; bottom: 84px; right: 18px; z-index: 55;
  width: 22px; display: flex; justify-content: center;
  pointer-events: none;
}
.chat-rail-track {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom, var(--accent) 0 4px, transparent 4px 9px);
  border-radius: 2px;
  transition: background .4s var(--ease);
}
.chat-rail-dot {
  position: absolute; top: 0; left: 50%; width: 12px; height: 12px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,.3);
  transition: top .12s linear, background-color .4s var(--ease);
}
/* passando por trás de uma seção clara: a bolinha vira escura pra manter contraste */
.chat-rail.on-light .chat-rail-dot { background: var(--navy); }
.chat-rail.on-light .chat-rail-track { background: repeating-linear-gradient(to bottom, var(--navy) 0 4px, transparent 4px 9px); }
:root[data-theme="dark"] .chat-rail.on-light .chat-rail-dot { background: var(--accent); }
:root[data-theme="dark"] .chat-rail.on-light .chat-rail-track { background: repeating-linear-gradient(to bottom, var(--accent) 0 4px, transparent 4px 9px); }
@media (max-width: 900px), (max-height: 560px) { .chat-rail { display: none; } }
@media (prefers-reduced-motion: reduce) { .chat-rail-dot { transition: none; } }

/* ==========================================================================
   Topbar
   ========================================================================== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
}
.topbar .row { display: flex; align-items: center; gap: 8px; padding-block: 11px; }
.topbar .brand { display: flex; align-items: center; flex-shrink: 0; }
.topbar .brand svg { height: 32px; width: auto; display: block; }
.topbar .nav-desktop { display: flex; flex: 1; align-items: center; justify-content: center; gap: 24px; }
.topbar .nav-desktop a { font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color .2s; position: relative; }
.topbar .nav-desktop a:hover { color: var(--ink); }
.topbar .cta-group { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.topbar .login-link { font-size: 14px; font-weight: 600; color: var(--muted); padding-inline: 8px; }
.topbar .login-link:hover { color: var(--ink); }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; }
.burger svg { height: 18px; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { height: 17px; width: 17px; }
.theme-toggle .ic-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: block; }
.theme-toggle-mobile { width: 100%; height: 44px; flex-direction: row; justify-content: center; gap: 10px; margin-top: 6px; border-radius: 10px; }
.theme-toggle-mobile span { font-size: 14px; font-weight: 600; }

@media (max-width: 900px) {
  .topbar .nav-desktop { display: none; }
  .topbar .login-link { display: none; }
  .burger { display: flex; }
}

.mobile-nav {
  display: none; flex-direction: column; gap: 4px; padding: 14px 18px 20px;
  border-top: 1px solid var(--line-soft); background: var(--bg-soft);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 6px; font-weight: 600; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mobile-nav .btn { margin-top: 10px; width: 100%; }

/* ==========================================================================
   Hero + cena 3D
   O hero é sempre um "cartaz" escuro — navy + ciano — independente do
   tema geral da página (igual ao brief oficial da marca). Por isso ele
   redefine os tokens localmente: tudo dentro dele (botões, chips,
   textos) resolve para a versão escura automaticamente.
   ========================================================================== */
.hero {
  --surface: #14282f;
  --surface-2: #1b333a;
  --surface-3: #22404a;
  --ink: #eef6f6;
  --muted: #b9d6da;
  --muted-2: #93a9ae;
  --line: #2a4750;
  --line-soft: #22404a;
  --accent: var(--cyan);
  --accent-ink: #04252b;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 20px 50px -10px rgba(0,0,0,.55);
  --glow: 0 0 0 1px rgba(0,237,244,.18), 0 0 40px -8px rgba(0,237,244,.35);
  color: var(--ink);
  color-scheme: dark;
  position: relative;
  padding-top: clamp(20px, 3.5vw, 32px);
  padding-bottom: clamp(32px, 5vw, 56px);
  overflow: hidden;
  background: linear-gradient(160deg, #012233 0%, #06303f 70%, #084252 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%; height: 620px;
  background: radial-gradient(60% 60% at 70% 20%, rgba(0,237,244,.14), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.hero-copy { max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--accent); border-radius: 999px; padding: 8px 16px 8px 12px; font-size: 13px; font-weight: 800;
}
.hero-badge svg { height: 15px; width: 15px; }
.hero-copy h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; margin-top: 14px; color: var(--ink); }
.hero-copy h1 .hl { color: var(--accent); }
.hero-copy .lead { margin-top: 12px; font-size: clamp(14.5px, 1.5vw, 16px); color: var(--muted); }
.hero-tagline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px;
  margin-top: 10px; font-size: 12.5px; font-weight: 800; color: var(--accent); letter-spacing: .01em;
}
.hero-tagline .sep { color: var(--muted); font-weight: 400; opacity: .6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  font-size: 12.5px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.02);
  display: inline-flex; align-items: center; gap: 6px;
}
.chip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.hero-visual { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

/* gatilho Conversas / Mapa de rede — um switch só, deslizando de um lado
   pro outro (não duas abas separadas), centralizado no topo do hero */
.hv-switch-row { display: flex; justify-content: center; margin-bottom: 4px; }
.hv-switch {
  position: relative; display: inline-flex; padding: 4px;
  border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line);
}
.hv-switch-thumb {
  position: absolute; top: 4px; left: 4px; bottom: 4px; width: calc(50% - 4px);
  background: var(--accent); border-radius: 999px; transition: transform .4s var(--ease); z-index: 0;
}
.hv-switch.pane-map .hv-switch-thumb { transform: translateX(100%); }
.hv-switch-opt {
  position: relative; z-index: 1; width: 148px; border: none; background: transparent; cursor: pointer;
  color: var(--muted); font-size: 12.5px; font-weight: 700; padding: 9px 10px; border-radius: 999px;
  transition: color .3s var(--ease);
}
.hv-switch-opt.is-active { color: var(--accent-ink); }
@media (max-width: 460px) { .hv-switch-opt { width: 118px; font-size: 11.5px; } }

.hv-stage { position: relative; height: 300px; }
.hv-pane {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; transform: scale(.98);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.hv-pane.is-active { opacity: 1; pointer-events: auto; transform: scale(1); position: relative; }
@media (prefers-reduced-motion: reduce) { .hv-pane { transition: opacity .01s linear; transform: none; } }

.hero-stage {
  width: 100%; height: 100%;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 120% at 30% 0%, rgba(0,140,152,.18), transparent 60%), linear-gradient(160deg, #01131b 0%, #06222b 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: inherit; }
.hero-stage .stage-label {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: rgba(10,26,32,.55); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
  backdrop-filter: blur(6px);
}
.hero-stage .stage-hint {
  position: absolute; bottom: 16px; left: 16px; z-index: 2;
  font-size: 11.5px; color: var(--muted); background: rgba(10,26,32,.55); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
  backdrop-filter: blur(6px); display: flex; align-items: center; gap: 6px;
}
.hero-stage .stage-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--accent-ink);
  background: var(--accent); border-radius: 999px; padding: 6px 12px; box-shadow: 0 6px 18px -4px rgba(0,237,244,.6);
}
.noise-fallback { display: none; }
.no-webgl .noise-fallback { display: block; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(60% 60% at 50% 40%, rgba(0,237,244,.25), transparent 70%); }
.no-webgl #hero-canvas { display: none; }

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
}

/* card do hero: mockup de uma tela de inbox de verdade — fila de
   conversas à esquerda (por canal: Cliente/Ads/Instagram, mostrando que
   tudo roda ao mesmo tempo) e a conversa completa à direita, com a IA
   resolvendo de ponta a ponta. Nunca sobreposto ao mapa — bloco separado. */
.app-mock {
  width: 100%; height: 100%;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
}
.app-mock-body { display: flex; flex: 1; min-height: 0; }
.app-list { flex: 0 0 40%; min-width: 0; border-right: 1px solid var(--line); background: var(--surface-2); padding: 6px; overflow-y: auto; }
.app-list-row {
  display: flex; align-items: center; gap: 7px; padding: 7px 6px; border-radius: 9px;
  transition: background .2s; cursor: default;
}
.app-list-row.is-active { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.app-avatar {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--cyan); font-size: 9.5px; font-weight: 800;
}
.app-avatar svg { height: 12px; width: 12px; }
.app-avatar.chan-ads { background: color-mix(in srgb, #ffb545 22%, var(--navy)); color: #ffb545; }
.app-avatar.chan-insta { background: color-mix(in srgb, #ff5d8f 22%, var(--navy)); color: #ff5d8f; }
.app-avatar.chan-messenger { background: color-mix(in srgb, #6f5cff 22%, var(--navy)); color: #8f7dff; }
.app-avatar.chan-telegram { background: color-mix(in srgb, #35b1e6 22%, var(--navy)); color: #4fc3ff; }
.app-avatar.chan-whatsapp { background: color-mix(in srgb, #35d07f 22%, var(--navy)); color: #35d07f; }
.app-list-info { min-width: 0; flex: 1; }
.app-list-name { font-size: 10.5px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-list-snippet { font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.app-list-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; animation: pulseDot 1.6s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { opacity: .4; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .app-list-dot { animation: none; } }
.app-list-tag {
  flex-shrink: 0; font-size: 8.5px; font-weight: 800; letter-spacing: .02em;
  padding: 3px 6px; border-radius: 999px; white-space: nowrap;
}
.app-list-tag.tag-ia { color: var(--accent-ink); background: var(--accent); }
.app-list-tag.tag-human { color: var(--muted); background: var(--surface-3); border: 1px solid var(--line); }
@media (max-width: 560px) { .app-list-tag { display: none; } }

.app-thread { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.app-thread-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.app-thread-who { min-width: 0; flex: 1; }
.app-thread-name { font-size: 12px; font-weight: 700; color: var(--ink); }
.app-thread-sub { font-size: 10px; color: var(--muted); }
.app-ia-badge {
  font-size: 10px; font-weight: 800; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 999px; padding: 4px 9px; flex-shrink: 0;
}
.app-thread-body { padding: 10px 12px; flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 6px; justify-content: flex-end; }
.app-thread-body .msg { max-width: 86%; padding: 7px 10px; border-radius: 12px; font-size: 11.5px; line-height: 1.4; }
.app-thread-body .typing-dots { transform: scale(.75); transform-origin: left center; }
.app-thread-body .msg-time { display: block; font-size: 9.5px; margin-top: 3px; opacity: .7; font-weight: 500; }
.app-thread-body .msg.in .msg-time { color: var(--muted); }
.app-thread-body .msg.out .msg-time { color: var(--accent-ink); text-align: right; }

@media (max-width: 560px) {
  .app-list { flex: 0 0 96px; }
  .app-list-name, .app-list-snippet { font-size: 10px; }
}
@media (max-width: 460px) {
  .app-list { flex: 0 0 46px; padding: 8px 4px; }
  .app-list-row { justify-content: center; padding: 8px 0; }
  .app-list-info, .app-list-dot { display: none; }
}
.hcf-body .msg { max-width: 88%; padding: 7px 10px; border-radius: 11px; font-size: 11.5px; line-height: 1.35; }
.hcf-body .msg.in { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.hcf-body .msg.out { align-self: flex-end; background: var(--accent); color: var(--accent-ink); font-weight: 600; border-bottom-right-radius: 3px; }
.hcf-body .typing-dots { transform: scale(.8); align-self: flex-start; padding: 8px 10px; }

/* ERPs e "empresas parceiras" — pequenininhos, colados no card de chat */
.hv-trust { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hv-trust-lbl { font-size: 10.5px; font-weight: 700; color: var(--muted); letter-spacing: .03em; white-space: nowrap; }
.marquee { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 18s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.hv-trust .erp { flex-shrink: 0; border: 1px solid var(--line); border-radius: 8px; padding: 5px 11px; font-weight: 800; font-size: 11px; color: var(--ink); letter-spacing: -.01em; background: rgba(255,255,255,.03); }
.hv-trust .erp.any { border-style: dashed; color: var(--accent); font-weight: 700; font-size: 10px; }
.marquee.small .marquee-track { gap: 10px; animation-duration: 22s; }
.logo-slot {
  flex-shrink: 0; width: 64px; height: 28px; border-radius: 7px;
  border: 1px dashed var(--line); background: rgba(255,255,255,.02);
}

/* empresas parceiras — faixa grandona, na parte clara logo abaixo do hero */
.clients-section { padding-block: clamp(30px, 5vw, 48px); }
.clients-trust-lbl {
  display: block; font-size: 12px; font-weight: 700; color: var(--muted);
  letter-spacing: .04em; margin-bottom: 16px; text-align: center;
}
.marquee.big .marquee-track { gap: 22px; animation-duration: 26s; }
.logo-slot.big { width: 148px; height: 56px; border-radius: 12px; }
@media (max-width: 640px) { .logo-slot.big { width: 118px; height: 48px; } }

/* ==========================================================================
   Seções gerais
   ========================================================================== */
section { padding-block: clamp(56px, 9vw, 100px); position: relative; }
.section-alt { background: var(--bg-soft); }
.sec-head { max-width: 640px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(26px, 4vw, 40px); margin-top: 10px; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 16.5px; }
.sec-head.center { margin-inline: auto; text-align: center; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* grids & cards */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) var(--radius) 6px;
  padding: 24px; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 17px; font-weight: 700; }
.card p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.card .k {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
  margin-bottom: 16px; font-size: 18px;
}
.card ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.card li { position: relative; padding-left: 18px; font-size: 14px; color: var(--ink); }
.card li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* heroes (destaques) */
.heroes { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .heroes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .heroes { grid-template-columns: 1fr; } }
.hf {
  position: relative; border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) var(--radius) 6px;
  padding: 22px; background: var(--surface); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.hf:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hf.spot { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent) inset; }
.hf.spot::after {
  content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 100% 0%, rgba(0,237,244,.14), transparent 60%);
  pointer-events: none;
}
.hf .star {
  display: inline-flex; width: 34px; height: 34px; border-radius: 10px; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); margin-bottom: 14px; font-size: 15px;
}
.hf .t { font-weight: 800; font-size: 15.5px; letter-spacing: -.01em; position: relative; z-index: 1; }
.hf .d { color: var(--muted); font-size: 13.5px; margin-top: 8px; position: relative; z-index: 1; }
.hf .badge {
  display: inline-block; margin-top: 14px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 4px 10px;
  position: relative; z-index: 1;
}

/* audiências */
.audience { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 780px) { .audience { grid-template-columns: 1fr; } }
.aud { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface-2); }
.aud .tag2 { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.aud h3 { font-size: 17px; margin-top: 8px; }
.aud p { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* canais */
.channels-row { display: flex; flex-wrap: wrap; gap: 14px; }
.chan {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 18px; background: var(--surface); font-weight: 700; font-size: 14px;
}
.chan svg { height: 20px; width: 20px; color: var(--accent); }
.api-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px;
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; background: var(--surface-2);
}
.api-line b { color: var(--accent); }
.api-line span { font-size: 14px; color: var(--muted); }

/* IA / chat demo */
.ai-section { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .ai-section { grid-template-columns: 1fr 1fr; } }
.ai-copy .grid { margin-top: 26px; }
.stat-row { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.stat { }
.stat .num { font-size: clamp(28px, 4vw, 40px); font-weight: 900; color: var(--accent); letter-spacing: -.02em; }
.stat .lbl { font-size: 13px; color: var(--muted); margin-top: 4px; max-width: 16ch; }

.chat-demo {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
  box-shadow: var(--shadow); overflow: hidden;
}
.chat-demo .chat-head {
  display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.chat-demo .chat-head .avatar {
  width: 34px; height: 34px; border-radius: 10px; background: var(--navy); display: flex; align-items: center; justify-content: center;
}
.chat-demo .chat-head .avatar svg { height: 18px; width: auto; }
.chat-demo .chat-head .who { font-weight: 700; font-size: 14px; }
.chat-demo .chat-head .status { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.chat-demo .chat-head .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 8px #35d07f; }
.chat-body { padding: 20px 18px; min-height: 320px; display: flex; flex-direction: column; gap: 12px; justify-content: flex-end; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: 13.8px; line-height: 1.45; opacity: 0; transform: translateY(8px); animation: msgIn .5s var(--ease) forwards; }
@keyframes msgIn { to { opacity: 1; transform: translateY(0); } }
.msg.in { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--accent); color: var(--accent-ink); font-weight: 600; border-bottom-right-radius: 4px; }
.msg .tag-ia { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.typing-dots { display: inline-flex; gap: 4px; align-self: flex-start; padding: 12px 15px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.typing-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite ease-in-out; }
.typing-dots span:nth-child(2) { animation-delay: .18s; }
.typing-dots span:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* posicionamento */
.pos-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 780px) { .pos-grid { grid-template-columns: 1fr; } }

/* call center / revendas — split feature blocks */
.split { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.split-visual {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
  padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.split-visual::before { content: ""; position: absolute; inset: -40% -20% auto -20%; height: 200px; background: radial-gradient(circle, rgba(0,237,244,.16), transparent 70%); }
.split-copy .grid { margin-top: 22px; }
.mini-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.mini-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink); position: relative; padding-left: 0; }
.mini-list li::before { content: none; }
.mini-list .ico { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.mini-list .ico svg { height: 15px; width: 15px; }
.mini-list .txt b { display: block; font-weight: 700; margin-bottom: 2px; }
.mini-list .txt span { color: var(--muted); font-size: 13.5px; }

/* omni-screen mock (call center visual) */
.omni-mock { display: flex; flex-direction: column; gap: 10px; }
.omni-mock .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.omni-mock .top .t { font-weight: 800; font-size: 13.5px; }
.omni-row { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface-2); }
.omni-row .company { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--cyan); flex-shrink: 0; }
.omni-row .body { flex: 1; min-width: 0; }
.omni-row .name { font-weight: 700; font-size: 13px; }
.omni-row .last { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.omni-row .badge { font-size: 10px; font-weight: 800; color: var(--accent-ink); background: var(--cyan); border-radius: 999px; padding: 3px 8px; flex-shrink: 0; }

/* white-label preview */
.wl-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 460px) { .wl-preview { grid-template-columns: 1fr; } }
.wl-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.wl-card .bar { height: 34px; display: flex; align-items: center; padding-inline: 10px; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; }
.wl-card .body2 { padding: 14px 12px; font-size: 11.5px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; }
.wl-card .body2 .btnmini { display: inline-block; align-self: flex-start; font-size: 10.5px; font-weight: 700; padding: 5px 10px; border-radius: 7px; }

/* catálogo de recursos (accordion) */
.acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.acc + .acc { margin-top: 12px; }
.acc-head { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 20px; background: transparent; border: none; color: var(--ink); text-align: left; cursor: pointer; }
.acc-head .k { display:flex; align-items:center; justify-content:center; width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); flex-shrink: 0; font-size: 16px; }
.acc-head .tt { flex: 1; font-weight: 700; font-size: 15.5px; }
.acc-head .chev { transition: transform .3s var(--ease); color: var(--muted); flex-shrink: 0; }
.acc-head .chev svg { height: 18px; }
.acc.open .acc-head .chev { transform: rotate(180deg); color: var(--accent); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc-panel-inner { padding: 0 20px 20px 70px; }
.acc-panel-inner ul { display: flex; flex-direction: column; gap: 8px; }
.acc-panel-inner li { position: relative; padding-left: 16px; font-size: 14px; color: var(--muted); }
.acc-panel-inner li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ecossistema */
.eco { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 780px) { .eco { grid-template-columns: 1fr; } }
.eco .node { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface); position: relative; }
.eco .node.center { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, var(--glow); }
.eco .node .role { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-top: 4px; display: block; }
.eco .node h3 { font-size: 19px; margin-top: 4px; }
.eco .node p { color: var(--muted); font-size: 13.5px; margin-top: 10px; }
.eco-lines { display: none; }

/* planos / CTA banda — também um "cartaz" sempre escuro, como o hero */
.cta-banner {
  --surface: #14282f;
  --surface-2: #1b333a;
  --ink: #eef6f6;
  --muted: #b9d6da;
  --line: #2a4750;
  --accent: var(--cyan);
  --accent-ink: #04252b;
  color: var(--ink);
  color-scheme: dark;
  border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px);
  background: radial-gradient(120% 140% at 80% -10%, rgba(0,237,244,.18), transparent 60%), linear-gradient(160deg, #012233, #06303f);
  border: 1px solid var(--line); text-align: center; position: relative; overflow: hidden;
}
.cta-banner h2 { font-size: clamp(24px, 4vw, 38px); max-width: 26ch; margin-inline: auto; color: var(--ink); }
.cta-banner p { color: var(--muted); max-width: 52ch; margin: 16px auto 0; font-size: 16px; }
.cta-banner .hero-cta { justify-content: center; margin-top: 28px; }
.cta-banner .mod .nm { color: var(--ink); }

/* módulos (planos) */
.modules { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); margin-top: 30px; }
@media (max-width: 980px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .modules { grid-template-columns: 1fr; } }
.mod { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--surface); text-align: center; }
.mod .nm { font-weight: 700; font-size: 13.5px; }
.mod .d { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* contato / formulário */
.contact-wrap { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: .9fr 1.1fr; } }
.contact-info .item { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; }
.contact-info .item .ico { width: 38px; height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info .item .ico svg { height: 18px; }
.contact-info .item b { display: block; font-size: 14.5px; }
.contact-info .item span { color: var(--muted); font-size: 13.5px; }

.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow); }
.field-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea {
  height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink);
  padding-inline: 14px; font: inherit; font-size: 14px; outline: none; transition: border-color .2s;
}
.field textarea { height: auto; padding-block: 10px; resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-note { font-size: 12px; color: var(--muted-2); margin-top: 12px; text-align: center; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .ico { width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.form-success h3 { font-size: 18px; }
.form-success p { color: var(--muted); margin-top: 8px; font-size: 14px; }

/* nota */
.note {
  border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  border-radius: 0 14px 14px 0; padding: 18px 20px; font-size: 14.5px; color: var(--ink);
}
.note b { color: var(--accent); }

/* footer */
footer { border-top: 1px solid var(--line-soft); padding-block: 48px 30px; background: var(--bg-soft); }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand svg { height: 26px; }
.foot-brand p { color: var(--muted); font-size: 13.5px; margin-top: 14px; max-width: 28ch; }
.foot-col .tt { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 14px; color: var(--muted); }
.foot-col a:hover { color: var(--accent); }
.foot-company {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted-2);
}
.foot-company strong { color: var(--muted); font-weight: 600; }
.foot-bottom {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted-2);
}

/* back to top */
.top-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 40; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s, border-color .2s, color .2s; box-shadow: var(--shadow);
}
.top-fab.show { opacity: 1; pointer-events: auto; }
.top-fab:hover { border-color: var(--accent); color: var(--accent); }
.top-fab svg { height: 18px; }

hr.sep { border: none; border-top: 1px solid var(--line-soft); margin: 0; }
