/* =========================== FONT FACE DECLARATIONS =========================== */

/* Inter - Variable font (local) */
/* Supports all weights from 100 to 900 in a single file */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/InterVariable.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/InterVariable-Italic.woff2') format('woff2');
}

/* Literata - Variable font */
/* Supports weights from 200 to 900 with optical sizes */
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/Literata-VariableFont.woff2') format('woff2');
}

@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/Literata-Italic-VariableFont.woff2') format('woff2');
}

/* Mali */
/* Weights: 200, 300, 400, 500, 600, 700 */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('/fonts/mali-v9-latin-200.woff2') format('woff2');
}

@font-face {
  font-family: 'Mali';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: url('/fonts/mali-v9-latin-200italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/mali-v9-latin-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Mali';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/mali-v9-latin-300italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/mali-v9-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Mali';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/mali-v9-latin-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/mali-v9-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Mali';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/mali-v9-latin-500italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/mali-v9-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Mali';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/mali-v9-latin-600italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/mali-v9-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Mali';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/mali-v9-latin-700italic.woff2') format('woff2');
}

/* Merriweather - Variable font */
/* Supports weights from 300 to 900 */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/Merriweather-VariableFont.ttf') format('truetype-variations');
}

@font-face {
  font-family: 'Merriweather';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/Merriweather-Italic-VariableFont.ttf') format('truetype-variations');
}

/* Noto Sans - Variable font */
/* Supports weights from 100 to 900 with width axis */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/NotoSans-VariableFont.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/NotoSans-Italic-VariableFont.woff2') format('woff2');
}

/* OpenDyslexic */
@font-face {
  font-family: 'OpenDyslexic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/OpenDyslexic-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'OpenDyslexic';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/OpenDyslexic-Italic.woff2') format('woff2');
}

@font-face {
  font-family: 'OpenDyslexic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/OpenDyslexic-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'OpenDyslexic';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/OpenDyslexic-BoldItalic.woff2') format('woff2');
}

/* Inconsolata */
/* Weights: 400, 500, 700 */
@font-face {
  font-family: 'Inconsolata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inconsolata-v37-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inconsolata';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inconsolata-v37-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inconsolata';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inconsolata-v37-latin-700.woff2') format('woff2');
}

/* Garamond (EB Garamond) - Variable font */
/* Supports weights from 400 to 800 */
@font-face {
  font-family: 'Garamond';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/EBGaramond-VariableFont.woff2') format('woff2');
}

@font-face {
  font-family: 'Garamond';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/EBGaramond-Italic-VariableFont.woff2') format('woff2');
}

/* Arial (Local fallback) */
@font-face {
  font-family: 'Arial Custom';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Arial-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Arial Custom';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Arial-Italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Arial Custom';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Arial-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Arial Custom';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Arial-Bold-Italic.woff2') format('woff2');
}

/* Trebuchet MS */
@font-face {
  font-family: 'Trebuchet MS Custom';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Trebuchet-MS-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Trebuchet MS Custom';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Trebuchet-MS-Italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Trebuchet MS Custom';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Trebuchet-MS-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Trebuchet MS Custom';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Trebuchet-MS-Bold-Italic.woff2') format('woff2');
}

/* Twemoji Mozilla for emojis */
@font-face {
  font-family: 'Twemoji Mozilla';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/fonts/TwemojiMozilla.woff2') format('woff2');
}

/* Noto Serif Hebrew — sous-ensemble hébreu seul (local, CSP `font-src 'self'`).
   Mots originaux Strong (`.strong-original-word:lang(he)`) ; téléchargée
   seulement quand un glyphe hébreu est affiché, grâce à `unicode-range`. */
@font-face {
  font-family: 'Noto Serif Hebrew';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/NotoSerifHebrew-hebrew-VariableFont.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
