/* Archivo (variable, wght 100–900) e JetBrains Mono — SIL OFL 1.1.
   Subset latino, servidas localmente. Ver assets/fonts/FONTS.txt. */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2-variations"),
       url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* ============================================================
   Olympus Tech — página de pré-lançamento
   Tema único (preto da marca), todas as cores pintadas explicitamente.
   A marca é o artwork original: ícone, wordmark e tagline vêm da arte,
   não de fontes de sistema.
   ============================================================ */
:root {
  --ink:        #05070A;
  --ink-2:      #0B0F16;
  --line:       #1B2430;
  --line-soft:  #131A24;
  --silver:     #E8EDF3;
  --mute:       #8A97A8;
  --blue:       #1F5FBF;
  --blue-hi:    #4E8BE8;

  --font-body: "Archivo", "Helvetica Neue", ui-sans-serif, system-ui, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 68rem;
  --lockup: 34rem;          /* largura de referência do wordmark */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 50% 22%, rgba(31, 95, 191, .10), transparent 60%),
    radial-gradient(40rem 30rem at 50% 100%, rgba(31, 95, 191, .05), transparent 65%);
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 var(--pad);
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue-hi);
  outline-offset: 3px;
}

/* ---------- HUD superior ---------- */
.hud {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.5rem 0 0;
  font-family: var(--font-mono);
  font-size: .688rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--mute);
}
.hud .dot {
  display: inline-block;
  width: .4rem;
  height: .4rem;
  margin-right: .5rem;
  border-radius: 50%;
  background: var(--blue-hi);
}

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vh, 3.25rem);
  padding: clamp(3rem, 9vh, 6rem) 0 clamp(3rem, 8vh, 5rem);
  text-align: center;
}

/* -- marca: proporções do lockup original -- */
.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, var(--lockup));
}

.mark-wrap {
  position: relative;
  width: clamp(7.5rem, 20vw, 11.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: clamp(1.1rem, 3.2vw, 1.7rem);
}
.mark-wrap img { display: block; width: 100%; height: auto; }

.wordmark {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.tagline {
  display: block;
  width: 92.5%;                    /* razão tagline/wordmark do lockup original */
  height: auto;
  margin: clamp(1rem, 3vw, 1.6rem) 0 0;
}

h1 { margin: 0; font-size: 1rem; line-height: 0; }

/* varredura do scanner sobre a digital */
.scan {
  position: absolute;
  inset: -10% 0 auto;
  height: 26%;
  background: linear-gradient(to bottom,
    transparent,
    rgba(78, 139, 232, .05) 30%,
    rgba(78, 139, 232, .20) 62%,
    rgba(120, 175, 255, .50) 72%,
    transparent 74%);
  animation: sweep 9s cubic-bezier(.4, 0, .3, 1) 1.1s infinite;
  pointer-events: none;
}
@keyframes sweep {
  0%        { transform: translateY(0); opacity: 0; }
  4%        { opacity: 1; }
  26%       { transform: translateY(430%); opacity: 1; }
  30%, 100% { transform: translateY(430%); opacity: 0; }
}

/* -- mensagem -- */
.say { display: flex; flex-direction: column; align-items: center; gap: 1rem; }

.soon {
  margin: 0;
  font-size: clamp(1.55rem, 4.8vw, 2.5rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -.015em;      /* grotesca em corpo grande pede tracking negativo */
  color: var(--silver);
  text-wrap: balance;
}
.soon em { font-style: normal; color: var(--blue-hi); }

.say p:not(.soon) {
  margin: 0;
  max-width: 40ch;
  color: var(--mute);
  font-size: clamp(.95rem, 2.2vw, 1.05rem);
  text-wrap: pretty;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: .5rem;
  padding: .85rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .01em;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.cta:hover { border-color: var(--blue); background: #0E1622; color: #FFF; }
.cta .arrow { color: var(--blue-hi); }

/* ---------- Pilares (ficha técnica) ---------- */
.next {
  width: min(100%, var(--maxw));
  margin: 0 auto;
  padding-bottom: clamp(2.5rem, 7vh, 4.5rem);
}
.next > h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-mono);
  font-size: .688rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.grid > article {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 1.5rem 1.75rem;
}
.grid h3 {
  margin: 0;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--silver);
}
.grid p {
  margin: 0;
  font-size: .9rem;
  color: var(--mute);
  text-wrap: pretty;
}

/* ---------- Rodapé ---------- */
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: .688rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #5D6976;
}
footer a { text-decoration: none; transition: color .2s ease; }
footer a:hover { color: var(--blue-hi); }

/* ---------- Entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: rise .9s cubic-bezier(.2, .7, .3, 1) forwards;
}
.d1 { animation-delay: .10s; }
.d2 { animation-delay: .55s; }
.d3 { animation-delay: .80s; }
.d4 { animation-delay: 1.05s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .scan { animation: none; opacity: 0; }
}

@media (max-width: 30rem) {
  .hud { flex-direction: column; gap: .35rem; align-items: flex-start; }
  footer { flex-direction: column; }
  .tagline { width: 100%; }
}

/* ---------- página 404 ---------- */
.err {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  padding: 4rem 0;
}
.err img { width: clamp(5rem, 14vw, 7rem); height: auto; }
.err .code {
  font-family: var(--font-mono);
  font-size: .688rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue-hi);
}
.err h1 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  font-weight: 300;
  letter-spacing: -.015em;
  line-height: 1.25;
}
.err p { margin: 0; max-width: 38ch; color: var(--mute); }
