/* ============================================================
   EDUCATION GLOBAL ACCESS — Premium UI System v4.0
   Architecture : Desktop-first + Mobile-First Responsive
   ============================================================ */

/* ══════════════════════════════════════════════════════════════
   1. VARIABLES GLOBALES
   ══════════════════════════════════════════════════════════════ */
:root {
  --ega-primary:       #1a3c6e;
  --ega-primary-dark:  #0f2548;
  --ega-primary-rgb:   26, 60, 110;
  --ega-accent:        #f5a623;
  --ega-accent-rgb:    245, 166, 35;
  --ega-dark:          #0d1b2a;
  --ega-text:          #2c3e50;
  --ega-text-muted:    #6c7a89;
  --ega-border:        #e4eaf2;
  --ega-bg-light:      #f7f9fc;
  --ega-white:         #ffffff;
  --ega-shadow-sm:     0 2px 16px rgba(26,60,110,.07);
  --ega-shadow-md:     0 8px 40px rgba(26,60,110,.13);
  --ega-shadow-lg:     0 20px 60px rgba(26,60,110,.18);
  --ega-radius:        14px;
  --ega-radius-lg:     22px;
  --ega-ease:          cubic-bezier(.4, 0, .2, 1);
  --ega-transition:    all .3s var(--ega-ease);
  --header-h:          64px;
  --header-h-mobile:   58px;
}

/* ══════════════════════════════════════════════════════════════
   2. BASE & RESET
   ══════════════════════════════════════════════════════════════ */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
  min-width: 0;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ega-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--ega-white);
  overflow-x: hidden;
  max-width: 100vw;
}

img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--ega-primary);
  color: var(--ega-white);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--ega-bg-light); }
::-webkit-scrollbar-thumb { background: var(--ega-primary); border-radius: 10px; }

/* ══════════════════════════════════════════════════════════════
   3. TYPOGRAPHIE DESKTOP
   ══════════════════════════════════════════════════════════════ */
.elementor-widget-heading .elementor-heading-title {
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.18;
  word-break: break-word;
}

/* Hero heading */
.elementor-element-e8b917e .elementor-heading-title {
  font-size: 13px !important;
  line-height: 1.4 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.elementor-element-1519af2 .elementor-heading-title {
  font-size: 34px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}

.elementor-element-b574684 .elementor-heading-title {
  font-size: 14px !important;
  line-height: 1.55 !important;
}

/* Icon-box titles */
.elementor-element-80c8ec9 .elementor-icon-box-title,
.elementor-element-7ceaafd .elementor-icon-box-title,
.elementor-element-3a9d7cb .elementor-icon-box-title {
  font-size: 15px !important;
}

.elementor-element-80c8ec9 .elementor-icon-box-description,
.elementor-element-7ceaafd .elementor-icon-box-description,
.elementor-element-3a9d7cb .elementor-icon-box-description {
  font-size: 13px !important;
  line-height: 1.6 !important;
}

/* Avis */
.elementor-element-ae49762 .elementor-heading-title,
.elementor-element-ff73169 .elementor-heading-title {
  font-size: 15px !important;
}

/* Témoignages */
.ts-card .ts-text,
.ts-card p,
.testimonial-text,
.elementor-testimonial__content,
.elementor-testimonial__text {
  font-size: 13px !important;
  line-height: 1.65 !important;
}
.ts-card .ts-name,
.testimonial-name,
.elementor-testimonial__name { font-size: 13px !important; }
.ts-card .ts-stars, .testimonial-stars { font-size: 13px !important; }

/* Compteurs stats */
.elementor-element-58e9ed8 .elementor-counter-number-wrapper,
.elementor-element-c0823b4 .elementor-counter-number-wrapper,
.elementor-element-68d5bbf .elementor-counter-number-wrapper,
.elementor-element-200af88 .elementor-counter-number-wrapper {
  font-size: 36px !important;
  line-height: 1.1 !important;
}
.elementor-element-58e9ed8 .elementor-counter-number,
.elementor-element-c0823b4 .elementor-counter-number,
.elementor-element-68d5bbf .elementor-counter-number,
.elementor-element-200af88 .elementor-counter-number,
.elementor-element-58e9ed8 .elementor-counter-number-suffix,
.elementor-element-c0823b4 .elementor-counter-number-suffix,
.elementor-element-68d5bbf .elementor-counter-number-suffix,
.elementor-element-200af88 .elementor-counter-number-suffix {
  font-size: 36px !important;
}
.elementor-element-58e9ed8 .elementor-counter-title,
.elementor-element-c0823b4 .elementor-counter-title,
.elementor-element-68d5bbf .elementor-counter-title,
.elementor-element-200af88 .elementor-counter-title {
  font-size: 13px !important;
  line-height: 1.4 !important;
}

/* Texte éditeur */
.elementor-widget-text-editor,
.elementor-widget-text-editor p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--ega-text);
}

/* ══════════════════════════════════════════════════════════════
   4. HEADER — FIXE, BLANC, PREMIUM v6.0
   Structure Elementor : header > .e-con > .e-con-inner > .e-con (colonnes)
   ══════════════════════════════════════════════════════════════ */

/* ── Base header ── */
header.elementor-location-header {
  background: #ffffff !important;
  background-image: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: var(--header-h) !important;
  min-height: var(--header-h) !important;
  max-height: var(--header-h) !important;
  overflow: hidden !important;
  z-index: 9999 !important;
  display: block !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 2px 16px rgba(26,60,110,.05) !important;
  transition: box-shadow .3s ease !important;
}

header.elementor-location-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(26,60,110,.14) !important;
}

/* ── Fond blanc : tout sauf bouton CTA et hamburger ── */
header.elementor-location-header *:not(.elementor-button):not(.elementor-button *):not(.elementor-menu-toggle):not(.elementor-menu-toggle *) {
  background-color: #ffffff !important;
  background-image: none !important;
}

/* ── Reset CRITIQUE : annuler le min-height Elementor sur tous les containers ── */
header.elementor-location-header .e-con,
header.elementor-location-header .e-con-inner,
header.elementor-location-header .elementor-section,
header.elementor-location-header .elementor-container,
header.elementor-location-header .elementor-column,
header.elementor-location-header .elementor-widget-wrap {
  min-height: 0 !important;
}

/* ── Cacher les sections supplémentaires (= double bloc) ── */
header.elementor-location-header > .e-con + .e-con,
header.elementor-location-header > .elementor-section + .elementor-section,
header.elementor-location-header > .elementor-container + .elementor-container,
header.elementor-location-header > section + section {
  display: none !important;
}

