/* =====================================================================
   Le Cosy — v3 « brasserie parisienne × luxe contemporain »
   Noir profond, anthracite, crème, beige, brun et or discret.
   Antonio (titres monumentaux) · Mulish (texte) · Reenie Beanie (signature)
   ===================================================================== */
body.x {
  --x-noir: #0f0d0b; --x-anth: #1c1915; --x-anth2: #26221d; --x-creme: #f3ede2; --x-blanc: #faf7f1;
  --x-beige: #dcc9ab; --x-brun: #5a4231; --x-or: #b48a46; --x-or2: #d3b071; --x-ink: #1c1915;
  --x-mute: #6b5e50; --x-mute-d: #b9ad9c; --x-line-d: rgba(211, 176, 113, .22); --x-line-l: rgba(28, 25, 21, .14);
  --x-disp: "Antonio", "Arial Narrow", "Roboto Condensed", sans-serif;
  --x-body: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --x-sig: "Reenie Beanie", "Bradley Hand", cursive;
  --x-ease: cubic-bezier(.22, .9, .18, 1); --x-ease-io: cubic-bezier(.7, 0, .2, 1);
  --x-pad: clamp(20px, 5vw, 72px); --x-head-h: 76px;
  /* les pages historiques héritent de la nouvelle identité */
  --display: var(--x-disp); --sans: var(--x-body); --muli: var(--x-body); --gold: var(--x-or2); --gold-2: #e4c993; --ink: var(--x-noir); --cocoa: var(--x-anth);
  background: var(--x-noir); color: var(--x-creme); font: 400 17px/1.65 var(--x-body);
}
body.x h1, body.x h2, body.x h3 { font-family: var(--x-disp); font-weight: 300; letter-spacing: .01em; }
body.x .x-sr, .x-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.x main { display: block; outline: none; }
body.x :focus-visible { outline: 2px solid var(--x-or2); outline-offset: 3px; border-radius: 3px; }
.x-wrap { max-width: 1360px; margin: 0 auto; padding-inline: var(--x-pad); }
.x-kick { font: 600 .9rem/1.2 var(--x-body); color: var(--x-or); margin: 0 0 1rem; letter-spacing: .02em; }
.x-h1 { font-size: clamp(64px, 11vw, 190px); line-height: .88; margin: 0 0 .25em; font-weight: 200 !important; }
.x-h2 { font-size: clamp(46px, 7vw, 116px); line-height: .9; margin: 0; font-weight: 250 !important; }
.x-h3 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1; margin: 2.5rem 0 1.2rem; font-weight: 300 !important; }
.x-lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; max-width: 640px; margin: 1.2rem 0 0; }
.x-small { font-size: .9rem; color: var(--x-mute-d); }
.x-empty { font-size: 1.1rem; padding: 2rem 0; }
.x-center { text-align: center; margin-top: 2rem; }
.x-row-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(28px, 4vw, 56px); }
.x-more { font-weight: 700; display: inline-flex; align-items: center; gap: .5em; }

/* ---------- Liens : soulignement qui se dessine ---------- */
.x-ul { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--x-ease), color .3s; padding-bottom: 2px; }
.x-ul:hover, .x-ul:focus-visible { background-size: 100% 1px; color: var(--x-or2); }
.x-ul[aria-current="page"] { background-size: 100% 1px; }
.x-arrow { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--x-ease); }
a:hover > .x-arrow, a:hover .x-arrow, button:hover .x-arrow { transform: translateX(5px); }
.x-back .x-arrow { transform: rotate(180deg); }
.x-back:hover .x-arrow { transform: rotate(180deg) translateX(5px); }

/* ---------- Boutons magnétiques ---------- */
.x-btn { --bg: transparent; --fg: currentColor; position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; font: 700 .98rem/1 var(--x-body); text-decoration: none; color: var(--fg); background: var(--bg); border: 1px solid transparent; overflow: hidden; isolation: isolate; cursor: pointer; will-change: transform; transition: color .4s var(--x-ease), border-color .4s; }
.x-btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--fill, var(--x-creme)); transform: translateY(101%); transition: transform .55s var(--x-ease); }
.x-btn:hover::before, .x-btn:focus-visible::before { transform: none; }
.x-btn-in { display: inline-flex; align-items: center; gap: .7em; pointer-events: none; will-change: transform; }
.x-btn-gold { --bg: var(--x-or2); --fg: var(--x-noir); --fill: var(--x-creme); }
.x-btn-gold:hover { color: var(--x-noir); }
.x-btn-line { border-color: currentColor; --fill: var(--x-creme); }
.x-btn-line:hover { color: var(--x-noir); border-color: var(--x-creme); }
.x-btn-sm { min-height: 44px; padding: 0 20px; font-size: .9rem; }
.x-btn[hidden] { display: none; }

