/*
 * app/assets/fonts.css — Font self-hostati (no CDN / offline-first)
 * ----------------------------------------------------------------
 * Sostituisce la dipendenza da Google Fonts per l'identità "Segnaletica".
 * Subset: latin (copre l'italiano, accenti à è é ì ò ù inclusi).
 * Sorgenti: Google Fonts (OFL) scaricate in assets/fonts/*.woff2.
 * Famiglie:
 *   - Archivo         → display/titoli (.seg)
 *   - Archivo Narrow  → cifre "targa"/condensate (tabular-nums)
 *   - Inter           → testo corpo (.seg)
 */

/* ---- Archivo (display) ---- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/app/assets/fonts/archivo-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/app/assets/fonts/archivo-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/app/assets/fonts/archivo-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/app/assets/fonts/archivo-900.woff2') format('woff2');
}

/* ---- Archivo Narrow (targa / condensato) ---- */
@font-face {
  font-family: 'Archivo Narrow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/app/assets/fonts/archivo-narrow-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo Narrow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/app/assets/fonts/archivo-narrow-700.woff2') format('woff2');
}

/* ---- Inter (corpo) ---- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/app/assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/app/assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/app/assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/app/assets/fonts/inter-700.woff2') format('woff2');
}

/* ---- Lexend (alta leggibilità / DSA) ---- */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/app/assets/fonts/lexend-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/app/assets/fonts/lexend-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/app/assets/fonts/lexend-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/app/assets/fonts/lexend-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/app/assets/fonts/lexend-800.woff2') format('woff2');
}

/* ---- Noto Sans Arabic (traduzioni AR) — subset arabic ---- */
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/app/assets/fonts/noto-sans-arabic-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/app/assets/fonts/noto-sans-arabic-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/app/assets/fonts/noto-sans-arabic-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/app/assets/fonts/noto-sans-arabic-700.woff2') format('woff2');
}
