/* ==========================================================================
   SYNC — site institucional
   Mundo visual: placa de circuito. Campo quase preto, sinal lavanda, traços
   que se desenham no scroll levando pulsos de luz entre as seções.
   Compartilhado por index / orcamento / login.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg:        #08080a;
  --bg-2:      #0e0e11;
  --surface:   #141417;
  --surface-2: #1b1b1f;
  --line:      #242428;
  --line-2:    #34343c;

  --text:   #f6f6f8;
  --text-2: #a8a8b0;
  --muted:  #8a8a94;

  --lav:        #e9e9f0;
  --lav-bright: #ffffff;
  --lav-deep:   #8f8f99;
  --lav-dim:    rgba(255,255,255, .16);
  --lav-line:   rgba(255,255,255, .34);

  --ok:   #4ade80;
  --warn: #f0a32a;
  --bad:  #f0736a;

  --r:    14px;
  --r-lg: 22px;
  --r-sm: 9px;

  --maxw: 1200px;
  --nav-h: 68px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--line-2) var(--bg);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }

::selection { background: var(--lav); color: #0c0c0f; }
:focus-visible { outline: 2px solid var(--lav-bright); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border: 3px solid var(--bg); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--lav-deep); }

/* ---------- Camadas de ambiente ---------- */
#gl {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .85;
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 0%,   rgba(255,255,255,.07), transparent 58%),
    radial-gradient(100% 80% at 50% 100%, rgba(255,255,255,.045), transparent 55%),
    radial-gradient(90% 70% at 50% 45%,   transparent 35%, rgba(4,4,6,.72) 100%);
}
#grain {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: .038;
  mix-blend-mode: overlay;
}
body > *:not(#gl):not(.vignette):not(#grain):not(.scroll-progress):not(.to-top):not(.cursor):not(.nav) { position: relative; z-index: 3; }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  z-index: 60;
  background: linear-gradient(90deg, var(--lav-deep), var(--lav-bright));
  box-shadow: 0 0 12px rgba(255,255,255,.7);
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  z-index: 70;
  pointer-events: none;
  opacity: 0;
  color: var(--lav-bright);
  transition: opacity .3s ease, transform .18s var(--ease-out);
}
.cursor.is-on { opacity: 1; }
.cursor.is-hot { transform: scale(1.45); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Voltar ao topo ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  z-index: 55;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(20,20,23,.82);
  backdrop-filter: blur(10px);
  color: var(--text-2);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .2s, border-color .2s;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--lav-bright); border-color: var(--lav-line); }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: 1.28rem; line-height: 1.24; letter-spacing: -.022em; }
h4 { font-size: 1.02rem; letter-spacing: -.018em; }
p { margin: 0; }

.accent, .lav { color: var(--lav-bright); }
.dim { color: var(--muted); }

.kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--lav);
  margin: 0 0 20px;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: 116px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 62px; }
