/* ═══════════════════════════════════════════════════════════════════
   CAMALEÃO — sala de comando
   Direção de arte própria (independente do site da agência):
   preto-violeta profundo, roxo #8B5CF6 + verde #22C55E do sistema,
   gradiente roxo→verde como assinatura, tipografia Bricolage Grotesque.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg: #07060D;
  --bg-2: #0B0916;
  --surface: #110E1E;
  --surface-2: #171327;
  --surface-3: #1E1932;

  --violet: #8b5cf6;
  --violet-bright: #a78bfa;
  --violet-deep: #5b21b6;
  --green: #22c55e;
  --green-bright: #4ade80;
  --amber: #f0b45a;

  --line: rgba(167, 139, 250, 0.13);
  --line-2: rgba(167, 139, 250, 0.26);

  --text: #eeecf6;
  --muted: #9b95b3;
  --dim: #6d6683;

  --grad: linear-gradient(115deg, #8b5cf6 0%, #7c6ef0 40%, #22c55e 100%);

  --font-display: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
  --font-body: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Courier New", monospace;

  --container: 1200px;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(139, 92, 246, 0.4); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ─────────── Tipografia ─────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.015em; }

em { font-style: normal; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet-bright);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet));
}

.lead {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 640px;
}

/* ─────────── Reveal ─────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.4s; }

/* ─────────── Botões ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #0a0713;
  box-shadow: 0 12px 34px -12px rgba(139, 92, 246, 0.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px -12px rgba(139, 92, 246, 0.85);
}
.btn-ghost {
  border-color: var(--line-2);
  color: var(--text);
  background: rgba(167, 139, 250, 0.05);
}
.btn-ghost:hover { border-color: var(--violet); background: rgba(139, 92, 246, 0.12); }
.btn-sm { padding: 11px 20px; font-size: 0.875rem; border-radius: 10px; }
/* CTA do topo: gradiente pequeno cai no meio da rampa (roxo-cinza) e embarra —
   por isso o botão do nav usa roxo sólido. */
.nav .btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(139, 92, 246, 0.8);
}
.nav .btn-primary:hover { background: var(--violet-bright); color: #180f2b; }

/* ═══════════ TOPBAR ═══════════ */
.topbar {
  border-bottom: 1px solid var(--line);
  background: #05040A;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--dim);
  text-transform: uppercase;
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar a { color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.topbar a:hover { color: var(--violet-bright); }
.topbar-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  margin-right: 8px;
  animation: blip 2.4s ease-in-out infinite;
}
@keyframes blip { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ═══════════ NAV ═══════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgba(7, 6, 13, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 15px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo img { height: 32px; }
.nav-logo b {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-burger { display: none; }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  padding: 84px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 18% 12%, rgba(139, 92, 246, 0.28), transparent 60%),
    radial-gradient(ellipse 46% 44% at 88% 68%, rgba(34, 197, 94, 0.16), transparent 62%);
}
.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(167, 139, 250, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 75% 65% at 40% 30%, black 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 40% 30%, black 20%, transparent 72%);
}
.hero-inner { position: relative; }
.hero-top { max-width: 900px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  margin-bottom: 26px;
}
.hero h1 span { display: block; }
.hero-sub {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 660px;
  margin-bottom: 34px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-micro {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--dim);
  text-transform: uppercase;
}

/* pill de badges do hero */
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.pill {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(167, 139, 250, 0.05);
  border-radius: 100px;
  padding: 7px 14px;
}
.pill em { color: var(--green-bright); }

/* ═══════════ PALCO DO CONSOLE ═══════════ */
.stage { position: relative; margin-top: 66px; }

/* chão de dados em perspectiva atrás do console */
.floor {
  position: absolute;
  left: 50%;
  bottom: -70px;
  width: 190%;
  height: 340px;
  transform: translateX(-50%) perspective(760px) rotateX(70deg);
  transform-origin: 50% 100%;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.22) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to top, black 5%, transparent 72%);
  -webkit-mask-image: linear-gradient(to top, black 5%, transparent 72%);
  animation: floor-run 7s linear infinite;
}
@keyframes floor-run {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 62px, 0 0; }
}

