/* ==========================================================================
   Diagnóstico do Atleta Híbrido — mesma identidade do site
   Fundo branco, tinta quase preta, verde volt só nos destaques.
   ========================================================================== */
:root {
  --ink: #0E0F0C;
  --ink-2: #2A2C27;
  --muted: #62655D;
  --faint: #6B6E67;
  --line: #E6E7E2;
  --bg: #FFFFFF;
  --soft: #F5F6F2;
  --volt: #BEF800;
  --volt-deep: #4E6B00;
  --volt-tint: #F1FDCC;
  --font: "Neue Montreal", "Inter Tight", Inter, system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--ink); font-family: var(--font);
  background: radial-gradient(110% 50% at 50% -12%, var(--volt-tint), transparent 62%), var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
a { color: inherit; }

.qz { max-width: 560px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: 0 18px calc(28px + env(safe-area-inset-bottom)); }

.qz-top { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; height: 64px; }
.qz-back { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.qz-back:hover { color: var(--ink); border-color: var(--ink); }
.qz-back[hidden] { display: grid; visibility: hidden; }
.qz-logo { justify-self: center; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; letter-spacing: -0.02em; }
.qz-logo b { font-weight: 500; }

.qz-progress { margin-bottom: 8px; }
.qz-progress-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; min-height: 16px; }
.qz-progress-row #qz-step { color: var(--ink); font-weight: 500; }
.qz-progress-row #qz-hint { color: var(--volt-deep); text-align: right; font-weight: 500; }
.qz-bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.qz-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--ink); transition: width .45s cubic-bezier(.2,.8,.2,1); position: relative; }
.qz-bar i::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 18px; border-radius: inherit; background: var(--volt); }

.qz-stage { position: relative; flex: 1; display: grid; }
.qz-screen { grid-area: 1 / 1; padding: 18px 0 8px; transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.qz-screen.enter { opacity: 0; transform: translateX(28px); }
.qz-screen.enter-back { opacity: 0; transform: translateX(-28px); }
.qz-screen.leave { opacity: 0; transform: translateX(-28px); pointer-events: none; }
.qz-screen.leave-back { opacity: 0; transform: translateX(28px); pointer-events: none; }
.qz-screen [tabindex="-1"]:focus { outline: none; }

/* Botão principal: mesmo estilo do site (tinta + seta verde) */
.qz-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 16px 22px; border: 0; border-radius: 14px; cursor: pointer; text-decoration: none;
  font-size: 16.5px; font-weight: 500; color: #fff; background: var(--ink);
  box-shadow: 0 14px 34px -18px rgba(14,15,12,.55);
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.qz-btn:hover { transform: translateY(-2px); background: #000; }
.qz-btn::after {
  content: ""; position: absolute; top: 0; left: -90px; width: 60px; height: 100%; transform: skewX(-20deg);
  background: rgba(190,248,0,.35); filter: blur(10px); animation: qz-shine 2.8s ease-in-out infinite;
}
@keyframes qz-shine { 0%, 55% { left: -90px; } 100% { left: 110%; } }
.qz-btn-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--volt); color: var(--ink); }
.qz-btn--full { width: 100%; }
.qz-btn:disabled { opacity: .3; cursor: not-allowed; box-shadow: none; transform: none; }
.qz-btn:disabled::after { display: none; }
.qz-btn.is-loading { opacity: .7; }

.qz-micro { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.qz-micro svg { color: var(--volt-deep); }
.center { text-align: center; justify-content: center; }

/* Abertura */
.qz-intro { display: flex; flex-direction: column; align-items: flex-start; padding-top: 6px; }
.qz-author { display: flex; align-items: center; gap: 12px; padding: 7px 16px 7px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; line-height: 1.35; color: var(--muted); margin-bottom: 26px; box-shadow: 0 10px 24px -18px rgba(14,15,12,.4); }
.qz-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 56% 18%; }
.qz-author b { color: var(--ink); font-weight: 500; }
.qz-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.qz-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 3px var(--volt-tint); }
.qz-h1 { font-size: clamp(30px, 8.4vw, 42px); font-weight: 500; line-height: 1.06; letter-spacing: -0.035em; }
.qz-h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--volt) 62%, var(--volt) 92%, transparent 92%); padding: 0 .04em; }
.qz-lead { margin: 16px 0 28px; font-size: 16.5px; line-height: 1.55; color: var(--muted); }
.qz-lead b { color: var(--ink); font-weight: 500; }
.qz-intro .qz-btn { width: 100%; }
.qz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.qz-chips span { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: var(--soft); color: var(--muted); }

