/* ============================================================
   Golfy Landing Page — golfy.com.br (v2: uma cena por função)

   TEMAS
   -----
   Todas as cores de superfície e texto são variáveis. O escuro é o padrão (:root);
   o claro redefine as variáveis em [data-theme="light"]. O script do <head> põe o
   data-theme antes da primeira pintura (escolha salva ou tema do navegador).
   A cena da Olivia (.ia) é noturna nos dois temas: ela redefine as variáveis localmente.

   MOVIMENTO
   ---------
   Para dois movimentos se somarem no mesmo elemento sem brigar, cada um usa uma
   propriedade diferente:
     · translate  → parallax de profundidade (escrito pelo main.js)
     · transform  → entrada (reveal), hover, tilt 3D
     · scale      → "pop"
   ============================================================ */

:root {
  /* Marca (iguais nos dois temas) */
  --blue: #412FFF;
  --mint: #69FEDE;
  --green: #00FFC6;
  --sky: #5597EF;
  --warm: #FF8A80;
  --white: #FFFFFF;
  --paper: #F3F3F0;
  --ink: #0F141F;

  /* Tema escuro (padrão) */
  --bg: #141414;
  --bg-rgb: 20, 20, 20;
  --card: #181818;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.055);
  --stage-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  --stage-grid: rgba(105, 254, 222, 0.05);
  --chip: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.17);
  --text: #FFFFFF;
  --text-dim: rgba(255, 255, 255, 0.72);
  --text-faint: rgba(255, 255, 255, 0.45);
  --accent: #69FEDE;          /* mint quando é texto */
  --accent-2: #A39BFF;        /* azul quando é texto */
  --warm-ink: #FF8A80;
  --amber: #FFC86B;
  --shadow-lg: 0 26px 70px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.4);
  --veil: rgba(18, 18, 18, 0.72);
  --solid-bg: #FFFFFF;
  --solid-fg: #000000;
  --outline-bg: rgba(20, 20, 20, 0.35);
  --outline-line: rgba(255, 255, 255, 0.3);
  --outline-fg: rgba(255, 255, 255, 0.92);
  --field-bg: rgba(255, 255, 255, 0.12);
  --field-line: rgba(255, 255, 255, 0.08);
  --placeholder: rgba(255, 255, 255, 0.55);
  --tag-bg: rgba(20, 20, 20, 0.55);
  --tag-line: rgba(105, 254, 222, 0.55);
  --glow-mint: rgba(105, 254, 222, 0.35);
  --glow-blue: rgba(65, 47, 255, 0.45);
  --blob-op: 0.5;
  --grain-op: 0.05;
  --hero-line: rgba(105, 254, 222, 0.10);
  --ring-line: rgba(105, 254, 222, 0.4);
  --node-bg: rgba(22, 22, 26, 0.9);
  --node-line: rgba(255, 255, 255, 0.16);
  --core-bg:
    radial-gradient(circle at 35% 28%, rgba(105, 254, 222, 0.28), rgba(105, 254, 222, 0) 45%),
    radial-gradient(circle at 50% 60%, rgba(65, 47, 255, 0.55), rgba(20, 20, 20, 0.95) 75%);
  --disc-tint: rgba(65, 47, 255, 0.55);
  --disc-tint-2: rgba(65, 47, 255, 0.22);
  --particle: 105, 254, 222;        /* lidos pelo main.js para o canvas do hero */
  --particle-link: 85, 151, 239;
  --particle-alpha: 1;             /* intensidade da rede do hero */
  --grad-footer: linear-gradient(270.74deg, rgba(105,254,222,0.15) -15.74%, rgba(85,151,239,0.15) 26.97%, rgba(65,47,255,0.15) 98.18%);

  /* Gradientes da marca */
  --grad-brand: linear-gradient(181.86deg, #69FEDE -29.43%, #412FFF 97.34%);
  --grad-border: linear-gradient(160deg, rgba(105,254,222,0.7), rgba(65,47,255,0.7));
  --grad-line: linear-gradient(90deg, #412FFF, #5597EF 55%, #69FEDE);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath d='M1 7.5 6.2 12.5 17 1.5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --noise: 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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Tipografia */
  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --radius: 20px;
  --radius-btn: 10px;

  /* Curvas */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-pop: cubic-bezier(0.2, 0.9, 0.3, 1.25);

  color-scheme: dark;
}

/* Tema claro: papel quente da marca, cartões brancos, texto tinta. O azul vira o acento
   principal; o mint fica para luz e preenchimento e escurece quando precisa ser texto. */
:root[data-theme="light"] {
  --bg: #F3F3F0;
  --bg-rgb: 243, 243, 240;
  --card: #FFFFFF;
  --surface: #FFFFFF;
  --surface-hover: #FFFFFF;
  --stage-bg: linear-gradient(180deg, #FFFFFF, #FAFAF8);
  --stage-grid: rgba(65, 47, 255, 0.05);
  --chip: rgba(15, 20, 31, 0.05);
  --line: rgba(15, 20, 31, 0.10);
  --line-2: rgba(15, 20, 31, 0.17);
  --text: #0F141F;
  --text-dim: rgba(15, 20, 31, 0.68);
  --text-faint: rgba(15, 20, 31, 0.46);
  --accent: #007A61;
  --accent-2: #412FFF;
  --warm-ink: #B3362A;
  --amber: #9A6400;
  --shadow-lg: 0 26px 70px rgba(15, 20, 31, 0.12);
  --shadow-sm: 0 10px 28px rgba(15, 20, 31, 0.08);
  --veil: rgba(243, 243, 240, 0.82);
  --solid-bg: #0F141F;
  --solid-fg: #FFFFFF;
  --outline-bg: rgba(255, 255, 255, 0.6);
  --outline-line: rgba(15, 20, 31, 0.22);
  --outline-fg: #0F141F;
  --field-bg: #FFFFFF;
  --field-line: rgba(15, 20, 31, 0.14);
  --placeholder: rgba(15, 20, 31, 0.45);
  --tag-bg: rgba(255, 255, 255, 0.75);
  --tag-line: rgba(0, 122, 97, 0.35);
  --glow-mint: rgba(0, 122, 97, 0.16);
  --glow-blue: rgba(65, 47, 255, 0.18);
  --blob-op: 0.3;
  --grain-op: 0.035;
  --hero-line: rgba(65, 47, 255, 0.09);
  --ring-line: rgba(65, 47, 255, 0.35);
  --node-bg: rgba(255, 255, 255, 0.94);
  --node-line: rgba(15, 20, 31, 0.12);
  --core-bg:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 50% 60%, #6D5FFF, #412FFF 62%, #2A1DB8);
  --disc-tint: rgba(65, 47, 255, 0.22);
  --disc-tint-2: rgba(65, 47, 255, 0.08);
  --particle: 65, 47, 255;
  --particle-link: 65, 47, 255;
  --particle-alpha: 0.28;          /* no claro, violeta sobre fundo claro pesa mais: rede bem discreta */
  --grad-footer: linear-gradient(270.74deg, rgba(105,254,222,0.22) -15.74%, rgba(85,151,239,0.12) 26.97%, rgba(65,47,255,0.10) 98.18%);
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* overflow-x só no html: no body ele viraria um contêiner de rolagem e quebraria o position:sticky */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section[id] { scroll-margin-top: 70px; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 120px); position: relative; }
.section + .section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--container), 100% - 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 22%, var(--ring-line) 50%, var(--line) 78%, transparent);
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   MOTION — entrada (reveal), split de texto e stagger
   ============================================================ */
@layer motion {

.js [data-reveal] {
  opacity: 0;
  transition:
    opacity 0.9s var(--ease-out) var(--d, 0ms),
    transform 0.9s var(--ease-out) var(--d, 0ms),
    clip-path 1.1s var(--ease-out) var(--d, 0ms),
    filter 0.9s var(--ease-out) var(--d, 0ms);
}
.js [data-reveal="up"]   { transform: translateY(30px); }
.js [data-reveal="rise"] { transform: translateY(46px) scale(0.965); }
.js [data-reveal="iris"] { clip-path: circle(30% at 50% 50%); transform: scale(1.08); filter: blur(6px); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="iris"].is-in { clip-path: circle(72% at 50% 50%); }

.w__i {
  display: inline-block;
  transform: translateY(115%) rotate(2.5deg);
  opacity: 0;
  transition:
    transform 1.05s var(--ease-out) var(--d, 0ms),
    opacity 0.7s var(--ease-out) var(--d, 0ms);
}
.is-in .w__i, .w.is-in .w__i { transform: none; opacity: 1; }

.js [data-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-soft) var(--sd, 0ms), transform 0.7s var(--ease-soft) var(--sd, 0ms);
}
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

} /* @layer motion */

/* Fica fora do @layer motion de propósito: lá dentro o reset (* { padding: 0; margin: 0 })
   ganhava, e a folga não valia. Janela com folga nos quatro lados: acentos (Ã, É), descendentes (g, p, ç) e o
   avanço lateral do itálico e do espaçamento negativo não são cortados. As margens
   negativas devolvem a folga, então o texto não muda de lugar. Depois da entrada,
   o JS adiciona .split-done e a janela some de vez. */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.18em 0.12em 0.26em;
  margin: -0.18em -0.12em -0.26em;
}
.split-done .w { overflow: visible; }

