/* ALQUIM_IA.LAB - fontes da marca, self-hosted (regra canônica do OS: nunca CDN externa)
   Drop-in: copiar a pasta `web/` pra dentro da peça e importar este CSS.
   Gerado em 2026-07-16 a partir dos .ttf de marca/fonts/ (subset latin + latin-ext, 80% menor).

   Uso:
     <link rel="preconnect">  -> NÃO. Não existe origem externa aqui, esse é o ponto.
     <link rel="preload" as="font" type="font/woff2" href="fonts/Satoshi-Bold.woff2" crossorigin>
     <link rel="stylesheet" href="fonts/fontes-alquimia.css">

   Pré-carregar SÓ a fonte da dobra (normalmente o peso do display). Preload em tudo
   compete por banda e piora o que veio consertar. */

/* ---- Satoshi: display e corpo ---- */
@font-face {
  font-family: 'Satoshi';
  src: url('./Satoshi-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('./Satoshi-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('./Satoshi-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('./Satoshi-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Cinzel: SÓ o wordmark (ALQUIM_IA. em 900 + LAB em 400). Nunca em texto. ---- */
@font-face {
  font-family: 'Cinzel';
  src: url('./Cinzel-var.woff2') format('woff2-variations');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* ---- JetBrains Mono: tags, chips, labels, números ---- */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('./JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('./JetBrainsMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('./JetBrainsMono-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens de família (usar estes, não o nome da fonte solto) ---- */
:root {
  --font-display: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-wordmark: 'Cinzel', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
}
