/* ==========================================================================
   VEXA — DIAGNÓSTICO (página de qualificação para tráfego pago)
   Referência visual: stepper com nó brilhante, cards de vidro, raios de luz.
   ========================================================================== */

:root {
  --bg: #050505;
  --bg-2: #0d0f0e;
  --green: #16c784;
  --green-deep: #0b8f61;
  --green-glow: rgba(22, 199, 132, 0.45);
  --blue: #3b82f6;
  --orange: #f97316;
  --text: #f4f7f5;
  --text-2: rgba(244, 247, 245, 0.72);
  --text-3: rgba(244, 247, 245, 0.45);
  --line: rgba(255, 255, 255, 0.09);
  --glass: rgba(18, 22, 20, 0.55);
  --glass-hi: rgba(28, 34, 31, 0.7);
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { display: block; }
kbd {
  font-family: inherit; font-size: 0.72em; font-weight: 700;
  padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line); background: rgba(255,255,255,0.04);
}
.hl { color: var(--green); text-shadow: 0 0 34px var(--green-glow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- AMBIENTE ---------- */
.fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx-rays { position: absolute; inset: -30%; filter: blur(16px); opacity: 1; }
/* Feixes nítidos saindo do centro (efeito "explosão de luz" da referência) */
.fx-burst {
  position: absolute; left: 50%; top: 62%;
  width: 180vmax; height: 180vmax; margin: -90vmax 0 0 -90vmax;
  background:
    repeating-conic-gradient(from 0deg, rgba(56,189,248,0.22) 0deg 0.6deg, transparent 0.6deg 7deg),
    repeating-conic-gradient(from 3deg, rgba(22,199,132,0.2) 0deg 0.4deg, transparent 0.4deg 11deg),
    repeating-conic-gradient(from 5deg, rgba(249,115,22,0.16) 0deg 0.5deg, transparent 0.5deg 17deg);
  -webkit-mask: radial-gradient(circle, #000 0%, rgba(0,0,0,0.6) 18%, transparent 46%);
  mask: radial-gradient(circle, #000 0%, rgba(0,0,0,0.6) 18%, transparent 46%);
  filter: blur(1.2px);
  animation: spin 120s linear infinite;
  opacity: 0.9;
}
.ray {
  position: absolute; left: 50%; top: 50%;
  width: 140vmax; height: 140vmax; margin: -70vmax 0 0 -70vmax;
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: spin 38s linear infinite;
}
.r1 { background: conic-gradient(from 0deg, transparent 0 18%, rgba(59,130,246,0.5) 21%, transparent 24% 62%, rgba(22,199,132,0.45) 65%, transparent 68%); }
.r2 { background: conic-gradient(from 120deg, transparent 0 30%, rgba(249,115,22,0.42) 33%, transparent 36% 80%, rgba(59,130,246,0.36) 83%, transparent 86%); animation-duration: 54s; animation-direction: reverse; }
.r3 { background: conic-gradient(from 240deg, transparent 0 46%, rgba(22,199,132,0.38) 49%, transparent 52%); animation-duration: 70s; }
.r4 { background: conic-gradient(from 60deg, transparent 0 8%, rgba(147,51,234,0.16) 11%, transparent 15% 55%, rgba(249,115,22,0.14) 58%, transparent 62%); animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.fx-core {
  position: absolute; left: 50%; top: 58%;
  width: 70vmin; height: 70vmin; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(22,199,132,0.22) 0%, rgba(59,130,246,0.12) 35%, transparent 70%);
  filter: blur(30px);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.75; } }
#fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-grain {
  position: absolute; inset: 0; opacity: 0.06;
  background-image: radial-gradient(rgba(255,255,255,0.7) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(5,5,5,0.85) 100%);
}

/* ---------- TOPO ---------- */
.top {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px clamp(16px, 4vw, 40px);
}
.brand img { height: 26px; width: auto; mix-blend-mode: screen; }
.top-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em; color: var(--text-2);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.top-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { transform: scale(1.4); opacity: 0.6; } }

/* ---------- LAYOUT ---------- */
.shell {
  position: relative; z-index: 2;
  width: 100%; max-width: 1080px; margin: 0 auto;
  padding: 2vh clamp(16px, 4vw, 40px) 60px;
  display: grid; grid-template-columns: 1fr; gap: 40px;
  min-height: calc(100vh - 80px); min-height: calc(100dvh - 80px);
  align-items: center;
}
.shell.has-stepper { grid-template-columns: 250px minmax(0, 1fr); }

/* ---------- STEPPER (inspirado na referência) ---------- */
.stepper { position: relative; align-self: center; }
.stepper[hidden] { display: none; }
.stepper ol { list-style: none; display: flex; flex-direction: column; gap: 14px; position: relative; }
.stepper-rail {
  position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px;
  background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden;
}
.stepper-fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 0;
  background: linear-gradient(180deg, var(--green), #38bdf8);
  box-shadow: 0 0 12px var(--green);
  transition: height 0.7s var(--ease);
}
.st-item {
  display: flex; align-items: center; gap: 12px;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.st-node {
  position: relative; z-index: 1;
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.86rem; font-weight: 800; color: var(--text-3);
  background: #121614; border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.45s var(--ease);
}
.st-node svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.st-pill {
  flex: 1; min-width: 0;
  font-size: 0.82rem; font-weight: 700; color: var(--text-3);
  padding: 11px 14px; border-radius: 14px;
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: all 0.45s var(--ease);
}
.st-item.done .st-node { background: var(--green); border-color: var(--green); color: #04110b; box-shadow: 0 0 18px rgba(22,199,132,0.45); }
.st-item.done .st-pill { color: var(--text-2); }
.st-item.current .st-node {
  color: #fff; background: radial-gradient(circle at 35% 30%, #2fe0a0, var(--green-deep));
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 0 0 6px rgba(22,199,132,0.16), 0 0 30px 6px rgba(22,199,132,0.55);
  transform: scale(1.08);
}
.st-item.current .st-node::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px solid rgba(22,199,132,0.55);
  animation: ring 1.8s var(--ease) infinite;
}
@keyframes ring { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.st-item.current .st-pill {
  color: #fff; background: linear-gradient(90deg, rgba(22,199,132,0.22), rgba(56,189,248,0.1));
  border-color: rgba(22,199,132,0.5);
  box-shadow: 0 0 24px rgba(22,199,132,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}
.st-item.todo { opacity: 0.6; }

/* ---------- PALCO / TELAS ---------- */
.stage { position: relative; width: 100%; max-width: 640px; justify-self: center; }
.screen { display: none; }
.screen.is-active { display: block; }

.glass {
  position: relative;
  background: linear-gradient(180deg, var(--glass-hi), var(--glass));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
}
.glass::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(22,199,132,0.6), transparent 35%, transparent 65%, rgba(59,130,246,0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* CAPA */
.screen-intro { text-align: center; padding: 4vh 0; }
.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); padding: 7px 14px; border-radius: 999px;
  background: rgba(22,199,132,0.1); border: 1px solid rgba(22,199,132,0.3); margin-bottom: 22px;
}
.intro-title { font-size: clamp(2.1rem, 6.2vw, 3.6rem); font-weight: 900; line-height: 1.06; letter-spacing: -0.035em; margin-bottom: 18px; }
.intro-sub { font-size: clamp(1rem, 2.4vw, 1.15rem); color: var(--text-2); max-width: 520px; margin: 0 auto 32px; }
.intro-sub strong { color: var(--text); }
.intro-proof { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; }
.intro-proof li { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; color: var(--text-3); }
.intro-proof svg { width: 15px; height: 15px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* CTA */
.cta {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 1.02rem; font-weight: 800; letter-spacing: 0.01em;
  color: #04110b; text-decoration: none;
  padding: 18px 34px; border-radius: 16px;
  background: linear-gradient(180deg, #2ee3a0, var(--green));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset, 0 12px 40px rgba(22,199,132,0.45), 0 0 60px rgba(22,199,132,0.25);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.cta::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.cta:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,0.25) inset, 0 18px 50px rgba(22,199,132,0.55), 0 0 80px rgba(22,199,132,0.35); }
.cta:active { transform: translateY(0) scale(0.98); }
.cta:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.cta:disabled::after { display: none; }
.cta-block { width: 100%; }
.cta-ghost {
  color: var(--text); background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14) inset; font-size: 0.92rem; padding: 14px 22px;
}
.cta-ghost::after { display: none; }
.cta-ghost:hover { box-shadow: 0 0 0 1px rgba(22,199,132,0.5) inset, 0 0 30px rgba(22,199,132,0.2); }

/* PERGUNTA */
.q-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; min-height: 32px; }
.q-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 700; color: var(--text-3);
  padding: 6px 10px 6px 6px; border-radius: 10px; transition: color 0.2s, background 0.2s;
}
.q-back:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.q-back[hidden] { visibility: hidden; display: inline-flex; }
.q-count { font-size: 0.78rem; font-weight: 700; color: var(--text-3); letter-spacing: 0.04em; }
.q-progress { height: 3px; border-radius: 3px; background: rgba(255,255,255,0.07); overflow: hidden; margin-bottom: 18px; }
.q-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green-deep), var(--green), #38bdf8); box-shadow: 0 0 12px var(--green); transition: width 0.6s var(--ease); }
.q-card { padding: clamp(24px, 4vw, 38px); }
.q-title { font-size: clamp(1.4rem, 3.6vw, 1.95rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 8px; }
.q-sub { font-size: 0.92rem; color: var(--text-2); margin-bottom: 24px; }
.q-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-options.cols-1 { grid-template-columns: 1fr; }
.opt {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px; text-align: left;
  min-height: 68px; padding: 14px 16px; border-radius: 16px;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem; font-weight: 700; color: var(--text);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
  will-change: transform;
}
.opt::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.25s;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(22,199,132,0.22), transparent 60%);
}
.opt:hover, .opt:focus-visible { border-color: rgba(22,199,132,0.55); background: rgba(22,199,132,0.06); box-shadow: 0 0 28px rgba(22,199,132,0.18); outline: none; }
.opt:hover::before, .opt:focus-visible::before { opacity: 1; }
.opt-icon {
  position: relative; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center; color: var(--green);
  background: rgba(22,199,132,0.1); border: 1px solid rgba(22,199,132,0.25);
  transition: all 0.25s;
}
.opt-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.opt-label { position: relative; flex: 1; line-height: 1.3; }
.opt-key {
  position: relative; font-size: 0.7rem; font-weight: 800; color: var(--text-3);
  width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
}
.opt.is-picked { border-color: var(--green); background: rgba(22,199,132,0.16); box-shadow: 0 0 0 1px var(--green) inset, 0 0 40px rgba(22,199,132,0.35); }
.opt.is-picked .opt-icon { background: var(--green); color: #04110b; box-shadow: 0 0 20px var(--green-glow); }
.opt.is-dim { opacity: 0.35; }
.q-hint { text-align: center; font-size: 0.74rem; color: var(--text-3); margin-top: 16px; }

/* CONTATO */
.contact-card { display: flex; flex-direction: column; gap: 14px; }
.contact-card .q-sub { margin-bottom: 6px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-size: 0.76rem; font-weight: 700; color: var(--text-2); letter-spacing: 0.03em; }
.field input {
  width: 100%; font: inherit; font-size: 1.02rem; font-weight: 600; color: var(--text);
  padding: 15px 16px; border-radius: 14px; outline: none;
  background: rgba(5,7,6,0.6); border: 1px solid rgba(255,255,255,0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: var(--text-3); font-weight: 500; }
.field input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(22,199,132,0.15), 0 0 24px rgba(22,199,132,0.2); }
.field input.is-invalid { border-color: rgba(239,68,68,0.75); }
.more-toggle { align-self: flex-start; font-size: 0.82rem; font-weight: 700; color: var(--green); padding: 2px 0; }
.more { display: flex; flex-direction: column; gap: 14px; }
.more[hidden] { display: none; }
.field-error { min-height: 1em; font-size: 0.82rem; font-weight: 600; color: #f87171; }
.field-error:empty { display: none; }
.consent { font-size: 0.72rem; color: var(--text-3); line-height: 1.45; text-align: center; }

/* ANALISANDO */
.screen-analyze { text-align: center; padding: 4vh 0; }
.scan { position: relative; width: 170px; height: 170px; margin: 0 auto 26px; }
.scan-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.scan-track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 6; }
.scan-bar { fill: none; stroke: var(--green); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; filter: drop-shadow(0 0 8px var(--green)); }
.scan-orb {
  position: absolute; inset: 26px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(46,227,160,0.45), rgba(11,143,97,0.15) 55%, transparent 70%);
  box-shadow: 0 0 60px rgba(22,199,132,0.35) inset;
  animation: breatheOrb 1.6s ease-in-out infinite;
}
@keyframes breatheOrb { 50% { transform: scale(0.92); } }
.scan-pct { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; font-weight: 900; letter-spacing: -0.03em; }
.analyze-title { font-size: 1.5rem; font-weight: 900; margin-bottom: 18px; }
.analyze-steps { list-style: none; display: inline-flex; flex-direction: column; gap: 10px; text-align: left; }
.analyze-steps li {
  display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 600; color: var(--text-3);
  transition: color 0.3s;
}
.analyze-steps li::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15); transition: all 0.3s;
}
.analyze-steps li.on { color: var(--text); }
.analyze-steps li.on::before { border-color: var(--green); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.analyze-steps li.ok { color: var(--text-2); }
.analyze-steps li.ok::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 10px var(--green-glow); animation: none; }

