/* ═══════════════════════════════════════════════════════════════
   AuraPBX — site.css · landing page aurapbx.com.br
   Tokens, temas, paletas, auroras e vidro herdados do painel
   (public/assets/css/main.css + components.css do produto).
   ═══════════════════════════════════════════════════════════════ */

/* Inter variável hospedada no próprio site (OFL, assets/fonts/LICENSE-Inter.txt) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

/* ── Tokens base (iguais ao painel) ──────────────────────────── */
:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 18px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --up-good: #006300;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

:root, :root[data-theme="light"] {
  color-scheme: light;
  --bg: #f9f9f7;
  --surface: #fcfcfb;
  --surface-2: #f3f2ef;
  --surface-3: #ebeae6;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --ink-3: #6b6964; /* painel usa #898781; escurecido para 4,5:1 (WCAG AA) em texto pequeno */
  --line: #e1e0d9;
  --line-strong: #c3c2b7;
  --shadow-1: 0 1px 2px rgba(15,15,20,.05), 0 4px 16px rgba(15,15,20,.06);
  --shadow-2: 0 4px 12px rgba(15,15,20,.08), 0 16px 44px rgba(15,15,20,.14);
  --ok: #0a8a0a; --ok-soft: #e2f5e2;
  --warn: #9a6700; --warn-soft: #fdf1d2;
  --danger: #c22f2f; --danger-soft: #fbe4e4;
  --info: #1c5cab; --info-soft: #dfecfc;
  --glass: rgba(252,252,251,.74);
  --glass-strong: rgba(252,252,251,.88);
  --glass-ring: inset 0 1px 0 rgba(255,255,255,.7);
  --glow: 34%;
  --glow-2: 22%;
  --grain: .030;
  --mesh: rgba(11,11,11,.075);
  --scroll-thumb: rgba(11,11,11,.24);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0d0d;
  --surface: #1a1a19;
  --surface-2: #222221;
  --surface-3: #2c2c2a;
  --ink: #ffffff;
  --ink-2: #c3c2b7;
  --ink-3: #898781;
  --line: #2c2c2a;
  --line-strong: #383835;
  --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.35);
  --shadow-2: 0 8px 20px rgba(0,0,0,.5), 0 24px 60px rgba(0,0,0,.55);
  --ok: #34c76a; --ok-soft: #10391f;
  --warn: #e5b026; --warn-soft: #3a2e0d;
  --danger: #ef6b6b; --danger-soft: #421c1c;
  --info: #6aa5ee; --info-soft: #16294a;
  --up-good: #0ca30c;
  --glass: rgba(26,26,25,.66);
  --glass-strong: rgba(22,22,21,.84);
  --glass-ring: inset 0 1px 0 rgba(255,255,255,.055);
  --glow: 60%;
  --glow-2: 40%;
  --grain: .045;
  --mesh: rgba(255,255,255,.062);
  --scroll-thumb: rgba(255,255,255,.22);
}

