/* ==========================================================
   Fluxx Marketing — landing page
   ========================================================== */

/* Identidade única escura: grafite com leve viés frio + verde-lima elétrico como sinal de "motor ligado". */
:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-2: #0b0e14;
  --surface: #10141c;
  --surface-2: #151a24;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f5f8;
  --muted: #9aa4b4;
  --soft: #c9d0db;
  --accent: #c6f432;
  --accent-ink: #0a0d06;
  --accent-soft: rgba(198, 244, 50, 0.12);
  --accent-line: rgba(198, 244, 50, 0.4);
  --danger: #ff7a7a;

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --gutter: 24px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
  font-weight: 700;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(198, 244, 50, 0);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -10px rgba(198, 244, 50, 0.55);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-2);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1.02rem; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn--icon { width: 52px; min-height: 52px; padding: 0; background: var(--surface-2); border-color: var(--line-2); }
.btn--icon svg { width: 22px; height: 22px; }

.link-btn {
  background: none;
  border: 0;
  padding: 6px 0;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: 0.92rem;
}
.link-btn:hover { color: var(--text); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--accent-soft);
  border-bottom: 1px solid rgba(198, 244, 50, 0.18);
  font-size: 0.86rem;
  color: var(--soft);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  min-height: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: center;
}
.topbar b { color: var(--text); text-transform: capitalize; }
.topbar a { color: var(--accent); font-weight: 700; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(198, 244, 50, 0.6);
  animation: pulse 2s infinite;
  flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(198, 244, 50, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(198, 244, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 244, 50, 0); }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(7, 9, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 9, 13, 0.9); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 32px; height: 32px; fill: none; stroke-width: 3; stroke-linecap: round; }
.logo__mark path:first-child { stroke: var(--accent); }
.logo__mark path:last-child { stroke: var(--text); opacity: 0.55; }
.logo__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logo__word small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a:not(.btn) { color: var(--muted); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav a:not(.btn):hover { color: var(--text); }
.nav__cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Seções ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head p:not(.kicker) { color: var(--muted); font-size: 1.08rem; }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--soft);
  margin-bottom: 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 78% 40%, rgba(198, 244, 50, 0.1), transparent 70%),
    radial-gradient(700px 500px at 10% 0%, rgba(91, 140, 255, 0.08), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  opacity: 0.9;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  white-space: nowrap;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--soft); max-width: 580px; margin-bottom: 32px; }
.lead strong { color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.hero__proof {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hero__proof li { display: flex; flex-direction: column; gap: 2px; }
.hero__proof strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.hero__proof span { font-size: 0.82rem; color: var(--muted); line-height: 1.35; }

.hero__visual { position: relative; }

/* Diagrama do motor */
.engine { width: 100%; max-width: 480px; margin: 0 auto; overflow: visible; }
.engine .eng-t { fill: var(--text); font-family: var(--font-body); font-size: 14px; font-weight: 600; }
.engine .eng-t--strong { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.engine .eng-t--muted { fill: var(--muted); font-size: 11.5px; font-weight: 500; }
.engine .eng-t--xs { font-size: 11px; }
.engine .eng-t--btn { fill: var(--accent-ink); font-size: 11.5px; font-weight: 700; }
.engine .eng-t--ai { fill: var(--accent-ink); font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.engine .eng-t--ai-sub { fill: var(--accent-ink); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; }
.engine .eng-node rect { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.25; }
.engine .eng-ico { fill: none; stroke: var(--accent); stroke-width: 2; }
.engine .eng-card { fill: var(--surface-2); stroke: var(--line-2); stroke-width: 1.25; }
.engine .eng-divider { stroke: var(--line); }
.engine .eng-dot { fill: rgba(255, 255, 255, 0.18); }
.engine .eng-url { fill: rgba(255, 255, 255, 0.06); }
.engine .eng-btn { fill: var(--accent); }
.engine .eng-line { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.5; }
.engine .eng-arrowhead { fill: rgba(255, 255, 255, 0.35); }
.engine .eng-scan path {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.45;
  stroke-width: 1.25;
  stroke-dasharray: 3 6;
  animation: dash 1.6s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -18; } }
.engine .eng-win rect { fill: rgba(198, 244, 50, 0.12); stroke: var(--accent); stroke-width: 2; }
.engine .eng-ai__core { fill: var(--accent); }
.engine .eng-ai__ring {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.4;
  stroke-width: 1.25;
  transform-origin: 432px 300px;
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}
.engine .eng-pulse { fill: var(--accent); filter: drop-shadow(0 0 6px rgba(198, 244, 50, 0.9)); }

/* ---------- Perguntas ---------- */
.questions { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.q-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.q-card {
  position: relative;
  padding: 32px 32px 32px 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.q-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.q-card__n {
  position: absolute;
  left: 28px;
  top: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--accent);
}
.q-card p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.01em;
}
.questions__close {
  margin: 40px 0 0;
  text-align: center;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--soft);
}
.questions__close strong { color: var(--accent); }

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
}
.pillar--accent { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(198, 244, 50, 0.07) 0%, var(--bg-2) 100%); }
.pillar__tag { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.pillar--accent .pillar__tag { color: var(--accent); }
.pillar h3 { font-size: 1.4rem; margin-bottom: 8px; }
.pillar > p:not(.pillar__tag) { color: var(--muted); }

.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--soft); font-size: 0.97rem; line-height: 1.5; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23c6f432' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks b { color: var(--text); }
.checks--lg li { font-size: 1.02rem; }

