/* Pré-lançamento do KatuJá: a página "Já estamos chegando" e o /acesso (app/portao.php).
   Cores e fontes as mesmas do site (site.css). */
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url(/assets/fontes/montserrat-800.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(/assets/fontes/inter-latin.woff2) format("woff2"); }

:root {
  --azul: #0B3CEB; --azul-escuro: #0A2BB3; --laranja: #FF7A1F; --laranja-escuro: #E8620A;
  --azul-claro: #EEF2FF; --azul-suave: #D6E1FF; --texto: #16204A; --texto-2: #46507A; --linha: #E3E8F7;
  --amarelo: #FFB021;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.breve {
  margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  background: var(--azul); color: #fff; overflow-x: hidden;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.55;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------------ fundo */
.fundo { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, var(--azul) 0%, var(--azul) 55%, var(--azul-escuro) 100%); }
.fundo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fundo path { fill: none; stroke-linecap: round; }
.ruas path { stroke: rgba(255, 255, 255, .055); stroke-width: 30px; }
.faixas path { stroke: rgba(255, 255, 255, .14); stroke-width: 1.5px; stroke-dasharray: 12px 18px; }
.ponto { stroke: var(--laranja); stroke-width: 12px; stroke-dasharray: 1px 999px;
  animation: anda var(--t) linear var(--a) infinite; }
/* laranja claro: o laranja da marca transparente sobre o azul vira cinza */
.rastro { stroke: #FFA060; stroke-opacity: .85; stroke-width: 2.5px; stroke-dasharray: 90px 910px;
  animation: rastro var(--t) linear var(--a) infinite; }
.volta { animation-direction: reverse; }
/* andando ao contrário, o rastro fica do outro lado do ponto */
.rastro.volta { animation-name: anda; }
@keyframes anda { from { stroke-dashoffset: 1000px; } to { stroke-dashoffset: 0px; } }
@keyframes rastro { from { stroke-dashoffset: 1090px; } to { stroke-dashoffset: 90px; } }
.fundo-cidade { position: absolute; left: 50%; bottom: 0; width: 100%; max-width: 1500px; min-width: 760px; height: auto;
  transform: translateX(-50%); opacity: .2; }

/* no celular o desenho fica do mesmo tamanho, e a tela é menor: ruas mais finas */
@media (max-width: 640px) {
  .ruas path { stroke-width: 18px; }
  .faixas path { stroke: rgba(255, 255, 255, .1); }
  .ponto { stroke-width: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .ponto { animation: none; stroke-dashoffset: var(--p); }
  .rastro { display: none; }
}

/* ------------------------------------------------------------------ página */
.breve-meio { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; max-width: 980px; margin: 0 auto; padding: 56px 20px 40px; text-align: center; }
.breve-logo { width: min(380px, 72vw); height: auto; margin-bottom: clamp(28px, 5vh, 48px); }
.breve h1 { font-family: "Montserrat", system-ui, sans-serif; font-weight: 800; font-size: clamp(32px, 5.6vw, 66px);
  line-height: 1.06; letter-spacing: -.02em; margin: 0 0 20px; max-width: 15em; text-wrap: balance; }
.breve h1 span { color: var(--laranja); }
.breve-linha { margin: 0; font-size: clamp(18px, 2.1vw, 22px); color: var(--azul-claro); }
.breve-loja { margin: 26px 0 0; font-size: 16px; color: var(--azul-suave); }
.breve-loja a { color: #fff; font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }

.breve-rodape { position: relative; z-index: 1; padding: 20px 20px 24px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--azul-suave); }
.breve-rodape p { margin: 0; }
.breve-rodape a { display: inline-block; padding: 8px 4px; color: var(--azul-suave); text-underline-offset: 3px; }
.breve-rodape a:hover { color: #fff; }

/* ------------------------------------------------------------------ /acesso */
.acesso { width: 100%; max-width: 400px; padding: 32px 28px 24px; border-radius: 20px; background: #fff; color: var(--texto);
  text-align: left; box-shadow: 0 24px 60px rgba(6, 18, 80, .35); }
.acesso-logo { width: 140px; height: auto; margin-bottom: 22px; }
.acesso h1 { font-size: 26px; margin: 0 0 6px; max-width: none; color: var(--texto); }
.acesso-texto { margin: 0 0 20px; color: var(--texto-2); font-size: 15px; }
.acesso-erro { margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: #FFF1E6; color: #8A3300; font-size: 15px; }
.acesso label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.acesso input[type=email], .acesso input[type=password] { display: block; width: 100%; margin: 0 0 16px; padding: 12px 14px;
  border: 1.5px solid var(--linha); border-radius: 12px; font: inherit; font-size: 16px; color: var(--texto); background: #fff; }
.acesso input:focus { border-color: var(--azul); outline: none; box-shadow: 0 0 0 3px rgba(11, 60, 235, .18); }
.acesso button { display: block; width: 100%; margin-top: 4px; padding: 13px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--azul); color: #fff; font: 700 16px "Inter", system-ui, sans-serif; }
.acesso button:hover { background: var(--azul-escuro); }
.acesso-voltar { display: block; margin-top: 14px; padding: 6px; text-align: center; font-size: 14px; color: var(--texto-2); }
