/**
 * PlayAwale — Polices hébergées en local
 * -----------------------------------------------------------------------------
 * Toutes les polices sont servies depuis assets/fonts/ : le site ne dépend
 * d'aucun service extérieur (ni Google Fonts, ni CDN). Aucune requête n'est
 * émise vers un tiers, et l'affichage reste identique hors ligne.
 *
 * COUVERTURE DES ALPHABETS
 * Joti One, la police d'affichage, ne contient que l'alphabet latin. Pour le
 * grec (el), le cyrillique (uk, ru) et le chinois (zh), le navigateur passe
 * automatiquement à la police suivante de --font-display : c'est le rôle de
 * la propriété unicode-range ci-dessous, qui indique précisément quels
 * caractères chaque fichier sait dessiner.
 *
 * AJOUTER UNE POLICE
 * Déposer le .woff2 dans assets/fonts/, ajouter un bloc @font-face ici, puis
 * référencer la famille dans base/tokens.css. Rien d'autre à modifier.
 *
 * @package   PlayAwale
 * @version   2.0
 * @author    Nicolas Lion — Développeur web — https://nlion.fr
 * @copyright 2026 Nicolas Lion
 */

/* =============================================================================
   JOTI ONE — police d'affichage (titres, boutons)
   Un seul graisse disponible : 400. Latin uniquement.
   ============================================================================= */

/* Latin de base : français, anglais, espagnol, italien, allemand, portugais. */
@font-face {
  font-family: 'Joti One';
  font-style: normal;
  font-weight: 400;
  /* Le texte s'affiche immédiatement dans la police de repli, puis bascule
     dès que le fichier est chargé : jamais de texte invisible au démarrage. */
  font-display: swap;
  src: url('../../fonts/joti-one-v28-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;
}

/* Latin étendu : diacritiques d'Europe centrale et orientale. */
@font-face {
  font-family: 'Joti One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../fonts/joti-one-v28-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;
}


/* =============================================================================
   ROBOTO — police de lecture et repli des alphabets non latins
   Fichiers à graisse variable : un seul fichier par alphabet couvre 100 à 900.
   ============================================================================= */

/* Latin de base. */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../fonts/roboto-v51-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;
}

/* Latin étendu. */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../fonts/roboto-v51-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;
}

/* Cyrillique — version russe (ru) et ukrainienne (uk). */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../fonts/roboto-v51-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Cyrillique étendu. */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../fonts/roboto-v51-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Grec — version grecque (el). */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../fonts/roboto-v51-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1,
                 U+03A3-03FF;
}

/* Grec étendu. */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../../fonts/roboto-v51-greek-ext.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}

/* Note : le chinois (zh) n'est couvert par aucun fichier embarqué — une
   police CJK complète pèse plusieurs mégaoctets. Le navigateur utilise donc
   la police système du lecteur, déjà présente sur tout appareil chinois. */