.section-head p { color: var(--text-2); margin-top: 20px; font-size: 1.05rem; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Marca ---------- */
.mark {
  display: block;
  background-color: currentColor;
  -webkit-mask: url("logo-sync-mark-alpha.png") center / contain no-repeat;
          mask: url("logo-sync-mark-alpha.png") center / contain no-repeat;
}
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo .mark { width: 34px; height: 23px; color: var(--text); }
.logo-word { font-size: 15px; font-weight: 600; letter-spacing: .3em; padding-left: 2px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: var(--maxw);
  min-height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 12px 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 12, .62);
  backdrop-filter: blur(18px) saturate(1.3);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-scrolled { background: rgba(10, 10, 12, .9); border-color: var(--line-2); }
.nav-links { display: flex; gap: 26px; margin-left: 14px; }
.nav-links a {
  font-size: 13.5px;
  color: var(--text-2);
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--lav);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav-menu { position: relative; display: none; }
.nav-menu-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  color: var(--text-2);
}
.nav-drop {
  position: absolute;
  right: 0; top: calc(100% + 10px);
  min-width: 190px;
  display: grid;
  padding: 7px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(18,18,21,.97);
  backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-drop.is-on { opacity: 1; visibility: visible; transform: none; }
.nav-drop a { padding: 10px 13px; border-radius: var(--r-sm); font-size: 14px; color: var(--text-2); }
.nav-drop a:hover { background: var(--surface-2); color: var(--text); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .2s var(--ease), background .22s ease, border-color .22s ease,
              box-shadow .3s ease, color .22s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: linear-gradient(180deg, var(--lav-bright), var(--lav));
  color: #0c0c0f;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(255,255,255,.5), 0 10px 30px -12px rgba(255,255,255,.85);
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(255,255,255,.75), 0 14px 40px -12px rgba(255,255,255,1);
  transform: translateY(-2px);
}
.btn-ghost { border-color: var(--line-2); color: var(--text-2); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--lav-line); color: var(--text); background: rgba(255,255,255,.07); }
.btn-lg { padding: 17px 32px; font-size: 15px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.lbl-short { display: none; }

/* ---------- Malha de circuito ---------- */
.net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.net path { fill: none; }
.traces path, path[data-draw], path[data-sdraw], path[data-hero-draw], .i-line {
  stroke: var(--line-2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.traces path.faint, path.faint { stroke: rgba(51,45,68,.55); }
.traces path.spine, path.spine { stroke: var(--line-2); }

path[data-pulse], .s-pulse, .i-pulse {
  fill: none;
  stroke: var(--lav-bright);
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px rgba(255,255,255,.9));
  opacity: 0;
}

.edge-glow {
  position: absolute;
  top: 0; bottom: 0;
  width: min(190px, 16vw);
  pointer-events: none;
  z-index: 1;
}
.edge-glow.left  { left: 0;  background: linear-gradient(90deg,  rgba(255,255,255,.055), transparent); }
.edge-glow.right { right: 0; background: linear-gradient(270deg, rgba(255,255,255,.055), transparent); }
/* some nas pontas: sem isso o brilho desenha a borda da seção */
.edge-glow {
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 26%, #000 74%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 26%, #000 74%, transparent);
}

/* conector vertical entre seções */
.connector { position: relative; height: 190px; }
.connector svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Chip 3D ---------- */
.chip3d {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
}
.chip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  display: grid;
  place-items: center;
}
.chip-face.back { transform: rotateY(180deg); }

.app-chip {
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,.16), transparent 62%),
    linear-gradient(160deg, #202024, #131316);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    0 0 0 1px rgba(255,255,255,.1),
    0 18px 46px -20px rgba(255,255,255,.85);
}
.app-chip .mark { width: 52%; aspect-ratio: 615 / 425; color: var(--lav-bright); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 90px) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 4; text-align: center; padding-inline: 24px; }
.hero-title { max-width: 16ch; margin-inline: auto; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; }
.hero-sub {
  margin: 26px auto 0;
  max-width: 56ch;
  color: var(--text-2);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }
.hero-note {
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(74,222,128,.16), 0 0 10px rgba(74,222,128,.8);
}

.hero-visual { position: relative; height: 340px; margin-top: 42px; }
.hero-chip {
  left: 50%; top: 50%;
  width: 118px; height: 118px;
  margin: -59px 0 0 -59px;
}
.hero-chip .app-chip { width: 118px; height: 118px; border-radius: 26px; }

/* linha de estado sob a malha */
.hero-status {
  position: absolute;
  left: 50%; bottom: 6px;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  z-index: 4;
  font-size: 12px;
  color: var(--muted);
}
.hero-status span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-status b { color: var(--text-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.hero-status i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--lav); box-shadow: 0 0 8px rgba(255,255,255,.9);
}

