/* Exl-Or - en-tete global (topbar + nav). Sorti du module Code du Theme Builder Divi. */

/* Neutralise le padding/marge de la section Divi parente */
.et_pb_section:has(.exl-nav-root) { padding: 0 !important; margin: 0 !important; background: transparent !important; }
.et_pb_row:has(.exl-nav-root) { padding: 0 !important; margin: 0 auto !important; max-width: 100% !important; width: 100% !important; }
.et_pb_column:has(.exl-nav-root) { padding: 0 !important; margin: 0 !important; }
.et_pb_section:has(.exl-nav-root),
.et_pb_row:has(.exl-nav-root),
.et_pb_column:has(.exl-nav-root),
.et_pb_module:has(.exl-nav-root) { overflow: visible !important; }
.exl-nav-root {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  font-family: "Inter Tight", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  color: #0e1a26;
  -webkit-font-smoothing: antialiased;
  --exl-blue: #0089cf;
  --exl-ink: #0e1a26;
  --exl-ink-2: #1a2a3a;
  --exl-line: #e6e8ec;
}
.exl-nav-root *, .exl-nav-root *::before, .exl-nav-root *::after { box-sizing: border-box; }
.exl-nav-root a { color: inherit; text-decoration: none; }
.exl-nav-root img { display: block; max-width: 100%; }
.exl-nav-container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .exl-nav-container { padding: 0 18px; } }

/* ============================================================
   i18n - bascule FR/EN pilotee par la classe sur <html>
   Ces regles sont GLOBALES (non prefixees) : le header agit
   comme moteur pour tous les modules de la page.
   ============================================================ */
.exl-fr { display: contents; }
.exl-en { display: none; }
html.exl-lang-en .exl-fr { display: none; }
html.exl-lang-en .exl-en { display: contents; }