/* ── NIVEAU 1 : section externe (= .e-con parent OU .elementor-section) ── */
header.elementor-location-header > .e-con,
header.elementor-location-header > .elementor-section {
  width: 100% !important;
  height: var(--header-h) !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
}

/* ── NIVEAU 2 : rangée flex principale
   Elementor v3  → .e-con > .e-con-inner
   Elementor v2  → .elementor-section > .elementor-container
── */
header.elementor-location-header > .e-con > .e-con-inner,
header.elementor-location-header > .elementor-section > .elementor-container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  height: var(--header-h) !important;
  padding: 0 20px !important;
  gap: 0 !important;
  max-width: 100% !important;
}

/* ── NIVEAU 3 : toutes les colonnes — hauteur stricte ── */
header.elementor-location-header > .e-con > .e-con-inner > .e-con,
header.elementor-location-header > .elementor-section > .elementor-container > .elementor-column {
  height: var(--header-h) !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Colonne logo (première) — grandit pour pousser nav+bouton vers la droite ── */
header.elementor-location-header > .e-con > .e-con-inner > .e-con:first-child,
header.elementor-location-header > .elementor-section > .elementor-container > .elementor-column:first-child {
  flex: 1 1 auto !important;
  width: auto !important;
  justify-content: flex-start !important;
}

header.elementor-location-header .elementor-widget-image img {
  max-height: 48px !important;
  width: auto !important;
  display: block !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ── Colonne nav (milieu) — taille naturelle, collée au bouton ── */
header.elementor-location-header > .e-con > .e-con-inner > .e-con:not(:first-child):not(:last-child),
header.elementor-location-header > .elementor-section > .elementor-container > .elementor-column:not(:first-child):not(:last-child) {
  flex: 0 0 auto !important;
  width: auto !important;
  justify-content: flex-end !important;
  overflow: visible !important;
}

/* Widget nav-menu */
header.elementor-location-header .elementor-widget-nav-menu {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  margin-left: 0 !important;
  margin-right: 6px !important;
}

/* Liste ul */
header.elementor-location-header ul.elementor-nav-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

header.elementor-location-header ul.elementor-nav-menu > li {
  white-space: nowrap !important;
  position: relative !important;
}

/* ── Items nav desktop : underline animé premium ── */
header.elementor-location-header .elementor-nav-menu--main .elementor-item,
header.elementor-location-header .elementor-nav-menu--main a {
  position: relative !important;
  display: inline-block !important;
  color: #1a1a2e !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;
  padding: 6px 8px !important;
  text-decoration: none !important;
  transition: color .2s ease !important;
}

header.elementor-location-header .elementor-nav-menu--main .elementor-item::after,
header.elementor-location-header .elementor-nav-menu--main a::after {
  content: '' !important;
  position: absolute !important;
  bottom: 2px !important;
  left: 8px !important;
  right: 8px !important;
  height: 2px !important;
  background: var(--ega-primary) !important;
  border-radius: 2px !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  transition: transform .22s cubic-bezier(.4,0,.2,1) !important;
  pointer-events: none !important;
}

header.elementor-location-header .elementor-nav-menu--main .elementor-item:hover,
header.elementor-location-header .elementor-nav-menu--main a:hover {
  color: var(--ega-primary) !important;
}

header.elementor-location-header .elementor-nav-menu--main .elementor-item:hover::after,
header.elementor-location-header .elementor-nav-menu--main a:hover::after,
header.elementor-location-header .elementor-nav-menu--main .elementor-item-active::after,
header.elementor-location-header .elementor-nav-menu--main .current-menu-item > a::after {
  transform: scaleX(1) !important;
}

header.elementor-location-header .elementor-nav-menu--main .elementor-item-active,
header.elementor-location-header .elementor-nav-menu--main .current-menu-item > a {
  color: var(--ega-primary) !important;
}

/* ── Colonne bouton (dernière) — taille minimale ── */
header.elementor-location-header > .e-con > .e-con-inner > .e-con:last-child,
header.elementor-location-header > .elementor-section > .elementor-container > .elementor-column:last-child {
  flex: 0 0 auto !important;
  width: auto !important;
  justify-content: flex-end !important;
  padding-left: 6px !important;
  padding-right: 0 !important;
}

/* ── Bouton Postuler — compact, gradient premium ── */
.elementor-element-316befa .elementor-button {
  background: linear-gradient(135deg, #1a73e8 0%, #1252b8 100%) !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  padding: 7px 13px !important;
  border-radius: 8px !important;
  border: none !important;
  white-space: nowrap !important;
  min-width: unset !important;
  width: auto !important;
  box-shadow: 0 3px 10px rgba(26,115,232,.28) !important;
  transition: opacity .2s ease, transform .18s ease, box-shadow .2s ease !important;
  line-height: 1.4 !important;
}

.elementor-element-316befa .elementor-button:hover {
  opacity: .92 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 16px rgba(26,115,232,.38) !important;
}

.elementor-element-316befa .elementor-button:active {
  transform: translateY(0) scale(.98) !important;
}

/* Wrapper bouton — pas de largeur forcée */
.elementor-element-316befa .elementor-button-wrapper {
  width: auto !important;
}
.elementor-element-316befa .elementor-widget-container {
  width: auto !important;
}

/* ── Hamburger — caché sur desktop ── */
header.elementor-location-header .elementor-menu-toggle {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════
   OVERLAY MENU MOBILE — global (hors media query)
   ══════════════════════════════════════════════════════════════ */
.ega-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, .52);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 9996;
  opacity: 0;
  visibility: hidden;
  transition: opacity .32s ease, visibility .32s ease;
}

.ega-menu-overlay.ega-active {
  opacity: 1;
  visibility: visible;
}

/* Body lock scroll quand menu ouvert */
body.ega-no-scroll {
  overflow: hidden !important;
  touch-action: none !important;
}

/* Menu mobile — caché sur desktop */
.elementor-nav-menu--mobile {
  display: none !important;
}

/* Nav links globaux */
.elementor-nav-menu--main .elementor-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  white-space: nowrap !important;
}

.elementor-nav-menu--main .elementor-item:hover {
  color: var(--ega-primary);
}

/* ══════════════════════════════════════════════════════════════
   5. BODY — COMPENSATION HEADER FIXE + RAPPROCHEMENT CONTENU
   ══════════════════════════════════════════════════════════════ */
body:not(.elementor-editor-active) {
  padding-top: var(--header-h) !important;
}

/* ── Spacers réduits dans toutes les sections ── */
.elementor-widget-spacer .elementor-spacer-inner {
  height: 24px !important;
}

/* ── Sections : padding vertical plus compact ── */
.elementor-section.elementor-top-section {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

/* ══════════════════════════════════════════════════════════════
   HERO — Remonter le texte tout en haut, proche du header
   ══════════════════════════════════════════════════════════════ */

/* Niveau 1 : la section hero elle-même */
.elementor-section.elementor-top-section:first-child,
.elementor .elementor-section:first-child,
article .elementor-section:first-child,
main .elementor-section:first-child,
.elementor-page .elementor-section:first-child {
  padding-top: 20px !important;
  padding-bottom: 32px !important;
  align-items: flex-start !important;
  --content-position: top !important;
  margin-top: 0 !important;
}

/* Niveau 2 : container Elementor interne */
.elementor-section.elementor-top-section:first-child > .elementor-container,
.elementor .elementor-section:first-child > .elementor-container,
article .elementor-section:first-child > .elementor-container,
main .elementor-section:first-child > .elementor-container {
  align-items: flex-start !important;
}

/* Niveau 3 : colonnes */
.elementor-section.elementor-top-section:first-child .elementor-column,
.elementor .elementor-section:first-child .elementor-column,
article .elementor-section:first-child .elementor-column {
  align-self: flex-start !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Niveau 4 : widget-wrap (là où Elementor met souvent un padding) */
.elementor-section.elementor-top-section:first-child .elementor-widget-wrap,
.elementor .elementor-section:first-child .elementor-widget-wrap,
article .elementor-section:first-child .elementor-widget-wrap {
  padding-top: 0 !important;
  align-content: flex-start !important;
  margin-top: 0 !important;
}

/* Niveau 5 : spacer en tête de colonne — supprimer */
.elementor-section.elementor-top-section:first-child .elementor-widget-wrap > .elementor-element:first-child.elementor-widget-spacer .elementor-spacer-inner,
.elementor .elementor-section:first-child .elementor-widget-wrap > .elementor-element:first-child.elementor-widget-spacer .elementor-spacer-inner {
  height: 0 !important;
  min-height: 0 !important;
}

/* Google Translate ne doit pas pousser le body */
body.translated-ltr,
body.translated-rtl {
  top: 0 !important;
}

/* Admin bar */
.admin-bar header.elementor-location-header {
  top: 32px !important;
}

.admin-bar body:not(.elementor-editor-active) {
  padding-top: calc(var(--header-h) + 32px) !important;
}

@media (max-width: 782px) {
  .admin-bar header.elementor-location-header {
    top: 46px !important;
  }
  .admin-bar body:not(.elementor-editor-active) {
    padding-top: calc(var(--header-h-mobile) + 46px) !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   6. GOOGLE TRANSLATE — masquer tout sauf widget flottant
   ══════════════════════════════════════════════════════════════ */
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-te-menu-frame,
.goog-te-menu-value,
#google_translate_element,
#google_translate_element2,
.goog-te-gadget,
.goog-te-gadget-icon,
.goog-logo-link,
.goog-text-highlight,
iframe.goog-te-menu-frame,
iframe.skiptranslate,
[class^="VIpgJd-"],
[id^="VIpgJd-"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

header.elementor-location-header .elementor-widget-shortcode {
  display: none !important;
}

.gtranslate_wrapper {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 99998 !important;
  display: block !important;
  visibility: visible !important;
}

/* ══════════════════════════════════════════════════════════════
   7. COMPOSANTS DESKTOP
   ══════════════════════════════════════════════════════════════ */

/* Image Box */
.elementor-widget-image-box .elementor-image-box-wrapper {
  border-radius: var(--ega-radius-lg);
  padding: 32px 26px;
  background: var(--ega-white);
  border: 1px solid var(--ega-border);
  box-shadow: var(--ega-shadow-sm);
  transition: var(--ega-transition);
}

.elementor-widget-image-box:hover .elementor-image-box-wrapper {
  transform: translateY(-6px);
  box-shadow: var(--ega-shadow-md);
  border-color: rgba(var(--ega-primary-rgb), .15);
}

/* Icon Box */
.elementor-widget-icon-box .elementor-icon-box-wrapper {
  border-radius: var(--ega-radius-lg);
  padding: 32px 26px;
  background: var(--ega-white);
  border: 1px solid var(--ega-border);
  box-shadow: var(--ega-shadow-sm);
  transition: var(--ega-transition);
}

.elementor-widget-icon-box:hover .elementor-icon-box-wrapper {
  transform: translateY(-6px);
  box-shadow: var(--ega-shadow-md);
}

.elementor-widget-icon-box .elementor-icon { transition: var(--ega-transition); }
.elementor-widget-icon-box:hover .elementor-icon { transform: scale(1.1) rotate(-4deg); }

.elementor-widget-image-box .elementor-image-box-img img {
  border-radius: var(--ega-radius);
  transition: var(--ega-transition);
}
.elementor-widget-image-box:hover .elementor-image-box-img img { transform: scale(1.04); }

/* Images */
.elementor-widget-image img {
  border-radius: var(--ega-radius);
  transition: var(--ega-transition);
}
.elementor-widget-image:hover img { box-shadow: var(--ega-shadow-md); }

/* Formulaires */
.elementor-field-group .elementor-field,
.elementor-field-group input:not([type=radio]):not([type=checkbox]),
.elementor-field-group textarea,
.elementor-field-group select {
  font-family: 'Poppins', sans-serif;
  font-size: .93rem;
  border: 1.5px solid var(--ega-border);
  border-radius: var(--ega-radius);
  padding: 13px 18px;
  background: var(--ega-white);
  color: var(--ega-text);
  transition: var(--ega-transition);
  width: 100%;
}

.elementor-field-group .elementor-field:focus,
.elementor-field-group input:focus,
.elementor-field-group textarea:focus {
  border-color: var(--ega-primary);
  box-shadow: 0 0 0 4px rgba(var(--ega-primary-rgb), .1);
  outline: none;
}

.elementor-field-group label {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: .88rem;
  color: var(--ega-text);
  margin-bottom: 6px;
  display: block;
}

/* Testimonials */
.elementor-testimonial__content {
  border-radius: var(--ega-radius-lg);
  background: var(--ega-white);
  box-shadow: var(--ega-shadow-sm);
  border: 1px solid var(--ega-border);
  padding: 28px 24px;
  transition: var(--ega-transition);
}

/* Progress bar */
.elementor-progress-wrapper {
  border-radius: 50px;
  overflow: hidden;
  height: 8px;
  background: var(--ega-border);
}
.elementor-progress-bar {
  border-radius: 50px;
  background: linear-gradient(90deg, var(--ega-primary), #4a90d9);
  transition: width 1.2s var(--ega-ease);
}

/* Counter */
.elementor-widget-counter .elementor-counter-number-wrapper {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Footer */
footer.elementor-location-footer,
.elementor-location-footer {
  margin-top: 48px !important;
  padding-top: 16px !important;
}

#content, .site-content, main#primary, main.site-main {
  padding-bottom: 48px !important;
}

.elementor-divider-separator { border-color: var(--ega-border); }

/* ══════════════════════════════════════════════════════════════
   8. ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
@keyframes ega-fadeup {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ega-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════
   9. HERO DESKTOP — Hauteur augmentée
   ══════════════════════════════════════════════════════════════ */

/* Section hero principale (0c86cd8) — plein écran sur DESKTOP uniquement */
@media (min-width: 768px) {
  .elementor-element-0c86cd8 {
    min-height: calc(100vh - var(--header-h)) !important;
    height:     calc(100vh - var(--header-h)) !important;
    display: flex !important;
    align-items: center !important;
  }

  .elementor-element-d1f9459 {
    min-height: calc(100vh - var(--header-h)) !important;
    display: flex !important;
    align-items: center !important;
  }

  body:not(.elementor-editor-active) .elementor-location-general > .elementor-section-wrap > .e-con:first-child,
  body:not(.elementor-editor-active) .elementor-location-general > .elementor-section-wrap > .elementor-section:first-child {
    min-height: calc(100vh - var(--header-h)) !important;
  }
}

/* Hero MOBILE — hauteur auto + image réduite pour ne pas cacher les chiffres */
@media (max-width: 767px) {
  .elementor-element-0c86cd8,
  .elementor-element-d1f9459 {
    min-height: auto !important;
    height: auto !important;
    align-items: flex-start !important;
  }

  /* Contraindre l'image du hero sur mobile */
  .elementor-element-0c86cd8 .elementor-widget-image,
  .elementor-element-d1f9459 .elementor-widget-image {
    max-height: 260px !important;
    overflow: hidden !important;
  }

  .elementor-element-0c86cd8 .elementor-widget-image img,
  .elementor-element-d1f9459 .elementor-widget-image img {
    max-height: 260px !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   10. TEXTE BLANC — Hero accueil (élément 565d828)
   ══════════════════════════════════════════════════════════════ */
.elementor-element-565d828,
.elementor-element-565d828 p,
.elementor-element-565d828 .elementor-widget-container,
.elementor-element-565d828 .elementor-widget-container * {
  color: #ffffff !important;
}

/* ══════════════════════════════════════════════════════════════
   11. FOCUS ACCESSIBILITY
   ══════════════════════════════════════════════════════════════ */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ega-accent);
  outline-offset: 3px;
  border-radius: 6px;
}


/* ╔══════════════════════════════════════════════════════════════╗
   ║         SYSTÈME RESPONSIVE — MOBILE PREMIUM v4.0            ║
   ║   Breakpoints : 1024 | 767 | 480 | 360                      ║
   ╚══════════════════════════════════════════════════════════════╝ */

/* ─────────────────────────────────────────────────────────────
   TABLETTE — max 1024px
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {

  header.elementor-location-header > .e-con > .e-con-inner,
  header.elementor-location-header > .elementor-section > .elementor-container {
    padding: 0 14px !important;
  }

  header.elementor-location-header .elementor-nav-menu--main .elementor-item,
  header.elementor-location-header .elementor-nav-menu--main a {
    font-size: 10.5px !important;
    padding: 5px 5px !important;
  }

  header.elementor-location-header .elementor-nav-menu--main .elementor-item::after,
  header.elementor-location-header .elementor-nav-menu--main a::after {
    left: 5px !important;
    right: 5px !important;
  }

  .elementor-element-316befa .elementor-button {
    padding: 6px 10px !important;
    font-size: 10.5px !important;
  }

  .elementor-section > .elementor-container,
  .e-con-inner {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .elementor-element-1519af2 .elementor-heading-title {
    font-size: 34px !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   FIX ÉLÉMENT 324f3e9 — colonne nav header, annule flex-end
   (CSS variable générée par Elementor : --align-items: flex-end)
   ───────────────────────────────────────────────────────────── */
.elementor-element-324f3e9 {
  --align-items: center !important;
  align-items: center !important;
  align-self: center !important;
}

@media (max-width: 767px) {
  .elementor-element-324f3e9 {
    --align-items: center !important;
    align-items: center !important;
    align-self: center !important;
    justify-content: flex-end !important;
    height: 58px !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex: 1 1 auto !important;
    width: auto !important;
    --width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .elementor-element-324f3e9 > *,
  .elementor-element-324f3e9 .elementor-widget-wrap,
  .elementor-element-324f3e9 .e-con-inner {
    align-items: center !important;
    justify-content: flex-end !important;
    height: 58px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex: 1 1 auto !important;
  }

  .elementor-element-324f3e9 .elementor-menu-toggle {
    align-self: center !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   MOBILE — max 767px
   ───────────────────────────────────────────────────────────── */
@media (max-width: 767px) {

  /* ── Variables mobile ── */
  :root {
    --header-h: var(--header-h-mobile);
  }

  /* ══ HEADER MOBILE PREMIUM ══ */
  /* overflow:hidden car le menu mobile est position:fixed → non affecté */
  header.elementor-location-header {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    overflow: hidden !important;
    display: block !important;
  }

  /* NIVEAU 1 : section externe */
  header.elementor-location-header > .e-con,
  header.elementor-location-header > .elementor-section {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    padding: 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  /* NIVEAU 2 : rangée flex — logo gauche, hamburger droite */
  header.elementor-location-header > .e-con > .e-con-inner,
  header.elementor-location-header > .elementor-section > .elementor-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    padding: 0 14px !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* NIVEAU 3 : toutes les colonnes — strictement 58px */
  header.elementor-location-header > .e-con > .e-con-inner > .e-con,
  header.elementor-location-header > .elementor-section > .elementor-container > .elementor-column {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  /* Colonne logo (première) — taille auto, NE GRANDIT PAS (override desktop flex:1) */
  header.elementor-location-header > .e-con > .e-con-inner > .e-con:first-child,
  header.elementor-location-header > .elementor-section > .elementor-container > .elementor-column:first-child {
    flex: 0 0 auto !important;
    width: auto !important;
    justify-content: flex-start !important;
    overflow: visible !important;
  }

  /* Logo image */
  header.elementor-location-header .elementor-widget-image img {
    max-height: 38px !important;
    width: auto !important;
    display: block !important;
  }

  /* Toutes les colonnes APRÈS la première — grandissent pour pousser hamburger à droite */
  header.elementor-location-header > .e-con > .e-con-inner > .e-con:not(:first-child),
  header.elementor-location-header > .elementor-section > .elementor-container > .elementor-column:not(:first-child) {
    flex: 1 1 auto !important;
    justify-content: flex-end !important;
    align-items: center !important;
    overflow: visible !important;
  }

  /* Cacher spécifiquement le bouton Postuler (par son ID Elementor) */
  header.elementor-location-header .elementor-element-316befa {
    display: none !important;
  }

  /* Cacher le widget nav-menu lui-même sur mobile (on garde seulement le toggle) */
  header.elementor-location-header .elementor-widget-nav-menu > .elementor-widget-container > nav {
    display: none !important;
  }

  /* Nav desktop — cachée */
  header.elementor-location-header .elementor-nav-menu--main {
    display: none !important;
  }

  /* Inner wrapper de chaque colonne — aligné droite, 58px */
  header.elementor-location-header > .e-con > .e-con-inner > .e-con > .e-con-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    height: 58px !important;
    max-height: 58px !important;
    padding: 0 !important;
    width: 100% !important;
    overflow: visible !important;
  }

  header.elementor-location-header > .e-con > .e-con-inner > .e-con:first-child > .e-con-inner {
    justify-content: flex-start !important;
  }

  /* ══ HAMBURGER — orange, extrémité droite ══ */
  header.elementor-location-header .elementor-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    flex-shrink: 0 !important;
    border-radius: 10px !important;
    background: var(--ega-accent) !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 0 0 auto !important;   /* pousse à l'extrémité droite */
    position: relative !important;
    align-self: center !important;
    box-shadow: 0 2px 10px rgba(245,166,35,.35) !important;
    transition: background .2s ease, transform .15s ease !important;
    z-index: 10000 !important;
  }

  header.elementor-location-header .elementor-menu-toggle:hover {
    background: #e8941a !important;
    transform: scale(1.06) !important;
  }

  header.elementor-location-header .elementor-menu-toggle:active {
    transform: scale(.96) !important;
  }

  /* ── Icônes hamburger : contrôle précis de l'affichage ── */

  /* Tous les <i> dans le toggle : style de base */
  header.elementor-location-header .elementor-menu-toggle i,
  header.elementor-location-header .elementor-menu-toggle [class^="ti-"],
  header.elementor-location-header .elementor-menu-toggle [class*=" ti-"],
  header.elementor-location-header .elementor-menu-toggle svg {
    font-size: 20px !important;
    color: #ffffff !important;
    line-height: 1 !important;
    transition: transform .22s ease, opacity .18s ease !important;
  }

  /* Défaut : hamburger (≡) visible — close (×) caché */
  header.elementor-location-header .elementor-menu-toggle .eicon-menu-bar {
    display: block !important;
    opacity: 1 !important;
    transform: rotate(0deg) scale(1) !important;
  }

  header.elementor-location-header .elementor-menu-toggle .eicon-close {
    display: none !important;
    opacity: 0 !important;
  }

  /* Quand ouvert — classe .ega-toggle-open ajoutée par notre JS */
  header.elementor-location-header .elementor-menu-toggle.ega-toggle-open {
    background: #d4820f !important;
  }

  header.elementor-location-header .elementor-menu-toggle.ega-toggle-open .eicon-menu-bar {
    display: none !important;
    opacity: 0 !important;
  }

  header.elementor-location-header .elementor-menu-toggle.ega-toggle-open .eicon-close {
    display: block !important;
    opacity: 1 !important;
    color: #ffffff !important;
    animation: ega-icon-in .22s cubic-bezier(.4,0,.2,1) both !important;
  }

  /* Fallback : classe .elementor-active ajoutée par Elementor */
  header.elementor-location-header .elementor-menu-toggle.elementor-active .eicon-menu-bar {
    display: none !important;
  }
  header.elementor-location-header .elementor-menu-toggle.elementor-active .eicon-close {
    display: block !important;
    color: #ffffff !important;
  }

  @keyframes ega-icon-in {
    from { transform: rotate(-45deg) scale(.6); opacity: 0; }
    to   { transform: rotate(0deg)   scale(1);  opacity: 1; }
  }

  /* ══ MENU MOBILE DÉROULANT PREMIUM ══ */
  .elementor-nav-menu--mobile {
    display: block !important;   /* override Elementor display:none */
    position: fixed !important;
    top: var(--header-h-mobile) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    background: #ffffff !important;
    z-index: 9997 !important;
    max-height: calc(100vh - var(--header-h-mobile)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-top: 3px solid var(--ega-primary) !important;
    box-shadow: 0 16px 56px rgba(10,20,40,.22) !important;

    /* État fermé — invisible + décalé vers le haut */
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(-12px) !important;
    pointer-events: none !important;
    transition:
      opacity   .28s cubic-bezier(.4,0,.2,1),
      transform .28s cubic-bezier(.4,0,.2,1),
      visibility .28s !important;
  }

  /* État ouvert — JS ajoute .ega-open */
  .elementor-nav-menu--mobile.ega-open {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* Admin bar offset */
  .admin-bar .elementor-nav-menu--mobile {
    top: calc(var(--header-h-mobile) + 46px) !important;
  }

  /* ══ LISTE DU MENU ══ */
  .elementor-nav-menu--mobile .elementor-nav-menu,
  .elementor-nav-menu--mobile ul.elementor-nav-menu {
    display: block !important;
    width: 100% !important;
    padding: 6px 0 16px !important;
    margin: 0 !important;
    list-style: none !important;
  }

  /* Chaque <li> = une ligne pleine largeur */
  .elementor-nav-menu--mobile .elementor-nav-menu > li,
  .elementor-nav-menu--mobile ul > li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #f0f2f6 !important;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .22s ease, transform .22s ease !important;
  }

  /* Animation items en cascade quand ouvert */
  .elementor-nav-menu--mobile.ega-open .elementor-nav-menu > li {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }

  .elementor-nav-menu--mobile.ega-open .elementor-nav-menu > li:nth-child(1) { transition-delay: .04s !important; }
  .elementor-nav-menu--mobile.ega-open .elementor-nav-menu > li:nth-child(2) { transition-delay: .08s !important; }
  .elementor-nav-menu--mobile.ega-open .elementor-nav-menu > li:nth-child(3) { transition-delay: .12s !important; }
  .elementor-nav-menu--mobile.ega-open .elementor-nav-menu > li:nth-child(4) { transition-delay: .16s !important; }
  .elementor-nav-menu--mobile.ega-open .elementor-nav-menu > li:nth-child(5) { transition-delay: .20s !important; }
  .elementor-nav-menu--mobile.ega-open .elementor-nav-menu > li:nth-child(6) { transition-delay: .24s !important; }

  .elementor-nav-menu--mobile .elementor-nav-menu > li:last-child {
    border-bottom: none !important;
    padding: 12px 16px !important;
  }

  /* Lien de chaque item */
  .elementor-nav-menu--mobile .elementor-item,
  .elementor-nav-menu--mobile a.elementor-item {
    display: flex !important;
    align-items: center !important;
    float: none !important;
    width: 100% !important;
    padding: 15px 20px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    text-decoration: none !important;
    transition: color .15s ease, background .15s ease, padding-left .2s ease !important;
    line-height: 1.3 !important;
    box-sizing: border-box !important;
  }

  .elementor-nav-menu--mobile .elementor-item::before {
    content: '' !important;
    display: inline-block !important;
    width: 4px !important;
    height: 4px !important;
    border-radius: 50% !important;
    background: var(--ega-primary) !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    opacity: 0 !important;
    transition: opacity .2s ease !important;
  }

  .elementor-nav-menu--mobile .elementor-item:hover,
  .elementor-nav-menu--mobile .elementor-item-active,
  .elementor-nav-menu--mobile .current-menu-item > a {
    color: var(--ega-primary) !important;
    background: #f4f7fd !important;
    padding-left: 24px !important;
  }

  .elementor-nav-menu--mobile .elementor-item:hover::before,
  .elementor-nav-menu--mobile .elementor-item-active::before {
    opacity: 1 !important;
  }

  /* Dernier item = CTA Postuler */
  .elementor-nav-menu--mobile .elementor-nav-menu > li:last-child .elementor-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    background: linear-gradient(135deg, #1a73e8, #1557b0) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 16px rgba(26,115,232,.35) !important;
    transition: opacity .2s ease, transform .2s ease !important;
  }

  .elementor-nav-menu--mobile .elementor-nav-menu > li:last-child .elementor-item::before {
    display: none !important;
  }

  .elementor-nav-menu--mobile .elementor-nav-menu > li:last-child .elementor-item:hover {
    opacity: .9 !important;
    transform: translateY(-1px) !important;
    padding-left: 20px !important;
    background: linear-gradient(135deg, #1a73e8, #1557b0) !important;
    color: #fff !important;
  }

  /* ── CONTENEURS ── */
  .elementor-section > .elementor-container,
  .e-con-inner,
  .elementor-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .elementor-section,
  .e-con {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ── Première section — proche du header sur mobile ── */
  body:not(.elementor-editor-active) .elementor-section:first-of-type,
  body:not(.elementor-editor-active) .elementor-page > .elementor-section:first-child,
  body:not(.elementor-editor-active) .elementor-page > .e-con:first-child {
    padding-top: 8px !important;
    margin-top: 0 !important;
  }

  /* ── Sections : padding réduit ── */
  .elementor-section.elementor-top-section {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  /* ── Spacers ── */
  .elementor-widget-spacer .elementor-spacer-inner {
    height: 16px !important;
  }

  /* ── COLONNES — empilement vertical (exclut header/footer) ── */
  .elementor-section .elementor-column,
  .elementor-section .elementor-col-50,
  .elementor-section .elementor-col-33,
  .elementor-section .elementor-col-25,
  .elementor-section .elementor-col-66 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* Colonnes flex Elementor v3 (e-con) — hors header */
  .elementor-section .e-con > .e-con,
  main .e-con > .e-con,
  article .e-con > .e-con {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* ── TYPOGRAPHIE RESPONSIVE ── */
  .elementor-widget-heading .elementor-heading-title {
    hyphens: auto !important;
  }

  .elementor-element-1519af2 .elementor-heading-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
    line-height: 1.2 !important;
  }

  .elementor-element-e8b917e .elementor-heading-title {
    font-size: 13px !important;
  }

  .elementor-widget-heading .elementor-heading-title.elementor-size-xxl {
    font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
    line-height: 1.18 !important;
  }

  .elementor-widget-heading .elementor-heading-title.elementor-size-xl {
    font-size: clamp(1.2rem, 5.5vw, 1.9rem) !important;
    line-height: 1.22 !important;
  }

  .elementor-widget-heading .elementor-heading-title.elementor-size-large {
    font-size: clamp(1rem, 4.5vw, 1.5rem) !important;
  }

  .elementor-widget-heading .elementor-heading-title.elementor-size-medium {
    font-size: clamp(0.95rem, 4vw, 1.2rem) !important;
  }

  .elementor-widget-heading .elementor-heading-title.elementor-size-small {
    font-size: clamp(0.85rem, 3.5vw, 1rem) !important;
  }

  .elementor-widget-text-editor,
  .elementor-widget-text-editor p {
    font-size: 0.88rem !important;
    line-height: 1.75 !important;
  }

  /* ── BOUTONS ── */
  .elementor-widget-button {
    text-align: center !important;
  }

  .elementor-widget-button .elementor-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 30px !important;
    font-size: 0.9rem !important;
    min-height: 50px !important;
    border-radius: 12px !important;
    max-width: 100% !important;
  }

  .elementor-button-wrapper .elementor-button {
    width: 100% !important;
    min-height: 52px !important;
    font-size: 1rem !important;
  }

  /* ── HERO ── */
  .elementor-element-1519af2 { text-align: center !important; }
  .elementor-element-565d828 { text-align: center !important; }

  /* ── CARDS ── */
  .elementor-widget-image-box .elementor-image-box-wrapper,
  .elementor-widget-icon-box .elementor-icon-box-wrapper {
    padding: 22px 18px !important;
    border-radius: 14px !important;
  }

  .elementor-widget-image-box:hover .elementor-image-box-wrapper,
  .elementor-widget-icon-box:hover .elementor-icon-box-wrapper {
    transform: none !important;
    box-shadow: var(--ega-shadow-sm) !important;
  }

  .elementor-widget-image-box:hover .elementor-image-box-img img,
  .elementor-widget-icon-box:hover .elementor-icon {
    transform: none !important;
  }

  .elementor-icon-box-icon { margin-bottom: 12px !important; }
  .elementor-icon-box-title { font-size: 1rem !important; margin-bottom: 8px !important; }
  .elementor-icon-box-description { font-size: 0.84rem !important; line-height: 1.65 !important; }

  /* ── STATS ── */
  .elementor-element-58e9ed8 .elementor-counter-number-wrapper,
  .elementor-element-c0823b4 .elementor-counter-number-wrapper,
  .elementor-element-68d5bbf .elementor-counter-number-wrapper,
  .elementor-element-200af88 .elementor-counter-number-wrapper,
  .elementor-element-58e9ed8 .elementor-counter-number,
  .elementor-element-c0823b4 .elementor-counter-number,
  .elementor-element-68d5bbf .elementor-counter-number,
  .elementor-element-200af88 .elementor-counter-number,
  .elementor-element-58e9ed8 .elementor-counter-number-suffix,
  .elementor-element-c0823b4 .elementor-counter-number-suffix,
  .elementor-element-68d5bbf .elementor-counter-number-suffix,
  .elementor-element-200af88 .elementor-counter-number-suffix {
    font-size: 2rem !important;
  }

  .elementor-widget-counter { text-align: center !important; }

  /* ── FORMULAIRES ── */
  .elementor-field-group .elementor-field,
  .elementor-field-group input:not([type=radio]):not([type=checkbox]),
  .elementor-field-group textarea,
  .elementor-field-group select {
    font-size: 16px !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    min-height: 50px !important;
  }

  .elementor-field-group textarea { min-height: 110px !important; }
  .elementor-field-group label { font-size: 0.86rem !important; margin-bottom: 6px !important; }
  .elementor-form .elementor-field-group { margin-bottom: 14px !important; }

  /* ── TÉMOIGNAGES ── */
  .elementor-testimonial__content { padding: 18px 16px !important; }
  .ts-card .ts-text, .elementor-testimonial__text { font-size: 0.83rem !important; }

  /* ── IMAGES ── */
  .elementor-widget-image img {
    width: 100% !important;
    border-radius: 12px !important;
  }

  /* ── SPACERS ── */
  .elementor-widget-spacer .elementor-spacer-inner { height: 20px !important; }

  /* ── FOOTER ── */
  footer.elementor-location-footer { margin-top: 24px !important; }

  footer.elementor-location-footer .elementor-column,
  footer.elementor-location-footer .e-con > .e-con {
    width: 100% !important;
    flex: 0 0 100% !important;
    text-align: center !important;
  }

  .elementor-widget-icon-list .elementor-icon-list-items {
    justify-content: center !important;
  }

  .elementor-widget-social-icons .elementor-social-icons-wrapper {
    justify-content: center !important;
  }

  /* ── GTRANSLATE compact sur mobile ── */
  .gtranslate_wrapper {
    bottom: 14px !important;
    right: 14px !important;
  }

  /* Sur mobile : masquer les drapeaux individuels, garder uniquement le select */
  .gtranslate_wrapper a[data-gt-lang],
  .gtranslate_wrapper a img {
    display: none !important;
  }

  /* Select compact avec icône globe */
  .gtranslate_wrapper select {
    display: inline-block !important;
    font-size: 12px !important;
    font-family: 'Poppins', sans-serif !important;
    padding: 5px 10px 5px 8px !important;
    height: 30px !important;
    max-width: 150px !important;
    min-width: 110px !important;
    border-radius: 8px !important;
    border: 1px solid #c8d4e8 !important;
    background: #fff !important;
    color: var(--ega-primary) !important;
    cursor: pointer !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
  }

  /* Conteneur du select — flex horizontal, petit */
  .gtranslate_wrapper {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  /* ── STATS — 4 chiffres sur UNE seule ligne horizontale ── */

  /* 1. Container : flex row strict, pas de retour à la ligne */
  .elementor-element-c0782eb,
  .elementor-element-c0782eb > .e-con-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0 !important;
  }

  /* 2. Chaque widget = 25% de la largeur, égaux */
  .elementor-element-c0782eb > .elementor-element-58e9ed8,
  .elementor-element-c0782eb > .elementor-element-c0823b4,
  .elementor-element-c0782eb > .elementor-element-68d5bbf,
  .elementor-element-c0782eb > .elementor-element-200af88,
  .elementor-element-c0782eb > .e-con-inner > .elementor-element-58e9ed8,
  .elementor-element-c0782eb > .e-con-inner > .elementor-element-c0823b4,
  .elementor-element-c0782eb > .e-con-inner > .elementor-element-68d5bbf,
  .elementor-element-c0782eb > .e-con-inner > .elementor-element-200af88 {
    flex: 1 1 0% !important;
    width: 25% !important;
    max-width: 25% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    padding: 10px 4px !important;
  }

  /* Séparateur vertical entre les cellules */
  .elementor-element-c0782eb > .elementor-element-c0823b4,
  .elementor-element-c0782eb > .elementor-element-68d5bbf,
  .elementor-element-c0782eb > .elementor-element-200af88,
  .elementor-element-c0782eb > .e-con-inner > .elementor-element-c0823b4,
  .elementor-element-c0782eb > .e-con-inner > .elementor-element-68d5bbf,
  .elementor-element-c0782eb > .e-con-inner > .elementor-element-200af88 {
    border-left: 1px solid rgba(26,60,110,.12) !important;
  }

  /* 3. Chiffre réduit pour tenir en 25% */
  .elementor-element-58e9ed8 .elementor-counter-number-wrapper,
  .elementor-element-c0823b4 .elementor-counter-number-wrapper,
  .elementor-element-68d5bbf .elementor-counter-number-wrapper,
  .elementor-element-200af88 .elementor-counter-number-wrapper,
  .elementor-element-58e9ed8 .elementor-counter-number,
  .elementor-element-c0823b4 .elementor-counter-number,
  .elementor-element-68d5bbf .elementor-counter-number,
  .elementor-element-200af88 .elementor-counter-number,
  .elementor-element-58e9ed8 .elementor-counter-number-suffix,
  .elementor-element-c0823b4 .elementor-counter-number-suffix,
  .elementor-element-68d5bbf .elementor-counter-number-suffix,
  .elementor-element-200af88 .elementor-counter-number-suffix {
    font-size: 1.25rem !important;
    line-height: 1.1 !important;
  }

  /* 4. Label très compact, retour à la ligne autorisé */
  .elementor-element-58e9ed8 .elementor-counter-title,
  .elementor-element-c0823b4 .elementor-counter-title,
  .elementor-element-68d5bbf .elementor-counter-title,
  .elementor-element-200af88 .elementor-counter-title {
    font-size: 9px !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    hyphens: auto !important;
    padding: 0 2px !important;
    overflow-wrap: break-word !important;
  }

  /* ── SECTIONS boxed ── */
  .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100% !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   PETIT MOBILE — max 480px
   ───────────────────────────────────────────────── */
@media (max-width: 480px) {

  .elementor-section > .elementor-container,
  .e-con-inner {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .elementor-element-1519af2 .elementor-heading-title {
    font-size: clamp(1.3rem, 7vw, 1.8rem) !important;
  }

  .elementor-widget-heading .elementor-heading-title.elementor-size-xxl {
    font-size: clamp(1.25rem, 7.5vw, 1.8rem) !important;
  }

  .elementor-widget-button .elementor-button {
    width: 100% !important;
    padding: 14px 18px !important;
  }

  .elementor-widget-image-box .elementor-image-box-wrapper,
  .elementor-widget-icon-box .elementor-icon-box-wrapper {
    padding: 18px 14px !important;
    border-radius: 12px !important;
  }

  footer.elementor-location-footer .elementor-widget-text-editor p {
    font-size: 0.8rem !important;
  }

  .elementor-widget-icon-list .elementor-icon-list-item {
    font-size: 0.82rem !important;
  }

  /* Menu mobile plus grand sur petit écran */
  .elementor-nav-menu--mobile .elementor-item,
  .elementor-nav-menu--mobile a.elementor-item {
    font-size: 14px !important;
    padding: 13px 18px !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   TRÈS PETIT — max 360px (anciens Android)
   ───────────────────────────────────────────────── */
@media (max-width: 360px) {

  header.elementor-location-header > .e-con > .e-con-inner,
  header.elementor-location-header > .elementor-section > .elementor-container {
    padding: 0 10px !important;
  }

  header.elementor-location-header .elementor-widget-image img {
    max-height: 30px !important;
  }

  .elementor-widget-heading .elementor-heading-title.elementor-size-xxl {
    font-size: 1.2rem !important;
  }

  .elementor-widget-button .elementor-button {
    padding: 12px 14px !important;
    font-size: 0.85rem !important;
  }

  .elementor-section > .elementor-container,
  .e-con-inner {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   PRÉFÉRENCE SYSTÈME — Reduced motion
   ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Animations allégées sur mobile */
@media (max-width: 767px) {
  @keyframes ega-fadeup { from { opacity:0; } to { opacity:1; } }
  @keyframes ega-fadein { from { opacity:0; } to { opacity:1; } }
}

/* ══════════════════════════════════════════════════════════════
   MENU MOBILE CUSTOM — .ega-* (injecté via egaBuildMobileMenu JS)
   Desktop : bouton caché. Mobile : panel slide-in depuis la droite.
   ══════════════════════════════════════════════════════════════ */

/* Desktop (≥768px) : masquer TOUT le menu mobile custom
   (le JS peut injecter le HTML si la page a été chargée en mobile
   puis redimensionnée — ce bloc garantit l'invisibilité sur PC) */
@media (min-width: 768px) {
  .ega-ham,
  .ega-mob-panel,
  .ega-mob-overlay {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Bouton custom — invisible sur desktop */
.ega-ham { display: none; }

/* Bloquer le scroll body quand le panel est ouvert */
body.ega-no-scroll { overflow: hidden !important; }

@media (max-width: 767px) {

  /* ── Masquer les éléments Elementor remplacés par le custom menu ── */
  header.elementor-location-header .elementor-menu-toggle {
    display: none !important;
  }
  header.elementor-location-header .elementor-nav-menu--mobile,
  .elementor-nav-menu--mobile {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* ══ HAMBURGER CUSTOM ══ */
  .ega-ham {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px;
    position: fixed !important;
    top: 9px !important;
    right: 14px !important;
    width: 40px !important;
    height: 40px !important;
    background: var(--ega-accent) !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    z-index: 10010 !important;
    padding: 0 !important;
    box-shadow: 0 2px 12px rgba(245,166,35,.45) !important;
    transition: background .2s ease, transform .15s ease !important;
    -webkit-tap-highlight-color: transparent;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .ega-ham:hover { background: #e8941a; transform: scale(1.06); }
  .ega-ham:active { transform: scale(.94); }
  .ega-ham.ega-open { background: #d4820f; }

  /* Admin bar décalage */
  .admin-bar .ega-ham { top: 55px; }

  /* ── 3 barres du hamburger ── */
  .ega-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transform-origin: center;
    transition:
      transform .28s cubic-bezier(.4,0,.2,1),
      opacity   .2s  ease;
  }

  /* Animation → X quand ouvert */
  .ega-ham.ega-open .ega-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .ega-ham.ega-open .ega-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .ega-ham.ega-open .ega-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ══ OVERLAY BACKDROP ══ */
  .ega-mob-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13,27,42,.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 10005;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .ega-mob-overlay.ega-active {
    opacity: 1;
    visibility: visible;
  }

  /* ══ PANEL SLIDE-IN (depuis la droite) ══ */
  .ega-mob-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 10008;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(26,60,110,.2);
    transition: right .32s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ega-mob-panel.ega-active { right: 0; }

  /* ── Barre haute du panel ── */
  .ega-mob-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 58px;
    min-height: 58px;
    border-bottom: 1px solid #eef1f8;
    flex-shrink: 0;
    background: #ffffff;
  }

  .ega-mob-logo img {
    max-height: 36px;
    width: auto;
    display: block;
  }

  .ega-mob-sitename {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ega-primary);
  }

  /* Bouton fermer (×) */
  .ega-mob-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: #f4f6fa;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--ega-primary);
    transition: background .15s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .ega-mob-close:hover { background: #e4e9f4; }

  /* ── Liste de navigation ── */
  .ega-mob-nav {
    list-style: none;
    margin: 8px 0 0;
    padding: 0 12px;
    flex: 1;
  }

  /* Chaque item — animation de cascade via .ega-in */
  .ega-mob-item {
    opacity: 0;
    transform: translateX(16px);
    transition: opacity .26s ease, transform .26s ease;
    border-bottom: 1px solid #f0f3f9;
  }
  .ega-mob-item:last-child { border-bottom: none; }
  .ega-mob-item.ega-in {
    opacity: 1;
    transform: translateX(0);
  }

  /* Lien de navigation */
  .ega-mob-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    transition: color .15s ease, padding-left .2s ease;
  }
  .ega-mob-link::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ega-primary);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity .2s ease;
  }
  .ega-mob-link:hover,
  .ega-mob-link.ega-active {
    color: var(--ega-primary);
    padding-left: 14px;
  }
  .ega-mob-link:hover::before,
  .ega-mob-link.ega-active::before {
    opacity: 1;
  }

  /* ── CTA Postuler en bas du panel ── */
  .ega-mob-cta-wrap {
    padding: 16px 12px 28px;
    flex-shrink: 0;
  }
  .ega-mob-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #1a73e8 0%, #1252b8 100%);
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(26,115,232,.35);
    transition: opacity .2s ease, transform .2s ease;
  }
  .ega-mob-cta:hover {
    opacity: .92;
    transform: translateY(-1px);
    color: #ffffff !important;
  }
}
