/* Disclosures communs au site vitrine ; les styles du CTA restent inchangés. */
.nav-links .nav-dropdown, .nav-links .nav-dropdown * { box-sizing: border-box; }
.nav-links .nav-dropdown { position: relative; flex: 0 0 auto; color: #17365f; }
.nav-links .nav-dropdown > summary {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 12px; border-radius: 999px;
  font-size: .92rem; font-weight: 700; line-height: 1; white-space: nowrap;
  list-style: none; cursor: pointer;
}
.nav-links .nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-links .nav-dropdown > summary:hover,
.nav-links .nav-dropdown[open] > summary,
.nav-links .nav-dropdown:has(a[aria-current="page"]) > summary {
  background: rgba(11,99,206,.08); color: #0b63ce;
}
.nav-links .nav-dropdown > summary:focus-visible { outline: 2px solid #0b63ce; outline-offset: 3px; }
.nav-chevron { font-size: 12px; transition: transform .15s; }
.nav-dropdown[open] > summary .nav-chevron { transform: rotate(180deg); }
.nav-links .nav-panel {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 1100;
  width: 310px; max-width: calc(100vw - 32px); padding: 7px;
  background: #fff; border: 1px solid #dce6f1; border-radius: 14px;
  box-shadow: 0 18px 48px rgba(7,27,58,.16);
}
.nav-links .nav-panel--visio { left: auto; right: 0; width: 250px; }
body .nav-links .nav-dropdown .nav-panel a {
  display: flex !important; flex-direction: column; align-items: flex-start !important;
  justify-content: center !important; width: 100% !important; min-height: 44px !important;
  height: auto !important; padding: 12px 14px !important; border-radius: 9px !important;
  text-align: left !important; line-height: 1.4 !important; font-size: .9rem !important;
  white-space: normal !important; transform: none !important; gap: 3px;
}
.nav-panel strong { font-weight: 750; }
.nav-panel small { color: #56677f; font-size: .78rem; font-weight: 500; line-height: 1.4; }
body .nav-links .nav-dropdown .nav-panel a:hover,
body .nav-links .nav-dropdown .nav-panel a:focus-visible,
body .nav-links .nav-dropdown .nav-panel a[aria-current="page"] { background: #edf4fd !important; color: #0b63ce !important; }
@media (max-width: 1320px) {
  .nav-links .nav-dropdown > summary { padding: 0 10px; font-size: .88rem; }
}
@media (max-width: 1200px) {
  .nav-links .nav-dropdown { width: 100%; }
  .nav-links .nav-dropdown > summary { justify-content: flex-start; min-height: 44px; padding: 12px 14px; border-radius: 10px; font-size: 1rem; }
  .nav-links .nav-panel { position: static; width: auto; max-width: none; margin: 4px 0 6px 14px; padding: 4px; background: #f5f8fc; border: 0; border-left: 2px solid #0b63ce; border-radius: 0 10px 10px 0; box-shadow: none; }
  .nav-links:has(.nav-dropdown).is-open { max-height: calc(100dvh - 110px) !important; overflow-y: auto !important; overflow-x: hidden !important; }
}
@media (prefers-reduced-motion: reduce) { .nav-chevron { transition: none; } }
