:root {
  --ink: #1f2937;
  --slate: #374151;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #e8f0ff;
  --line: #d8dee6;
  --muted: #66727d;
  --surface: #ffffff;
  --surface-alt: #f4f6f9;
  --green: #0f766e;
  --red: #9b2c2c;
  --shadow: 0 24px 70px rgba(31, 41, 55, .12);
  --radius: 22px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Montserrat, Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - var(--content)) / 2));
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(216, 222, 230, .8);
  backdrop-filter: blur(14px);
}
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 11px;
  font-size: 20px;
  font-weight: 800;
}
.brand span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.brand small { color: var(--muted); font-size: 11px; }
.header-cta { color: var(--blue); font-size: 13px; font-weight: 750; text-decoration: none; }

.hero {
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  gap: 64px;
  align-items: center;
  max-width: var(--content);
  min-height: calc(100vh - 76px);
  margin: auto;
  padding: 90px 24px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
h1, h2, h3, h4 { margin-top: 0; line-height: 1.14; }
h1 { max-width: 790px; margin-bottom: 24px; font-size: clamp(42px, 5.5vw, 72px); letter-spacing: -.045em; }
h1 span { color: var(--blue); }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; }
.hero-lead { max-width: 720px; margin: 0 0 30px; color: var(--slate); font-size: 18px; }
.coverage-card {
  max-width: 760px;
  margin: 0 0 28px;
  padding: 18px 20px;
  background: #f4f7fb;
  border: 1px solid #d9e2ef;
  border-left: 4px solid var(--blue);
  border-radius: 0 13px 13px 0;
}
.coverage-heading { display: flex; gap: 10px 16px; align-items: baseline; flex-wrap: wrap; }
.coverage-heading span { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.coverage-heading strong { font-size: 14px; }
.coverage-card p { margin: 7px 0 11px; color: var(--slate); font-size: 12px; }
.coverage-card ul { display: flex; gap: 7px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.coverage-card li { padding: 5px 9px; color: #334155; background: #fff; border: 1px solid #d8e1ed; border-radius: 99px; font-size: 10.5px; font-weight: 700; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-actions span { color: var(--muted); font-size: 12px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 760;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(37, 99, 235, .22); outline-offset: 2px; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 10px 25px rgba(37, 99, 235, .22); }
.button-primary:hover { background: var(--blue-dark); }
.button-ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.button-whatsapp { color: #fff; background: #168c66; box-shadow: 0 10px 25px rgba(22, 140, 102, .22); }
.button-whatsapp:hover { background: #117655; }
.button[disabled] { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; }

.trust-list { display: flex; gap: 18px; flex-wrap: wrap; padding: 0; margin: 30px 0 0; list-style: none; }
.trust-list li { color: var(--muted); font-size: 12px; }
.trust-list li::before { content: "✓"; margin-right: 6px; color: var(--blue); font-weight: 800; }

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(37,99,235,.6), rgba(37,99,235,0) 68%);
  content: "";
}
.card-kicker { margin: 0 0 18px; color: #b8c4d4; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.mapa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mapa-grid div { display: flex; min-height: 130px; flex-direction: column; justify-content: space-between; padding: 18px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; }
.mapa-grid b { color: #4d86ff; font-size: 32px; }
.mapa-grid span { max-width: 130px; font-size: 13px; font-weight: 700; }
.hero-card-note { position: relative; z-index: 1; margin: 24px 0 0; color: #dbe4ef; font-size: 14px; }

.method-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  max-width: var(--content);
  margin: 0 auto;
  padding: 90px 24px;
  border-top: 1px solid var(--line);
}
.method-intro h2 { max-width: 620px; margin-bottom: 0; font-size: clamp(30px, 3.8vw, 46px); }
.method-intro > p { align-self: center; margin: 0; color: var(--slate); font-size: 17px; }

.diagnostic-shell { padding: 96px 24px; background: var(--surface-alt); }
.diagnostic-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.diagnostic-heading h2 { margin-bottom: 16px; }
.diagnostic-heading > p:last-child { color: var(--muted); }
.form-card { max-width: 980px; margin: auto; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.progress-wrap { margin-bottom: 32px; }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.progress-track { overflow: hidden; height: 7px; background: #e8ebf0; border-radius: 99px; }
.progress-track span { display: block; width: 17%; height: 100%; background: var(--blue); border-radius: inherit; transition: width .25s ease; }
.form-step { display: none; animation: stepIn .25s ease; }
.form-step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step-heading { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.step-heading > span { display: grid; flex: 0 0 48px; height: 48px; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 12px; font-weight: 800; }
.step-heading h3 { margin: 0 0 6px; font-size: 25px; }
.step-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.field-grid { display: grid; gap: 20px; }
.two-cols { grid-template-columns: 1fr 1fr; }
.compact-top { margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field > span { font-size: 13px; font-weight: 720; }
.field-help {
  display: block;
  min-height: 2.9em;
  margin-top: -3px;
  color: var(--muted);
  font-size: 10.8px;
  font-weight: 450;
  line-height: 1.45;
}
.field.full .field-help { min-height: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfd5dd;
  border-radius: 10px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.08); outline: none; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; color: var(--slate); font-size: 12.5px; }
.consent input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--blue); }
.consent-strong { padding: 15px; background: var(--blue-soft); border-radius: 10px; font-weight: 650; }
.privacy-note { margin-bottom: 22px; padding: 13px 15px; color: var(--slate); background: #f4f7fb; border-left: 3px solid var(--blue); border-radius: 0 9px 9px 0; font-size: 12.5px; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }

.rating-list, .profile-list { display: grid; gap: 12px; }
.rating-row, .profile-row { display: grid; grid-template-columns: minmax(210px, 1fr) auto; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.rating-copy strong, .profile-copy strong { display: block; margin-bottom: 3px; font-size: 14px; }
.rating-copy span, .profile-copy span { display: block; color: var(--muted); font-size: 11.5px; }
.rating-copy .item-explanation, .profile-copy .item-explanation {
  margin-top: 7px;
  padding: 9px 10px;
  color: #4c5b6b;
  background: #f3f6fb;
  border-left: 3px solid #8aabef;
  border-radius: 0 7px 7px 0;
  font-size: 12px;
  line-height: 1.5;
}
.item-explanation b { color: var(--ink); font-weight: 760; }
.profile-copy small { display: block; margin-top: 6px; color: #526170; font-size: 10px; line-height: 1.4; }
.score-options { display: flex; gap: 6px; }
.score-options input { position: absolute; opacity: 0; pointer-events: none; }
.score-options label { display: grid; width: 34px; height: 34px; place-items: center; color: var(--slate); background: #f7f8fa; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 12px; font-weight: 750; }
.score-options input:checked + label { color: #fff; background: var(--blue); border-color: var(--blue); }
.score-options input:focus-visible + label { outline: 3px solid rgba(37,99,235,.22); outline-offset: 2px; }
.profile-scale { display: grid; grid-template-columns: repeat(5, 38px); gap: 7px; align-items: center; }
.profile-scale input { position: absolute; opacity: 0; }
.profile-scale label { display: grid; width: 38px; height: 38px; place-items: center; background: #f7f8fa; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; font-size: 12px; font-weight: 750; }
.profile-scale input:checked + label { color: #fff; background: var(--blue); border-color: var(--blue); }
.profile-extremes { display: flex; justify-content: space-between; margin-top: 7px; color: var(--muted); font-size: 9px; }

.review-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.review-item { padding: 15px; background: var(--surface-alt); border-radius: 10px; }
.review-item span { display: block; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.review-item strong { display: block; margin-top: 5px; font-size: 14px; }
.form-error { min-height: 21px; margin-top: 18px; color: var(--red); font-size: 12px; font-weight: 650; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-nav .button-primary { margin-left: auto; }
.is-hidden { display: none !important; }

.result-panel { animation: stepIn .28s ease; }
.result-heading { display: flex; gap: 16px; align-items: center; margin-bottom: 15px; }
.result-check { display: grid; width: 52px; height: 52px; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: 24px; font-weight: 800; }
.result-heading .eyebrow { margin-bottom: 5px; }
.result-heading h3 { margin: 0; font-size: 28px; }
.save-status { margin-bottom: 20px; padding: 10px 12px; color: var(--muted); background: var(--surface-alt); border-radius: 8px; font-size: 11px; }
.save-status.is-success { color: #116149; background: #e8f7f0; }
.save-status.is-warning { color: #8a5a00; background: #fff6df; }
.result-highlight { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.result-highlight div { padding: 16px; background: var(--ink); border-radius: 11px; }
.result-highlight span { display: block; color: #aeb9c8; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.result-highlight strong { display: block; margin-top: 5px; color: #fff; font-size: 14px; }
.result-highlight .result-profile small { display: block; margin-top: 8px; color: #c9d3df; font-size: 10.5px; line-height: 1.5; }
.ranking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.ranking-grid article { padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.ranking-grid h4 { margin-bottom: 12px; font-size: 16px; }
.ranking-grid ol { display: grid; gap: 8px; padding-left: 24px; margin: 0; }
.ranking-grid li { padding-left: 3px; font-size: 12.5px; }
.ranking-grid li strong { display: block; }
.ranking-grid li span { color: var(--muted); font-size: 10.5px; }
.ranking-grid li small { display: block; margin-top: 3px; color: #526170; font-size: 9.5px; }
.briefing-box { padding: 20px; background: var(--blue-soft); border-radius: 13px; }
.briefing-box .eyebrow { margin-bottom: 7px; }
.briefing-box p:last-child { margin: 0; font-size: 16px; font-weight: 700; }
.result-warning { margin: 16px 0 0; padding: 14px; color: var(--slate); background: #fff7e5; border-radius: 10px; font-size: 12px; }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.specialist { max-width: 900px; margin: auto; padding: 110px 24px; text-align: center; }
.specialist p:not(.eyebrow) { max-width: 720px; margin: 0 auto 28px; color: var(--slate); font-size: 17px; }
footer { display: flex; gap: 30px; justify-content: space-between; align-items: flex-end; padding: 38px max(24px, calc((100vw - var(--content)) / 2)); color: #d8e0eb; background: var(--ink); }
footer div { display: flex; flex-direction: column; }
footer strong { font-size: 13px; text-transform: uppercase; }
footer span, footer p { color: #aeb9c8; font-size: 10px; }
footer p { max-width: 480px; margin: 0; text-align: right; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 44px; padding-top: 70px; }
  .hero-card { max-width: 620px; }
  .method-intro { grid-template-columns: 1fr; gap: 25px; }
  .rating-row, .profile-row { grid-template-columns: 1fr; }
  .score-options { flex-wrap: wrap; }
}

@media (max-width: 650px) {
  .site-header { min-height: 66px; padding-inline: 16px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand small { display: none; }
  .header-cta { font-size: 12px; }
  .hero { padding: 60px 18px 74px; }
  h1 { font-size: 42px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-list { flex-direction: column; gap: 8px; }
  .mapa-grid div { min-height: 112px; }
  .method-intro { padding: 68px 18px; }
  .diagnostic-shell { padding: 72px 12px; }
  .form-card { padding: 22px 16px; border-radius: 16px; }
  .two-cols, .review-summary, .result-highlight, .ranking-grid { grid-template-columns: 1fr; }
  .field-help { min-height: 0; }
  .step-heading { gap: 12px; }
  .step-heading > span { flex-basis: 42px; height: 42px; }
  .step-heading h3 { font-size: 21px; }
  .rating-row, .profile-row { padding: 14px 12px; }
  .score-options { gap: 5px; }
  .score-options label { width: 32px; height: 32px; }
  .profile-scale { grid-template-columns: repeat(5, 36px); }
  .profile-scale label { width: 36px; height: 36px; }
  .form-nav { position: sticky; z-index: 5; bottom: 0; padding: 14px 0 0; background: #fff; }
  .form-nav .button { min-width: 112px; }
  .result-actions { flex-direction: column; }
  .result-actions .button { width: 100%; }
  footer { align-items: flex-start; flex-direction: column; }
  footer p { text-align: left; }
}

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