/* Base compartilhada pelas páginas: fontes, tokens, cabeçalho, botões, fundo espacial e rodapé.
   Sistema visual espacial de Fahik Oliveira (New Day Winmont & Alnitak Vision):
   azul abissal cósmico, estrelas em profundidade no scroll, SF Pro Display 400
   com tracking negativo, Good Times só em marca, pílulas e fios celestes de 1px. */
@font-face {
  font-family: "GoodTimes";
  src: url("fonts/GoodTimes.woff2") format("woff2");
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "SFProDisplay";
  src: url("fonts/SFPRODISPLAYREGULAR.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "SFProDisplay";
  src: url("fonts/SFPRODISPLAYMEDIUM.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
:root {
  --ground: #020612;
  --page: #03091a;
  --ink: #f0f6ff;
  --soft: #b8d0f8;
  --muted: #849ec9;
  --quiet: #6d87b2;
  --dim: #4c6691;
  --line: #68a4ff24;
  --line-strong: #7cb4ff48;
  --panel: #061129;
  --gutter: max(5%, 16px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--page); scroll-behavior: smooth; }
body {
  position: relative;
  margin: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, #0b1e4875 0%, transparent 65%),
    radial-gradient(ellipse 75% 50% at 85% 45%, #091a3e55 0%, transparent 60%),
    var(--page);
  color: var(--ink);
  font-family: "SFProDisplay", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
main, .footer { position: relative; z-index: 1; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:is(a, button):focus-visible { outline: 2px solid #7cb8ff; outline-offset: 6px; border-radius: 4px; }
section[id], article[id] { scroll-margin-top: 92px; }
p { color: var(--muted); font-size: 17px; line-height: 1.65; letter-spacing: -0.01em; }
.gt { font-family: "GoodTimes", "SFProDisplay", sans-serif; font-weight: 400; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 60; background: #e8f2ff; color: #03091a; padding: 12px 20px; border-radius: 8px; }
.skip:focus { top: 15px; }
.arrow { width: 15px; height: 15px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 10px; line-height: 1.5; letter-spacing: 0.14em; font-weight: 500; color: var(--soft); text-transform: uppercase; }
.eyebrow span { color: #5b82bf; }
.textLink {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  font-size: 13px;
  color: #dceaff;
  border-bottom: 1px solid #72aaff45;
  padding-bottom: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.textLink:hover { border-color: #a8ceff; color: #fff; }

/* ---------- navegação ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: #03091acc;
  border-bottom: 1px solid #68a4ff1f;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.nav {
  max-width: 1536px;
  margin: auto;
  height: 76px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.monogram {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #163a7a55, #040b1d90);
  box-shadow: 0 0 14px #3c82ff24;
  font-size: 7.5px;
  letter-spacing: -0.02em;
  color: #e6f1ff;
}
.links { display: flex; gap: 30px; margin-left: auto; font-size: 13px; color: #9db7e0; }
.links a { transition: color 0.2s; }
.links a:hover, .links a[aria-current="page"] { color: #f2f8ff; }
.pill, .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 44px;
  padding: 0 19px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.pill {
  background: linear-gradient(145deg, #f4f9ff, #bddaff);
  color: #030a1c;
  border: 1px solid #ffffffbd;
  box-shadow: inset 0 1px 0 #fff, 0 4px 20px #3d8bff29;
}
.pill:hover { background: linear-gradient(145deg, #fff, #d6e8ff); box-shadow: inset 0 1px 0 #fff, 0 6px 26px #4d9aff42; transform: translateY(-2px); }
.ghost { border: 1px solid var(--line-strong); background: #1436781f; color: #deecff; }
.ghost:hover { background: #1f4da333; border-color: #96c4ff85; box-shadow: 0 4px 20px #2b72ff1f; transform: translateY(-2px); }

/* ---------- rodapé ---------- */
.footer { max-width: 1536px; margin: auto; padding: 65px var(--gutter) 0; border-top: 1px solid var(--line); overflow: hidden; }
.footerTop { display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr; gap: 45px; }
.footerTop > div { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footerTop h3 { font-size: 11px; font-weight: 400; margin-bottom: 9px; color: #dceaff; }
.footerTop > div > a:not(.brand) { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #8da9d4; }
.footerTop > div > a:not(.brand):hover { color: #f0f7ff; }
.footerTop > div > a .arrow { width: 11px; height: 11px; }
.footerTop p { margin: 8px 0 10px; font-size: 16px; line-height: 1.5; color: #849ec9; }
.footerBottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; flex-wrap: wrap; margin-top: 50px; padding: 26px 0; border-top: 1px solid var(--line); color: #7893bd; font-size: 9px; }
.wordmark {
  font-family: "GoodTimes", sans-serif;
  font-size: clamp(42px, 10.4vw, 168px);
  line-height: 1.35;
  letter-spacing: -0.055em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, #4f85db55, #0e224d22);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  margin-bottom: -0.25em;
}

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .footerTop { grid-template-columns: 1fr 1fr; }
  .footerTop > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .nav { height: 64px; gap: 22px; }
  .links { gap: 18px; }
  .footerTop { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}
@media (max-width: 370px) {
  /* Nome e os três links não cabem juntos: fica o monograma. */
  .nav .brand > span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after { animation: none !important; transition: none !important; }
}