/* ---------- Grão, progresso, auroras ---------- */
.grain {
  position: fixed;
  inset: -20px;
  z-index: 9998;
  pointer-events: none;
  opacity: var(--grain-op);
  background-image: var(--noise);
  mix-blend-mode: overlay;
  animation: grain-shift 7s steps(6) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-6px, 4px); }
  40%  { transform: translate(5px, -7px); }
  60%  { transform: translate(-4px, -3px); }
  80%  { transform: translate(7px, 5px); }
  100% { transform: translate(0, 0); }
}
.scroll-progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: 2px;
  z-index: 200;
  pointer-events: none;
  background: var(--chip);
}
.scroll-progress i {
  display: block;
  height: 100%;
  background: var(--grad-line);
  box-shadow: 0 0 12px var(--glow-mint);
  transform: scaleX(var(--sp, 0));
  transform-origin: left center;
}
.hero__aurora, .why__aurora, .pricing__aurora {
  position: absolute;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: var(--blob-op);
  will-change: transform;
}
.blob--a     { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: -8%;  top: -12%; background: radial-gradient(circle, rgba(65,47,255,0.75), transparent 68%); animation: drift 22s ease-in-out infinite; }
.blob--b     { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; right: -6%; top: 8%;   background: radial-gradient(circle, rgba(105,254,222,0.5), transparent 68%); animation: drift 27s ease-in-out -6s infinite reverse; }
.blob--c     { width: 52vw; height: 52vw; max-width: 720px; max-height: 720px; left: 24%;  bottom: -30%; background: radial-gradient(circle, rgba(85,151,239,0.45), transparent 70%); animation: drift 31s ease-in-out -12s infinite; }
.blob--why   { width: 44vw; height: 44vw; max-width: 600px; max-height: 600px; left: -12%; top: 20%;  background: radial-gradient(circle, rgba(65,47,255,0.4), transparent 70%); animation: drift 26s ease-in-out infinite; }
.blob--price { width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; left: 50%;  top: 0;    transform: translateX(-50%); background: radial-gradient(circle, rgba(65,47,255,0.35), transparent 68%); animation: drift-x 28s ease-in-out infinite; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(4%, -5%) scale(1.06); }
  66%      { transform: translate(-3%, 4%) scale(0.96); }
}
@keyframes drift-x {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50%      { transform: translateX(-50%) translateY(-4%) scale(1.08); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Tipos ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2 strong { font-weight: 700; }
.h2 em, .hero__title em { font-style: italic; }
.h2--xl { font-size: clamp(36px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.04em; }
.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.h3 strong { font-weight: 700; }
.body-text { color: var(--text-dim); font-size: 16px; line-height: 1.6; }
.body-text strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.eyebrow--mint { color: var(--accent); }
.eyebrow--mint i { animation: pulse-dot-mint 2s ease-out infinite; }
@keyframes pulse-dot-mint {
  0%   { box-shadow: 0 0 0 0 rgba(105,254,222,0.55); }
  100% { box-shadow: 0 0 0 12px rgba(105,254,222,0); }
}

.tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  width: fit-content;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  color: var(--accent);
  background: var(--tag-bg);
  border: 1px solid var(--tag-line);
  border-radius: 6px;
  box-shadow: 0 0 10px var(--glow-mint);
  overflow: hidden;
}
.tag::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(105,254,222,0.35), transparent);
  animation: sweep 5.5s ease-in-out infinite;
}
@keyframes sweep {
  0%, 65%  { left: -60%; }
  85%, 100%{ left: 130%; }
}
.pill-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--accent-2);
  background: color-mix(in srgb, var(--blue) 14%, transparent);
  border: 1px dashed color-mix(in srgb, var(--accent-2) 55%, transparent);
}

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn--solid { background: var(--solid-bg); color: var(--solid-fg); border-color: var(--line); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 0 18px var(--glow-mint); }
.btn--glow { box-shadow: 0 0 0 1.5px rgba(105,254,222,0.75), 0 0 22px rgba(105,254,222,0.35); }
.btn--glow:hover { box-shadow: 0 0 0 1.5px rgba(105,254,222,0.9), 0 0 34px rgba(105,254,222,0.6); }
.btn--outline {
  background: var(--outline-bg);
  color: var(--outline-fg);
  border-color: var(--outline-line);
  backdrop-filter: blur(4px);
}
.btn--outline::after { background: linear-gradient(105deg, transparent 35%, rgba(105,254,222,0.25) 50%, transparent 65%); }
.btn--outline:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn--lg { padding: 13px 28px; font-size: 15px; }
.btn--block { width: 100%; }
.btn__arrow { font-size: 13px; transition: transform 0.3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
[data-magnetic] { transition: transform 0.5s var(--ease-out), box-shadow 0.35s var(--ease-out); }
[data-magnetic].is-pulled { transition: transform 0.12s linear, box-shadow 0.35s var(--ease-out); }

/* Troca de tema: o ícone mostra o tema para o qual o botão leva */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--outline-bg);
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.4s var(--ease-pop), background 0.3s ease;
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(-12deg) scale(1.06); }
.theme-toggle svg { width: 18px; height: 18px; grid-area: 1 / 1; transition: opacity 0.35s ease, transform 0.5s var(--ease-out); }
.theme-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(0.6); }
[data-theme="light"] .theme-toggle__sun { opacity: 1; transform: none; }
[data-theme="light"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(0.6); }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 16px;
  transition: padding 0.4s var(--ease-out);
}
.header__veil {
  position: absolute;
  inset: 0;
  background: var(--veil);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  pointer-events: none;
}
.header.is-scrolled { padding-block: 10px; }
.header.is-scrolled .header__veil { opacity: 1; transform: none; }
.header__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.header__logo { display: flex; align-items: center; justify-self: start; transition: transform 0.4s var(--ease-out); }
.header__logo:hover { transform: scale(1.04); }
.logo-img { height: 34px; width: auto; transition: height 0.4s var(--ease-out); }
.header.is-scrolled .logo-img { height: 29px; }
.logo-img.is-missing { display: none !important; }
.logo-img--on-light { display: none; }
[data-theme="light"] .logo-img--on-dark { display: none; }
[data-theme="light"] .logo-img--on-light { display: block; }
/* sobre a cena noturna, o header claro volta a usar o logo branco */
.header.is-on-night .logo-img--on-dark { display: block; }
.header.is-on-night .logo-img--on-light { display: none; }
.header__nav { display: flex; align-items: center; gap: 30px; }
.header__link {
  position: relative;
  font-size: 14px;
  color: var(--text-dim);
  padding-block: 4px;
  transition: color 0.25s ease;
}
.header__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--grad-line);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s var(--ease-out);
}
.header__link:hover { color: var(--accent); }
.header__link:hover::after,
.header__link.is-current::after { transform: scaleX(1); transform-origin: left center; }
.header__link.is-current { color: var(--text); }
.header__actions { display: flex; align-items: center; justify-self: end; gap: 10px; }
.header__cta-mobile, .header__cta-sm { display: none; }
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.header__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.25s ease;
}
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Header passando pela cena noturna: veste as cores do escuro mesmo no tema claro */
.header.is-on-night { --text: #FFFFFF; --text-dim: rgba(255,255,255,0.78); --accent: #69FEDE; --veil: rgba(10,11,30,0.72); --line: rgba(255,255,255,0.09); --line-2: rgba(255,255,255,0.17); --outline-bg: rgba(20,20,20,0.35); --solid-bg: #FFFFFF; --solid-fg: #000000; color: #FFFFFF; }

/* ---------- Hero ----------
   O JS escreve --hp (0→1) conforme o hero sai da tela e cada camada se afasta numa
   velocidade: campo < disco < texto < sistema orbital. */
.hero {
  --hero-r: max(560px, 63vw);
  --hero-lift: 150px;
  --hp: 0;
  --mx: 0.5;
  --my: 0.5;
  position: relative;
  min-height: min(880px, 100svh);
  display: flex;
  align-items: center;
  overflow-x: clip;
  overflow-y: visible;
  padding: 150px 0 calc(var(--hero-lift) + 40px);
  isolation: isolate;
}
.hero__field {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: calc(1 - var(--hp) * 0.9);
  transform: translateY(calc(var(--hp) * 70px));
}
.hero__field, .hero__aurora {
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.hero__disc {
  position: absolute;
  inset: 0;
  z-index: 0;
  clip-path: circle(var(--hero-r) at 50% calc(100% - var(--hero-lift) - var(--hero-r)));
  background:
    radial-gradient(ellipse 60% 55% at calc(30% + var(--mx) * 12%) calc(10% + var(--my) * 14%), var(--disc-tint), var(--disc-tint-2) 45%, rgba(65,47,255,0) 75%),
    radial-gradient(ellipse 50% 45% at calc(70% + var(--mx) * 8%) calc(40% + var(--my) * 10%), rgba(105,254,222,0.14), rgba(105,254,222,0) 70%),
    linear-gradient(180deg, var(--disc-tint-2), rgba(var(--bg-rgb), 0) 60%, rgba(var(--bg-rgb), 0.5));
  pointer-events: none;
  transform: translateY(calc(var(--hp) * 40px)) scale(calc(1 + var(--hp) * 0.08));
  transform-origin: 50% 30%;
}
.hero__mesh {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: calc(var(--hero-lift) - 20px);
  height: 52%;
  z-index: 0;
  background-image:
    linear-gradient(var(--hero-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-line) 1px, transparent 1px);
  background-size: 72px 72px;
  transform-origin: 50% 100%;
  transform: perspective(700px) rotateX(64deg) translateX(calc((var(--mx) - 0.5) * -80px)) translateY(calc(var(--hp) * 80px));
  -webkit-mask-image: radial-gradient(60% 90% at 50% 100%, #000 20%, transparent 100%);
  mask-image: radial-gradient(60% 90% at 50% 100%, #000 20%, transparent 100%);
  opacity: calc(0.7 - var(--hp) * 0.7);
  pointer-events: none;
  transition: transform 0.6s var(--ease-soft);
}
.hero__ring {
  position: absolute;
  left: 50%;
  bottom: var(--hero-lift);
  width: calc(var(--hero-r) * 2);
  aspect-ratio: 1;
  transform: translateX(-50%) translateY(calc(var(--hp) * 70px)) scale(calc(1 + var(--hp) * 0.05));
  border-radius: 50%;
  border: 1px solid var(--ring-line);
  box-shadow: 0 24px 90px var(--glow-blue), 0 0 40px rgba(105,254,222,0.18);
  pointer-events: none;
  z-index: 1;
}
.hero__ring-arc {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(105,254,222,0) 0deg, rgba(105,254,222,0) 250deg, rgba(105,254,222,0.85) 330deg, rgba(191,255,240,1) 352deg, rgba(105,254,222,0) 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
  mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
  opacity: 0;
  animation: ring-arc-in 2s var(--ease-out) 0.5s forwards, spin 16s linear 0.5s infinite;
}
@keyframes ring-arc-in { from { opacity: 0; } to { opacity: 0.9; } }
.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero__content {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  transform: translateY(calc(var(--hp) * -90px));
  opacity: calc(1 - var(--hp) * 1.05);
  filter: blur(calc(var(--hp) * 5px));
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  /* 3 linhas fixas (Gestão completa / com IA para / sua imobiliária); a fonte acompanha a coluna */
  font-size: min(76px, 11.2cqi);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero__title strong { font-weight: 700; }
.hero__title em { color: var(--accent); }
.hero__subtitle { color: var(--text-dim); max-width: 540px; font-size: 16px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* ---- Sistema orbital ---- */
.hero__stage {
  --os: 1;
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  perspective: 1300px;
  transform: translateY(calc(var(--hp) * -40px)) scale(calc(1 - var(--hp) * 0.18));
  opacity: calc(1 - var(--hp) * 1.25);
  animation: stage-in 1.6s var(--ease-out) 0.3s both;
}
@keyframes stage-in {
  from { opacity: 0; transform: translateY(30px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.orbit { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.orbit__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(124px * var(--os));
  height: calc(124px * var(--os));
  margin: calc(-62px * var(--os));
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--core-bg);
  border: 1px solid rgba(105,254,222,0.45);
  box-shadow: 0 0 70px var(--glow-blue), 0 0 26px rgba(105,254,222,0.35), inset 0 0 34px rgba(105,254,222,0.12);
  transform: translateZ(30px);
  animation: core-breathe 4.5s ease-in-out infinite;
}
@keyframes core-breathe {
  0%, 100% { box-shadow: 0 0 70px var(--glow-blue), 0 0 26px rgba(105,254,222,0.35), inset 0 0 34px rgba(105,254,222,0.12); }
  50%      { box-shadow: 0 0 90px var(--glow-blue), 0 0 40px rgba(105,254,222,0.55), inset 0 0 44px rgba(105,254,222,0.2); }
}
.orbit__core img { width: calc(56px * var(--os)); filter: drop-shadow(0 0 14px rgba(105,254,222,0.7)); }
[data-theme="light"] .orbit__core img { filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.6)); }
.orbit__pulse {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(105,254,222,0.6);
  animation: core-ping 3.2s var(--ease-out) infinite;
  pointer-events: none;
}
.orbit__pulse--2 { animation-delay: 1.6s; }
@keyframes core-ping {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.1); opacity: 0; }
}
.orbit__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--r) * 2px * var(--os));
  height: calc(var(--r) * 2px * var(--os));
  margin: calc(var(--r) * -1px * var(--os));
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--ring-line) 55%, transparent);
  box-shadow: inset 0 0 40px rgba(65,47,255,0.10);
  transform: rotateX(var(--tilt)) rotateZ(var(--rz, 0deg));
  transform-style: preserve-3d;
}
.orbit__ring::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(105,254,222,0) 0deg 300deg, rgba(105,254,222,0.9) 345deg, rgba(105,254,222,0) 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  animation: spin 9s linear infinite;
}
.orbit__ring:nth-child(3)::before { animation-duration: 13s; animation-direction: reverse; }
.orbit__ring:nth-child(4)::before { animation-duration: 18s; }
.orbit__node {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  background: var(--node-bg);
  border: 1px solid var(--node-line);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(12px * var(--os));
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  will-change: transform, opacity;
}
.orbit__node i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(105,254,222,0.9);
  transition: transform 0.3s var(--ease-pop);
}
.orbit__node:hover { border-color: var(--accent); box-shadow: var(--shadow-sm), 0 0 26px var(--glow-mint); }
.orbit__node:hover i { transform: scale(1.5); }
.orbit__node--star {
  padding: 8px 14px 8px 9px;
  font-weight: 700;
  border-color: transparent;
  background: linear-gradient(var(--node-bg), var(--node-bg)) padding-box, var(--grad-border) border-box;
}
.orbit__node--sm { padding: 5px 10px 5px 7px; font-size: calc(11px * var(--os)); color: var(--text-dim); }
.orbit__node--sm i { width: 6px; height: 6px; }
.hero__orb {
  --orb: 22px;
  position: absolute;
  left: 50%;
  bottom: calc(var(--hero-lift) - var(--orb) / 2);
  width: var(--orb);
  height: var(--orb);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #BFFFF0, var(--mint) 35%, var(--sky) 70%, var(--blue));
  box-shadow: 0 0 0 3px rgba(var(--bg-rgb), 0.85), 0 0 18px rgba(105,254,222,0.8), 0 0 40px rgba(85,151,239,0.5);
  transform: translateX(-50%) translateY(calc(var(--hp) * 70px));
  z-index: 3;
  opacity: calc(1 - var(--hp) * 1.4);
}
.hero__orb::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(105,254,222,0.7);
  animation: orb-ping 2.4s var(--ease-out) infinite;
}
@keyframes orb-ping {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ============================================================
   02 · OLIVIA — cena noturna fixa na tela
   ============================================================ */
.ia {
  /* cores próprias: a cena é noite nos dois temas */
  --text: #FFFFFF;
  --text-dim: rgba(238, 240, 255, 0.74);
  --text-faint: rgba(238, 240, 255, 0.45);
  --accent: #69FEDE;
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.18);
  --night: #0A0B1E;
  --day: 0;
  position: relative;
  color: var(--text);
  background:
    radial-gradient(90% 60% at 15% 0%, #1B1660, transparent 70%),
    radial-gradient(70% 50% at 100% 60%, rgba(65,47,255,0.22), transparent 70%),
    var(--night);
  isolation: isolate;
}
/* emendas suaves com as seções vizinhas (importante no tema claro) */
.ia::before, .ia::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  height: 120px;
  z-index: 3;
  pointer-events: none;
}
.ia::before { top: 0; background: linear-gradient(var(--bg-page, var(--bg)), transparent); }
.ia::after  { bottom: 0; background: linear-gradient(transparent, var(--bg-page, var(--bg))); }
.ia { --bg-page: var(--bg); }
:root[data-theme="light"] .ia { --bg-page: #F3F3F0; }
:root:not([data-theme="light"]) .ia { --bg-page: #141414; }
.ia__stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(rgba(255,255,255,0.7) 0.7px, transparent 1px),
    radial-gradient(rgba(105,254,222,0.6) 0.7px, transparent 1px);
  background-size: 90px 90px, 140px 140px;
  background-position: 0 0, 40px 70px;
  opacity: calc(0.5 * (1 - var(--day)));
  pointer-events: none;
}
/* coluna da esquerda: a abertura (título + números) e, depois, a lista de atos.
   Na cena ao vivo as duas ocupam o mesmo lugar e trocam de vez (--intro: 1 → 0). */
.ia__left { position: relative; z-index: 3; display: grid; gap: 40px; }
.ia__intro { display: grid; gap: 20px; align-content: center; }
/* "23h47. Chegou um lead." sempre cabe numa linha: 3 linhas no total */
.ia__intro { container-type: inline-size; }
.ia__intro .h2--xl { font-size: clamp(28px, 9.6cqi, 56px); }
.ia__lead { color: var(--text-dim); font-size: 16px; line-height: 1.6; max-width: 520px; }
.ia__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 6px; }
.ia__stats li { display: grid; gap: 4px; align-content: start; padding-top: 14px; border-top: 1px solid var(--line-2); }
.ia__stats b { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ia.is-live .ia__left { display: block; }
.ia.is-live .ia__intro {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  opacity: var(--intro, 0);
  transform: translateY(calc((1 - var(--intro, 0)) * -48px));
}
.ia.is-live:not(.is-intro) .ia__intro { pointer-events: none; }
.ia.is-live .ia__acts { opacity: calc(1 - var(--intro, 0)); transform: translateY(calc(var(--intro, 0) * 40px)); }
/* tela de abertura do celular: logo da Golfy no centro */
.phone__splash {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 96px;
  bottom: 70px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  text-align: center;
  opacity: var(--intro, 0);
  transform: translateZ(2px);
  pointer-events: none;
}
.phone__splash-logo {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(105,254,222,0.35), transparent 45%), radial-gradient(circle at 50% 60%, #412FFF, #15123F 78%);
  border: 1px solid rgba(105,254,222,0.6);
  box-shadow: 0 0 50px rgba(65,47,255,0.6), 0 0 20px rgba(105,254,222,0.35);
  animation: core-breathe 4.5s ease-in-out infinite;
}
.phone__splash-logo img { width: 48px; filter: drop-shadow(0 0 12px rgba(105,254,222,0.7)); }
.phone__splash b { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; }
.phone__splash small { font: 500 10.5px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.ia:not(.is-live) .phone__splash { display: none; }
.ia__stats li > span { font-size: 13.5px; color: var(--text-dim); line-height: 1.4; }

.ia__track { position: relative; }
.ia__stage { position: relative; display: flex; align-items: center; padding-block: 40px 80px; overflow: hidden; }
.ia.is-live .ia__track { height: 500vh; }
.ia.is-live .ia__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-block: 72px 40px; }
.ia__day {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: var(--day);
  background:
    radial-gradient(80% 70% at 85% 0%, rgba(105,254,222,0.38), transparent 62%),
    radial-gradient(60% 60% at 10% 100%, rgba(85,151,239,0.35), transparent 70%),
    linear-gradient(180deg, #2A2A86, #141842 75%);
  pointer-events: none;
}
.ia__clock {
  position: absolute;
  right: -1vw;
  bottom: -3vh;
  z-index: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(130px, 24vw, 380px);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 240, 255, 0.16);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.ia__clock-t { display: inline-block; transition: opacity 0.35s ease, transform 0.5s var(--ease-out); }
.ia__clock-t.is-flip { opacity: 0; transform: translateY(12%); }
.ia__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  width: min(var(--container), 100% - 48px);
}
.ia__acts { display: grid; gap: 6px; counter-reset: act; }
.ia__acts li {
  counter-increment: act;
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  opacity: 0.42;
  transition: opacity 0.45s var(--ease-out), background 0.45s var(--ease-out), border-color 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.ia__acts li::before {
  content: counter(act, decimal-leading-zero);
  grid-row: 1 / 3;
  font: 500 12px/1.9 var(--font-mono);
  color: var(--text-faint);
}
.ia__acts b { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.015em; }
.ia__acts span { grid-column: 2; font-size: 14px; color: var(--text-dim); max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.5s var(--ease-out), opacity 0.4s ease, margin 0.5s var(--ease-out); }
.ia__acts li.is-done { opacity: 0.66; }
.ia__acts li.is-active {
  opacity: 1;
  background: rgba(255,255,255,0.05);
  border-color: rgba(105,254,222,0.35);
  transform: translateX(6px);
}
.ia__acts li.is-active::before { color: var(--accent); }
.ia__acts li.is-active span { max-height: 80px; opacity: 1; margin-top: 4px; }
.ia:not(.is-live) .ia__acts li { opacity: 1; }
.ia:not(.is-live) .ia__acts span { max-height: none; opacity: 1; margin-top: 4px; }

.ia__visual { position: relative; height: min(640px, calc(100svh - 150px)); min-height: 520px; perspective: 1600px; }
.phone {
  position: absolute;
  left: 4%;
  top: 50%;
  width: clamp(250px, 23vw, 300px);
  height: min(600px, 100%);
  display: flex;
  flex-direction: column;
  padding: 40px 12px 12px;
  border-radius: 40px;
  background: #0D0E19;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: -18px 30px 80px rgba(0,0,0,0.55), 0 0 70px rgba(65,47,255,0.35), inset 0 0 0 6px #07080F;
  /* inclinação: a rolagem gira de 30° a 12° (--phone-ry) e o mouse soma um pouco (--phone-mx/my) */
  transform: translateY(-50%) rotateY(calc(var(--phone-ry, 18deg) + var(--phone-mx, 0deg))) rotateX(calc(4deg + var(--phone-my, 0deg)));
  transform-origin: 40% 50%;
  transform-style: preserve-3d;
  transition: opacity 0.6s var(--ease-out), filter 0.6s var(--ease-out), transform 0.4s var(--ease-soft);
}
/* espessura: 12 fatias atrás da tela; com o giro, aparecem como a lateral de alumínio */
.phone__depth { position: absolute; inset: -1px; border-radius: inherit; transform-style: preserve-3d; pointer-events: none; }
.phone__depth i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(100deg, #5A5F78, #2A2C3B 14%, #16171F 50%, #2A2C3B 86%, #5A5F78);
  transform: translateZ(calc(var(--i) * -1.7px));
}
.phone__depth i:last-child { background: linear-gradient(160deg, #2B2D3D, #101118); box-shadow: -10px 24px 60px rgba(0,0,0,0.5); }
.phone__btn { position: absolute; left: -3px; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #6B7090, #33364A); transform: translateZ(-10px); }
.phone__btn--a { top: 118px; height: 46px; }
.phone__btn--b { top: 174px; height: 72px; }
.phone__time { position: absolute; top: 15px; left: 26px; font: 600 11px var(--font-mono); letter-spacing: 0.02em; color: #EEF0FF; transform: translateZ(1px); }
.phone__island { position: absolute; top: 13px; left: 50%; width: 82px; height: 22px; margin-left: -41px; border-radius: 20px; background: #000; transform: translateZ(1px); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
/* reflexo do vidro */
.phone::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(118deg, rgba(255,255,255,0.12), rgba(255,255,255,0) 32%, rgba(255,255,255,0) 72%, rgba(255,255,255,0.05));
  transform: translateZ(1px);
  pointer-events: none;
}
.phone__bar { opacity: calc(1 - var(--intro, 0)); display: flex; align-items: center; gap: 10px; padding: 10px 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.phone__avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #2B2580, #0F0D2E); border: 1px solid rgba(105,254,222,0.5); flex: none; }
.phone__avatar img { width: 20px; }
.phone__bar b { display: block; font-family: var(--font-display); font-size: 15px; }
.phone__bar small { display: block; font-size: 11.5px; color: var(--accent); }
.chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 8px 2px 4px;
  -webkit-mask-image: linear-gradient(transparent, #000 18%);
  mask-image: linear-gradient(transparent, #000 18%);
}
.msg {
  max-width: 88%;
  max-height: 240px;
  margin-top: 8px;
  padding: 8px 11px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.38;
  transition: max-height 0.5s var(--ease-out), opacity 0.45s ease, transform 0.55s var(--ease-out), margin 0.5s var(--ease-out), padding 0.5s var(--ease-out);
}
.msg time { display: block; margin-top: 3px; text-align: right; font: 400 10px var(--font-mono); opacity: 0.6; }
.msg--in { align-self: flex-start; background: #23243A; border-bottom-left-radius: 5px; }
.msg--out { align-self: flex-end; background: #0F4A40; color: #E6FFF8; border-bottom-right-radius: 5px; }
.msg--audio { display: flex; align-items: center; gap: 8px; }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.wave i { width: 3px; border-radius: 3px; background: rgba(255,255,255,0.8); height: 40%; }
.wave i:nth-child(3n) { height: 85%; }
.wave i:nth-child(3n+1) { height: 55%; }
.wave i:nth-child(4n) { height: 30%; }
.msg--prop { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px; }
.msg--prop img { width: 56px; height: 56px; border-radius: 11px; object-fit: cover; }
.msg--prop b { display: block; font-size: 12.5px; }
.msg--prop small { font-size: 11.5px; opacity: 0.8; }
.msg--file { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.msg--file span { padding: 4px 8px; border-radius: 8px; background: rgba(255,255,255,0.08); font: 400 11px var(--font-mono); }
.msg--file span::before { content: '📎 '; }
.msg--file time { width: 100%; }
.typing { align-self: flex-start; display: flex; gap: 4px; margin: 6px 2px 2px; padding: 10px 12px; border-radius: 14px; background: #23243A; opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.3s ease; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.7); animation: typing 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
.typing.is-on { opacity: 1; transform: none; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.card {
  position: absolute;
  border-radius: 20px;
  background: rgba(16, 17, 44, 0.84);
  border: 1px solid rgba(105, 254, 222, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out), filter 0.6s var(--ease-out);
}
.profile { right: 0; top: 4%; width: min(300px, 48%); padding: 18px 18px 16px; }
.profile header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.profile header span { font: 500 11px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.profile header b { font-family: var(--font-display); font-size: 16px; }
.profile ul { display: grid; gap: 8px; }
.profile li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px; font-size: 13.5px; transition: opacity 0.4s ease, transform 0.5s var(--ease-out); }
.profile li span { font: 400 11px/1.8 var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-faint); }
.profile__need { color: #69FEDE; font-weight: 600; }
.profile__radar { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12.5px; color: var(--accent); transition: opacity 0.4s ease; }
.profile__radar i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(105,254,222,0.6); animation: pulse-dot-mint 1.6s ease-out infinite; }
.visit { right: 6%; bottom: 6%; width: min(290px, 48%); display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; background: #F3F4FF; color: #0F141F; border-color: transparent; }
.visit img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.visit small { display: block; font: 500 10.5px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: #412FFF; }
.visit b { display: block; font-family: var(--font-display); font-size: 15px; }
.visit em { display: block; font-style: normal; font-size: 12px; color: #4A5060; }
.ia[data-step="5"] .visit { box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 3px rgba(105,254,222,0.6), 0 0 40px rgba(105,254,222,0.45); }

.radar { position: absolute; inset: 0; pointer-events: none; transition: opacity 0.6s var(--ease-out); }
.radar__disc {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(380px, 70%);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 24%, rgba(105,254,222,0.22) 24.4% 24.8%, transparent 25.2% 49%, rgba(105,254,222,0.22) 49.4% 49.8%, transparent 50.2% 74%, rgba(105,254,222,0.22) 74.4% 74.8%, transparent 75.2%),
    radial-gradient(circle, rgba(105,254,222,0.10), rgba(10,11,30,0.85) 70%);
  border: 1px solid rgba(105,254,222,0.45);
  box-shadow: 0 0 80px rgba(105,254,222,0.18);
  overflow: hidden;
}
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(105,254,222,0) 0deg 290deg, rgba(105,254,222,0.55) 360deg); animation: spin 2.6s linear infinite; }
.radar__blip { position: absolute; left: 66%; top: 30%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 18px var(--mint); animation: blip 1.3s ease-out infinite; }
.radar__blip--2 { left: 34%; top: 64%; width: 8px; height: 8px; margin: -4px; opacity: 0.6; animation-delay: 0.6s; }
@keyframes blip { 0% { box-shadow: 0 0 0 0 rgba(105,254,222,0.7); } 100% { box-shadow: 0 0 0 22px rgba(105,254,222,0); } }
.toast {
  position: absolute;
  width: min(300px, 62%);
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.toast small { display: block; font: 500 10.5px var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 3px; }
.toast b { font-weight: 500; }
.toast--client { left: 0; bottom: 14%; background: #0F4A40; color: #E6FFF8; }
.toast--client small { color: #69FEDE; }
.toast--broker { right: 0; top: 8%; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; background: #F3F4FF; color: #0F141F; }
.toast--broker img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.toast--broker small { color: #412FFF; }
.ia__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.06); z-index: 3; }
.ia__progress i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--grad-line); box-shadow: 0 0 12px rgba(105,254,222,0.6); }
.ia:not(.is-live) .ia__progress { display: none; }
.ia__cap { display: none; } /* só no celular: frase curta acima do perfil, do lead pronto e do radar */

/* Estados da cena (só quando o JS comanda a rolagem) */
.ia.is-live [data-p]:not(.is-on) { opacity: 0; }
.ia.is-live .msg:not(.is-on) { max-height: 0; margin-top: 0; padding-block: 0; transform: translateY(12px) scale(0.96); }
.ia.is-live .profile li:not(.is-on) { transform: translateX(10px); }
.ia.is-live .card:not(.is-on) { transform: translateY(18px) scale(0.96); }
.ia.is-live .toast:not(.is-on) { transform: translateY(14px); }
.ia.is-live .radar:not(.is-on) .radar__disc { scale: 0.6; }
.radar__disc { transition: scale 0.8s var(--ease-pop); }
.ia.is-live .radar.is-on ~ * { filter: none; }
.ia[data-step="6"] .phone, .ia[data-step="6"] .profile, .ia[data-step="6"] .visit { opacity: 0.18; filter: blur(3px); }
.ia:not(.is-live) .radar { display: none; }
.ia:not(.is-live) .typing { display: none; }

/* ============================================================
   Peças compartilhadas pelas cenas
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.split--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.split--reverse .split__text { order: 2; }
.split__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.split__media { position: relative; min-width: 0; }
.big-stat { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.big-stat b { font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -0.05em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.big-stat > span { font-size: 14px; color: var(--text-dim); max-width: 240px; line-height: 1.4; }
.checks { display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; font-size: 15px; color: var(--text-dim); }
.checks li::before { content: ''; width: 16px; height: 12px; margin-top: 5px; background: var(--accent); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.soon { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--text-dim); }
.soon > span:first-child {
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: color-mix(in srgb, var(--blue) 14%, transparent);
  border: 1px dashed color-mix(in srgb, var(--accent-2) 55%, transparent);
}

/* Palco das cenas: tudo dentro é medido em cqw (escala com a largura do palco) */
.stage {
  position: relative;
  container-type: inline-size;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--stage-bg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--stage-grid) 1px, transparent 1px), linear-gradient(90deg, var(--stage-grid) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 100%);
  mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 100%);
}
.stage [data-at] { transition: opacity 0.55s var(--ease-out), transform 0.65s var(--ease-out), scale 0.6s var(--ease-pop); }
.js .stage.is-playing [data-at]:not(.on) { opacity: 0; transform: translateY(10px); }
.stage__note {
  position: absolute;
  z-index: 6;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
  background: var(--amber);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translate(-50%, -100%) translateY(6px);
  transition: opacity 0.35s ease, transform 0.45s var(--ease-out);
  pointer-events: none;
}
[data-theme="light"] .stage__note { background: #FFD58A; }
.stage__note.is-on { opacity: 1; transform: translate(-50%, -100%); }
/* ponto de luz que viaja entre peças (o JS anima com Web Animations) */
.lead-dot, .ghost {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  pointer-events: none;
  will-change: transform, opacity;
}
.lead-dot {
  width: 14px;
  height: 14px;
  margin: -7px;
  border-radius: 50%;
  background: var(--c, var(--mint));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--mint)) 30%, transparent), 0 0 18px var(--c, var(--mint));
  opacity: 0;
}

/* ============================================================
   03 · CRM e rodízio
   ============================================================ */
/* Composição em três colunas centradas (canais → Olivia → grupos) e o funil embaixo.
   As linhas de fluxo (svg) são desenhadas pelo main.js a partir das posições reais. */
.stage--crm {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.6fr) minmax(0, 1.6fr);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "ch ol gr" "fu fu fu";
  align-items: center;
  gap: 18px 12px;
  padding: 22px;
  aspect-ratio: 1 / 0.94;
}
.stage--crm .flow { z-index: 1; }
.channels { grid-area: ch; position: relative; z-index: 2; display: grid; gap: 14px; justify-items: start; }
.channels li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 7px 13px 7px 10px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.4s var(--ease-pop);
}
.channels li i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.channels li.is-hot { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 20%, transparent), 0 0 22px color-mix(in srgb, var(--c) 40%, transparent); transform: scale(1.05); }
.olivia-node { grid-area: ol; position: relative; z-index: 2; justify-self: center; display: grid; justify-items: center; gap: 8px; text-align: center; }
.olivia-node__orb {
  display: grid;
  place-items: center;
  width: 13cqw;
  height: 13cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(105,254,222,0.35), transparent 45%), radial-gradient(circle at 50% 60%, #412FFF, #15123F 78%);
  border: 1px solid rgba(105,254,222,0.6);
  box-shadow: 0 0 40px var(--glow-blue), 0 0 16px rgba(105,254,222,0.35);
  transition: scale 0.4s var(--ease-pop);
}
.olivia-node__orb img { width: 50%; }
.olivia-node.is-busy .olivia-node__orb { scale: 1.1; box-shadow: 0 0 50px var(--glow-blue), 0 0 26px rgba(105,254,222,0.7); }
.olivia-node small { font: 500 10.5px var(--font-mono); letter-spacing: 0.04em; color: var(--text-faint); white-space: nowrap; }
.olivia-node__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  translate: -50% -100%;
  padding: 4px 10px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
  background: var(--mint);
  opacity: 0;
  scale: 0.6;
  transition: opacity 0.3s ease, scale 0.4s var(--ease-pop);
}
.olivia-node__tag[data-kind="venda"] { background: #B8B2FF; }
.olivia-node__tag.is-on { opacity: 1; scale: 1; }
.groups { grid-area: gr; position: relative; z-index: 2; display: grid; gap: 14px; align-self: stretch; align-content: center; }
.group { position: relative; padding: 14px 14px 8px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color 0.4s ease, box-shadow 0.4s ease; }
.group__name { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; }
.group__pool { padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--text-faint); border: 1px dashed var(--line-2); transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.group.is-pool { border-color: var(--amber); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 18%, transparent); }
.group.is-pool .group__pool { color: var(--ink); background: var(--amber); border-color: var(--amber); }
.group.is-pool .seat img { box-shadow: 0 0 0 2px var(--amber), 0 0 18px color-mix(in srgb, var(--amber) 60%, transparent); }
.wheel { position: relative; height: 26cqw; }
.wheel__orbit { position: absolute; left: 50%; top: 52%; width: 38cqw; height: 11cqw; translate: -50% -50%; border-radius: 50%; border: 1px solid var(--ring-line); }
.seat { position: absolute; left: 50%; top: 52%; width: 9cqw; height: 9cqw; margin: -4.5cqw; will-change: transform; }
.seat img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--card); box-shadow: var(--shadow-sm); transition: box-shadow 0.35s ease; }
.seat em { position: absolute; left: 50%; top: 100%; translate: -50% 4px; font-style: normal; font-size: 11.5px; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity 0.3s ease; }
.seat.is-front img { box-shadow: 0 0 0 2px var(--mint), 0 0 22px var(--glow-mint); }
.seat.is-front em { opacity: 1; }
.seat.is-got img { animation: got 0.6s var(--ease-pop); }
@keyframes got { 50% { scale: 1.18; } }
.seat__timer { position: absolute; inset: -5px; border-radius: 50%; background: conic-gradient(var(--amber) calc(var(--t, 1) * 360deg), transparent 0); -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); }
.funnel { grid-area: fu; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6cqw; }
.funnel div { padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.funnel div:first-child { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.funnel small { display: block; font-size: 11.5px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.funnel b { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.funnel b.bump { animation: bump 0.5s var(--ease-pop); }
@keyframes bump { 50% { scale: 1.25; color: var(--accent); } }
/* celular: canais em linha no topo, Olivia no meio, os dois grupos lado a lado */
@media (max-width: 640px) {
  .stage--crm { aspect-ratio: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "ch" "ol" "gr" "fu"; gap: 18px; padding: 16px; }
  .stage--crm .channels { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .stage--crm .channels li { padding: 5px 10px 5px 8px; font-size: 12px; }
  .stage--crm .olivia-node__orb { width: 16cqw; height: 16cqw; }
  .stage--crm .groups { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stage--crm .group { padding: 10px 8px 6px; }
  .stage--crm .group__name { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 12.5px; }
  .stage--crm .wheel { height: 34cqw; }
  .stage--crm .wheel__orbit { width: 31cqw; height: 12cqw; }
  .stage--crm .seat { width: 11cqw; height: 11cqw; margin: -5.5cqw; }
  .stage--crm .funnel { grid-template-columns: 1fr 1fr; }
  .stage--crm .funnel div:nth-child(n+3) { display: none; }
}

/* ============================================================
   04 · Locação digital
   Um celular para cada parte, com o chat do corretor: link seguro → envio → confirmação.
   O documento sai do celular e vai para a pasta da locação, no meio.
   ============================================================ */
/* título e texto alinhados pelo topo: a leitura começa no mesmo ponto */
.rent__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-bottom: clamp(36px, 5vw, 64px); }
.rent__head > div:first-child { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.rent__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding-top: 4px; }
.stage--rent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "tenant vault owner";
  align-items: center;
  justify-items: center;
  gap: 24px;
  padding: 36px 32px 40px;
}
.flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.flow path { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 5 7; transition: stroke 0.4s ease; }
.flow path.is-live { stroke: var(--accent); animation: dash 0.9s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.chatcard { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; transition: opacity 0.5s var(--ease-out), translate 0.5s var(--ease-out); }
.chatcard--tenant { grid-area: tenant; }
.chatcard--owner { grid-area: owner; }
.chatcard__who { font: 500 11px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
/* celular simples (o da Olivia é o "herói"; este é coadjuvante): mesmas cores nos dois temas */
.mini-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 250px;
  height: 400px;
  padding: 32px 10px 12px;
  border-radius: 34px;
  background: #0D0E19;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: var(--shadow-lg), inset 0 0 0 5px #07080F;
  color: #EEF0FF;
}
.mini-phone::before { content: ''; position: absolute; top: 11px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 12px; background: #000; }
.mini-phone__bar { display: flex; align-items: center; gap: 9px; padding: 6px 6px 10px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mini-phone__bar img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.mini-phone__bar b { display: block; font-family: var(--font-display); font-size: 14px; }
.mini-phone__bar small { display: block; font-size: 11px; color: #69FEDE; }
.mini-phone__chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 10px 2px 2px; overflow: hidden; }
.bubble { max-width: 88%; padding: 8px 11px; border-radius: 15px; font-size: 12.5px; line-height: 1.38; }
.bubble--in { align-self: flex-start; background: #23243A; border-bottom-left-radius: 5px; }
.bubble--out { align-self: flex-end; background: #0F4A40; color: #E6FFF8; border-bottom-right-radius: 5px; }
.bubble__files { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.bubble__files span { padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,0.1); font: 400 10.5px var(--font-mono); }
.linkcard {
  align-self: flex-start;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  width: 88%;
  padding: 9px 10px;
  border-radius: 14px;
  background: #1B1C30;
  border: 1px solid rgba(105,254,222,0.35);
  transition: box-shadow 0.3s ease, scale 0.3s var(--ease-pop), opacity 0.45s var(--ease-out), transform 0.5s var(--ease-out);
}
.linkcard i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #FFFFFF; background: linear-gradient(135deg, #412FFF, #5597EF 60%, #69FEDE); }
.linkcard i svg { width: 17px; height: 17px; }
.linkcard b { display: block; font-size: 12.5px; }
.linkcard small { font-size: 10.5px; color: #69FEDE; }
.linkcard.is-tap { scale: 0.95; box-shadow: 0 0 0 3px rgba(105,254,222,0.35), 0 0 24px rgba(105,254,222,0.45); }
.confirm { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(105,254,222,0.14); color: #69FEDE; font-size: 11.5px; font-weight: 600; }
.confirm svg { width: 13px; height: 13px; }
.mini-phone [data-show] { max-height: 200px; transition: opacity 0.45s var(--ease-out), transform 0.5s var(--ease-out), max-height 0.5s var(--ease-out), padding 0.5s var(--ease-out); }
.stage--rent.is-playing .mini-phone [data-show]:not(.on) { opacity: 0; transform: translateY(10px); max-height: 0; padding-block: 0; border-width: 0; overflow: hidden; }
.vault { grid-area: vault; position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; text-align: center; }
.vault__disc { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.vault__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--accent) 55%, transparent); animation: spin 22s linear infinite; }
.vault__ring--2 { inset: 16px; border-style: solid; border-color: var(--line-2); animation-duration: 14s; animation-direction: reverse; }
.vault__core {
  position: relative;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  background: radial-gradient(circle at 35% 28%, rgba(105,254,222,0.4), transparent 45%), radial-gradient(circle at 50% 60%, #412FFF, #15123F 80%);
  box-shadow: 0 0 40px var(--glow-blue), 0 0 0 1px rgba(105,254,222,0.5);
  transition: box-shadow 0.4s ease, scale 0.4s var(--ease-pop);
}
.vault__core svg { width: 40px; height: 40px; }
.vault__shackle { transition: transform 0.3s var(--ease-pop); transform-origin: 50% 100%; }
.vault.is-open .vault__shackle { transform: translateY(-2.2px); }
.vault.is-pulse .vault__core { scale: 1.08; box-shadow: 0 0 60px var(--glow-blue), 0 0 0 6px var(--glow-mint); }
.vault__label { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.vault__status { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.vault__status li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-faint);
  border: 1px solid var(--line-2);
  transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.vault__status li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; box-sizing: border-box; }
.vault__status li.is-done { color: var(--ink); background: var(--mint); border-color: var(--mint); }
.vault__status li.is-done::before { border: 0; background: currentColor; -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; border-radius: 0; }
.vault__badge { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #FFFFFF; background: var(--blue); opacity: 0; scale: 0.7; transition: opacity 0.3s ease, scale 0.45s var(--ease-pop); }
.vault__badge.is-on { opacity: 1; scale: 1; }
/* o documento que viaja: uma folha só, com cadeado */
.doc-fly {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  width: 40px;
  height: 50px;
  margin: -25px -20px;
  pointer-events: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 12px rgba(105, 254, 222, 0.45));
}
.doc-fly svg { display: block; width: 100%; height: 100%; }
/* celular: tudo numa tela só. Os dois chats ocupam o mesmo lugar e se revezam; a pasta fica embaixo. */
@media (max-width: 760px) {
  .stage--rent { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tenant" "owner" "vault"; gap: 20px; padding: 22px 14px 24px; }
  .stage--rent.is-playing { grid-template-areas: "phones" "vault"; }
  .stage--rent.is-playing .chatcard { grid-area: phones; }
  .stage--rent.is-playing.is-owner .chatcard--tenant { opacity: 0; translate: -24px 0; pointer-events: none; }
  .stage--rent.is-playing:not(.is-owner) .chatcard--owner { opacity: 0; translate: 24px 0; pointer-events: none; }
  .mini-phone { width: min(272px, 80vw); height: 352px; }
  .vault { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 16px; row-gap: 6px; text-align: left; justify-items: start; align-items: center; }
  .vault__disc { grid-row: 1 / 4; width: 104px; height: 104px; }
  .vault__ring--2 { inset: 12px; }
  .vault__core { width: 60px; height: 60px; }
  .vault__core svg { width: 30px; height: 30px; }
  .vault__status { justify-content: flex-start; }
}

/* ============================================================
   05b · Site próprio (SEO e GEO)
   Duas janelas de navegador flutuando; data-front diz qual está na frente.
   Na troca, a de trás pula por cima da da frente (site-to-front) enquanto a da frente
   recua (site-to-back). O z-index vira no alto do pulo, quando uma já passou da outra.
   ============================================================ */
.split--site { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.site__points { display: grid; width: 100%; }
.site__points li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: baseline; padding-block: 14px; border-top: 1px solid var(--line); }
.site__points b { font: 600 12.5px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.site__points span { font-size: 15px; line-height: 1.5; color: var(--text-dim); }
/* --bx/--by: onde fica a tela de trás. --dip: quanto a da frente afunda ao recuar. --jump: altura
   do pulo, alta o bastante para a de trás passar inteira por cima da outra antes de o z-index virar.
   O caminho (lado, profundidade, escala) e a altura (pulo/afundada, no `translate`) são animações
   separadas, então a tela segue avançando enquanto sobe e desce, sem parar no ar. */
.sites { --bx: 8cqw; --by: -14cqw; --dip: 20cqw; --jump: -32cqw; position: relative; aspect-ratio: 1 / 0.72; perspective: 1600px; container-type: inline-size; }
.browser {
  position: absolute;
  left: 0;
  bottom: 4cqw;
  z-index: 2;
  width: 90cqw;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
  transform: translate3d(0, 0, 0) rotateY(8deg) rotateX(2deg) scale(1);
  /* float primeiro e o arco somado por cima: sem suporte a animation-composition, o arco
     ainda vence (perde só a flutuação) e as telas nunca se atravessam */
  animation: site-float 7s ease-in-out infinite, site-to-front 0.8s cubic-bezier(0.45, 0, 0.25, 1) both, site-jump 0.8s both;
  animation-composition: replace, replace, add;
}
.browser[data-site="barbieri"] { animation-delay: -3.5s, 0s, 0s; }
.sites[data-front="zroo"] .browser[data-site="barbieri"],
.sites[data-front="barbieri"] .browser[data-site="zroo"] {
  z-index: 1;
  opacity: 0.55;
  transform: translate3d(var(--bx), var(--by), -120px) rotateY(8deg) rotateX(2deg) scale(0.92);
  animation-name: site-float, site-to-back, site-dip;
}
@keyframes site-float { 50% { translate: 0 -8px; } }
/* caminho: da pose de trás para a da frente (e vice-versa), sem a altura (essa vai no arco);
   o z-index vira no meio, que é o alto do arco */
@keyframes site-to-front {
  0% { z-index: 1; opacity: 0.55; transform: translate3d(var(--bx), 0, -120px) rotateY(8deg) rotateX(2deg) scale(0.92); }
  49.9% { z-index: 1; }
  50% { z-index: 3; }
  100% { z-index: 3; opacity: 1; transform: translate3d(0, 0, 0) rotateY(8deg) rotateX(2deg) scale(1); }
}
@keyframes site-to-back {
  0% { z-index: 2; opacity: 1; transform: translate3d(0, 0, 0) rotateY(8deg) rotateX(2deg) scale(1); }
  49.9% { z-index: 2; }
  50% { z-index: 1; }
  100% { z-index: 1; opacity: 0.55; transform: translate3d(var(--bx), 0, -120px) rotateY(8deg) rotateX(2deg) scale(0.92); }
}
/* altura: a de trás sai da sua altura, pula e cai na frente; a da frente afunda e sobe para trás */
@keyframes site-jump {
  0% { translate: 0 var(--by); animation-timing-function: cubic-bezier(0.3, 0.6, 0.6, 1); }
  50% { translate: 0 var(--jump); animation-timing-function: cubic-bezier(0.4, 0, 0.5, 1); }
  100% { translate: 0 0; }
}
@keyframes site-dip {
  0% { translate: 0 0; animation-timing-function: cubic-bezier(0.3, 0.6, 0.6, 1); }
  50% { translate: 0 var(--dip); animation-timing-function: cubic-bezier(0.4, 0, 0.5, 1); }
  100% { translate: 0 var(--by); }
}
.browser img { display: block; width: 100%; height: auto; background: var(--chip); }
@media (max-width: 960px) {
  .split--site { grid-template-columns: 1fr; }
  /* coluna única: espaço para o pulo não cobrir o texto de cima nem a afundada passar da seção */
  .sites { --jump: -33cqw; margin-block: 12vw 5vw; }
}
@media (max-width: 640px) {
  .sites { --bx: 5cqw; --by: -12cqw; --dip: 22cqw; --jump: -34cqw; aspect-ratio: 1 / 0.74; }
  .browser { width: 94cqw; bottom: 3cqw; border-radius: 12px; }
  .site__points li { grid-template-columns: 84px minmax(0, 1fr); }
}

/* ============================================================
   05 · Imóveis e vitrine
   ============================================================ */
.stage--homes { aspect-ratio: 1 / 1.02; }
.listing {
  position: absolute;
  left: 5cqw;
  top: 5cqw;
  width: 60cqw;
  z-index: 2;
  display: grid;
  gap: 2.2cqw;
  padding: 2.4cqw;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
}
.listing__photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 1cqw; height: 24cqw; }
.listing__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; background: var(--chip); }
.listing__photos img:first-child { grid-row: span 2; }
.stage--homes [data-at="1"]:nth-child(2) { transition-delay: 0.12s; }
.stage--homes [data-at="1"]:nth-child(3) { transition-delay: 0.24s; }
.listing__row { display: grid; gap: 6px; }
.listing__label { font: 500 10.5px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); }
.listing__label em { font-style: normal; color: var(--accent-2); }
.fields { display: flex; flex-wrap: wrap; gap: 5px; }
.fields span { padding: 4px 9px; border-radius: 8px; font-size: 12px; background: var(--chip); }
.fields--custom span { background: color-mix(in srgb, var(--blue) 12%, transparent); border: 1px dashed color-mix(in srgb, var(--accent-2) 45%, transparent); }
.listing__ai { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--chip); }
.listing__ai svg { width: 18px; height: 18px; margin-top: 1px; color: var(--accent); }
.listing__ai small { display: block; font: 500 10.5px var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.typewriter { font-size: 13px; line-height: 1.45; min-height: 3.9em; display: block; }
.typewriter.is-typing::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: caret 0.8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.listing__publish { position: absolute; right: 2.4cqw; top: 2.4cqw; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--mint); box-shadow: var(--shadow-sm); }
.site-mock { position: absolute; left: 30cqw; bottom: 5cqw; width: 46cqw; z-index: 3; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.site-mock__bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); font: 400 11px var(--font-mono); color: var(--text-faint); }
.site-mock__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.site-mock__bar span { margin-left: 6px; }
.site-mock__tabs { display: flex; gap: 14px; padding: 9px 12px 0; font-size: 12px; color: var(--text-dim); }
.site-mock__tabs b { color: var(--text); }
.site-mock__body { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px 12px; }
.site-mock__body img { width: 64px; height: 46px; object-fit: cover; border-radius: 8px; }
.site-mock__body p { font-size: 12.5px; line-height: 1.35; }
.portal-orbit { position: absolute; right: 5cqw; top: 6cqw; display: grid; gap: 2.4cqw; z-index: 1; }
.portal-orbit li { position: relative; }
.portal-orbit img { width: 11cqw; height: 11cqw; border-radius: 26%; object-fit: cover; box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.portal-orbit li::after { content: '✓'; position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--ink); background: var(--mint); box-shadow: var(--shadow-sm); }
.stage--homes .portal-orbit li:nth-child(2) { transition-delay: 0.1s; }
.stage--homes .portal-orbit li:nth-child(3) { transition-delay: 0.2s; }
.stage--homes .portal-orbit li:nth-child(4) { transition-delay: 0.3s; }
.leads-back { position: absolute; left: 5cqw; bottom: 5cqw; z-index: 4; display: inline-flex; align-items: center; gap: 8px; max-width: 24cqw; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--accent); }
.leads-back i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.ghost { width: 70px; height: 46px; margin: -23px -35px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm), 0 0 0 2px var(--mint); }
.ghost img { width: 100%; height: 100%; object-fit: cover; }
/* celular: dois tempos no mesmo espaço. Primeiro a ficha é preenchida; ao publicar, ela sai e
   entram o site, os portais e os leads, centralizados. Nada fica por cima de nada.
   Sem animação (sem data-s), as partes ficam simplesmente empilhadas. */
@media (max-width: 640px) {
  .stage--homes { aspect-ratio: auto; display: flex; flex-direction: column; gap: 16px; padding: 16px; }
  .stage--homes > :is(.listing, .portal-orbit, .site-mock, .leads-back) { position: relative; inset: auto; width: auto; translate: none; }
  .stage--homes .listing { padding: 14px; gap: 12px; box-shadow: var(--shadow-sm); transition: opacity 0.5s var(--ease-out), scale 0.6s var(--ease-out); }
  .stage--homes .listing__photos { height: 132px; }
  .stage--homes .listing__publish { right: 12px; top: 12px; }
  .stage--homes .portal-orbit { display: flex; justify-content: center; gap: 16px; }
  .stage--homes .portal-orbit li { flex: none; }
  .stage--homes .portal-orbit img { width: 54px; height: 54px; aspect-ratio: 1; }
  .stage--homes .site-mock { box-shadow: var(--shadow-sm); }
  .stage--homes .leads-back { justify-content: center; max-width: none; font-size: 13.5px; }
  .stage--homes[data-s] { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr; gap: 22px 0; }
  .stage--homes[data-s] .listing { grid-area: 1 / 1 / -1 / -1; }
  .stage--homes[data-s] .site-mock { grid-area: 2 / 1; margin-inline: 8px; }
  .stage--homes[data-s] .portal-orbit { grid-area: 3 / 1; }
  .stage--homes[data-s] .leads-back { grid-area: 4 / 1; }
  /* a ficha mostra o "Publicado ✓" e sai; só então entram o site e os portais */
  .stage--homes:is([data-s="5"], [data-s="6"]) .listing { opacity: 0; scale: 0.96; pointer-events: none; transition-delay: 0.7s; }
  .stage--homes[data-s] .site-mock.on { transition-delay: 1s; }
  .stage--homes[data-s] .portal-orbit li.on { transition-delay: 1.1s; }
  .stage--homes[data-s] .portal-orbit li.on:nth-child(2) { transition-delay: 1.2s; }
  .stage--homes[data-s] .portal-orbit li.on:nth-child(3) { transition-delay: 1.3s; }
  .stage--homes[data-s] .portal-orbit li.on:nth-child(4) { transition-delay: 1.4s; }
}

.portals-wall { margin-top: clamp(56px, 7vw, 96px); text-align: center; }
.portals-wall__title, .portals-wall__foot { padding-inline: 20px; }
.portals-wall__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 22px; }
.portals-wall__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
/* o padding no fim = 1 gap, para -50% cair exatamente no início da 2ª metade (sem tranco no loop) */
.portals-wall__track { --gap: 14px; display: flex; gap: var(--gap); width: max-content; padding: 10px var(--gap) 10px 0; animation: marquee 48s linear infinite; }
.portals-wall__track li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: border-color 0.3s ease, transform 0.4s var(--ease-out);
}
.portals-wall__track li:hover { border-color: var(--accent); transform: translateY(-3px); }
.portals-wall__track img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.portals-wall__foot { margin-top: 18px; font-size: 14.5px; color: var(--text-dim); }
.portals-wall__foot a { color: var(--accent); font-weight: 600; }
.portals-wall__foot a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .portals-wall__row { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .portals-wall__track { --gap: 8px; }
  .portals-wall__track li { gap: 8px; padding: 6px 12px 6px 6px; border-radius: 12px; font-size: 13px; }
  .portals-wall__track img { width: 30px; height: 30px; border-radius: 8px; }
}

/* ============================================================
   06 · Chaves (canvas 3D)
   ============================================================ */
/* a chave passa por cima do texto e das seções vizinhas: a seção sobe na pilha */
.keys { z-index: 5; }
.keys .split { position: relative; z-index: 1; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.keys__media { position: relative; z-index: 3; display: grid; justify-items: center; }
.keys .split__text { position: relative; z-index: 1; }
.keys__canvas { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; cursor: grab; touch-action: pan-y; }
.keys__canvas:active { cursor: grabbing; }
/* canvas 180% maior que a caixa (ver OVERSCAN no keys3d.js), centralizado e sem capturar
   o mouse: o arraste é tratado na caixa, e o texto embaixo continua selecionável */
.keys__canvas canvas { position: absolute; left: 50%; top: 50%; width: 180% !important; height: 180% !important; translate: -50% -50%; pointer-events: none; }
.keys__canvas::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-blue), transparent 68%);
  filter: blur(30px);
  z-index: -1;
}
.keys__fallback { position: absolute; inset: 18%; color: var(--text-dim); }
.keys__hint { font: 500 11.5px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); opacity: 0; transition: opacity 0.4s ease; }
.keys__hint.is-on { opacity: 1; }
.keyboard { display: grid; gap: 8px; width: 100%; max-width: 480px; }
.keyboard li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.keyboard li b { font-family: var(--font-display); font-weight: 600; }
.keyboard .who { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 13px; text-align: right; }
.keyboard .who::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
.keyboard .who img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.keyboard .who--in::before { background: var(--mint); }
.keyboard .who--ext::before { background: var(--sky); }
.keyboard li.is-flash { border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow-mint); }