/* ---------- Bandeau, en-tête ---------- */
.x-banner { position: relative; z-index: 61; background: var(--x-anth); color: var(--x-or2); text-align: center; font-size: .85rem; padding: .55em var(--x-pad); }
.x-banner p { margin: 0; }
.x-head { position: fixed; z-index: 60; left: 0; right: 0; top: var(--x-bh, 0px); height: var(--x-head-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--x-pad); color: var(--x-creme); transition: transform .6s var(--x-ease), background-color .5s, top .2s; }
.x-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 13, 11, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .5s; }
.x-head.is-scrolled::before { opacity: 1; }
.x-head.is-hidden { transform: translateY(-110%); }
body.menu-open .x-head { transform: none; }
body.menu-open .x-head::before { opacity: 0; }
.x-logo { display: inline-flex; flex-direction: column; align-items: flex-start; color: inherit; text-decoration: none; line-height: 1; }
.x-logo-w { font: 200 30px/1 var(--x-disp); letter-spacing: .32em; margin-right: -.32em; }
.x-logo-s { font: 400 19px/1 var(--x-sig); color: var(--x-or2); margin-top: 1px; }
.x-quick { display: flex; gap: 32px; font-weight: 600; font-size: .95rem; }
.x-head-r { display: flex; align-items: center; gap: 14px; }
.x-burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; min-width: 44px; min-height: 44px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; padding: 0 0 0 56px; font: 600 .9rem/1 var(--x-body); }
.x-burger-l { display: block; width: 26px; height: 1.5px; background: currentColor; transition: transform .5s var(--x-ease), width .4s; }
.x-burger-l + .x-burger-l { width: 18px; }
.x-burger:hover .x-burger-l + .x-burger-l { width: 26px; }
.x-burger-t { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
body.menu-open .x-burger-l { width: 26px; }
body.menu-open .x-burger-l:first-child { transform: translateY(3.75px) rotate(45deg); }
body.menu-open .x-burger-l + .x-burger-l { transform: translateY(-3.75px) rotate(-45deg); }
@media (max-width: 1000px) { .x-quick { display: none; } }
@media (max-width: 560px) { .x-head-r .x-btn { display: none; } .x-burger { padding-left: 52px; } }

/* ---------- Menu plein écran ---------- */
.x-menu { position: fixed; inset: 0; z-index: 55; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); background: var(--x-noir); color: var(--x-creme); clip-path: circle(0 at var(--mx, 95%) var(--my, 40px)); transition: clip-path .9s var(--x-ease-io); }
.x-menu[hidden] { display: none; }
.x-menu.is-open { clip-path: circle(150% at var(--mx, 95%) var(--my, 40px)); }
.x-menu-media { position: relative; overflow: hidden; }
.x-menu-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .7s, transform 1.4s var(--x-ease); filter: brightness(.82); }
.x-menu-media img.is-on { opacity: 1; transform: scale(1); }
.x-menu-nav { display: flex; align-items: center; padding: calc(var(--x-head-h) + 20px) var(--x-pad) 140px; }
.x-menu-nav ol { list-style: none; margin: 0; padding: 0; width: 100%; }
.x-menu-nav li { overflow: hidden; }
.x-menu-nav a { display: flex; align-items: baseline; gap: 22px; color: inherit; text-decoration: none; padding: .05em 0; transform: translateY(105%); transition: transform .9s var(--x-ease), opacity .4s, color .3s; }
.x-menu.is-open .x-menu-nav a { transform: none; }
.x-menu.is-open li:nth-child(2) a { transition-delay: .06s; } .x-menu.is-open li:nth-child(3) a { transition-delay: .12s; } .x-menu.is-open li:nth-child(4) a { transition-delay: .18s; } .x-menu.is-open li:nth-child(5) a { transition-delay: .24s; }
.x-menu-n { font: 600 .85rem/1 var(--x-body); color: var(--x-or); }
.x-menu-l { font: 200 clamp(46px, 7.2vw, 112px)/1.02 var(--x-disp); transition: transform .6s var(--x-ease); }
.x-menu-nav ol:hover a { opacity: .35; }
.x-menu-nav ol:hover a:hover, .x-menu-nav a:focus-visible { opacity: 1; }
.x-menu-nav a:hover .x-menu-l, .x-menu-nav a:focus-visible .x-menu-l { transform: translateX(28px); color: var(--x-or2); }
.x-menu-nav a[aria-current="page"] .x-menu-l { font-style: italic; }
.x-menu-foot { position: absolute; right: var(--x-pad); bottom: 36px; display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: .95rem; color: var(--x-mute-d); opacity: 0; transition: opacity .6s .35s; }
.x-menu-foot p { margin: 0; }
.x-menu.is-open .x-menu-foot { opacity: 1; }
@media (max-width: 820px) {
  .x-menu { grid-template-columns: 1fr; }
  .x-menu-media { position: absolute; inset: 0; opacity: .28; }
  .x-menu-nav { position: relative; align-items: flex-end; padding-bottom: 150px; }
  .x-menu-l { font-size: clamp(44px, 13vw, 72px); }
  .x-menu-nav a { padding: .12em 0; }
  .x-menu-foot { left: var(--x-pad); right: auto; flex-direction: column; }
}
body.menu-open { overflow: hidden; }

/* ---------- Curseur personnalisé (souris uniquement) ---------- */
.x-cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) { html.js .x-cursor { display: block; } }
.x-cursor-dot, .x-cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.x-cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--x-or2); mix-blend-mode: difference; }
.x-cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(211, 176, 113, .6); display: flex; align-items: center; justify-content: center; transition: width .45s var(--x-ease), height .45s var(--x-ease), margin .45s var(--x-ease), background-color .4s, border-color .4s, opacity .3s; }
.x-cursor.is-link .x-cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--x-or2); }
.x-cursor.is-text .x-cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--x-creme); border-color: var(--x-creme); }
.x-cursor-label { font: 700 .82rem/1 var(--x-body); color: var(--x-noir); opacity: 0; transition: opacity .3s; }
.x-cursor.is-text .x-cursor-label { opacity: 1; }
.x-cursor.is-text .x-cursor-dot, .x-cursor.is-hidden { opacity: 0; }

/* ---------- Transition entre les pages ---------- */
.x-veil { position: fixed; inset: 0; z-index: 500; background: var(--x-noir); transform: translateY(100%); pointer-events: none; }
.x-veil.is-in { transition: transform .6s var(--x-ease-io); transform: none; }
html.js body.x main { animation: x-enter .9s var(--x-ease) both; }
@keyframes x-enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
html.js body.page-home main { animation: none; }

/* ---------- Texte révélé mot à mot ---------- */
.x-sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.x-sw > span { display: inline-block; transform: translateY(108%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--x-ease); transition-delay: calc(var(--i, 0) * 55ms); }
.is-in .x-sw > span, .x-sw.is-in > span { transform: none; }
html:not(.js) .x-sw > span { transform: none; }
[data-reveal] { transition: opacity 1s var(--x-ease), transform 1s var(--x-ease); }
html.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(40px); }

/* ---------- Intro (une fois par visite) ---------- */
.x-intro { display: none; }
html.js:not(.intro-seen) body.page-home .x-intro { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: var(--x-creme); color: var(--x-noir); }
.x-intro.is-leaving { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--x-ease-io); }
.x-intro-word { margin: 0; display: flex; gap: .06em; font: 200 clamp(96px, 20vw, 300px)/.82 var(--x-disp); letter-spacing: .08em; }
.x-intro-l { display: inline-block; overflow: hidden; }
.x-intro-l > span { display: inline-block; transform: translateY(110%) rotate(8deg) scaleY(1.3); transform-origin: left bottom; filter: blur(6px); transition: transform 1.2s var(--x-ease), filter 1s; }
.x-intro.is-on .x-intro-l > span { transform: none; filter: none; }
.x-intro.is-on .x-intro-l[data-i="1"] > span { transition-delay: .1s; } .x-intro.is-on .x-intro-l[data-i="2"] > span { transition-delay: .2s; } .x-intro.is-on .x-intro-l[data-i="3"] > span { transition-delay: .3s; }
.x-intro-line { width: min(70vw, 760px); height: 1px; background: var(--x-or); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--x-ease-io) .55s; }
.x-intro.is-on .x-intro-line { transform: none; }
.x-intro-sub { margin: 0; font: 400 clamp(26px, 3vw, 40px)/1 var(--x-sig); color: var(--x-brun); opacity: 0; transition: opacity .8s .9s; }
.x-intro.is-on .x-intro-sub { opacity: 1; }

