/* --- 1. MENU PRINCIPAL (BAS) --- */
#menu-principal .e-n-menu-title-text,
.e-n-menu-wrapper .e-n-menu-title-text,
#menu-principal .e-n-menu-title-container {
  font-weight: 600;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  color: var(--color-gris-fonce);
  transition: color 0.3s ease;
}
.home header:not(.header-scrolled) #menu-principal .e-n-menu-title-text,
.home header:not(.header-scrolled) .e-n-menu-wrapper .e-n-menu-title-text,
.home header:not(.header-scrolled) #menu-principal .e-n-menu-title-container {
  color: var(--color-blanc);
}
.home
  header:not(.header-scrolled)
  #menu-principal
  .e-n-menu-title:not(.e-current):not(:hover)
  .e-n-menu-dropdown-icon
  svg,
.home
  header:not(.header-scrolled)
  #menu-principal
  .e-n-menu-title:hover:not(.e-current)
  .e-n-menu-dropdown-icon
  svg {
  fill: var(--color-blanc);
}
#menu-principal .e-n-menu-title-container {
  position: relative;
}
#menu-principal .e-n-menu-title-container::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}
#menu-principal .e-n-menu-item:hover .e-n-menu-title-container::after {
  width: 100%;
}
/* TOP MENU GLOBAL */
#top-menu-global {
  background-color: var(--e-global-color-secondary);
  border-radius: 50px;
  display: flex;
  align-items: center;
  /* overflow: hidden;*/
  overflow: visible;
  clip-path: inset(0 round 50px);
  width: auto;
  max-width: fit-content;
  margin-left: auto;
  margin-right: 0;
  padding: 0;
}
/* Alignement commun pour les widgets internes */
#top-menu-global .elementor-widget-container,
#top-menu-global .elementor-social-icons-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
/* --- 4. RÉSEAUX SOCIAUX (TOP RS) --- */
#top-rs {
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 8px;
  padding-right: 25px;
}
#top-rs .elementor-social-icons-wrapper {
  gap: 15px;
}
#top-rs .elementor-icon {
  background-color: transparent;
}
#top-rs .elementor-icon svg {
  fill: var(--color-primary);
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
#top-rs .elementor-icon:hover svg {
  transform: scale(1.1);
  opacity: 0.8;
}
/* Séparateur | entre icônes */
#top-rs .elementor-grid-item:not(:last-child)::after {
  content: "|";
  color: rgba(255, 255, 255, 0.5);
  margin-left: 8px;
  font-size: 18px;
  font-weight: 300;
}

/* Reset global des boutons */
#top-menu-global .elementor-widget-button {
  height: 100%;
  display: flex;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: filter 0.3s ease;
  padding: 0;
  min-height: 38px;
}
#top-menu-global .elementor-widget-button .elementor-button-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
#top-menu-global .elementor-widget-button .elementor-button {
  height: 100%;
  border-radius: 0;
  padding: 0 14px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  color: var(--color-blanc);
  border: none;
  box-shadow: none;
  min-height: 38px;
}

/* Couleurs par position — Support, Club, Évènements */
#top-menu-global .elementor-widget-button:nth-child(-n + 3) .elementor-button {
  background-color: var(--e-global-color-secondary);
}

/* On recrute ! */
#top-menu-global .elementor-widget-button:nth-child(4) .elementor-button {
  background-color: var(--color-primary);
}

/* Contactez-nous */
#top-menu-global .elementor-widget-button:nth-child(5) {
  border-right: none;
}
#top-menu-global .elementor-widget-button:nth-child(5) .elementor-button {
  background-color: var(--color-gris-fonce);
}

/* Hover */
#top-menu-global .elementor-widget-button:hover .elementor-button {
  background-color: var(--color-blanc);
  color: var(--color-primary);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

#subnav-sticky ul li::before,
#content #subnav-sticky ul li::before {
  content: none !important;
  text-indent: 0;
}
#content #subnav-sticky ul li {
  text-indent: 0;
}
/* ---- SOUS-MENU STICKY ---*/
#subnav-sticky {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-gris-fonce);
  overflow: visible !important;
  transform: translateY(-100%);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}
