/* =========================================================
   Horizon Bleu — menu mobile (tiroir) premium, clair et Riviera (2.3.0)
   ========================================================= */
#mobile-drawer .drawer-overlay { background: rgba(10,28,52,.45) !important; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
#mobile-drawer .drawer-inner {
  width: min(92vw, 420px) !important; max-width: none !important;
  background:
    radial-gradient(420px 260px at 115% -8%, rgba(42,143,214,.16), rgba(42,143,214,0) 62%),
    linear-gradient(180deg, #FBF8F2 0%, #F3EBDD 100%) !important;
  color: #14325C !important;
  box-shadow: -30px 0 70px rgba(10,28,52,.28);
  display: flex !important; flex-direction: column; overflow-x: hidden; overflow-y: auto;
}
/* cercles de soleil dorés */
#mobile-drawer .drawer-inner::before {
  content: ""; position: absolute; right: -110px; top: -110px; width: 280px; height: 280px; border-radius: 50%;
  border: 1px solid rgba(201,162,77,.45); box-shadow: 0 0 0 34px rgba(201,162,77,0), 0 0 0 35px rgba(201,162,77,.22);
  pointer-events: none;
}
#mobile-drawer .drawer-header { position: relative; z-index: 2; display: flex !important; align-items: center; justify-content: space-between; padding: 14px 18px 4px 22px !important; min-height: 0 !important; }
#mobile-drawer .hb-dr-brand img { display: block; height: 62px; width: auto; }
#mobile-drawer .menu-toggle-close {
  width: 46px !important; height: 46px !important; border-radius: 50% !important; padding: 0 !important;
  border: 1px solid rgba(20,50,92,.22) !important; background: #fff !important; color: #14325C !important;
  display: grid !important; place-items: center; box-shadow: 0 8px 20px rgba(20,50,92,.08);
}
#mobile-drawer .menu-toggle-close .toggle-close-bar { background: #14325C !important; }
#mobile-drawer .drawer-content { position: relative; z-index: 2; padding: 6px 24px 0 !important; flex: 1 0 auto; display: flex !important; flex-direction: column; }

/* liens principaux */
#mobile-drawer .mobile-navigation ul { counter-reset: hbm; }
#mobile-drawer .mobile-navigation > div > ul > li,
#mobile-drawer .mobile-navigation > ul > li { counter-increment: hbm; border-bottom: 1px solid rgba(20,50,92,.10) !important; }
#mobile-drawer .mobile-navigation > div > ul > li > a,
#mobile-drawer .mobile-navigation > div > ul > li > .drawer-nav-drop-wrap > a,
#mobile-drawer .mobile-navigation > ul > li > a,
#mobile-drawer .mobile-navigation > ul > li > .drawer-nav-drop-wrap > a {
  display: flex !important; align-items: baseline; gap: 14px;
  padding: 17px 0 !important; border: 0 !important;
  font-family: var(--hb-font-display, Georgia, serif) !important; font-size: 1.55rem !important; font-weight: 600 !important;
  line-height: 1.1 !important; letter-spacing: -.01em; color: #14325C !important; text-decoration: none !important;
  transition: color .25s ease, padding-left .35s cubic-bezier(.16,1,.3,1);
}
#mobile-drawer .mobile-navigation > div > ul > li > a::before,
#mobile-drawer .mobile-navigation > div > ul > li > .drawer-nav-drop-wrap > a::before,
#mobile-drawer .mobile-navigation > ul > li > a::before,
#mobile-drawer .mobile-navigation > ul > li > .drawer-nav-drop-wrap > a::before {
  content: counter(hbm, decimal-leading-zero); flex: 0 0 auto;
  font-family: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: #A88A3F;
  transform: translateY(-3px);
}
#mobile-drawer .mobile-navigation li.current-menu-item > a,
#mobile-drawer .mobile-navigation li.current-menu-item > .drawer-nav-drop-wrap > a,
#mobile-drawer .mobile-navigation li.current-menu-ancestor > .drawer-nav-drop-wrap > a { color: #A14832 !important; }
#mobile-drawer .mobile-navigation li > a:active { padding-left: 6px !important; }
#mobile-drawer .drawer-nav-drop-wrap { display: flex !important; align-items: center; border: 0 !important; }
#mobile-drawer .drawer-nav-drop-wrap > a { flex: 1 1 auto; }
#mobile-drawer .drawer-sub-toggle {
  width: 44px !important; height: 44px !important; border-radius: 50% !important; border: 1px solid rgba(20,50,92,.18) !important;
  background: #fff !important; color: #14325C !important; display: grid !important; place-items: center; padding: 0 !important;
}
#mobile-drawer .drawer-sub-toggle svg { transition: transform .35s cubic-bezier(.16,1,.3,1); }
#mobile-drawer .drawer-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
/* cartes des villes : blanches sur fond ivoire */
body #mobile-drawer .hb-zb-mparent > .sub-menu > li > a { background: #fff !important; border-color: #EADFCB !important; box-shadow: 0 8px 20px rgba(20,50,92,.06); }
#mobile-drawer .hb-zb-mparent .hb-zb-city { font-size: 1.05rem !important; }