/* ---------- Declaração (seção travada) ---------- */
.statement { position: relative; }
.statement-pin {
  height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  padding: 0 24px;
}
.statement-net { position: absolute; inset: 0; width: 100%; height: 100%; }
.statement-text {
  position: relative;
  z-index: 2;
  max-width: 19ch;
  text-align: center;
  font-size: clamp(1.7rem, 4.4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.statement-text .w { color: var(--muted); transition: color .28s ease; }
.statement-text .w.is-on { color: var(--text); }
.statement-text .w.is-key.is-on { color: var(--lav-bright); }

/* ---------- Etapas (seção travada) ---------- */
.steps { position: relative; }
.steps-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0; }
.steps-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.steps-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 60px;
  align-items: center;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
  width: 100%;
}
.steps-text { position: relative; padding-left: 46px; }
.steps-rail {
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
}
.steps-rail-fill {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--lav-bright), var(--lav-deep));
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(255,255,255,.7);
}
.steps-rail-dot {
  position: absolute;
  left: 50%; top: 0;
  width: 9px; height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--lav-bright);
  box-shadow: 0 0 0 4px rgba(255,255,255,.16), 0 0 14px rgba(255,255,255,.95);
}
.steps-counter { font-size: 12px; letter-spacing: .18em; color: var(--muted); margin-bottom: 22px; font-variant-numeric: tabular-nums; }
.steps-counter #stepsCounterNum { color: var(--lav-bright); }
.steps-dots { display: flex; gap: 7px; margin-bottom: 30px; }
.steps-dots button {
  width: 34px; height: 4px;
  padding: 0;
  border: 0; border-radius: 3px;
  background: var(--line-2);
  font-size: 0;
  transform-origin: left;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.steps-dots button.is-active { background: var(--lav-bright); transform: scaleX(1.5); box-shadow: 0 0 10px rgba(255,255,255,.7); }

.step-item {
  position: absolute;
  left: 46px; right: 0;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.step-item.is-active { position: relative; left: 0; opacity: 1; transform: none; pointer-events: auto; }
.step-num { font-size: 12px; letter-spacing: .2em; color: var(--lav); margin-bottom: 14px; }
.step-item h3 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin-bottom: 14px; }
.step-item p { color: var(--text-2); max-width: 44ch; }

.steps-stage { position: relative; }
.phone-glow {
  position: absolute;
  inset: -14% -8%;
  background: radial-gradient(closest-side, rgba(255,255,255,.09), transparent 72%);
  filter: blur(30px);
  pointer-events: none;
}

/* ---------- Janela de aplicação (mocks autorais) ---------- */
.win {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, #17171b, #101013);
  box-shadow: 0 26px 60px -30px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); flex: none; }
.win-bar i:first-child { background: #3a3a42; }
.win-bar span { margin-left: 8px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.win-tag {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lav);
  border: 1px solid var(--lav-line);
  border-radius: 999px;
  padding: 3px 9px;
}
.win-body { padding: 18px; }

.win-screen { display: none; }
.win-screen.is-active { display: block; }

/* conversa do agente */
.chat { display: grid; gap: 9px; }
.chat-head { display: flex; align-items: center; gap: 11px; padding-bottom: 13px; border-bottom: 1px solid var(--line); margin-bottom: 5px; }
.chat-head .av {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--lav-bright), var(--lav));
  color: #0c0c0f; font-size: 11.5px; font-weight: 700;
}
.chat-head b { display: block; font-size: 13.5px; font-weight: 600; }
.chat-head small { display: block; font-size: 11px; color: var(--ok); }
.chat-head .ch-ch {
  margin-left: auto; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 9px;
}
.msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
}
.msg.is-on { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.msg.in  { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.out {
  margin-left: auto;
  background: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.13));
  border: 1px solid var(--lav-line);
  border-bottom-right-radius: 5px;
}
.msg em { font-style: normal; display: block; margin-top: 5px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* funil */
.deals { display: grid; gap: 7px; }
.deals-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.deals-head span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.deals-head b { font-size: 12.5px; color: var(--text-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.deal {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.02);
  font-size: 13px;
}
.deal .stage {
  font-size: 11px; letter-spacing: .06em;
  color: var(--lav); border: 1px solid var(--lav-line);
  border-radius: 999px; padding: 2px 9px; white-space: nowrap;
}
.deal .stage.won { color: var(--ok); border-color: rgba(74,222,128,.4); }
.deal .val { color: var(--text-2); font-variant-numeric: tabular-nums; font-size: 12.5px; }

/* painel de BI */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 13px; }
.kpi { padding: 13px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255,255,255,.02); }
.kpi span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.kpi b { font-size: 1.32rem; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 11px; color: var(--ok); margin-left: 6px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 96px; padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255,255,255,.02); }
.bars i {
  flex: 1;
  height: 100%;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, var(--lav-bright), var(--lav-deep));
  opacity: .45;
  transform: scaleY(.12);
  transform-origin: bottom;
  transition: transform .7s var(--ease-out), opacity .7s var(--ease-out);
}
.bars i.tall { opacity: 1; box-shadow: 0 0 14px rgba(255,255,255,.45); }

