/* NAONDE — tela de boas-vindas para quem não está logado, só no celular (nd-entrada-celular.js).
   Estática: sem animações, transições ou brilhos. Fundo amarelo claro do NAONDE em toda a tela, inclusive ao tocar. */
#ndEntrada { position: fixed; inset: 0; z-index: 2147482000; display: flex; flex-direction: column; align-items: center;
  background: #fff1ad; color: #1d1d1f; overflow-y: auto; overscroll-behavior: contain; -webkit-tap-highlight-color: transparent;
  padding: calc(env(safe-area-inset-top) + 10px) calc(env(safe-area-inset-right) + 24px) calc(env(safe-area-inset-bottom) + 16px) calc(env(safe-area-inset-left) + 24px);
  font-family: inherit; text-align: center; animation: none !important; transition: none !important; }
#ndEntrada[hidden] { display: none !important; }
html.nd-entrada-on, html.nd-entrada-on body { overflow: hidden !important; }
/* enquanto esta tela está aberta (diálogo modal que cobre tudo), o resto do site não é pintado por baixo */
html.nd-entrada-on body > :not(#ndEntrada):not(#carregando) { visibility: hidden !important; }
#ndEntrada * { animation: none !important; transition: none !important; -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
#ndEntrada button { font: inherit; color: inherit; border: 0; margin: 0; cursor: pointer; }
#ndEntrada button:focus-visible { outline: 2px solid #0866ff; outline-offset: 3px; }

/* topo: idioma */
.nde-topo { position: relative; flex: 0 0 auto; width: 100%; display: flex; justify-content: center; min-height: 44px; }
.nde-idioma { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: 999px; background: transparent; font-size: 15px; color: #5c5636; }
.nde-idioma:active { background: #ffe680; }
.nde-idioma svg { width: 16px; height: 16px; }
.nde-lista { position: absolute; top: 44px; left: 50%; transform: translateX(-50%); z-index: 2; width: min(280px, calc(100vw - 48px)); max-height: min(60vh, 420px); overflow-y: auto;
  padding: 6px; border-radius: 18px; background: #fff6cc; box-shadow: 0 0 0 1px #f0d978, 0 14px 30px -14px rgba(122, 90, 0, .45); text-align: left; }
.nde-lista[hidden] { display: none; }
.nde-lista button { display: block; width: 100%; padding: 11px 14px; border-radius: 12px; background: transparent; font-size: 15px; text-align: left; }
.nde-lista button:active, .nde-lista button[aria-checked="true"] { background: #ffe680; font-weight: 700; }

/* meio: ilustração (vetor, nítida em qualquer tela) */
.nde-arte { flex: 1 1 auto; min-height: 140px; width: 100%; display: flex; align-items: center; justify-content: center; padding: 8px 0 18px; }
.nde-arte svg { display: block; width: 100%; max-width: 360px; height: auto; max-height: 100%; }

/* texto */
.nde-tit { flex: 0 0 auto; margin: 0 0 10px; font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.nde-txt { flex: 0 0 auto; margin: 0 0 26px; max-width: 330px; font-size: 16px; line-height: 1.45; color: #4d4628; }

/* botões largos, cantos bem arredondados */
.nde-bts { flex: 0 0 auto; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.nde-bt { display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; border-radius: 999px; font-size: 17px !important; font-weight: 700; }
.nde-comecar { background: #0866ff !important; color: #fff !important; }
.nde-comecar:active { background: #0757d6 !important; }
.nde-perfil { background: #ffe680 !important; color: #1d1d1f !important; }
.nde-perfil:active { background: #ffd84d !important; }
/* tocado antes de o site terminar de carregar: a ação acontece assim que ele estiver pronto */
.nde-bt[aria-busy="true"] { cursor: progress; opacity: .75; }

/* rodapé: mesmo padrão do "From NAONDE" da tela de carregamento */
.nde-assina { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 22px; color: #1d1d1f;
  font-family: "NAONDE Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.nde-assina span { font-size: 13px; font-weight: 400; line-height: 1.2; color: rgba(0, 0, 0, .6); }
.nde-assina b { font-size: 18px; font-weight: 600; line-height: 1.2; letter-spacing: .02em; }

/* telas baixas (ex.: 320×568): a ilustração encolhe e o resto continua inteiro */
@media (max-height: 640px) {
  .nde-tit { font-size: 24px; margin-bottom: 8px; }
  .nde-txt { font-size: 15px; margin-bottom: 18px; }
  .nde-bt { height: 46px; }
  .nde-assina { margin-top: 14px; }
}
@media (max-height: 520px) { .nde-arte { min-height: 96px; padding-bottom: 10px; } }
