/* Fonts auto-hospedades (abans es carregaven de fonts.googleapis.com/fonts.gstatic.com).
   Mateixos fitxers que servia Google Fonts, descarregats un cop i sevits des del
   mateix origen per estalviar el "round-trip" extern que bloquejava el render
   (veure PageSpeed Insights, agost 2026). Inter i Space Grotesk són fonts variables
   (eix "wght"), per això un sol fitxer per rang unicode cobreix tots els pesos. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin.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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/space-grotesk-latin.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/space-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}

/* Subset generat amb Google Fonts (icon_names=...) amb només les icones que
   fem servir (nova-web + admin-panel, que reutilitza aquest mateix fitxer
   per path absolut /assets/fonts.css). Regenerat 2026-09-04 per afegir
   "edit_note" i "logout" (barra lateral del nou disseny del panell) —
   abans en faltaven "home" i "flight_takeoff", afegides pel bloc de
   calendari. Abans es carregava la font variable sencera de Google
   (~320KB); aquest subset en pesa ~7KB. Si s'afegeix una icona nova que
   no hi surti, cal regenerar-lo: fer `curl` a
   https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined&icon_names=<llista,separada,per,comes>
   amb un User-Agent modern, i baixar el .woff2 que apunta el @font-face
   resultant. IMPORTANT: aquest fitxer es serveix amb Cache-Control
   "immutable, max-age=31536000" (1 any) — NO sobreescriure mai el mateix
   nom de fitxer, perquè qui ja l'hagi carregat una vegada no tornarà a
   demanar-lo mai més encara que canviï el contingut. Cal desar-lo amb un
   nom nou (ex. amb un hash del contingut al nom, com ara) i actualitzar
   aquesta URL perquè apunti al nou fitxer. */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/material-symbols-outlined-subset.a9f75c22.woff2) format('woff2');
}

/* Regla base que abans proporcionava el CSS de Google Fonts (family, mida,
   lligadures...). styles.css només hi afegia el font-variation-settings. */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
