/* Fallback CSS pour les icônes icomoon manquantes - utilise Font Awesome */

/* Remplace icomoon par Font Awesome 5 - doit être chargé après thm-icons/style.css */
i[class^="icon-"]:before,
i[class*=" icon-"]:before,
[class^="icon-"]:before,
[class*=" icon-"]:before,
span[class^="icon-"]:before,
span[class*=" icon-"]:before {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Pour les balises <i> sans :before */
i[class^="icon-"],
i[class*=" icon-"] {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

i[class^="icon-"]:before,
i[class*=" icon-"]:before {
  display: inline-block;
}

/* Mapping des icônes icomoon vers Font Awesome */
i.icon-binoculars:before,
.icon-binoculars:before {
  content: "\f06e" !important; /* fa-search */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-map:before,
.icon-map:before {
  content: "\f3c5" !important; /* fa-map-marker-alt */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-search:before,
.icon-search:before {
  content: "\f002" !important; /* fa-search */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-menu:before,
.icon-menu:before {
  content: "\f0c9" !important; /* fa-bars */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-home-button:before,
.icon-home-button:before {
  content: "\f015" !important; /* fa-home */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-payment:before,
.icon-payment:before {
  content: "\f09d" !important; /* fa-credit-card */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-megaphone:before,
.icon-megaphone:before {
  content: "\f0e6" !important; /* fa-bullhorn */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-chevron:before,
.icon-chevron:before {
  content: "\f054" !important; /* fa-chevron-right */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-right-arrow:before,
.icon-right-arrow:before {
  content: "\f061" !important; /* fa-arrow-right */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-credit-card:before,
.icon-credit-card:before {
  content: "\f09d" !important; /* fa-credit-card */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-loan:before,
.icon-loan:before {
  content: "\f4d3" !important; /* fa-hand-holding-usd */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-bank:before,
.icon-bank:before {
  content: "\f19c" !important; /* fa-university */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-shield:before,
.icon-shield:before {
  content: "\f3ed" !important; /* fa-shield-alt */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-mobile-banking:before,
.icon-mobile-banking:before {
  content: "\f3cd" !important; /* fa-mobile-alt */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-investment:before,
.icon-investment:before {
  content: "\f200" !important; /* fa-chart-line */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-transfer:before,
.icon-transfer:before {
  content: "\f362" !important; /* fa-exchange-alt */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-document:before,
.icon-document:before {
  content: "\f15c" !important; /* fa-file-alt */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-chart:before,
.icon-chart:before {
  content: "\f200" !important; /* fa-chart-line */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-support:before,
.icon-support:before {
  content: "\f1cd" !important; /* fa-life-ring */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-clock:before,
.icon-clock:before {
  content: "\f017" !important; /* fa-clock */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-phone:before,
.icon-phone:before {
  content: "\f095" !important; /* fa-phone */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-comment:before,
.icon-comment:before {
  content: "\f075" !important; /* fa-comment */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-share:before,
.icon-share:before {
  content: "\f1e0" !important; /* fa-share-alt */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-play-button-1:before,
.icon-play-button-1:before {
  content: "\f04b" !important; /* fa-play */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-origami:before,
.icon-origami:before {
  content: "\f1d8" !important; /* fa-paper-plane */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-download:before,
.icon-download:before {
  content: "\f019" !important; /* fa-download */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-feedback:before,
.icon-feedback:before {
  content: "\f075" !important; /* fa-comment */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-lock:before,
.icon-lock:before {
  content: "\f023" !important; /* fa-lock */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

i.icon-user:before,
.icon-user:before {
  content: "\f007" !important; /* fa-user */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

/* Gestion des icônes multi-path (icon-bank, icon-expert, icon-human, etc.) */
/* Pour les icônes avec plusieurs paths, on utilise une seule icône Font Awesome */

/* Cache tous les paths enfants pour icon-bank */
.icon-bank .path1,
.icon-bank .path2,
.icon-bank .path3,
.icon-bank .path4,
.icon-bank .path5,
.icon-bank .path6,
.icon-bank .path7,
.icon-bank .path8,
.icon-bank .path9,
.icon-bank .path10,
.icon-bank .path11,
.icon-bank .path12,
.icon-bank .path13,
.icon-bank .path14,
.icon-bank .path15,
.icon-bank .path16 {
  display: none !important;
}

.icon-bank .path1:before,
.icon-bank .path2:before,
.icon-bank .path3:before,
.icon-bank .path4:before,
.icon-bank .path5:before,
.icon-bank .path6:before,
.icon-bank .path7:before,
.icon-bank .path8:before,
.icon-bank .path9:before,
.icon-bank .path10:before,
.icon-bank .path11:before,
.icon-bank .path12:before,
.icon-bank .path13:before,
.icon-bank .path14:before,
.icon-bank .path15:before,
.icon-bank .path16:before {
  content: "" !important;
  display: none !important;
}

/* Affiche une seule icône Font Awesome pour icon-bank */
.icon-bank:before {
  content: "\f19c" !important; /* fa-university */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  display: inline-block !important;
  margin-left: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Gestion icon-expert (2 paths) */
.icon-expert .path1,
.icon-expert .path2 {
  display: none !important;
}

.icon-expert .path1:before,
.icon-expert .path2:before {
  content: "" !important;
  display: none !important;
}

.icon-expert:before {
  content: "\f0eb" !important; /* fa-lightbulb */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  display: inline-block !important;
  margin-left: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Gestion icon-human (15 paths) */
.icon-human .path1,
.icon-human .path2,
.icon-human .path3,
.icon-human .path4,
.icon-human .path5,
.icon-human .path6,
.icon-human .path7,
.icon-human .path8,
.icon-human .path9,
.icon-human .path10,
.icon-human .path11,
.icon-human .path12,
.icon-human .path13,
.icon-human .path14,
.icon-human .path15 {
  display: none !important;
}

.icon-human .path1:before,
.icon-human .path2:before,
.icon-human .path3:before,
.icon-human .path4:before,
.icon-human .path5:before,
.icon-human .path6:before,
.icon-human .path7:before,
.icon-human .path8:before,
.icon-human .path9:before,
.icon-human .path10:before,
.icon-human .path11:before,
.icon-human .path12:before,
.icon-human .path13:before,
.icon-human .path14:before,
.icon-human .path15:before {
  content: "" !important;
  display: none !important;
}

.icon-human:before {
  content: "\f007" !important; /* fa-user */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  display: inline-block !important;
  margin-left: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Gestion icon-money-bag (2 paths) */
.icon-money-bag .path1,
.icon-money-bag .path2 {
  display: none !important;
}

.icon-money-bag .path1:before,
.icon-money-bag .path2:before {
  content: "" !important;
  display: none !important;
}

.icon-money-bag:before {
  content: "\f53b" !important; /* fa-money-bill-wave-alt */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  display: inline-block !important;
  margin-left: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Remplacement des icônes icomoon utilisées dans le menu dropdown */
.main-menu .main-menu__list>li.dropdown>a:before,
.stricky-header .main-menu__list>li.dropdown>a:before {
  font-family: "Font Awesome 5 Free" !important;
  content: "\f078" !important; /* fa-chevron-down */
  font-weight: 900 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Remplacement icon-down-arrow (code \e901) */
i.icon-down-arrow:before,
.icon-down-arrow:before {
  content: "\f078" !important; /* fa-chevron-down */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

/* Assurez-vous que les icônes utilisent Font Awesome quand icomoon n'est pas disponible */
[class^="icon-"],
[class*=" icon-"] {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}