/* bloc du bas : contact */
.hb-dr-foot {
  margin: 26px -24px 0; padding: 26px 24px calc(26px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(160deg, #14325C 0%, #1D4677 100%); color: #fff; position: relative; overflow: hidden;
  border-radius: 28px 28px 0 0; margin-top: auto;
}
.hb-dr-foot::before { content: ""; position: absolute; right: -60px; bottom: -80px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(231,201,128,.35); pointer-events: none; }
.hb-dr-tag { margin: 0 0 14px !important; font-family: "HB Lora", Georgia, serif; font-style: italic; font-size: 1.05rem; color: #E7C980; }
.hb-dr-cta {
  display: flex !important; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  border-radius: 999px; background: #A14832; color: #fff !important; font-weight: 700; font-size: 1rem;
  text-decoration: none !important; box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.hb-dr-cta:active { background: #8C3B28; }
.hb-dr-links { display: grid; gap: 8px; margin-top: 16px; }
.hb-dr-links a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: .95rem; }
.hb-dr-links a span.ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #E7C980; flex: 0 0 auto; }
.hb-dr-links a span.ic svg { width: 16px; height: 16px; }

/* entrée animée */
@media (prefers-reduced-motion: no-preference) {
  #mobile-drawer .mobile-navigation > div > ul > li, #mobile-drawer .mobile-navigation > ul > li, #mobile-drawer .hb-dr-foot, #mobile-drawer .drawer-header {
    opacity: 0; transform: translate3d(26px, 0, 0);
    transition: opacity .5s ease, transform .7s cubic-bezier(.16,1,.3,1);
  }
  #mobile-drawer.active .mobile-navigation li, #mobile-drawer.active .hb-dr-foot, #mobile-drawer.active .drawer-header { opacity: 1; transform: none; }
  #mobile-drawer.active .mobile-navigation > div > ul > li:nth-child(1), #mobile-drawer.active .mobile-navigation > ul > li:nth-child(1) { transition-delay: .08s; }
  #mobile-drawer.active .mobile-navigation > div > ul > li:nth-child(2), #mobile-drawer.active .mobile-navigation > ul > li:nth-child(2) { transition-delay: .13s; }
  #mobile-drawer.active .mobile-navigation > div > ul > li:nth-child(3), #mobile-drawer.active .mobile-navigation > ul > li:nth-child(3) { transition-delay: .18s; }
  #mobile-drawer.active .mobile-navigation > div > ul > li:nth-child(4), #mobile-drawer.active .mobile-navigation > ul > li:nth-child(4) { transition-delay: .23s; }
  #mobile-drawer.active .mobile-navigation > div > ul > li:nth-child(5), #mobile-drawer.active .mobile-navigation > ul > li:nth-child(5) { transition-delay: .28s; }
  #mobile-drawer.active .hb-dr-foot { transition-delay: .34s; }
}

/* 2.3.1 — version épurée : pas de bloc du bas, pas de décor, liens plus compacts */
.hb-dr-foot { display: none !important; }
#mobile-drawer .drawer-inner::before { display: none; }
#mobile-drawer .drawer-inner { background: #FBF8F2 !important; }
#mobile-drawer .drawer-header { padding: 12px 16px 8px 22px !important; border-bottom: 1px solid rgba(20,50,92,.08); }
#mobile-drawer .hb-dr-brand img { height: 52px; }
#mobile-drawer .menu-toggle-close { width: 42px !important; height: 42px !important; box-shadow: none; }
#mobile-drawer .drawer-content { padding: 4px 22px 24px !important; }
#mobile-drawer .mobile-navigation > div > ul > li > a,
#mobile-drawer .mobile-navigation > div > ul > li > .drawer-nav-drop-wrap > a,
#mobile-drawer .mobile-navigation > ul > li > a,
#mobile-drawer .mobile-navigation > ul > li > .drawer-nav-drop-wrap > a { font-size: 1.3rem !important; padding: 15px 0 !important; }
#mobile-drawer .drawer-sub-toggle { width: 40px !important; height: 40px !important; }