/* cards de dado flutuando fora da moldura */
.float {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  background: rgba(17, 14, 30, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 15px;
  box-shadow: 0 22px 50px -18px rgba(0, 0, 0, 0.9);
  animation: bob 6s ease-in-out infinite;
}
.float small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 3px;
}
.float b { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.02em; }
.float .dot {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid var(--line-2);
  flex-shrink: 0;
}
.float .dot::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--violet-bright);
  box-shadow: 0 0 9px var(--violet);
}
.float.green .dot { background: rgba(34, 197, 94, 0.14); }
.float.green .dot::before { background: var(--green-bright); box-shadow: 0 0 9px var(--green); }
/* Sempre nas BORDAS do console — nunca por cima do conteúdo dele. */
.float-1 { top: -24px; right: 27%; animation-delay: 0s; }
.float-2 { bottom: -24px; left: 13%; animation-delay: 1.6s; }
.float-3 { bottom: -24px; right: 27%; animation-delay: 3.1s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ═══════════ CONSOLE (mock composto do produto) ═══════════ */
.console {
  position: relative;
  z-index: 2;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  box-shadow: 0 50px 130px -40px rgba(0, 0, 0, 0.92), 0 0 90px -50px rgba(139, 92, 246, 0.5);
  overflow: hidden;
}
.console::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad);
  opacity: 0.85;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.console-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.console-bar i:nth-child(1) { background: rgba(244, 114, 114, 0.6); }
.console-bar i:nth-child(2) { background: rgba(240, 180, 90, 0.6); }
.console-bar i:nth-child(3) { background: rgba(74, 222, 128, 0.6); }
.console-bar span { margin-left: 10px; }
.console-bar .live { margin-left: auto; color: var(--green-bright); }

.console-body {
  display: grid;
  grid-template-columns: 168px 1fr 300px;
  min-height: 470px;
}

/* sidebar do mock */
.c-side {
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(5, 4, 10, 0.4);
}
.c-side small {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 12px 10px 7px;
}
.c-side a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
}
.c-side a.on { background: rgba(139, 92, 246, 0.16); color: var(--text); }
.c-side a i {
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--dim);
}
.c-side a.on i { background: var(--violet-bright); box-shadow: 0 0 8px var(--violet); }

/* área central: kpis + pipeline */
.c-main { padding: 22px 22px 26px; }
.c-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.c-kpi {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  background: var(--surface-2);
}
.c-kpi small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 7px;
}
.c-kpi b {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
}
.c-kpi u {
  text-decoration: none;
  font-size: 0.62rem;
  color: var(--green-bright);
  font-family: var(--font-mono);
}
.c-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}
.kcol-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 9px;
}
.kcard {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.kcard b { display: block; font-size: 0.76rem; font-weight: 600; margin-bottom: 3px; }
.kcard small { display: block; font-size: 0.66rem; color: var(--dim); }
.kcard .tag {
  display: inline-block;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  border-radius: 5px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: var(--green-bright);
  background: rgba(34, 197, 94, 0.08);
}
.kcard .tag.warm { border-color: rgba(240, 180, 90, 0.35); color: #f0b45a; background: rgba(240, 180, 90, 0.07); }
.kcard .tag.violet { border-color: rgba(167, 139, 250, 0.4); color: var(--violet-bright); background: rgba(139, 92, 246, 0.1); }
.kcard.dim { opacity: 0.42; }

/* coluna direita: agente no whatsapp */
.c-chat {
  border-left: 1px solid var(--line);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(5, 4, 10, 0.4);
}
.c-chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}
.c-chat-head em { color: var(--green-bright); }
.bub {
  max-width: 90%;
  padding: 10px 13px;
  border-radius: 13px;
  font-size: 0.78rem;
  line-height: 1.5;
}
.bub.in {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  opacity: 1;
  transform: none;
}
.bub.out {
  align-self: flex-end;
  background: linear-gradient(135deg, #6d3fd4 0%, #8b5cf6 100%);
  border-bottom-right-radius: 4px;
  color: #f5f1ff;
}
.bub time {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  opacity: 0.6;
  margin-top: 5px;
  text-align: right;
}
.c-event {
  align-self: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-bright);
  border: 1px dashed rgba(74, 222, 128, 0.32);
  background: rgba(34, 197, 94, 0.06);
  border-radius: 8px;
  padding: 7px 10px;
  margin-top: 4px;
  line-height: 1.5;
}

/* ═══════════ FAIXA DE NÚMEROS ═══════════ */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.strip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 44px 28px;
}
.strip-item b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 9px;
}
.strip-item small { font-size: 0.85rem; color: var(--muted); display: block; max-width: 230px; }

