/* Hypnose V4.5.2 – bouton retour en haut, uniquement accueil preview. */
body.hypnose-v4-preview .hv452-top {
  position: fixed !important;
  right: max(18px, env(safe-area-inset-right, 0px)) !important;
  bottom: max(22px, env(safe-area-inset-bottom, 0px)) !important;
  z-index: 9998 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 48px !important;
  min-width: 48px !important;
  padding: 10px 16px !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  border-radius: 999px !important;
  background: #34594e !important;
  color: #fff !important;
  font: 600 14px/1.25 system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  box-shadow: 0 6px 20px rgba(18, 50, 42, .24) !important;
  cursor: pointer !important;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease !important;
  -webkit-tap-highlight-color: transparent;
}
body.hypnose-v4-preview .hv452-top[hidden] { display: none !important; }
body.hypnose-v4-preview .hv452-top:hover { background: #263d37 !important; }
body.hypnose-v4-preview .hv452-top:focus-visible { outline: 3px solid #8db6a1 !important; outline-offset: 3px !important; }
body.hypnose-v4-preview .hv452-top svg { flex-shrink: 0; }
@media (max-width: 781px) {
  body.hypnose-v4-preview .hv452-top {
    right: max(14px, env(safe-area-inset-right, 0px)) !important;
    bottom: max(16px, env(safe-area-inset-bottom, 0px)) !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }
  body.hypnose-v4-preview .hv452-top-label { display: none !important; }
  /* Menu V4.5.1 : densite confortable, pas de grands espaces vides */
  body.hypnose-v4-preview .hv4-site .hv4-nav.hv451-ready .hv4-nav-links:not([hidden]) {
    gap: 0 !important;
    justify-content: flex-start !important;
  }
  body.hypnose-v4-preview .hv4-site .hv4-nav.hv451-ready .hv4-nav-links > a {
    box-sizing: border-box !important;
    min-height: 44px !important;
    height: auto !important;
    padding: 11px 14px !important;
    margin: 0 !important;
    align-self: stretch !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.hypnose-v4-preview .hv452-top { transition: none !important; }
}