/* ============================================================
   07 · Gestão e diretoria
   ============================================================ */
.dash { max-width: 1060px; margin-inline: auto; display: grid; gap: 18px; justify-items: center; perspective: 1800px; }
.dash__roles { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.dash__roles-label { padding: 0 10px 0 12px; font: 500 11px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); }
.dash__roles button { padding: 8px 16px; border-radius: 999px; border: 0; background: transparent; font-size: 14px; font-weight: 500; color: var(--text-dim); cursor: pointer; transition: background 0.35s var(--ease-out), color 0.35s ease; }
.dash__roles button[aria-selected="true"] { background: var(--solid-bg); color: var(--solid-fg); }
.dash__panel {
  --gp: 1;
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-radius: 26px;
  background: var(--stage-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: rotateX(calc(var(--gp) * 14deg)) scale(calc(1 - var(--gp) * 0.06));
  transform-origin: 50% 0;
}
.widget { position: relative; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: opacity 0.45s ease; }
.widget > * { transition: filter 0.45s ease, opacity 0.45s ease; }
.widget__title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 500 11.5px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); }
.widget__note { margin-top: 10px; font-size: 13px; color: var(--text-dim); }
.widget.is-locked > * { filter: blur(7px); opacity: 0.45; }
.widget.is-locked::after {
  content: 'Sem acesso neste nível';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-top: 34px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center calc(50% - 12px) / 24px no-repeat;
}
.widget--kpis { grid-column: span 12; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 12px; background: transparent; border: 0; }
.widget--kpis div { padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.widget--kpis small { display: block; font-size: 12.5px; color: var(--text-faint); }
.widget--kpis b { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.widget--agenda { grid-column: span 8; }
.widget--rank { grid-column: span 4; }
.widget--chart { grid-column: span 6; }
.widget--groups { grid-column: span 6; }
/* agenda de visitas (semana): blocos posicionados pelo main.js */
.agenda__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.agenda__head .widget__title { margin: 0; }
.agenda__who { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 6px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.agenda__who::before { content: ''; width: 8px; height: 8px; margin-left: 4px; border-radius: 50%; background: var(--mint); }
.agenda__who img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.agenda__who:has(img)::before { display: none; }
.agenda { display: grid; grid-template-columns: 38px repeat(6, minmax(0, 1fr)); grid-template-rows: auto 252px; }
.agenda__day { padding: 0 2px 8px; text-align: center; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); }
.agenda__day b { display: grid; place-items: center; width: 28px; height: 28px; margin: 2px auto 2px; border-radius: 50%; font-family: var(--font-display); font-size: 16px; letter-spacing: 0; color: var(--text); }
.agenda__day.is-today b { background: var(--mint); color: var(--ink); }
.agenda__day em { display: block; font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--accent); white-space: nowrap; transition: opacity 0.3s ease; }
.agenda__hours { position: relative; }
.agenda__hours span { position: absolute; right: 6px; translate: 0 -50%; font: 400 10px var(--font-mono); color: var(--text-faint); }
.agenda__col {
  position: relative;
  border-left: 1px solid var(--line);
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% calc(100% / 9);
}
.agenda__col.is-today { background-color: color-mix(in srgb, var(--mint) 6%, transparent); }
.visit-block {
  position: absolute;
  left: calc(var(--lane) * 50% + 2px);
  width: calc(var(--w, 100%) - 4px);
  top: var(--t);
  height: calc(100% / 18 - 2px);
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 4px;
  border-radius: 4px;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--mint) 20%, var(--card));
  font-size: 10px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  color: var(--text);
  transition: opacity 0.35s ease, scale 0.45s var(--ease-pop);
  transition-delay: var(--sd, 0ms);
}
.visit-block b { font-weight: 700; }
.visit-block--org { border-left-color: var(--accent-2); background: color-mix(in srgb, var(--blue) 18%, var(--card)); }
.visit-block--me { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent); }
.visit-block.is-hidden { opacity: 0; scale: 0.6; pointer-events: none; transition-delay: 0ms; }
.agenda__now { position: absolute; left: -4px; right: 0; height: 2px; background: #E5484D; z-index: 2; pointer-events: none; }
.agenda__now::before { content: ''; position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #E5484D; }
.widget--reports { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: auto auto; column-gap: 24px; align-items: center; border-style: dashed; border-color: color-mix(in srgb, var(--accent-2) 45%, transparent); }
.widget--reports .widget__title { grid-column: 1; margin: 0; }
.widget--reports .widget__note { grid-column: 1; }
.widget--reports .modules-grid { grid-column: 2; grid-row: 1 / 3; }
.rank { position: relative; height: calc(4 * 44px); }
.rank li { position: absolute; left: 0; right: 0; top: calc(var(--pos) * 44px); height: 38px; display: grid; grid-template-columns: 32px 64px minmax(0, 1fr) 26px; gap: 10px; align-items: center; font-size: 13.5px; transition: top 0.8s var(--ease-out); }
.rank img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.rank .meter { height: 7px; border-radius: 8px; background: var(--chip); overflow: hidden; }
.rank .meter i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--grad-line); transition: width 0.8s var(--ease-out); }
.rank b { text-align: right; font-variant-numeric: tabular-nums; }
.bars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: end; height: 130px; }
.bars span { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; gap: 6px; }
.bars i { align-self: end; display: block; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--mint), var(--blue)); transition: height 0.9s var(--ease-out); }
.dash:not(.is-in) .bars i { height: 6%; }
.bars em { font-style: normal; font-size: 10.5px; color: var(--text-faint); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.widget--groups ul { display: grid; gap: 10px; }
.widget--groups li { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.widget--groups li:last-child { border: 0; padding-bottom: 0; }
.widget--groups b { font-size: 13.5px; }
.widget--groups span { font-size: 12px; color: var(--text-dim); }
.modules-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 34px; gap: 8px; }
.modules-grid i { border-radius: 10px; border: 1.5px dashed color-mix(in srgb, var(--accent-2) 50%, transparent); background: color-mix(in srgb, var(--blue) 8%, transparent); animation: mod 6s var(--ease-out) infinite; }
.modules-grid i:nth-child(1) { grid-column: span 2; }
.modules-grid i:nth-child(2) { animation-delay: 0.4s; }
.modules-grid i:nth-child(3) { animation-delay: 0.8s; grid-row: span 2; }
.modules-grid i:nth-child(4) { animation-delay: 1.2s; grid-column: span 2; }
.modules-grid i:nth-child(5) { animation-delay: 1.6s; }
@keyframes mod { 0%, 12% { opacity: 0; transform: translateY(-14px) scale(0.92); } 24%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.dash__caption { font-size: 14px; color: var(--text-dim); min-height: 1.5em; transition: opacity 0.3s ease; }

/* ============================================================
   08 · Tudo em um (comparativo)
   ============================================================ */
.compare .section-head .h2 { max-width: 860px; }
.vs { max-width: 1040px; margin-inline: auto; }
.vs__table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.vs__table th, .vs__table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.vs__table tbody th { text-align: left; font-weight: 500; color: var(--text); }
.vs__table thead th { padding-block: 18px; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--text-dim); vertical-align: bottom; line-height: 1.25; }
.vs__table thead th:first-child { width: 40%; }
.vs__table td.vs__golfy, .vs__table th.vs__golfy { position: relative; background: color-mix(in srgb, var(--mint) 7%, transparent); border-left: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-right: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.vs__table thead th.vs__golfy { color: var(--text); font-size: 17px; border-top: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 18px 18px 0 0; box-shadow: 0 -18px 40px -20px var(--glow-mint); }
.vs__table thead th.vs__golfy img { margin: 0 auto 6px; }
.vs__table tbody tr:last-child td.vs__golfy { border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 0 0 18px 18px; }
.vs__group th { padding: 22px 14px 8px !important; font: 500 11.5px var(--font-mono) !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint) !important; text-align: left !important; border-bottom-color: transparent !important; background: transparent !important; }
.vs__group th { border-left: 0 !important; border-right: 0 !important; }
.vs__table i { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
.vs__table i.y, .vs__legend i.y { position: relative; background: var(--accent); }
.vs__table i.y::after, .vs__legend i.y::after { content: ''; position: absolute; inset: 0; background: var(--bg); -webkit-mask: var(--check) center / 11px no-repeat; mask: var(--check) center / 11px no-repeat; }
.vs__table td:not(.vs__golfy) i.y { background: var(--text-faint); }
.vs__table i.p, .vs__legend i.p { background: linear-gradient(90deg, var(--amber) 50%, transparent 50%); box-shadow: inset 0 0 0 2px var(--amber); }
.vs__table i.n, .vs__legend i.n { width: 14px; height: 2px; border-radius: 2px; background: var(--text-faint); opacity: 0.6; }
.vs__soon th { color: var(--text-dim) !important; }
.vs__soon th, .vs__soon td { border-top: 1px dashed var(--line-2); }
.vs__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 22px; font-size: 13px; color: var(--text-dim); }
.vs__legend span { display: inline-flex; align-items: center; gap: 8px; }
.vs__legend i { display: inline-block; width: 16px; height: 16px; border-radius: 50%; position: relative; }
.vs__legend i.n { width: 12px; height: 2px; }
.vs__legend-note { width: 100%; justify-content: center; font-size: 12px; color: var(--text-faint); }
.vs__short { display: none; }
.vs__foot { margin-top: 30px; text-align: center; font-size: 16px; color: var(--text-dim); }
.vs__foot strong { color: var(--text); }
/* entrada: a coluna da Golfy acende de cima para baixo */
.js .vs .vs__golfy i, .js .vs .vs__golfy .pill-soon { scale: 0; transition: scale 0.5s var(--ease-pop) var(--rd, 0ms); }
.js .vs.is-in .vs__golfy i, .js .vs.is-in .vs__golfy .pill-soon { scale: 1; }
.js .vs td:not(.vs__golfy) i { opacity: 0; transition: opacity 0.6s ease var(--rd, 0ms); }
.js .vs.is-in td:not(.vs__golfy) i { opacity: 1; }
.vs__table i.n { opacity: 0.6; }
.js .vs.is-in td:not(.vs__golfy) i.n { opacity: 0.6; }
.vs__sweep { position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--mint) 22%, transparent), transparent); pointer-events: none; opacity: 0; }