/* ---------- Hero ---------- */
.x-hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--x-noir); color: var(--x-creme); }
.x-hero-media { position: absolute; inset: -4%; will-change: transform; transform: scale(1.22); transition: transform 2.4s var(--x-ease); }
body.is-ready .x-hero-media { transform: scale(1); }
.x-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.06); }
.x-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 13, 11, .55) 0%, rgba(15, 13, 11, 0) 26%), linear-gradient(0deg, rgba(15, 13, 11, .92) 0%, rgba(15, 13, 11, .25) 46%, rgba(15, 13, 11, 0) 70%); }
.x-hero-in { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; padding: 0 var(--x-pad) clamp(70px, 9vh, 110px); }
.x-hero-word { margin: 0; font: 200 clamp(120px, 26vw, 430px)/.76 var(--x-disp) !important; letter-spacing: .04em; will-change: transform; }
.x-hl { display: inline-block; overflow: hidden; padding-top: .04em; }
.x-hl > span { display: inline-block; transform: translateY(105%); transition: transform 1.5s var(--x-ease); }
body.is-ready .x-hl > span { transform: none; }
body.is-ready .x-hl:nth-child(2) > span { transition-delay: .08s; } body.is-ready .x-hl:nth-child(3) > span { transition-delay: .16s; } body.is-ready .x-hl:nth-child(4) > span { transition-delay: .24s; }
.x-hero-side { max-width: 430px; padding-bottom: 1.4vw; will-change: transform; opacity: 0; transform: translateY(30px); transition: opacity 1.2s .5s, transform 1.2s .5s var(--x-ease); }
body.is-ready .x-hero-side { opacity: 1; transform: none; }
.x-hero-sig { margin: 0 0 .4rem; font: 400 clamp(30px, 2.8vw, 42px)/1 var(--x-sig); color: var(--x-or2); }
.x-hero-lead { margin: 0 0 1.4rem; font-size: 1.08rem; }
.x-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.x-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--x-creme); text-decoration: none; font-size: .82rem; font-weight: 600; }
.x-scroll-bar { width: 1px; height: 48px; background: rgba(243, 237, 226, .25); overflow: hidden; }
.x-scroll-bar span { display: block; width: 1px; height: 100%; background: var(--x-or2); animation: x-drip 2.2s var(--x-ease-io) infinite; }
@keyframes x-drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 760px) { .x-hero-in { padding-bottom: 96px; } .x-hero-word { font-size: 34vw !important; } .x-scroll { display: none; } }

/* ---------- Manifeste : mots qui s'allument au défilement ---------- */
.x-mani { background: var(--x-creme); color: var(--x-ink); padding: clamp(110px, 16vw, 230px) 0; }
.x-mani .x-kick { color: var(--x-brun); }
.x-mani-t { margin: 0; max-width: 1180px; font: 300 clamp(30px, 4.3vw, 70px)/1.08 var(--x-disp); }
.x-mw { display: inline; opacity: .16; transition: opacity .35s; }
.x-mw.is-lit { opacity: 1; }
html:not(.js) .x-mw { opacity: 1; }
.x-charter { list-style: none; padding: 0; margin: clamp(48px, 7vw, 96px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--x-line-l); }
.x-charter li { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--x-line-l); font-size: 1.02rem; }

/* ---------- Titre-fenêtre : on traverse les lettres ---------- */
.x-window { position: relative; height: 280vh; background: var(--x-noir); }
.x-window-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.x-window-photo { position: absolute; inset: 0; opacity: 0; }
.x-window-photo img { width: 100%; height: 100%; object-fit: cover; }
.x-window-txt { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; font: 700 clamp(90px, 19vw, 330px)/.82 var(--x-disp); text-transform: uppercase; letter-spacing: -.01em; color: var(--x-creme); background-size: cover; background-position: center; -webkit-background-clip: text; background-clip: text; will-change: transform; transform-origin: 50% 54%; }
.x-window-txt.has-bg { color: transparent; }
@media (prefers-reduced-motion: reduce) { .x-window { height: auto; } .x-window-pin { position: relative; height: 70vh; } }

/* ---------- Une journée au Cosy ---------- */
.x-day { position: relative; height: 560vh; }
.x-day-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0 clamp(28px, 5vw, 80px); align-items: center; padding: calc(var(--x-head-h) + 10px) var(--x-pad) 90px; background: #f3ede2; color: #1c1915; }
.x-day-h { margin: 0 0 1rem; font: 400 clamp(30px, 2.6vw, 42px)/1 var(--x-sig) !important; color: var(--x-or); letter-spacing: 0; }
.x-day-hours { height: 1em; overflow: hidden; font: 200 clamp(96px, 14vw, 230px)/1 var(--x-disp); letter-spacing: -.01em; }
.x-day-roll { display: flex; flex-direction: column; transition: transform 1s var(--x-ease); }
.x-day-roll span { height: 1em; display: block; }
.x-day-texts { position: relative; min-height: 210px; margin-top: 1.2rem; }
.x-day-t { position: absolute; inset: 0 auto auto 0; max-width: 520px; opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .9s var(--x-ease); pointer-events: none; }
.x-day-t.is-on { opacity: 1; transform: none; pointer-events: auto; }
.x-day-t h3 { margin: 0 0 .6rem; font-size: clamp(34px, 3.4vw, 56px); line-height: 1; font-weight: 300; }
.x-day-t p { margin: 0; font-size: 1.1rem; }
.x-day-media { position: relative; height: min(70vh, 720px); border-radius: 4px; overflow: hidden; }
.x-day-media img, .x-day-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.15); transition: clip-path 1.2s var(--x-ease-io), transform 2s var(--x-ease); }
.x-day-ph { background: var(--x-brun); }
.x-day-media .is-on { clip-path: inset(0 0 0 0); transform: none; z-index: 2; }
.x-day-media .is-past { clip-path: inset(0 0 0 0); z-index: 1; }
.x-day-rail { position: absolute; left: var(--x-pad); right: var(--x-pad); bottom: 28px; display: flex; justify-content: space-between; border-top: 1px solid currentColor; }
.x-day-rail button { position: relative; background: none; border: 0; color: inherit; font: 600 .95rem/1 var(--x-body); padding: 16px 4px 4px; min-height: 44px; cursor: pointer; opacity: .55; transition: opacity .3s; }
.x-day-rail button.is-on { opacity: 1; }
.x-day-prog { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--x-or); transform-origin: left; transform: scaleX(0); }
@media (max-width: 860px) {
  .x-day { height: auto; }
  .x-day-pin { position: relative; height: auto; display: block; padding: 90px var(--x-pad) 40px; }
  .x-day-hours, .x-day-rail { display: none; }
  .x-day-texts { min-height: 0; }
  .x-day-t { position: relative; opacity: 1; transform: none; margin: 0 0 1rem; }
  .x-day-media { height: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 1.4rem; }
  .x-day-media img, .x-day-ph { position: relative; height: 56vh; clip-path: none; transform: none; scroll-snap-align: start; border-radius: 4px; }
}

