:root {
  --fundo: #f3f5f9;
  --papel: #fff;
  --texto: #182238;
  --secundario: #546177;
  --borda: #dce3ee;
  --barra: #151f35;
  --azul: #204ad1;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  background: var(--fundo);
  color: var(--texto);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; }
a { color: inherit; text-decoration: none; }
p, h1, h2 { margin: 0; }
.secundario { color: var(--secundario); line-height: 1.5; }
.marca { display: inline-flex; align-items: center; gap: 11px; font: 650 23px Bahnschrift, "Segoe UI", sans-serif; white-space: nowrap; }
.marca b { color: #7899ff; font-weight: inherit; }
.marca-icone { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--azul); color: #fff; }
input, button { font: inherit; }
:where(a, button, input):focus-visible { outline: 3px solid #5278e8; outline-offset: 3px; }
.botao { min-height: 44px; border: 1px solid var(--borda); border-radius: 8px; padding: 8px 16px; background: var(--papel); color: var(--texto); font-weight: 670; cursor: pointer; }
.botao:hover { background: #e7edff; }
.botao.principal { background: var(--azul); color: #fff; border-color: var(--azul); }
.botao.principal:hover { background: #163cbc; }
.pagina-login { display: grid; place-items: center; padding: 20px; }
.cartao-login { width: min(100%, 420px); padding: clamp(20px, 5vw, 34px); border: 1px solid var(--borda); border-radius: 16px; background: var(--papel); box-shadow: 0 9px 42px #15244314; }
.cartao-login .marca b { color: var(--azul); }
.cartao-login h1 { margin: 24px 0 6px; font-size: 1.85rem; letter-spacing: -.04em; }
.formulario { display: grid; gap: 8px; margin-top: 24px; }
.formulario label { font-size: .88rem; font-weight: 650; }
.formulario input:not([type=hidden]) { width: 100%; min-height: 44px; padding: 8px 11px; border: 1px solid #a8b5c8; border-radius: 8px; margin-bottom: 6px; }
.formulario .botao { margin-top: 6px; }
.erro { color: #862523; background: #fde9e7; padding: 8px 10px; border-radius: 8px; font-size: .86rem; }
.voltar { color: var(--azul); padding: 10px 0; justify-self: start; }
