/* ===========================================================
   Fitz Data · folha de estilo
   Paleta:
     --ink        #0A0C10  fundo base (quase preto azulado)
     --panel      #12151C  superfícies elevadas
     --line       #222732  divisórias / grade
     --fog        #8A93A6  texto secundário
     --paper      #EAEEF6  texto principal
     --signal     #FF741F  laranja da marca (destaque)
     --signal-2   #2D7CF6  azul de dados (séries/setas)
   Tipografia:
     display: "Space Grotesk" : títulos, caráter técnico/preciso
     body:    "Inter"          : corpo legível
     mono:    "JetBrains Mono" : números, labels, a "matéria" do dado
   =========================================================== */

:root {
  --ink: #0a0c10;
  --panel: #12151c;
  --panel-2: #171b24;
  --line: #222732;
  --fog: #8a93a6;
  --paper: #eaeef6;
  --signal: #ff741f;
  --signal-soft: rgba(255, 116, 31, 0.14);
  --signal-2: #2d7cf6;
  --good: #3ddc97;
  --radius: 14px;
  --maxw: 1180px;
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.8);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* malha de coordenadas: a grade de uma planilha/plano cartesiano */
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 46px 46px;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* eyebrow técnico, no estilo "var_" do site original */
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--signal);
  text-transform: lowercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--signal);
  display: inline-block;
}

/* cursor piscante reaproveitado da identidade original ( _ ) */
.caret {
  color: var(--signal);
  font-family: "Space Grotesk", sans-serif;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand .dot {
  width: 11px; height: 11px; border-radius: 3px;
  background: var(--signal);
  box-shadow: 0 0 0 4px var(--signal-soft);
}
.brand b { color: var(--signal); font-weight: 600; }
.brand-logo { height: 26px; width: auto; display: block; }
.footer-logo { height: 24px; }

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 15px;
  color: var(--fog);
}
.nav-links a:hover { color: var(--paper); }

.btn {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 22px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--signal);
  color: #1a0d00;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--signal); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--signal); color: var(--signal); }
.btn-block { width: 100%; }

/* ---------- HERO ---------- */
.hero { padding: 92px 0 80px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 22px;
}
.hero h1 .hl { color: var(--signal); }
.hero p.lede {
  color: var(--fog);
  font-size: 1.12rem;
  max-width: 30ch;
  margin: 0 0 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* dashboard de assinatura no hero */
.dash {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dash-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--fog);
}
.dash-top .lights { display: flex; gap: 6px; margin-right: 6px; }
.dash-top .lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: inline-block; }
.dash-top .lights i:first-child { background: var(--signal); }
.dash-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--good); }
.dash-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.dash-body { padding: 20px; }
.dash-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.mini-card {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.mini-head {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--fog);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.mini-card .bars { height: 60px; gap: 4px; }
.mini-card .donut { max-width: 96px; margin: 0 auto; }

/* container de gráfico (hero) */
.chart {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 16px 14px;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--fog);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- GRÁFICOS ANIMADOS ---------- */
/* área / linha */
.area-chart { width: 100%; height: 96px; display: block; overflow: visible; }
.area-chart.tall { height: 132px; }
.area-line {
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.5s ease;
}
.area-fill { opacity: 0; transition: opacity 0.9s ease 0.35s; }
.js-animate.in .area-line { stroke-dashoffset: 0; }
.js-animate.in .area-fill { opacity: 1; }

/* barras */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 96px;
}
.bars.tall { height: 150px; }
.bars .bar {
  flex: 1;
  height: var(--h, 60%);
  align-self: flex-end;
  background: linear-gradient(180deg, var(--signal), #b8480f);
  border-radius: 4px 4px 2px 2px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--bar-delay, 0ms);
}
.bars .bar:last-child { background: linear-gradient(180deg, #ffa766, var(--signal)); }
.js-animate.in .bars .bar { transform: scaleY(1); }

/* donut */
.donut { width: 100%; max-width: 150px; height: auto; display: block; }
.donut-seg {
  stroke-linecap: butt;
  stroke-dashoffset: var(--seg-len);
  transition: stroke-dashoffset 0.9s cubic-bezier(0.3, 0.9, 0.3, 1);
  transition-delay: var(--seg-delay, 0s);
}
.js-animate.in .donut-seg { stroke-dashoffset: 0; }
.donut-wrap { display: flex; align-items: center; gap: 18px; }
.donut-wrap .donut { max-width: 130px; flex: 0 0 auto; }
.donut-legend {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 9px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; color: var(--fog);
  min-width: 130px;
}
.donut-legend li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; }
.donut-legend .lg-name { color: var(--fog); }
.donut-legend .lg-pct { color: var(--paper); }
.dot-c { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* dispersão */
.scatter { width: 100%; height: auto; display: block; }
.scatter .axis { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dot-pt {
  fill: var(--signal-2);
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 1.5, 0.4, 1);
  transition-delay: var(--pt-delay, 0ms);
}
.js-animate.in .dot-pt { opacity: 0.9; transform: scale(1); }

/* linha de projeção (tracejada) + marcador "agora" */
.area-line.proj {
  stroke-width: 2.2;
  stroke-dasharray: 2.6 2.6;
  stroke-dashoffset: 0;
  opacity: 0;
  vector-effect: non-scaling-stroke;
  transition: opacity 0.6s ease 1s;
}
.js-animate.in .area-line.proj { opacity: 1; }
.now-line {
  stroke: var(--fog);
  stroke-width: 1;
  stroke-dasharray: 2 2;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 0.5s ease 0.9s;
}
.js-animate.in .now-line { opacity: 0.45; }

/* legenda de linha (histórico / projeção) */
.chart-legend {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--fog);
}
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg-line { width: 14px; border-top: 2px solid var(--signal); display: inline-block; }
.lg-line.proj { border-top-style: dashed; border-top-color: var(--signal-2); }

/* funil de conversão */
.funnel { display: flex; flex-direction: column; gap: 11px; }
.funnel-row { display: grid; grid-template-columns: 78px 1fr 42px; align-items: center; gap: 10px; }
.fn-label { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--fog); }
.fn-track {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  height: 22px;
  overflow: hidden;
}
.fn-bar {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--signal-2), var(--signal));
  border-radius: 5px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--fn-delay, 0ms);
}
.js-animate.in .fn-bar { transform: scaleX(1); }
.fn-val {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: var(--paper);
  text-align: right;
}

