/*
Theme Name: YOOtheme Child
Author: Lueur Externe
Description: Your description goes here
Version: 1.0
Template: yootheme

This is the child theme for YOOtheme theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* ---------------------------------------------------------------------------
   Turbinado — la typographie d'accroche de la charte.

   ┌─ POURQUOI DU WOFF2, ET PAS LES .otf D'ORIGINE ──────────────────────────
   │ Les neuf fichiers étaient servis en **OTF brut**, c'est-à-dire au format
   │ de BUREAU, celui qu'on installe sur un poste. Mesuré le 27/08 : la seule
   │ `Turbinado Pro Regular` pesait **1 481 Ko** et représentait à elle seule
   │ **la moitié du poids d'une fiche clinique sur mobile** — pour deux mots,
   │ « avis » et « nos clients », dans un titre de section.
   │
   │ Converties, les neuf passent de **12,5 Mo à 830 Ko**, soit −93 %.
   │
   │ ⚠ CONVERSION SEULE, AUCUN SOUS-ENSEMBLE, et c'est un choix mesuré. Un
   │ sous-ensemble des 27 glyphes réellement employés descendrait à 24 Ko, mais
   │ il **casse les accents** : vérifié au navigateur, `Élève à côté` basculait
   │ sur la police de repli au milieu de la phrase, sans aucune erreur. Le
   │ format seul rapporte déjà 94 % du gain et la fonte garde TOUS ses
   │ caractères. Le rendu est identique au centième de pixel — largeurs
   │ mesurées : « avis » 38,45 px et « nos clients » 104,20 px, en OTF comme en
   │ WOFF2.
   │
   │ ⚠ LES .otf RESTENT SUR LE DISQUE. Ils ne sont plus référencés, donc plus
   │ jamais téléchargés ; les garder rend le retour arrière possible en
   │ révoquant ce seul fichier. Leur retrait du dépôt — 12,5 Mo — est un geste
   │ à part, délibéré.
   └─────────────────────────────────────────────────────────────────────────

   ┌─ ET POURQUOI `font-display: swap` ──────────────────────────────────────
   │ Aucune des neuf déclarations n'en avait. Le comportement par défaut est
   │ `auto`, que les navigateurs traitent en *bloquant* : le texte reste
   │ **invisible jusqu'à trois secondes** le temps que la fonte arrive. Sur un
   │ fichier d'1,5 Mo en 4G moyenne, ce n'était pas une hypothèse.
   │
   │ `swap` affiche immédiatement le texte dans la police de repli, puis
   │ bascule. Il y a un léger saut visuel — c'est le prix, et il vaut mieux
   │ qu'un titre absent.
   │
   │ ⚠ Utile même à 96 Ko : la fonte n'est découverte qu'après l'analyse de
   │ cette feuille, donc jamais au premier octet.
   └─────────────────────────────────────────────────────────────────────────

   Les noms de fichiers sont passés en minuscules avec des tirets : les espaces
   dans une URL de police obligent à un encodage `%20` que tous les serveurs ne
   traitent pas de la même façon.
   --------------------------------------------------------------------------- */

/* --- Turbinado Pro (Regular / Light / Bold) --- */
@font-face {
    font-family: 'Turbinado Pro';
    src: url('/wp-content/themes/yootheme-child/fonts/turbinado-pro-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Turbinado Pro';
    src: url('/wp-content/themes/yootheme-child/fonts/turbinado-pro-light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Turbinado Pro';
    src: url('/wp-content/themes/yootheme-child/fonts/turbinado-pro-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Turbinado Dry Pro';
    src: url('/wp-content/themes/yootheme-child/fonts/turbinado-dry-pro-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Turbinado Dry Pro';
    src: url('/wp-content/themes/yootheme-child/fonts/turbinado-dry-pro-light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Turbinado Dry Pro';
    src: url('/wp-content/themes/yootheme-child/fonts/turbinado-dry-pro-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Turbinado Condensed One Pro';
    src: url('/wp-content/themes/yootheme-child/fonts/turbinado-condensed-one-pro-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Turbinado Condensed Two Pro';
    src: url('/wp-content/themes/yootheme-child/fonts/turbinado-condensed-two-pro-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Turbinado Hand Pro';
    src: url('/wp-content/themes/yootheme-child/fonts/turbinado-hand-pro-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* h2 {
    font-family: 'Turbinado Condensed Two Pro', sans-serif !important;
} */