/* ============================================================
   09 · Quem está por trás
   ============================================================ */
.why { overflow: clip; }
.why__media {
  position: absolute;
  top: -40px;
  right: -6%;
  width: min(720px, 60vw);
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: 0;
}
.why__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 30%; border-radius: 50%; filter: brightness(0.55) saturate(0.9); }
[data-theme="light"] .why__media img { filter: brightness(1) saturate(0.95); }
.why__media::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 90px 40px var(--bg); }
.why__media-ring { position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed var(--ring-line); animation: spin 60s linear infinite; pointer-events: none; }
.why__inner { position: relative; z-index: 1; min-height: 480px; display: flex; align-items: center; }
.why__text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 520px; }

/* ============================================================
   10 · Planos
   ============================================================ */
.section-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}
.section-head .h2 { max-width: 760px; }
.section-head__lead { max-width: 600px; }
.pricing__cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: end; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 32px 28px 34px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad-border) border-box;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.price-card:hover { transform: translateY(-8px); box-shadow: 0 18px 50px var(--glow-blue); }
.price-card__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.14) 50%, transparent 58%); transform: translateX(-130%); pointer-events: none; }
.price-card.is-in .price-card__shine { transition: transform 1.5s var(--ease-out) calc(var(--d, 0ms) + 400ms); transform: translateX(130%); }
.price-card--featured { color: #FFFFFF; background: var(--grad-brand) border-box; box-shadow: 0 12px 44px rgba(65,47,255,0.45); }
.price-card--featured.is-in { animation: float-card 7s ease-in-out 1.2s infinite; }
.price-card--featured.is-in:hover { animation-play-state: paused; }
@keyframes float-card { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.price-card__flag {
  position: absolute;
  top: 28px;
  right: -50px;
  z-index: 2;
  width: 180px;
  padding: 6px 0;
  text-align: center;
  transform: rotate(45deg);
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #04121b;
  background: linear-gradient(90deg, var(--mint), #B6FFF0);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.price-card__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.price-card__price { display: flex; align-items: baseline; gap: 6px; }
.price-card__value { font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 1.05; letter-spacing: -0.05em; }
.price-card .btn--block { border-radius: 8px; font-size: 13.5px; }
.price-card--featured .btn--solid { background: #FFFFFF; color: #000000; }
.price-card__caption { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: -8px; }
.price-card__features { display: flex; flex-direction: column; gap: 14px; }
.price-card__features li { display: flex; align-items: flex-start; gap: 14px; font-size: 13.5px; line-height: 1.35; }
.price-card__features li::before { content: ''; flex: none; width: 16px; height: 12px; margin-top: 3px; background: var(--accent); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.price-card--featured .price-card__caption, .price-card--featured .price-card__features li { color: var(--paper); }
.price-card--featured .price-card__features li::before { background: #C9FFF3; }

/* ============================================================
   11 · FAQ
   ============================================================ */
.faq__inner { max-width: 780px; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  padding: 0 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.4s var(--ease-out), opacity 0.9s var(--ease-out) var(--d, 0ms), transform 0.9s var(--ease-out) var(--d, 0ms);
}
.faq__item:hover { background: var(--surface-hover); border-color: var(--line-2); }
.faq__item[open] { border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: var(--shadow-sm), 0 0 22px var(--glow-mint); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: 16.5px; transition: color 0.25s ease; }
.faq__item[open] summary { color: var(--accent); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ''; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform 0.4s var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 0 20px; color: var(--text-dim); font-size: 15px; max-width: 660px; }

/* ============================================================
   12 · Contato
   ============================================================ */
.contact { overflow: clip; }
.contact__ring { position: absolute; inset: 0; background: radial-gradient(55% 70% at 50% 46%, var(--glow-blue) 0%, transparent 100%); opacity: 0.5; pointer-events: none; animation: breathe-soft 8s ease-in-out infinite; }
@keyframes breathe-soft { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.6; } }
.contact__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%);
}
.contact__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 540px; text-align: center; }
.contact__form { display: flex; flex-direction: column; gap: 12px; width: 100%; margin-top: 22px; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact__form :is(input, textarea, select) {
  width: 100%;
  padding: 12px 14px;
  background: var(--field-bg);
  border: 1px solid var(--field-line);
  border-radius: 9px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out);
  resize: vertical;
}
.contact__form input::placeholder, .contact__form textarea::placeholder { color: var(--placeholder); }
/* select com a mesma cara dos campos; vazio, mostra a pergunta na cor do placeholder */
.contact__form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 16px;
  cursor: pointer;
}
.contact__form select:invalid { color: var(--placeholder); }
.contact__form select option { color: #0F141F; background: #FFFFFF; }
.contact__form :is(input, textarea, select):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow-mint); transform: translateY(-2px); }
.contact__form :is(input, select).is-invalid { border-color: #ff6b6b; animation: shake 0.4s ease; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.contact__captcha { min-height: 78px; }
.contact__captcha[hidden] { display: none; }
.contact__submit { margin-top: 6px; border-radius: 9px; padding-block: 13px; }
.contact__submit:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }
.contact__status { min-height: 1.3em; font-size: 13.5px; }
.contact__status.is-ok { color: var(--accent); }
.contact__status.is-error { color: var(--warm-ink); }
.contact__status.is-sending { color: var(--text-dim); }
.contact__status a { text-decoration: underline; }
.contact__hint { font-size: 12px; color: var(--text-faint); }
.botcheck { display: none !important; }

/* ============================================================
   Footer
   ============================================================ */
.footer { position: relative; background: var(--grad-footer); }
.footer__line { position: absolute; top: 0; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(105,254,222,0.5), rgba(65,47,255,0.5), transparent); background-size: 50% 100%; animation: line-run 6s linear infinite; }
@keyframes line-run { from { background-position: -100% 0; } to { background-position: 200% 0; } }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 6vw, 76px) 32px; }
.logo-img--footer { height: 44px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer__tagline { margin-top: 14px; max-width: 280px; font-size: 13.5px; color: var(--text-dim); }
.footer__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-dim); }
.footer__nav a, .footer__contact a { width: fit-content; transition: color 0.25s ease, transform 0.35s var(--ease-out); }
.footer__nav a:hover, .footer__contact a:hover { color: var(--accent); transform: translateX(4px); }
.footer__social { display: flex; gap: 14px; margin-top: 10px; }
.footer__social a { color: var(--text-dim); transition: color 0.25s ease, transform 0.4s var(--ease-pop); }
.footer__social a:hover { color: var(--accent); transform: translateY(-3px) scale(1.12); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-faint); }