#subnav-sticky.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
#subnav-sticky ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}
#subnav-sticky ul li {
  margin-bottom: 0;
}
#subnav-sticky ul li a {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-blanc) !important;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
/*#subnav-sticky ul li a:hover {
  color: #0071e3;
}*/
/* Lien actif */
/*#subnav-sticky ul li a.active {
  color: #0071e3;
  font-weight: 500;
}*/
#subnav-sticky .e-n-menu .e-n-menu-title-text,
#subnav-sticky .e-n-menu .e-n-menu-title-text *,
#subnav-sticky .e-n-menu-item .e-n-menu-title-text {
  color: var(--color-blanc) !important;
  fill: var(--color-blanc) !important;
  line-height: 60px;
}
/* Hover */
#subnav-sticky .e-n-menu .e-n-menu-item:hover .e-n-menu-title-text {
  color: rgba(255, 255, 255, 0.8) !important;
}
/* Flèches de scroll */
button.subnav-arrow {
  display: none;
  position: absolute;
  width: 36px;
  height: 36px;
  border: none;
  cursor: pointer;
  z-index: 99999 !important;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  color: var(--color-blanc);
  padding: 0;
}
.subnav-arrow-left {
  left: 0;
  background: var(--color-gris-fonce);
}
.subnav-arrow-right {
  right: 0;
  background: var(--color-gris-fonce);
}
.subnav-arrow {
  position: relative; /* indispensable pour les pseudo-éléments */
}

/* Dégradé à droite de la flèche gauche */
.subnav-arrow-left::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 200px;
  background: linear-gradient(to right, var(--color-gris-fonce), transparent);
  pointer-events: none;
  z-index: 99998;
}

/* Dégradé à gauche de la flèche droite */
.subnav-arrow-right::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 200px;
  background: linear-gradient(to left, var(--color-gris-fonce), transparent);
  pointer-events: none;
  z-index: 99998;
}
.subnav-arrow svg {
  display: block;
  stroke: var(--color-blanc);
  width: 14px;
  height: 14px;
  min-width: 14px;
}
.subnav-arrow:hover {
  background: var(--color-blanc);
}
.subnav-arrow.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}
/* Visible uniquement quand le menu déborde */
.subnav-scrollable .subnav-arrow {
  display: flex !important;
}

#subnav-sticky .e-n-menu-wrapper,
#subnav-sticky .e-n-menu-heading {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
#subnav-sticky .e-n-menu-wrapper::-webkit-scrollbar,
#subnav-sticky .e-n-menu-heading::-webkit-scrollbar {
  display: none;
}
#subnav-sticky .e-n-menu-heading {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
#subnav-sticky .e-n-menu-heading::-webkit-scrollbar {
  display: none;
}
#subnav-sticky .e-n-menu-title-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
#subnav-sticky .e-n-menu-title-container:hover::after {
  transform: scaleX(1);
}
/* Padding pour laisser la place aux flèches quand elles apparaissent*/
.subnav-scrollable .e-n-menu-heading {
  padding-left: 48px !important;
  padding-right: 48px !important;
}
@media (max-width: 768px) {
  #subnav-sticky ul {
    gap: 1rem;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 1rem;
  }
  #subnav-sticky ul li a {
    font-size: 13px;
    white-space: nowrap;
  }
  #top-menu-global {
    display: none;
  }
}
@media (min-width: 769px) {
  .top-header-item,
  #top-header-item {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  #top-menu .e-n-menu-title-text {
    padding: 0 15px;
    font-size: 11px;
  }
  /* 1. Header principal en flex row : logo gauche, container droite */
  .elementor-element-197fdab > .e-con-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }
  /* 2. Logo : taille contrôlée, ne prend pas toute la largeur */
  .elementor-element-210975b {
    flex-shrink: 0 !important;
    width: auto !important;
    align-self: center !important;
    margin-bottom: 0 !important;
  }
  /* 3. Container 027a408 : poussé à droite, hauteur alignée */
  .elementor-element-027a408 {
    flex-shrink: 0 !important;
    width: auto !important;
    align-self: center !important;
    margin-left: auto !important;
  }
  /* 4. Burger aligné verticalement */
  .elementor-element-4e675d8 .e-n-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}