/* ═══════════ SEÇÕES ═══════════ */
.section { padding: 118px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head h2 { margin-bottom: 22px; }

/* ═══════════ DUELO (antes/depois) ═══════════ */
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duel-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  background: var(--surface);
}
.duel-col.win {
  border-color: var(--line-2);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  position: relative;
  overflow: hidden;
}
.duel-col.win::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad);
}
.duel-col h3 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 22px;
}
.duel-col.win h3 { color: var(--green-bright); }
.duel-col ul { list-style: none; }
.duel-col li {
  padding: 12px 0 12px 30px;
  position: relative;
  font-size: 0.93rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.duel-col li:last-child { border-bottom: none; }
.duel-col li::before {
  content: "";
  position: absolute;
  left: 2px; top: 19px;
  width: 12px; height: 1.5px;
  background: rgba(244, 114, 114, 0.6);
}
.duel-col.win li { color: var(--text); }
.duel-col.win li::before {
  content: "";
  left: 0; top: 16px;
  width: 14px; height: 8px;
  background: none;
  border-left: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: rotate(-45deg);
}

/* ═══════════ MÓDULOS ═══════════ */
.mods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mod {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px 28px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.mod::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 1px;
  background: var(--grad);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.mod:hover { border-color: var(--line-2); transform: translateY(-3px); background: var(--surface-2); }
.mod:hover::after { width: 100%; }
.mod-ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: rgba(139, 92, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.mod-ico svg { width: 20px; height: 20px; stroke: var(--violet-bright); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mod.green .mod-ico { background: rgba(34, 197, 94, 0.1); }
.mod.green .mod-ico svg { stroke: var(--green-bright); }
.mod h3 { margin-bottom: 10px; }
.mod p { font-size: 0.9rem; color: var(--muted); }
.mod ul { list-style: none; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.mod li {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
}

/* ═══════════ AGENTES ═══════════ */
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.agent {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  padding: 32px 30px 34px;
  position: relative;
}
.agent-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-bright);
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: rgba(34, 197, 94, 0.07);
  border-radius: 100px;
  padding: 6px 12px;
  margin-bottom: 20px;
}
.agent-badge i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blip 2.2s ease-in-out infinite;
}
.agent h3 { font-size: 1.35rem; margin-bottom: 12px; }
.agent p { font-size: 0.92rem; color: var(--muted); margin-bottom: 20px; }
.agent-steps { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.agent-steps li {
  font-size: 0.86rem;
  color: var(--text);
  padding-left: 26px;
  position: relative;
}
.agent-steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0; top: 1px;
  width: 17px; height: 17px;
  border-radius: 5px;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid var(--line-2);
  color: var(--violet-bright);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agent-steps { counter-reset: step; }

/* ═══════════ PALMA DA MÃO (mobile) ═══════════ */
.palm { display: grid; grid-template-columns: 1fr 0.85fr; gap: 70px; align-items: center; }
.palm-list { list-style: none; margin-top: 30px; }
.palm-list li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}
.palm-list li:last-child { border-bottom: 1px solid var(--line); }
.palm-list strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 3px; font-size: 1rem; }

.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone-glow {
  position: absolute;
  inset: -10% -6%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(139, 92, 246, 0.35), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.phone {
  position: relative;
  width: 288px;
  border: 1px solid var(--line-2);
  border-radius: 34px;
  background: var(--bg-2);
  padding: 12px 10px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 60px -40px rgba(139, 92, 246, 0.6);
}
.phone-notch {
  width: 92px; height: 5px;
  border-radius: 100px;
  background: rgba(167, 139, 250, 0.22);
  margin: 2px auto 12px;
}
.phone-screen {
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.ph-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  color: var(--dim);
  text-transform: uppercase;
}
.ph-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; }
.ph-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  padding: 11px 13px;
}
.ph-card small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}
.ph-card b { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.ph-card u { text-decoration: none; font-family: var(--font-mono); font-size: 0.58rem; color: var(--green-bright); margin-left: 6px; }
.ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ph-alert {
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: rgba(34, 197, 94, 0.08);
  border-radius: 11px;
  padding: 10px 12px;
  font-size: 0.72rem;
  color: var(--text);
  line-height: 1.45;
}
.ph-alert em { color: var(--green-bright); font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.ph-bar {
  height: 6px;
  border-radius: 100px;
  background: rgba(167, 139, 250, 0.14);
  overflow: hidden;
  margin-top: 9px;
}
.ph-bar span { display: block; height: 100%; background: var(--grad); border-radius: 100px; }

/* ═══════════ PASSOS ═══════════ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.step { position: relative; padding-top: 30px; }
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: -34px;
  height: 1px;
  background: var(--line);
}
.step:last-child::before { right: 0; }
.step::after {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet);
}
.step b {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--violet-bright);
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.89rem; color: var(--muted); }

/* ═══════════ FAQ ═══════════ */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 22px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.08rem; font-weight: 600; transition: color 0.2s ease; }
.faq-item summary:hover h3 { color: var(--violet-bright); }
.faq-icon { position: relative; width: 13px; height: 13px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--violet-bright);
  transition: transform 0.3s ease;
}
.faq-icon::before { top: 50%; left: 0; right: 0; height: 1.5px; }
.faq-icon::after { left: 50%; top: 0; bottom: 0; width: 1.5px; margin-left: -0.75px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-item p { color: var(--muted); font-size: 0.94rem; padding: 0 40px 24px 0; }

/* ═══════════ CTA ═══════════ */
.cta {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(139, 92, 246, 0.26), transparent 65%),
    radial-gradient(ellipse 40% 40% at 78% 60%, rgba(34, 197, 94, 0.14), transparent 65%);
}
.cta-inner { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }
.cta h2 { margin-bottom: 22px; }
.cta p { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto 38px; }
.cta .hero-ctas { justify-content: center; }

