/*
 * Fenêtre sur l'@gora — Déclarations @font-face pour polices auto-hébergées
 *
 * Les fichiers .woff2 doivent être placés dans le sous-dossier "fonts/"
 * adjacent à ce fichier, c'est-à-dire dans /01_css/fonts/.
 *
 * Polices utilisées :
 *   - Cinzel        : titres (serif épigraphique romain). Licence SIL OFL.
 *                     Source : https://github.com/NDISCOVER/Cinzel-typeface
 *   - Cormorant Garamond : corps (serif humaniste, italique pour emphase).
 *                          Licence SIL OFL.
 *                          Source : https://github.com/CatharsisFonts/Cormorant
 *
 * Le format .woff2 est suffisant aujourd'hui (compatible avec tous les
 * navigateurs en circulation depuis 2015). Inutile de fournir .woff
 * en repli, ce qui économise de la bande passante.
 *
 * font-display: swap ; permet au navigateur d'afficher d'abord une
 * police système le temps que la nôtre se télécharge, plutôt que de
 * laisser un trou blanc. Cela donne un meilleur rendu sur connexion
 * lente.
 */

/* ---------------------- CINZEL (titres) ---------------------- */

@font-face {
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/cinzel-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/cinzel-bold.woff2') format('woff2');
}

/* -------------- CORMORANT GARAMOND (corps de texte) -------------- */

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/cormorant-garamond-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/cormorant-garamond-italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/cormorant-garamond-bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/cormorant-garamond-bold-italic.woff2') format('woff2');
}

/* ---------------------- ITALIANNO (titre bandeau) ----------------------
 *
 * Italianno : police cursive calligraphique pour le titre principal du site
 * ("Fenêtre sur l'@gora" dans le bandeau). Licence SIL OFL.
 * Source : https://fonts.google.com/specimen/Italianno
 *
 * ⚠ INSTALLATION MANUELLE REQUISE :
 *   1. Aller sur https://fonts.google.com/specimen/Italianno
 *   2. Cliquer "Download family" (en haut à droite)
 *   3. Décompresser → prendre Italianno-Regular.ttf
 *   4. Convertir en .woff2 sur https://cloudconvert.com/ttf-to-woff2
 *   5. Renommer en : italianno-regular.woff2
 *   6. Placer dans le dossier fonts/ (même endroit que les autres .woff2)
 *   7. Sur le serveur : envoyer via FileZilla dans /web/fenetresurlagora.fr/
 *      public_html/01_css/fonts/italianno-regular.woff2
 */

@font-face {
    font-family: 'Italianno';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/italianno-regular.woff2') format('woff2');
}
