/* HittLive · interface. Fundo branco, framboesa só no que é ação, vinho nas faixas sobre a câmera.
   Tokens em tokens-movimento.css (fonte da verdade: marca.json). Mobile first, coluna de 520 px. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--em-fundo); color: var(--em-tinta); font: 400 1.0625rem/1.5 var(--em-texto); min-height: 100dvh; overflow-x: hidden; }
h1, h2, p, dl, dd, ol, ul, blockquote, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--em-framboesa); }
::selection { background: var(--em-rosa-claro); color: var(--em-tinta); }
:focus-visible { outline: 3px solid var(--em-framboesa); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-so { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#app { position: relative; min-height: 100dvh; }

/* ---------- telas: uma por vez ---------- */
.tela { display: none; }
.tela.ativa { display: flex; }
.tela--cheia { flex-direction: column; min-height: 100dvh; padding: 20px 22px calc(24px + var(--em-seg)); max-width: 520px; margin: 0 auto; }

.tela--centro { min-height: 100dvh; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.carregando-txt { color: var(--em-tinta-suave); }


.marca { display: flex; align-items: center; gap: 10px; font: italic 900 1.25rem/1 var(--em-marca); letter-spacing: 0; padding: 4px 0 10px; color: var(--em-vinho); }
/* logo oficial (31/10): monograma HL (M6) + o nome na fonte do wordmark W3; os 3 anéis saíram */
.marca__aneis { position: relative; width: 36px; height: 26px; flex: none; background: url("/movimento/marca/monograma-vinho.svg") center / contain no-repeat; }

.etiqueta { font: 600 0.8125rem/1.2 var(--em-texto); letter-spacing: 0.08em; text-transform: uppercase; color: var(--em-tinta-suave); margin-top: 10px; }
.titulo-serifa { font: 700 2.375rem/1.04 var(--em-titulo); letter-spacing: -0.01em; text-wrap: balance; margin-top: 8px; color: var(--em-tinta); }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border: 0; border-radius: 999px; font: 700 1.125rem/1 var(--em-texto); cursor: pointer; text-decoration: none; transition: transform 0.2s var(--em-ease), background-color 0.2s var(--em-ease); -webkit-tap-highlight-color: transparent; }
.btn--principal { background: var(--em-acao); color: var(--em-acao-tinta); width: 100%; margin-top: 18px; box-shadow: 0 5px 0 var(--em-framboesa-forte); }
.btn--principal:hover { background: var(--em-acao-hover); }
.btn--principal:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--em-framboesa-forte); }
.btn--sec { background: var(--em-blush); color: var(--em-framboesa-forte); width: 100%; margin-top: 12px; }
.btn--sec:active { transform: translateY(2px); }
.btn--link { background: none; color: var(--em-framboesa-forte); min-height: 48px; width: 100%; margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.aviso { font-size: 0.8125rem; line-height: 1.4; color: var(--em-tinta-suave); margin-top: 14px; text-align: center; text-wrap: balance; }

.lead { font-size: 1.1875rem; line-height: 1.5; color: var(--em-tinta-suave); margin-top: 14px; text-wrap: pretty; }
.etiqueta-leve { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--em-blush); color: var(--em-framboesa-forte); font: 600 0.75rem/1.2 var(--em-texto); letter-spacing: 0.04em; }

/* ---------- formulários: opções grandes, erro com ícone e texto ---------- */
.campo { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.campo legend { padding: 0; font: 600 1.25rem/1.3 var(--em-titulo); color: var(--em-tinta); margin-bottom: 10px; text-wrap: balance; }
.opcao { display: block; position: relative; margin-top: 8px; cursor: pointer; }
.opcao input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opcao span { display: flex; align-items: center; min-height: 52px; padding: 10px 16px; border: 2px solid var(--em-borda-campo); border-radius: 16px; background: var(--em-fundo); font-weight: 600; transition: background-color 0.15s var(--em-ease), border-color 0.15s var(--em-ease); }
.opcao input:checked + span { background: var(--em-blush); border-color: var(--em-framboesa); color: var(--em-framboesa-forte); }
.opcao input:focus-visible + span { outline: 3px solid var(--em-framboesa); outline-offset: 2px; }
.marca-caixa { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 0.9375rem; line-height: 1.45; cursor: pointer; }
.marca-caixa input { width: 26px; height: 26px; flex: none; margin: 0; accent-color: var(--em-framboesa); cursor: pointer; }
.marca-caixa a { font-weight: 600; }
.resumo-priv { margin-top: 20px; padding: 14px 16px; border-radius: 16px; background: var(--em-fundo-2); border: 1px solid var(--em-linha, #F3D9E2); font-size: 0.9375rem; line-height: 1.45; color: var(--em-tinta-suave); }
.erro-campo { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; color: var(--em-erro); font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
.erro-campo::before { content: "!"; display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--em-erro); color: var(--em-branco); font: 700 0.8125rem/1 var(--em-texto); margin-top: 1px; }

/* ---------- devocional ---------- */
.versiculo { margin-top: 20px; padding: 20px 22px; border-radius: 24px; background: var(--em-blush); }
.versiculo p { font: 600 1.5rem/1.3 var(--em-titulo); color: var(--em-vinho); text-wrap: pretty; }
.versiculo footer { margin-top: 12px; font-size: 0.9375rem; color: var(--em-framboesa-forte); }
.versiculo cite { font-style: normal; font-weight: 600; }
.frases { display: grid; gap: 12px; margin-top: 22px; }
.frases p { font-size: 1.25rem; line-height: 1.45; text-wrap: pretty; }
.respire { margin-top: 18px; font: italic 600 1.125rem/1.4 var(--em-titulo); color: var(--em-tinta-suave); }
.status-modelo { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 22px; font-size: 0.9375rem; color: var(--em-tinta-suave); }
.status-modelo::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--em-rosa-vivo); border-right-color: transparent; animation: gira 0.9s linear infinite; flex: none; }
.status-modelo[data-estado="pronto"]::before { animation: none; border: 0; background: var(--em-sucesso); }
.status-modelo[data-estado="erro"]::before { animation: none; border: 0; background: var(--em-erro); }

@keyframes gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

.rodape-legal { display: flex; gap: 18px; justify-content: center; margin-top: 16px; font-size: 0.875rem; }
.rodape-legal a { font-weight: 600; }
