/* OBD AVOCATS — Navigation mobile V11 raffinée. Isolée du méga-menu desktop. */
@media (max-width:1100px) {
  body.obd-mobile-open{overflow:hidden;touch-action:pan-y}
  body.obd-mobile-open::after{content:"";position:fixed;inset:0;background:rgba(10,21,28,.54);z-index:1080;pointer-events:auto}
  body.obd-mobile-open .obd-header{z-index:1200!important;overflow:visible!important}
  .obd-header{overflow:visible}
  .obd-header .obd-mobile-toggle{position:relative;z-index:2}
  .obd-header .obd-mobile-toggle span{transform-origin:center;transition:transform .25s,opacity .2s}
  .obd-header .obd-mobile-toggle[aria-expanded="true"] span:first-child{transform:translateY(6.7px) rotate(45deg)}
  .obd-header .obd-mobile-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .obd-header .obd-mobile-toggle[aria-expanded="true"] span:last-child{transform:translateY(-6.7px) rotate(-45deg)}
  .obd-header .obd-mobile-nav:not([hidden]) {
    display:flex!important;
    flex-direction:column!important;
    position:absolute!important;
    top:100%!important;left:0!important;right:0!important;
    z-index:3!important;width:100%!important;
    box-sizing:border-box!important;
    max-height:calc(100dvh - 98px)!important;
    padding:0!important;margin:0!important;
    overflow:auto!important;overscroll-behavior:contain;
    background:#f9f7f2!important;
    border:0!important;border-top:1px solid #ded8cc!important;
    box-shadow:0 24px 45px #0d182033;
    -webkit-overflow-scrolling:touch;
    animation:obd-mobile-slide .27s cubic-bezier(.2,.8,.2,1) both;
  }
  @keyframes obd-mobile-slide{from{opacity:.5;transform:translateY(-9px)}to{opacity:1;transform:translateY(0)}}
  .obd-mobile-nav[hidden],.obd-mobile-submenu[hidden]{display:none!important}
  .obd-header .obd-mobile-drawer-top{
    flex:none;display:flex;align-items:center;justify-content:space-between;gap:15px;
    padding:20px clamp(20px,5vw,34px) 18px;
    border-bottom:1px solid #ded9cf;
    background:#f9f7f2;
  }
  .obd-mobile-drawer-top>span{
    display:flex;align-items:center;gap:7px;
    font:700 10px/1.3 'DM Sans',sans-serif;
    letter-spacing:.18em;color:#9a805c;
  }
  .obd-mobile-drawer-dot{height:3px;width:3px;border-radius:50%;background:#bda580}
  .obd-header .obd-mobile-drawer-top a{
    display:inline-flex;align-items:center;gap:6px;
    font:700 10px/1.3 'DM Sans',sans-serif;color:#1b303a!important;
    letter-spacing:.06em;text-decoration:none!important;white-space:nowrap;
  }
  .obd-mobile-drawer-top a svg{width:16px;height:16px}
  .obd-mobile-drawer-links{padding:5px clamp(20px,5vw,34px) 9px}
  .obd-header .obd-mobile-main-link,
  .obd-header .obd-mobile-expander{
    appearance:none;display:flex!important;width:100%!important;
    align-items:center;justify-content:space-between;gap:16px;
    padding:17px 0!important;margin:0!important;min-height:61px!important;
    border:0!important;border-bottom:1px solid #ded9cf!important;
    border-radius:0!important;background:transparent!important;
    color:#1c303b!important;text-decoration:none!important;
    font:600 20px/1.32 'DM Sans',sans-serif!important;
    letter-spacing:-.035em!important;text-transform:none!important;
    box-shadow:none!important;text-align:left!important;cursor:pointer;
  }
  .obd-header .obd-mobile-main-link:hover,.obd-header .obd-mobile-expander:hover{color:#9c7b53!important}
  .obd-mobile-main-link svg{width:16px;height:16px;color:#9b8566;flex:none}
  .obd-mobile-chevron{color:#a58b68;flex:none;transition:transform .26s}
  .obd-mobile-expander[aria-expanded="true"] .obd-mobile-chevron{transform:rotate(180deg)}
  .obd-header .obd-mobile-expander[aria-expanded="true"]{color:#9c7b53!important;border-bottom-color:#c8b699!important}
  .obd-header .obd-mobile-submenu:not([hidden]){
    display:flex!important;flex-direction:column!important;
    margin:0 -12px 10px!important;padding:9px 12px 8px!important;
    background:#eee9e0!important;border:0!important;border-left:2px solid #b89e78!important;
    box-sizing:border-box;animation:obd-mobile-subfade .23s ease-out both;
  }
  @keyframes obd-mobile-subfade{from{opacity:.5;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
  .obd-mobile-subtitle{display:flex;justify-content:space-between;align-items:center;gap:14px;
    padding:7px 5px 10px;color:#8e795d;font:700 9px/1.4 'DM Sans',sans-serif;letter-spacing:.1em}
  .obd-header .obd-mobile-specialty{
    display:grid!important;grid-template-columns:23px minmax(0,1fr) 16px;
    gap:13px;align-items:center;
    padding:13px 5px!important;margin:0!important;
    min-height:48px!important;
    border:0!important;border-bottom:1px solid #d6cebf!important;
    color:#243741!important;background:transparent!important;
    text-decoration:none!important;
    font:600 13px/1.35 'DM Sans',sans-serif!important;
    letter-spacing:0!important;
    box-sizing:border-box;
  }
  .obd-header .obd-mobile-specialty:last-child{border-bottom:0!important}
  .obd-header .obd-mobile-specialty:hover,.obd-header .obd-mobile-specialty:focus-visible{color:#99794e!important;background:#ffffff68!important}
  .obd-mobile-specialty-num{font:400 16px/1 'Instrument Serif',Georgia,serif;color:#a4865f}
  .obd-mobile-specialty-title{min-width:0}
  .obd-mobile-specialty svg{width:15px;height:15px;color:#a4865f}
  .obd-header .obd-mobile-drawer-bottom{flex:none;display:flex;flex-direction:column;gap:8px;
    padding:20px clamp(20px,5vw,34px) 25px;background:#172a34;color:#f4eee5}
  .obd-mobile-drawer-bottom>span{font:700 9px/1.5 'DM Sans',sans-serif;letter-spacing:.13em;color:#c2a77e}
  .obd-header .obd-mobile-drawer-bottom>a{color:#fff!important;text-decoration:none;font:400 26px/1.2 'Instrument Serif',Georgia,serif}
  .obd-mobile-drawer-bottom>small{color:#b5c2c6;font:600 9px/1.4 'DM Sans',sans-serif;letter-spacing:.1em}
  body.obd-mobile-open .obd-bottom-bar{visibility:hidden;pointer-events:none}
}
/* Barre d'actions mobile V11 — plus légère, sans empiéter sur le contenu. */
@media (max-width:760px){
  body.obd-site .obd-bottom-bar{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;box-sizing:border-box!important;
    padding:6px 12px calc(7px + env(safe-area-inset-bottom))!important;
    background:#fbf9f5!important;
    border-top:1px solid #cdbb9c!important;
    box-shadow:0 -5px 22px rgba(14,27,35,.10)!important;
  }
  body.obd-site .obd-bottom-bar a{
    display:flex!important;flex-direction:row!important;
    align-items:center!important;justify-content:center!important;
    gap:7px!important;min-width:0!important;min-height:48px!important;
    padding:0 3px!important;border-radius:2px!important;
    font:700 11px/1.1 'DM Sans',sans-serif!important;
    letter-spacing:0!important;white-space:nowrap!important;
    color:#20343d!important;background:transparent!important;
    text-decoration:none!important;
  }
  body.obd-site .obd-bottom-bar a:first-child{
    background:#14252f!important;color:#fbf8f1!important;
  }
  body.obd-site .obd-bottom-bar svg{
    width:18px!important;height:18px!important;
    flex:none!important;stroke-width:1.7!important
  }
  body.obd-site{padding-bottom:calc(70px + env(safe-area-inset-bottom))!important}
  body.obd-mobile-open .obd-bottom-bar{visibility:hidden!important;pointer-events:none!important}
}
@media (max-width:440px){
  .obd-header .obd-mobile-nav:not([hidden]){max-height:calc(100dvh - 80px)!important}
  .obd-header .obd-mobile-main-link,.obd-header .obd-mobile-expander{min-height:57px!important;padding:14px 0!important;font-size:19px!important}
}
@media (prefers-reduced-motion:reduce){
  .obd-header .obd-mobile-nav:not([hidden]),
  .obd-header .obd-mobile-submenu:not([hidden]){animation:none!important}
}
/* Barre mobile 3 acces : Nice, Luxembourg, Contact — 2026-11-19 */
@media (max-width:760px){
 body.obd-site .obd-bottom-bar{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  padding:6px 10px calc(6px + env(safe-area-inset-bottom))!important;
  background:#fbf9f5!important;
  border-top:1px solid #c9b796!important;
 }
 body.obd-site .obd-bottom-bar a,
 body.obd-site .obd-bottom-bar a:first-child{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  min-height:57px!important;
  min-width:0!important;
  padding:6px 3px!important;
  border-radius:0!important;
  background:transparent!important;
  color:#172a34!important;
  font:700 11px/1.2 'DM Sans',sans-serif!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
 }
 body.obd-site .obd-bottom-bar a:nth-child(2){
  border-left:1px solid #e1d7c8!important;
  border-right:1px solid #e1d7c8!important;
 }
 body.obd-site .obd-bottom-bar a:last-child{color:#9b7445!important}
 body.obd-site .obd-bottom-bar svg{
  width:21px!important;
  height:21px!important;
  stroke-width:1.7!important;
 }
 body.obd-site .obd-bottom-bar a:focus-visible{
  outline:2px solid #b69a72!important;
  outline-offset:-3px!important;
 }
 body.obd-site{padding-bottom:calc(83px + env(safe-area-inset-bottom))!important}
}

 
/* Bottom bar: masquée au départ, visible uniquement une fois le hero dépassé. */
@media(max-width:760px){
 body.obd-site .obd-bottom-bar:not(.is-visible){
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translateY(110%)!important;
 }
 body.obd-site .obd-bottom-bar.is-visible{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translateY(0)!important;
 }
 body.obd-site .obd-bottom-bar{
  transition:transform .3s ease,opacity .25s ease,visibility .25s!important;
 }
 body.obd-site.obd-mobile-open .obd-bottom-bar.is-visible{
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translateY(110%)!important;
 }
 body.obd-site.page-id-25,
 body.obd-site.page-id-27,
 body.obd-site.page-id-28,
 body.obd-site.page-id-29{
  padding-bottom:0!important;
 }
 body.obd-site.page-id-25 .obd-footer,
 body.obd-site.page-id-27 .obd-footer,
 body.obd-site.page-id-28 .obd-footer,
 body.obd-site.page-id-29 .obd-footer{
  padding-bottom:45px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.obd-site .obd-bottom-bar{transition:none!important}
}