/* RESULTADO */
.screen-book, .screen-done, .screen-thanks, .screen-error { text-align: center; }
.result-badge {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #04110b; background: var(--green); padding: 7px 14px; border-radius: 999px;
  box-shadow: 0 0 30px var(--green-glow);
}
.result-badge svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.result-title { font-size: clamp(1.6rem, 4.6vw, 2.4rem); font-weight: 900; letter-spacing: -0.025em; line-height: 1.12; margin-bottom: 12px; }
.result-sub { font-size: 1rem; color: var(--text-2); max-width: 520px; margin: 0 auto 24px; }
.result-sub strong { color: var(--text); }
.book-card { padding: 20px; text-align: left; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.days::-webkit-scrollbar { display: none; }
.day {
  flex: 0 0 auto; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 72px; padding: 10px 12px; border-radius: 14px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.25s var(--ease);
}
.day b { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.day span { font-size: 1.05rem; font-weight: 800; }
.day small { font-size: 0.66rem; color: var(--text-3); font-weight: 600; }
.day.is-on { border-color: var(--green); background: rgba(22,199,132,0.14); box-shadow: 0 0 24px rgba(22,199,132,0.25); }
.day.is-on b { color: var(--green); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; min-height: 52px; }
.time {
  padding: 13px 8px; border-radius: 12px; font-weight: 800; font-size: 0.98rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s var(--ease);
}
.time:hover { border-color: rgba(22,199,132,0.55); }
.time.is-on { background: var(--green); color: #04110b; border-color: var(--green); box-shadow: 0 0 26px var(--green-glow); transform: scale(1.03); }
.book-note { font-size: 0.74rem; color: var(--text-3); margin: 14px 0; text-align: center; }
.book-empty { grid-column: 1 / -1; font-size: 0.9rem; color: var(--text-2); text-align: center; padding: 12px; }
.alt-link { display: inline-block; margin-top: 18px; font-size: 0.86rem; font-weight: 700; color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.alt-link:hover { color: var(--green); }

.done-check { width: 92px; height: 92px; margin: 0 auto 22px; }
.done-check svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.done-check circle { stroke: var(--green); stroke-width: 3; fill: rgba(22,199,132,0.12); stroke-dasharray: 151; stroke-dashoffset: 151; filter: drop-shadow(0 0 12px var(--green)); }
.done-check path { stroke: var(--green); stroke-width: 4; stroke-dasharray: 40; stroke-dashoffset: 40; }
.screen.is-active .done-check circle { animation: draw 0.8s var(--ease) forwards; }
.screen.is-active .done-check path { animation: draw 0.5s 0.55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-check.thanks circle { stroke: #38bdf8; fill: rgba(56,189,248,0.1); filter: drop-shadow(0 0 12px #38bdf8); }
.done-check.thanks path { stroke: #38bdf8; }
.done-when { font-size: 1.15rem; font-weight: 800; color: var(--green); margin-bottom: 10px; }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.burst { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 50; pointer-events: none; }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 880px) {
  .shell.has-stepper { grid-template-columns: 1fr; gap: 18px; align-items: start; padding-top: 0; }
  .stepper { align-self: start; }
  .stepper ol { flex-direction: row; justify-content: space-between; gap: 0; }
  .stepper-rail { left: 18px; right: 18px; top: 17px; bottom: auto; width: auto; height: 2px; }
  .stepper-fill { height: 100% !important; width: var(--fill, 0%); transition: width 0.7s var(--ease); }
  .st-item { flex-direction: column; gap: 0; }
  .st-pill { display: none; }
  .st-node { width: 36px; height: 36px; font-size: 0.78rem; }
  .st-node svg { width: 15px; height: 15px; }
  .st-item.current .st-node { box-shadow: 0 0 0 4px rgba(22,199,132,0.16), 0 0 22px 4px rgba(22,199,132,0.5); }
}
@media (max-width: 560px) {
  .top { padding: 14px 16px; }
  .top-badge { font-size: 0.68rem; padding: 6px 10px; }
  .shell { padding: 0 16px 40px; min-height: calc(100dvh - 64px); }
  .q-options { grid-template-columns: 1fr; gap: 10px; }
  .opt { min-height: 60px; padding: 12px 14px; font-size: 0.93rem; }
  .opt-key, .q-hint { display: none; }
  .q-card { padding: 22px 18px; }
  .cta { width: 100%; padding: 17px 22px; }
  .intro-proof { gap: 8px 14px; }
  .stepper ol { gap: 0; }
  .st-node { width: 30px; height: 30px; font-size: 0.72rem; }
  .stepper-rail { top: 14px; left: 15px; right: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .ray, .fx-core { animation: none !important; }
}

.other-box { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.other-box[hidden] { display: none; }
