/* Same six-language selector as Architecture Privée, fitted to Batiméthode. */
.header-controls { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
header { gap: 24px; }
header > .brand { flex-shrink: 0; }
.language-switcher {
  position: relative;
  z-index: 2;
  font-family: inherit;
}

.language-switcher__trigger {
  min-width: 68px;
  min-height: 40px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: inherit;
  background: transparent;
  border: 1px solid #dadada;
  border-radius: 999px;
  cursor: pointer;
  font: 600 11px/1 Manrope, Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.language-switcher__trigger:hover,
.language-switcher__trigger:focus-visible,
.language-switcher__trigger[aria-expanded="true"] {
  color: #171815;
  background: #f3f3f1;
  border-color: #151515;
}

.language-switcher__globe {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
}

.language-switcher__chevron {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform .25s ease;
}

.language-switcher__trigger[aria-expanded="true"] .language-switcher__chevron {
  transform: rotate(180deg);
}

.language-switcher__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(230px, calc(100vw - 32px));
  padding: 8px;
  color: #fffdf9;
  background: rgba(23, 24, 21, .97);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.language-switcher__menu[hidden] { display: none !important; }

.language-switcher__option {
  width: 100%;
  min-height: 43px;
  padding: 9px 11px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: background .2s ease;
}

.language-switcher__option:hover,
.language-switcher__option:focus-visible,
.language-switcher__option[aria-current="true"] {
  background: rgba(255, 255, 255, .11);
  outline: none;
}

.language-switcher__option strong {
  color: #ddd;
  font-size: 10px;
  letter-spacing: .12em;
}

.language-switcher__option span {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: none;
}


@media (max-width: 1100px) {
  header .menu { display: block; border: 0; background: none; font-size: 11px; padding: 10px 0; white-space: nowrap; }
  header > nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 26px 6%; border-bottom: 1px solid #ddd; }
  header > nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  header .navcta { align-self: start; }
}
@media (max-width: 520px) {
  header { gap: 12px; }
  .header-controls { gap: 12px; }
  .language-switcher__trigger { min-width: 58px; min-height: 36px; padding-inline: 9px; gap: 5px; }
  .language-switcher__globe { width: 14px; height: 14px; }
  .language-switcher__chevron { display: none; }
}
@media (max-width: 380px) {
  header .brand .bm-logo { width: 55px; }
  header .brand { gap: 8px; }
  header .brand-name { font-size: 12px; }
  header .brand-name .brand-services { font-size: 5.5px; }
  .header-controls { gap: 9px; }
}