/* ── Paletas de acento (as mesmas seis do painel) ────────────── */
:root, :root[data-accent="aurora"] { --accent-1:#5b7cfa; --accent-2:#9d5cf5; --accent:#6d6df8; }
:root[data-accent="oceano"]   { --accent-1:#0ea5c9; --accent-2:#2563eb; --accent:#0e8fc9; }
:root[data-accent="esmeralda"]{ --accent-1:#0fa968; --accent-2:#0d8f92; --accent:#0f9c73; }
:root[data-accent="poente"]   { --accent-1:#f0742f; --accent-2:#e3405f; --accent:#e85c47; }
:root[data-accent="orquidea"] { --accent-1:#d846b4; --accent-2:#8b3df0; --accent:#b542d2; }
:root[data-accent="grafite"]  { --accent-1:#64748b; --accent-2:#334155; --accent:#526078; }

:root {
  --accent-grad: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --accent-ink: #ffffff;
  --accent-soft: color-mix(in srgb, var(--accent) 11%, var(--surface));
  --accent-text: color-mix(in srgb, var(--accent) 82%, #000);
}
:root[data-theme="dark"] {
  --accent-soft: color-mix(in srgb, var(--accent) 20%, var(--surface));
  --accent-text: color-mix(in srgb, var(--accent) 65%, #fff);
}

/* ── Base ────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: var(--scroll-thumb) transparent; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px; line-height: 1.6;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased;
  transition: background .3s var(--ease), color .3s var(--ease);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ── Fundo ambiente: auroras + malha + granulado (do painel) ── */
.ambient { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.ambient::before {
  content: "";
  position: absolute; inset: -25%;
  background:
    radial-gradient(44% 40% at 24% 24%,  color-mix(in srgb, var(--accent-1) var(--glow), transparent) 0%, transparent 72%),
    radial-gradient(40% 36% at 76% 20%,  color-mix(in srgb, var(--accent-2) var(--glow), transparent) 0%, transparent 72%),
    radial-gradient(46% 42% at 70% 74%,  color-mix(in srgb, var(--accent-1) var(--glow-2), transparent) 0%, transparent 74%),
    radial-gradient(38% 34% at 24% 70%,  color-mix(in srgb, var(--accent-2) var(--glow-2), transparent) 0%, transparent 74%);
  filter: blur(40px) saturate(1.15);
  animation: auroraDrift 38s ease-in-out infinite alternate;
  will-change: transform;
  opacity: .8;
}
.ambient::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--mesh) 1px, transparent 1px),
    linear-gradient(to bottom, var(--mesh) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(78% 62% at 50% -4%, #000 0%, transparent 76%);
  mask-image: radial-gradient(78% 62% at 50% -4%, #000 0%, transparent 76%);
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2.5%, 2%, 0) scale(1.07); }
  100% { transform: translate3d(2%, -1.5%, 0) scale(1.03); }
}

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ── Botões (do painel, um degrau maior) ─────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink);
  font: 600 14px var(--font);
  padding: 0 18px; height: 44px;
  border-radius: 11px; cursor: pointer;
  transition: background .15s, border-color .15s, translate .1s, box-shadow .15s, filter .15s;
  white-space: nowrap; text-decoration: none;
}
.btn:hover { background: var(--surface-2); }
.btn:active { translate: 0 1px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.btn-accent {
  background: var(--accent-grad); color: var(--accent-ink); border: 0;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--accent) 35%, transparent),
              0 10px 30px -10px color-mix(in srgb, var(--accent) 55%, transparent);
}
.btn-accent:hover { background: var(--accent-grad); filter: brightness(1.08); }
.btn-glass {
  background: var(--glass); border-color: var(--line);
  backdrop-filter: blur(16px) saturate(1.35); -webkit-backdrop-filter: blur(16px) saturate(1.35);
}
.btn svg { flex: 0 0 auto; }

.icon-btn {
  width: 38px; height: 38px; border-radius: 10px;
  display: inline-grid; place-items: center;
  border: 0; background: none; color: var(--ink-2); cursor: pointer;
  transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }

/* ── Topbar ──────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: var(--glass-strong);
  backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-bottom-color: var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { filter: drop-shadow(0 2px 8px color-mix(in srgb, var(--accent) 45%, transparent)); }
.brand-text { line-height: 1.15; }
.brand-text strong { font-size: 17px; letter-spacing: -.02em; display: block; }
.brand-text span { font-size: 10.5px; color: var(--ink-3); }
.nav { display: flex; gap: 2px; margin-left: 18px; }
.nav a {
  text-decoration: none; color: var(--ink-2);
  font-size: 13.5px; font-weight: 500;
  padding: 7px 12px; border-radius: 9px;
  transition: background .15s, color .15s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.topbar-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.topbar-tools .btn { margin-left: 8px; }
.menu-btn { display: none; }

/* Tema: sol no escuro, lua no claro */
:root[data-theme="dark"] .ic-moon, :root:not([data-theme="dark"]) .ic-sun { display: none; }

/* Popover de paleta */
.palette-wrap { position: relative; }
.palette-pop {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--glass-strong);
  backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-2), var(--glass-ring);
  padding: 12px; width: 220px;
  animation: popIn .22s var(--spring);
}
@keyframes popIn { from { opacity: 0; translate: 0 -6px; scale: .97; } }
.palette-pop p { margin: 0 0 9px; font-size: 11px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.swatch {
  border: 1px solid var(--line); background: var(--surface); border-radius: 10px;
  padding: 7px 4px 6px; cursor: pointer; color: var(--ink-2);
  font: 500 11px var(--font); display: grid; justify-items: center; gap: 5px;
  transition: border-color .15s, background .15s;
}
.swatch i { width: 26px; height: 26px; border-radius: 8px; display: block; }
.swatch:hover { background: var(--surface-2); }
.swatch[aria-pressed="true"] { border-color: var(--accent); color: var(--ink); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero { padding: clamp(48px, 8vw, 96px) 0 40px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 6px; border-radius: 99px;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  text-decoration: none;
}
.eyebrow b {
  background: var(--accent-grad); color: #fff; font-size: 10.5px;
  padding: 2px 8px; border-radius: 99px; letter-spacing: .04em;
}
.hero h1 {
  margin: 22px auto 18px; max-width: 900px;
  font-size: clamp(36px, 6.4vw, 72px);
  line-height: 1.04; letter-spacing: -.045em; font-weight: 800;
  text-wrap: balance;
}
.grad-text {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lead {
  margin: 0 auto; max-width: 640px;
  font-size: clamp(16px, 1.8vw, 18.5px); line-height: 1.6; color: var(--ink-2);
  text-wrap: pretty;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-cta .btn { height: 50px; padding: 0 22px; font-size: 15px; border-radius: 13px; }
.hero-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { color: var(--ok); }

/* ── Mock do painel ──────────────────────────────────────────── */
.showcase { position: relative; margin-top: clamp(44px, 7vw, 72px); perspective: 1800px; }
.showcase::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 12%; bottom: -4%;
  background: var(--accent-grad); filter: blur(80px); opacity: .28; z-index: -1; border-radius: 50%;
}
.app {
  text-align: left;
  display: grid; grid-template-columns: 210px minmax(0, 1fr);
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-2), var(--glass-ring);
  overflow: hidden;
  transform: rotateX(8deg) scale(.98);
  transform-origin: 50% 0;
  transition: transform 1s var(--ease);
  font-size: 12px;
  user-select: none;
}
.showcase.in .app { transform: rotateX(0) scale(1); }
.app-side { border-right: 1px solid var(--line); background: var(--glass-strong); padding: 14px 10px; }
.app-brand { display: flex; align-items: center; gap: 8px; padding: 2px 6px 14px; }
.app-brand strong { font-size: 13px; letter-spacing: -.02em; display: block; line-height: 1.1; }
.app-brand span { font-size: 9px; color: var(--ink-3); }
.app-search {
  display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; margin-bottom: 10px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 7px; color: var(--ink-3); font-size: 11px;
}
.app-search kbd { margin-left: auto; font: 600 8.5px var(--font); border: 1px solid var(--line-strong); border-radius: 4px; padding: 1px 4px; }
.app-group { font-size: 9px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; padding: 10px 8px 4px; }
.app-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; color: var(--ink-2); font-weight: 500; }
.app-item.on { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }
.app-item .pill { margin-left: auto; font-size: 8.5px; font-weight: 700; padding: 1px 6px; border-radius: 99px; background: var(--accent-grad); color: #fff; }
.app-main { min-width: 0; }
.app-top { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.crumbs { color: var(--ink-3); font-size: 11.5px; }
.crumbs b { color: var(--ink); font-weight: 600; }
.app-top .sp { flex: 1; }
.chip-apply {
  display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 99px; background: var(--warn-soft); color: var(--warn);
}
.chip-apply::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 10px; }
.app-body { padding: 16px; display: grid; gap: 12px; }
.app-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.app-h .t { display: block; font-weight: 700; margin: 0; font-size: 16px; letter-spacing: -.02em; }
.app-h .s { display: block; margin: 1px 0 0; color: var(--ink-3); font-size: 11px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: var(--ok); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 100% { box-shadow: 0 0 0 8px transparent; } }
@keyframes pulse { 50% { opacity: .35; } }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mcard {
  background: var(--glass); border: 1px solid var(--line); border-radius: 13px;
  box-shadow: var(--shadow-1), var(--glass-ring);
}
.kpi { padding: 12px 13px; position: relative; overflow: hidden; }
.kpi-l { font-size: 10px; font-weight: 600; color: var(--ink-3); }
.kpi-v { font-size: 22px; font-weight: 700; letter-spacing: -.03em; margin-top: 2px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kpi-v small { font-size: 11px; color: var(--ink-3); font-weight: 600; letter-spacing: 0; }
.kpi-d { font-size: 10px; font-weight: 600; color: var(--up-good); }
.kpi-i { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }

.app-row { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 10px; }
.mhead { display: flex; align-items: center; gap: 8px; padding: 11px 13px 0; }
.mhead .t { font-weight: 700; margin: 0; font-size: 12px; }
.mhead .sp { flex: 1; }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 7px; padding: 2px; font-size: 9.5px; font-weight: 600; color: var(--ink-3); }
.seg span { padding: 2px 7px; border-radius: 5px; }
.seg .on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.chart { padding: 6px 8px 8px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .gl { stroke: var(--line); stroke-dasharray: 2 4; }
.chart .ax { fill: var(--ink-3); font-size: 8px; font-family: var(--font); }
.chart .ln { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.showcase.in .chart .ln { stroke-dashoffset: 0; }

.calls { list-style: none; margin: 0; padding: 8px 8px 10px; display: grid; gap: 2px; }
.calls li { display: flex; align-items: center; gap: 8px; padding: 6px 6px; border-radius: 8px; font-size: 11px; }
.calls li:hover { background: var(--surface-2); }
.calls .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: 0 0 auto; }
.calls .dot.ring { background: var(--warn); animation: pulse 1s infinite; }
.calls .dot.ai { background: var(--accent); }
.calls b { font-weight: 600; white-space: nowrap; }
.calls .sub { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.calls .sub::before { content: "· "; }
.calls time { margin-left: auto; font-family: var(--mono); color: var(--ink-3); font-size: 10px; font-variant-numeric: tabular-nums; }

/* Softphone flutuante */
.softphone {
  position: absolute; right: -22px; bottom: -34px; width: 238px;
  background: var(--glass-strong);
  backdrop-filter: blur(26px) saturate(1.5); -webkit-backdrop-filter: blur(26px) saturate(1.5);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-2), var(--glass-ring);
  padding: 14px; text-align: left; font-size: 12px;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 50% { translate: 0 -8px; } }
.sp-top { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: var(--ink-3); font-weight: 600; }
.sp-top .tagx { color: var(--ok); display: inline-flex; gap: 5px; align-items: center; }
.sp-top .tagx::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sp-who { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.sp-ava { width: 40px; height: 40px; border-radius: 13px; background: var(--accent-grad); display: grid; place-items: center; color: #fff; position: relative; }
.sp-ava::after { content: ""; position: absolute; inset: -5px; border-radius: 16px; border: 2px solid var(--accent); opacity: .5; animation: ripple 1.6s infinite; }
@keyframes ripple { from { transform: scale(.9); opacity: .6; } to { transform: scale(1.25); opacity: 0; } }
.sp-who b { display: block; font-size: 13px; }
.sp-who span { color: var(--ink-3); font-size: 10.5px; }
.sp-wave { display: flex; align-items: center; gap: 3px; height: 26px; margin-bottom: 12px; }
.sp-wave i { flex: 1; border-radius: 2px; background: var(--accent-grad); animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 18%; } 50% { height: 100%; } }
.sp-acts { display: flex; gap: 8px; }
.sp-acts span { flex: 1; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.sp-acts .ok { background: var(--ok); }
.sp-acts .no { background: var(--danger); }
.sp-acts .mid { background: var(--surface-3); color: var(--ink-2); }

/* ── Faixa de tecnologias ────────────────────────────────────── */
.techs { padding: 72px 0 8px; text-align: center; }
.techs p { margin: 0 0 18px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .14em; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--glass);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.chip svg { color: var(--accent-text); }

/* ── Seções ──────────────────────────────────────────────────── */
section.block { padding: clamp(72px, 10vw, 120px) 0 0; }
.sec-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-text);
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent-grad); }
.sec-head h2, .split h2 {
  margin: 12px 0 14px;
  font-size: clamp(28px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800;
  text-wrap: balance;
}
.sec-head p, .split .lead-s { margin: 0; color: var(--ink-2); font-size: 16.5px; text-wrap: pretty; }

/* Cards de recurso */
.card {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.35); -webkit-backdrop-filter: blur(16px) saturate(1.35);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1), var(--glass-ring);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), translate .25s var(--ease);
}
.card.lift:hover {
  translate: 0 -4px;
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: var(--shadow-2), var(--glass-ring), 0 10px 30px -12px color-mix(in srgb, var(--accent) 45%, transparent);
}
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 24px; }
.ft-ico {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-text);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  margin-bottom: 16px;
}
.feature h3 { margin: 0 0 6px; font-size: 16.5px; letter-spacing: -.015em; }
.feature p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.feature .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600;
  padding: 2px 9px; border-radius: 20px;
  background: var(--surface-3); color: var(--ink-2);
  white-space: nowrap;
}
.tag.acc { background: var(--accent-soft); color: var(--accent-text); }

