/* Telas de entrada 2027 (login, cadastro e passo a passo do Google). Base: home_publica_2027.css. */

.lg-fundo { min-height: calc(100vh - 67px); padding: 40px 16px 64px;
  background: radial-gradient(60% 60% at 100% 100%, rgba(249,115,22,.16), transparent 60%),
              radial-gradient(80% 90% at 0% 0%, #1e3a8a 0%, #172554 35%, var(--bg) 100%); }
.lg-coluna { max-width: 480px; margin: 0 auto; }
.lg-topo { margin-left: auto; }
.lg .hp-topo__botoes .lg-entrar { display: inline-flex; }

.lg-cartao { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--raio-g); padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.lg-coluna:has(.lg-cartao--largo) { max-width: 600px; }
.lg-selo { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; color: #fb923c; margin-bottom: 6px !important; }
.lg .lg-h1 { font-size: 28px; font-weight: 900; line-height: 1.15; margin-bottom: 8px; }
.lg-lead { color: #c7d2e6; margin-bottom: 20px !important; }
.lg-lead strong, .lg-google strong { color: #fff; overflow-wrap: anywhere; }

.lg-form { display: flex; flex-direction: column; gap: 14px; }
.lg-campo { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--text); }
.lg-campo small { font-weight: 500; color: var(--text-2); }
.lg-campo input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--bg-elev); color: #fff; font: 500 16px Inter, system-ui, sans-serif; }
.lg-campo input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(59,130,246,.25); }
.lg-campo input::placeholder { color: #64748b; }
.lg-senha { position: relative; display: block; }
.lg-senha input { padding-right: 52px; }
.lg-senha__ver { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0;
  border-radius: 10px; background: transparent; color: var(--text-2); font-size: 18px; cursor: pointer; }
.lg-senha__ver:hover { color: #fff; background: rgba(148,163,184,.12); }
.lg-codigo { font-size: 28px !important; letter-spacing: .35em; text-align: center; font-weight: 800 !important; }
.lg-linha { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.lg-check { display: inline-flex; gap: 8px; align-items: center; color: var(--text-2); cursor: pointer; }
.lg-check input { width: 18px; height: 18px; }

.lg-botao { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 20px;
  border-radius: 12px; border: 0; font: 800 16px Inter, system-ui, sans-serif; cursor: pointer; text-decoration: none; }
.lg .lg-botao--laranja { background: var(--ember); color: #fff; }
.lg .lg-botao--laranja:hover { background: #ea580c; color: #fff; }
.lg-troca { margin-top: 18px !important; text-align: center; color: var(--text-2); }
.lg-nota { font-size: 13.5px; color: var(--text-2); }
.lg-nota--centro { text-align: center; margin-top: 12px !important; }
.lg-rodape-nota { text-align: center; margin-top: 18px !important; color: var(--text-2); font-size: 14px; }

.lg-alerta { padding: 12px 14px; border-radius: 12px; font-size: 14.5px; margin-bottom: 16px; line-height: 1.5; }
.lg-alerta--erro { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.45); color: #fecaca; }
.lg-alerta--ok { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.45); color: #bbf7d0; }
.lg-alerta--atencao { background: rgba(250,204,21,.1); border: 1px solid rgba(250,204,21,.45); color: #fef3c7; margin: 20px 0 0; }
.lg-alerta--atencao strong { display: block; color: #fde047; margin-bottom: 4px; }
.lg-dica { display: block; margin-top: 8px; color: #fde68a; }

/* Google por último */
.lg-ou { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; color: var(--text-2); font-size: 14px; }
.lg-ou::before, .lg-ou::after { content: ""; flex: 1; height: 1px; background: var(--border-strong); }
.lg-sociais { display: flex; flex-direction: column; gap: 10px; }
.lg-social { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; border-radius: 12px;
  font-weight: 700; text-decoration: none; }
.lg-social svg { width: 22px; height: 22px; }
.lg a.lg-social--google { background: #fff; color: #1f1f1f; }
.lg a.lg-social--google:hover { background: #f1f5f9; color: #1f1f1f; }
.lg a.lg-social--facebook { background: #1877f2; color: #fff; }

/* Passo a passo do Google */
.lg-etapas { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 8px; }
.lg-etapas li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-2);
  padding-bottom: 10px; border-bottom: 3px solid rgba(148,163,184,.2); }
.lg-etapas li span { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px;
  background: rgba(148,163,184,.25); }
.lg-etapas li.is-atual { color: #fff; border-color: var(--ember); }
.lg-etapas li.is-atual span { background: var(--ember); color: #fff; }
.lg-etapas li.is-feito { border-color: var(--verde); }
.lg-etapas li.is-feito span { background: var(--verde); color: #04210f; }
.lg-google { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--text-2); margin-bottom: 16px !important; }
.lg-google .bi { color: #86efac; }

.lg-opcoes { display: flex; flex-direction: column; gap: 12px; }
.lg-opcao { margin: 0; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--bg-elev); }
.lg-opcao__botao { width: 100%; display: flex; gap: 14px; align-items: center; padding: 16px; border: 0; background: none;
  color: var(--text); text-align: left; font: inherit; cursor: pointer; list-style: none; border-radius: 14px; }
.lg-opcao__botao::-webkit-details-marker { display: none; }
.lg-opcao__botao:hover { background: rgba(148,163,184,.08); }
.lg-opcao__botao strong { display: block; font-size: 16px; color: #fff; }
.lg-opcao__botao small { display: block; font-size: 13.5px; color: var(--text-2); margin-top: 2px; }
.lg-opcao__icone { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px;
  background: rgba(34,197,94,.16); color: #86efac; }
.lg-opcao__icone--laranja { background: rgba(249,115,22,.16); color: var(--ember-claro); }
.lg-opcao--abre[open] { border-color: rgba(249,115,22,.6); }
.lg-opcao--abre .lg-form { padding: 0 16px 16px; }
.lg-voltar { margin-top: 14px; text-align: center; }
.lg-voltar button, .lg-link { background: none; border: 0; color: #93c5fd; font: 600 14.5px Inter, sans-serif; cursor: pointer; text-decoration: underline; }
.lg-linha-botoes { display: flex; gap: 16px; justify-content: center; margin-top: 8px; }

/* Balão do Google */
.lg-balao { max-width: 520px; width: calc(100% - 32px); border: 1px solid var(--border-strong); border-radius: var(--raio-g); padding: 28px;
  background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lg-balao::backdrop { background: rgba(2,6,23,.75); }
.lg-balao h2 { font-size: 22px; font-weight: 900; color: #fff; margin: 0 0 8px; }
.lg-balao p { color: #c7d2e6; margin: 0 0 12px; }
.lg-balao__selo { font-size: 12.5px !important; font-weight: 800; letter-spacing: .1em; color: #fb923c !important; margin-bottom: 6px !important; }
.lg-balao__fechar { position: absolute; top: 12px; right: 12px; margin: 0; }
.lg-balao__fechar button { width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(148,163,184,.12); color: #fff; cursor: pointer; }
.lg-balao__passos { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lg-balao__passos li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.lg-balao__passos li span { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  font-size: 13px; background: var(--ember); color: #fff; }
.lg-balao__fim { color: #bbf7d0 !important; font-weight: 600; }
.lg-balao .lg-alerta--atencao { margin: 0 0 16px; }

@media (max-width: 560px) {
  .lg-fundo { padding-top: 24px; }
  .lg-cartao, .lg-balao { padding: 22px 18px; }
  .lg .lg-h1 { font-size: 24px; }
  .lg-etapas li { font-size: 12px; }
}