/* ---------- Resultados ---------- */
.results { padding-top: 0; }
.results__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; }
.result-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: var(--surface);
}
.result-card > p:not(.result-card__label) { color: var(--muted); font-size: 1.04rem; }
.result-card .btn { margin-top: auto; }
.result-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.result-card--stat {
  justify-content: center;
  border-color: var(--accent-line);
  background:
    radial-gradient(420px 260px at 0% 100%, rgba(198, 244, 50, 0.14), transparent 70%),
    var(--surface);
}
.result-card--stat .result-card__label { color: var(--accent); }
.result-card__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 16px;
}
.result-card h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 10px; }
.case-flow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.case-flow span {
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}
.case-flow__from { border: 1px solid var(--line-2); color: var(--soft); }
.case-flow__to { background: var(--accent); color: var(--accent-ink); }
.case-flow svg { width: 48px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tecnologia ---------- */
.tech { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tech__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tech__copy > p:not(.kicker) { color: var(--muted); font-size: 1.06rem; }
.features { display: grid; gap: 24px; margin-top: 32px; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.feature__ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(198, 244, 50, 0.25);
  display: grid;
  place-items: center;
}
.feature__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.97rem; margin: 0; }

.console {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #0a0d13;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(198, 244, 50, 0.04);
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 0.86rem;
}
.console__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.console__bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.console__bar p { margin: 0 0 0 10px; color: var(--muted); font-size: 0.8rem; }
.console__body { list-style: none; margin: 0; padding: 22px 20px; display: grid; gap: 12px; }
.console__body li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  color: var(--soft);
  line-height: 1.45;
}
.console__body li::before { content: "→"; color: var(--accent); flex: none; }
.console__body li span { flex: 1; }
.console__body li b {
  flex: none;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.8rem;
}
.console__body .c-sys { color: var(--muted); justify-content: flex-start; }
.console__body .c-sys::before { content: "$"; color: var(--muted); }
.console__body .c-sys i { font-style: normal; color: var(--accent); margin-left: auto; }
.console__foot { margin: 0; padding: 12px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; font-family: var(--font-body); }

.js .console.reveal .console__body li { opacity: 0.4; transform: translateX(-6px); transition: opacity 0.4s ease, transform 0.4s ease; }
.js .console.is-visible .console__body li { opacity: 1; transform: none; }
.js .console.is-visible .console__body li:nth-child(2) { transition-delay: 0.35s; }
.js .console.is-visible .console__body li:nth-child(3) { transition-delay: 0.8s; }
.js .console.is-visible .console__body li:nth-child(4) { transition-delay: 1.1s; }
.js .console.is-visible .console__body li:nth-child(5) { transition-delay: 1.4s; }
.js .console.is-visible .console__body li:nth-child(6) { transition-delay: 1.7s; }

