/* Jetons de design LeoBelo, version 1. Mêmes valeurs que jetons.json (chaîne des PDF).
   Source : document « 05 Système de design ». Contrastes calculés sur fond blanc. */
@font-face {
  font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("polices/atkinson-hyperlegible-next-latin-400-normal.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: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("polices/atkinson-hyperlegible-next-latin-700-normal.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: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("polices/atkinson-hyperlegible-next-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("polices/atkinson-hyperlegible-next-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}
:root {
  /* Les trois couleurs du logo en version fluo (décision de Bruno du 25/11/2026), quatre marches chacune.
     Vif : formes et fonds de bouton, toujours avec un texte à l'encre et un contour foncé, jamais de texte en vif.
     Moyen : formes porteuses de sens (3:1 sur blanc, 3,0 sur crème). Foncé : texte et contours (5:1 sur blanc). Clair : fonds de bloc. */
  --lb-orange-fonce: #AB5409; --lb-orange-vif: #FF8214; --lb-orange-moyen: #E46D06; --lb-orange-clair: #FFF1E5;
  --lb-vert-fonce: #497909;   --lb-vert-vif: #7EDB06;   --lb-vert-moyen: #5EA008;   --lb-vert-clair: #F4FFE5;
  --lb-bleu-fonce: #07778D;   --lb-bleu-vif: #00BFE6;   --lb-bleu-moyen: #059DBC;   --lb-bleu-clair: #E5FBFF;
  /* Cubes de la marque (mêmes teintes que les vifs) */
  --lb-logo-orange: #FF8214; --lb-logo-vert: #7EDB06; --lb-logo-bleu: #00BFE6;
  /* Neutres */
  --lb-encre: #1A1A1A; --lb-gris-texte: #5F5B54; --lb-gris-trait: #808080; --lb-gris-filet: #D9DEE5; --lb-fond-doux: #F5F5F7;
  --lb-fond: #FFFFFF; --lb-blanc: #FFFFFF;
  /* Typographie */
  --lb-police: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
  --lb-texte: 1.0625rem; --lb-interligne: 1.5;
  /* Cibles tactiles */
  --lb-cible: 3rem;           /* 48 px : cible tactile d'adulte (44 px au moins) */
  --lb-cible-enfant: 4.75rem; /* 76 px, environ 2 cm : cible tactile des moins de 9 ans */
  /* Formes et espacements */
  --lb-rayon: 0.75rem; --lb-pas: 0.5rem; --lb-trait: 0.125rem;
  /* Durée des rares transitions (coupées en mode calme ou animations réduites) */
  --lb-duree-douce: 1.2s;
}
html[data-fond="creme"] { --lb-fond: #FBF7EF; }
html[data-contraste="fort"] {
  --lb-gris-texte: #1A1A1A; --lb-gris-trait: #1A1A1A; --lb-gris-filet: #808080;
  --lb-orange-fonce: #7F3F07; --lb-vert-fonce: #365A07; --lb-bleu-fonce: #065869;
  --lb-orange-moyen: #AB5409; --lb-vert-moyen: #497909; --lb-bleu-moyen: #07778D;
}
