/* Approved November 2026 (2): footer titles, mobile navigation panel, compact mobile footer. Loaded after v3.css and approuve-2026.css. */

/* Desktop / wide tablet footer titles */
footer .footer-main .footer-label{font-family:'Abhaya Libre',Georgia,serif;font-weight:500;font-size:25px;line-height:1.15;letter-spacing:0;margin:0 0 14px}
.footer-mobile{display:none}

/* Mobile navigation (menu breakpoint 1200px) */
.mobile-menu{background:var(--cream);color:var(--night);gap:0;padding:8px 6% calc(32px + env(safe-area-inset-bottom));padding-left:max(6%,env(safe-area-inset-left));padding-right:max(6%,env(safe-area-inset-right));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
html body .mobile-menu{position:fixed;top:calc(76px + env(safe-area-inset-top));bottom:0;left:0;right:0;inset-block-end:0;height:auto}
.mobile-menu>a:not(.button),.mobile-menu .mobile-sub-toggle{font-family:'Abhaya Libre',Georgia,serif;font-weight:500;font-size:30px;line-height:1.15;color:var(--night);display:flex;align-items:center;justify-content:space-between;width:100%;min-height:64px;padding:12px 0;border-bottom:1px solid #10283e1f;text-decoration:none}
.mobile-menu .mobile-sub-toggle{background:none;border:0;border-bottom:1px solid #10283e1f;cursor:pointer;text-align:left}
.mobile-chevron{width:22px;height:22px;stroke:currentColor;stroke-width:1.2;transition:transform .2s;flex:none}
.mobile-sub-toggle[aria-expanded="true"] .mobile-chevron{transform:rotate(180deg)}
.mobile-sub-toggle[aria-expanded="true"]{border-bottom-color:transparent}
.mobile-menu [aria-current="page"],.mobile-sub-toggle.is-current{color:var(--gold)}
.mobile-submenu{display:flex;flex-direction:column;padding:0 0 10px 2px;border-bottom:1px solid #10283e1f}
.mobile-submenu[hidden]{display:none}
.mobile-submenu a{font-family:var(--sans);font-size:16px;font-weight:350;line-height:1.3;color:var(--ink);display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:8px 0;text-decoration:none}
.mobile-submenu a span{color:var(--gold);font-size:14px}
.mobile-submenu a:first-child{font-weight:450;color:var(--night)}
.mobile-menu a:focus-visible,.mobile-menu button:focus-visible{outline:2px solid var(--night);outline-offset:3px}
html body .mobile-menu .planity-button{align-self:stretch;justify-content:center;margin-top:28px;background:var(--night);border:1px solid var(--night);color:#fff;min-height:56px;padding:14px 18px;gap:14px}
html body .mobile-menu .planity-button:hover,html body .mobile-menu .planity-button:focus-visible{background:var(--blue);border-color:var(--blue)}
html body .mobile-menu .planity-button img{width:82px;padding-left:14px}
html body .mobile-menu .booking-label{font-size:15px}

/* Open header: deep blue bar, balanced white logo, 44px close button */
body.menu-open{position:fixed;left:0;right:0;width:100%;overflow:hidden}
body.menu-open .header{position:fixed;inset:0 0 auto;z-index:50;height:calc(76px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);background:var(--night);display:flex;justify-content:space-between;align-items:center}
body.menu-open .header .brand img{width:150px;height:56px}
body.menu-open .header .header-actions{display:none}
.menu-open .menu-toggle{width:44px;height:44px;padding:10px;display:flex;flex-direction:column;justify-content:center;align-items:center}
.menu-open .menu-toggle span{width:24px;margin:3px 0}
.menu-open .mobile-book{display:none!important}
@media(max-width:360px){.mobile-menu>a:not(.button),.mobile-menu .mobile-sub-toggle{font-size:27px;min-height:58px}}
@media(max-height:500px){html body .mobile-menu{top:calc(60px + env(safe-area-inset-top))}body.menu-open .header{height:calc(60px + env(safe-area-inset-top))}body.menu-open .header .brand img{width:130px;height:48px}.mobile-menu>a:not(.button),.mobile-menu .mobile-sub-toggle{font-size:24px;min-height:50px;padding:6px 0}html body .mobile-menu .planity-button{margin-top:18px}}

/* Compact mobile footer */
@media(max-width:760px){
  footer{padding:36px 6% calc(22px + env(safe-area-inset-bottom))!important;text-align:center}
  footer .footer-main{display:block}
  footer .footer-brand p,footer .footer-column,footer .footer-visit,footer .footer-bottom{display:none!important}
  footer .footer-logo{margin:0 auto;width:185px}
  .footer-mobile{display:flex;flex-direction:column;align-items:center;gap:22px;margin-top:22px}
  .footer-mobile .planity-button{background:transparent;border:1px solid #ffffffe6;color:#fff;gap:14px;padding:15px 18px}
  .footer-mobile .planity-button img{width:80px;padding-left:14px}
  .footer-mobile .booking-label{font-size:15px}
  .footer-mini{margin:0;display:flex;flex-direction:column;gap:4px;font-size:14px;line-height:1.6;color:#c9d5dd;padding-top:16px;border-top:1px solid #ffffff26;width:100%}
  .footer-mini a{color:#fff;text-underline-offset:4px}
  .footer-in-view .mobile-book{display:none!important}
}
.mobile-menu .mobile-submenu{gap:0;padding:0 0 10px 2px}
body.menu-open .header .brand img{width:172px;height:62px}
@media(max-height:500px){body.menu-open .header .brand img{width:140px;height:50px}}
@media(max-width:400px){.footer-mobile .planity-button{gap:10px;padding:14px 14px}.footer-mobile .planity-button img{width:72px;padding-left:10px}.footer-mobile .booking-label{font-size:14px}}
@media(max-width:350px){.footer-mobile .booking-arrow{display:none}}

/* The photo header's isolated ::before gradient previously painted above the menu (50 vs 29). */
@media(max-width:1200px){
  body.menu-open .header::before,body.menu-open .header::after{content:none}
  body.menu-open .header{box-shadow:none}
  body.menu-open .mobile-menu{z-index:49;background:var(--cream);isolation:isolate}
}

/* A single social row, shared by both footer presentations. */
footer .footer-social{display:flex;align-items:center;gap:10px;margin-top:18px;color:var(--gold)}
footer .footer-social a{display:grid;place-items:center;width:44px;height:44px;border:1px solid currentColor;border-radius:50%;transition:color .2s,background .2s}
footer .footer-social svg{width:21px;height:21px;fill:currentColor}
footer .footer-social a:hover{background:var(--gold);color:var(--night)}
footer .footer-social a:focus-visible{outline:2px solid var(--cream);outline-offset:4px}
footer .footer-pdf{font-size:14px;color:var(--gold)}
@media(min-width:761px) and (max-width:850px){footer .footer-brand{flex-wrap:wrap;gap:18px 30px}footer .footer-social{margin-top:0}}
@media(max-width:760px){footer .footer-brand{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:14px}footer .footer-social{justify-content:center;margin-top:0}.footer-mobile{margin-top:16px;gap:18px}}
.brochure-link{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--blue);font-size:16px;line-height:1.6;text-underline-offset:5px}
.care-directory-heading .brochure-link{margin-top:16px}
.brochure-link svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.4;flex:none}
.brochure-link small{font-size:14px;color:var(--muted)}
.brochure-link:focus-visible{outline:2px solid var(--gold);outline-offset:4px}

/* Equal-width copies include the trailing gap: translating half the belt is an exact loop. */
.brand-belt,.brand-set{display:contents}
.brand-duplicate,.brand-pause{display:none}
@media(max-width:760px){
  .brand-carousel{position:relative;padding-top:18px}
  .brand-track{display:block;scroll-snap-type:none;padding:6px 0}
  .brand-belt{display:flex;width:max-content}
  .brand-set:not(.brand-duplicate){display:flex;align-items:center;gap:26px;padding-right:26px}
  .brand-duplicate{align-items:center;gap:26px;padding-right:26px}
  .brand-set>span{flex:none;white-space:nowrap;line-height:1.3}
  .brand-looping .brand-track{overflow:hidden}
  .brand-looping .brand-duplicate{display:flex}
  .brand-looping .brand-belt{animation:brand-drift 38s linear infinite;animation-play-state:paused}
  .brand-running .brand-belt{animation-play-state:running}
  .brand-looping .brand-pause{display:grid;place-items:center;width:44px;height:44px;margin:4px 0 0 auto;background:transparent;color:var(--blue);border:0}
  .brand-pause svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
  .brand-pause:hover{color:var(--gold)}
  .brand-pause:focus-visible,.brand-track:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
}
@keyframes brand-drift{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.brand-looping .brand-belt{animation:none}.brand-looping .brand-duplicate{display:none}.brand-looping .brand-track{overflow-x:auto}.brand-looping .brand-pause{display:none}}

/* Texture dorée (opacité .28) : version allégée sur mobile, même cadrage */
@media (max-width:760px){.institute-moment:before,.gift-practical:before,.ec-appointment:before,.treatment-help:before{background-image:url('/assets/texture-or-1100.webp')}}