/* ---------- Método ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
  position: relative;
}
.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.step__n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 20px;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -17px;
  width: 18px;
  height: 1px;
  background: var(--accent-line);
}
.step p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- ROI ---------- */
.roi__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.roi__copy > p:not(.kicker) { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }
.calc {
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: var(--surface);
}
.calc__field { margin-bottom: 28px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.calc__label label { font-weight: 600; color: var(--soft); }
.calc__label output { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--text); white-space: nowrap; }
.calc__hint { margin: 8px 0 0; font-size: 0.82rem; color: var(--muted); }

input[type="range"] {
  --p: 50%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0 var(--p), rgba(255, 255, 255, 0.1) var(--p) 100%);
  outline-offset: 8px;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text);
  border: 4px solid var(--accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text);
  border: 4px solid var(--accent);
}

.calc__result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}
.calc__result > div {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.calc__result p { margin: 0 0 4px; font-size: 0.85rem; color: var(--muted); }
.calc__result strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.calc__result .calc__year { background: var(--accent-soft); border-color: var(--accent-line); }
.calc__result .calc__year strong { color: var(--accent); }
.calc__cost { margin: 20px 0 8px; color: var(--soft); }
.calc__cost b { color: var(--text); }
.calc__disclaimer { margin: 0; font-size: 0.8rem; color: var(--muted); }

/* ---------- Escassez ---------- */
.scarcity { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.scarcity__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.scarcity__grid > div:first-child > p:not(.kicker) { color: var(--muted); font-size: 1.06rem; }
.slots {
  padding: 32px;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: var(--surface);
}
.slots__title { font-weight: 700; color: var(--soft); margin-bottom: 20px; }
.slots__title span { text-transform: capitalize; }
.slots__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 20px; }
.slot {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px dashed var(--accent-line);
  background: transparent;
  position: relative;
}
.slot.is-taken {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%239aa4b4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 40% no-repeat;
}
.slot:not(.is-taken) { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 rgba(198, 244, 50, 0); background: transparent; }
  50% { box-shadow: 0 0 18px rgba(198, 244, 50, 0.25); background: var(--accent-soft); }
}
.slots__status { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 20px; }
.slots__status b { color: var(--accent); }

/* ---------- Diagnóstico ---------- */
.diagnose__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.diagnose__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.diagnose__intro > p:not(.kicker) { color: var(--muted); font-size: 1.06rem; }

