/* Correction pour les icônes Font Awesome */

/* S'assurer que Font Awesome 6 est bien chargé */
.fas, .far, .fab, .fal, .fad, .fat {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    display: inline-block !important;
}

.far {
    font-weight: 400 !important;
}

.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Force priorité maximale pour toutes les icônes */
i[class*="fa-"]:before,
.fa:before,
.fas:before,
.far:before,
.fab:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    text-rendering: auto !important;
}

/* Règle universelle pour tous les éléments avec des classes FA */
*[class*="fa-"]:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Correction pour les icônes de la section avantages */
.text-center i.fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    display: inline-block !important;
}

.text-center i.fas:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* Icônes spécifiques avec codes Unicode exacts */
i.fas.fa-users:before,
.fas.fa-users:before { content: "\f0c0" !important; }

i.fas.fa-map-marker-alt:before,
.fas.fa-map-marker-alt:before { content: "\f3c5" !important; }

i.fas.fa-mobile:before,
.fas.fa-mobile:before { content: "\f10b" !important; }

i.fas.fa-headset:before,
.fas.fa-headset:before { content: "\f590" !important; }

i.fas.fa-check:before,
.fas.fa-check:before { content: "\f00c" !important; }

i.fas.fa-times:before,
.fas.fa-times:before { content: "\f00d" !important; }

i.fas.fa-quote-left:before,
.fas.fa-quote-left:before { content: "\f10d" !important; }

i.fas.fa-star:before,
.fas.fa-star:before { content: "\f005" !important; }

i.fas.fa-rocket:before,
.fas.fa-rocket:before { content: "\f135" !important; }

i.fas.fa-comments:before,
.fas.fa-comments:before { content: "\f086" !important; }

/* Force l'affichage des icônes communes */
.fas.fa-eye:before { content: "\f06e" !important; }
.fas.fa-balance-scale:before { content: "\f24e" !important; }
.fas.fa-lightbulb:before { content: "\f0eb" !important; }
.fas.fa-handshake:before { content: "\f2b5" !important; }
.fas.fa-user-tie:before { content: "\f508" !important; }
.fas.fa-code:before { content: "\f121" !important; }
.fas.fa-chart-line:before { content: "\f201" !important; }

/* Icônes de la page pricing */
.fas.fa-users:before { content: "\f0c0" !important; }
.fas.fa-map-marked-alt:before { content: "\f5a0" !important; }
.fas.fa-mobile-alt:before { content: "\f3cd" !important; }
.fas.fa-headset:before { content: "\f590" !important; }
.fas.fa-check:before { content: "\f00c" !important; }
.fas.fa-times:before { content: "\f00d" !important; }
.fas.fa-quote-left:before { content: "\f10d" !important; }
.fas.fa-star:before { content: "\f005" !important; }
.fas.fa-rocket:before { content: "\f135" !important; }
.fas.fa-comments:before { content: "\f086" !important; }
.fas.fa-trophy:before { content: "\f091" !important; }
.fas.fa-check-circle:before { content: "\f058" !important; }
.fas.fa-shield-alt:before { content: "\f3ed" !important; }
.fas.fa-clock:before { content: "\f017" !important; }
.fas.fa-ban:before { content: "\f05e" !important; }

/* Icônes FAQ */
.fas.fa-question-circle:before { content: "\f059" !important; }
.fas.fa-sync-alt:before { content: "\f2f1" !important; }
.fas.fa-calendar-times:before { content: "\f273" !important; }
.fas.fa-credit-card:before { content: "\f09d" !important; }
.fas.fa-presentation:before { content: "\f362" !important; }
.fas.fa-life-ring:before { content: "\f1cd" !important; }
.fas.fa-video:before { content: "\f03d" !important; }

/* Icônes tableau de comparaison */
.fas.fa-table:before { content: "\f0ce" !important; }
.fas.fa-list:before { content: "\f03a" !important; }
.fas.fa-seedling:before { content: "\f4d8" !important; }
.fas.fa-crown:before { content: "\f521" !important; }
.fas.fa-briefcase:before { content: "\f0b1" !important; }
.fas.fa-calendar:before { content: "\f133" !important; }
.fas.fa-file-alt:before { content: "\f15c" !important; }
.fas.fa-filter:before { content: "\f0b0" !important; }
.fas.fa-envelope:before { content: "\f0e0" !important; }
.fas.fa-certificate:before { content: "\f0a3" !important; }
.fas.fa-industry:before { content: "\f275" !important; }

/* Icônes témoignages */
.fas.fa-building:before { content: "\f1ad" !important; }
.fas.fa-hard-hat:before { content: "\f807" !important; }