/* eixos e legenda da dispersão */
.scatter-axes {
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--fog);
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.cluster-legend {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--fog);
}
.cluster-legend li { display: flex; align-items: center; gap: 8px; }

/* ---------- SECTIONS ---------- */
section { padding: 86px 0; }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.section-head p { color: var(--fog); margin-top: 14px; }

/* ---------- TEMA CLARO (seções de contraste) ---------- */
.theme-light {
  --ink: #eef1f8;
  --panel: #ffffff;
  --panel-2: #f6f8fc;
  --line: #dde3ef;
  --fog: #586074;
  --paper: #11151f;
  --signal-soft: rgba(255, 116, 31, 0.12);
  --shadow: 0 20px 50px -28px rgba(20, 30, 60, 0.35);
  background: var(--ink);
  color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(20, 30, 60, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 30, 60, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.theme-light .section-head p { color: var(--fog); }

/* ---------- REVELAÇÃO NO SCROLL ---------- */
.js .js-animate { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .js-animate.in { opacity: 1; transform: none; }

/* ---------- PROJETOS / FRENTES ---------- */
/* alternador de domínio (eleitoral / corporativo) */
.seg-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.seg-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--fog);
  padding: 10px 22px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.seg-tab .seg-label { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1rem; }
.seg-tab .seg-note { font-family: "JetBrains Mono", monospace; font-size: 11px; opacity: 0.75; }
.seg-tab:hover { color: var(--paper); }
.seg-tab.active { background: var(--signal); color: #1a0d00; }
.seg-tab.active .seg-note { opacity: 0.85; }

.frente-grid { display: none; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.frente-grid.active { display: grid; }
.frente-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
}
.frente-card::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--signal), var(--signal-2));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.frente-card:hover::after { transform: scaleX(1); }
.frente-card:hover { border-color: #313847; }
.fc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fc-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--signal);
  letter-spacing: 0.1em;
}
.fc-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fog);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}
.frente-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.frente-card p { color: var(--fog); font-size: 0.94rem; margin: 0; line-height: 1.55; }

/* ---------- AGENTES DE IA ---------- */
.ai-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }

