/* Les trois entrées restent visibles, y compris sur petit écran. */
html { scroll-padding-top: calc(var(--ws24-header-height, 84px) + 16px); }
body.home.seo_version.ws24-color-preview.palette-vif.palette-vivant .ws24-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-block: 18px;
  background: #fcfdfe;
  box-shadow: 0 4px 16px #1932780a;
}
.ws24-header .ws24-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.ws24-header .ws24-navigation::before,
.ws24-header .ws24-navigation::after { display: none; }
.ws24-header .ws24-navigation-brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: #193278;
  text-decoration: none;
}
.ws24-header .ws24-navigation-items {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 21px;
  line-height: 1.5;
}
.ws24-header .ws24-navigation-items > li { margin: 0; padding: 0; }
.ws24-header .ws24-navigation-items :is(a, summary) {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 8px 4px;
  color: #193278;
  font: inherit;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
}
.ws24-header .ws24-navigation-items :is(a, summary):hover {
  text-decoration: underline;
  text-decoration-color: #34a853;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.ws24-header .ws24-navigation-services { position: relative; }
.ws24-header .ws24-navigation-services > summary { list-style: none; }
.ws24-header .ws24-navigation-services > summary::-webkit-details-marker { display: none; }
.ws24-header .ws24-navigation-services[open] > summary svg { transform: rotate(180deg); }
.ws24-header .ws24-navigation-services:not([open]) > .ws24-navigation-dropdown { display: none; }
.ws24-header .ws24-navigation-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1;
  width: 320px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - var(--ws24-header-height, 84px) - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 12px;
  list-style: none;
  border: 1px solid #e4e9f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 6px 8px 23px #48698e1a, 25px 34px 42px #48698e17, 57px 76px 57px #48698e0d;
}
.ws24-header .ws24-navigation-dropdown li { margin: 0; padding: 0; }
.ws24-header .ws24-navigation-dropdown a { padding: 12px; border-radius: 9px; }
.ws24-header .ws24-navigation-dropdown a:hover { background: #f3f6fa; }
.ws24-header .ws24-navigation-items .ws24-navigation-contact {
  padding-inline: 22px;
  border-radius: 13px;
  background: #fbbc05;
  color: #202532;
}
.ws24-header :is(a, summary):focus-visible { outline: 3px solid #193278; outline-offset: 5px; border-radius: 5px; }
body.home.seo_version.ws24-color-preview.palette-vif.palette-vivant .ws24-back-to-top {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid #ffffffa6;
  border-radius: 50%;
  background: #193278;
  color: #fff;
  box-shadow: 0 6px 20px #19327826;
  text-decoration: none;
}
body.home.seo_version.ws24-color-preview.palette-vif.palette-vivant .ws24-back-to-top[hidden] { display: none; }
body.home.seo_version.ws24-color-preview.palette-vif.palette-vivant .ws24-back-to-top:hover { background: #253e83; }
body.home.seo_version.ws24-color-preview.palette-vif.palette-vivant .ws24-back-to-top:focus-visible { outline: 3px solid #193278; outline-offset: 4px; }
@media (max-width: 767px) {
  body.home.seo_version.ws24-color-preview.palette-vif.palette-vivant .ws24-header { padding-block: 10px; }
  .ws24-header .ws24-navigation-items { font-size: 19px; gap: 18px; }
  body.home.seo_version.ws24-color-preview.palette-vif.palette-vivant .ws24-back-to-top { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 48px; height: 48px; }
}
@media (max-width: 600px) {
  .ws24-header .ws24-navigation { position: relative; flex-wrap: wrap; gap: 6px; }
  .ws24-header .ws24-navigation-brand { min-height: 40px; }
  .ws24-header .ws24-navigation-items { width: 100%; justify-content: space-between; gap: 8px; }
  .ws24-header .ws24-navigation-items > li > a,
  .ws24-header .ws24-navigation-services > summary { min-height: 46px; white-space: nowrap; }
  .ws24-header .ws24-navigation-items .ws24-navigation-contact { padding-inline: 13px; }
  .ws24-header .ws24-navigation-services { position: static; }
  .ws24-header .ws24-navigation-dropdown { left: 20px; right: 20px; top: calc(100% + 8px); width: auto; max-width: none; transform: none; }
}
@media (max-width: 360px) {
  .ws24-header .ws24-navigation-items { gap: 4px; }
  .ws24-header .ws24-navigation-items > li > a,
  .ws24-header .ws24-navigation-services > summary { padding-inline: 0; gap: 4px; }
  .ws24-header .ws24-navigation-services > summary svg { width: 12px; height: 12px; }
  .ws24-header .ws24-navigation-items .ws24-navigation-contact { padding-inline: 7px; }
}
