/* Ásia em Movimento · acesso. Mesma família visual do site: fundo claro, azul #05A6FF, Nunito + Inter Tight. */
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('fontes/nunito-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 900; font-display: swap; src: url('fontes/nunito-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-weight: 400; font-display: swap; src: url('fontes/inter-tight-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-weight: 500; font-display: swap; src: url('fontes/inter-tight-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-weight: 600; font-display: swap; src: url('fontes/inter-tight-latin-600-normal.woff2') format('woff2'); }

:root {
  --azul: #05A6FF;
  --azul-escuro: #0378BC;   /* texto azul sobre branco com contraste AA */
  --teal: #006269;
  --preto: #000;
  --cinza: #595959;
  --linha: #D9D9D9;
  --painel: #F2F2F2;
  --erro: #B3261E;
  --ok: #1B6E3A;
  --grad: linear-gradient(90deg, #0590E0, var(--teal));
  --f-display: 'Nunito', system-ui, sans-serif;
  --f-body: 'Inter Tight', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--preto); font-family: var(--f-body); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
h1, h2, p { margin: 0; }
a { color: var(--azul-escuro); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }

/* ============ entrada ============ */
.entrar { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; position: relative; overflow-x: hidden;
  padding: max(20px, env(safe-area-inset-top)) 20px max(16px, env(safe-area-inset-bottom)); }
.entrar .flores { position: absolute; top: 0; right: 0; width: min(62vw, 480px); height: auto; pointer-events: none; user-select: none; opacity: .9; }
.entrar main { position: relative; width: 100%; max-width: 420px; margin: 0 auto auto; padding: clamp(88px, 26vw, 140px) 0 24px; }
.marca { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.marca .logo { height: 22px; width: auto; display: block; }
.marca .sep { width: 1px; height: 18px; background: var(--preto); opacity: .5; }
.marca .sig { font-size: 13px; font-weight: 500; letter-spacing: .01em; }
.entrar h1 { font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 9vw, 44px); line-height: 1.02; letter-spacing: -.01em;
  color: var(--azul); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 14px; padding-bottom: 2px; }
.instrucao { font-size: 17px; color: #222; margin-bottom: 22px; }
.instrucao strong { font-weight: 600; overflow-wrap: anywhere; }
.dica { font-size: 14px; color: var(--cinza); margin: -10px 0 20px; }

.form { display: flex; flex-direction: column; gap: 8px; }
.form label { font-weight: 600; font-size: 15px; }
.campo { width: 100%; height: 54px; padding: 0 16px; font-size: 18px; border: 1.5px solid #9a9a9a; border-radius: 12px; background: #fff; }
.campo:focus { border-color: var(--azul); outline: none; box-shadow: 0 0 0 3px rgba(5, 166, 255, .25); }
.botao { margin-top: 10px; height: 54px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font-family: var(--f-display);
  font-weight: 800; font-size: 19px; letter-spacing: .01em; cursor: pointer; touch-action: manipulation; }
.botao:disabled { opacity: .6; cursor: progress; }
.botao:active { transform: translateY(1px); }

.aviso { border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; font-size: 15px; background: #FDECEA; color: var(--erro); border: 1px solid #F3C1BC; }
.aviso p + p { margin-top: 6px; color: #3a3a3a; }
.aviso.ok { background: #E8F5EC; color: var(--ok); border-color: #BFE3CB; }

.acoes { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 22px; font-size: 15px; }
.link { background: none; border: 0; padding: 6px 0; color: var(--azul-escuro); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 15px; }

/* código: um campo real (preenchimento automático do iOS/Android, colar), desenhado como 6 caixas */
.codigo { position: relative; }
.caixas { display: none; }
.js .caixas { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.caixas span { height: 60px; border: 1.5px solid #9a9a9a; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 900; font-size: 28px; background: #fff; }
.caixas span.ativa { border-color: var(--azul); box-shadow: 0 0 0 3px rgba(5, 166, 255, .25); }
.js .codigo .campo { position: absolute; inset: 0; height: 100%; opacity: 0.011; color: transparent; caret-color: transparent; border: 0;
  background: transparent; font-size: 16px; letter-spacing: 0; z-index: 1; }
.js .codigo .campo::selection { background: transparent; }
.codigo .campo { letter-spacing: .4em; font-weight: 600; }

.rodape { position: relative; text-align: center; font-size: 13px; color: var(--cinza); max-width: 420px; margin: 0 auto; padding-top: 8px; }

@media (max-height: 640px) and (max-width: 899px) {
  .entrar main { padding-top: 64px; }
  .marca { margin-bottom: 20px; }
  .instrucao { margin-bottom: 14px; }
}
@media (min-width: 900px) {
  .entrar .flores { width: 520px; }
  .entrar main { margin: auto; padding-top: 64px; }
}