/* Pergunta */
.qz-h2 { font-size: clamp(23px, 6.2vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; }
.qz-sub { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.qz-opts { display: grid; gap: 10px; margin-top: 22px; }
.qz-opt {
  display: grid; grid-template-columns: 40px 1fr 24px; align-items: center; gap: 14px; text-align: left;
  min-height: 64px; padding: 12px 14px; border-radius: 16px; cursor: pointer;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
  animation: qz-in .4s both cubic-bezier(.2,.8,.2,1); animation-delay: var(--d, 0ms);
}
@keyframes qz-in { from { opacity: 0; transform: translateY(8px); } }
.qz-opt:hover { border-color: var(--ink); box-shadow: 0 14px 30px -22px rgba(14,15,12,.5); }
.qz-opt:active { transform: scale(.985); }
.qz-opt-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--ink); }
.qz-opt-txt b { display: block; font-size: 16px; font-weight: 500; line-height: 1.3; }
.qz-opt-txt small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.qz-opt-check { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; transition: all .2s; }
.qz-opt.is-picked { background: var(--volt-tint); border-color: var(--volt-deep); box-shadow: 0 0 0 3px var(--volt-tint); transform: scale(1.01); }
.qz-opt.is-picked .qz-opt-ic { background: var(--volt); color: var(--ink); }
.qz-opt.is-picked .qz-opt-check { background: var(--ink); border-color: var(--ink); color: var(--volt); }
.qz-opt:focus-visible, .qz-btn:focus-visible, .qz-back:focus-visible, .qz-consent input:focus-visible { outline: 3px solid var(--volt-deep); outline-offset: 3px; }

/* Micro-validação */
.qz-toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 20;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 11px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.5); transition: opacity .25s, transform .25s; max-width: calc(100% - 36px);
}
.qz-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Processamento */
.qz-proc { display: flex; flex-direction: column; align-items: center; padding-top: 8vh; }
.qz-ring { position: relative; width: 132px; height: 132px; margin-bottom: 34px; isolation: isolate; }
.qz-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.qz-ring circle { fill: none; stroke-width: 8; }
.qz-ring .trk { stroke: var(--line); }
.qz-ring .val { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; }
.qz-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
.qz-ring::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: var(--volt-tint); z-index: -1; }
.qz-proc-list { display: grid; gap: 14px; width: 100%; max-width: 340px; }
.qz-proc-list li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--muted); opacity: .4; transition: opacity .3s, color .3s; }
.qz-proc-list li svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; border: 1.5px solid var(--line); color: transparent; transition: all .3s; }
.qz-proc-list li.is-on { opacity: 1; color: var(--ink); }
.qz-proc-list li.is-done svg { background: var(--volt); border-color: var(--volt); color: var(--ink); }

