/* Sélecteur de langue CBS (pastille globe) — AB2 */

.drop {
  position: relative;
}
.drop > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 600;
  color: #003366;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}
.drop > summary::-webkit-details-marker,
.drop > summary::marker {
  display: none;
  content: "";
}
.drop > summary::after,
.drop > summary::before,
.lang-pill::after,
.lang-pill::before {
  content: none !important;
  display: none !important;
}
.drop > summary .caret {
  font-size: 10px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.drop[open] > summary {
  color: #1C8048;
}
.drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  transform: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 34, 68, 0.14);
  padding: 8px;
  min-width: 150px;
  z-index: 60;
  display: flex;
  flex-direction: column;
}
.drop-menu a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #0F1F33;
  white-space: nowrap;
  text-decoration: none;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.drop-menu a:hover {
  background: #f7f7f7;
  color: #003366;
}
.drop-menu a.on {
  color: #1C8048;
  font-weight: 700;
}
.lang-pill {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 8px 14px !important;
  background: #fff;
  font-size: 13.5px !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #003366;
  line-height: 1;
  min-height: 40px;
  box-sizing: border-box;
  text-decoration: none !important;
  box-shadow: none;
}
.lang-pill svg {
  color: #003366;
  flex-shrink: 0;
}
.lang-drop .drop-menu {
  max-height: min(70vh, 320px);
  overflow: auto;
}
details.drop,
details.drop.lang-drop,
.lang-drop {
  border: 0 !important;
  border-bottom: 0 !important;
  background: transparent;
}
.site-hd .lang-pill:focus-visible {
  outline: 2px solid #1C8048;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .lang-pill svg {
    display: none;
  }
  .lang-pill {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* 0442 — contour langue = hp-cta (radius 999) */
.lang-pill,summary.lang-pill{
  border:1px solid #1C8048!important;
  border-radius:999px!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  box-sizing:border-box!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  line-height:1!important;
}