/* ---------- Les cinq espaces ---------- */
.x-spaces { position: relative; height: 320vh; background: var(--x-noir); color: var(--x-creme); }
.x-spaces-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3.5vh, 44px); padding-top: var(--x-head-h); }
.x-spaces-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; width: 100%; }
.x-spaces-hint { margin: 0; color: var(--x-mute-d); font-size: .95rem; }
.x-spaces-track { display: flex; padding: 0 var(--x-pad); width: max-content; will-change: transform; }
.x-space { position: relative; flex: none; width: clamp(280px, 30vw, 460px); height: min(62vh, 640px); margin-left: -70px; border: 0; padding: 0; border-radius: 4px; overflow: hidden; background: var(--x-anth); color: var(--x-creme); text-align: left; cursor: pointer; box-shadow: -30px 0 60px rgba(0, 0, 0, .45); transform: translateY(var(--ty, 0)) rotate(var(--rot, 0deg)); transition: transform .9s var(--x-ease), opacity .6s, filter .6s, margin .9s var(--x-ease); }
.x-space:first-child { margin-left: 0; }
.x-space:nth-child(2) { --ty: 26px; --rot: 1.2deg; } .x-space:nth-child(3) { --ty: -14px; --rot: -1deg; } .x-space:nth-child(4) { --ty: 34px; --rot: .8deg; } .x-space:nth-child(5) { --ty: 4px; --rot: -1.4deg; }
.x-spaces-track:hover .x-space { opacity: .45; filter: saturate(.4); }
.x-spaces-track .x-space:hover, .x-spaces-track .x-space:focus-visible { opacity: 1; filter: none; z-index: 5; transform: translateY(-10px) scale(1.04) rotate(0deg); }
.x-spaces-track .x-space:hover + .x-space { margin-left: 30px; }
.x-space-media, .x-space-ph { position: absolute; inset: 0; }
.x-space-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--x-ease); }
.x-space:hover .x-space-media img { transform: scale(1.02); }
.x-space::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 13, 11, .88) 0%, rgba(15, 13, 11, .1) 55%); }
.x-space-n { position: absolute; z-index: 2; top: 18px; left: 22px; font: 600 .85rem/1 var(--x-body); color: var(--x-or2); }
.x-space-name { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; font: 200 clamp(36px, 3.4vw, 58px)/.95 var(--x-disp); transition: transform .8s var(--x-ease); }
.x-space-more { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 4px; font-size: .95rem; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .8s var(--x-ease); }
.x-space:hover .x-space-name, .x-space:focus-visible .x-space-name { transform: translateY(-92px); }
.x-space:hover .x-space-more, .x-space:focus-visible .x-space-more { opacity: 1; transform: none; }
.x-space-more span:first-child { color: var(--x-or2); font-weight: 700; }
@media (max-width: 820px), (prefers-reduced-motion: reduce) {
  .x-spaces { height: auto; padding: 100px 0 60px; }
  .x-spaces-pin { position: relative; height: auto; padding-top: 0; }
  .x-spaces-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 12px; transform: none !important; -webkit-overflow-scrolling: touch; }
  .x-space { width: min(80vw, 460px); height: 64vh; margin-left: 0; scroll-snap-align: center; --ty: 0 !important; --rot: 0deg !important; box-shadow: none; }
  .x-spaces-track:hover .x-space { opacity: 1; filter: none; }
  .x-space .x-space-name { transform: translateY(-80px); }
  .x-space .x-space-more { opacity: 1; transform: none; }
}

/* ---------- Fiche plein écran (transition partagée) ---------- */
.x-sheet { position: fixed; inset: 0; z-index: 320; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: transparent; color: var(--x-creme); }
.x-sheet-bg { position: absolute; inset: 0; background: var(--x-noir); opacity: 0; transition: opacity .6s; }
.x-sheet.is-open .x-sheet-bg { opacity: 1; }
.x-sheet-img { position: fixed; z-index: 1; overflow: hidden; border-radius: 4px; will-change: transform, left, top, width, height; }
.x-sheet-img img { width: 100%; height: 100%; object-fit: cover; }
.x-sheet-panel { position: relative; z-index: 2; grid-column: 2; height: 100vh; overflow: auto; padding: calc(var(--x-head-h) + 30px) var(--x-pad) 60px; display: flex; flex-direction: column; justify-content: center; gap: 0; opacity: 0; transform: translateX(40px); transition: opacity .6s .25s, transform .9s .25s var(--x-ease); }
.x-sheet.is-open .x-sheet-panel { opacity: 1; transform: none; }
.x-sheet.no-img { grid-template-columns: 1fr; }
.x-sheet.no-img .x-sheet-panel { grid-column: 1; max-width: 760px; margin: 0 auto; width: 100%; }
.x-sheet-k { color: var(--x-or2); font-weight: 600; margin: 0 0 .6rem; }
.x-sheet-h { font-size: clamp(54px, 6vw, 104px) !important; line-height: .9; margin: 0 0 1rem; font-weight: 200 !important; }
.x-sheet-cap { color: var(--x-or2); font-weight: 700; margin: 0 0 .8rem; }
.x-sheet-lead { font-size: 1.2rem; margin: 0 0 1rem; }
.x-sheet-amb { color: var(--x-mute-d); margin: 0 0 1rem; }
.x-sheet-price { font: 300 44px/1 var(--x-disp); color: var(--x-or2); margin: .4rem 0 1rem; }
.x-sheet-thumbs { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0; margin: .6rem 0 1.4rem; }
.x-sheet-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.x-sheet-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: .8rem; }
.x-sheet-close { position: fixed; z-index: 3; top: calc(var(--x-bh, 0px) + 16px); right: var(--x-pad); min-width: 48px; min-height: 48px; border-radius: 50%; border: 1px solid rgba(243, 237, 226, .5); background: rgba(15, 13, 11, .5); color: var(--x-creme); font-size: 26px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .4s .4s, transform .5s var(--x-ease); }
.x-sheet.is-open .x-sheet-close { opacity: 1; }
.x-sheet-close:hover { transform: rotate(90deg); }
@media (max-width: 820px) {
  .x-sheet { grid-template-columns: 1fr; grid-template-rows: 46vh 1fr; }
  .x-sheet-panel { grid-column: 1; grid-row: 2; height: auto; justify-content: flex-start; padding-top: 28px; transform: translateY(30px); }
  .x-sheet.no-img { grid-template-rows: 1fr; } .x-sheet.no-img .x-sheet-panel { grid-row: 1; padding-top: 90px; }
}