/* Toggle de langue (topbar) */
.exl-lang { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.exl-lang .exl-lang-opt { color: inherit; opacity: .55; transition: opacity .15s, color .15s; }
.exl-lang .exl-lang-opt:hover { opacity: 1; color: #fff; }
.exl-lang .exl-lang-opt.is-active { opacity: 1; color: #fff; cursor: default; pointer-events: none; }
.exl-lang .exl-lang-div { opacity: .3; }

/* Toggle de langue (menu mobile) */
.exl-mobile-menu .exl-lang { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--exl-line); }
.exl-mobile-menu .exl-lang .exl-lang-opt { font-size: 16px; opacity: .55; color: var(--exl-ink); }
.exl-mobile-menu .exl-lang .exl-lang-opt:hover { opacity: 1; color: var(--exl-blue); }
.exl-mobile-menu .exl-lang .exl-lang-opt.is-active { opacity: 1; color: var(--exl-blue); }
.exl-mobile-menu .exl-lang .exl-lang-div { opacity: .35; color: var(--exl-ink); }

/* ============================================================
   ANTI-GAP : WordPress (wpautop) enveloppe les <script>/<link>
   de 1er niveau de nos modules dans des <p> qui ont des marges
   -> bande blanche parasite. On annule la hauteur de ces <p>
   (qu'ils soient au 1er niveau OU imbriques) sans toucher au
   vrai contenu. Les commentaires HTML ont ete retires a la
   source, donc il ne reste que les <script>/<link> a neutraliser.
   Regle GLOBALE (le header est sur toutes les pages).
   ============================================================ */
.et_pb_code_inner > p,
.et_pb_text_inner > p,
p:has(> script),
p:has(> link),
p:has(> style) { margin: 0 !important; padding: 0 !important; line-height: 0 !important; font-size: 0 !important; }
.et_pb_code_inner > p:empty,
.et_pb_text_inner > p:empty { display: none !important; }

/* WRAPPER unique (topbar + nav) - devient fixed au scroll */
.exl-header { display: block; }
.exl-header.is-stuck {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: #073e5c; /* FIX: couvre tout artefact/gap de rendu mobile */
  box-shadow: 0 8px 28px rgba(7,62,92,.08);
  animation: exl-slide-down .28s ease;
}
@keyframes exl-slide-down { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* TOPBAR */
.exl-topbar { background: #073e5c; color: rgba(255,255,255,.92); font-size: 13px; }
.exl-topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; flex-wrap: wrap; }
.exl-topbar .left, .exl-topbar .right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.exl-topbar a:hover { color: #fff; }
.exl-topbar .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #5cd97c; box-shadow: 0 0 0 3px rgba(92,217,124,.18); margin-right: 8px; vertical-align: middle; }
.exl-topbar .sep { opacity: .25; }
.exl-topbar .ico { width: 13px; height: 13px; vertical-align: -2px; margin-right: 6px; }
@media (max-width: 720px) {
  .exl-topbar .right, .exl-topbar .schedule, .exl-topbar .sep { display: none; }
  .exl-topbar-inner { justify-content: center; }
}

/* NAV - etat compact quand le wrapper est stuck */
.exl-nav { background: #fff; border-bottom: 1px solid var(--exl-line); transition: background .25s ease; }
.exl-header.is-stuck .exl-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: rgba(7,62,92,.08);
}

.exl-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px; gap: 20px;
  line-height: 1; overflow: visible;
  transition: height .25s ease;
}
.exl-header.is-stuck .exl-nav-inner { height: 64px; }

/* Logo */
.exl-nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.exl-nav-logo img { height: 56px; width: auto; transition: height .25s ease; }
.exl-header.is-stuck .exl-nav-logo img { height: 36px; }

/* Menu */
.exl-nav-menu { display: flex; gap: 30px; align-items: center; margin-left: auto; transition: gap .25s ease; }
.exl-header.is-stuck .exl-nav-menu { gap: 26px; }
.exl-nav-menu > a, .exl-nav-menu > .exl-has-sub > a {
  padding: 10px 0; font-size: 14.5px; color: var(--exl-ink-2); font-weight: 600;
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  line-height: 1; white-space: nowrap;
  transition: font-size .25s ease, padding .25s ease;
}
.exl-header.is-stuck .exl-nav-menu > a,
.exl-header.is-stuck .exl-nav-menu > .exl-has-sub > a { font-size: 14px; padding: 8px 0; }
.exl-nav-menu > a::after, .exl-nav-menu > .exl-has-sub > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--exl-blue); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.exl-nav-menu > a:hover::after, .exl-nav-menu > .exl-has-sub:hover > a::after { transform: scaleX(1); }
.exl-nav-menu .exl-caret { width: 10px; height: 10px; transition: transform .2s; opacity: .7; }
.exl-nav-menu .exl-has-sub:hover .exl-caret { transform: rotate(180deg); }

/* Trigger Services non cliquable (desktop) */
.exl-nav-menu > .exl-has-sub > .exl-services-trigger {
  padding: 10px 0;
  font-size: 14.5px;
  color: var(--exl-ink-2);
  font-weight: 600;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  white-space: nowrap;
  cursor: default;
  user-select: none;
  transition: font-size .25s ease, padding .25s ease;
}
.exl-header.is-stuck .exl-nav-menu > .exl-has-sub > .exl-services-trigger {
  font-size: 14px;
  padding: 8px 0;
}
.exl-nav-menu > .exl-has-sub > .exl-services-trigger::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--exl-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}
.exl-nav-menu > .exl-has-sub:hover > .exl-services-trigger::after {
  transform: scaleX(1);
}

/* Sous-menu Services */
.exl-has-sub { position: relative; }
.exl-submenu {
  position: absolute; top: 100%; left: -16px; right: auto;
  min-width: 280px; background: #fff;
  border: 1px solid var(--exl-line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(7,62,92,.12);
  padding: 10px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility 0s linear .18s;
  z-index: 40;
}
.exl-has-sub:hover .exl-submenu,
.exl-has-sub:focus-within .exl-submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .18s, transform .18s, visibility 0s;
}
.exl-submenu a {
  display: block; padding: 10px 14px; font-size: 14px; font-weight: 500;
  color: var(--exl-ink-2); border-radius: 8px;
  transition: background .12s, color .12s;
  line-height: 1.3; white-space: nowrap;
}
.exl-submenu a:hover { background: rgba(0,137,207,.08); color: var(--exl-blue); }
.exl-has-sub::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }

