/* =============================================================================
   Font Awesome 6.7 — subset auto-hébergé
   12 glyphs utilisés (vs 2 048 dans le CDN complet)
   Économise : ~270ms de blocking + 18 KB CSS unused + DNS lookup cloudflare
   =============================================================================
   Fichiers requis (à placer dans assets/fonts/) :
   - fa-solid-900.woff2    (~150 KB → subset à ~6 KB possible via pyftsubset)
   - fa-brands-400.woff2   (~120 KB → subset à ~3 KB possible)
   ============================================================================= */

@font-face {
  font-family: "FA Solid";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
  font-family: "FA Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fa-brands-400.woff2") format("woff2");
}

/* Base — reprend les classes FA officielles pour zéro modif HTML */
.fa-solid, .fas {
  font-family: "FA Solid";
  font-weight: 900;
}
.fa-brands, .fab {
  font-family: "FA Brands";
  font-weight: 400;
}
.fa-solid, .fas, .fa-brands, .fab {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

/* --- Solid icons utilisées --- */
.fa-chevron-down::before                  { content: "\f078"; }
.fa-chevron-up::before                    { content: "\f077"; }
.fa-bars::before                          { content: "\f0c9"; }
.fa-xmark::before                         { content: "\f00d"; }
.fa-arrow-right::before                   { content: "\f061"; }
.fa-car::before                           { content: "\f1b9"; }
.fa-diamond-turn-right::before            { content: "\f5eb"; }
.fa-location-dot::before                  { content: "\f3c5"; }
.fa-phone::before                         { content: "\f095"; }
.fa-arrow-up-right-from-square::before    { content: "\f08e"; }

/* --- Brands icons utilisées --- */
.fa-facebook::before                      { content: "\f09a"; }
.fa-facebook-f::before                    { content: "\f39e"; }

/* Hide flicker before font loads */
.fa-solid:empty::before,
.fa-brands:empty::before,
.fas:empty::before,
.fab:empty::before {
  display: inline-block;
  min-width: 1em;
}