/* ---------- Événements ---------- */
.x-events-s { background: var(--x-anth); padding: clamp(100px, 13vw, 190px) 0; }
.x-evs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.x-ev { position: relative; display: flex; flex-direction: column; color: inherit; text-decoration: none; border-radius: 4px; overflow: hidden; background: var(--x-noir); }
.x-ev-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.x-ev-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--x-ease), filter .8s; }
.x-ev:hover .x-ev-media img { transform: scale(1.12); filter: brightness(.55); }
.x-ev-ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 22px; font: 200 clamp(42px, 4vw, 64px)/.9 var(--x-disp); }
.x-ev-date { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: 10px 8px; background: var(--x-creme); color: var(--x-noir); border-radius: 3px; line-height: 1; }
.x-ev-date b { font: 300 40px/1 var(--x-disp); }
.x-ev-date span { font-size: .78rem; font-weight: 700; }
.x-ev-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.x-ev-type { font-size: .82rem; font-weight: 700; color: var(--x-or2); }
.x-ev-title { font: 300 clamp(26px, 2.2vw, 34px)/1.04 var(--x-disp); }
.x-ev-when { font-size: .9rem; color: var(--x-mute-d); }
.x-ev-desc { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .8s var(--x-ease), opacity .5s; }
.x-ev:hover .x-ev-desc, .x-ev:focus-visible .x-ev-desc { max-height: 6em; opacity: 1; }
.x-ev-more { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .92rem; margin-top: 4px; }
.x-ev-nuit .x-ev-ph { background: radial-gradient(120% 80% at 80% 0%, #3b2d22 0%, var(--x-noir) 60%); color: var(--x-creme); }
.x-ev-table { background: var(--x-creme); color: var(--x-ink); } .x-ev-table .x-ev-when { color: var(--x-mute); } .x-ev-table .x-ev-type { color: var(--x-brun); } .x-ev-table .x-ev-ph { background: var(--x-beige); color: var(--x-ink); }
.x-ev-scene { background: var(--x-brun); } .x-ev-scene .x-ev-ph { background: linear-gradient(160deg, #6d5240, var(--x-brun)); }
.x-ev-prive { background: transparent; border: 1px solid var(--x-line-d); } .x-ev-prive .x-ev-ph { background: var(--x-anth2); color: var(--x-or2); }
@media (hover: none) { .x-ev-desc { max-height: 6em; opacity: 1; } }
.x-evpage { padding: clamp(40px, 6vw, 90px) 0 clamp(90px, 12vw, 160px); }
.x-evhero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 64px); align-items: center; color: inherit; text-decoration: none; border-radius: 4px; overflow: hidden; background: var(--x-anth); }
.x-evhero-media { position: relative; display: block; min-height: 520px; height: 100%; overflow: hidden; }
.x-evhero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--x-ease); }
.x-evhero:hover .x-evhero-media img { transform: scale(1.06); }
.x-evhero-body { display: flex; flex-direction: column; gap: 10px; padding: 36px clamp(20px, 3vw, 48px) 36px 0; }
.x-evhero-t { font: 200 clamp(44px, 5.4vw, 90px)/.92 var(--x-disp); }
.x-evhero .x-ev-desc { max-height: none; opacity: 1; -webkit-line-clamp: 6; }
@media (max-width: 820px) { .x-evhero { grid-template-columns: 1fr; } .x-evhero-media { min-height: 380px; } .x-evhero-body { padding: 0 20px 28px; } }
.x-past { margin-top: 3rem; border-top: 1px solid var(--x-line-d); }
.x-past summary, .x-acc summary { display: flex; align-items: center; gap: 14px; padding: 20px 0; cursor: pointer; list-style: none; font: 300 clamp(24px, 2.2vw, 32px)/1.1 var(--x-disp); }
.x-past summary::-webkit-details-marker, .x-acc summary::-webkit-details-marker { display: none; }
.x-acc-n { font: 700 .82rem/1 var(--x-body); padding: 5px 9px; border-radius: 999px; border: 1px solid currentColor; opacity: .6; }
.x-acc-i { margin-left: auto; width: 16px; height: 16px; position: relative; }
.x-acc-i::before, .x-acc-i::after { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1.5px; background: currentColor; transition: transform .5s var(--x-ease); }
.x-acc-i::after { transform: rotate(90deg); }
details[open] > summary .x-acc-i::after { transform: rotate(0); }
.x-past-l { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px 32px; }
.x-past-l a { display: flex; gap: 14px; }
.x-past-l time { color: var(--x-mute-d); min-width: 120px; }

/* ---------- Familles de la carte ---------- */
.x-carte-s { background: var(--x-noir); padding: clamp(100px, 13vw, 190px) 0; }
.x-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 56px); }
.x-cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 360px; padding: 26px; border-radius: 4px; overflow: hidden; color: var(--x-creme); text-decoration: none; background: var(--x-anth); border: 1px solid var(--x-line-d); isolation: isolate; }
.x-cat-media { position: absolute; inset: 0; z-index: -1; clip-path: circle(0% at var(--cx, 50%) var(--cy, 100%)); transition: clip-path 1s var(--x-ease-io); }
.x-cat-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 13, 11, .9), rgba(15, 13, 11, .25)); }
.x-cat-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); transition: transform 1.6s var(--x-ease); }
.x-cat:hover .x-cat-media, .x-cat:focus-visible .x-cat-media { clip-path: circle(150% at var(--cx, 50%) var(--cy, 100%)); }
.x-cat:hover .x-cat-media img { transform: scale(1); }
@media (hover: none) { .x-cat-media { clip-path: none; } .x-cat-media img { transform: none; } }
.x-cat-t { font: 200 clamp(40px, 3.6vw, 60px)/.95 var(--x-disp); transition: transform .8s var(--x-ease); }
.x-cat:hover .x-cat-t { transform: translateY(-6px); }
.x-cat-b { font-size: .98rem; color: var(--x-mute-d); max-width: 34ch; }
.x-cat:hover .x-cat-b { color: var(--x-creme); }
.x-cat-n { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .9rem; color: var(--x-or2); margin-top: 8px; }

/* ---------- Avis : défilement continu ---------- */
.x-reviews { background: var(--x-creme); color: var(--x-ink); padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.x-marq { overflow: hidden; }
.x-marq-in { display: flex; width: max-content; gap: clamp(40px, 6vw, 100px); animation: x-marq 60s linear infinite; }
.x-marq:hover .x-marq-in { animation-play-state: paused; }
@keyframes x-marq { to { transform: translateX(-50%); } }
.x-marq figure { margin: 0; width: min(80vw, 640px); }
.x-marq blockquote { margin: 0 0 .8rem; font: 300 clamp(26px, 2.6vw, 40px)/1.14 var(--x-disp); }
.x-marq figcaption { color: var(--x-mute); font-weight: 600; }
.x-reviews .x-btn-line:hover { color: var(--x-creme); } .x-reviews .x-btn-line { --fill: var(--x-noir); }

/* ---------- Contact ---------- */
.x-contact { background: var(--x-noir); padding: clamp(110px, 14vw, 200px) 0 clamp(70px, 8vw, 110px); }
.x-contact-h { margin: 0; display: flex; flex-direction: column; font-size: clamp(54px, 10.5vw, 180px) !important; line-height: .86 !important; font-weight: 200 !important; text-transform: uppercase; }
.x-contact-h > span:last-child { color: var(--x-or2); }
.x-open { display: inline-flex; align-items: center; gap: 10px; margin: 2rem 0 0; font-weight: 700; min-height: 1.6em; }
.x-open::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--x-mute-d); }
.x-open.is-open::before { background: #8fd19e; box-shadow: 0 0 0 4px rgba(143, 209, 158, .18); }
.x-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; margin-top: clamp(40px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--x-line-d); }
.x-contact-c .hours { margin: 0; }
.x-links { list-style: none; margin: 0 0 .8rem; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.x-links a { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; }
.x-contact-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* ---------- Pied de page ---------- */
.x-foot { position: relative; background: var(--x-noir); color: var(--x-creme); padding: 70px var(--x-pad) 28px; overflow: hidden; border-top: 1px solid var(--x-line-d); }
.x-foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; max-width: 1360px; margin: 0 auto; font-size: .95rem; }
.x-foot-grid p { margin: 0; }
.x-foot-k { font-weight: 700; color: var(--x-or2) !important; margin: 0 0 .7rem !important; font-size: .88rem; }
.x-foot .hours div { display: flex; justify-content: space-between; gap: 12px; } .x-foot .hours dd { margin: 0; }
.x-foot-word { margin: 40px 0 0; text-align: center; font: 100 clamp(120px, 33vw, 600px)/.78 var(--x-disp); letter-spacing: .06em; color: transparent; -webkit-text-stroke: 1px rgba(211, 176, 113, .45); white-space: nowrap; will-change: transform; user-select: none; }
.x-foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; max-width: 1360px; margin: 24px auto 0; font-size: .82rem; color: var(--x-mute-d); }
.x-foot-legal p { margin: 0; }

