:root {
  --ink: #0b1833;
  --ink-soft: #17305a;
  --paper: #f3f8fb;
  --white: #ffffff;
  --signal: #ff5a36;
  --aqua: #36c9b4;
  --sky: #b9e3f5;
  --line: #cbd9e3;
  --muted: #60738a;
  --shadow: 0 28px 80px rgba(11, 24, 51, 0.13);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(11, 24, 51, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 24, 51, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
  font-family: "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(255, 90, 54, 0.35);
  outline-offset: 3px;
}

.noscript {
  padding: 12px 20px;
  color: var(--white);
  background: var(--signal);
  text-align: center;
}

.shell {
  width: min(1280px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.topbar,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.11em;
}

.brand b { color: var(--signal); font-weight: 500; }

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 5px rgba(54, 201, 180, 0.12);
}

.view {
  display: none;
  min-height: calc(100vh - 170px);
  padding: 56px 0 72px;
}

.view.is-active { display: grid; animation: view-in 420ms ease both; }

@keyframes view-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.intro-view {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.intro-copy,
.pressure-panel,
main { min-width: 0; }

.eyebrow,
.card-label,
.stage-label,
.panel-heading,
.panel-note span,
.quiz-topline,
.disclaimer,
footer {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow { margin: 0 0 20px; color: var(--signal); }

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 { font-family: "Syne", sans-serif; }

h1 {
  max-width: 790px;
  margin-bottom: 28px;
  font-size: clamp(44px, 4.8vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  overflow-wrap: break-word;
}

h1 span { display: block; color: var(--ink-soft); }

.lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
}

.intro-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.intro-actions p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: var(--white);
  background: var(--signal);
  box-shadow: 0 12px 30px rgba(255, 90, 54, 0.22);
}

.button-primary:hover { background: #e94b29; box-shadow: 0 16px 34px rgba(255, 90, 54, 0.3); }
.button-wide { width: 100%; margin-top: 12px; }

.pressure-panel {
  overflow: hidden;
  min-height: 520px;
  padding: 24px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-heading,
.panel-note {
  display: flex;
  justify-content: space-between;
  color: var(--sky);
}

.pressure-map {
  position: relative;
  display: grid;
  gap: 28px;
  margin: 70px 0;
}

.pressure-map::before {
  content: "";
  position: absolute;
  inset: -44px 0;
  background: repeating-linear-gradient(90deg, rgba(185, 227, 245, 0.08) 0 1px, transparent 1px 25%);
  pointer-events: none;
}

.scan-line {
  position: absolute;
  z-index: 2;
  top: -42px;
  bottom: -42px;
  left: 0;
  width: 1px;
  background: var(--signal);
  box-shadow: 0 0 20px rgba(255, 90, 54, 0.75);
  animation: scan 4.8s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { transform: translateX(8px); opacity: 0.45; }
  50% { transform: translateX(390px); opacity: 1; }
}

.pressure-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 66px 1fr 26px;
  align-items: center;
  gap: 14px;
  color: var(--sky);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.pressure-row i {
  display: block;
  width: var(--preview);
  height: 15px;
  background: linear-gradient(90deg, var(--aqua), var(--sky));
  transform-origin: left;
  animation: breathe 3.4s ease-in-out infinite alternate;
}

.pressure-row:nth-child(3) i { animation-delay: -1.1s; }
.pressure-row:nth-child(4) i { animation-delay: -2.2s; }
.pressure-row:nth-child(5) i { animation-delay: -0.7s; }

@keyframes breathe { to { transform: scaleX(0.88); opacity: 0.7; } }

.pressure-row b { color: var(--signal); font-size: 17px; text-align: right; }

.panel-note { align-items: flex-end; gap: 18px; }
.panel-note span { color: var(--signal); }
.panel-note p { max-width: 270px; margin: 0; color: #b6c6d9; font-size: 12px; line-height: 1.5; }

.profile-view { place-items: center; }

.stage-label {
  position: fixed;
  left: max(20px, calc((100vw - 1280px) / 2));
  top: 48%;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left;
}

.stage-label span { color: var(--signal); }

.form-card {
  width: min(580px, 100%);
  padding: clamp(28px, 5vw, 58px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-card h2,
.question-card h2,
.results-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.form-card > p:not(.eyebrow) { margin-bottom: 34px; color: var(--muted); }

label {
  display: block;
  margin: 20px 0 8px;
  font-size: 13px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

input::placeholder { color: #92a2b3; }

.quiz-view { align-content: center; }

.quiz-topline { display: flex; justify-content: space-between; margin-bottom: 15px; color: var(--muted); }

.text-button {
  padding: 0;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.text-button:hover { color: var(--signal); }

.progress-track { width: 100%; height: 3px; margin-bottom: 56px; background: var(--line); }
.progress-track i { display: block; width: 8.333%; height: 100%; background: var(--signal); transition: width 300ms ease; }

.question-layout { display: grid; grid-template-columns: 150px 1fr; gap: clamp(30px, 6vw, 90px); }

.dimension-marker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 8px;
}

.dimension-marker span {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: var(--signal);
  border: 1px solid var(--signal);
  border-radius: 50%;
  font-family: "DM Mono", monospace;
}

.dimension-marker p { margin-top: 14px; color: var(--muted); font-size: 12px; }
.question-card { max-width: 890px; }
.question-card h2 { max-width: 820px; }
.question-help { margin-bottom: 30px; color: var(--muted); line-height: 1.6; }

.answer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.answer {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 12px 16px;
  color: var(--ink);
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  text-align: left;
  transition: border 150ms ease, background 150ms ease, transform 150ms ease;
}

.answer:hover { transform: translateY(-2px); border-color: var(--ink-soft); background: var(--white); }
.answer.is-selected { color: var(--white); background: var(--ink); border-color: var(--ink); }

.answer-index {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.answer-label { font-size: 13px; line-height: 1.45; }

.results-view { display: none; }
.results-view.is-active { display: block; }

.results-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.results-heading h2 { margin: 0; }
.results-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 16px; }

.score-card,
.map-card,
.primary-finding,
.signals-card {
  padding: clamp(24px, 3vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.score-card { text-align: center; }

.score-gauge {
  --score: 0deg;
  display: grid;
  width: 190px;
  height: 190px;
  margin: 0 auto 22px;
  padding: 15px;
  place-items: center;
  background: conic-gradient(var(--signal) var(--score), #dfe8ee 0);
  border-radius: 50%;
}

.score-gauge::before {
  content: "";
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 50%;
}

.score-gauge div { z-index: 1; grid-area: 1 / 1; }
.score-gauge strong { font-family: "Syne", sans-serif; font-size: 58px; letter-spacing: -0.08em; }
.score-gauge span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 11px; }
.score-band { margin-bottom: 8px; color: var(--signal); font-family: "DM Mono", monospace; font-size: 11px; text-transform: uppercase; }
.score-card > p:last-child { max-width: 330px; margin: 0 auto; color: var(--muted); font-size: 13px; line-height: 1.6; }

.card-label { margin-bottom: 28px; color: var(--muted); }
.result-map { display: grid; gap: 22px; }
.result-row { display: grid; grid-template-columns: 130px 1fr 42px; align-items: center; gap: 15px; }
.result-row span { font-size: 12px; font-weight: 700; }
.result-row i { overflow: hidden; height: 12px; background: #e3ecf2; }
.result-row i::after { content: ""; display: block; width: var(--value); height: 100%; background: var(--bar-color, var(--aqua)); transform-origin: left; animation: bar-in 700ms ease both; }
.result-row b { font-family: "DM Mono", monospace; font-size: 12px; text-align: right; }
@keyframes bar-in { from { transform: scaleX(0); } }

.findings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.primary-finding { color: var(--white); background: var(--ink); border-color: var(--ink); }
.primary-finding .card-label { color: var(--sky); }
.primary-finding h3 { margin-bottom: 14px; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.04em; }
.primary-finding p:last-child { margin-bottom: 0; color: #b9c8da; line-height: 1.65; }
.signals-card ol { margin: 0; padding: 0; list-style: none; counter-reset: signals; }
.signals-card li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.5; counter-increment: signals; }
.signals-card li::before { content: "0" counter(signals); color: var(--signal); font-family: "DM Mono", monospace; font-size: 10px; }

.next-step {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  margin-top: 16px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--sky);
  border-radius: var(--radius);
}

.next-step h3 { max-width: 700px; margin-bottom: 12px; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.04em; }
.next-step p:not(.eyebrow) { max-width: 720px; margin-bottom: 0; color: var(--ink-soft); line-height: 1.6; }
.disclaimer { margin: 22px 0 0; color: var(--muted); text-align: center; }

footer {
  min-height: 76px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

@media (max-width: 900px) {
  .intro-view { grid-template-columns: minmax(0, 1fr); }
  .pressure-panel { min-height: 440px; }
  .scan-line { display: none; }
  .stage-label { display: none; }
  .question-layout { grid-template-columns: 1fr; gap: 18px; }
  .dimension-marker { flex-direction: row; align-items: center; gap: 12px; }
  .dimension-marker span { width: 44px; height: 44px; }
  .dimension-marker p { margin: 0; }
  .results-grid,
  .findings-grid { grid-template-columns: 1fr; }
  .next-step { grid-template-columns: 1fr; }
  .next-step .button { width: 100%; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 32px, 1280px); }
  .topbar { min-height: 68px; }
  .status { display: none; }
  .view { min-height: calc(100vh - 145px); padding: 38px 0 50px; }
  h1 { font-size: 40px; line-height: 1.02; letter-spacing: -0.045em; }
  .intro-actions { align-items: stretch; flex-direction: column; }
  .intro-actions .button { width: 100%; }
  .pressure-panel { min-height: 410px; padding: 20px; }
  .pressure-map { margin: 58px 0; }
  .pressure-row { grid-template-columns: 55px 1fr 20px; }
  .panel-note { align-items: flex-start; flex-direction: column; }
  .answer-list { grid-template-columns: 1fr; }
  .progress-track { margin-bottom: 34px; }
  .results-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .result-row { grid-template-columns: 92px 1fr 36px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
}

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


/* --- Captura de lead (31-jul-2026) --- */
#lead-sitio { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.label-opt { opacity: .55; font-weight: 400; }
.capture-error { color: #ff6b6b; font-size: .88rem; margin: .6rem 0 0; }
.capture-skip { display: block; margin: .9rem auto 0; opacity: .6; font-size: .86rem; }
.capture-skip:hover { opacity: 1; }
#capture-submit[disabled] { opacity: .55; cursor: progress; }
