/* ═══════════════════════════════════════════════
   CAIRO FONT - OVERRIDE GLOBAL
   Force la police Cairo sur TOUS les éléments
═══════════════════════════════════════════════ */

/* Règle universelle avec !important - SAUF les icônes Font Awesome */
*:not(.fas):not(.far):not(.fab):not(.fa):not(.fa-solid):not(.fa-regular):not(.fa-brands):not([class*="fa-"]),
*::before:not(.fas):not(.far):not(.fab):not(.fa):not(.fa-solid):not(.fa-regular):not(.fa-brands),
*::after:not(.fas):not(.far):not(.fab):not(.fa):not(.fa-solid):not(.fa-regular):not(.fa-brands),
html,
body,
div:not([class*="fa-"]),
span:not([class*="fa-"]),
p,
a:not([class*="fa-"]),
h1, h2, h3, h4, h5, h6,
button:not([class*="fa-"]),
input,
textarea,
select,
label,
li,
ul,
ol,
table,
td,
th,
tr {
  font-family: 'Cairo', 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif !important;
}

/* Ne PAS appliquer Cairo aux icônes Font Awesome */
.fas, .far, .fab, .fa, .fa-solid, .fa-regular, .fa-brands,
i[class*="fa-"],
span[class*="fa-"] {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

/* Spécifique pour les éléments de formulaire */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select,
button {
  font-family: 'Cairo', 'IBM Plex Sans Arabic', system-ui, sans-serif !important;
}

/* Pour les éléments Leaflet (carte) */
.leaflet-container,
.leaflet-popup-content,
.leaflet-popup-content-wrapper,
.leaflet-control {
  font-family: 'Cairo', 'IBM Plex Sans Arabic', system-ui, sans-serif !important;
}

/* Pour les éléments de navigation */
nav,
.nav,
.navbar,
.menu,
.header {
  font-family: 'Cairo', 'IBM Plex Sans Arabic', system-ui, sans-serif !important;
}

/* Pour les cartes et sections */
.card,
.section,
.container,
.wrapper {
  font-family: 'Cairo', 'IBM Plex Sans Arabic', system-ui, sans-serif !important;
}

/* RTL - Direction arabe */
[dir="rtl"],
[dir="rtl"] *,
.rtl-mode,
.rtl-mode * {
  font-family: 'Cairo', 'IBM Plex Sans Arabic', system-ui, sans-serif !important;
}

/* Classes spécifiques du site */
.about-eyebrow-text,
.about-content h2,
.slide-title,
.hero-content h1,
.section-header h2,
.service-card h3,
.news-card h3,
.legend-bar-title,
.panel-title {
  font-family: 'Cairo', 'Cormorant Garamond', serif !important;
}
