/* =========================================================
   Fonts self-hosted - déclarations @font-face locales
   ---------------------------------------------------------
   Récupérées depuis Google Fonts (licence OFL / Apache, 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
   - 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)

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

   Si on ajoute un poids/style plus tard, télécharger le woff2 latin
   correspondant via Google Fonts API et compléter ce fichier.
   ========================================================= */

/* Open Sans 400 - 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;
}

/* Montserrat 400 - sous-titres, eyebrow, CTA */
@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;
}

/* Montserrat 500 italic - accent typographique (hero__title-line2) */
@font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/montserrat-500i-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;
}

/* Montserrat 600 - passe-partout titres (h1, h2, h3, hero__title-line1) */
@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;
}
