/* LCH Corporate — Sélecteur de langue FR / EN & Pont de compatibilité Accueil Anglais (Pilote V1.0.2) */
.lch-root .lch-header {
  position: relative;
}

.lch-root .lch-header .lch-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
  background: rgba(17, 17, 21, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  padding: 4px 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.lch-root .lch-lang-switcher .lch-lang-item,
.lch-root .lch-menu-lang-row .lch-lang-item {
  color: #e2e2e0;
  text-decoration: none;
  padding: 4px 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background-color 0.2s ease;
  border-radius: 2px;
  border-bottom: 0 !important;
}

.lch-root .lch-lang-switcher .lch-lang-item:hover,
.lch-root .lch-menu-lang-row .lch-lang-item:hover {
  color: var(--lch-yellow, #ffeb25);
}

.lch-root .lch-lang-switcher .lch-lang-item[aria-current="page"],
.lch-root .lch-lang-switcher .lch-lang-item.is-active,
.lch-root .lch-menu-lang-row .lch-lang-item[aria-current="page"],
.lch-root .lch-menu-lang-row .lch-lang-item.is-active {
  color: var(--lch-yellow, #ffeb25) !important;
  font-weight: 700;
}

.lch-root .lch-lang-switcher .lch-lang-item:focus-visible,
.lch-root .lch-menu-lang-row .lch-lang-item:focus-visible {
  outline: 2px solid var(--lch-yellow, #ffeb25);
  outline-offset: 3px;
}

.lch-root .lch-lang-sep {
  color: rgba(226, 226, 224, 0.36);
  font-weight: 300;
  font-size: 11px;
  user-select: none;
  pointer-events: none;
}

.lch-root .lch-menu-lang-row {
  display: none;
}

/* Discreet badge identifying links pointing to pages still in French during the pilot phase */
.lch-root .lch-lang-tag-fr {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  padding: 2px 5px;
  margin-left: 6px;
  border: 1px solid rgba(255, 235, 37, 0.45);
  border-radius: 2px;
  color: var(--lch-yellow, #ffeb25);
  background: rgba(255, 235, 37, 0.08);
  vertical-align: middle;
}

@media (max-width: 1100px) and (min-width: 768px) {
  .lch-root .lch-header {
    gap: 16px;
  }
  .lch-root .lch-nav {
    gap: 15px;
  }
  .lch-root .lch-header .lch-lang-switcher {
    padding: 4px 8px;
  }
}

@media (max-width: 767px) {
  .lch-lang-en .lch-root .lch-hero-title .elementor-heading-title {
    font-size: clamp(36px, 10.6vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.055em;
  }
  .lch-root .lch-header {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }
  .lch-root .lch-logo {
    flex: 0 0 auto !important;
  }
  .lch-root .lch-header .lch-lang-switcher {
    margin-left: auto !important;
    margin-right: 4px !important;
    padding: 2px 6px !important;
    gap: 2px !important;
    background: rgba(17, 17, 21, 0.52) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 3px !important;
    height: 36px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
  }
  .lch-root .lch-header .lch-lang-switcher .lch-lang-item {
    min-width: 32px !important;
    min-height: 30px !important;
    padding: 0 4px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 30px !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .lch-root .lch-mobile-menu {
    display: block !important;
    margin-left: 0 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    position: relative !important;
    z-index: 10 !important;
  }
  .lch-root .lch-menu summary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 0 !important;
    white-space: nowrap !important;
    color: #e2e2e0 !important;
  }
  .lch-root .lch-menu-list {
    right: 0 !important;
    left: auto !important;
    width: min(280px, calc(100vw - 40px)) !important;
    max-width: calc(100vw - 40px) !important;
    box-sizing: border-box;
  }
  .lch-root .lch-menu-lang-row .lch-lang-item {
    min-width: 44px;
    min-height: 44px;
    padding: 0 6px;
    font-size: 12px;
  }
  .lch-root .lch-menu-lang-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 8px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .lch-root .lch-menu-lang-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9fa6ae;
    font-weight: 600;
  }
  .lch-root .lch-menu-lang-links {
    display: inline-flex;
    align-items: center;
    gap: 2px;
  }
}

@media (max-width: 315px) {
  .lch-root .lch-header .lch-lang-switcher {
    display: none;
  }
  .lch-root .lch-mobile-menu {
    margin-left: auto !important;
  }
}


/* LCH Corporate — Sélecteur de langue FR / EN pour Création de sites web (wc-header) */
#wc-lch-root .wc-header {
  position: relative;
}

#wc-lch-root .wc-header .lch-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(17, 17, 21, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  height: 38px;
  padding: 2px 6px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: 0;
  flex: 0 0 auto;
}

#wc-lch-root .wc-header .lch-lang-switcher .lch-lang-item {
  color: #e2e2e0;
  text-decoration: none;
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Manrope, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  border-radius: 2px;
  transition: color 0.2s ease;
}

#wc-lch-root .wc-header .lch-lang-switcher .lch-lang-item:hover {
  color: var(--lch-yellow, #ffeb25);
}

#wc-lch-root .wc-header .lch-lang-switcher .lch-lang-item.is-active,
#wc-lch-root .wc-header .lch-lang-switcher .lch-lang-item[aria-current="page"] {
  color: var(--lch-yellow, #ffeb25) !important;
  font-weight: 700;
}

@media (max-width: 700px) {
  #wc-lch-root .wc-header {
    flex-wrap: wrap !important;
    gap: 12px 16px !important;
    align-items: center !important;
    padding: 16px 0 !important;
  }
  #wc-lch-root .wc-header nav:not(.lch-lang-switcher) {
    margin-left: auto !important;
    font-size: 12px !important;
    gap: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  #wc-lch-root .wc-header .lch-lang-switcher {
    margin-left: 0 !important;
  }
  #wc-lch-root .wc-header > .wc-outline {
    width: 100% !important;
    text-align: center !important;
    padding: 12px 18px !important;
  }
}