/* Bento maior para os destaques */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento .feature { grid-column: span 2; }
.bento .wide { grid-column: span 3; }

/* ── Seções divididas (IA, WhatsApp, operação) ───────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.split.rev > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ci {
  width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto; margin-top: 1px;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text);
}
.checks b { display: block; font-size: 15px; }
.checks span { font-size: 14px; color: var(--ink-2); }

/* Mock: conversa do agente de IA */
.convo { padding: 18px; position: relative; }
.convo-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.convo-head .sp-ava { width: 36px; height: 36px; border-radius: 11px; }
.convo-head .sp-ava::after { display: none; }
.convo-head b { display: block; font-size: 14px; }
.convo-head span { font-size: 12px; color: var(--ink-3); }
.convo-head .live { margin-left: auto; }
.msgs { display: grid; gap: 10px; min-height: 300px; align-content: start; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; transition: opacity .4s var(--ease), translate .4s var(--ease); }
.js .msg:not(.show) { opacity: 0; translate: 0 8px; }
.msg.show { opacity: 1; translate: 0; }
.msg.bot { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-top-left-radius: 4px; }
.msg.user { background: var(--surface-2); border: 1px solid var(--line); justify-self: end; border-top-right-radius: 4px; }
.msg small { display: block; font-size: 10.5px; font-weight: 600; color: var(--ink-3); margin-bottom: 2px; }
.tool {
  justify-self: center; display: inline-flex; align-items: center; gap: 7px;
  font: 500 11.5px var(--mono); color: var(--ink-2);
  padding: 5px 11px; border-radius: 99px; background: var(--surface-2); border: 1px dashed var(--line-strong);
  transition: opacity .4s var(--ease);
}
.js .tool:not(.show) { opacity: 0; }
.tool svg { color: var(--ok); }
.providers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.providers span { font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.providers .tag { font-size: 11px; }

/* Mock: WhatsApp */
.wa { padding: 22px; display: grid; gap: 14px; }
.wa-call { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.wa-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #25d366; color: #fff; flex: 0 0 auto; }
.wa-call b { display: block; font-size: 14px; }
.wa-call span { font-size: 12px; color: var(--ink-3); }
.wa-call .tag { margin-left: auto; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; }
.flow .node { text-align: center; padding: 12px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); font-size: 12px; font-weight: 600; }
.flow .node svg { margin: 0 auto 6px; color: var(--accent-text); }
.flow .arr { color: var(--ink-3); }

/* Mock: publicação com histórico */
.pubs { padding: 8px; }
.pub { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; }
.pub + .pub { border-top: 1px solid var(--line); border-radius: 0; }
.pub .v { font: 600 12px var(--mono); padding: 3px 8px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); }
.pub b { font-size: 13.5px; display: block; }
.pub span { font-size: 12px; color: var(--ink-3); }
.pub .st { margin-left: auto; }
.st-ok { color: var(--ok); background: var(--ok-soft); }
.st-cur { color: var(--accent-text); background: var(--accent-soft); }
.pub .rb { font-size: 12px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line-strong); padding: 4px 10px; border-radius: 8px; }