/* ---------- En-têtes de pages intérieures ---------- */
.x-phead { position: relative; padding: calc(var(--x-head-h) + clamp(70px, 10vw, 140px)) 0 clamp(50px, 6vw, 90px); overflow: hidden; }
.x-phead-img { min-height: 86vh; display: flex; align-items: flex-end; }
.x-phead-img .x-wrap { position: relative; z-index: 2; width: 100%; }
.x-phead-media { position: absolute; inset: -10% 0; z-index: 0; }
.x-phead-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); }
.x-links-row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 2rem; font-weight: 600; font-size: .95rem; }
.x-links-row a { display: inline-flex; align-items: center; gap: .45em; }

/* ---------- La carte : recherche, filtres ---------- */
.x-search { margin-top: 2.2rem; max-width: 820px; }
.x-search input { width: 100%; min-height: 64px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--x-line-d); background: var(--x-anth); color: var(--x-creme); font: 400 1.1rem var(--x-body); transition: border-color .3s, background-color .3s; }
.x-search input:focus { outline: none; border-color: var(--x-or2); background: var(--x-anth2); }
.x-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.x-chip { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--x-line-d); background: transparent; color: var(--x-creme); font: 600 .92rem var(--x-body); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.x-chip:hover { border-color: var(--x-or2); }
.x-chip[aria-pressed="true"] { background: var(--x-or2); color: var(--x-noir); border-color: var(--x-or2); }
.x-search-status { min-height: 1.4em; margin: 12px 0 0; color: var(--x-or2); font-weight: 600; }
.x-results { background: var(--x-creme); color: var(--x-ink); padding: 40px 0 90px; }
.x-items-results .x-item-sec { display: block; font-size: .8rem; font-weight: 700; color: var(--x-brun); margin-bottom: 2px; }
mark.x-hit { background: rgba(180, 138, 70, .32); color: inherit; padding: 0 1px; border-radius: 2px; }
.x-hub { padding: 10px 0 clamp(70px, 9vw, 120px); }
.x-cats-hub { margin-top: 0; }
.x-cats-hub .x-cat { min-height: 300px; }

/* ---------- Plats mis en avant ---------- */
.x-feat { background: var(--x-anth); padding: clamp(80px, 10vw, 140px) 0; }
.x-dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 52px); }
.x-dish { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 290px; padding: 28px; border-radius: 4px; border: 1px solid var(--x-line-d); background: var(--x-noir); color: var(--x-creme); text-align: left; cursor: pointer; overflow: hidden; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--x-ease), border-color .4s; }
.x-dish:hover { border-color: var(--x-or); }
.x-dish-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 0%), rgba(211, 176, 113, .22), transparent 60%); opacity: 0; transition: opacity .5s; }
.x-dish:hover .x-dish-glow { opacity: 1; }
.x-dish-sec { font-size: .82rem; font-weight: 700; color: var(--x-or2); }
.x-dish-n { font: 300 clamp(32px, 2.8vw, 44px)/.98 var(--x-disp); transition: transform .7s var(--x-ease); }
.x-dish:hover .x-dish-n { transform: translateY(-4px); }
.x-dish-d { color: var(--x-mute-d); font-size: .95rem; }
.x-dish-p { margin-top: auto; font: 300 36px/1 var(--x-disp); color: var(--x-or2); }

