/*
 * fonts.css — declaraciones @font-face locales para qa2.
 *
 * REGLA RECTORA (user 2026-06-05): cero dependencia de la web.
 * Todos los clientes deben poder correr la app inhouse / desconectada.
 *
 * Estado actual:
 *   - El index.html YA NO carga Google Fonts (link removido).
 *   - Los font-family del CSS (tokens.css) declaran
 *     fallback al system stack: 'Inter', system-ui, -apple-system,
 *     BlinkMacSystemFont, 'Segoe UI', sans-serif. Como Inter NO está
 *     instalado en el sistema operativo, el browser cae a system-ui
 *     (Windows: Segoe UI, macOS: San Francisco, Linux: depende). Esto
 *     funciona OFFLINE — la app NO requiere internet.
 *
 * Para usar Inter/Poppins/JetBrains Mono LOCALES (mejor consistencia
 * visual cross-platform), hay 3 opciones:
 *
 *   1. Instalar paquetes @fontsource (cuando npm/pnpm funcione):
 *        npm i @fontsource/inter @fontsource/poppins @fontsource/jetbrains-mono
 *      Y agregar en main.tsx:
 *        import '@fontsource/inter/400.css';
 *        import '@fontsource/inter/500.css';
 *        ...
 *
 *   2. Bajar manualmente los .woff2 a /apps/web/public/fonts/ y
 *      descomentar las declaraciones @font-face de abajo.
 *
 *   3. Aceptar el fallback system (Segoe UI / San Francisco) — funciona
 *      OK offline, look consistente con el OS del cliente.
 *
 *   Mientras tanto este archivo existe para evitar 404 en el <link>
 *   y deja documentado el path de extensión.
 */

/* === Inter (sans-serif principal) ===========================================
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-700.woff2') format('woff2');
}
============================================================================ */

/* === Poppins (display / headings) ==========================================
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-700.woff2') format('woff2');
}
============================================================================ */

/* === JetBrains Mono (monoespaciada — code blocks) ==========================
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-500.woff2') format('woff2');
}
============================================================================ */

/* === Plus Jakarta Sans (controles `rounded` del modelo de vista) ============
 * Variable 200–800, servida desde aquí: la app no sale a la web por fuentes.
 * Licencia SIL OFL 1.1 en OFL-plus-jakarta-sans.txt. La consume
 * src/styles/models/control-rounded.css (docs/UI-MODELOS.md). */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
  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: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations');
  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;
}
