/* ============================================================
   HEKLA — Fonts
   - Romie Trial : local (woff + otf)
   - Inter       : self-hosted après `node scripts/download-inter.js`
                   Sinon : chargé async depuis Google Fonts (non-blocking)
   ============================================================ */

/* ── Romie (serif display) ──────────────────────────────────── */
@font-face {
  font-family: 'Romie';
  font-display: swap;
  src: url('../fonts/RomieTrial-Medium.woff') format('woff'),
       url('../fonts/RomieTrial-Medium.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* ── Inter self-hosted (latin) ──────────────────────────────── */
/* Ces blocs sont actifs dès que les fichiers woff2 existent.   */
/* Exécuter : node scripts/download-inter.js                    */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local(''),
       url('../fonts/Inter-Light.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local(''),
       url('../fonts/Inter-Regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local(''),
       url('../fonts/Inter-Medium.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
