/* MPB 3.27.12 — un seul correctif, limité au domaine de test.
   Menu langue avec vrais drapeaux, code ISO + flèche.
   Footer intégralement visible sur les écrans de bureau assez hauts,
   sans cacher du contenu ni interdire le défilement sur petits écrans. */
html body.mpb-site header.site-header .mpb-lang-menu {
  position: relative !important;
  flex: 0 0 auto !important;
  display: inline-block !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  z-index: 100 !important;
  font: 700 11px/1.2 'DM Sans', Arial, sans-serif !important;
  color: #0c1127 !important;
}
html body.mpb-site header.site-header .mpb-lang-current {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  box-sizing: border-box !important;
  min-width: 89px !important;
  min-height: 36px !important;
  padding: 6px 8px !important;
  border: 1px solid #8acbd3 !important;
  border-radius: 7px !important;
  background: #f6fbfa !important;
  color: #0c1127 !important;
  cursor: pointer !important;
  user-select: none !important;
  list-style: none !important;
}
html body.mpb-site header.site-header .mpb-lang-current::-webkit-details-marker {display: none !important;}
html body.mpb-site header.site-header .mpb-lang-current::marker {content: '' !important;}
html body.mpb-site header.site-header .mpb-lang-current:focus-visible,
html body.mpb-site header.site-header .mpb-lang-menu .mpb-lang-options a:focus-visible {
  outline: 2px solid #007b90 !important; outline-offset: 2px !important;
}
html body.mpb-site header.site-header .mpb-lang-flag {
  display: block !important;
  box-sizing: border-box !important;
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 13px !important;
  border: 1px solid rgba(0,0,0,.15) !important;
  border-radius: 1px !important;
  object-fit: fill !important;
}
html body.mpb-site header.site-header .mpb-lang-code {
  font: 700 11px/1.2 'DM Sans', Arial, sans-serif !important;
  letter-spacing: .03em !important;
}
html body.mpb-site header.site-header .mpb-lang-chevron {
  flex: 0 0 6px !important;
  width: 6px !important;
  height: 6px !important;
  margin: -3px 2px 0 1px !important;
  border: solid #006f85 !important;
  border-width: 0 1.5px 1.5px 0 !important;
  transform: rotate(45deg) !important;
}
html body.mpb-site header.site-header .mpb-lang-menu[open] .mpb-lang-chevron {
  transform: translateY(3px) rotate(225deg) !important;
}
html body.mpb-site header.site-header .mpb-lang-options {
  position: absolute !important;
  z-index: 500 !important;
  top: calc(100% + 5px) !important;
  right: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  min-width: 93px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 4px !important;
  list-style: none !important;
  background: #fff !important;
  border: 1px solid #cbdde1 !important;
  border-radius: 7px !important;
  box-shadow: 0 8px 22px rgba(15,37,54,.16) !important;
  white-space: nowrap !important;
}
html body.mpb-site header.site-header .mpb-lang-options li {display: block !important; margin: 0 !important; padding: 0 !important;}
html body.mpb-site header.site-header .mpb-lang-options a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  gap: 9px !important;
  width: 100% !important;
  min-height: 35px !important;
  padding: 7px 9px !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #0c1127 !important;
  text-decoration: none !important;
}
html body.mpb-site header.site-header .mpb-lang-options a:hover,
html body.mpb-site header.site-header .mpb-lang-options a[aria-current="page"] {
  background: #e6f4f5 !important;
  color: #006f85 !important;
}
@media (max-width: 1020px) {
  html body.mpb-site header.site-header .navigation.is-open .mpb-lang-menu {
    align-self: flex-start !important;
    margin-top: 9px !important;
  }
  html body.mpb-site header.site-header .mpb-lang-options {
    left: 0 !important; right: auto !important;
  }
}
/* Ajustement de hauteur: uniquement la page d'accueil MPB sur le TEST. */
@media (min-width: 1021px) {
  html body.mpb-site.mpb-pilot-home header.site-header > .header-wide {
    min-height: 78px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  html body.mpb-site.mpb-pilot-home header.site-header .brand-picture {
    flex-basis: 66px !important; width: 66px !important; height: 66px !important;
  }
  html body.mpb-site.mpb-pilot-home main.home-view {padding-top: 0 !important;}
  html body.mpb-site.mpb-pilot-home main.home-view > section.home-hero > .section-inner.home-hero-inner {
    height: clamp(340px, 40.7vh, 375px) !important;
    min-height: 340px !important;
  }
  html body.mpb-site.mpb-pilot-home main.home-view > section.home-hero + section.reviews-section {
    margin-top: 0 !important;
    padding-top: 7px !important;
    padding-bottom: 1px !important;
  }
  /* Conserver la photo et son cadrage existant (pilot-layout-v329.css). */
  html body.mpb-site.mpb-pilot-home .home-view .reviews-overview {margin-bottom: 2px !important;}
  html body.mpb-site.mpb-pilot-home .home-view .mpb-google-carousel.mpb-owned-reviews {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
  }
  html body.mpb-site.mpb-pilot-home .home-view .mpb-owned-card {
    height: 150px !important; min-height: 150px !important; max-height: 150px !important;
    padding-top: 9px !important; padding-bottom: 7px !important;
  }
  html body.mpb-site.mpb-pilot-home .home-view .mpb-owned-viewport {padding-bottom: 3px !important;}
  html body.mpb-site.mpb-pilot-home .home-view .mpb-owned-dots {margin-top: 1px !important;}
  html body.mpb-site.mpb-pilot-home .home-view .review-choice-wrap {margin-top: 0 !important;}
  html body.mpb-site.mpb-pilot-home .home-view .review-choice-toggle {min-height: 26px !important;}
  html body.mpb-site.mpb-pilot-home .mpb-important-notice {
    padding: 4px 15px 2px !important;
    line-height: 1.25 !important;
  }
  html body.mpb-site.mpb-pilot-home .mpb-important-notice p {
    margin-top: 3px !important;
    line-height: 1.25 !important;
  }
  html body.mpb-site.mpb-pilot-home footer.site-footer {
    box-sizing: border-box !important;
    padding-top: 2px !important;
    padding-bottom: 5px !important;
    min-height: 0 !important;
  }
  html body.mpb-site.mpb-pilot-home footer.site-footer .footer-decoration {height: 7px !important;}
  html body.mpb-site.mpb-pilot-home footer.site-footer .footer-links-wrap {padding-top: 3px !important;}
  html body.mpb-site.mpb-pilot-home footer.site-footer .footer-links {margin-top: 3px !important;}
  html body.mpb-site.mpb-pilot-home footer.site-footer .footer-credit {margin-top: 1px !important;}
  html body.mpb-site.mpb-pilot-home footer.site-footer .mpb-footer-credit-logo {max-height: 20px !important;}
}
/* Sur petit écran et lorsque les textes se développent, garder le scroll naturel. */