/* ---------- Panneaux de catégories ---------- */
.x-catp { background: var(--x-creme); color: var(--x-ink); padding: clamp(70px, 9vw, 120px) 0 clamp(90px, 11vw, 150px); }
html.js .x-catp[data-cat-panel]:not(.is-on) { display: none; }
html.js .x-catp.is-on { animation: x-panel .9s var(--x-ease) both; }
@keyframes x-panel { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.x-catp .x-lead { color: var(--x-mute); }
.x-catp-h { margin-bottom: 2rem; }
.x-back { display: inline-flex; align-items: center; gap: .6em; color: var(--x-brun); font-weight: 700; text-decoration: none; margin-bottom: 1.4rem; min-height: 44px; }
.x-subnav { position: sticky; top: calc(var(--x-bh, 0px) + 8px); z-index: 20; margin: 0 calc(var(--x-pad) * -1) 2.4rem; padding: 10px var(--x-pad); background: rgba(243, 237, 226, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--x-line-l); transition: top .6s var(--x-ease); }
body.head-shown .x-subnav { top: calc(var(--x-head-h) + 4px); }
.x-subnav-in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.x-subnav-in::-webkit-scrollbar { display: none; }
.x-subnav a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; color: var(--x-ink); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; transition: background-color .3s, color .3s; }
.x-subnav a:hover { background: rgba(28, 25, 21, .07); }
.x-subnav a.is-on { background: var(--x-ink); color: var(--x-creme); }
.x-catp-body { display: block; }
.x-catp-body.has-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); }
.x-catp-list { columns: 2 420px; column-gap: clamp(36px, 6vw, 96px); }
.has-stage .x-catp-list { columns: 1; }
.x-menu-src { column-span: all; margin: 2.4rem 0 1rem; font: 400 30px/1 var(--x-sig); color: var(--x-or); }
.x-menu-src:first-child { margin-top: 0; }
.x-sec { break-inside: avoid; margin: 0 0 clamp(36px, 4vw, 56px); scroll-margin-top: 150px; }
.x-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1.5px solid var(--x-ink); }
.x-sec-h h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: clamp(30px, 2.6vw, 42px) !important; line-height: 1; font-weight: 300 !important; }
.x-sec-price { font: 300 30px/1 var(--x-disp); padding: 4px 12px; border-radius: 3px; background: var(--x-ink); color: var(--x-creme); white-space: nowrap; }
.x-sec-note { color: var(--x-mute); font-style: italic; margin: .4rem 0; }
.x-sec-foot { color: var(--x-mute); font-size: .9rem; margin: .8rem 0 0; }
.x-sub { margin: 1.4rem 0 .2rem; font: 700 .9rem var(--x-body); color: var(--x-brun); }
.x-items { list-style: none; margin: 0; padding: 0; }
.x-item { padding: 14px 0; border-bottom: 1px solid var(--x-line-l); transition: opacity .7s var(--x-ease), transform .7s var(--x-ease), background-color .3s; }
html.js .x-catp.is-on .x-item:not(.is-in) { opacity: 0; transform: translateY(14px); }
.x-item-h { display: flex; align-items: baseline; gap: 10px; }
.x-item-n { font-weight: 700; font-size: 1.04rem; }
.x-item-dots { flex: 1; border-bottom: 1px dotted rgba(28, 25, 21, .35); transform: translateY(-4px); min-width: 20px; }
.x-item-p { font: 400 1.28rem/1 var(--x-disp); white-space: nowrap; }
.x-item-d { margin: 4px 0 0; color: var(--x-mute); font-size: .96rem; line-height: 1.55; max-width: 62ch; }
.x-formats { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; }
.x-formats li { display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(28, 25, 21, .06); font-size: .85rem; }
.x-formats b { font: 400 1.05rem/1 var(--x-disp); }
.x-tag { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(90, 66, 49, .12); color: var(--x-brun); font-size: .8rem; font-weight: 700; }
.x-courses { list-style: none; margin: 1rem 0; padding: 0; counter-reset: c; }
.x-courses li { position: relative; padding: 14px 0 14px 44px; border-bottom: 1px solid var(--x-line-l); counter-increment: c; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.x-courses li::before { content: counter(c); position: absolute; left: 0; top: 12px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--x-ink); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.x-courses i { color: var(--x-or); font-style: italic; font-size: .9rem; }
.x-sec-formula { background: var(--x-blanc); padding: 26px; border-radius: 4px; box-shadow: 0 1px 0 var(--x-line-l); }
/* cave à vins */
.x-cave { column-span: all; }
.x-catp-list:has(.x-cave) { columns: 1; }
.x-wdot { width: 14px; height: 14px; border-radius: 50%; flex: none; border: 1px solid rgba(28, 25, 21, .3); }
.x-wdot-r { background: #7a2232; } .x-wdot-b { background: #e7d394; } .x-wdot-ro { background: #e8a9a4; } .x-wdot-bu { background: #f7efd9; } .x-wdot-mix { background: linear-gradient(90deg, #7a2232 50%, #e7d394 50%); }
.x-acc { border-bottom: 1px solid var(--x-line-l); }
.x-acc summary { font-size: clamp(22px, 2vw, 28px); padding: 16px 0; }
.x-acc summary:hover span:first-child { color: var(--x-brun); }
.x-acc-b { overflow: hidden; }
.x-acc .x-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); column-gap: 48px; padding-bottom: 18px; }
/* cocktails : scène latérale */
.x-stage { position: sticky; top: 150px; align-self: start; height: calc(100vh - 190px); border-radius: 4px; overflow: hidden; background: var(--x-noir); color: var(--x-creme); }
.x-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); transform: scale(1.08); transition: transform 1.6s var(--x-ease); }
.x-stage.is-hot img { transform: scale(1); }
.x-stage-cap { position: absolute; top: 18px; left: 22px; margin: 0; font-size: .82rem; font-weight: 700; color: var(--x-or2); }
.x-stage-card { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; background: linear-gradient(0deg, rgba(15, 13, 11, .92), rgba(15, 13, 11, 0)); }
.x-stage-n { margin: 0; font: 200 clamp(40px, 3.6vw, 64px)/.95 var(--x-disp); }
.x-stage-d { margin: .6rem 0 0; color: var(--x-mute-d); max-width: 46ch; }
.x-stage-p { margin: .6rem 0 0; font: 300 34px/1 var(--x-disp); color: var(--x-or2); }
.x-stage-card.is-swap .x-stage-n, .x-stage-card.is-swap .x-stage-d, .x-stage-card.is-swap .x-stage-p { animation: x-swap .7s var(--x-ease) both; }
@keyframes x-swap { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.x-catp-cocktails .x-item { cursor: default; padding-left: 10px; margin-left: -10px; padding-right: 10px; border-radius: 3px; }
.x-catp-cocktails .x-item.is-hot { background: rgba(180, 138, 70, .12); }
@media (max-width: 900px) { .x-catp-body.has-stage { display: block; } .x-stage { display: none; } .x-catp-list { columns: 1; } }

/* ---------- Privatisation : parcours en étapes ---------- */
.x-formules { background: var(--x-anth); padding: clamp(80px, 10vw, 140px) 0; }
.x-formules-l { list-style: none; margin: clamp(28px, 4vw, 52px) 0 0; padding: 0; border-top: 1px solid var(--x-line-d); }
.x-formules-l li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 8px 32px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--x-line-d); }
.x-formules-l b { font: 300 clamp(26px, 2.4vw, 36px)/1 var(--x-disp); }
.x-formules-l span { color: var(--x-mute-d); }
.x-formules-l em { font-style: normal; font-weight: 700; color: var(--x-or2); }
@media (max-width: 760px) { .x-formules-l li { grid-template-columns: 1fr; } }
.x-devis { background: var(--x-creme); color: var(--x-ink); padding: clamp(80px, 10vw, 140px) 0; scroll-margin-top: 60px; }
.x-steps { margin-top: 2rem; }
.x-steps-bar { height: 3px; background: var(--x-line-l); border-radius: 3px; overflow: hidden; }
.x-steps-bar span { display: block; height: 100%; width: 100%; background: var(--x-or); transform-origin: left; transform: scaleX(.25); transition: transform .9s var(--x-ease); }
.x-steps-nav { list-style: none; display: flex; justify-content: space-between; margin: 12px 0 2rem; padding: 0; font-weight: 600; font-size: .9rem; color: var(--x-mute); }
.x-steps-nav li.is-on, .x-steps-nav li.is-done { color: var(--x-ink); }
.x-steps-nav li.is-done::before { content: "✓ "; color: var(--x-or); }
html:not(.js) .x-steps-bar, html:not(.js) .x-steps-nav { display: none; }
.x-step { border: 0; margin: 0 0 2.4rem; padding: 0; min-width: 0; }
.x-step legend { font: 300 clamp(30px, 3.2vw, 48px)/1.05 var(--x-disp); margin-bottom: 1.4rem; padding: 0; }
html.js .x-steps.is-enhanced .x-step:not(.is-on) { display: none; }
html.js .x-steps.is-enhanced .x-step.is-on { animation: x-stepin .7s var(--x-ease) both; }
html.js .x-steps.is-enhanced .x-step.is-on.from-left { animation-name: x-stepback; }
@keyframes x-stepin { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: none; } }
@keyframes x-stepback { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: none; } }
.x-pick { display: grid; gap: 12px; }
.x-pick-spaces { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.x-pick-types { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.x-pickc, .x-pickt { position: relative; display: flex; flex-direction: column; justify-content: flex-end; cursor: pointer; border-radius: 4px; overflow: hidden; border: 1.5px solid var(--x-line-l); background: var(--x-blanc); transition: border-color .3s, transform .5s var(--x-ease), box-shadow .5s; }
.x-pickc { min-height: 230px; padding: 16px; color: var(--x-creme); background: var(--x-anth); }
.x-pickc input, .x-pickt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.x-pickc-media { position: absolute; inset: 0; }
.x-pickc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--x-ease); }
.x-pickc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 13, 11, .85), rgba(15, 13, 11, .05)); }
.x-pickc-t, .x-pickc-s { position: relative; z-index: 1; }
.x-pickc-t { font: 300 28px/1 var(--x-disp); }
.x-pickc-s { font-size: .88rem; color: var(--x-mute-d); margin-top: 4px; }
.x-pickc-txt { background: var(--x-anth2); justify-content: center; }
.x-pickc:hover, .x-pickt:hover { transform: translateY(-3px); }
.x-pickc:hover img { transform: scale(1.06); }
.x-pickc:has(input:checked), .x-pickt:has(input:checked) { border-color: var(--x-or); box-shadow: 0 0 0 3px rgba(180, 138, 70, .35); }
.x-pickc:has(input:checked)::after, .x-pickt:has(input:checked)::after { content: "✓"; position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--x-or2); color: var(--x-noir); font-weight: 800; z-index: 2; }
.x-pickc:has(input:focus-visible), .x-pickt:has(input:focus-visible) { outline: 2px solid var(--x-or); outline-offset: 3px; }
.x-pickt { min-height: 76px; padding: 16px 48px 16px 18px; justify-content: center; font-weight: 700; color: var(--x-ink); }
.x-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px 20px; }
.x-field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .92rem; }
.x-field-wide { grid-column: 1 / -1; }
.x-field input, .x-field textarea { min-height: 54px; padding: 12px 16px; border: 1.5px solid var(--x-line-l); border-radius: 4px; background: var(--x-blanc); color: var(--x-ink); font: 400 1rem var(--x-body); transition: border-color .3s, box-shadow .3s; }
.x-field textarea { min-height: 120px; resize: vertical; }
.x-field input:focus, .x-field textarea:focus { outline: none; border-color: var(--x-or); box-shadow: 0 0 0 3px rgba(180, 138, 70, .25); }
.x-field [aria-invalid="true"] { border-color: #b4472f; }
.x-devis .x-small { color: var(--x-mute); }
.x-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 1rem; font-size: .95rem; }
.x-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--x-brun); flex: none; }
.x-steps-act { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; border-top: 1px solid var(--x-line-l); padding-top: 1.4rem; }
.x-devis .x-btn-line { --fill: var(--x-ink); } .x-devis .x-btn-line:hover { color: var(--x-creme); }
.x-devis .x-btn-gold { --fill: var(--x-ink); } .x-devis .x-btn-gold:hover { color: var(--x-creme); }
.x-err { padding: 14px 18px; border-radius: 4px; background: #f6dcd4; color: #6d2414; font-weight: 600; }
.x-done { max-width: 820px; outline: none; }
.x-done .x-lead { max-width: none; }

/* ---------- Pages historiques sous la nouvelle identité ---------- */
body.x .page-head { padding-top: calc(var(--x-head-h) + 70px); }
body.x .page-head h1 { font-size: clamp(56px, 9vw, 150px); font-weight: 200; line-height: .9; }
body.x .kicker { letter-spacing: .02em; text-transform: none; font-size: .9rem; }
body.x .kicker::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  .x-hero-media, .x-hl > span, .x-hero-side, .x-sw > span, .x-day-t, .x-day-media img, [data-reveal], .x-item { transition: none !important; transform: none !important; opacity: 1 !important; }
  .x-day-media img:not(.is-on) { clip-path: inset(100% 0 0 0); }
  .x-marq-in { animation: none; flex-wrap: wrap; width: auto; }
  .x-menu, .x-menu-nav a { transition: none; }
}
.x-hero-word > span[aria-hidden] { white-space: nowrap; }
.x-step legend:focus { outline: none; }
/* Plat du jour */
.x-pdj { background: var(--x-or2); color: var(--x-noir); }
.x-pdj-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-block: 18px; }
.x-pdj-k { margin: 0; font: 400 28px/1 var(--x-sig); }
.x-pdj-t { margin: 0; font-size: 1.05rem; flex: 1; }
.x-pdj-p { font: 400 1.3rem/1 var(--x-disp); margin-left: .4em; }