/* ============================================================
   Movimento reduzido
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
  .js [data-reveal="iris"] { clip-path: circle(72% at 50% 50%) !important; }
  .w__i { transform: none !important; opacity: 1 !important; }
  .grain { display: none; }
  .hero__disc, .hero__field, .hero__mesh, .hero__content, .hero__stage, .hero__orb { transform: none !important; opacity: 1 !important; filter: none !important; }
  .hero__mesh { transform: perspective(700px) rotateX(64deg) !important; opacity: 0.5 !important; }
  .hero__ring { transform: translateX(-50%) !important; }
  .hero__orb { transform: translateX(-50%) !important; }
  .portals-wall__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-inline: 0; }
  .dash__panel { transform: none !important; }
  .js .vs .vs__golfy i, .js .vs td i { scale: 1 !important; opacity: 1 !important; }
}

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1100px) {
  .widget--agenda { grid-column: span 12; }
  .widget--rank { grid-column: span 6; }
  .widget--chart { grid-column: span 6; }
  .widget--groups { grid-column: span 12; }
  .widget--groups ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .widget--groups li { border: 0; padding: 0; }
}

@media (max-width: 960px) {
  .hero { padding-top: 130px; }
  .hero__layout { grid-template-columns: 1fr; gap: 28px; }
  .hero__stage { width: min(380px, 84vw); margin-top: 8px; }
  .hero__mesh { height: 40%; }
  .split, .split--reverse, .keys .split { grid-template-columns: 1fr; }
  .split--reverse .split__text { order: 0; }
  .rent__head { grid-template-columns: 1fr; align-items: start; }
  .why__media { display: none; }
  .why__inner { min-height: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  [data-parallax] { translate: none !important; }
  .pricing__cards { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; align-items: stretch; }
  .price-card--featured.is-in { animation: none; }
}

/* Celular e tablet: efeitos caros saem ou ficam leves. Grão em tela cheia, desfoque animado,
   vidro fosco (backdrop-filter) e camadas 3D demais travavam a rolagem e faziam a tela "piscar". */