/* mapa do diagnóstico */
.audit { display: grid; gap: 8px; }
.audit div {
  display: grid; grid-template-columns: 18px 1fr auto; gap: 11px; align-items: center;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: rgba(255,255,255,.02); font-size: 13px;
}
.audit .tick { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); }
.audit .found { font-size: 11px; color: var(--warn); font-variant-numeric: tabular-nums; }
.audit div.ok .tick { border-color: rgba(74,222,128,.45); color: var(--ok); }
.audit div.ok .found { color: var(--ok); }

/* ---------- Diferenciais ---------- */
.sig { position: relative; }
.sig-title { max-width: 15ch; }
.sig-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 66px;
  align-items: center;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.sig-row.rev .sig-copy { order: 2; }
.sig-copy h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 20px; }
.sig-copy > p { color: var(--text-2); }
.sig-badge {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lav-bright);
  border: 1px solid var(--lav-line);
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--lav-dim);
}
.sig-copy ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.sig-copy li { display: grid; grid-template-columns: 16px 1fr; gap: 13px; color: var(--text-2); font-size: 14.5px; }
.sig-copy li::before {
  content: "";
  width: 6px; height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--lav);
  box-shadow: 0 0 9px rgba(255,255,255,.85);
}
.sig-connector { position: relative; height: 150px; }
.sig-connector svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Placa dos serviços ---------- */
.board { position: relative; overflow: hidden; }
.board-title { max-width: 17ch; margin-inline: auto; text-align: center; }
.board-wrap {
  display: grid;
  grid-template-columns: minmax(0,1fr) 200px minmax(0,1fr);
  gap: 26px;
  align-items: center;
  margin-top: 76px;
}
.b-col { display: grid; gap: 18px; }
.b-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 15px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(27,27,31,.85), rgba(16,16,19,.85));
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.b-card:hover {
  border-color: var(--lav-line);
  transform: translateY(-3px);
  box-shadow: 0 20px 44px -26px rgba(255,255,255,.9);
}
.b-ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: rgba(255,255,255,.07);
  color: var(--lav-bright);
}
.b-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.b-card p { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.b-center { position: relative; height: 300px; display: grid; place-items: center; }
.b-chip { width: 118px; height: 118px; border-radius: 26px; position: relative; z-index: 2; }

/* ---------- Marquise de canais ---------- */
.channels { padding: 34px 0 96px; text-align: center; }
.marquee { position: relative; overflow: hidden; margin-top: 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 52s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.chan {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  font-size: 14px;
  color: var(--text-2);
  white-space: nowrap;
}
.chan i { width: 6px; height: 6px; border-radius: 50%; background: var(--lav); box-shadow: 0 0 8px rgba(255,255,255,.9); }

/* ---------- Sob o capô ---------- */
.inside-list { display: grid; gap: 4px; margin-top: 60px; }
.i-row {
  display: grid;
  grid-template-columns: 250px minmax(90px, 1fr) 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
}
.i-tile {
  display: flex; align-items: center; gap: 13px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(27,27,31,.8), rgba(16,16,19,.8));
  font-size: 14px;
  font-weight: 500;
}
.i-tile .b-ico { width: 34px; height: 34px; border-radius: 9px; }
.i-trace { position: relative; height: 60px; }
.i-trace svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.i-pad { stroke: var(--line-2); stroke-width: 7; stroke-linecap: round; fill: none; }
.i-pad.ring { stroke: var(--lav-line); stroke-width: 12; }
.i-info h3 { font-size: 1.08rem; margin-bottom: 5px; }
.i-info p { font-size: 13.5px; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.02); overflow: hidden; }
.faq-item[open] { border-color: var(--lav-line); background: rgba(255,255,255,.045); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  margin-left: auto;
  width: 9px; height: 9px;
  flex: none;
  border-right: 1.6px solid var(--lav);
  border-bottom: 1.6px solid var(--lav);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq-body { padding: 0 24px 22px; color: var(--text-2); font-size: 14.5px; }
.faq-body p + p { margin-top: 11px; }

/* ---------- Chamada final ---------- */
.cta { text-align: center; }
.cta-title { max-width: 18ch; margin-inline: auto; }
.cta-title .line { display: block; overflow: hidden; }
.cta-title .line > span { display: inline-block; }
.cta p { margin: 26px auto 0; max-width: 52ch; color: var(--text-2); font-size: 1.05rem; }
.cta .btn { margin-top: 38px; }

/* ---------- Rodapé ---------- */
.footer { padding: 66px 0 52px; border-top: 1px solid var(--line); text-align: center; }
.footer .mark { width: 40px; height: 27px; color: var(--muted); margin-inline: auto; }
.footer-links { margin: 24px 0 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; align-items: center; font-size: 13.5px; color: var(--text-2); }
.footer-links a:hover { color: var(--lav-bright); }
.footer-links s { text-decoration: none; color: var(--muted); }
.footer p { font-size: 12.5px; color: var(--muted); }

/* ---------- Revelação ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity 1.15s var(--ease-out), transform 1.15s var(--ease-out); }

/* ==========================================================================
   Orçamento
   ========================================================================== */
.quote-page { padding: calc(var(--nav-h) + 82px) 0 104px; position: relative; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: 66px; align-items: start; }
.quote-aside h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.quote-aside > p { margin-top: 22px; color: var(--text-2); font-size: 1.04rem; max-width: 40ch; }

.perks { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
.perks li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; font-size: 14.5px; color: var(--text-2); }
.perks strong { color: var(--text); font-weight: 600; }
.perks .check {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--lav-dim);
  border: 1px solid var(--lav-line);
  color: var(--lav-bright);
}
.perks .check svg { width: 11px; height: 11px; }