/* ---------- Harmonisation des pages historiques (réservation, vins, allergènes, mentions, détail d'événement) ---------- */
body.x { --serif: var(--x-disp); --radius: 4px; --line: var(--x-line-d); --muted: var(--x-mute-d); }
body.x .lead { color: var(--x-creme); }
body.x .btn { min-height: 52px; padding: 0 26px; font: 700 .95rem/1 var(--x-body); letter-spacing: 0; text-transform: none; justify-content: center; }
body.x .btn-sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
body.x .btn-gold { background: var(--x-or2); color: var(--x-noir); box-shadow: none; }
body.x .btn-gold:hover { background: var(--x-creme); transform: translateY(-2px); box-shadow: none; }
body.x .btn-ghost { border-color: rgba(243, 237, 226, .55); color: var(--x-creme); }
body.x .btn-ghost:hover { border-color: var(--x-creme); background: var(--x-creme); color: var(--x-noir); }
body.x .card, body.x .event, body.x .pa-card, body.x .al-filter { background: var(--x-anth); border-color: var(--x-line-d); border-radius: 4px; }
body.x .tag { text-transform: none; letter-spacing: 0; font-size: .82rem; font-weight: 700; color: var(--x-or2); }
body.x .tabs { background: var(--x-anth); border-color: var(--x-line-d); }
body.x .tab { letter-spacing: 0; font-size: .9rem; }
body.x .tab[aria-current="page"] { background: var(--x-or2); }
body.x .empty { border-radius: 4px; border-color: var(--x-line-d); }
body.x .empty p:first-child { font: 300 clamp(26px, 2.4vw, 34px)/1.15 var(--x-disp); }
body.x .page-head { background: none; }
body.x .page-head h1, body.x .h3, body.x .card h2, body.x .event h3 { font-family: var(--x-disp); }
body.x .card h2, body.x .h3 { font-weight: 300; font-size: clamp(28px, 2.4vw, 36px); }
body.x .resa-form input, body.x .resa-form select, body.x .resa-form textarea { border-radius: 4px; min-height: 50px; font-family: var(--x-body); }
body.x .hero-cta { gap: 12px; }
body.x .wl-sec h3, body.x .pa-card h3, body.x .al-sec h3 { font-weight: 300; }
body.x .mc-intro, body.x .muted { color: var(--x-mute-d); }

/* Fluidité : couches composées par la carte graphique, peinture confinée aux zones animées */
.x-window-pin, .x-day-pin, .x-spaces-pin, .x-hero { contain: paint; }
.x-window-txt, .x-window-photo, .x-spaces-track, .x-hero-media, .x-foot-word, [data-parallax] { will-change: transform; backface-visibility: hidden; }
.x-window-photo { will-change: transform, opacity; }
.x-day-media img { will-change: clip-path, transform; }
.x-cursor-dot, .x-cursor-ring { will-change: transform; }
html.js body.x { scroll-behavior: auto; }