/* Icônes de la page CVthèque */
.fas.fa-search:before { content: "\f002" !important; }
.fas.fa-key:before { content: "\f084" !important; }
.fas.fa-map-marker-alt:before { content: "\f3c5" !important; }
.fas.fa-graduation-cap:before { content: "\f19d" !important; }
.fas.fa-undo:before { content: "\f0e2" !important; }
.fas.fa-sort:before { content: "\f0dc" !important; }
.fas.fa-calculator:before { content: "\f1ec" !important; }
.fas.fa-heart:before { content: "\f004" !important; }
.fas.fa-download:before { content: "\f019" !important; }
.fas.fa-share-alt:before { content: "\f1e0" !important; }
.fas.fa-chevron-left:before { content: "\f053" !important; }
.fas.fa-chevron-right:before { content: "\f054" !important; }
.fas.fa-chart-bar:before { content: "\f080" !important; }
.fas.fa-laptop-code:before { content: "\f5fc" !important; }
.fas.fa-heartbeat:before { content: "\f21e" !important; }
.fas.fa-chalkboard-teacher:before { content: "\f51c" !important; }
.fas.fa-circle:before { content: "\f111" !important; }

/* Icônes manquantes générales */
.fas.fa-cog:before { content: "\f013" !important; }
.fas.fa-paper-plane:before { content: "\f1d8" !important; }
.fas.fa-home:before { content: "\f015" !important; }
.fas.fa-phone:before { content: "\f095" !important; }
.fas.fa-mail-bulk:before { content: "\f674" !important; }
.fab.fa-facebook-f:before { content: "\f39e" !important; }
.fab.fa-twitter:before { content: "\f099" !important; }
.fab.fa-linkedin-in:before { content: "\f0e1" !important; }
.fab.fa-instagram:before { content: "\f16d" !important; }
.fas.fa-rss:before { content: "\f09e" !important; }
.fab.fa-dribbble:before { content: "\f17d" !important; }

/* Icônes spécifiques pour la recherche */
.fa-search:before,
.fas.fa-search:before {
    content: "\f002";
}

.fa-user:before,
.fas.fa-user:before {
    content: "\f007";
}

.fa-building:before,
.fas.fa-building:before {
    content: "\f1ad";
}

.fa-briefcase:before,
.fas.fa-briefcase:before {
    content: "\f0b1";
}

.fa-graduation-cap:before,
.fas.fa-graduation-cap:before {
    content: "\f19d";
}

.fa-rocket:before,
.fas.fa-rocket:before {
    content: "\f135";
}

.fa-book:before,
.fas.fa-book:before {
    content: "\f02d";
}

.fa-book-open:before,
.fas.fa-book-open:before {
    content: "\f518";
}

.fa-chart-line:before,
.fas.fa-chart-line:before {
    content: "\f201";
}

.fa-trending-up:before,
.fas.fa-trending-up:before {
    content: "\f3df";
}

.fa-globe-africa:before,
.fas.fa-globe-africa:before {
    content: "\f57c";
}

.fa-laptop-code:before,
.fas.fa-laptop-code:before {
    content: "\f5fc";
}

.fa-store:before,
.fas.fa-store:before {
    content: "\f54e";
}

.fa-shopping-cart:before,
.fas.fa-shopping-cart:before {
    content: "\f07a";
}

.fa-user-md:before,
.fas.fa-user-md:before {
    content: "\f0f0";
}

.fa-stethoscope:before,
.fas.fa-stethoscope:before {
    content: "\f0f1";
}

.fa-hard-hat:before,
.fas.fa-hard-hat:before {
    content: "\f807";
}

.fa-tools:before,
.fas.fa-tools:before {
    content: "\f7d9";
}

.fa-user-graduate:before,
.fas.fa-user-graduate:before {
    content: "\f501";
}

.fa-chalkboard-teacher:before,
.fas.fa-chalkboard-teacher:before {
    content: "\f51c";
}

.fa-lightbulb:before,
.fas.fa-lightbulb:before {
    content: "\f0eb";
}

.fa-piggy-bank:before,
.fas.fa-piggy-bank:before {
    content: "\f4d3";
}

.fa-map-marker-alt:before,
.fas.fa-map-marker-alt:before {
    content: "\f3c5";
}

.fa-dollar-sign:before,
.fas.fa-dollar-sign:before {
    content: "\f155";
}

.fa-clock:before,
.fas.fa-clock:before {
    content: "\f017";
}

.fa-fire:before,
.fas.fa-fire:before {
    content: "\f06d";
}

.fa-tag:before,
.fas.fa-tag:before {
    content: "\f02b";
}

.fa-calendar:before,
.fas.fa-calendar:before {
    content: "\f133";
}

.fa-arrow-up:before,
.fas.fa-arrow-up:before {
    content: "\f062";
}

/* Fallback pour l'ancienne version Font Awesome si elle existe encore */
.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome, "Font Awesome 6 Free";
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Style pour les icônes dans les sections */
.features-small-item .icon i,
.category-icon i,
.job-card i,
.newsletter-section i {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Correction pour les icônes de recherche spécifiquement */
.search-icon:before,
.fa-search:before {
    content: "\f002";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Debug: afficher un caractère de remplacement si l'icône ne se charge pas */
.fas:empty:before,
.fa:empty:before {
    content: "◆"; /* Caractère de fallback */
    color: #ccc;
}
