@font-face { font-family: 'Geist'; src: url('/assets/fonts/Geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/GeistMono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

/* Entrada do sistema: mesma linguagem do resto — plano, linha fina, tinta
   escura na ação e o laranja do tucano só no foco. */
:root {
  --tinta: #1c1917; --suave: #57534e; --fraco: #a8a29e; --linha: #e7e5e4; --linha-forte: #d6d3d1;
  --acento: #ea580c; --vermelho: #dc2626; --vermelho-claro: #fef2f2;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 14px; color: var(--tinta); background: #fafaf9; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
input:focus-visible { outline: 0; }

.tela { min-height: 100%; display: flex; align-items: center; justify-content: center; }
.formulario { width: 100%; display: flex; flex-direction: column; align-items: center; padding: 32px 20px; }
.cartao { width: 100%; max-width: 372px; background: #fff; border: 1px solid var(--linha); border-radius: 14px; padding: 34px 32px 28px; box-shadow: 0 4px 16px -4px rgb(28 25 23 / 0.08), 0 2px 4px -2px rgb(28 25 23 / 0.04); }
.logo { display: block; height: 42px; width: auto; margin: 0 0 22px; }
.sistema { font-size: 13px; color: var(--suave); margin-bottom: 4px; }
.sistema span { font-family: 'Geist Mono', ui-monospace, monospace; }
h2 { font-size: 26px; letter-spacing: -.03em; font-weight: 650; }
.sub { color: var(--suave); font-size: 13.5px; margin-top: 4px; line-height: 1.5; }
form { margin-top: 20px; display: grid; gap: 14px; }
.campo { display: grid; gap: 5px; }
label { font-size: 12.5px; font-weight: 550; }
input { width: 100%; border: 1px solid var(--linha-forte); border-radius: 8px; padding: 10px 12px; font-size: 15px; background: #fff; outline: 0; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #a9aeb5; }
input:focus { border-color: var(--acento); box-shadow: 0 0 0 3px rgb(234 88 12 / 0.18); }
.com-botao { position: relative; }
.com-botao input { padding-right: 78px; }
.olho { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--suave); font-size: 12.5px; padding: 6px 9px; border-radius: 4px; cursor: pointer; }
.olho:hover { color: var(--tinta); background: #f3f4f5; }
.dica { font-size: 12px; color: var(--fraco); }
.entrar { margin-top: 4px; border: 0; border-radius: 8px; padding: 11px; font-size: 14.5px; font-weight: 600; color: #fff; cursor: pointer; background: var(--tinta); }
.entrar:hover { background: #44403c; }
.entrar:disabled { opacity: .6; cursor: wait; }
.alerta { margin-top: 16px; background: var(--vermelho-claro); color: #7d1a14; border-left: 3px solid var(--vermelho); border-radius: 6px; padding: 9px 12px; font-size: 13.5px; }
.rodape { margin-top: 18px; font-size: 12.5px; color: var(--fraco); }
@media (max-width: 480px) { .cartao { padding: 24px 20px 22px; } }
