/* =========================================================
   Fonts self-hosted — déclarations @font-face locales
   ---------------------------------------------------------
   Récupérées depuis Google Fonts (licence OFL, self-hosting
   explicitement autorisé). Subset `latin` uniquement
   (couvre U+0000-00FF = caractères français complets : accents,
   ç, ligatures œ/æ, devises, etc.).

   Avantages vs Google Fonts CDN :
   - Pas de DNS lookup / TLS handshake vers fonts.gstatic.com (-300/-500ms LCP)
   - Mêmes règles de cache que les autres assets (1 an via .htaccess)
   - Permet preload as=font crossorigin sans CORS layer Google
   - CSP simplifiée (plus besoin de whitelist fonts.gstatic.com)
   - Bonus RGPD : plus aucune requête vers Google qui logge l'IP visiteur

   `font-display: swap` : affiche le fallback système immédiatement,
   swap quand la police custom est prête. Évite le FOIT (texte invisible).

   Poids disponibles : Montserrat 400/500/600/700 + Open Sans 400/600 (couvre
   tous les usages CSS du site, vérifié via grep des `font-weight:`).
   ========================================================= */

/* Subset latin commun à toutes les fontes (français complet) */
/* U+0000-00FF = ASCII + Latin-1 ; reste = ligatures, devises, ponctuation typo */

/* ---------- Montserrat — titres + libellés UI ---------- */

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/montserrat-400-latin.woff2') format('woff2');
    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: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/montserrat-500-latin.woff2') format('woff2');
    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: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/montserrat-600-latin.woff2') format('woff2');
    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: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/montserrat-700-latin.woff2') format('woff2');
    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;
}

/* ---------- Open Sans — body / texte courant ---------- */

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/opensans-400-latin.woff2') format('woff2');
    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: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/opensans-600-latin.woff2') format('woff2');
    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;
}
