/* Tela de login (desenho 2026-10-19) e intro loader das boas-vindas. */
body.sem-menu main:has(> .tela-login), body.sem-menu main:has(> .intro-loader) { padding: 0; max-width: none; margin: 0; }
.tela-login { --tl-azul: #3b7bff; --tl-azul-2: #2f6bff; --tl-texto: #eef2f8; --tl-sub: #9aa6b8; --tl-borda: rgba(255, 255, 255, .1);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 100vh; color: var(--tl-texto); background: #151b24; }

/* Lado esquerdo: apresentação */
.tl-apresentacao { position: relative; display: flex; flex-direction: column; padding: 40px 56px 36px; overflow: hidden; border-right: 1px solid var(--tl-borda);
  background: radial-gradient(900px 500px at 30% 65%, rgba(59, 123, 255, .14), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, #1a212c, #141a23); }
.tl-marca .logo-ph-icone { width: 38px; height: 38px; }
.tl-marca .logo-ph-texto { font-size: 30px; }
.tl-titulo { margin: 56px 0 0; font-size: clamp(40px, 5vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
.tl-titulo span { display: block; color: var(--tl-azul); }
.tl-sub { margin: 18px 0 0; font-size: clamp(16px, 1.6vw, 22px); color: #c3cbd8; }
.tl-etapas { list-style: none; display: flex; align-items: center; gap: 0; margin: 34px 0 0; padding: 0 0 0 48px; }
.tl-etapas li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #dfe5ee; white-space: nowrap; }
.tl-etapas li + li::before { content: ''; width: 44px; height: 2px; margin: 0 12px; background: linear-gradient(90deg, rgba(59, 123, 255, .3), var(--tl-azul)); }
.tl-etapas .ico { width: 56px; height: 56px; padding: 15px; box-sizing: border-box; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .03); color: #dfe5ee; }
.tl-etapas li.ativa { color: #6fa0ff; font-weight: 600; }
.tl-etapas li.ativa .ico { border-color: var(--tl-azul); background: radial-gradient(circle, #3b7bff, #2353c9); color: #fff; box-shadow: 0 0 0 6px rgba(59, 123, 255, .18), 0 0 28px rgba(59, 123, 255, .45); }
.tl-ilustracao { display: block; width: 100%; max-width: 840px; height: auto; margin: 22px 0 0 -16px; -webkit-mask-image: radial-gradient(120% 100% at 50% 45%, #000 70%, transparent 100%); mask-image: radial-gradient(120% 100% at 50% 45%, #000 70%, transparent 100%); }
.tl-canais { margin-top: auto; padding-top: 18px; }
.tl-canais p { margin: 0 0 12px; font-size: 15px; color: #c3cbd8; }
.tl-canais img { display: block; width: 100%; max-width: 760px; height: auto; opacity: .9; }

/* Lado direito: acesso */
.tl-acesso { display: flex; flex-direction: column; justify-content: center; padding: 40px 56px 28px; background: linear-gradient(180deg, #19202a, #121820); }
.tl-form-caixa { width: 100%; max-width: 490px; margin: auto; }
.tl-marca-movel { display: none; margin-bottom: 28px; }
.tl-acesso h2 { margin: 0; font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -.025em; }
.tl-sub2 { margin: 8px 0 34px; font-size: 18px; color: var(--tl-sub); }
.tl-erro, .tl-aviso { margin: -12px 0 20px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.tl-erro { background: rgba(255, 107, 94, .12); border: 1px solid rgba(255, 107, 94, .4); color: #ff9a8f; }
.tl-aviso { background: rgba(59, 123, 255, .12); border: 1px solid rgba(59, 123, 255, .4); color: #9fbcff; }
.tl-form { display: grid; gap: 22px; }
.tl-campo { display: grid; gap: 10px; font-size: 16px; font-weight: 600; }
.tl-entrada { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .03); transition: border-color .15s, box-shadow .15s; }
.tl-entrada:focus-within { border-color: var(--tl-azul); box-shadow: 0 0 0 4px rgba(59, 123, 255, .18); }
.tl-entrada > .ico { width: 22px; height: 22px; color: #aab4c4; flex: none; }
.tl-entrada input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--tl-texto); font: inherit; font-weight: 400; font-size: 17px; }
.tl-entrada input::placeholder { color: #6f7a8c; }
.tl-ver { all: unset; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; cursor: pointer; color: #c3cbd8; }
.tl-ver:hover, .tl-ver:focus-visible { background: rgba(255, 255, 255, .07); }
.tl-ver .ico { width: 22px; height: 22px; }
.tl-ver[aria-pressed="true"] { color: var(--tl-azul); }
.tl-linha { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.tl-check { display: flex; align-items: center; gap: 12px; cursor: pointer; color: #d5dbe5; }
.tl-check input { width: 22px; height: 22px; accent-color: var(--tl-azul); }
.tl-linha a, .tl-rodape a { color: #6fa0ff; text-underline-offset: 3px; }
.tl-entrar { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 62px; margin-top: 10px; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(180deg, #4a86ff, #2f6bff); color: #fff; font: inherit; font-size: 19px; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 28px rgba(47, 107, 255, .35); transition: transform .12s, box-shadow .15s, filter .15s; }
.tl-entrar:hover { filter: brightness(1.07); box-shadow: 0 12px 32px rgba(47, 107, 255, .45); }
.tl-entrar:active { transform: translateY(1px); }
.tl-entrar .ico { width: 22px; height: 22px; }
.tl-restrito { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px 0 0; font-size: 15px; color: #c3cbd8; }
.tl-restrito .ico-mini { width: 18px; height: 18px; }
.tl-acesso hr { border: 0; border-top: 1px solid var(--tl-borda); margin: 30px 0; }
.tl-precisa { margin: 0; text-align: center; font-size: 16px; color: #d5dbe5; }
.tl-rodape { display: flex; justify-content: space-between; gap: 12px; width: 100%; max-width: 490px; margin: 0 auto; font-size: 14px; color: #8d98ab; }
.tl-simples { grid-template-columns: 1fr; }
.tl-simples .tl-sub2 { line-height: 1.5; }
.tl-texto p { color: #c3cbd8; line-height: 1.6; }
.tl-simples .tl-marca { margin-bottom: 26px; }
.tl-simples .tl-entrar { width: auto; display: inline-flex; padding: 0 22px; height: 52px; font-size: 16px; }

@media (max-width: 1100px) {
  .tl-apresentacao { padding: 32px 36px; }
  .tl-etapas { padding-left: 0; }
  .tl-etapas li + li::before { width: 24px; margin: 0 8px; }
  .tl-acesso { padding: 32px 36px 24px; }
}
@media (max-width: 860px) {
  .tela-login { grid-template-columns: 1fr; }
  .tl-apresentacao { display: none; }
  .tl-marca-movel { display: block; }
  .tl-acesso { padding: 28px 16px 20px; min-height: 100vh; box-sizing: border-box; }
}

/* Intro loader (boas-vindas) */
.intro-loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #090909; overflow: hidden; user-select: none;
  transition: opacity .55s cubic-bezier(.22, 1, .36, 1), filter .55s, transform .55s; }
.intro-loader.saindo { opacity: 0; filter: blur(12px); transform: scale(1.02); }
.il-luz { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .04); filter: blur(80px); pointer-events: none; }
.il-centro { position: relative; display: flex; align-items: center; gap: 12px; padding: 0 16px; text-align: center; }
.il-texto { font-size: clamp(32px, 5vw, 52px); font-weight: 500; letter-spacing: -.02em; color: #fafafa; }
.il-texto.entra { animation: il-entra .24s cubic-bezier(.22, 1, .36, 1); }
@keyframes il-entra { from { opacity: 0; transform: translateY(10px) scale(.94); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
.il-lang { font: 500 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #8a8a8a; padding: 4px 6px; border: 1px solid #2a2a2a; border-radius: 6px; }
.il-lang[hidden] { display: none; }
.il-pular { position: absolute; top: 22px; right: 22px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgba(24, 24, 24, .9); border: 1px solid #333; color: #a1a1a1; font: 500 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-decoration: none;
  transition: color .15s, border-color .15s; animation: il-aparece .3s .1s both; }
.il-pular:hover, .il-pular:focus-visible { color: #fff; border-color: #4a4a4a; }
.il-pular kbd { font: inherit; font-size: 9px; color: #6b6b6b; background: #222; border: 1px solid #1f1f1f; border-radius: 4px; padding: 0 4px; }
@keyframes il-aparece { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.il-progresso { position: absolute; bottom: 32px; left: 33%; right: 33%; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.il-progresso i { display: block; width: 0; height: 100%; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .4), #fff, rgba(255, 255, 255, .7)); transition: width .22s ease-out; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) { .il-progresso { left: 32px; right: 32px; } }
@media (prefers-reduced-motion: reduce) { .intro-loader, .il-texto.entra, .il-pular { transition: none; animation: none; } }
.tl-etapas { padding-left: clamp(0px, 3vw, 48px); flex-wrap: nowrap; }
.tl-etapas li { font-size: clamp(13px, 1.1vw, 15px); gap: clamp(8px, .8vw, 12px); }
.tl-etapas li + li::before { width: clamp(16px, 2.6vw, 44px); margin: 0 clamp(6px, .8vw, 12px); }
.tl-etapas .ico { width: clamp(44px, 3.8vw, 56px); height: clamp(44px, 3.8vw, 56px); padding: clamp(11px, 1vw, 15px); }
