/* ============================================================================
   No Volante 2026 — Quiz V2 (Paleta Oficial do Jogo "No Volante 2026")
   #05060a / #090d1c Azul-Noite | #0b122c Surface | #ffc629 Ouro Trânsito
   #2fd27a Verde Aprovado       | #4a7bff Azul HUD | #ff4747 Alerta EXCETO
   ============================================================================ */
:root {
  --nv-bg: #05060a;
  --nv-navy: #090d1c;
  --nv-surface: rgba(11, 18, 44, 0.86);
  --nv-gold: #ffc629;
  --nv-gold-hi: #ffd23f;
  --nv-green: #2fd27a;
  --nv-blue: #4a7bff;
  --nv-red: #ff4747;
  --nv-ink: #f6f3ea;
  --nv-muted: #a8b7d4;
  --nv-border: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body, #root { height: 100%; height: 100dvh; background: var(--nv-bg); color: var(--nv-ink); font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; overflow: hidden; }
::selection { background: var(--nv-gold); color: #090d1c; }

.nv-shell { display: flex; align-items: center; justify-content: center; width: 100%; height: 100dvh; background: var(--nv-bg); }
.nv-phone { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 440px; height: 100dvh; overflow: hidden; background: var(--nv-navy); }
.nv-bg-grad { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 0%, rgba(74, 123, 255, 0.22) 0%, transparent 48%), radial-gradient(circle at 85% 92%, rgba(255, 198, 41, 0.10) 0%, transparent 45%), linear-gradient(180deg, #0b122c 0%, #090d1c 48%, #05060a 100%); }
.nv-scroll { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; padding: 14px 18px 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nv-scroll::-webkit-scrollbar { display: none; }

/* Stage Viewport */
.nv-stage-viewport { position: relative; width: 100%; flex-shrink: 0; overflow: hidden; border-radius: 24px; border: 1.5px solid rgba(74, 123, 255, 0.35); background: #070b18; box-shadow: 0 16px 38px rgba(0, 0, 0, 0.68); }
.nv-hero-tall { height: 224px; }
.nv-hero-mid { height: 184px; }
.nv-hero-compact { height: 138px; }
@media (min-height: 760px) {
  .nv-hero-tall { height: 250px; }
  .nv-hero-mid { height: 204px; }
  .nv-hero-compact { height: 156px; }
}
.nv-stage-viewport img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; }
.nv-stage-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 58%, rgba(5, 6, 10, 0.88) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); }

.nv-rot-badges { position: absolute; left: 10px; right: 10px; bottom: 8px; display: flex; justify-content: space-between; gap: 6px; font-size: 10px; font-weight: 700; pointer-events: none; }
.nv-rot-blue { padding: 3px 9px; border-radius: 99px; background: rgba(9, 13, 28, 0.88); border: 1px solid rgba(74, 123, 255, 0.65); color: #93c5fd; backdrop-filter: blur(8px); }
.nv-rot-red { padding: 3px 9px; border-radius: 99px; background: rgba(9, 13, 28, 0.88); border: 1px solid rgba(255, 71, 71, 0.65); color: #fca5a5; backdrop-filter: blur(8px); }

.nv-body { flex: 1; display: flex; flex-direction: column; animation: nvFadeIn 220ms cubic-bezier(.22,1,.36,1); }
@keyframes nvFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Stage 0 Cover */
.nv-stage0 { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 6px 0 8px; }
.nv-cover-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin: auto 0; }
.nv-kicker-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; border: 1px solid rgba(74, 123, 255, 0.45); background: rgba(11, 18, 44, 0.86); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; color: var(--nv-gold); text-transform: uppercase; }
.nv-kicker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--nv-green); box-shadow: 0 0 8px rgba(47, 210, 122, 0.85); }
.nv-cover-h1 { font-family: 'Outfit', system-ui, sans-serif; font-size: clamp(29px, 7.6vw, 33px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; color: #ffffff; text-wrap: balance; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45); }
.nv-gold { color: var(--nv-gold); text-shadow: 0 0 22px rgba(255, 198, 41, 0.28); }
.nv-yes { color: var(--nv-green); font-weight: 800; text-decoration: underline; text-decoration-color: rgba(47, 210, 122, 0.55); text-underline-offset: 2px; }
.nv-cover-sub { font-size: 14.5px; line-height: 1.48; color: var(--nv-muted); max-width: 372px; text-wrap: balance; }
.nv-cover-sub strong { color: #ffffff; }

.nv-cover-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 20px; border: 1px solid var(--nv-border); background: rgba(11, 18, 44, 0.82); backdrop-filter: blur(12px); padding: 14px 8px; text-align: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 26px rgba(0, 0, 0, 0.35); }
.nv-cover-stats > div { display: flex; flex-direction: column; gap: 3px; border-right: 1px solid rgba(255, 255, 255, 0.10); }
.nv-cover-stats > div:last-child { border-right: 0; }
.nv-cover-stats b { font-family: 'JetBrains Mono', monospace; font-size: 16px; font-weight: 700; color: #ffffff; }
.nv-cover-stats span { font-size: 11px; color: var(--nv-muted); font-weight: 600; }

.nv-cover-actions { display: flex; flex-direction: column; gap: 9px; }

/* Primary CTA — Exact Game Traffic Gold */
.nv-cta-gold { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 60px; border: 0; border-radius: 18px; background: linear-gradient(135deg, #ffd23f 0%, #ffc629 58%, #f59e0b 100%); color: #161100; font-family: 'Outfit', system-ui, sans-serif; font-size: 15px; font-weight: 800; letter-spacing: 0.015em; cursor: pointer; box-shadow: 0 12px 30px rgba(255, 198, 41, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.55); transition: transform 120ms ease, filter 150ms ease; }
.nv-cta-gold:hover:not(:disabled) { filter: brightness(1.06); }
.nv-cta-gold:active:not(:disabled) { transform: scale(0.975); }
.nv-cta-gold:disabled { background: rgba(11, 18, 44, 0.78); border: 1px solid var(--nv-border); color: rgba(168, 183, 212, 0.55); box-shadow: none; cursor: not-allowed; }
.nv-cta-gold.is-go { background: linear-gradient(135deg, #34d982 0%, #2fd27a 100%); color: #052012; box-shadow: 0 14px 34px rgba(47, 210, 122, 0.42); }

/* 30% Hyperlink Rule */
.nv-hyperlink-30 { background: none; border: 0; padding: 4px 6px; font-size: 12px; font-weight: 700; color: var(--nv-gold); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: center; line-height: 1.35; opacity: 0.92; }
.nv-hyperlink-30:hover { opacity: 1; color: #fff; }

/* Progress Bar */
.nv-progress-wrap { display: flex; flex-direction: column; gap: 5px; }
.nv-progress-meta { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; font-weight: 800; letter-spacing: 0.09em; }
.nv-progress-kicker { color: var(--nv-gold); }
.nv-progress-pct { font-family: 'JetBrains Mono', monospace; color: var(--nv-muted); }
.nv-progress-track { width: 100%; height: 6px; border-radius: 99px; background: rgba(11, 18, 44, 0.9); border: 1px solid rgba(255, 255, 255, 0.12); overflow: hidden; }
.nv-progress-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #4a7bff, #ffc629); transition: width 320ms cubic-bezier(.22,1,.36,1); }

/* Voice Mirroring Pill */
.nv-mirror-pill { display: flex; align-items: flex-start; gap: 8px; padding: 8px 12px; border-radius: 14px; border: 1px solid rgba(47, 210, 122, 0.38); background: rgba(47, 210, 122, 0.10); font-size: 11.5px; line-height: 1.35; color: #bbf7d0; }
.nv-mirror-dot { width: 7px; height: 7px; margin-top: 4px; flex-shrink: 0; border-radius: 50%; background: var(--nv-green); box-shadow: 0 0 8px rgba(47, 210, 122, 0.85); }
.nv-mirror-pill strong { color: #ffffff; }

/* Question Head */
.nv-q-wrap { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nv-q-head { padding: 0 2px; }
.nv-q-h2 { font-family: 'Outfit', system-ui, sans-serif; font-size: 19.5px; line-height: 1.18; font-weight: 800; color: #ffffff; text-wrap: balance; }
.nv-q-sub { margin-top: 5px; font-size: 12.5px; line-height: 1.38; color: var(--nv-muted); }

/* Option Cards */
.nv-options-list { display: flex; flex-direction: column; gap: 9px; }
.nv-opt-card { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 68px; padding: 9px 12px 9px 9px; border-radius: 20px; border: 1.5px solid var(--nv-border); background: linear-gradient(155deg, rgba(16, 26, 62, 0.86) 0%, rgba(9, 13, 28, 0.90) 100%); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 20px rgba(0, 0, 0, 0.38); text-align: left; cursor: pointer; transition: transform 120ms ease, border-color 160ms ease, background 160ms ease; }
.nv-opt-card:hover { border-color: rgba(74, 123, 255, 0.72); background: linear-gradient(155deg, rgba(22, 36, 82, 0.94) 0%, rgba(11, 18, 44, 0.95) 100%); }
.nv-opt-card:active { transform: scale(0.985); }
.nv-opt-card.is-selected { border-color: var(--nv-gold); background: linear-gradient(155deg, rgba(255, 198, 41, 0.22) 0%, rgba(11, 18, 44, 0.95) 100%); box-shadow: 0 0 0 2px rgba(255, 198, 41, 0.34); }
.nv-opt-thumb { width: 52px; height: 52px; flex-shrink: 0; border-radius: 13px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.20); background: #070b18; }
.nv-opt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-opt-text { flex: 1; min-width: 0; }
.nv-opt-title { font-size: 13.5px; line-height: 1.25; font-weight: 700; color: #ffffff; }
.nv-opt-sub { margin-top: 2px; font-size: 11.5px; line-height: 1.3; color: var(--nv-muted); }
.nv-opt-chev { width: 16px; height: 16px; flex-shrink: 0; color: rgba(168, 183, 212, 0.5); }
.nv-opt-card:hover .nv-opt-chev, .nv-opt-card.is-selected .nv-opt-chev { color: var(--nv-gold); }

/* Stage 5 Challenge (10s Roundabout EXCETO) */
.nv-s5-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.nv-s5-kicker { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; color: var(--nv-gold); text-transform: uppercase; }
.nv-s5-h2 { margin-top: 4px; font-family: 'Outfit', system-ui, sans-serif; font-size: 16.5px; line-height: 1.24; font-weight: 700; color: #ffffff; }
.nv-exceto-tag { display: inline-flex; padding: 1px 6px; border-radius: 7px; border: 1px solid rgba(255, 71, 71, 0.72); background: rgba(255, 71, 71, 0.20); color: #fca5a5; font-size: 12px; font-weight: 900; }

.nv-timer-box { position: relative; width: 54px; height: 54px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 16px; border: 1.5px solid rgba(255, 198, 41, 0.45); background: rgba(11, 18, 44, 0.88); }
.nv-timer-box svg { width: 46px; height: 46px; transform: rotate(-90deg); }
.nv-timer-bg { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 4; }
.nv-timer-arc { fill: none; stroke: var(--nv-gold); stroke-width: 4; stroke-linecap: round; }
.nv-timer-box span { position: absolute; font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 800; color: #ffffff; }
.nv-timer-box.is-urgent { border-color: var(--nv-red); animation: nvPulse 0.6s infinite; }
.nv-timer-box.is-urgent .nv-timer-arc, .nv-timer-box.is-bad .nv-timer-arc { stroke: var(--nv-red); }
.nv-timer-box.is-urgent span, .nv-timer-box.is-bad span { color: #fca5a5; }
.nv-timer-box.is-ok { border-color: var(--nv-green); }
.nv-timer-box.is-ok .nv-timer-arc { stroke: var(--nv-green); }
.nv-timer-box.is-ok span { color: #86efac; }
@keyframes nvPulse { 50% { transform: scale(1.06); } }

.nv-s5-choices { display: flex; flex-direction: column; gap: 8px; }
.nv-s5-opt { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 58px; padding: 8px 11px 8px 9px; border-radius: 18px; border: 1.5px solid var(--nv-border); background: rgba(11, 18, 44, 0.84); color: #ffffff; text-align: left; cursor: pointer; }
.nv-s5-opt:hover:not(:disabled) { border-color: var(--nv-blue); background: rgba(20, 32, 74, 0.94); }
.nv-s5-letter { width: 26px; height: 26px; flex-shrink: 0; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 800; border: 1px solid rgba(74, 123, 255, 0.55); background: rgba(74, 123, 255, 0.18); color: #bfdbfe; }
.nv-s5-thumb { width: 44px; height: 44px; flex-shrink: 0; border-radius: 11px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.18); }
.nv-s5-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-s5-txt { flex: 1; font-size: 12.5px; line-height: 1.3; font-weight: 600; }
.nv-s5-opt.is-right { border-color: var(--nv-green); background: rgba(23, 56, 42, 0.92); }
.nv-s5-opt.is-right .nv-s5-letter { background: var(--nv-green); border-color: var(--nv-green); color: #052012; }
.nv-s5-opt.is-wrong { border-color: var(--nv-red); background: rgba(61, 26, 30, 0.92); }
.nv-s5-opt.is-wrong .nv-s5-letter { background: var(--nv-red); border-color: var(--nv-red); color: #ffffff; }
.nv-s5-opt.is-dim { opacity: 0.45; }

.nv-shake { animation: nvShake 0.34s ease; }
@keyframes nvShake { 20%{transform:translateX(-8px)} 40%{transform:translateX(8px)} 60%{transform:translateX(-5px)} 80%{transform:translateX(5px)} }

.nv-s5-feedback { border-radius: 20px; padding: 14px; border: 1.5px solid transparent; animation: nvFadeIn 220ms ease; }
.nv-s5-feedback.is-ok { border-color: rgba(47, 210, 122, 0.65); background: rgba(16, 42, 34, 0.94); }
.nv-s5-feedback.is-bad { border-color: rgba(255, 71, 71, 0.62); background: rgba(48, 18, 24, 0.94); }
.nv-fb-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.nv-fb-stamp { padding: 4px 10px; border-radius: 99px; font-size: 10.5px; font-weight: 900; letter-spacing: 0.05em; }
.nv-s5-feedback.is-ok .nv-fb-stamp { background: rgba(47, 210, 122, 0.22); color: #86efac; border: 1px solid var(--nv-green); }
.nv-s5-feedback.is-bad .nv-fb-stamp { background: rgba(255, 71, 71, 0.22); color: #fca5a5; border: 1px solid var(--nv-red); }
.nv-fb-time { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--nv-muted); font-weight: 600; }
.nv-fb-body { margin-top: 9px; font-size: 12.5px; line-height: 1.45; color: #f6f3ea; }
.nv-fb-body strong { color: var(--nv-gold); }

/* Stage 7 Bridge (3 Steps to Succeed) */
.nv-bridge-wrap { display: flex; flex-direction: column; gap: 13px; flex: 1; }
.nv-bridge-kicker { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.09em; color: var(--nv-gold); text-transform: uppercase; }
.nv-bridge-h1 { margin-top: 3px; font-family: 'Outfit', system-ui, sans-serif; font-size: 23px; line-height: 1.12; font-weight: 800; color: #ffffff; }
.nv-bridge-sub { margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--nv-muted); }
.nv-bridge-sub strong { color: #ffffff; }

.nv-steps-card { display: flex; flex-direction: column; gap: 12px; padding: 15px; border-radius: 22px; border: 1.5px solid var(--nv-border); background: rgba(11, 18, 44, 0.84); backdrop-filter: blur(16px); }
.nv-step-row { display: flex; align-items: flex-start; gap: 10px; }
.nv-step-row p { font-size: 12.5px; line-height: 1.38; color: rgba(168, 183, 212, 0.62); transition: color 220ms ease; }
.nv-step-row p.is-ready { color: #f6f3ea; }
.nv-step-row p strong { color: var(--nv-gold); }
.nv-step-ico { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.nv-step-ico.is-spin { border: 2px solid rgba(255, 255, 255, 0.18); border-top-color: var(--nv-gold); animation: nvSpin 0.8s linear infinite; }
.nv-step-ico.is-done { border: 1.5px solid var(--nv-green); background: rgba(47, 210, 122, 0.22); color: #86efac; }
.nv-step-ico.is-done svg { width: 13px; height: 13px; }
@keyframes nvSpin { to { transform: rotate(360deg); } }

.nv-street1-warn { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(255, 198, 41, 0.42); background: rgba(255, 198, 41, 0.12); font-size: 12px; line-height: 1.38; color: #fde68a; }
.nv-street1-warn strong { color: #ffffff; }

/* Justified Editorial Typography Across Entire Quiz */
.nv-cover-sub,
.nv-q-h2,
.nv-q-sub,
.nv-mirror-pill span:last-child,
.nv-opt-title,
.nv-opt-sub,
.nv-s5-h2,
.nv-s5-txt,
.nv-fb-body,
.nv-bridge-sub,
.nv-step-row p,
.nv-street1-warn span:last-child {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.nv-cover-sub {
  text-align-last: center;
}


/* ==================== TIPOGRAFIA JUSTIFICADA GLOBAL (QUIZ V2) ==================== */
.nv-cover-sub,
.nv-q-sub,
.nv-mirror-pill,
.nv-mirror-pill span,
.nv-opt-sub,
.nv-opt-title,
.nv-s5-txt,
.nv-fb-body,
.nv-step-row p,
.nv-street1-warn,
.nv-bridge-sub,
.nv-body p {
  text-align: justify !important;
  text-justify: inter-word;
  hyphens: auto;
}
