/* Telas de acesso (login / esqueci / redefinir) — mesma identidade do portal */
:root {
  --azul: #1d3b7a; --azul-2: #2f6fd6; --verde: #4caf3c; --amarelo: #ffd23f; --amarelo-esc: #f2b705;
  --creme: #fff8ea; --texto: #213052; --suave: #5b6b8c; --erro: #c62f45; --ok: #2e8b3a;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; font-family: 'Nunito', system-ui, sans-serif; color: var(--texto);
  background: linear-gradient(180deg, #bfe3ff 0%, #dff1ff 45%, #e6f6dc 75%, #cfeab8 100%);
  display: flex; align-items: center; justify-content: center; padding: 24px 16px;
}
body::after {
  content: ""; position: fixed; left: -10%; right: -10%; bottom: -120px; height: 260px; z-index: -1;
  background: radial-gradient(ellipse at 30% 0%, #8fd06a 0 40%, transparent 41%), radial-gradient(ellipse at 75% 10%, #79c257 0 45%, transparent 46%);
}
.cartao {
  width: 100%; max-width: 420px; background: #fff; border-radius: 28px; padding: 30px 30px 26px;
  box-shadow: 0 20px 50px rgba(29, 59, 122, .18); position: relative;
}
.topo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.selo {
  width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(160deg, #fff, #eaf5ff);
  border: 3px solid #d6ebff; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; font-size: 38px;
}
.selo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.marca strong { display: block; font-family: 'Baloo 2', sans-serif; font-size: 1.35rem; color: var(--azul); line-height: 1.1; }
.marca span { display: inline-block; margin-top: 4px; background: var(--amarelo); color: #6b4700; font-weight: 800; font-size: .72rem; padding: 2px 12px; border-radius: 999px; }
h1 { font-family: 'Baloo 2', sans-serif; font-size: 1.45rem; margin: 6px 0 2px; color: var(--azul); }
.sub { margin: 0 0 18px; color: var(--suave); font-size: .93rem; }
label { display: block; font-weight: 800; font-size: .85rem; margin: 12px 0 6px; color: var(--azul); }
input {
  width: 100%; padding: 13px 14px; border-radius: 14px; border: 2px solid #dbe6f5; font: inherit; font-size: 1rem;
  background: #fbfdff; transition: border-color .15s;
}
input:focus { outline: none; border-color: var(--azul-2); box-shadow: 0 0 0 4px rgba(47, 111, 214, .12); }
.botao {
  width: 100%; margin-top: 20px; padding: 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--amarelo); color: #5c3d00; font: inherit; font-weight: 800; font-size: 1.02rem;
  box-shadow: 0 5px 0 var(--amarelo-esc); transition: transform .1s;
}
.botao:hover { transform: translateY(-1px); }
.botao:disabled { opacity: .6; cursor: wait; transform: none; }
.links { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; font-size: .9rem; flex-wrap: wrap; }
.links a, .links button { color: var(--azul-2); font-weight: 700; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.msg { margin-top: 14px; padding: 11px 14px; border-radius: 12px; font-size: .9rem; font-weight: 600; }
.msg.erro { background: #fde8eb; color: var(--erro); }
.msg.ok { background: #e6f6e6; color: var(--ok); }
.oculto { display: none !important; }
.dica { font-size: .8rem; color: var(--suave); margin-top: 6px; }
