/*!
 * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
 * Version optimisée pour performances avec font-display: swap
 */

/* Optimisation critique - Réduction des classes non utilisées */
.fa,
.fab,
.far,
.fas {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

/* Tailles essentielles uniquement */
.fa-lg {
  font-size: 1.33333em;
  line-height: 0.75em;
  vertical-align: -0.0667em;
}
.fa-sm {
  font-size: 0.875em;
}
.fa-1x {
  font-size: 1em;
}
.fa-2x {
  font-size: 2em;
}

/* Icons les plus utilisés sur le site */
.fa-home:before {
  content: "\f015";
}
.fa-search:before {
  content: "\f002";
}
.fa-eye:before {
  content: "\f06e";
}
.fa-clock:before {
  content: "\f017";
}
.fa-star:before {
  content: "\f005";
}
.fa-th-large:before {
  content: "\f009";
}
.fa-tv:before {
  content: "\f26c";
}
.fa-tags:before {
  content: "\f02c";
}
.fa-chevron-down:before {
  content: "\f078";
}
.fa-bars:before {
  content: "\f0c9";
}

/* Font-faces OPTIMISÉES avec font-display: swap */
@font-face {
  font-family: "Font Awesome 5 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap; /* ✅ PERFORMANCE: Affichage immédiat */
  src: url(../webfonts/fa-brands-400.woff2) format("woff2"),
    url(../webfonts/fa-brands-400.woff) format("woff");
}

@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 400;
  font-display: swap; /* ✅ CORRIGÉ: block → swap */
  src: url(../webfonts/fa-regular-400.woff2) format("woff2"),
    url(../webfonts/fa-regular-400.woff) format("woff");
}

@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap; /* ✅ CORRIGÉ: block → swap */
  src: url(../webfonts/fa-solid-900.woff2) format("woff2"),
    url(../webfonts/fa-solid-900.woff) format("woff");
}

/* Classes de base */
.fab {
  font-family: "Font Awesome 5 Brands";
  font-weight: 400;
}
.far {
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
}
.fa,
.fas {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