/* CTA */
.exl-nav-cta {
  display: flex !important; visibility: visible !important; opacity: 1 !important;
  gap: 12px; align-items: center; flex-shrink: 0;
  transition: gap .25s ease;
}
.exl-header.is-stuck .exl-nav-cta { gap: 8px; }

.exl-nav-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px;
  background: var(--exl-blue); color: #fff !important;
  font-size: 14.5px; font-weight: 700;
  line-height: 1; white-space: nowrap; flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0,137,207,.3);
  transition: padding .25s ease, font-size .25s ease, gap .25s ease, box-shadow .25s ease, transform .15s ease, background .15s ease;
}
.exl-nav-pill:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,137,207,.4); }
.exl-nav-pill svg { width: 16px; height: 16px; transition: width .25s ease, height .25s ease; flex-shrink: 0; }
.exl-header.is-stuck .exl-nav-pill { padding: 9px 14px; font-size: 13.5px; gap: 7px; box-shadow: 0 4px 12px rgba(0,137,207,.25); }
.exl-header.is-stuck .exl-nav-pill svg { width: 14px; height: 14px; }
.exl-header.is-stuck .exl-nav-pill .exl-pill-label { display: none; }

.exl-nav-quote {
  display: inline-flex; align-items: center;
  background: var(--exl-ink); color: #fff !important;
  padding: 12px 18px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700;
  line-height: 1; white-space: nowrap; flex-shrink: 0;
  transition: padding .25s ease, font-size .25s ease, background .15s ease;
}
.exl-nav-quote:hover { background: var(--exl-blue); }
.exl-header.is-stuck .exl-nav-quote { padding: 9px 14px; font-size: 13.5px; }

/* Burger */
.exl-burger-toggle { display: none; }
.exl-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--exl-line); background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px; flex-shrink: 0; transition: width .25s, height .25s; }
.exl-burger span { display: block; width: 18px; height: 2px; background: var(--exl-ink); }
.exl-header.is-stuck .exl-burger { width: 38px; height: 38px; }

.exl-mobile-menu { display: none; padding: 14px 28px 22px; border-bottom: 1px solid var(--exl-line); background: #fff; }
.exl-mobile-menu a { display: block; padding: 12px 0; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--exl-line); color: var(--exl-ink); }
.exl-mobile-menu a:last-child { border-bottom: none; }
.exl-burger-toggle:checked ~ .exl-mobile-menu { display: block; }
.exl-mobile-menu .exl-mobile-sub { padding-left: 14px; border-left: 2px solid var(--exl-line); margin: 4px 0 8px; }
.exl-mobile-menu .exl-mobile-sub a { padding: 10px 0; font-size: 14px; font-weight: 500; color: rgba(14,26,38,.78); border-bottom: none; }

/* Label Services non cliquable (mobile) */
.exl-mobile-menu .exl-mobile-services-label {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--exl-line);
  color: var(--exl-ink);
  cursor: default;
  user-select: none;
}

/* Mobile clean: logo a gauche, hamburger a droite */
@media (max-width: 900px) {
  .exl-nav-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .exl-nav-logo { order: 1 !important; margin-right: auto !important; flex-shrink: 0 !important; }
  .exl-nav-logo img { height: 44px !important; width: auto !important; display: block !important; max-width: none !important; }
  .exl-nav-menu { display: none !important; }
  .exl-nav-cta { order: 99 !important; margin-left: auto !important; }
  .exl-nav-cta .exl-nav-pill,
  .exl-nav-cta .exl-nav-quote { display: none !important; }
  .exl-burger { display: flex !important; order: 100 !important; }
  .exl-header.is-stuck .exl-nav-logo img { height: 36px !important; }
}