/* ═══════════ FOOTER ═══════════ */
.footer { border-top: 1px solid var(--line); background: #05040A; padding: 70px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 56px; }
.footer-brand img { height: 34px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.88rem; color: var(--muted); max-width: 300px; }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.89rem;
  margin-bottom: 11px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-base {
  border-top: 1px solid var(--line);
  padding: 22px 28px;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--dim);
}
.footer-mono { font-family: var(--font-mono); letter-spacing: 0.1em; }

/* ═══════════ RESPONSIVO ═══════════ */
@media (max-width: 1080px) {
  .console-body { grid-template-columns: 1fr 290px; }
  .c-side { display: none; }
  .float { display: none; }
  .floor { width: 260%; }
  .mods { grid-template-columns: repeat(2, 1fr); }
  .agents { grid-template-columns: 1fr; }
  .palm { grid-template-columns: 1fr; gap: 50px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::before { right: 0; }
  .faq-layout { grid-template-columns: 1fr; gap: 44px; }
  .faq-head { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .strip-row { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 13px 20px; }
  .topbar-inner { padding: 8px 20px; font-size: 0.6rem; }
  .topbar .hide-sm { display: none; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(7, 6, 13, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s;
    z-index: 95;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { font-size: 1.1rem; }
  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
  }
  .nav-burger span { width: 24px; height: 1.6px; background: var(--text); transition: transform 0.3s ease; }
  .nav-burger.open span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .nav-burger.open span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .hero { padding: 56px 0 70px; }
  .console { margin-top: 46px; }
  .console-body { grid-template-columns: 1fr; }
  .c-chat { border-left: none; border-top: 1px solid var(--line); }
  .c-kpis { grid-template-columns: 1fr; }
  .c-kanban { grid-template-columns: 1fr; }
  .c-kanban .kcol:nth-child(n+3) { display: none; }
  .section { padding: 84px 0; }
  .duel { grid-template-columns: 1fr; }
  .mods { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .strip-row { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .footer-base { flex-direction: column; text-align: center; }
  .cta { padding: 90px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
}
