/* =====================================================================
   (v452) LOGIN NO PADRÃO TICKETS / ATENDIMENTO -- public/css/login-v452.css
   Fundo claro com manchas de cor, marca no topo, saudação grande e
   cartão translúcido. Com tema de campanha (Black/Natal) muda só a cor.
   Só visual: não muda acesso, senha nem verificação em duas etapas.
   ===================================================================== */
:root { --vm: #D11111; --vm2: #A50D0D; --tx: #101828; --mut: #667085; --fraco: #98A2B3; --bd: #E4E7EC; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--tx); -webkit-font-smoothing: antialiased;
  min-height: 100vh; position: relative; overflow-x: clip;
  background: radial-gradient(at 15% 22%, rgba(209,17,17,.13) 0, transparent 48%), radial-gradient(at 88% 82%, rgba(234,208,32,.20) 0, transparent 52%), linear-gradient(135deg, #FFF7F7 0%, #F6F7FA 55%, #FFFBEA 100%); }

/* manchas de cor */
.lg-bolha { position: fixed; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; opacity: .55; }
.lg-b1 { width: 420px; height: 420px; left: -120px; top: -100px; background: #FCA5A5; animation: lgFlutua 14s ease-in-out infinite alternate; }
.lg-b2 { width: 380px; height: 380px; right: -110px; bottom: -120px; background: #FDE68A; animation: lgFlutua 17s ease-in-out infinite alternate-reverse; }
.lg-b3 { width: 260px; height: 260px; right: 18%; top: 8%; background: #FECACA; opacity: .35; animation: lgFlutua 20s ease-in-out infinite alternate; }
@keyframes lgFlutua { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .lg-bolha { animation: none; } }

.lg-main { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 16px 28px; }

/* marca */
.lg-marca { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; text-decoration: none; }
.lg-marca .mark { width: 46px; height: 46px; border-radius: 13px; overflow: hidden; display: inline-flex; flex: none; }
.lg-marca .mark img { width: 100%; height: 100%; object-fit: contain; }
.lg-marca .nome { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--tx); }
.lg-marca .nome b { color: var(--vm); font-weight: 800; }

.lg-faixa { display: none; gap: 8px; align-items: center; margin: 0 0 14px; font-size: 11.5px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.lg-faixa span, .lg-faixa em { font-style: normal; padding: 4px 11px; border-radius: 99px; }

.lg-ola { font-size: 30px; font-weight: 800; letter-spacing: -.025em; color: var(--tx); text-align: center; margin: 0; }
.lg-sub { font-size: 14px; color: var(--mut); text-align: center; margin: 8px 0 26px; line-height: 1.5; max-width: 420px; }

/* cartão */
.lg-card { position: relative; width: 100%; max-width: 448px; padding: 32px; border-radius: 24px; border: 1px solid rgba(255,255,255,.7);
  background: linear-gradient(135deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.62) 100%); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 24px -8px rgba(16,24,40,.15), 0 30px 60px -30px rgba(209,17,17,.18); }
.lg-passos { position: relative; }
.lg-passo { transition: opacity .28s ease, transform .28s ease; }
.lg-passo.fora { opacity: 0; transform: translateX(-24px); pointer-events: none; position: absolute; inset: 0 0 auto 0; visibility: hidden; }
.lg-passo.entra { animation: lgEntra .32s ease; }
@keyframes lgEntra { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

.lg-campo { display: block; margin-bottom: 18px; }
.lg-campo > span { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); margin-bottom: 7px; }
.lg-inp { position: relative; }
.lg-inp input { width: 100%; height: 48px; border: 1.3px solid var(--bd); border-radius: 14px; padding: 0 16px; font: inherit; font-size: 15px; color: var(--tx);
  background: rgba(255,255,255,.75); transition: border-color .15s, box-shadow .15s, background .15s; }
.lg-inp input::placeholder { color: var(--fraco); }
.lg-inp input:focus { outline: none; border-color: #F3B4B4; background: #fff; box-shadow: 0 0 0 4px rgba(209,17,17,.08); }
.lg-inp.senha input { padding-right: 50px; }
.lg-olho { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: var(--fraco);
  border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lg-olho:hover { color: var(--vm); background: rgba(209,17,17,.06); }

.lg-btn { width: 100%; height: 48px; margin-top: 8px; border: 0; border-radius: 14px; color: #fff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, #EF4444 0%, #D11111 55%, #A50D0D 100%); box-shadow: 0 10px 24px -10px rgba(209,17,17,.7);
  transition: transform .15s, box-shadow .15s, filter .15s; }
.lg-btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 14px 28px -10px rgba(209,17,17,.75); }
.lg-btn:active { transform: translateY(0); }
.lg-btn:disabled { transform: none; filter: saturate(.6); cursor: default; }
.lg-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: lgGira .8s linear infinite; display: none; }
.lg-btn.carregando .lg-spin { display: inline-block; }
@keyframes lgGira { to { transform: rotate(360deg); } }

.lg-links { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.lg-seguro { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--fraco); font-weight: 600; }
.lg-seguro svg { color: var(--vm); flex: none; }
.lg-link, .lg-links a { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--vm); cursor: pointer; text-decoration: none; }
.lg-link:hover, .lg-links a:hover { text-decoration: underline; }

.lg-erro { display: none; background: #FEE2E2; color: #B91C1C; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; margin: 0 0 16px; }
.lg-erro.on { display: block; animation: lgTreme .35s; }
@keyframes lgTreme { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

.lg-pe { text-align: center; color: var(--mut); font-size: 13px; margin: 20px 0 0; }
.lg-pe a { color: var(--vm); font-weight: 700; text-decoration: none; }
.lg-pe a:hover { text-decoration: underline; }
.lg-rodape { margin-top: 10px; font-size: 12px; color: var(--fraco); text-align: center; }

/* quem já entrou neste aparelho */
.lg-conta { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.7); border: 1px solid #EEF0F3; border-radius: 40px; padding: 8px 16px 8px 8px; margin: 0 0 18px; }
.lg-conta-av { width: 44px; height: 44px; border-radius: 50%; background: var(--vm); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex: none; }
.lg-conta-tx { min-width: 0; }
.lg-conta b { display: block; font-size: 14.5px; color: var(--tx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-conta small { display: block; font-size: 12.5px; color: var(--mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-conta button { border: 0; background: none; padding: 0; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--vm); cursor: pointer; }

/* 2º passo: código */
.lg-voltar { border: none; background: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--mut); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; padding: 0; margin-bottom: 18px; }
.lg-voltar:hover { color: var(--tx); }
.lg-escudo { width: 52px; height: 52px; border-radius: 16px; background: #FDECEC; color: var(--vm); display: flex; align-items: center; justify-content: center; margin: 0 0 14px; }
.lg-passo h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; color: var(--tx); }
.lg-passo .lg-sub2 { font-size: 14px; color: var(--mut); margin: 0 0 18px; line-height: 1.5; }
.lg-metodos { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #EEF1F5; border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.lg-metodos.um { grid-template-columns: 1fr; } .lg-metodos.tres { grid-template-columns: 1fr 1fr 1fr; }
.lg-metodos button { border: none; background: none; border-radius: 9px; padding: 9px 6px; font: inherit; font-size: 12.5px; font-weight: 700; color: #475467; cursor: pointer;
  display: inline-flex; gap: 6px; align-items: center; justify-content: center; white-space: nowrap; }
.lg-metodos button.on { background: #fff; color: var(--vm); box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.lg-dica { font-size: 13.5px; color: #344054; background: rgba(255,255,255,.7); border: 1px solid #EEF0F3; border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; line-height: 1.5; }
.lg-dica b { white-space: nowrap; }
.lg-digitos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 14px; }
.lg-digitos input { width: 100%; min-width: 0; aspect-ratio: 1 / 1.15; max-height: 60px; border: 1.3px solid var(--bd); border-radius: 12px; text-align: center; font: inherit;
  font-size: 22px; font-weight: 800; color: var(--tx); background: rgba(255,255,255,.8); }
.lg-digitos input:focus { outline: none; border-color: #F3B4B4; box-shadow: 0 0 0 4px rgba(209,17,17,.08); background: #fff; }
.lg-digitos input.cheio { border-color: #D0D5DD; background: #fff; }
.lg-lembrar { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: #344054; margin: 2px 0 12px; cursor: pointer; }
.lg-lembrar input { width: 18px; height: 18px; accent-color: var(--vm); }
.lg-reenviar { text-align: center; font-size: 13px; color: var(--mut); margin-top: 14px; }
.lg-reenviar button { border: none; background: none; font: inherit; color: var(--vm); font-weight: 700; cursor: pointer; padding: 0; }
.lg-reenviar button:disabled { color: var(--fraco); cursor: default; }

/* mascote da campanha (só no PC) */
.lg-mascote { display: none; position: fixed; right: 3%; bottom: 0; height: min(52vh, 460px); width: auto; z-index: 0; pointer-events: none; }

@media (max-width: 480px) {
  .lg-main { justify-content: flex-start; padding-top: 52px; }
  .lg-marca .mark { width: 40px; height: 40px; border-radius: 11px; } .lg-marca .nome { font-size: 26px; }
  .lg-ola { font-size: 26px; }
  .lg-card { padding: 24px 20px; border-radius: 22px; }
  .lg-metodos.tres button { font-size: 11.5px; gap: 4px; padding: 9px 2px; }
  .lg-metodos.tres button svg { display: none; }
  .lg-digitos { gap: 6px; }
}

/* ---------- BLACK FRIDAY ---------- */
body.lt-black { --vm: #FFE100; --tx: #F5F5F5; --mut: #A3A3A3; --fraco: #737373; --bd: #2E2E2E; color-scheme: dark;
  background: radial-gradient(at 15% 22%, rgba(255,225,0,.10) 0, transparent 48%), radial-gradient(at 88% 82%, rgba(209,17,17,.16) 0, transparent 52%), #0A0A0A; }
body.lt-black .lg-bolha { opacity: .14; } body.lt-black .lg-b1 { background: #FFE100; } body.lt-black .lg-b2 { background: #D11111; } body.lt-black .lg-b3 { background: #FFE100; opacity: .06; }
body.lt-black .lg-marca .nome { color: #fff; } body.lt-black .lg-marca .nome b { color: #FFE100; }
body.lt-black .lg-faixa { display: inline-flex; }
body.lt-black .lg-faixa span { background: #FFE100; color: #000; } body.lt-black .lg-faixa em { border: 1.5px solid #FFE100; color: #FFE100; }
body.lt-black .lg-card { background: rgba(20,20,20,.82); border-color: rgba(255,255,255,.06); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
body.lt-black .lg-inp input, body.lt-black .lg-digitos input { background: #141414; border-color: #2E2E2E; color: #fff; }
body.lt-black .lg-inp input:focus, body.lt-black .lg-digitos input:focus { border-color: #FFE100; box-shadow: 0 0 0 4px rgba(255,225,0,.14); background: #141414; }
body.lt-black .lg-digitos input.cheio { background: #1C1C1C; border-color: #3A3A3A; }
body.lt-black .lg-olho:hover { background: #1C1C1C; }
body.lt-black .lg-btn { background: #FFE100; color: #000; box-shadow: 0 10px 24px -12px rgba(255,225,0,.7); }
body.lt-black .lg-btn:hover { box-shadow: 0 14px 28px -12px rgba(255,225,0,.75); }
body.lt-black .lg-spin { border-color: rgba(0,0,0,.3); border-top-color: #000; }
body.lt-black .lg-conta { background: #141414; border-color: #262626; } body.lt-black .lg-conta-av { background: #FFE100; color: #000; }
body.lt-black .lg-escudo { background: #1C1C1C; color: #FFE100; }
body.lt-black .lg-metodos { background: #141414; } body.lt-black .lg-metodos button { color: #A3A3A3; } body.lt-black .lg-metodos button.on { background: #FFE100; color: #000; }
body.lt-black .lg-dica { background: #141414; border-color: #262626; color: #D4D4D4; }
body.lt-black .lg-lembrar { color: #D4D4D4; }
body.lt-black .lg-erro { background: #2A1212; color: #FCA5A5; }
@media (min-width: 1100px) { body.lt-black .lg-mascote { display: block; filter: drop-shadow(0 18px 30px rgba(0,0,0,.7)); } }

/* ---------- NATAL MÁGICO ---------- */
body.lt-natal { --vm: #B5121B;
  background: radial-gradient(at 15% 22%, rgba(181,18,27,.14) 0, transparent 48%), radial-gradient(at 88% 82%, rgba(242,195,91,.26) 0, transparent 52%), linear-gradient(135deg, #FFF5F2 0%, #FBF7F0 55%, #FFF6E0 100%); }
body.lt-natal .lg-b2 { background: #F6D488; }
body.lt-natal .lg-faixa { display: inline-flex; }
body.lt-natal .lg-faixa span { background: #B5121B; color: #fff; } body.lt-natal .lg-faixa em { background: #F2C35B; color: #3A0A10; }
body.lt-natal .lg-btn { background: linear-gradient(135deg, #D2222C 0%, #B5121B 55%, #7A0B12 100%); }

/* ---- v453: telas Esqueci a senha, Criar nova senha e Solicitar acesso ---- */
.lg-inp textarea { width: 100%; min-height: 92px; border: 1.3px solid var(--bd); border-radius: 14px; padding: 12px 16px; font: inherit; font-size: 15px; color: var(--tx);
  background: rgba(255,255,255,.75); resize: vertical; transition: border-color .15s, box-shadow .15s, background .15s; }
.lg-inp textarea::placeholder { color: var(--fraco); }
.lg-inp textarea:focus { outline: none; border-color: #F3B4B4; background: #fff; box-shadow: 0 0 0 4px rgba(209,17,17,.08); }
.lg-ajuda { font-size: 12.5px; color: var(--fraco); margin: -10px 0 16px; line-height: 1.45; }
.lg-ok { display: none; font-size: 13.5px; font-weight: 600; color: #15803D; background: #DCFCE7; border-radius: 12px; padding: 10px 12px; margin: 0 0 16px; line-height: 1.45; }
.lg-ok.on { display: block; }
.lg-feito { text-align: center; padding: 6px 0 2px; }
.lg-feito-ic { width: 60px; height: 60px; border-radius: 50%; background: #DCFCE7; color: #15803D; display: inline-flex; align-items: center; justify-content: center; margin: 0 0 14px; }
.lg-feito h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; color: var(--tx); }
.lg-feito p { font-size: 14px; color: var(--mut); margin: 0 0 18px; line-height: 1.5; }
.lg-centro { justify-content: center; }
body.lt-black .lg-inp textarea { background: #141414; border-color: #2E2E2E; color: #fff; }
body.lt-black .lg-ok, body.lt-black .lg-feito-ic { background: #12301D; color: #86EFAC; }