@media (max-width: 1366px) {
  #subnav-sticky {
    min-height: 60px;
  }
  #subnav-sticky button.e-n-menu-toggle {
    background: transparent;
  }
  #subnav-sticky .e-con-inner {
    align-items: end;
  }
  #subnav-sticky .e-n-menu-heading {
    flex-direction: column;
    gap: 0;
  }
  #subnav-sticky .e-n-menu-wrapper {
    display: flex !important;
    background: var(--color-gris-fonce);
    top: 40px;
  }
  #subnav-sticky.is-visible {
    align-items: end;
    padding: 20px;
  }
  #subnav-sticky li div {
    background: var(--color-gris-fonce);
    padding: 0;
  }
  #subnav-sticky ul.e-n-menu-heading li.e-n-menu-item > div {
    padding: 0 20px;
  }
  #subnav-sticky .elementor-widget-n-menu .e-n-menu-toggle svg,
  #subnav-sticky .elementor-widget-n-menu .e-n-menu-toggle:hover svg {
    fill: var(--color-blanc);
  }
}
/* element à modifier lors de la création d'un nouveau menu*/
.elementor-location-header,
.elementor-location-header .elementor-element-197fdab,
.elementor-location-header .elementor-element-dbd6014 {
  background-color: transparent !important;
  transition:
    background-color 0.1s ease,
    box-shadow 0.4s ease;
  z-index: 999;
}
.elementor-location-header.header-scrolled,
.elementor-location-header.header-scrolled .elementor-element-197fdab,
.elementor-location-header.header-scrolled .elementor-element-dbd6014 {
  background-color: var(--color-blanc) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.mon-header-principal {
  background-color: var(--color-blanc);
  position: relative;
}
body.has-transparent-header .mon-header-principal {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  background-color: transparent !important;
  z-index: 999;
}
.header-opaque .elementor-location-header,
.header-opaque .elementor-location-header .elementor-element-197fdab,
.header-opaque .elementor-location-header .elementor-element-dbd6014 {
  background-color: var(--color-blanc) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.elementor-location-header {
  position: sticky !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
/* Sur les pages avec sous-menu, le header redevient relatif */
.has-subnav .elementor-location-header {
  position: relative !important;
  z-index: auto;
}
#subnav-sticky
  .e-n-menu-heading
  li.e-n-menu-item:first-child
  .e-n-menu-title-text {
  font-weight: 700;
  font-size: 1.05em;
}
#subnav-sticky .e-n-menu-heading li.e-n-menu-item:first-child div {
  background-color: #b30838e0;
}

/* Flèche via pseudo-élément avant le texte du premier item */
#subnav-sticky
  .e-n-menu-heading
  li.e-n-menu-item:first-child
  .e-n-menu-title-text::before {
  content: "←";
  display: inline-block;
  transition: transform 0.2s ease;
}
/* Animation au hover */
#subnav-sticky
  .e-n-menu-heading
  li.e-n-menu-item:first-child:hover
  .e-n-menu-title-text::before {
  transform: translateX(-4px);
}
/*.mega-menu > .e-con-inner {
  max-width: 100% !important;
  width: 100% !important;
}*/
.mega-menu {
  border-top: 2px solid var(--color-primary);
  padding: 36px 40px 40px !important;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.sous-menu {
  border-top: 2px solid var(--color-primary);
  padding: 18px 20px 20px !important;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.mega-menu > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
  align-items: start !important;
  margin: 0;
}

/* Colonnes */
.mega-menu .e-con-full {
  padding: 0 28px !important;
  border-right: 1px solid #f0eeec !important;
  flex-direction: column !important;
}
.mega-menu .e-con-full:first-child {
  padding-left: 0 !important;
}
.mega-menu .e-con-full:last-child {
  border-right: none !important;
  padding-right: 0 !important;
}

/* Titre h5 */
.mega-menu h5.elementor-heading-title {
  font-size: 16px;
  font-weight: 700 !important;
  color: var(--color-gris-fonce) !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  padding-bottom: 12px !important;
  margin-bottom: 8px !important;
  border-bottom: 2px solid var(--color-primary) !important;
  white-space: nowrap !important;
}

.mega-menu .e-con-full > .elementor-widget-heading:first-child {
  margin-bottom: 6px !important;
}

/* Liens */

.mega-menu span.elementor-heading-title a,
.sous-menu .elementor-heading-title a {
  display: block !important;
  padding: 6px 8px !important;
  border-radius: 5px;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #444 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition:
    background 0.15s,
    color 0.15s,
    transform 0.15s !important;
  transform: translateX(0);
}
.mega-menu span.elementor-heading-title a:hover,
.sous-menu .elementor-heading-title a:hover {
  background: #fdf5f7 !important;
  color: var(--color-primary) !important;
  transform: translateX(6px) !important;
  padding-left: 8px !important;
}
.mega-menu .elementor-widget-heading,
.sous-menu .elementor-widget-heading {
  margin-bottom: 5px !important;
}

/* Badge NEW */
.mm-badge-new {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #fdf0f3;
  color: var(--color-primary);
  border: 1px solid #f0c0cc;
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.mega-menu.mega-menu--2col > .e-con-inner {
  grid-template-columns: repeat(2, 1fr) !important;
}
.mega-menu .e-con-full > .elementor-widget-heading:first-child h5::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  top: -1px;
}

.mega-menu
  [data-icon="crm"]
  > .elementor-widget-heading:first-child
  h5::before {
  background-image: url("https://tvhconsulting2026.kinsta.cloud/wp-content/uploads/2021/04/talend-data-fabric-esb-integration-api-applications-01.svg");
}

.mega-menu
  [data-icon="data"]
  > .elementor-widget-heading:first-child
  h5::before {
  background-image: url("https://tvhconsulting2026.kinsta.cloud/wp-content/uploads/2026/04/ic-pilotage-de-vos-activites-140526.svg");
}

.mega-menu
  [data-icon="cyber"]
  > .elementor-widget-heading:first-child
  h5::before {
  background-image: url("https://tvhconsulting2026.kinsta.cloud/wp-content/uploads/2026/04/securiser-si-140526.svg");
}

.mega-menu
  [data-icon="erp"]
  > .elementor-widget-heading:first-child
  h5::before {
  background-image: url("https://tvhconsulting2026.kinsta.cloud/wp-content/uploads/2026/04/ic-notre-approche-a-360-140526.svg");
}
.mega-menu
  [data-icon="secteur"]
  > .elementor-widget-heading:first-child
  h5::before {
  background-image: url("https://tvhconsulting2026.kinsta.cloud/wp-content/uploads/2021/04/agri-food-producers-logistics-solution.svg");
}
.mega-menu
  [data-icon="services"]
  > .elementor-widget-heading:first-child
  h5::before {
  background-image: url("https://tvhconsulting2026.kinsta.cloud/wp-content/uploads/2023/03/logiciel-smsi-gestion-collaborative.svg");
}
.menu-principal .e-n-menu-title.e-current .e-n-menu-title-text {
  color: var(--color-primary) !important;
}

.menu-principal .e-n-menu-title.e-current .e-n-menu-title-container::after {
  transform: scaleX(1) !important;
}

/* 2ème niveau — lien actif dans le dropdown */
.menu-principal .e-n-menu-content a.current-page {
  color: var(--color-primary) !important;
  background: #fdf5f7 !important;
  padding-left: 14px !important;
  position: relative;
}
.menu-principal .e-n-menu-content a.current-page::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 100%;
  background: var(--color-primary);
  position: absolute;
  left: 0px;
  top: 0;
  border-radius: 2px;
}
.menu-principal .e-n-menu-content a.current-page:hover {
  transform: none !important;
  padding-left: 14px !important;
}
/* ADAPTATION DU MENU BURGER */
@media (max-width: 1024px) {
  #menu-principal .e-n-menu-wrapper {
    display: none !important;
  }
  #menu-principal .e-n-menu-toggle {
    background: transparent !important;
    border: none !important;
  }
  .elementor-89 .elementor-element.elementor-element-02e25ba {
    z-index: 9000 !important;
  }
  #tvh-drawer {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-blanc);
    z-index: 99999999 !important;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  #tvh-drawer.open {
    transform: translateX(0);
  }
  .tvh-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
  }
  .tvh-hdr img {
    height: 44px;
    width: auto;
  }
  button.tvh-close,
  .tvh-back {
    background: none;
    border: none;
    cursor: pointer;
  }
  button.tvh-close {
    background: none;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  button.tvh-close:hover {
    background: none;
  }
  button.tvh-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--e-global-color-primary);
    fill: none;
    stroke-width: 2;
  }
  .tvh-back {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    color: var(--color-primary) !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  .tvh-back svg {
    width: 14px;
    height: 14px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 2;
  }
  .tvh-panel {
    position: absolute;
    inset: 0;
    background: var(--color-blanc);
    overflow-y: auto;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  .tvh-panel.off {
    transform: translateX(100%);
  }
  .tvh-sec {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--e-global-color-secondary);
    padding: 16px 20px 6px;
    font-weight: 500;
  }
  .tvh-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    text-decoration: none;
    color: var(--color-gris-fonce);
  }
  .tvh-row:active {
    background: rgba(0, 0, 0, 0.03);
  }
  .tvh-row span {
    font-size: 15px;
    font-weight: 500;
  }
  .tvh-row svg {
    width: 16px;
    height: 16px;
    stroke: var(--e-global-color-secondary);
    fill: none;
    stroke-width: 1.5;
    flex-shrink: 0;
  }
  .tvh-row.util span {
    font-size: 13px;
    font-weight: 400;
    color: var(--e-global-color-secondary);
  }
  .tvh-row.recrute span {
    color: var(--color-primary);
    font-weight: 500;
  }
  .tvh-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--e-global-color-secondary);
    flex-shrink: 0;
    margin-right: 10px;
  }
  .tvh-cat {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    padding: 16px 20px 6px;
    font-weight: 500;
  }
  .tvh-link {
    display: block;
    padding: 11px 20px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
    font-size: 14px;
    color: #162129 !important;
    text-decoration: none;
  }
  .tvh-link:active {
    color: var(--color-primary);
  }
  .tvh-sub-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
  }
  .tvh-sub-title {
    font-size: 15px;
    font-weight: 500;
    color: #162129;
  }
}
header.elementor-location-header {
  position: sticky !important;
  width: 100% !important;
  left: 0 !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: transparent !important;
  transition:
    background-color 0.1s ease,
    box-shadow 0.4s ease !important;
}
body .MW-header.elementor-sticky--active {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  transition:
    background-color 0.1s ease,
    box-shadow 0.4s ease !important;
}
body .MW-header.elementor-sticky--effects {
  background-color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}
