/* Glacial Indifference Regular */
@font-face {
    font-family: 'Glacial Indifference';
    src: url('../fonts/glacial-indifference/glacialindifference-regular-webfont.woff2') format('woff2'),
         url('../fonts/glacial-indifference/glacialindifference-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Glacial Indifference Bold */
@font-face {
    font-family: 'Glacial Indifference';
    src: url('../fonts/glacial-indifference/glacialindifference-bold-webfont.woff2') format('woff2'),
         url('../fonts/glacial-indifference/glacialindifference-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Glacial Indifference Italic */
@font-face {
    font-family: 'Glacial Indifference';
    src: url('../fonts/glacial-indifference/glacialindifference-italic-webfont.woff2') format('woff2'),
         url('../fonts/glacial-indifference/glacialindifference-italic-webfont.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Open Sans : tableaux et fiches de l'admin, lien du pied de page de la vitrine — fichier variable 300 à 800,
   découpé comme sur Google Fonts : seul le fichier contenant les caractères affichés est chargé */
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans/open-sans-latin-ext.woff2') format('woff2');
    font-weight: 300 800;
    font-style: normal;
    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: 'Open Sans';
    src: url('../fonts/open-sans/open-sans-latin.woff2') format('woff2');
    font-weight: 300 800;
    font-style: normal;
    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;
}

/* Noto Sans : titres principaux (h1 de style.css) et conseils (.tips) — fichier variable 100 à 900,
   découpé comme sur Google Fonts : seul le fichier contenant les caractères affichés est chargé */
@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/noto-sans/noto-sans-latin-ext.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    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: 'Noto Sans';
    src: url('../fonts/noto-sans/noto-sans-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    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;
}

/* Nunito : police du texte courant (body de style.css) — fichiers variables, toutes graisses de 200 à 1000 */
@font-face {
    font-family: 'Nunito';
    src: url('../fonts/nunito/nunito-variable.woff2') format('woff2');
    font-weight: 200 1000;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('../fonts/nunito/nunito-variable-italic.woff2') format('woff2');
    font-weight: 200 1000;
    font-style: italic;
    font-display: swap;
}

/* Écrans de plus de 768px : Nunito affichée 2px plus grande (16px → 18px, +12,5 %) —
   sa hauteur d'x (0,50) est plus faible que celle de Fira Sans (0,53) : à 18px elle a
   la même présence que le texte des articles (Fira Sans 17px).
   size-adjust n'agrandit que le rendu de cette police : aucune font-size ne change,
   donc ni les titres, ni les icônes, ni les autres polices ne bougent, et les mobiles
   (≤ 768px, seuil des media queries du site) gardent exactement leur mise en page.
   Mêmes descripteurs que ci-dessus : ces déclarations, placées après, les remplacent. */
@media (min-width: 769px) {
    @font-face {
        font-family: 'Nunito';
        src: url('../fonts/nunito/nunito-variable.woff2') format('woff2');
        font-weight: 200 1000;
        font-style: normal;
        font-display: swap;
        size-adjust: 112.5%;
    }

    @font-face {
        font-family: 'Nunito';
        src: url('../fonts/nunito/nunito-variable-italic.woff2') format('woff2');
        font-weight: 200 1000;
        font-style: italic;
        font-display: swap;
        size-adjust: 112.5%;
    }
}
