:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-hover: #f8f8f8;
  --ink: #242424;
  --muted: #666666;
  --accent: #c92c31;
  --red: #c92c31;
  --line: #e4e4e4;
  --dock-height: 0px;
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { min-width: 280px; background: var(--bg); scroll-behavior: auto; }
body { margin: 0; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; }
button, a { color: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.page { width: min(100% - 40px, 600px); margin-inline: auto; padding-top: max(26px, env(safe-area-inset-top)); padding-bottom: 26px; }
.brand-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.brand-title { font-size: 0.8125rem; font-weight: 700;   line-height: 1.45; }
.brand-author { flex-shrink: 0; text-align: right; font-size: 0.6875rem; color: var(--muted); line-height: 1.45; }
.brand-author span { display: block; color: var(--accent); font-size: 0.8125rem; }
.progress { display: flex; gap: 7px; margin-top: 21px; }
.progress span { flex: 1; height: 3px; background: var(--line); border-radius: 6px; }
.progress span.complete { background: var(--red); }
.progress span.current { background: linear-gradient(to right, var(--red) 46%, var(--line) 46%); }
.step-meta { margin-top: 20px; min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 0.8125rem; }
.step-meta strong { color: var(--ink); font-weight: 500; }
.text-button { border: 0; background: none; padding: 12px 0; min-height: 44px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; font-size: 0.75rem; }
.back-button { border: 0; background: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 8px 0 8px 12px; color: var(--muted); font-size: 0.8125rem; }
.back-button::before { content: ''; width: 7px; height: 7px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.question-content { margin-top: 33px; }
.eyebrow { color: var(--accent); font-size: 0.6875rem; line-height: 1.5;  font-weight: 600;  margin: 0 0 13px; }
h1 { font-family: Arial, Helvetica, sans-serif; font-size: clamp(1.625rem, 3.8vw, 2rem); line-height: 1.3; font-weight: 600; letter-spacing: -.025em; margin: 0; text-wrap: pretty; outline: none; }
.options { display: grid; gap: 11px; margin-top: 30px; }
.option { display: flex; width: 100%; align-items: center; gap: 16px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 18px; min-height: 80px; font-size: 1.062rem; line-height: 1.4; font-weight: 500; transition: background .14s, border-color .14s; }
.option-letter { display: grid; place-items: center; flex-shrink: 0; width: 33px; height: 36px; border: 1px solid #dddddd; border-radius: 7px; color: var(--muted); font-size: 0.8125rem; font-weight: 600; }
.option.is-selected { border-color: var(--accent); background: #fff5f5; }
.option.is-selected .option-letter { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.option:disabled { cursor: default; opacity: 1; }
.question-note { display: flex; align-items: baseline; justify-content: center; gap: 8px; text-align: center; font-size: 0.6875rem; line-height: 1.6; color: var(--muted); margin: 22px 0 0; }
.question-note::before { content: ''; display: inline-block; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.page-footer { margin-top: 35px; padding-top: 13px; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 0.6875rem; }
.organizing { padding: 24px 0 12px; }
.analysis-caption { margin: 0; font-size: .875rem; color: var(--muted); }
.analysis-progress { position: relative; width: 144px; height: 144px; margin: 38px auto 30px; }
.analysis-progress > svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 4; }
.analysis-track { stroke: var(--line); }
.analysis-ring { stroke: var(--red); stroke-linecap: round; }
.analysis-percent { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.organizing h1 { text-align: center; font-size: clamp(1.375rem, 4vw, 1.75rem); letter-spacing: -.02em; }
.analysis-steps { list-style: none; padding: 0; margin: 28px auto 0; max-width: 390px; }
.analysis-steps li { display: flex; align-items: center; gap: 13px; min-height: 52px; padding: 8px 0; color: #777; font-size: .9375rem; line-height: 1.45; }
.analysis-check { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; }
.analysis-check svg { width: 18px; height: 18px; fill: none; stroke: white; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.analysis-steps li[data-status="active"] { color: var(--ink); }
.analysis-steps li[data-status="active"] .analysis-check { border: 2px solid #f1d6d7; border-top-color: var(--red); animation: analysis-spin .8s linear infinite; }
.analysis-steps li[data-status="done"] { color: var(--ink); }
.analysis-steps li[data-status="done"] .analysis-check { background: var(--red); border-color: var(--red); }
.analysis-steps li[data-status="done"] svg { visibility: visible; }
@keyframes analysis-spin { to { transform: rotate(360deg); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.result { padding-top: 29px; }
.result-summary { border: 1px solid #e4e4e4; border-radius: 6px; padding: 22px; background: #f7f7f7; }
.summary-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.summary-heading h2 { font-size: 0.75rem; color: var(--accent); margin: 0;   line-height: 1.5; font-weight: 600; }
.summary-heading span { font-size: 0.6875rem; color: #666666; flex-shrink: 0; }
.summary-list { margin: 0; }
.summary-item { padding-top: 18px; }
.summary-item + .summary-item { border-top: 1px solid var(--line); margin-top: 18px; }
.summary-item dt { color: var(--muted); font-size: 0.625rem;   line-height: 1.5; margin-bottom: 6px; }
.summary-item dd { margin: 0; font-size: 1rem; line-height: 1.45; font-weight: 500; }
.edit-row { text-align: right; margin-top: 1px; }
.result-copy { margin-top: 20px; }
.result-copy h1 { font-size: 2rem; margin-bottom: 20px; }
.result-copy p { font-size: 1.188rem; line-height: 1.65; color: #393939; margin: 0 0 22px; }
.result-copy strong { color: var(--ink); font-weight: 650; }
.result-copy .warning { border-left: 3px solid var(--red); padding: 4px 0 4px 18px; margin: 29px 0; font-size: 1.312rem; line-height: 1.5; color: var(--ink); font-weight: 650; }
body[data-screen="result"] .page { padding-bottom: calc(var(--dock-height) + 25px); }
.cta-dock { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--bg); border-top: 1px solid var(--line); padding: 13px 22px max(12px, env(safe-area-inset-bottom)); z-index: 5; }
.cta-inner { max-width: 600px; margin: auto; }
.video-cta { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 61px; padding: 18px 20px; border-radius: 6px; background: var(--red); color: #fff; text-decoration: none; font-weight: 800; font-size: 1.062rem;  text-align: center; }
.play-icon { display: inline-block; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 10px solid currentColor; flex-shrink: 0; }
.cta-inner p { font-size: 0.6875rem; line-height: 1.5; text-align: center; margin: 9px 0 0; color: var(--muted); }
.no-script { max-width: 600px; padding: 20px; margin: 0 auto; }
@media (hover: hover) and (pointer: fine) { .option:hover:not(:disabled) { border-color: var(--accent); background: var(--surface-hover); } .text-button:hover, .back-button:hover { color: var(--ink); } .video-cta:hover { background: #b2252a; } }
@media (min-width: 720px) { .page { padding-top: 48px; } .brand-title { font-size: 0.9375rem; } .brand-author span { font-size: 0.9375rem; } .progress { margin-top: 27px; } .question-content { margin-top: 40px; } .option { min-height: 78px; padding: 18px 21px; font-size: 1.125rem; } .options { margin-top: 33px; } .question-note { font-size: 0.75rem; } .page-footer { margin-top: 35px; } .result-copy { margin-top: 25px; } .result-copy p { font-size: 1.312rem; } }
@media (max-width: 359px) { .page { width: calc(100% - 32px); padding-top: 19px; } .brand-title { font-size: 0.6875rem; } .brand-header { gap: 12px; } .brand-author span { font-size: 0.75rem; } .question-content { margin-top: 25px; } h1 { font-size: 1.5rem; } .option { padding: 15px 13px; gap: 12px; font-size: 1rem; } .option-letter { width: 29px; height: 32px; } .result-summary { padding: 17px; } .summary-heading { gap: 10px; } .summary-heading h2 { font-size: 0.625rem; } .result-copy p { font-size: 1.125rem; } .cta-dock { padding-inline: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Let browser text enlargement reflow the small header/footer and choices. */
.brand-header, .step-meta, .summary-heading, .page-footer { flex-wrap: wrap; }
h1, .option, .summary-item dd { overflow-wrap: break-word; }
.option > span:last-child { min-width: 0; }

/* Revisão de Lucca: claro, minimalista, tipografia padrão; vermelho pontual. */
.brand-title { font-size: .875rem; font-weight: 600; }
.brand-author { text-align: right; }
.brand-author span { display: inline; color: var(--muted); font-size: inherit; }
.question-content { margin-top: 23px; }
.eyebrow { color: var(--muted); font-size: .8125rem; font-weight: 400; margin-bottom: 10px; }
.options { margin-top: 26px; gap: 10px; }
.option { min-height: 70px; font-size: 1rem; font-weight: 400; line-height: 1.45; padding: 17px 16px; gap: 14px; border-color: #d9d9d9; }
.option-letter { border: 0; width: 23px; height: 28px; color: #757575; font-weight: 400; }
.option.is-selected .option-letter { background: transparent; color: var(--red); font-weight: 700; }
.question-note { font-size: .75rem; }
.question-note::before { display: none; }
.result-summary { border: 0; padding: 21px; }
.summary-heading h2 { color: var(--ink); font-size: .9375rem; }
.summary-heading span { font-size: .75rem; }
.summary-item dt { font-size: .75rem; }
.summary-item dd { font-size: .9375rem; font-weight: 400; line-height: 1.5; }
.result-copy p { font-size: 1.0625rem; }
.result-copy .warning { font-size: 1.0625rem; border-left-width: 2px; padding-left: 15px; }
.video-cta { font-size: 1rem; font-weight: 600; min-height: 56px; }
.cta-inner p { font-size: .75rem; }
@media (hover: hover) and (pointer: fine) { .option:hover:not(:disabled) { border-color: #ababab; } }
@media (min-width: 720px) { .question-content { margin-top: 30px; } .result-copy p { font-size: 1.125rem; } }
@media (max-width: 359px) { .brand-title { font-size: .8125rem; } .question-content { margin-top: 18px; } .option { padding: 15px 12px; gap: 10px; } .result-summary { padding: 17px; } }
