/* Menu mobile commun — direction « Ouverture cinéma » validée. */
@font-face {
  font-family: 'LHW Menu Story'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'LHW Menu Story'; font-style: italic; font-weight: 300 500; font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'LHW Menu UI'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
}

.lhw-menu-trigger, .lhw-cinema-menu:not([open]) { display: none; }

@media (max-width: 1060px) {
  html.lhw-menu-is-open { overflow: hidden; }
  .mobile-menu[data-lhw-menu-source] { display: none !important; }

  .menu-toggle,
  .lhw-menu-trigger {
    -webkit-tap-highlight-color: transparent;
  }

  .menu-toggle:focus:not(:focus-visible),
  .lhw-menu-trigger:focus:not(:focus-visible) {
    outline: none;
  }

  /* Garder le verre dépoli du bouton flottant, sans contour ni reflet blanc. */
  .site-header.is-floating .menu-toggle {
    border: 0;
    box-shadow: 0 14px 34px rgba(20,35,32,.14);
  }

  .lhw-cinema-menu {
    --lhw-paper: #f6f5f2;
    --lhw-lake: #183833;
    --lhw-accent: #e5a18f;
    --lhw-ease: cubic-bezier(.22,1,.36,1);
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    outline: none;
    background: transparent;
    color: var(--lhw-paper);
    font-family: 'LHW Menu UI', Arial, sans-serif;
    line-height: normal;
    text-align: left;
    -webkit-font-smoothing: antialiased;
  }
  .lhw-cinema-menu::backdrop { background: transparent; }
  .lhw-cinema-menu *, .lhw-cinema-menu *::before, .lhw-cinema-menu *::after { box-sizing: border-box; }
  .lhw-cinema-menu a, .lhw-cinema-menu button { -webkit-tap-highlight-color: transparent; }
  .lhw-cinema-menu a { text-decoration: none; }
  .lhw-cinema-menu a:focus-visible, .lhw-cinema-menu button:focus-visible {
    outline: 2px solid var(--lhw-accent);
    outline-offset: 4px;
  }
  .lhw-cinema-menu__panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--lhw-lake);
    clip-path: circle(0 at var(--lhw-origin-x, calc(100% - 66px)) var(--lhw-origin-y, 42px));
    transition: clip-path 1000ms var(--lhw-ease);
  }
  .lhw-cinema-menu.is-open .lhw-cinema-menu__panel {
    clip-path: circle(var(--lhw-reveal-radius, 150vmax) at var(--lhw-origin-x, calc(100% - 66px)) var(--lhw-origin-y, 42px));
  }
  .lhw-cinema-menu.is-closing .lhw-cinema-menu__panel { transition-duration: 850ms; transition-delay: 100ms; }
  .lhw-cinema-menu__photo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 48% center;
    opacity: .4;
    transform: scale(1.14);
    transition: transform 1800ms var(--lhw-ease);
  }
  .lhw-cinema-menu.is-open .lhw-cinema-menu__photo { transform: scale(1); }
  .lhw-cinema-menu__tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(17,44,37,.76),rgba(17,44,37,.35) 58%,rgba(17,44,37,.8));
  }
  .lhw-cinema-menu__masthead {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-height: 88px;
    padding: max(19px,env(safe-area-inset-top)) max(23px,env(safe-area-inset-right)) 15px max(23px,env(safe-area-inset-left));
  }
  .lhw-cinema-menu__brand {
    padding-top: 7px;
    color: var(--lhw-paper);
    font: 400 23px/1.2 'LHW Menu Story', Georgia, serif;
    letter-spacing: .035em;
    white-space: nowrap;
  }
  .lhw-cinema-menu__close {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-width: 88px;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid rgba(246,245,242,.36);
    border-radius: 30px;
    background: transparent;
    color: var(--lhw-paper);
    font: 600 10px/1 'LHW Menu UI', Arial, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    touch-action: manipulation;
    transition: background 250ms, transform 250ms;
  }
  .lhw-cinema-menu__close:hover { background: rgba(246,245,242,.1); }
  .lhw-cinema-menu__close:active { transform: scale(.97); }
  .lhw-cinema-menu__cross { position: relative; width: 12px; height: 12px; }
  .lhw-cinema-menu__cross::before, .lhw-cinema-menu__cross::after {
    content: ''; position: absolute; left: 0; top: 5px; width: 13px; height: 1px; background: currentColor; transform: rotate(45deg);
  }
  .lhw-cinema-menu__cross::after { transform: rotate(-45deg); }
  .lhw-cinema-menu__scroll {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 29px;
    min-height: 0;
    padding: 34px max(30px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(30px,env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }
  .lhw-cinema-menu__eyebrow {
    margin: 0;
    color: rgba(246,245,242,.66);
    font-size: 9px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 2.5px;
    text-transform: uppercase;
  }
  .lhw-cinema-menu__nav { display: flex; flex-direction: column; gap: 6px; }
  .lhw-cinema-menu__line { overflow: hidden; }
  .lhw-cinema-menu__link {
    display: flex;
    align-items: center;
    min-height: 69px;
    padding: 0 2px 5px;
    color: var(--lhw-paper);
    font: 400 clamp(48px,15vw,68px)/1.03 'LHW Menu Story', Georgia, serif;
    letter-spacing: -.035em;
    text-transform: none;
    opacity: 0;
    transform: translateY(115%) rotate(4deg);
    transform-origin: left bottom;
    transition: color 220ms, transform 780ms var(--lhw-ease), opacity 500ms;
  }
  .lhw-cinema-menu__link.is-featured { color: var(--lhw-accent); font-style: italic; }
  .lhw-cinema-menu__link:hover, .lhw-cinema-menu__link[aria-current="page"] { color: var(--lhw-accent); }
  .lhw-cinema-menu__arrow { display: block; flex: none; }
  .lhw-cinema-menu__nav-arrow {
    width: 21px;
    height: 21px;
    margin-left: auto;
    opacity: 0;
    transform: translate(-8px,7px);
    transition: opacity 250ms, transform 250ms;
  }
  .lhw-cinema-menu__link:hover .lhw-cinema-menu__nav-arrow, .lhw-cinema-menu__link:focus-visible .lhw-cinema-menu__nav-arrow { opacity: 1; transform: none; }
  .lhw-cinema-menu.is-open .lhw-cinema-menu__link {
    opacity: 1;
    transform: none;
    transition-delay: 0ms, calc(300ms + var(--lhw-index) * 70ms), calc(300ms + var(--lhw-index) * 70ms);
  }
  .lhw-cinema-menu.is-closing .lhw-cinema-menu__link {
    transform: translateY(-105%) rotate(-3deg);
    transition-duration: 220ms, 330ms, 330ms;
    transition-delay: 0ms, calc((3 - var(--lhw-index)) * 28ms), calc((3 - var(--lhw-index)) * 28ms);
  }
  .lhw-cinema-menu__bottom { display: flex; flex-direction: column; gap: 22px; margin-top: auto; padding-top: 4px; }
  .lhw-cinema-menu__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 13px 19px;
    border-radius: 999px;
    background: var(--lhw-paper);
    color: var(--lhw-lake);
    font: 500 14px/1.5 'LHW Menu UI', Arial, sans-serif;
    letter-spacing: .3px;
    transition: background 250ms, transform 250ms;
  }
  .lhw-cinema-menu__cta:hover { background: white; transform: translateY(-2px); }
  .lhw-cinema-menu__cta-arrow { width: 21px; height: 21px; }
  .lhw-cinema-menu__small-arrow { width: 14px; height: 14px; }
  .lhw-cinema-menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; letter-spacing: .5px; }
  .lhw-cinema-menu__foot a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: rgba(246,245,242,.75); line-height: 1.4; }
  .lhw-cinema-menu__foot a:hover { color: var(--lhw-accent); }
  .lhw-cinema-menu__socials { display: flex; flex-wrap: wrap; gap: 0 18px; }
  .lhw-cinema-menu__languages { display: flex; gap: 12px; margin-left: auto; }
  .lhw-cinema-menu__languages a { justify-content: center; min-width: 36px; }
  .lhw-cinema-menu__languages a[aria-current="page"] { color: var(--lhw-accent); }
  .lhw-cinema-menu__reveal { opacity: 0; transform: translateY(17px); transition: transform 700ms var(--lhw-ease), opacity 500ms; }
  .lhw-cinema-menu.is-open .lhw-cinema-menu__reveal { opacity: 1; transform: none; transition-delay: var(--lhw-delay); }
  .lhw-cinema-menu.is-closing .lhw-cinema-menu__reveal { transition-duration: 220ms; transition-delay: 0ms; }

  /* Les pages légales gardent leur topbar desktop, et gagnent le même menu mobile. */
  .lhw-menu-topbar .legal-back { display: none; }
  .lhw-menu-trigger {
    display: flex; align-items: center; justify-content: center; gap: 11px;
    min-width: 88px; min-height: 44px; padding: 0 13px;
    border: 1px solid rgba(255,255,255,.5); border-radius: 30px;
    background: rgba(20,22,21,.12); color: inherit;
    font: 600 10px/1 'LHW Menu UI', Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
  }
  .lhw-menu-trigger__bars { width: 15px; height: 7px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
  .lhw-menu-trigger:focus-visible { outline: 2px solid #e5a18f; outline-offset: 4px; }
}

@media (max-width: 1060px) and (max-height: 690px) {
  .lhw-cinema-menu__masthead { min-height: 78px; }
  .lhw-cinema-menu__scroll { padding-top: 12px; padding-bottom: max(14px,env(safe-area-inset-bottom)); gap: 16px; }
  .lhw-cinema-menu__link { min-height: 60px; font-size: 55px; }
  .lhw-cinema-menu__bottom { gap: 13px; }
}
@media (max-width: 350px) {
  .lhw-cinema-menu__masthead { padding-left: max(18px,env(safe-area-inset-left)); padding-right: max(18px,env(safe-area-inset-right)); }
  .lhw-cinema-menu__scroll { padding-left: max(24px,env(safe-area-inset-left)); padding-right: max(24px,env(safe-area-inset-right)); }
  .lhw-cinema-menu__brand { font-size: 21px; }
  .lhw-cinema-menu__close { min-width: 82px; font-size: 9px; }
  .lhw-cinema-menu__foot { letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lhw-cinema-menu *, .lhw-cinema-menu *::before, .lhw-cinema-menu *::after { transition: none !important; animation: none !important; }
  .lhw-cinema-menu__photo { transform: none; }
}
