/* Tokens do manual de marca da Legacy. Marca monocromática: só os neutros, sem cor de destaque.
   Fontes locais (SIL OFL): Sora nos títulos, Manrope nos textos e na interface. */

@font-face {
  font-family: "Sora";
  src: url("fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  src: url("fonts/sora-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* paleta da marca */
  --lg-preto: #0b0b0c;
  --lg-carbono: #1c1d1f;
  --lg-grafite: #3a3c40;
  --lg-prata: #a9acb1;
  --lg-cinza-claro: #e6e7e9;
  --lg-branco: #fafafa;

  /* interface (derivada da paleta) */
  --lg-fundo: var(--lg-preto);
  --lg-texto: var(--lg-branco);
  --lg-texto-suave: var(--lg-prata);
  --lg-fio: rgba(250, 250, 250, 0.12);
  --lg-fio-forte: rgba(250, 250, 250, 0.28);
  --lg-brilho: rgba(250, 250, 250, 0.9);

  /* tipografia */
  --fonte-titulo: "Sora", system-ui, sans-serif;
  --fonte-texto: "Manrope", system-ui, sans-serif;

  /* movimento da marca (os mesmos valores de LEGACY_MANUAL.movimento): sem quique, nada passa do ponto e volta.
     Travar: entradas e encaixes, chega rápido e freia longamente. Deslizar: trocas de lugar sem urgência. */
  --curva-travar: cubic-bezier(0.22, 1, 0.36, 1);
  --curva-deslizar: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-interface: 0.2s; /* resposta de clicar, copiar, baixar: até 250 ms */
  --dur-pagina: 0.5s;
  --dur-cena: 0.9s; /* cenas e revelações: 600 a 1.200 ms */
}

html {
  color-scheme: dark;
  background: var(--lg-fundo);
}
body {
  margin: 0;
  background: var(--lg-fundo);
  color: var(--lg-texto);
  font-family: var(--fonte-texto);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 0;
}
:focus-visible {
  outline: 2px solid var(--lg-branco);
  outline-offset: 3px;
}
