/*
 * Charge les webfonts FA6 locales et déclare un alias "Font Awesome 5 Free"
 * pour la rétrocompatibilité avec les CSS existants (slick arrows, etc.).
 * Les fichiers sont servis depuis /libraries/fontawesome/ (npm-asset local).
 */

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("/libraries/fontawesome/webfonts/fa-solid-900.woff2") format("woff2"),
       url("/libraries/fontawesome/webfonts/fa-solid-900.ttf") format("truetype");
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/libraries/fontawesome/webfonts/fa-regular-400.woff2") format("woff2"),
       url("/libraries/fontawesome/webfonts/fa-regular-400.ttf") format("truetype");
}

/* Alias rétrocompat : tout CSS référençant "Font Awesome 5 Free" pointe sur FA6 */
@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("/libraries/fontawesome/webfonts/fa-solid-900.woff2") format("woff2"),
       url("/libraries/fontawesome/webfonts/fa-solid-900.ttf") format("truetype");
}

@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/libraries/fontawesome/webfonts/fa-regular-400.woff2") format("woff2"),
       url("/libraries/fontawesome/webfonts/fa-regular-400.ttf") format("truetype");
}
