.topo { display: flex; align-items: center; justify-content: space-between; gap: var(--e-2); padding: var(--e-3) 0 var(--e-2); }
.marca-ic { display: inline-block; width: 18px; height: 18px; background: var(--ouro); -webkit-mask: url('/favicon.svg') center/contain no-repeat; mask: url('/favicon.svg') center/contain no-repeat; }
.progresso { flex: 0 1 140px; height: 4px; border-radius: 4px; background: rgba(244,238,223,.12); overflow: hidden; }
.progresso span { display: block; height: 100%; width: 0; background: var(--ouro); border-radius: inherit; transition: width var(--lento) var(--curva); }

.quiz { max-width: 560px; min-height: calc(100svh - 220px); padding-bottom: var(--e-5); }
.passo { display: grid; gap: var(--e-3); padding-top: var(--e-4); animation: entra var(--lento) var(--curva) both; }
.passo[hidden] { display: none; }
@keyframes entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.passo h1 { font-size: var(--t-xxl); }
.passo h2 { font-size: var(--t-xl); }
.apoio { color: var(--papel-2); font-size: var(--t-m); }
.nota { color: var(--papel-3); font-size: var(--t-xs); text-align: center; }

.orbita { width: min(52vw, 200px); margin: 0 auto var(--e-1); color: var(--ouro); }
.orbita svg { fill: none; stroke: currentColor; stroke-width: 1.2; }
.orbita circle:first-child { stroke-dasharray: 2 6; animation: gira 60s linear infinite; transform-origin: center; }
@keyframes gira { to { transform: rotate(360deg); } }

.data { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--e-2); }
.signo-previa { min-height: 1.6em; color: var(--ouro-claro); font: 500 var(--t-l)/1.3 var(--f-titulo); text-align: center; }

.opcoes { display: grid; gap: 12px; }
.opcoes button {
  min-height: 60px; padding: 16px 20px; text-align: left; border-radius: var(--raio-m);
  border: 1px solid var(--tinta-3); background: rgba(22,32,74,.72); color: var(--papel);
  font: 500 var(--t-m)/1.35 var(--f-corpo); cursor: pointer;
  transition: border-color var(--rapido), background var(--rapido), transform var(--rapido) var(--curva);
}
.opcoes button:hover { border-color: rgba(207,167,94,.6); background: rgba(34,48,106,.8); }
.opcoes button:active { transform: scale(.99); }
.opcoes button[aria-checked="true"] { border-color: var(--ouro); background: rgba(207,167,94,.14); }

.calculando { text-align: center; justify-items: center; padding-top: var(--e-6); }
.astrolabio { width: 140px; color: var(--ouro); }
.astrolabio svg { fill: none; stroke: currentColor; stroke-width: 1.4; }
.astrolabio .gira { transform-origin: 100px 100px; animation: gira 2.4s var(--curva) infinite; }
.etapas { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--papel-3); }
.etapas li { transition: color var(--rapido); }
.etapas li.feita { color: var(--papel); }
.etapas li.feita::before { content: '✓ '; color: var(--ouro); }

.res-topo { text-align: center; display: grid; gap: 8px; justify-items: center; }
.glifo { font: 400 5.5rem/1 var(--f-titulo); color: var(--ouro); text-shadow: 0 0 40px rgba(207,167,94,.45); }
.res-topo h2 { font-size: var(--t-xxl); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.res-bloco { padding: var(--e-3); display: grid; gap: 12px; }
.res-padrao { font: 500 var(--t-l)/1.35 var(--f-titulo); }
.res-voce { color: var(--papel-2); }
.trecho p#r-trecho { font: 400 1.25rem/1.55 var(--f-titulo); }
.trancado { position: relative; padding-top: var(--e-2); border-top: 1px dashed var(--linha); color: var(--papel-2); font-size: var(--t-s); }
.trancado ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.trancado li { display: flex; gap: 10px; align-items: center; }
.trancado li::before { content: ''; flex: 0 0 14px; height: 14px; background: var(--ouro); -webkit-mask: url('/img/cadeado.svg') center/contain no-repeat; mask: url('/img/cadeado.svg') center/contain no-repeat; }
.trancado li span { filter: blur(0); }

.guardar { padding: var(--e-3); display: grid; gap: 10px; margin-top: var(--e-2); }
.guardar-tit { font: 500 var(--t-l)/1.2 var(--f-titulo); }
.guardar-sub { color: var(--papel-2); font-size: var(--t-s); }
.guardar.ok { text-align: center; }
.res-padrao-txt { color: var(--papel); }
.res-frase { font: italic 600 1.125rem/1.4 var(--f-titulo); color: var(--ouro-claro); padding-left: 14px; border-left: 2px solid var(--ouro); }
.res-pede { justify-content: flex-start; }

/* botão de som da trilha (js/musica.js) */
.som { position: fixed; z-index: 20; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom));
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: color-mix(in srgb, var(--tinta-1) 82%, transparent); border: 1px solid var(--tinta-3); color: var(--ouro-claro);
  backdrop-filter: blur(6px); transition: border-color .2s, transform .2s; }
.som:hover { border-color: var(--ouro); }
.som:focus-visible { outline: 2px solid var(--ouro); outline-offset: 3px; }
.som[aria-pressed="true"] svg path:first-child { fill: currentColor; }
.som svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.som svg path:first-child { fill: currentColor; }.som[hidden] { display: none; }