/* Prévia + captura */
.qz-ok { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--volt-deep); }
.qz-ok svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--volt); color: var(--ink); }
.qz-cap .qz-sub { margin: 8px 0 18px; }
.qz-profile { position: relative; padding: 22px; border-radius: 20px; background: var(--ink); color: #fff; box-shadow: 0 30px 60px -36px rgba(14,15,12,.6); }
.qz-profile-k { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.qz-profile-name { display: block; margin: 6px 0 10px; font-size: 28px; font-weight: 500; letter-spacing: -0.03em; color: var(--volt); }
.qz-profile p { font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.85); }
.qz-locked { position: relative; margin-top: 10px; padding: 16px 20px; border-radius: 18px; background: var(--soft); border: 1px dashed #CFD1C9; }
.qz-locked .qz-profile-k { color: var(--muted); }
.qz-blur { display: block; margin-top: 6px; font-size: 22px; font-weight: 500; filter: blur(7px); user-select: none; }
.qz-lock-ic { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--volt); }

.qz-form { margin-top: 22px; display: grid; gap: 12px; }
.qz-form-title { font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; margin-bottom: 4px; }
.qz-field { position: relative; display: block; }
.qz-field input {
  width: 100%; height: 58px; padding: 22px 16px 8px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font: inherit; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.qz-field span { position: absolute; left: 16px; top: 19px; font-size: 16px; color: var(--faint); pointer-events: none; transition: all .18s ease; }
.qz-field input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px var(--volt-tint); }
.qz-field input:focus + span, .qz-field input:not(:placeholder-shown) + span { top: 9px; font-size: 11.5px; letter-spacing: .04em; color: var(--volt-deep); }
.qz-field small { display: block; margin: 6px 4px 0; font-size: 12.5px; color: var(--faint); }
.qz-field.is-error input { border-color: #D9534F; box-shadow: 0 0 0 4px #FDECEA; }
.qz-consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; margin: 4px 0 6px; }
.qz-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.qz-consent a { color: var(--volt-deep); font-weight: 500; }
.qz-founder { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--volt-tint); border: 1px solid rgba(78,107,0,.18); font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.qz-founder svg { flex: none; margin-top: 2px; color: var(--volt-deep); }
.qz-founder b { color: var(--ink); font-weight: 500; }

/* Resultado */
.qz-res .qz-h2 { margin: 12px 0 20px; }
.qz-pair { display: grid; gap: 10px; }
.qz-profile--2 { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.qz-profile--2 .qz-profile-k { color: var(--muted); }
.qz-profile--2 .qz-profile-name { color: var(--ink); font-size: 22px; }
.qz-profile--2 p { color: var(--muted); }
.qz-read { margin-top: 20px; display: grid; gap: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.qz-read b { color: var(--ink); font-weight: 500; }
.qz-fit { margin-top: 22px; padding: 18px; border-radius: 18px; background: var(--soft); }
.qz-fit-t { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.qz-fit ul { display: grid; gap: 10px; }
.qz-fit li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.qz-fit li svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--volt); color: var(--ink); }
.qz-next { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; margin: 22px 0 16px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.qz-next img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 56% 18%; border: 2px solid var(--volt); }
.qz-next b { color: var(--ink); font-weight: 500; }

@media (min-width: 700px) {
  .qz { padding-top: 12px; }
  .qz-screen { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .qz-screen, .qz-opt, .qz-bar i { transition: none; animation: none; }
  .qz-btn::after { display: none; }
}

/* Prova na abertura */
.qz-proof { margin-top: 10px; font-size: 13px; color: var(--muted); }
.qz-proof b { color: var(--ink); font-weight: 600; }

/* Tela de insight (Efeito Interferência) */
.qz-insight { display: flex; flex-direction: column; }
.qz-insight .qz-h2 { margin-bottom: 18px; }
.qz-insight-viz { padding: 18px; border-radius: 18px; background: var(--ink); color: #fff; display: grid; gap: 12px; margin-bottom: 18px; }
.qz-insight-viz div { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 12px; font-size: 13px; color: rgba(255,255,255,.7); }
.qz-insight-viz .bar { display: block; height: 10px; border-radius: 999px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.qz-insight-viz .bar::after { content: ""; position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--volt); animation: qz-tug 2.4s ease-in-out infinite alternate; }
.qz-insight-viz .bar.a::after { width: 70%; }
.qz-insight-viz .bar.b::after { width: 30%; animation-direction: alternate-reverse; background: #fff; }
@keyframes qz-tug { from { transform: scaleX(.45); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.qz-insight-viz p { font-size: 12.5px; color: rgba(255,255,255,.55); }
.qz-insight-body { font-size: 16px; line-height: 1.6; color: var(--muted); }
.qz-insight-body b { color: var(--ink); font-weight: 500; background: linear-gradient(transparent 62%, var(--volt) 62%, var(--volt) 92%, transparent 92%); }
.qz-insight-note { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 22px; font-size: 14px; color: var(--ink-2); }
.qz-insight-note svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--volt); margin-top: 1px; }

/* Análise mais longa e personalizada */
.qz-proc-title { margin: -14px 0 22px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.qz-proc-title.is-done { color: var(--volt-deep); }
.qz-proc-list { gap: 12px; max-width: 380px; }
.qz-proc-list li { align-items: flex-start; }
.qz-proc-list li span { display: grid; gap: 2px; }
.qz-proc-list li b { font-weight: 500; font-size: 15px; }
.qz-proc-list li small { font-size: 13px; color: var(--muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .4s ease; }
.qz-proc-list li.is-on small { max-height: 40px; opacity: 1; }
.qz-proc-list li.is-on:not(.is-done) b::after { content: "…"; animation: qz-dots 1s steps(3) infinite; }
@keyframes qz-dots { 0% { opacity: .3; } 50% { opacity: 1; } 100% { opacity: .3; } }

/* Explosão de comemoração */
.qz-burst { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 30; }

/* Boa notícia */
.qz-good { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: var(--volt-tint); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.qz-good svg { flex: none; margin-top: 2px; color: var(--volt-deep); }

/* Plano de 12 semanas no resultado */
.qz-plan { margin-top: 22px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.qz-phases { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; position: relative; }
.qz-phases li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; position: relative; }
.qz-phases li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: -14px; width: 2px; background: var(--line); }
.qz-ph-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--volt); font-size: 13px; font-weight: 600; }
.qz-phases b { display: block; font-size: 16px; font-weight: 500; }
.qz-phases b small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.qz-phases p { margin-top: 2px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.qz-goal { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.qz-goal b { color: var(--ink); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .qz-insight-viz .bar::after, .qz-proc-list li b::after { animation: none; } }
