/**
 * Icônes thème (Material, Line Awesome, Font Awesome) : restauration après typo globale
 * (thème, tdthemesettings, Elementor / Creative Elements) qui impose font-family partout.
 * Ce fichier est chargé après custom.css (voir theme.yml). Préfixe html body pour
 * surcharger les règles .elementor* souvent en fin de <head> via displayHeader.
 */
html body .material-icons,
html body i.material-icons,
html body .material-icons-outlined {
  font-family: "Material Icons" !important;
  font-style: normal !important;
  font-weight: normal !important;
  letter-spacing: normal !important;
  text-rendering: optimizeLegibility;
  -webkit-font-feature-settings: "liga" !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Line Awesome (thème PRS028 : .las, .lar, .lab, flèches slick ::before, etc.) */
html body i[class^="la-"],
html body i[class*=" la-"],
html body .las,
html body .lar,
html body .lab,
html body .lal,
html body .lad {
  font-family: "Line Awesome Free" !important;
  font-style: normal !important;
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
html body .las,
html body .lab,
html body .lal {
  font-weight: 900 !important;
}
html body .lar,
html body .lad {
  font-weight: 400 !important;
}

/* Font Awesome 4 (thème : linklist, megamenu, $font-icon: "FontAwesome") */
html body .fa,
html body .fa-lg,
html body .fa-2x,
html body .fa-3x,
html body .fa-4x,
html body .fa-5x,
html body [class^="fa-"],
html body [class*=" fa-"] {
  font-family: "FontAwesome" !important;
  font-style: normal !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Font Awesome 5 (modules, HTML moderne) — conflit de cascade avec .fa géré en chargeant FA4 en dernier + classes distinctes .fas */
html body .fas,
html body .far,
html body .fal,
html body .fad,
html body i.fas,
html body i.far {
  font-family: "Font Awesome 5 Free" !important;
  font-style: normal !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html body .fas,
html body i.fas {
  font-weight: 900 !important;
}
html body .far,
html body i.far {
  font-weight: 400 !important;
}
html body .fab,
html body i.fab {
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

/* Fiche / listing : ne pas hériter de la police “texte” sur les <i> vides (Elementor) */
html body i.material-icons:empty,
html body i[class*="la-"]:empty,
html body i[class^="fa-"]:empty,
html body i.fas:empty,
html body i.far:empty,
html body i.fab:empty {
  line-height: 1;
}

/* Creative Elements / Elementor : conteneurs fréquents */
html body .elementor i.material-icons,
html body .elementor i[class^="la-"],
html body .elementor i[class*=" la-"] {
  -webkit-font-smoothing: antialiased;
}
html body [class^="ceicon-"],
html body .eicon,
html body [class*="eicon-"] {
  -webkit-font-smoothing: antialiased;
}