/* ── Números ─────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 24px; }
.stat b { display: block; font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.stat span { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .09em; }
.stat p { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); }

/* ── Passos ──────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { padding: 26px; position: relative; overflow: hidden; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  display: block; margin-bottom: 10px;
  font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.05em;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { padding: 0; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  padding: 18px 22px; font-weight: 600; font-size: 15.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { margin-left: auto; color: var(--ink-3); transition: transform .25s var(--ease); flex: 0 0 auto; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); font-size: 14.5px; }

/* ── CTA final ───────────────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(44px, 7vw, 76px) clamp(20px, 5vw, 60px);
  border-radius: 28px;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 15% 0%, color-mix(in srgb, var(--accent-1) 30%, transparent), transparent 70%),
    radial-gradient(60% 80% at 85% 100%, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 70%);
}
.cta > h2 { margin: 0 auto 14px; max-width: 760px; font-size: clamp(28px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.cta > p { margin: 0 auto; max-width: 560px; color: var(--ink-2); font-size: 16.5px; }
.cta .hero-cta { margin-top: 28px; }

/* ── Rodapé ──────────────────────────────────────────────────── */
footer { padding: 72px 0 36px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 36px; border-top: 1px solid var(--line); }
.foot p { margin: 14px 0 0; color: var(--ink-3); font-size: 13.5px; max-width: 320px; }
.foot .foot-h { margin: 4px 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot ul a { text-decoration: none; color: var(--ink-2); font-size: 14px; }
.foot ul a:hover { color: var(--ink); }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; font-size: 12.5px; color: var(--ink-3); }