.assistant {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.as-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.as-avatar {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--signal-2), var(--signal));
  display: grid; place-items: center;
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  color: #fff; font-size: 14px;
}
.as-id { display: flex; flex-direction: column; line-height: 1.3; }
.as-id b { font-family: "Space Grotesk", sans-serif; font-size: 0.95rem; }
.as-id span { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--fog); }
.as-live {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--signal-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}
.as-body { padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.bubble {
  max-width: 86%;
  padding: 12px 15px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.bubble.user {
  align-self: flex-end;
  background: var(--signal);
  color: #1a0d00;
  border-bottom-right-radius: 4px;
}
.bubble.bot {
  align-self: flex-start;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.bubble.bot p { margin: 0 0 12px; }
.as-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.as-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--fog);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: var(--chip-delay, 0s);
}
.as-chip b { color: var(--paper); }
.js-animate.in .as-chip { opacity: 1; transform: none; }
.bubble.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 5px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  padding: 14px 16px;
}
.bubble.typing i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--fog);
  animation: typing 1.2s infinite ease-in-out;
}
.bubble.typing i:nth-child(2) { animation-delay: 0.18s; }
.bubble.typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.as-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 18px 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--fog);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}
.as-send {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--signal);
  color: #1a0d00;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700;
}

.agent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.agent-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
}
.agent-card .ag-tag {
  align-self: flex-start;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--signal);
  background: var(--signal-soft);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 14px;
}
.agent-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.agent-card p { color: var(--fog); font-size: 0.92rem; margin: 0; line-height: 1.5; }

/* processo */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
}
.step::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--signal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.step:hover::after { transform: scaleX(1); }
.step .n {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--signal);
  letter-spacing: 0.1em;
}
.step h3 { font-size: 1.25rem; margin: 14px 0 10px; }
.step p { color: var(--fog); font-size: 0.96rem; margin: 0; }

/* faixa de dados (galeria de gráficos) */
.data-band {
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(255, 116, 31, 0.10), transparent 60%),
    var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* layout em duas colunas: texto de um lado, gráficos do outro */
.data-band .wrap { display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: start; }
.db-text { position: sticky; top: 96px; }
.db-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.db-text p { color: var(--fog); margin: 0 0 14px; }
.db-text .db-note { margin-bottom: 24px; }

.chart-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.chart-card {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
}
.cc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.cc-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.cc-sub {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  color: var(--paper);
  font-size: 0.98rem;
  margin: -6px 0 18px;
}
/* área central do gráfico: ocupa o espaço e centraliza (resolve o donut solto) */
.cc-viz {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  margin-bottom: 14px;
}
.cc-viz > svg { width: 100%; }
.cc-viz > .funnel { width: 100%; }
.muted { opacity: 0.7; font-style: italic; }

/* CTA / formulário */
.cta-final {
  text-align: center;
}
.cta-final h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-final .sub { color: var(--fog); margin: 14px auto 36px; max-width: 46ch; }

.lead-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
  box-shadow: var(--shadow);
}
.lead-form .field { margin-bottom: 18px; }
.lead-form label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--fog);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.lead-form input,
.lead-form select {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--paper);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  padding: 13px 14px;
  transition: border-color 0.18s ease;
}
.lead-form input:focus,
.lead-form select:focus { outline: none; border-color: var(--signal); }
.lead-form .consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: var(--fog); margin: 6px 0 22px;
}
.lead-form .consent a { color: var(--signal); }
.lead-form .consent input { width: auto; }

.form-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--good);
  font-family: "JetBrains Mono", monospace;
  display: none;
}
.form-note.show { display: block; }

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--fog);
  font-size: 14px;
}
.site-footer a:hover { color: var(--paper); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .frente-grid.active { grid-template-columns: 1fr 1fr; }
  .ai-layout { grid-template-columns: 1fr; }
  .data-band .wrap { grid-template-columns: 1fr; gap: 34px; }
  .db-text { position: static; max-width: 60ch; }
}
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .frente-grid.active,
  .agent-grid,
  .chart-gallery { grid-template-columns: 1fr; }
  .seg-tabs { width: 100%; }
  .seg-tab { flex: 1; align-items: center; padding: 10px 12px; }
}
@media (max-width: 560px) {
  .steps,
  .dash-mini { grid-template-columns: 1fr; }
  .donut-wrap { flex-direction: column; align-items: center; }
  .hero { padding: 56px 0; }
  section { padding: 60px 0; }
}
