/* ════════════════════════════════════════════
   NHF HEADER — Institutionnel sobre
   ─────────────────────────────────────────
   DESKTOP (>960px) :
   [NH] NeoHabitatFrance | Rénov…   [Affichage] [Calculer]
                                    [Rechercher         🔍]
   ─────────────────────────────────────────
   TABLETTE 600-960px :
   [NH] NeoHabitatFrance  [Affichage] [Calculer] [☰]
   ─────────────────────────────────────────
   MOBILE (<600px) :
   [NH] NeoHabitatFrance  [🔍] [☰]
   → loupe = panneau plein écran style DSFR
════════════════════════════════════════════ */

/* ── Utilitaires ── */
.nhf-skip{position:absolute;top:-64px;left:12px;z-index:9999;padding:10px 18px;background:#00b36b;color:#fff;border-radius:0 0 8px 8px;font-size:14px;font-weight:700;text-decoration:none;transition:top .15s}
.nhf-skip:focus{top:0;outline:3px solid #fff;outline-offset:2px}
.nhf-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.nhf-wrap{max-width:var(--nhf-wrap,min(1200px,calc(100vw - 32px)));margin:0 auto;padding:0 24px}

/* ── Shell ── */
.nhf-hdr{position:sticky;top:0;z-index:900;background:#fff;border-bottom:1px solid var(--nhf-border,#d7dde8);transition:box-shadow .2s}
.nhf-hdr.is-scrolled{box-shadow:0 1px 8px rgba(22,22,22,.07)}
.admin-bar .nhf-hdr{top:32px}
@media(max-width:782px){.admin-bar .nhf-hdr{top:46px}}

/* ════════════════════════════════════════════
   BODY ROW
════════════════════════════════════════════ */
.nhf-hdr__body-row{
  display:flex;align-items:center;
  min-height:96px;gap:24px;
  border-bottom:1px solid var(--nhf-border,#d7dde8);
}

/* ─── BRAND ─── */
.nhf-hdr__brand{flex:1;min-width:0}
.nhf-hdr__brand-top{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;min-width:0}
.nhf-hdr__logo-link{display:flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0}
.nhf-hdr__logo-link:hover{text-decoration:none}
.nhf-hdr__logo-link:focus-visible{outline:3px solid rgba(0,179,107,.4);outline-offset:3px;border-radius:4px}
.nhf-hdr__emblem{
  display:grid;place-items:center;
  width:46px;height:46px;flex-shrink:0;
  border-radius:11px;background:#00b36b;
  color:#fff;font-family:var(--nhf-font-display,inherit);
  font-size:14px;font-weight:900;
}
.nhf-hdr__emblem img{max-width:100%;border-radius:11px}
.nhf-hdr__name{
  font-family:var(--nhf-font-display,inherit);
  font-size:1.05rem;font-weight:900;
  color:#161616;white-space:nowrap;
}
.nhf-hdr__sep{
  display:block;width:1px;height:30px;
  background:var(--nhf-border,#d7dde8);flex-shrink:0;
}
.nhf-hdr__service{
  display:flex;flex-direction:column;gap:1px;min-width:0;
}
.nhf-hdr__service-title{
  font-size:.875rem;font-weight:700;color:#161616;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.nhf-hdr__service-desc{
  font-size:.74rem;color:#667085;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.nhf-hdr__navbar{display:none} /* mobile/tablette seulement */

/* ─── TOOLS (droite) ─── */
.nhf-hdr__tools{
  flex-shrink:0;display:flex;flex-direction:column;
  align-items:flex-end;gap:8px;
}
.nhf-hdr__tools-list{
  display:flex;align-items:center;gap:0;
  list-style:none;margin:0;padding:0;
}
.nhf-hdr__tools-list>li+li{border-left:1px solid var(--nhf-border,#d7dde8)}
.nhf-hdr__tool-link{
  display:inline-flex;align-items:center;gap:6px;
  height:32px;padding:0 13px;border:0;background:transparent;
  color:#161616;font-family:inherit;font-size:.82rem;font-weight:600;
  cursor:pointer;white-space:nowrap;text-decoration:none;
  position:relative;transition:color .15s;
}
.nhf-hdr__tool-link::after{
  content:'';position:absolute;bottom:3px;left:13px;right:13px;
  height:1px;background:currentColor;opacity:0;transition:opacity .15s;
}
.nhf-hdr__tool-link:hover{color:#00b36b}
.nhf-hdr__tool-link:hover::after{opacity:.5}
.nhf-hdr__tool-link:focus-visible{outline:3px solid rgba(0,179,107,.4);outline-offset:2px;border-radius:2px}
.nhf-hdr__tool-link--accent{color:#00b36b;font-weight:700}
.nhf-hdr__tool-link--accent:hover{color:#047857}
.nhf-hdr__tool-link svg{flex-shrink:0;opacity:.7;transition:opacity .15s}
.nhf-hdr__tool-link:hover svg{opacity:1}

/* ─── Barre de recherche desktop ─── */
.nhf-hdr__search--desktop{}
.nhf-search-bar{
  display:flex;align-items:center;position:relative;
  width:280px;background:#eeeeee;
  border-bottom:2px solid #00b36b;
  transition:background .15s;
  margin-top:-3px;
}
.nhf-search-bar:focus-within{background:#e5f4ed;outline:none}
.nhf-search-bar__input{
  flex:1;min-width:0;height:30px;padding:0 8px 0 12px;
  border:0;background:transparent;
  font-family:inherit;font-size:.85rem;font-weight:700;
  color:#161616;outline:0;
}
.nhf-search-bar__input::placeholder{color:#6b6b6b;font-weight:700}
.nhf-search-bar__icon-btn{
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;width:30px;height:30px;
  border:0;background:transparent !important;
  color:#667085;cursor:pointer;padding:0;
  transition:color .15s;-webkit-appearance:none;appearance:none;
}
.nhf-search-bar__icon-btn:hover{color:#00b36b}
.nhf-search-bar__icon-btn:focus-visible{outline:2px solid rgba(0,179,107,.4)}

/* ── Autocomplete ── */
.nhf-search-ac{
  position:absolute;top:calc(100% + 2px);left:0;right:0;
  background:#fff;border:1px solid var(--nhf-border,#d7dde8);
  border-top:2px solid #00b36b;
  box-shadow:0 6px 20px rgba(22,22,22,.09);
  z-index:100;padding:6px 0;
  max-height:260px;overflow-y:auto;
}
.nhf-search-ac__label{font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#9aa5b4;margin:0;padding:6px 12px 4px;display:block}
.nhf-search-ac__list{list-style:none;margin:0;padding:0}
.nhf-search-ac__item+.nhf-search-ac__item{border-top:1px solid #f0f2f5}
.nhf-search-ac__item a{display:flex;align-items:center;gap:9px;padding:8px 12px;font-size:.88rem;color:#161616;text-decoration:none;transition:background .1s,color .1s}
.nhf-search-ac__item a:hover,.nhf-search-ac__item a:focus-visible{background:rgba(0,179,107,.06);color:#00b36b;outline:none}
.nhf-search-ac__item a svg{color:#bcc4ce;flex-shrink:0}
.nhf-search-ac__type{margin-left:auto;font-size:.7rem;color:#9aa5b4;background:#f5f6f8;padding:2px 7px;border-radius:99px;white-space:nowrap}
.nhf-search-ac__item a mark{background:none;color:#00b36b;font-weight:700}
.nhf-search-ac__empty{padding:8px 12px;font-size:.85rem;color:#9aa5b4;margin:0;display:block}

/* ════════════════════════════════════════════
   MENU PRINCIPAL (desktop)
════════════════════════════════════════════ */
.nhf-hdr__nav{background:#fff;border-bottom:2px solid #00b36b}
.nhf-hdr__nav>.nhf-wrap{display:flex;align-items:stretch;min-height:0;padding-top:0;padding-bottom:0}
.nhf-menu.nhf-menu--desktop{display:flex;align-items:stretch;gap:0;list-style:none;margin:0;padding:0}
.nhf-menu.nhf-menu--desktop>li{position:relative;list-style:none;display:flex;align-items:stretch}
.nhf-menu.nhf-menu--desktop>li>a{
  display:flex;align-items:center;gap:3px;
  padding:0 8px !important;min-height:46px;
  color:#161616;font-size:.78rem !important;font-weight:600;
  text-decoration:none;white-space:nowrap;position:relative;transition:color .15s;
}
.nhf-menu.nhf-menu--desktop>li>a::after{
  content:'';position:absolute;bottom:-2px;left:8px;right:8px;height:2px;
  background:#00b36b;border-radius:2px 2px 0 0;
  transform:scaleX(0);transform-origin:left;transition:transform .2s ease;
}
.nhf-menu.nhf-menu--desktop>li:hover>a,
.nhf-menu.nhf-menu--desktop>li.current-menu-item>a,
.nhf-menu.nhf-menu--desktop>li.current-menu-parent>a{color:#00b36b}
.nhf-menu.nhf-menu--desktop>li:hover>a::after,
.nhf-menu.nhf-menu--desktop>li.current-menu-item>a::after{transform:scaleX(1)}
.nhf-menu.nhf-menu--desktop>li>a:focus-visible{outline:3px solid rgba(0,179,107,.4);outline-offset:-2px;border-radius:3px}
/* Flèche */
.nhf-menu.nhf-menu--desktop>li.menu-item-has-children>a::before{
  content:'';order:99;display:inline-block;
  width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;
  border-top:5px solid currentColor;margin-left:4px;opacity:.5;flex-shrink:0;
  transition:transform .2s,opacity .15s;
}
.nhf-menu.nhf-menu--desktop>li.menu-item-has-children:hover>a::before{transform:rotate(180deg);opacity:.8}
.nhf-menu.nhf-menu--desktop .nhf-submenu-toggle{display:none!important}
/* Sous-menus desktop */
.nhf-menu.nhf-menu--desktop>li>.sub-menu{
  position:absolute;top:100%;left:0;min-width:220px;
  background:#fff;border:1px solid var(--nhf-border,#d7dde8);
  border-top:2px solid #00b36b;border-radius:0 8px 8px 8px;
  box-shadow:0 8px 24px rgba(22,22,22,.09);
  list-style:none;margin:0;padding:5px;
  opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-4px);
  transition:opacity .17s ease,transform .17s ease,visibility .17s;z-index:800;
}
.nhf-menu.nhf-menu--desktop>li:hover>.sub-menu,
.nhf-menu.nhf-menu--desktop>li:focus-within>.sub-menu{
  opacity:1;visibility:visible;pointer-events:auto;transform:none;
}
.nhf-menu.nhf-menu--desktop>li>.sub-menu>li{list-style:none}
.nhf-menu.nhf-menu--desktop>li>.sub-menu>li+li{border-top:1px solid #f0f2f5}
.nhf-menu.nhf-menu--desktop>li>.sub-menu a{
  display:block;padding:9px 12px;border-radius:6px;
  font-size:.86rem;font-weight:500;color:#161616;text-decoration:none;
  transition:background .12s,color .12s;
}
.nhf-menu.nhf-menu--desktop>li>.sub-menu a:hover,
.nhf-menu.nhf-menu--desktop>li>.sub-menu a:focus-visible{
  background:rgba(0,179,107,.07);color:#00b36b;outline:none;
}

/* ════════════════════════════════════════════
   PANNEAU RECHERCHE MOBILE — style DSFR photo
   Fond blanc, input souligné, suggestions liste
════════════════════════════════════════════ */
.nhf-mobile-search-panel{
  position:fixed;inset:0;z-index:1100;
  background:#fff;
  display:flex;flex-direction:column;
}
.nhf-mobile-search-panel[hidden]{display:none}

.nhf-mobile-search-panel__inner{
  max-width:100%;
  padding:0;
}

/* Barre de saisie en haut */
.nhf-mobile-search-panel__form{
  display:flex;align-items:center;
  padding:14px 16px;
  background:#f5f5f7;
  border-bottom:1px solid #d2d2d7;
  gap:0;
}
.nhf-mobile-search-panel__icon{
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;width:36px;height:40px;
  border:0;background:transparent;color:#86868b;cursor:pointer;
  padding:0;transition:color .15s;
}
.nhf-mobile-search-panel__icon:hover{color:#00b36b}
.nhf-mobile-search-panel__input{
  flex:1;min-width:0;height:40px;
  border:0;background:transparent;outline:0;
  font-family:inherit;font-size:1rem;color:#1d1d1f;
  padding:0 10px;
  border-bottom:2px solid #00b36b;
}
.nhf-mobile-search-panel__input::placeholder{color:#86868b}
.nhf-mobile-search-panel__close{
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;width:36px;height:40px;
  border:0;background:transparent;color:#86868b;cursor:pointer;
  padding:0;transition:color .15s;
}
.nhf-mobile-search-panel__close:hover{color:#1d1d1f}
.nhf-mobile-search-panel__close:focus-visible{outline:3px solid rgba(0,179,107,.4)}

/* Suggestions : liste avec séparateurs */
.nhf-mobile-search-panel__suggestions{
  list-style:none;margin:0;padding:0;
  border-bottom:1px solid #f0f0f0;
}
.nhf-mobile-search-panel__suggestions li{
  border-bottom:1px solid #f0f0f0;
}
.nhf-mobile-search-panel__suggestions li:last-child{border-bottom:0}
.nhf-mobile-search-panel__suggestion{
  display:flex;align-items:center;justify-content:space-between;
  padding:15px 16px;
  font-size:.95rem;font-weight:500;color:#1d1d1f;
  text-decoration:none;
  transition:background .1s;
  -webkit-tap-highlight-color:transparent;
}
.nhf-mobile-search-panel__suggestion:hover{
  background:#f5f5f7;color:#00b36b;
}
.nhf-mobile-search-panel__suggestion svg{
  color:#86868b;flex-shrink:0;transition:color .1s;
}
.nhf-mobile-search-panel__suggestion:hover svg{color:#00b36b}

/* ════════════════════════════════════════════
   DRAWER MOBILE
════════════════════════════════════════════ */
.nhf-overlay{position:fixed;inset:0;z-index:1000;background:rgba(22,22,22,.45);backdrop-filter:blur(1px)}
.nhf-overlay[hidden]{display:none}
.nhf-drawer{
  position:fixed;inset:0 auto 0 0;z-index:1010;width:min(360px,92vw);
  background:#fff;display:flex;flex-direction:column;
  box-shadow:4px 0 28px rgba(22,22,22,.12);
  transform:translateX(-110%);transition:transform .28s cubic-bezier(.16,1,.3,1);overflow:hidden;
}
.nhf-drawer.is-open{transform:none}
.nhf-drawer__head{
  display:flex;align-items:center;justify-content:space-between;
  min-height:58px;padding:0 16px;
  border-bottom:1px solid var(--nhf-border,#d7dde8);flex-shrink:0;
}
.nhf-drawer__brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.nhf-drawer__emblem{
  width:34px;height:34px;border-radius:8px;background:#00b36b;color:#fff;
  display:grid;place-items:center;
  font-family:var(--nhf-font-display,inherit);font-size:12px;font-weight:900;flex-shrink:0;
}
.nhf-drawer__brand>span:last-child{font-family:var(--nhf-font-display,inherit);font-size:.9rem;font-weight:900;color:#161616}
.nhf-drawer__close{
  display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:50%;
  border:1.5px solid var(--nhf-border,#d7dde8);background:#fff;
  cursor:pointer;color:#161616;transition:background .13s;
}
.nhf-drawer__close:hover{background:#f0f2f5}
.nhf-drawer__nav{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch}

/* Menu mobile */
.nhf-menu.nhf-menu--mobile{list-style:none;margin:0;padding:4px 0}
.nhf-menu.nhf-menu--mobile>li{list-style:none}
.nhf-menu.nhf-menu--mobile>li>a{
  display:flex;align-items:center;justify-content:space-between;
  padding:13px 16px;font-size:.9rem;font-weight:700;
  color:#161616;text-decoration:none;
  border-bottom:1px solid #f0f2f5;
  -webkit-tap-highlight-color:transparent;transition:background .12s,color .12s;
}
.nhf-menu.nhf-menu--mobile>li>a:hover{background:rgba(0,179,107,.06);color:#00b36b}
.nhf-menu.nhf-menu--mobile .sub-menu{
  list-style:none;margin:0;padding:2px 0 6px 16px;
  background:#f8f9fb;border-bottom:1px solid #f0f2f5;
}
.nhf-menu.nhf-menu--mobile .sub-menu li{list-style:none}
.nhf-menu.nhf-menu--mobile .sub-menu a{
  display:block;padding:9px 12px;font-size:.87rem;font-weight:500;
  color:#667085;text-decoration:none;border-bottom:1px solid #f0f2f5;
  -webkit-tap-highlight-color:transparent;transition:color .12s;
}
.nhf-menu.nhf-menu--mobile .sub-menu a:last-child{border-bottom:0}
.nhf-menu.nhf-menu--mobile .sub-menu a:hover{color:#00b36b}
.nhf-menu.nhf-menu--mobile .nhf-submenu-toggle{display:none!important}
.nhf-drawer__foot{
  flex-shrink:0;
  padding:10px 14px 14px;
  border-top:1px solid var(--nhf-border,#d7dde8);
  display:flex;flex-direction:column;gap:7px;
}
/* Ligne utilitaires : Suivre mon dossier + Affichage */
.nhf-drawer__utils{
  display:grid;grid-template-columns:1fr 1fr;gap:7px;
}
.nhf-drawer__util-link{
  display:flex;align-items:center;justify-content:center;gap:5px;
  padding:8px 10px;border:1.5px solid var(--nhf-border,#d7dde8);
  border-radius:8px;font-size:.78rem;font-weight:600;
  color:#334155;text-decoration:none;background:#fff;
  cursor:pointer;font-family:inherit;white-space:nowrap;
  -webkit-tap-highlight-color:transparent;transition:border-color .15s,color .15s;
}
.nhf-drawer__util-link:hover,.nhf-drawer__util-link:focus-visible{
  border-color:#00b36b;color:#00b36b;
}
/* CTA principal */
.nhf-drawer__cta{
  display:flex;align-items:center;justify-content:center;gap:7px;
  padding:12px 20px;background:#00b36b;color:#fff;
  border-radius:8px;font-size:.88rem;font-weight:700;text-decoration:none;
  -webkit-tap-highlight-color:transparent;transition:background .15s;
}
.nhf-drawer__cta:hover{background:#047857;color:#fff}

/* Indicateur visuel : le nav est scrollable */
.nhf-drawer__nav{
  position:relative;
}
.nhf-drawer__nav::after{
  content:'';
  position:sticky;
  bottom:0;
  display:block;
  height:24px;
  background:linear-gradient(to top, rgba(255,255,255,.95), transparent);
  pointer-events:none;
  margin-top:-24px;
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */

/* TABLETTE : 600-960px — garder tools, cacher service + nav, afficher burger */
@media(max-width:960px){
  .nhf-hdr__nav{display:none}
  .nhf-hdr__sep,.nhf-hdr__service{display:none}
  .nhf-hdr__navbar{display:flex!important;gap:6px;margin-left:auto;align-items:center}
  /* Cacher loupe mobile sur tablette (recherche dans tools) */
  .nhf-hdr__btn-icon--search{display:none}
  .nhf-hdr__body-row{min-height:72px;gap:16px}
}

/* MOBILE : <600px — cacher tools complets, garder loupe + burger */
/* ── Badge "Nouveau" sur Simulation 3D ─────────────────────── */
.nhf-menu.nhf-menu--desktop > li.nhf-menu-new {
  position: relative;
}
.nhf-menu.nhf-menu--desktop > li.nhf-menu-new > a {
  padding-top: 4px;
}
.nhf-menu.nhf-menu--desktop > li.nhf-menu-new > a::before {
  content: 'Nouveau';
  position: absolute;
  top: 2px;
  left: 8px;
  background: #dc2626;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 1px 5px;
  border-radius: 99px;
  line-height: 1.5;
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
}
/* Dark mode */
[data-theme="dark"] .nhf-menu.nhf-menu--desktop > li.nhf-menu-new > a::before {
  background: #ef4444;
}

@media(max-width:600px){
  .nhf-hdr__tools{display:none!important}
  .nhf-hdr__sep,.nhf-hdr__service{display:none!important}
  .nhf-hdr__navbar{display:flex!important;gap:6px;margin-left:auto;align-items:center}
  /* Afficher loupe mobile */
  .nhf-hdr__btn-icon--search{display:flex!important}
  .nhf-hdr__body-row{min-height:58px;gap:0}
  .nhf-hdr__body-row.nhf-wrap{padding:0 14px}
  .nhf-hdr__emblem{width:40px;height:40px;font-size:13px;border-radius:10px}
}

/* Boutons icônes mobile */
.nhf-hdr__btn-icon{
  display:flex;flex-direction:column;align-items:center;gap:3px;
  border:0;background:transparent;cursor:pointer;
  color:#161616;padding:6px 8px;
  -webkit-tap-highlight-color:transparent;transition:color .15s;
  min-width:44px;min-height:44px;justify-content:center;
}
.nhf-hdr__btn-icon:hover{color:#00b36b}
.nhf-hdr__btn-icon:focus-visible{outline:3px solid rgba(0,179,107,.4);outline-offset:2px;border-radius:4px}

.nhf-hdr__dossier-link {
  display:inline-flex;align-items:center;gap:6px;
  font-size:.78rem;font-weight:600;
  color:var(--nhf-muted,#667085);
  text-decoration:none;
  padding:2px 0;
  border-bottom:1px solid transparent;
  transition:color .15s,border-color .15s;
}
.nhf-hdr__dossier-link:hover {
  color:#00b36b;
  border-bottom-color:#00b36b;
}
.nhf-hdr__dossier-link svg { opacity:.7;flex-shrink:0 }
.nhf-hdr__dossier-link:hover svg { opacity:1 }

/* ═══════════════════════════════════════════
   MODALE SIMULATION 3D
═══════════════════════════════════════════ */
.nhf-3d-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #07070e;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
  will-change: opacity;
}
.nhf-3d-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nhf-3d-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #f0f2f8;
  cursor: pointer;
  transition: background .18s, transform .18s;
}
.nhf-3d-modal__close:hover {
  background: rgba(255,255,255,.18);
  transform: scale(1.08);
}
.nhf-3d-modal__close:focus-visible {
  outline: 2px solid #00d4ff;
  outline-offset: 2px;
}

.nhf-3d-modal__body {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.nhf-3d-modal__body iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Loader centré */
.nhf-3d-modal__loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(240,242,248,.5);
  font-size: .85rem;
  transition: opacity .3s ease;
}
.nhf-3d-modal__loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Spinner */
.nhf-3d-modal__spinner {
  animation: nhf-spin 1s linear infinite;
  color: #00d4ff;
}
@keyframes nhf-spin {
  to { transform: rotate(360deg); }
}

/* Masquer scroll body quand modale ouverte */
body.nhf-3d-open {
  overflow: hidden;
}

/* ── Masquer chatbot quand drawer ouvert ── */
body.nhf-drawer-open .nhf-chatbot-widget{
  opacity:0;
  pointer-events:none;
  transition:opacity .2s;
}
