/* vendor/fonts/fonts.css — polices AUTO-HÉBERGÉES de TOUTES les pages (RGPD Z7a-04 : rien chez
   Google ; portail : contrainte Chine ; précachées par sw.js). Texte = Inter (Illan, 04/10/2026) :
   les ANCIENS noms « DM Sans » et « DM Mono » (codes), écrits partout dans le code, pointent sur le
   MÊME fichier ; écrire 'Inter' dans le code neuf. Titres = Chakra Petch (règle en bas), signature =
   Dancing Script. Graisses : tests/chat-page-coherence.test.js. Licence Inter : OFL-inter.txt.
   Latin seulement ; le chinois retombe sur la police système. */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Chakra Petch'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('chakra-petch-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Chakra Petch'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('chakra-petch-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Dancing Script'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url('dancing-script-latin.woff2') format('woff2');
}

/* Titres en Chakra Petch ; :where() = priorité nulle, un titre qui a sa police la garde. */
:root{--font-titre:'Chakra Petch','Inter',system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;--font-texte:'Inter',system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif}
:where(:is(h1,h2,h3,h4,h5,h6,[class$="-title"],[class*="-title "],[class$="-titre"],[class*="-titre "]):not([class*="sous-titre"],[class*="sur-titre"],[class*="sub-title"])){font-family:var(--font-titre)}
:where(h1,h2,h3,h4,h5,h6,[class$="-title"],[class*="-title "],[class$="-titre"],[class*="-titre "]) :where([class*="-sub"],[class*="sous-titre"],[class*="sub-title"],small){font-family:var(--font-texte)}
/* Boutons et champs : la police de l'app, pas celle du navigateur (Arial) ; priorité nulle. */
:where(button,input,select,textarea){font-family:inherit}
