/* Polices de lecture (option d'accessibilité), classe font-xxx posée sur <html> par reading-font.js */
@font-face {
  font-family: 'Atkinson Hyperlegible'; font-weight: 400; font-display: swap;
  src: url('../fonts/atkinson-hyperlegible-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible'; font-weight: 700; font-display: swap;
  src: url('../fonts/atkinson-hyperlegible-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend'; font-weight: 100 900; font-display: swap;
  src: url('../fonts/lexend-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'OpenDyslexic'; font-weight: 400; font-display: swap;
  src: url('../fonts/opendyslexic-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'OpenDyslexic'; font-weight: 700; font-display: swap;
  src: url('../fonts/opendyslexic-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Luciole'; font-weight: 400; font-display: swap;
  src: url('../fonts/luciole-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Luciole'; font-weight: 700; font-display: swap;
  src: url('../fonts/luciole-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Andika'; font-weight: 400; font-display: swap;
  src: url('../fonts/andika-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Andika'; font-weight: 700; font-display: swap;
  src: url('../fonts/andika-latin-700-normal.woff2') format('woff2');
}

/* On exclut les icônes Font Awesome pour ne pas casser leur police */
html.font-atkinson body :not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]),
html.font-atkinson body {
  font-family: 'Atkinson Hyperlegible', Arial, sans-serif !important;
}
html.font-lexend body :not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]),
html.font-lexend body {
  font-family: 'Lexend', Arial, sans-serif !important;
}
html.font-opendyslexic body :not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]),
html.font-opendyslexic body {
  font-family: 'OpenDyslexic', Arial, sans-serif !important;
}
html.font-luciole body :not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]),
html.font-luciole body {
  font-family: 'Luciole', Arial, sans-serif !important;
}
html.font-andika body :not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]),
html.font-andika body {
  font-family: 'Andika', Arial, sans-serif !important;
}
/* OpenDyslexic : espacement augmenté (lettres, mots, lignes), plus utile à la lecture que la police seule */
html.font-opendyslexic body {
  line-height: 1.8;
  letter-spacing: 0.05em;
  word-spacing: 0.15em;
}
