/* AnkorIA · página "Em breve"
   Identidade visual: tema escuro único (fundo #0B0F19, texto #F1F5F9, texto secundário #94A3B8).
   Azul #3B9CFF = ação, âmbar #FBBF24 = marca, verde #34D399 = status. Inter nos textos. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --fundo: #0B0F19;
  --texto: #F1F5F9;
  --secundario: #94A3B8;
  --verde: #34D399;
  --fonte-texto: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

p, h1 { margin: 0; }

/* Título só para leitores de tela */
.oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.pagina {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

/* Grade de pontos (elemento oficial): some no centro para deixar o logo limpo */
.pontos {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/grade-pontos.svg") center / 480px 480px repeat;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 46%, transparent 0 34%, #000 82%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 46%, transparent 0 34%, #000 82%);
}

/* Ondas de canto (elemento oficial) */
.ondas {
  position: absolute;
  z-index: -1;
  width: clamp(260px, 46vw, 760px);
  aspect-ratio: 1;
  background: url("/assets/ondas-canto.svg") center / contain no-repeat;
  pointer-events: none;
  animation: aparecer 1.8s ease-out 0.4s both;
}
.ondas--inf { right: 0; bottom: 0; }
.ondas--sup { left: 0; top: 0; transform: rotate(180deg); }

/* Conteúdo central */
.conteudo {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 9vh, 104px) 24px 32px;
}

.logo { display: block; width: min(640px, 46vw); min-width: 500px; }
.logo img { display: block; width: 100%; height: auto; aspect-ratio: 1916.31 / 344.94; }

.voz {
  display: block;
  width: clamp(240px, 26vw, 340px);
  height: auto;
  margin-top: clamp(32px, 6vh, 56px);
}

/* Selo em pílula: Inter em caixa alta, ● antes, borda a 50% e fundo a 10% da cor */
.selo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(28px, 4.5vh, 40px);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.1);
  color: var(--verde);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.selo-ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); }

.rodape {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding: 24px clamp(24px, 4vw, 48px) calc(24px + env(safe-area-inset-bottom));
  color: var(--secundario);
  font-size: 14px;
}

/* Telas estreitas: logo vertical (o logo com descritor exige no mínimo 500 px) */
@media (max-width: 599px) {
  .logo { width: min(220px, 60vw); min-width: 0; }
  .logo img { aspect-ratio: 919.5 / 607.01; }
  .rodape { flex-direction: column; align-items: center; text-align: center; }
}

/* Animação: entrada única e barras de voz "falando" */
.surge { animation: surgir 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.surge-2 { animation-delay: 0.15s; }
.surge-3 { animation-delay: 0.3s; }
.surge-4 { animation-delay: 0.45s; }

.voz-barras rect {
  transform-box: fill-box;
  transform-origin: center;
  animation: voz 2.2s ease-in-out infinite alternate;
}
.voz-barras rect:nth-child(4n+1) { animation-duration: 1.9s; }
.voz-barras rect:nth-child(4n+2) { animation-duration: 2.5s; }
.voz-barras rect:nth-child(4n+3) { animation-duration: 1.6s; }
.voz-barras rect:nth-child(5n+1) { animation-delay: -0.3s; }
.voz-barras rect:nth-child(5n+2) { animation-delay: -1.1s; }
.voz-barras rect:nth-child(5n+3) { animation-delay: -0.7s; }
.voz-barras rect:nth-child(5n+4) { animation-delay: -1.5s; }

.voz-pontos circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: ponto 1.4s ease-in-out infinite;
}
.voz-pontos circle:nth-child(2) { animation-delay: 0.2s; }
.voz-pontos circle:nth-child(3) { animation-delay: 0.4s; }

@keyframes surgir { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes voz { from { transform: scaleY(1); } to { transform: scaleY(0.36); } }
@keyframes ponto {
  0%, 70%, 100% { opacity: 0.45; transform: translateY(0); }
  35% { opacity: 1; transform: translateY(-5px); }
}

/* Quem pede menos movimento vê tudo parado, com as barras no desenho oficial */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
