/* =============================================================================
   Base compartilhada pelas páginas da raiz do domínio:
   index.html (Em construção) e privacidade.html.

   Traz apenas fontes, tokens e reset. O estilo de cada página fica embutida
   nela própria — são duas páginas só, e assim nenhuma delas carrega regras da
   outra. O site em teste/ tem o seu próprio design system e não usa este
   arquivo.
   ========================================================================== */

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #05070d;
  --bg-alt: #080c16;
  --surface: #0c1220;
  --brand: #35d6ff;
  --brand-deep: #1c5fd0;
  --brand-soft: rgb(53 214 255 / 10%);
  --text: #e9f0fa;
  --text-muted: #9db0cc;
  --text-dim: #6f829e;
  --line: rgb(122 168 235 / 16%);
  --line-strong: rgb(122 168 235 / 28%);

  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.3s;

  color-scheme: dark;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgb(53 214 255 / 28%);
}

/* A marca aparece nas duas páginas: emblema + nome em tipografia. */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand-lockup__mark {
  width: auto;
  height: 2.25rem;
  filter: drop-shadow(0 0 14px rgb(53 214 255 / 35%));
}

.brand-lockup__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: var(--font-display);
}

.brand-lockup__name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-lockup__suffix {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
