/* Direção A (limpa), escolhida pelo Gabe em 2026-09-30. */
:root {
  --bg: #f6f7f9; --card: #ffffff; --text: #111827; --muted: #5b6474; --line: #e3e6eb;
  --accent: #1d4ed8; --accent-text: #ffffff; --chosen: #eef3ff; --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --head: var(--font); --head-weight: 700; --shadow: 0 1px 2px rgba(17, 24, 39, .06), 0 8px 24px rgba(17, 24, 39, .06);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text); font: 17px/1.5 var(--font);
  min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }

.top { padding: 18px 16px 0; max-width: 560px; width: 100%; margin: 0 auto; }
.brand { font-weight: 700; letter-spacing: .01em; font-size: 15px; color: var(--text); text-decoration: none; }

main { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 20px 16px 32px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 22px;
}

h1, h2 { font-family: var(--head); font-weight: var(--head-weight); line-height: 1.2; margin: 0 0 14px; outline: none; }
h1 { font-size: 30px; letter-spacing: -.01em; }
h2 { font-size: 23px; }
p { margin: 0 0 14px; }
.lead { font-size: 18px; }
.muted, .hint { color: var(--muted); }
.eyebrow, .step { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 10px; }
.intro strong { color: var(--accent); white-space: nowrap; }
.help { font-size: 15px; margin-top: -6px; }

button { font: inherit; cursor: pointer; }
.primary {
  display: block; width: 100%; margin-top: 10px; padding: 16px 20px; border: 0; border-radius: calc(var(--radius) - 4px);
  background: var(--accent); color: var(--accent-text); font-weight: 700; font-size: 18px;
}
.primary:disabled { opacity: .6; cursor: default; }
.options { display: grid; gap: 10px; margin-top: 18px; }
.option {
  text-align: left; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: calc(var(--radius) - 4px);
  background: var(--card); color: var(--text); font-size: 17px;
}
@media (hover: hover) { .option:hover { border-color: var(--accent); } }
.option.chosen { border-color: var(--accent); background: var(--chosen); }
.back { background: none; border: 0; color: var(--muted); padding: 14px 0 0; font-size: 15px; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 16px; }
.progress span { display: block; height: 100%; background: var(--accent); transition: width .25s ease; }

label { display: block; font-weight: 600; font-size: 15px; margin: 16px 0 0; }
input {
  display: block; width: 100%; margin-top: 6px; padding: 14px; font: inherit; font-weight: 400;
  color: var(--text); background: var(--bg); border: 1.5px solid var(--line); border-radius: calc(var(--radius) - 6px);
}
.hint { display: block; font-size: 13px; font-weight: 400; margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.error { color: #c0262d; font-size: 15px; min-height: 1px; margin: 12px 0 0; }

.result { text-align: center; }
.badge {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  font-size: 28px; font-weight: 700; background: var(--chosen); color: var(--accent);
}
.result:not(.match) .badge { color: var(--muted); background: var(--bg); }

.page { max-width: 680px; }
.page h2 { font-size: 19px; margin-top: 24px; }
.foot {
  max-width: 560px; width: 100%; margin: 0 auto; padding: 0 16px 28px; font-size: 13px; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 6px 16px;
}
.foot a { color: var(--muted); }