.diag {
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 40px 100px -50px rgba(198, 244, 50, 0.25);
}
.diag__top { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.diag__count { margin: 0; font-size: 0.85rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.diag__progress { flex: 1; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.diag__progress span { display: block; height: 100%; width: 20%; background: var(--accent); border-radius: inherit; transition: width 0.4s ease; }

.diag fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.diag__step.is-active { animation: stepIn 0.35s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.diag legend {
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  outline: none;
}
.diag__hint { font-size: 0.88rem; color: var(--muted); margin: 14px 0 10px; }
.diag legend + .diag__hint { margin-top: -8px; }

.field {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field::placeholder { color: #6b7483; }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(198, 244, 50, 0.15); }
.chips + .field { margin-top: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.chip:hover { border-color: var(--accent-line); color: var(--text); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.scale { display: grid; grid-template-columns: repeat(11, 1fr); gap: 6px; }
.scale label { position: relative; cursor: pointer; }
.scale input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.scale span {
  display: grid;
  place-items: center;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  font-weight: 600;
  transition: all 0.2s ease;
}
.scale label:hover span { border-color: var(--accent-line); }
.scale input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.scale input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.scale__legend { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); margin-top: 8px; }

.diag__follow { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); animation: stepIn 0.35s ease; }
.diag__follow label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 12px; }
.diag__follow .chips { margin-top: 12px; }

.diag__error { margin: 16px 0 0; color: var(--danger); font-size: 0.92rem; font-weight: 600; }
.diag__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.diag__nav [data-next] { margin-left: auto; min-width: 180px; }

.diag__result { outline: none; animation: stepIn 0.4s ease; }
.diag__result h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 20px; }
.result-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.result-list li {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.result-list span { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.result-list p { margin: 0; color: var(--text); font-weight: 500; }
.result-note { color: var(--accent); font-weight: 600; margin-bottom: 20px; }
.result-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.diag__result .link-btn { display: block; margin: 12px auto 0; }
.privacy { margin: 10px 0 0; text-align: center; font-size: 0.8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--accent-line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.25s ease, margin-top 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

/* ---------- CTA final ---------- */
.final { padding: clamp(80px, 10vw, 128px) 0; position: relative; overflow: hidden; }
.final::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(198, 244, 50, 0.14), transparent);
  pointer-events: none;
}
.final__inner { position: relative; text-align: center; max-width: 820px; }
.final h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.final p { color: var(--soft); font-size: 1.12rem; margin-bottom: 32px; }
.final__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 32px; align-items: center; }
.footer__tag { margin: 0; color: var(--muted); font-size: 0.92rem; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: var(--soft); font-weight: 600; }
.footer__links a:hover { color: var(--accent); }
.footer__legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #6b7483;
  font-size: 0.82rem;
}
.footer__legal > span { margin-right: auto; }
.footer__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover { color: var(--text); }
.privacy a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Aviso de cookies ---------- */
.cookie {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  width: min(440px, calc(100% - 32px));
  padding: 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(16, 20, 28, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.8);
  animation: stepIn 0.35s ease;
}
.cookie p { margin: 0 0 16px; font-size: 0.92rem; color: var(--soft); line-height: 1.5; }
.cookie a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; gap: 8px; }
.cookie__actions .btn { flex: 1; }
.cookie-open .mobile-cta { display: none !important; }

/* ---------- Página de política ---------- */
.legal { padding-block: clamp(48px, 7vw, 88px); }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.legal__updated { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-top: 48px; }
.legal p,
.legal li { color: var(--soft); }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 0 0 1em; }
.legal strong { color: var(--text); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 8px 0 16px; }
.legal th,
.legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--soft); }
.legal th { color: var(--text); font-weight: 700; background: var(--surface); }
.legal__table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.legal__table table { margin: 0; }
.header__back { margin-left: auto; }

/* ---------- CTA fixo mobile ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(16, 20, 28, 0.92);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-cta .btn--primary { flex: 1; }
.mobile-cta.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }

/* ---------- Animação de entrada (conteúdo sempre visível; só desliza ao entrar) ---------- */
.js .reveal { transform: translateY(14px); transition: transform 0.7s ease; }
.js .reveal.is-visible { transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero__proof { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 40px) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 24px;
    background: rgba(7, 9, 13, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
  .nav__cta { display: inline-flex; margin-top: 20px; }
  .nav-toggle { display: block; margin-left: auto; }
  .header__cta { display: none; }

  .hero__grid,
  .tech__grid,
  .roi__grid,
  .scarcity__grid,
  .diagnose__grid,
  .faq__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; width: 100%; margin: 0 auto; }
  .diagnose__intro { position: static; }
  .pillars { grid-template-columns: 1fr; }
  .results__grid { grid-template-columns: 1fr; }
  .q-grid { grid-template-columns: 1fr; }

  .mobile-cta { display: flex; }
  body { padding-bottom: 84px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .topbar { font-size: 0.8rem; }
  .eyebrow { border-radius: 16px; font-size: 0.8rem; }
  .hero__ctas .btn { width: 100%; }
  .hero h1 em { white-space: normal; }
  .q-card { padding: 24px 20px 24px 64px; }
  .q-card__n { left: 20px; top: 22px; }
  .steps { grid-template-columns: 1fr; }
  .calc__result { grid-template-columns: 1fr; }
  .calc__label { flex-direction: column; gap: 4px; }
  .slots { padding: 24px; }
  .scale { grid-template-columns: repeat(6, 1fr); }
  .scale span { height: 44px; }
  .result-form { grid-template-columns: 1fr; }
  .diag__nav [data-next] { min-width: 0; flex: 1; }
  .footer__inner { grid-template-columns: 1fr; }
  .final__ctas .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; }
  .js .reveal,
  .js .console.reveal .console__body li { opacity: 1; transform: none; }
}