.form-card {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(27,27,31,.9), rgba(15,15,18,.94));
  box-shadow: 0 28px 64px -34px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.06);
  padding: 40px;
}
.form-card h2 { font-size: 1.4rem; }
.form-card .hint { color: var(--muted); font-size: 13.5px; margin: 8px 0 30px; }

.field { margin-bottom: 20px; }
.field > label { display: flex; align-items: baseline; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--text-2); margin-bottom: 9px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field .req { color: var(--lav); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: rgba(5,5,7,.6);
  color: var(--text);
  font-size: 15px;
  caret-color: var(--lav-bright);
  transition: border-color .2s ease, box-shadow .25s ease, background .2s ease;
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--lav);
  background: rgba(255,255,255,.05);
  box-shadow: 0 0 0 3px rgba(255,255,255,.14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute; right: 17px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field select { appearance: none; padding-right: 42px; }
.field select option { background: #141418; color: var(--text); }

.err { display: none; color: var(--bad); font-size: 12.5px; margin-top: 8px; }
.field.has-error input { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(240,115,106,.13); }
.field.has-error .err { display: block; }

.envio-erro {
  display: none;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 17px;
  margin-bottom: 20px;
  border: 1px solid rgba(240,115,106,.4);
  border-radius: var(--r-sm);
  background: rgba(240,115,106,.09);
  color: #f7b8b1;
  font-size: 13.5px;
  line-height: 1.55;
}
.envio-erro.is-on { display: flex; }

.form-foot { margin-top: 20px; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.6; }

.success { display: none; text-align: center; padding: 10px 0; }
.success.is-on { display: block; }
.success-icon {
  width: 54px; height: 54px;
  margin: 0 auto 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--lav-dim);
  border: 1px solid var(--lav-line);
  color: var(--lav-bright);
  box-shadow: 0 0 34px -6px rgba(255,255,255,.6);
}
.success-icon svg { width: 22px; height: 22px; }
.success h2 { margin-bottom: 14px; }
.success > p { color: var(--text-2); max-width: 40ch; margin-inline: auto; font-size: 1rem; }
.success strong { color: var(--text); }
.recap { display: grid; gap: 1px; margin: 30px 0; text-align: left; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.recap > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 13px 16px; background: rgba(255,255,255,.02); align-items: baseline; }
.recap span { font-size: 11.5px; color: var(--muted); }
.recap b { font-weight: 500; font-size: 14px; word-break: break-word; }
.success .actions { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Login
   ========================================================================== */
.login-page { min-height: 100svh; display: grid; place-items: center; padding: 30px 22px; }
.login-card {
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(27,27,31,.92), rgba(15,15,18,.96));
  box-shadow: 0 30px 70px -36px rgba(0,0,0,.98), inset 0 1px 0 rgba(255,255,255,.06);
  padding: 38px 36px 30px;
}
.login-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.login-card h1 { font-size: 1.5rem; margin-bottom: 9px; }
.login-card .hint { color: var(--muted); font-size: 13.5px; margin-bottom: 28px; }
.login-card .hint strong { color: var(--text-2); font-weight: 500; }
.back-link { display: block; text-align: center; margin-top: 22px; font-size: 13px; color: var(--muted); }
.back-link:hover { color: var(--lav-bright); }

/* ==========================================================================
   Adaptação
   ========================================================================== */
@media (max-width: 1080px) {
  .steps-body { grid-template-columns: 1fr; gap: 44px; }
  .sig-row { grid-template-columns: 1fr; gap: 40px; }
  .sig-row.rev .sig-copy { order: 0; }
  .board-wrap { grid-template-columns: 1fr; gap: 20px; }
  .b-center { height: 190px; order: -1; }
  .b-center .net { display: none; }   /* empilhado, os traços não ligam mais nada */
  .quote-grid { grid-template-columns: 1fr; gap: 44px; }
  .i-row { grid-template-columns: 210px 70px 1fr; gap: 16px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }

}

@media (max-width: 720px) {
  .section { padding: 84px 0; }
  .connector { height: 130px; }
  .nav { top: 10px; width: calc(100% - 24px); gap: 10px; padding: 8px 8px 8px 16px; }
  .nav .logo { gap: 9px; }
  .nav .logo .mark { width: 29px; height: 20px; }
  .logo-word { font-size: 13px; letter-spacing: .22em; }
  .nav-right { gap: 8px; }
  .nav-menu-btn { width: 34px; height: 34px; }
  .hero { padding-top: calc(var(--nav-h) + 62px); }
  h1 { font-size: clamp(1.95rem, 8vw, 2.7rem); }
  h2 { font-size: clamp(1.7rem, 6.4vw, 2.4rem); }
  .hero-visual { height: auto; padding-bottom: 4px; }
  .hero-visual .net { height: 190px; }
  .hero-chip, .hero-chip .app-chip { width: 92px; height: 92px; }
  .hero-chip { top: 49px; margin: 0 0 0 -46px; }
  .hero-status {
    position: static;
    transform: none;
    margin-top: 190px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .lbl-full { display: none; }
  .lbl-short { display: inline; }
  .btn { padding: 11px 18px; font-size: 13px; }
  .btn-lg { padding: 15px 26px; font-size: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .i-row { grid-template-columns: 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .i-trace { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .steps-text { padding-left: 34px; }
  .step-item { left: 34px; }
  .win-body { padding: 14px; }
  .to-top { right: 16px; bottom: 16px; }
  .edge-glow { display: none; }
}

@media (max-width: 430px) {
  .logo-word { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .msg { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  #gl { display: none; }
}

/* perspectiva para os chips 3D */
.hero-visual, .b-center { perspective: 900px; }

/* ==========================================================================
   Compatibilidade de tokens
   leads-sync.html (painel interno de leads) usa os nomes antigos. Mapeados
   para a paleta atual para a página continuar funcionando sem reescrevê-la.
   Se um dia o painel ganhar folha própria, este bloco pode sair.
   ========================================================================== */
:root {
  --border:        var(--line);
  --border-strong: var(--line-2);
  --accent:        var(--lav-bright);
  --accent-2:      var(--lav);
  --accent-soft:   var(--lav-dim);
  --grad:          linear-gradient(135deg, var(--lav-bright), var(--lav));
  --radius:        var(--r);
  --radius-lg:     var(--r-lg);
  --radius-sm:     var(--r-sm);
  --shadow:        0 18px 50px -20px rgba(0, 0, 0, .8);
  --shadow-lg:     0 30px 70px -36px rgba(0, 0, 0, .95);
}