@media (max-width: 900px) {
  .grain, .blob, .hero__mesh { display: none; }
  .hero__content { filter: none; }
  .hero__ring { box-shadow: 0 0 36px var(--glow-blue); }
  .orbit__ring::before { animation: none; }
  .header__veil { backdrop-filter: none; -webkit-backdrop-filter: none; background: color-mix(in srgb, var(--bg) 95%, transparent); }
  .header.is-on-night { --veil: rgba(10, 11, 30, 0.95); }
  .header.is-on-night .header__veil { background: var(--veil); }
  .btn--outline { backdrop-filter: none; }
  .card:not(.visit) { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(16, 17, 44, 0.97); }
  .phone__depth i:nth-child(n+5) { display: none; }
  .phone__depth i { transform: translateZ(calc(var(--i) * -3.4px)); }
  .phone::after { display: none; }
}

@media (max-width: 900px) {
  .header__inner { grid-template-columns: 1fr auto; }
  .header__nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: color-mix(in srgb, var(--bg) 97%, transparent);
    backdrop-filter: blur(14px);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
  }
  .header__nav.is-open { transform: none; }
  .header__nav a { opacity: 0; transform: translateY(14px); transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
  .header__nav.is-open a { opacity: 1; transform: none; }
  .header__nav.is-open a:nth-child(1) { transition-delay: 0.08s; }
  .header__nav.is-open a:nth-child(2) { transition-delay: 0.14s; }
  .header__nav.is-open a:nth-child(3) { transition-delay: 0.20s; }
  .header__nav.is-open a:nth-child(4) { transition-delay: 0.26s; }
  .header__nav.is-open a:nth-child(5) { transition-delay: 0.32s; }
  .header__nav.is-open a:nth-child(6) { transition-delay: 0.38s; }
  .header__link { font-size: 19px; color: var(--text); }
  .header__link::after { display: none; }
  .header__cta-mobile { display: inline-flex; margin-top: 12px; }
  .header__cta { display: none; }
  /* celular: "Demonstração" aparece no header quando o hero sai da tela e fica até o fim */
  .header__cta-sm {
    display: inline-flex;
    padding: 8px 14px;
    font-size: 13px;
    opacity: 0;
    transform: translateY(-8px) scale(0.94);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.45s var(--ease-pop), background 0.25s ease, color 0.25s ease;
  }
  .header.is-past-hero .header__cta-sm { opacity: 1; transform: none; pointer-events: auto; }
  .header__actions { gap: 8px; }
  .header__burger { display: flex; position: relative; z-index: 95; }
  .theme-toggle { position: relative; z-index: 95; }

  /* Olivia no celular: só a cena, sem lista de atos nem barra de progresso (a barra do navegador
     sobe e desce e brigava com elas). A altura é fixa (svh) para nada pular. O perfil, o lead
     pronto e o radar aparecem um de cada vez, cada um com uma frase curta acima. */
  .ia.is-live .ia__stage { padding-block: 64px 20px; align-items: stretch; }
  .ia__grid { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 10px; }
  .ia.is-live .ia__grid { grid-template-rows: minmax(0, 1fr); }
  .ia.is-live .ia__left { display: contents; }
  .ia.is-live .ia__acts { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ia__progress { display: none; }
  .ia.is-live .ia__cap {
    display: block;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 18px);
    translate: -50% 0;
    width: min(330px, 88vw);
    text-align: center;
    font: 600 19px/1.3 var(--font-display);
    letter-spacing: -0.015em;
    color: #FFFFFF;
    text-wrap: balance;
  }
  .ia__cap strong { font-weight: 600; color: #69FEDE; }
  .radar .ia__cap { top: 18px; bottom: auto; }
  .toast--broker { top: 13%; }
  .ia.is-live .ia__intro { top: 0; translate: none; gap: 14px; }
  .ia.is-live .phone { translate: 0 calc(var(--intro, 0) * 64%); }
  .ia__lead { font-size: 15px; }
  .ia__visual { height: auto; min-height: 0; }
  .ia.is-live .ia__visual { height: 100%; }
  .ia:not(.is-live) .ia__visual { height: 640px; }
  .phone { left: 50%; width: min(272px, 68vw); height: min(560px, 100%); transform: translate(-56%, -50%) rotateY(calc(var(--phone-ry, 18deg) * 0.7)) rotateX(3deg); }
  /* foco: o perfil, o lead pronto e o radar aparecem sozinhos no centro, com o celular apagado atrás */
  .ia__clock { display: none; }
  .profile, .visit { left: 50%; right: auto; top: 50%; bottom: auto; translate: -50% -50%; width: min(330px, 88vw); }
  .profile { padding: 16px; }
  .ia.is-live:not([data-focus="profile"]) .profile, .ia.is-live:not([data-focus="visit"]) .visit { opacity: 0 !important; visibility: hidden; transition: opacity 0.35s ease, visibility 0s 0.35s; }
  .ia.is-live:is([data-focus="profile"], [data-focus="visit"], [data-focus="radar"]) .phone { opacity: 0.12; }
  .ia[data-step="6"] :is(.phone, .profile, .visit) { filter: none; }
  .profile li { grid-template-columns: 74px minmax(0, 1fr); font-size: 12.5px; }
  .profile header { flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 10px; }
  .ia__clock { font-size: 34vw; bottom: auto; top: 16%; right: -4vw; }
  .ia__stats { gap: 12px; }
  .toast { width: min(270px, 78%); }
  .radar__disc { width: min(300px, 78%); }
}

@media (max-width: 760px) {
  .container { width: min(var(--container), 100% - 36px); }
  .hero { min-height: 0; padding: 116px 0 64px; }
  /* celular: hero limpo, só a frase e os botões. Planeta, órbitas e rede de partículas saem
     (pesavam na rolagem) e o main.js deixa de animá-los. */
  .hero__stage, .hero__ring, .hero__field, .hero__orb { display: none; }
  .hero__disc { clip-path: none; }
  .ia__stats b { font-size: 24px; }
  .ia__stats li > span { font-size: 11.5px; }
  .contact__row { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; }
  .dash__panel { grid-template-columns: 1fr; padding: 12px; gap: 10px; }
  .widget--kpis, .widget--agenda, .widget--rank, .widget--chart, .widget--groups, .widget--reports { grid-column: auto; }
  .agenda { grid-template-columns: 30px repeat(6, minmax(0, 1fr)); grid-template-rows: auto 216px; }
  .visit-block { font-size: 8.5px; padding: 0 2px; border-left-width: 2px; }
  .visit-block span { display: none; }
  .agenda__day em { font-size: 9px; }
  .agenda__head { flex-wrap: wrap; }
  .widget--kpis { grid-template-columns: 1fr 1fr; padding: 0; gap: 10px; }
  .widget--kpis b { font-size: 24px; }
  .widget--groups ul { grid-template-columns: 1fr; }
  .widget--reports { grid-template-columns: 1fr; row-gap: 12px; }
  .widget--reports .modules-grid { grid-column: 1; grid-row: auto; }
  .dash__roles-label { display: none; }
  .dash__roles button { padding: 8px 13px; font-size: 13.5px; }
  .vs__long { display: none; }
  .vs__short { display: inline; }
  .vs__table { font-size: 13.5px; }
  .vs__table th, .vs__table td { padding: 11px 6px; }
  .vs__table thead th:first-child { width: auto; }
  .vs__table thead th { font-size: 12.5px; }
  .vs__table thead th.vs__golfy { font-size: 14px; }
  .vs__table i { width: 19px; height: 19px; }
  .price-card { padding: 26px 22px 30px; }
  /* palcos no celular: mais altos, para o layout empilhado das cenas */
}