body .MW-header .elementor-nav-menu .elementor-item {
  color: var(--td-text-title, #1a1a1a) !important;
}
.header-dark {
  color: var(--color-blanc) !important;
}
.header-dark h1,
.header-dark h2,
.header-dark p,
.header-dark span {
  color: var(--color-blanc) !important;
}
.header-dark .elementor-nav-menu .elementor-item {
  color: var(--color-blanc) !important;
}
.header-dark .elementor-nav-menu .elementor-item:hover {
  color: var(--td-accent) !important;
  opacity: 1;
}
.header-dark .elementor-icon svg {
  fill: var(--color-blanc) !important;
}
/* ================================================
   LANGUAGE SWITCHER
   ================================================ */

/* Conteneur nav */
.mlp-language-switcher-nav {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 12px;
  cursor: pointer;
}
li.mlp-language-switcher-item {
  list-style: none;
}
/* Trigger — item current */
.mlp-language-switcher-nav .mlp-trigger .mlp-language-switcher-item__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  white-space: nowrap;
  padding-right: 20px;
  position: relative;
}

/* Chevron */
.mlp-language-switcher-nav
  .mlp-trigger
  .mlp-language-switcher-item__link::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg) translateY(-2px);
  position: absolute;
  right: 4px;
  transition: transform 0.2s;
}

.mlp-language-switcher-nav:hover
  .mlp-trigger
  .mlp-language-switcher-item__link::after {
  transform: rotate(-135deg) translateY(2px);
}

/* Dropdown téléporté dans le body */
.mlp-dropdown-teleported {
  position: absolute !important;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  background: #14212b;
  min-width: 150px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 99999;
  border-radius: 4px;
}

.mlp-dropdown-teleported .mlp-language-switcher-item__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}

.mlp-dropdown-teleported .mlp-language-switcher-item__link:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Drapeaux */
.mlp-site-flag-icon {
  width: 16px;
  height: 12px;
  display: inline-block;
  flex-shrink: 0;
}