/* ── Revelação ao rolar ──────────────────────────────────────── */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ── Responsivo ──────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .nav.open {
    display: grid; position: absolute; top: 68px; left: var(--gutter); right: var(--gutter); margin: 0;
    background: var(--glass-strong); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: var(--shadow-2);
  }
  .nav.open a { padding: 12px 14px; font-size: 15px; }
  .features, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .feature, .bento .wide { grid-column: span 3; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
  .softphone { right: 10px; }
}
@media (max-width: 860px) {
  .split, .split.rev { grid-template-columns: minmax(0, 1fr); }
  .split.rev > :first-child { order: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .topbar-tools .btn { display: none; }
  .features, .steps, .stats { grid-template-columns: minmax(0, 1fr); }
  .bento .feature, .bento .wide { grid-column: 1 / -1; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-row { grid-template-columns: minmax(0, 1fr); }
  .app-top .chip-apply { display: none; }
  .softphone { position: relative; right: auto; bottom: auto; margin: -20px auto 0; animation: none; }
  .app { transform: none; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow .arr { transform: rotate(90deg); justify-self: center; }
  .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient::before, .marquee-track, .softphone, .sp-wave i, .sp-ava::after { animation: none !important; }
  .reveal, .msg, .tool { transition: none; opacity: 1; translate: 0; }
  .app { transform: none; transition: none; }
  .chart .ln { stroke-dashoffset: 0; transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .card, .app, .softphone, .topbar.scrolled, .palette-pop, .mcard, .btn-glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
}

/* Ícones da biblioteca do painel (stroke 2, viewBox 24) via sprite */
.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* ── Lista de acesso antecipado (campos = components.css do painel) ── */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 56px); text-align: left; align-items: start; }
.signup h2 { margin: 12px 0 14px; font-size: clamp(28px, 3.8vw, 42px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.signup-txt > p { margin: 0; color: var(--ink-2); font-size: 16px; }
.signup .checks { margin-bottom: 0; }
.signup-form, .signup-ok {
  background: var(--glass-strong);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-1), var(--glass-ring);
  padding: clamp(18px, 3vw, 26px);
}
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; min-width: 0; }
fieldset.field { border: 0; padding: 0; }
.field > label, .field legend { font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 0; }
.field legend { margin-bottom: 8px; }
.field .req { color: var(--danger); }
.field input, .field select {
  height: 44px; border-radius: 10px; width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--surface-2); color: var(--ink);
  font: 500 14px var(--font); padding: 0 13px;
  transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23898781' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.field input::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.field.invalid input { border-color: var(--danger); }
.field .err { font-size: 12px; color: var(--danger); display: none; }
.field.invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface-2);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: background .15s, border-color .15s, color .15s;
}
.opt:hover span { color: var(--ink); }
.opt input:checked + span { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent-text); font-weight: 600; }
.opt input:checked + span::before { content: "✓"; font-size: 12px; }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup-btn { width: 100%; height: 48px; margin-top: 6px; font-size: 15px; }
.signup-btn[disabled] { opacity: .65; pointer-events: none; }
.signup-btn.busy .lbl::after { content: "…"; }
.form-msg { margin: 10px 0 0; font-size: 13px; color: var(--danger); min-height: 0; }
.form-msg:empty { display: none; }
.fine { margin: 12px 0 0; font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.fine a { color: var(--ink-2); }
.signup-ok { text-align: center; padding: 48px 26px; animation: popIn .4s var(--spring); align-self: center; }
.signup-ok .ok-ico { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--accent-grad); color: #fff; box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--accent) 60%, transparent); }
.signup-ok h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.02em; }
.signup-ok p { color: var(--ink-2); margin: 0 auto; max-width: 340px; font-size: 14.5px; }
@media (max-width: 860px) { .signup { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

/* Faixa de logos oficiais: marcas pretas (OpenAI, Grok, Ultravox, ElevenLabs, WebRTC) seguem o tema */
.chip.logo { height: 50px; padding: 0 18px 0 14px; gap: 10px; font-size: 14.5px; color: var(--ink); border-radius: 14px; }
.chip.logo svg { color: var(--ink); flex: 0 0 auto; transition: transform .25s var(--spring); }
.chip.logo:hover svg { transform: scale(1.12); }

/* Faixa final do rodapé: direitos à esquerda, desenvolvedor à direita */
.legal { align-items: center; padding-top: 22px; border-top: 1px solid var(--line); }
.legal .dev { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink-3); transition: color .15s; }
.legal .dev b { color: var(--ink-2); font-weight: 600; }
.legal .dev svg { transition: translate .2s var(--ease); }
.legal .dev:hover, .legal .dev:hover b { color: var(--ink); }
.legal .dev:hover svg { translate: 3px 0; }
.marks { margin: 14px 0 0; text-align: center; font-size: 11.5px; color: var(--ink-3); }
@media (max-width: 640px) { .legal { flex-direction: column; text-align: center; gap: 10px; } }
