/* ==========================================================================
   POLICES AUTO-HEBERGEES

   La charte graphique 2016 prescrit Cocon-Bold pour les titres et DIN OT pour
   le texte courant. Ce sont des polices commerciales Monotype, qui ne sont pas
   dans le depot. Le site sert donc des substituts libres, choisis pour leur
   parente avec elles :

     Quicksand (titres)  substitut de Cocon-Bold. Geometrique arrondie, aux
                         terminaisons douces : c'est le trait de Cocon.
     Barlow (texte, UI)  substitut de DIN OT. Grotesque dessinee dans la
                         filiation DIN et de la signaletique routiere.

   Elles remplacent Nunito et Fira Sans, dont la parente avec la charte etait
   plus lointaine. Pour revenir a la charte a la lettre, il suffira d'acquerir
   les licences web chez Monotype, de deposer les .woff2 ici et de repointer
   --font-heading et --font-body dans app.css : rien d'autre n'est a toucher.

   Deux raisons de servir ces fichiers nous-memes plutot que depuis le CDN de
   Google :

     1. RGPD. Une requete vers fonts.gstatic.com transmet l'adresse IP de chaque
        visiteur a Google. Notre propre panneau cookies affirme qu'aucune donnee
        n'est transmise a des tiers : la contradiction est levee ici.
     2. Affichage. Un @import imposerait trois allers-retours successifs
        (app.css, puis la feuille Google, puis les fichiers de police) avant que
        le texte s'affiche dans la bonne fonte. Les fichiers sont sur notre
        domaine, et les deux plus utilises sont precharges (App.razor).

   Seuls les sous-ensembles latin et latin-ext sont embarques : ils couvrent
   l'integralite du francais, ligatures OE / oe comprises (U+0152-0153). Le
   sous-ensemble vietnamien servi par Google est ecarte, personne ne le lit ici.
   font-display: swap — le texte reste lisible pendant le chargement.

   Fichier genere depuis la feuille officielle Google Fonts ; la source est
   conservee dans gf-source.css pour pouvoir le regenerer a l'identique.
   ========================================================================== */

/* ── Barlow — texte courant et mobilier d'interface ───────────────────────── */

@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(barlow-400-latin-ext.woff2) format('woff2');
    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: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(barlow-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: 'Barlow';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(barlow-500-latin-ext.woff2) format('woff2');
    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: 'Barlow';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(barlow-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: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(barlow-600-latin-ext.woff2) format('woff2');
    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: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(barlow-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: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(barlow-700-latin-ext.woff2) format('woff2');
    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: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(barlow-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;
}

/* ── Quicksand — titres ────────────────────────────────────────────────────
   Distribuee en fonte variable : un seul fichier couvre les graisses 500 a 700,
   d'ou la plage « font-weight: 500 700 » plutot que trois declarations pointant
   vers le meme fichier. Meme cas que Nunito auparavant. */

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url(quicksand-latin-ext.woff2) format('woff2');
    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: 'Quicksand';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url(quicksand-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;
}
