/* ==========================================================================
   Café du Commerce — Forcalquier
   Direction artistique : la brasserie de place, version Haute-Provence.
   Fil rouge : l'auvent à festons rouge & crème (séparateurs, loader, hero).
   Palette (7 couleurs, avec rôles) :
     --paper  #F3EADB  nappe papier : fonds clairs
     --paper-2#E9DCC4  papier ancien : fonds secondaires, cartes
     --ink    #1C1512  noir café : texte, fonds profonds
     --store  #A3202E  rouge d'auvent : accent principal, boutons
     --wine   #4A0F1B  lie-de-vin : footer, menu mobile
     --slate  #23272B  ardoise : sections « craie » (carte, réservation)
     --brass  #C9993F  laiton du zinc : survols, prix, détails sur fond sombre
     --lav    #9A8BC4  lavande de Haute-Provence : micro-accents sur fond sombre
   Typographies : Bodoni Moda (enseigne de brasserie, titres géants)
                  + Hanken Grotesk (texte lisible).
   ========================================================================== */

:root {
  --paper: #F3EADB;
  --paper-2: #E9DCC4;
  --ink: #1C1512;
  --store: #A3202E;
  --wine: #4A0F1B;
  --slate: #23272B;
  --brass: #C9993F;
  --lav: #9A8BC4;

  --f-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --f-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad: clamp(1.25rem, 5vw, 5rem);
  --nav-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --fs-h2: clamp(2.5rem, 6.4vw, 6.6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
/* grain léger (statique, donc économe) */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9000;
  pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .1  0 0 0 0 .07  0 0 0 0 .05  0 0 0 .8 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

[hidden] { display: none !important; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
::selection { background: var(--store); color: var(--paper); }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 10001; background: var(--ink); color: var(--paper); padding: .8rem 1.2rem; border-radius: 999px; transition: top .3s var(--ease); }
.skip:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--f-display); font-optical-sizing: auto; }
h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.028em;
  font-variation-settings: 'opsz' 96;
}
h2 em, h1 em { font-style: italic; font-weight: 500; color: var(--store); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font: 700 .78rem/1 var(--f-body);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--store);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ''; width: 2.6rem; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--brass); }
.eyebrow--chalk { color: var(--paper); opacity: .85; }
p { max-width: 62ch; }

/* split text */
.js [data-split]:not(.is-split) { visibility: hidden; }
.js.no-gsap [data-split] { visibility: visible; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .06em .22em; margin: -.06em -.06em -.22em; }
.sc { display: inline-block; will-change: transform; }

/* soulignement animé */
.ulink {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size .55s var(--ease);
}
.ulink:hover, .ulink:focus-visible { background-size: 100% 1.5px; }

/* révélations génériques */
.js:not(.no-gsap) [data-fade] { opacity: 0; transform: translateY(36px); }

/* --------------------------------------------------------------------------
   Boutons (magnétiques, remplissage au survol)
   -------------------------------------------------------------------------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05rem 1.7rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 700 .95rem/1 var(--f-body); letter-spacing: .02em;
  overflow: hidden; cursor: pointer; white-space: nowrap;
  will-change: transform;
}
.btn--sm { padding: .8rem 1.3rem; font-size: .88rem; }
.btn__fill {
  position: absolute; z-index: -1;
  left: var(--fx, 50%); top: var(--fy, 100%);
  width: 280%; aspect-ratio: 1; border-radius: 50%;
  background: var(--fill, var(--ink));
  transform: translate(-50%, -50%) scale(0);
  transition: transform .7s var(--ease);
}
.btn:hover .btn__fill, .btn:focus-visible .btn__fill { transform: translate(-50%, -50%) scale(1); }
.btn__label { position: relative; display: inline-flex; align-items: center; gap: .6rem; transition: color .35s; }
.btn__label svg { transition: transform .5s var(--ease); }
.btn:hover .btn__label svg { transform: translateX(4px); }

.btn--red { background: var(--store); color: var(--paper); --fill: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); --fill: var(--store); }
.btn--paper:hover .btn__label, .btn--paper:focus-visible .btn__label { color: var(--paper); }
.btn--ghost-light { border-color: rgba(243, 234, 219, .55); color: var(--paper); --fill: var(--paper); }
.btn--ghost-light:hover .btn__label { color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); --fill: var(--ink); }
.btn--outline:hover .btn__label { color: var(--paper); }

/* --------------------------------------------------------------------------
   Auvent à festons : le fil rouge
   -------------------------------------------------------------------------- */
.awning {
  --aw: 56px; --body: 14px;
  --c1: var(--store); --c2: var(--paper);
  position: absolute; left: 0; right: 0; z-index: 5; pointer-events: none;
  height: calc(var(--body) + var(--aw) / 2);
  background: repeating-linear-gradient(90deg, var(--c1) 0 var(--aw), var(--c2) var(--aw) calc(var(--aw) * 2));
  -webkit-mask:
    radial-gradient(circle at calc(var(--aw) / 2) var(--body), #000 calc(var(--aw) / 2 - .5px), transparent calc(var(--aw) / 2)) 0 0 / var(--aw) 100% repeat-x,
    linear-gradient(#000 0 0) 0 0 / 100% var(--body) no-repeat;
          mask:
    radial-gradient(circle at calc(var(--aw) / 2) var(--body), #000 calc(var(--aw) / 2 - .5px), transparent calc(var(--aw) / 2)) 0 0 / var(--aw) 100% repeat-x,
    linear-gradient(#000 0 0) 0 0 / 100% var(--body) no-repeat;
  transform-origin: top center;
}
.awning--hero { top: var(--nav-h); }
.awning--down { top: -1px; z-index: 6; }
.awning--paper { --c2: var(--paper-2); }

/* --------------------------------------------------------------------------
   Loader : l'auvent qui se relève
   -------------------------------------------------------------------------- */
.loader { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; overflow: hidden; }
.loader__cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(10, 1fr); }
.loader__cols span { position: relative; background: var(--store); will-change: transform; }
.loader__cols span:nth-child(even) { background: var(--paper); }
.loader__cols span::after {
  content: ''; position: absolute; left: 0; top: calc(100% - 1px); width: 100%; height: 5vw;
  background: inherit; border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.loader__badge {
  position: relative; z-index: 2;
  width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  box-shadow: 0 0 0 8px var(--paper), 0 30px 80px rgba(0, 0, 0, .35);
}
.loader__ring { position: absolute; inset: 7%; width: 86%; height: 86%; animation: spin 16s linear infinite; }
.loader__ring text { font: 600 11.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; fill: var(--brass); }
.loader__core { position: relative; display: grid; justify-items: center; gap: .1rem; }
.loader__cup { width: 54px; height: 54px; fill: none; stroke: var(--paper); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.loader__cup .steam { stroke: var(--brass); opacity: 0; animation: steam 2.4s ease-in-out infinite; }
.loader__cup .s2 { animation-delay: .5s; }
.loader__cup .s3 { animation-delay: 1s; }
.loader__count { font: 800 3.2rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.loader__count small { font-size: 1.2rem; margin-left: .15rem; color: var(--brass); }
.loader__label { font: 600 .68rem/1 var(--f-body); letter-spacing: .3em; text-transform: uppercase; opacity: .7; margin-top: .4rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-8px); } }

/* --------------------------------------------------------------------------
   Barre de progression, curseur
   -------------------------------------------------------------------------- */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 400; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: linear-gradient(90deg, var(--store), var(--brass)); transform: scaleX(0); transform-origin: left; }

.cursor { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor__dot {
  display: block; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--paper); mix-blend-mode: difference;
  transition: transform .45s var(--ease), background .3s;
}
.cursor.is-link .cursor__dot { transform: scale(3); }
.cursor.is-view .cursor__dot { transform: scale(5.4); background: var(--store); mix-blend-mode: normal; }
.cursor__label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  font: 700 .62rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--paper);
  opacity: 0; transition: opacity .25s;
}
.cursor.is-view .cursor__label { opacity: 1; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 300;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 var(--pad);
  color: var(--paper);
  transition: transform .6s var(--ease), background .4s, color .4s, box-shadow .4s;
}
.nav.is-solid { background: rgba(243, 234, 219, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 rgba(28, 21, 18, .1); }
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-open { color: var(--paper); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav__logo { display: inline-flex; align-items: center; gap: .7rem; font: 700 1.15rem/1 var(--f-display); letter-spacing: -.01em; }
.nav__logo em { font-style: italic; font-weight: 500; }
.nav__logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--store); color: var(--paper); --bean-line: var(--store); }
.nav__logo-mark svg { color: var(--paper); --bean-line: var(--store); }
.nav__links { display: flex; gap: 2rem; font: 600 .92rem/1 var(--f-body); }
.nav__right { display: flex; align-items: center; gap: 1.1rem; }
.nav__tel { display: inline-flex; align-items: center; gap: .5rem; font: 700 .92rem/1 var(--f-body); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 250; visibility: hidden; pointer-events: none; overflow: hidden; }
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__disc {
  position: absolute; top: 38px; right: calc(var(--pad) + 22px);
  width: 260vmax; height: 260vmax; margin: -130vmax -130vmax 0 0;
  border-radius: 50%; background: var(--wine); transform: scale(0);
}
.menu__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 1rem) var(--pad) 2rem; color: var(--paper); }
.menu__link { display: flex; align-items: baseline; gap: 1rem; padding: .25rem 0; font: 800 clamp(2.6rem, 11vw, 5.4rem)/1.04 var(--f-display); letter-spacing: -.02em; }
.menu__link span { font: 600 .8rem/1 var(--f-body); letter-spacing: .2em; color: var(--brass); }
.menu__link--hot { color: var(--brass); font-style: italic; }
.menu__foot { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(243, 234, 219, .25); }
/* ouverture : le disque grandit depuis le bouton, les liens montent en cascade */
.menu__disc { transition: transform 1s var(--ease-io); }
.menu.is-open .menu__disc { transform: scale(1); }
.menu__link, .menu__foot { opacity: 0; transform: translateY(46px); transition: opacity .3s, transform .3s; }
.menu.is-open .menu__link, .menu.is-open .menu__foot {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease) calc(.35s + var(--i, 6) * .07s), transform 1s var(--ease) calc(.35s + var(--i, 6) * .07s);
}
.menu__tel { font: 700 1.5rem/1 var(--f-display); }
.menu__foot p { margin-top: .5rem; opacity: .7; }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; color: var(--paper); background: var(--ink); isolation: isolate; }
.hero__media { position: absolute; inset: -8% 0; z-index: 0; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform-origin: center; will-change: transform; }
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 10, 8, .62) 0%, rgba(20, 10, 8, .1) 30%, rgba(20, 10, 8, .25) 58%, rgba(20, 10, 8, .88) 100%),
    radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(20, 10, 8, .5) 100%);
}
.hero__leaves { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.hero__leaves .leaf { position: absolute; color: #0d170c; will-change: transform; }
.hero__leaves .leaf svg { width: 100%; height: 100%; }
.hero__content {
  position: relative; z-index: 6; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 4.5rem) var(--pad) clamp(1.2rem, 3.5vh, 2.6rem);
}
.hero__kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: .9rem;
  font: 700 .78rem/1 var(--f-body); letter-spacing: clamp(.1em, .5vw + .05em, .24em); text-transform: uppercase;
  color: var(--paper); margin-bottom: clamp(.8rem, 2.5vh, 1.6rem);
}
.hero__kicker i { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
.hero__title {
  font-weight: 800; font-size: min(16.2vw, 27vh); line-height: .82; letter-spacing: -.04em;
  font-variation-settings: 'opsz' 96;
  display: flex; flex-direction: column;
  margin-bottom: clamp(1.2rem, 3.5vh, 2.6rem);
  text-shadow: 0 6px 40px rgba(0, 0, 0, .35);
}
.hero__line--2 { align-self: flex-end; }
.hero__du { font-size: .32em; font-weight: 500; letter-spacing: 0; color: var(--brass); position: relative; top: -.55em; margin-left: .08em; display: inline-block; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.hero__lead p { font-size: clamp(1rem, 1.35vw, 1.2rem); max-width: 34rem; margin-bottom: 1.4rem; text-shadow: 0 2px 20px rgba(0, 0, 0, .5); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__side { display: flex; align-items: flex-end; gap: 1.4rem; }
.status {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .6rem;
  padding: .55rem 1rem; border-radius: 999px;
  background: rgba(20, 10, 8, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(243, 234, 219, .25);
  font: 600 .82rem/1 var(--f-body);
}
.status i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #5fcf73; }
.status i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2.2s var(--ease) infinite; }
.status.is-closed i { background: var(--brass); }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
.badge { position: relative; display: block; width: clamp(104px, 10vw, 140px); aspect-ratio: 1; border-radius: 50%; background: var(--store); }
.badge svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge__ring { transform-origin: 100px 100px; }
.badge text { font: 700 14.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; fill: var(--paper); }
.badge__core { position: absolute; inset: 0; display: grid; place-items: center; color: var(--paper); --bean-line: var(--store); transition: transform .6s var(--ease); }
.badge:hover .badge__core { transform: scale(1.18) rotate(-12deg); }
.hero__scroll {
  position: absolute; z-index: 6; left: 50%; bottom: 1rem; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: .5rem;
  font: 600 .66rem/1 var(--f-body); letter-spacing: .26em; text-transform: uppercase;
}
.hero__scroll span { width: 1px; height: 38px; background: linear-gradient(var(--paper), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* états initiaux de l'intro du hero (uniquement si GSAP est chargé) */
.js:not(.no-gsap) [data-hero-in] { opacity: 0; }

/* --------------------------------------------------------------------------
   MARQUEES
   -------------------------------------------------------------------------- */
.marquees { position: relative; z-index: 7; margin-top: -2.6rem; padding: 3.4rem 0 1.4rem; pointer-events: none; overflow-x: clip; }
.marquee { overflow: hidden; white-space: nowrap; padding: .85rem 0; border-block: 2px solid var(--ink); }
.marquee--red { background: var(--store); color: var(--paper); transform: rotate(-1.7deg) scale(1.05); }
.marquee--paper { background: var(--paper); color: var(--ink); transform: rotate(1.5deg) scale(1.05); margin-top: -2.4rem; box-shadow: 0 -10px 30px rgba(0, 0, 0, .12); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; flex: none; }
.marquee__group span { display: inline-flex; align-items: center; gap: 1.8rem; padding-right: 1.8rem; font: italic 700 clamp(1.8rem, 4.2vw, 3.8rem)/1.1 var(--f-display); }
.marquee__group span::after { content: ''; width: .42em; height: .42em; background: currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); opacity: .9; }

/* --------------------------------------------------------------------------
   HISTOIRE (pinnée)
   -------------------------------------------------------------------------- */
.story { position: relative; background: var(--paper); }
.story__stage {
  position: relative; height: 100vh; height: 100svh; min-height: 640px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 4vw; align-items: center;
  padding: 0 var(--pad); overflow: hidden;
}
.story__num {
  position: absolute; left: -1vw; bottom: -4vw; z-index: 0;
  font: 800 clamp(12rem, 30vw, 30rem)/.8 var(--f-display); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 2px rgba(163, 32, 46, .22);
  pointer-events: none;
}
.story__left { position: relative; z-index: 2; }
.story__title { font-size: clamp(2rem, 3.8vw, 3.8rem); margin-bottom: 1.8rem; }
.story__chapters { position: relative; min-height: clamp(17rem, 40vh, 24rem); }
.chapter { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; }
.chapter.is-active { opacity: 1; visibility: visible; }
.chapter__time { font: italic 600 clamp(2.4rem, 5.4vw, 5rem)/1 var(--f-display); color: var(--store); margin-bottom: .5rem; }
.chapter h3 { font: 800 clamp(1.4rem, 2vw, 1.9rem)/1.1 var(--f-display); margin-bottom: .8rem; }
.chapter p { max-width: 34rem; }
.chapter__img-m { display: none; }
.story__ctrl { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.4rem; font: 700 .85rem/1 var(--f-body); letter-spacing: .14em; }
.story__count b { font: 800 1.5rem/1 var(--f-display); letter-spacing: 0; color: var(--store); }
.story__bar { position: relative; flex: 1; max-width: 14rem; height: 2px; background: rgba(28, 21, 18, .18); overflow: hidden; }
.story__bar i { position: absolute; inset: 0; background: var(--store); transform: scaleX(0); transform-origin: left; }

.story__frame { position: relative; justify-self: end; width: min(100%, 600px); height: min(80svh, 760px); }
.story__imgs { position: absolute; inset: 0; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px rgba(28, 21, 18, .28); }
.story__img { position: absolute; inset: 0; clip-path: circle(0% at 50% 60%); }
.story__img.is-active { clip-path: circle(150% at 50% 60%); }
.story__img img, .story__img video { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.story__sticker {
  position: absolute; right: -1.4rem; bottom: 4rem; z-index: 3;
  width: 124px; height: 124px; border-radius: 50%; background: var(--store); color: var(--paper);
  display: grid; place-items: center; text-align: center; padding: 1rem;
  font: italic 600 1.15rem/1.1 var(--f-display);
  transform: rotate(-12deg);
  box-shadow: 0 14px 30px rgba(163, 32, 46, .4);
}

/* --------------------------------------------------------------------------
   LA CARTE (défilement horizontal)
   -------------------------------------------------------------------------- */
.carte { position: relative; background: var(--slate); color: var(--paper); overflow: hidden; }
.carte::before { /* craie : traînées légères */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 40% at 15% 20%, rgba(243, 234, 219, .07), transparent 70%),
    radial-gradient(50% 40% at 85% 75%, rgba(243, 234, 219, .06), transparent 70%);
}
.carte__pin { position: relative; height: 100vh; height: 100svh; min-height: 640px; display: flex; align-items: center; padding-top: 2rem; }
.carte__bgword {
  position: absolute; left: 0; top: 50%; z-index: 0; transform: translateY(-50%);
  font: 800 clamp(16rem, 42vw, 44rem)/.8 var(--f-display); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(243, 234, 219, .1);
  pointer-events: none; white-space: nowrap;
}
.carte__track { position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.4rem); padding: 0 var(--pad); will-change: transform; }
.carte__intro { flex: 0 0 clamp(300px, 36vw, 560px); padding-right: 2vw; }
.carte__intro h2 { margin-bottom: 1.2rem; }
.carte__intro h2 em { color: var(--brass); }
.carte__intro > p { opacity: .85; margin-bottom: 1.4rem; }
.carte__budget { display: inline-block; padding: .7rem 1.1rem; border: 1.5px dashed rgba(243, 234, 219, .45); border-radius: 10px; font-size: .95rem; }
.carte__budget b { font: 800 1.5rem/1 var(--f-display); color: var(--brass); margin-right: .3rem; }
.carte__hint { display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; font: 700 .78rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.carte__outro { flex: 0 0 clamp(260px, 26vw, 400px); display: grid; gap: 1.4rem; justify-items: start; font: italic 600 clamp(1.5rem, 2.4vw, 2.2rem)/1.15 var(--f-display); padding-right: 6vw; }
.carte__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 2.4rem; height: 2px; background: rgba(243, 234, 219, .15); z-index: 2; }
.carte__progress i { position: absolute; inset: 0; background: var(--brass); transform: scaleX(0); transform-origin: left; }

/* l'ardoise encadrée de bois */
.card {
  position: relative; flex: 0 0 clamp(290px, 27vw, 410px);
  height: min(72svh, 640px); min-height: 520px;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.card__frame {
  position: relative; height: 100%; padding: 12px; border-radius: 12px;
  background: linear-gradient(135deg, #94613a, #5a3920 45%, #7e5030 70%, #4a2d18);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.card__frame::before { /* l'ardoise */
  content: ''; position: absolute; inset: 12px; border-radius: 5px;
  background:
    radial-gradient(80% 60% at 30% 10%, rgba(255, 255, 255, .06), transparent 70%),
    #2a2f34;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, .5);
}
.card__photo { position: relative; z-index: 1; height: 40%; margin: 0; overflow: hidden; border-radius: 5px 5px 0 0; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.card__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(42, 47, 52, .9)); }
.card__body { position: relative; z-index: 1; padding: .9rem 1.4rem 1.2rem; }
.card__tag { font: 700 .68rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: .5rem; }
.card h3 { font: italic 600 clamp(1.6rem, 2.1vw, 2.1rem)/1.05 var(--f-display); color: var(--paper); margin-bottom: .7rem; }
.dishes li { display: flex; align-items: baseline; gap: .6rem; padding: .36rem 0; font-size: .95rem; line-height: 1.3; color: rgba(243, 234, 219, .92); border-bottom: 1px dashed rgba(243, 234, 219, .2); }
.dishes li span { flex: 1; }
.dishes li b { margin-left: auto; white-space: nowrap; font: italic 700 1rem/1 var(--f-display); color: var(--brass); }
.card__glare {
  position: absolute; inset: 0; border-radius: 12px; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .26), transparent 45%);
  transition: opacity .3s;
}
.card:hover .card__glare { opacity: 1; }

/* --------------------------------------------------------------------------
   CHIFFRES
   -------------------------------------------------------------------------- */
.stats { position: relative; background: var(--store); color: var(--paper); padding: clamp(7rem, 14vw, 12rem) var(--pad) clamp(5rem, 9vw, 8rem); overflow: hidden; }
.stats__cut { position: absolute; top: -1px; left: 0; width: 100%; height: clamp(50px, 9vw, 140px); background: var(--slate); clip-path: polygon(0 0, 100% 0, 0 100%); }
.stats__inner { position: relative; }
.stats h2 em { color: var(--brass); }
.stats h2 { margin-bottom: clamp(2.5rem, 6vw, 5rem); max-width: 14ch; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.4vw, 2.6rem); }
.stat { position: relative; aspect-ratio: 1; display: grid; place-content: center; text-align: center; padding: 8%; }
.stat__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.stat__ring circle { fill: none; stroke: rgba(243, 234, 219, .7); stroke-width: 1.4; stroke-dasharray: 1.5 7; stroke-linecap: round; }
.stat__num { font: 800 clamp(3rem, 7vw, 7rem)/.9 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat__num small { font: italic 500 .34em/1 var(--f-display); letter-spacing: 0; margin-left: .15em; color: var(--brass); }
.stat__lbl { margin: .7rem auto 0; font: 600 clamp(.82rem, 1vw, .98rem)/1.35 var(--f-body); }
.stat__lbl small { font-weight: 400; opacity: .75; }

/* --------------------------------------------------------------------------
   AUTOUR DE LA PLACE
   -------------------------------------------------------------------------- */
.quartier { position: relative; background: var(--paper); padding-bottom: clamp(4rem, 8vw, 8rem); overflow: hidden; }
.quartier__strip { overflow: hidden; margin-top: 0; }
.quartier__strip img { width: 112%; max-width: none; margin-left: -6%; height: clamp(120px, 24vw, 340px); object-fit: cover; will-change: transform; }
.quartier__stage { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr); gap: 4vw; align-items: center; padding: clamp(3rem, 7vw, 6rem) var(--pad) 0; }
.quartier__head h2 { font-size: clamp(2.3rem, 4.8vw, 4.8rem); margin-bottom: 1.4rem; }
.quartier__head p:last-child { max-width: 30rem; }
.fan { position: relative; height: min(66svh, 560px); min-height: 420px; }
.postcard {
  position: absolute; left: 50%; top: 50%; width: clamp(200px, 21vw, 300px);
  padding: 10px 10px 58px; background: #FFFAF0; border-radius: 3px;
  box-shadow: 0 24px 50px rgba(28, 21, 18, .28), 0 2px 0 rgba(0, 0, 0, .05);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  will-change: transform;
}
.postcard img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 1px; }
.postcard figcaption { position: absolute; left: 14px; right: 14px; bottom: 9px; display: grid; gap: 2px; }
.postcard figcaption b { font: italic 700 1.02rem/1.1 var(--f-display); }
.postcard figcaption span { font: 500 .72rem/1.2 var(--f-body); opacity: .7; }
.stamp { position: absolute; top: -16px; right: -12px; width: 66px; height: 66px; border-radius: 50%; border: 2px dashed rgba(163, 32, 46, .75); display: grid; place-items: center; transform: rotate(14deg); background: rgba(255, 250, 240, .75); }
.stamp::after { content: 'FORCALQUIER\A 04300'; white-space: pre; text-align: center; font: 700 .46rem/1.4 var(--f-body); letter-spacing: .08em; color: var(--store); }

/* --------------------------------------------------------------------------
   GALERIE
   -------------------------------------------------------------------------- */
.galerie { position: relative; background: var(--ink); color: var(--paper); padding: clamp(5rem, 10vw, 9rem) var(--pad); overflow: hidden; }
.galerie__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.galerie__head h2 { margin-bottom: 1.2rem; }
.galerie__head h2 em { color: var(--brass); }
.galerie__head p:last-child { opacity: .75; }
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.6rem); align-items: start; }
.gal__col { display: flex; flex-direction: column; gap: clamp(.8rem, 1.6vw, 1.6rem); will-change: transform; }
.gal__item {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--slate);
  overflow: hidden; border-radius: 14px; cursor: pointer; isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .4s var(--ease);
}
.gal__item img { width: 100%; height: auto; transition: transform 1.1s var(--ease); }
.gal__item:hover img { transform: scale(1.09); }
.gal__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.1rem 1rem; z-index: 2; text-align: left;
  font: italic 600 1.15rem/1 var(--f-display); color: var(--paper);
  background: linear-gradient(transparent, rgba(20, 10, 8, .8));
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.gal__item:hover .gal__cap, .gal__item:focus-visible .gal__cap { transform: translateY(0); }
.js:not(.no-gsap) .gal__item::after { content: ''; position: absolute; inset: 0; z-index: 3; background: var(--store); transform-origin: top; transform: scaleY(var(--curtain, 1)); }

.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 2rem; border: 0; background: rgba(15, 10, 8, .94); color: var(--paper); align-items: center; justify-content: center; }
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(15, 10, 8, .8); }
.lightbox figure { max-width: min(92vw, 1100px); display: grid; gap: .9rem; justify-items: center; }
.lightbox img { max-height: 80vh; width: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox figcaption { font: italic 600 1.3rem/1 var(--f-display); }
.lightbox__close, .lightbox__nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(243, 234, 219, .35); background: rgba(243, 234, 219, .06); transition: background .3s, transform .4s var(--ease); }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--store); transform: scale(1.08); }
.lightbox__close { top: 1.4rem; right: 1.4rem; }
.lightbox__nav { top: 50%; margin-top: -26px; }
.lightbox__nav--prev { left: 1.4rem; }
.lightbox__nav--next { right: 1.4rem; }

/* --------------------------------------------------------------------------
   AVIS
   -------------------------------------------------------------------------- */
.avis { position: relative; background: var(--paper-2); padding: clamp(7rem, 12vw, 11rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.avis__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; padding: 0 var(--pad); margin-bottom: clamp(2rem, 5vw, 4rem); }
.avis__head h2 { font-size: clamp(2.4rem, 5.6vw, 5.6rem); }
.avis__score { text-align: right; }
.avis__big { font: 800 clamp(3.4rem, 8vw, 7rem)/.9 var(--f-display); letter-spacing: -.04em; }
.avis__big span { font: italic 500 .3em/1 var(--f-display); color: var(--store); margin-left: .1em; }
.avis__stars { display: flex; justify-content: flex-end; gap: .15rem; color: var(--brass); margin: .6rem 0; }
.avis__stars .off { opacity: .28; }
.avis__stars .half { opacity: .6; }
.avis__src { font-size: .9rem; opacity: .75; margin-left: auto; }
.rev__viewport { overflow: hidden; padding: 1rem var(--pad) 2rem; cursor: grab; touch-action: pan-y; }
.rev__viewport.is-drag { cursor: grabbing; }
.rev__track { display: flex; gap: clamp(1rem, 2vw, 1.8rem); will-change: transform; }
.rcard {
  flex: 0 0 clamp(280px, 30vw, 420px); min-height: 320px; padding: clamp(1.5rem, 2.4vw, 2.2rem);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem;
  border-radius: 24px 24px 24px 4px; user-select: none;
  transform: rotate(var(--r, 0deg));
  box-shadow: 0 20px 40px rgba(28, 21, 18, .12);
}
.rcard:nth-child(3n+1) { --r: -1.2deg; }
.rcard:nth-child(3n+2) { --r: .8deg; }
.rcard:nth-child(3n) { --r: -.5deg; }
.rcard--red { background: var(--store); color: var(--paper); }
.rcard--paper { background: var(--paper); color: var(--ink); }
.rcard--slate { background: var(--slate); color: var(--paper); }
.rcard--brass { background: var(--brass); color: var(--ink); }
.rcard__q { opacity: .55; }
.rcard blockquote { font: italic 600 clamp(1.35rem, 1.9vw, 1.8rem)/1.22 var(--f-display); flex: 1; }
.rcard__by { display: grid; gap: .15rem; font-size: .9rem; }
.rcard__by span { opacity: .7; }
.rev__ctrl { display: flex; align-items: center; gap: 1rem; padding: 0 var(--pad); flex-wrap: wrap; }
.rev__btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; transition: background .35s, color .35s, transform .5s var(--ease); }
.rev__btn:hover { background: var(--ink); color: var(--paper); transform: scale(1.06); }
.rev__dots { display: flex; gap: .45rem; margin: 0 .6rem; }
.rev__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(28, 21, 18, .25); transition: transform .4s var(--ease), background .3s; }
.rev__dots i.is-on { background: var(--store); transform: scale(1.5); }
.rev__all { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem; }

/* --------------------------------------------------------------------------
   RÉSERVATION (tableau noir + ticket)
   -------------------------------------------------------------------------- */
.reserve { position: relative; background: var(--slate); color: var(--paper); padding: clamp(6rem, 11vw, 10rem) var(--pad) clamp(5rem, 9vw, 8rem); overflow: hidden; }
.reserve__chalk {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(45% 35% at 8% 12%, rgba(243, 234, 219, .07), transparent 70%),
    radial-gradient(40% 40% at 92% 85%, rgba(243, 234, 219, .06), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 46px, rgba(243, 234, 219, .018) 46px 47px);
}
.reserve__inner { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.reserve__intro h2 em { color: var(--brass); }
.reserve__intro h2 { margin-bottom: 1.6rem; font-size: clamp(2.6rem, 5.6vw, 5.6rem); }
.reserve__lead { font-size: 1.15rem; opacity: .9; margin-bottom: 2rem; }
.reserve__facts { display: grid; gap: 1rem; margin-bottom: 2.4rem; }
.reserve__facts li { display: flex; align-items: center; gap: .9rem; color: rgba(243, 234, 219, .9); }
.reserve__facts svg { flex: none; color: var(--brass); }
.reserve__tel { display: inline-grid; gap: .3rem; padding: 1.1rem 1.5rem; border: 1.5px dashed rgba(243, 234, 219, .5); border-radius: 14px; transition: background .4s, border-color .4s; }
.reserve__tel span { font-size: .85rem; opacity: .75; }
.reserve__tel b { font: 800 1.9rem/1 var(--f-display); color: var(--brass); }
.reserve__tel:hover { background: rgba(243, 234, 219, .06); border-color: var(--brass); }

.ticket { position: relative; background: var(--paper); color: var(--ink); border-radius: 22px; box-shadow: 0 50px 90px rgba(0, 0, 0, .5); overflow: hidden; }
.ticket::before, .ticket::after { content: ''; position: absolute; top: calc(4.6rem - 13px); width: 26px; height: 26px; border-radius: 50%; background: var(--slate); z-index: 2; }
.ticket::before { left: -13px; }
.ticket::after { right: -13px; }
.ticket__main { padding: 0 clamp(1.2rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.2rem); }
.steps { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.6rem); height: 4.6rem; margin: 0 calc(-1 * clamp(1.2rem, 3vw, 2.4rem)) 1.8rem; padding: 0 clamp(1.2rem, 3vw, 2.4rem); border-bottom: 2px dashed rgba(28, 21, 18, .22); }
.steps__i { display: flex; align-items: center; gap: .6rem; font: 700 .85rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; opacity: .4; transition: opacity .4s; }
.steps__i span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .8rem; letter-spacing: 0; transition: background .4s, color .4s, border-color .4s; }
.steps__i.is-active, .steps__i.is-done { opacity: 1; }
.steps__i.is-active span { background: var(--store); border-color: var(--store); color: var(--paper); }
.steps__i.is-done span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.steps__i + .steps__i::before { content: ''; width: 18px; height: 1.5px; background: rgba(28, 21, 18, .25); margin-right: .2rem; }
@media (max-width: 1180px) { .steps__i + .steps__i::before { display: none; } .steps { gap: 1rem; } }

.step__title { font: 800 1.3rem/1.1 var(--f-display); margin: 1.4rem 0 .8rem; }
.step__title:first-child { margin-top: 0; }
.step.is-active { animation: stepIn .6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

.days { display: flex; gap: .55rem; overflow-x: auto; padding: .2rem .2rem .7rem; margin: 0 -.2rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day {
  flex: none; scroll-snap-align: start; min-width: 62px; padding: .7rem .4rem; border-radius: 14px;
  border: 1.5px solid rgba(28, 21, 18, .2); background: transparent; text-align: center; line-height: 1.15;
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.day small { display: block; font: 700 .66rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.day b { display: block; font: 800 1.55rem/1.15 var(--f-display); }
.day i { display: block; font-style: normal; font-size: .7rem; opacity: .6; }
.day:hover:not([disabled]) { border-color: var(--store); transform: translateY(-2px); }
.day.is-sel { background: var(--store); border-color: var(--store); color: var(--paper); }
.day[disabled] { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.datealt { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; font-size: .9rem; margin-top: .2rem; }
.datealt input { padding: .55rem .8rem; border-radius: 10px; border: 1.5px solid rgba(28, 21, 18, .25); background: #fff8; font: inherit; }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(28, 21, 18, .08); }
.seg button { padding: .7rem 1.4rem; border: 0; border-radius: 999px; background: transparent; font: 700 .92rem/1 var(--f-body); transition: background .35s, color .35s; }
.seg button.is-sel { background: var(--ink); color: var(--paper); }
.slots { display: flex; flex-wrap: wrap; gap: .5rem; }
.slot { padding: .7rem 1.1rem; border-radius: 999px; border: 1.5px solid rgba(28, 21, 18, .25); background: transparent; font: 700 .95rem/1 var(--f-body); font-variant-numeric: tabular-nums; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.slot:hover:not([disabled]) { border-color: var(--store); transform: translateY(-2px); }
.slot.is-sel { background: var(--store); border-color: var(--store); color: var(--paper); }
.slot[disabled] { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.hint { font-size: .88rem; opacity: .7; margin-top: .6rem; min-height: 1.3em; }

.party { display: flex; align-items: center; gap: 1rem; }
.party__btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; transition: background .3s, color .3s, transform .4s var(--ease); }
.party__btn:hover:not([disabled]) { background: var(--ink); color: var(--paper); transform: scale(1.07); }
.party__btn[disabled] { opacity: .3; cursor: not-allowed; }
.party__n { min-width: 2ch; text-align: center; font: 800 3.6rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.party__lbl { font-weight: 600; opacity: .7; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: .7rem 1.2rem; border-radius: 999px; border: 1.5px solid rgba(28, 21, 18, .25); font: 700 .92rem/1 var(--f-body); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; font: 700 .82rem/1 var(--f-body); letter-spacing: .04em; }
.field i { font-style: normal; font-weight: 400; opacity: .65; }
.field input, .field textarea {
  width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1.5px solid rgba(28, 21, 18, .25);
  background: rgba(255, 255, 255, .55); font: 500 1rem/1.3 var(--f-body); color: var(--ink);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--store); box-shadow: 0 0 0 4px rgba(163, 32, 46, .15); background: #fff; }
.field.is-bad input, .field.is-bad textarea { border-color: var(--store); background: rgba(163, 32, 46, .06); }
.field--area { margin-top: 1.4rem; }
.field--area textarea { resize: vertical; min-height: 64px; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fields .field:nth-child(1) { grid-column: 1 / -1; }
.consent { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.1rem; font-size: .86rem; line-height: 1.4; opacity: .85; }
.consent input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--store); flex: none; }
.consent.is-bad { color: var(--store); opacity: 1; }
.recap { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 12px; background: var(--paper-2); font-size: .95rem; line-height: 1.5; }
.recap b { font-family: var(--f-display); font-size: 1.1rem; }
.form-msg { margin-top: 1rem; padding: .8rem 1rem; border-radius: 10px; background: rgba(163, 32, 46, .1); color: #7d1520; font-weight: 600; font-size: .92rem; }

.ticket__nav { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: 1.6rem; }
.tbtn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: 1rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent; font: 700 .95rem/1 var(--f-body); transition: background .35s, color .35s, transform .5s var(--ease), box-shadow .35s; }
.tbtn--primary { margin-left: auto; background: var(--store); color: var(--paper); box-shadow: 0 10px 24px rgba(163, 32, 46, .3); }
.tbtn--primary:hover { background: var(--ink); transform: translateY(-2px); }
.tbtn--primary[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.tbtn--ghost { border-color: var(--ink); background: transparent; }
.tbtn--ghost:hover { background: var(--ink); color: var(--paper); }

.ticket__done { padding: clamp(1.8rem, 4vw, 3rem); text-align: center; display: grid; justify-items: center; gap: 1rem; }
.done__check { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--store); color: var(--paper); box-shadow: 0 0 0 10px rgba(163, 32, 46, .12); }
.ticket__done h3 { font: 800 clamp(1.8rem, 3vw, 2.6rem)/1.05 var(--f-display); }
.ticket__done > p { margin: 0 auto; }
.done__recap { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; text-align: left; margin: .6rem 0; padding: 1.2rem 1.4rem; border: 2px dashed rgba(28, 21, 18, .25); border-radius: 14px; width: min(100%, 430px); }
.done__recap dt { font-weight: 700; opacity: .65; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; align-self: center; }
.done__recap dd { margin: 0; font: 700 1.05rem/1.3 var(--f-body); }
.done__demo { padding: .8rem 1rem; border-radius: 10px; background: rgba(201, 153, 63, .22); font-size: .88rem; font-weight: 600; max-width: 32rem; }
.done__demo code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; }
.done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: .4rem; }
.done__actions .tbtn--primary { margin-left: 0; }

/* --------------------------------------------------------------------------
   NOUS TROUVER
   -------------------------------------------------------------------------- */
.trouver { position: relative; background: var(--paper); padding: clamp(5rem, 10vw, 9rem) var(--pad); }
.trouver__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.trouver__info h2 { margin-bottom: 2rem; font-size: clamp(2.6rem, 5.6vw, 5.6rem); }
.addr { display: grid; gap: .4rem; margin-bottom: 1.8rem; }
.addr__row { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(28, 21, 18, .14); transition: padding-left .5s var(--ease), color .3s; }
.addr__row:hover { padding-left: .8rem; color: var(--store); }
.addr__row svg { flex: none; color: var(--store); }
.addr__row b { font: 700 1.2rem/1.2 var(--f-display); }
.addr__row span { line-height: 1.35; }
.hours { margin-bottom: 1.6rem; }
.hours h3 { display: flex; align-items: center; gap: .6rem; font: 800 1.2rem/1 var(--f-display); margin-bottom: .6rem; }
.hours h3 svg { color: var(--store); }
.hours table { width: 100%; max-width: 26rem; border-collapse: collapse; font-size: .98rem; }
.hours td { padding: .42rem 0; border-bottom: 1px dotted rgba(28, 21, 18, .25); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today { color: var(--store); font-weight: 700; }
.hours tr.is-today td:first-child::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--store); margin-right: .6rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2rem; }
.tags li { padding: .4rem .85rem; border-radius: 999px; background: var(--paper-2); font-size: .82rem; font-weight: 600; }
.trouver__btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.trouver__map { position: relative; min-height: 440px; }
.plaque {
  position: absolute; inset: 0; padding: 12px; border-radius: 18px;
  background: linear-gradient(135deg, #94613a, #5a3920 45%, #7e5030 70%, #4a2d18);
  box-shadow: 0 40px 70px rgba(28, 21, 18, .3);
  transform: rotate(var(--map-r, 0deg));
}
.plaque iframe { width: 100%; height: 100%; border: 0; border-radius: 8px; background: var(--paper-2); filter: sepia(.28) saturate(1.1) contrast(1.02); }
.plaque__open { position: absolute; left: 28px; bottom: 28px; display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 999px; background: var(--paper); color: var(--ink); font: 700 .85rem/1 var(--f-body); box-shadow: 0 10px 26px rgba(0, 0, 0, .3); transition: background .35s, color .35s; }
.plaque__open:hover { background: var(--store); color: var(--paper); }
.polaroid {
  position: absolute; right: -1rem; bottom: -2.2rem; z-index: 2; width: clamp(140px, 15vw, 210px);
  padding: 8px 8px 38px; background: #FFFAF0; border-radius: 3px; transform: rotate(4deg);
  box-shadow: 0 24px 50px rgba(28, 21, 18, .35);
}
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 10px; right: 10px; bottom: 9px; font: italic 600 .86rem/1.1 var(--f-display); text-align: center; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
main { position: relative; z-index: 1; background: var(--paper); overflow-x: clip; }
.footer { position: relative; z-index: 0; background: var(--wine); color: var(--paper); padding: clamp(3.5rem, 7vw, 6rem) var(--pad) 1.6rem; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.footer__col h3 { font: 700 .74rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.footer__col li { margin-bottom: .45rem; }
.footer__col p { margin-bottom: .5rem; }
.footer__cta { justify-self: end; }
.footer__giant {
  margin: clamp(2rem, 5vw, 4rem) 0 clamp(1.4rem, 3vw, 2.4rem);
  font: 800 clamp(2.6rem, 9.8vw, 13rem)/.9 var(--f-display); letter-spacing: -.045em; white-space: nowrap; text-align: center;
  font-variation-settings: 'opsz' 96;
  overflow: hidden; padding-bottom: .08em;
}
.footer__giant .sw { padding-bottom: .12em; margin-bottom: -.12em; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid rgba(243, 234, 219, .22); font-size: .88rem; opacity: .9; }
.credits summary { cursor: pointer; font-weight: 600; list-style: none; }
.credits summary::-webkit-details-marker { display: none; }
.credits summary::after { content: ' +'; }
.credits[open] summary::after { content: ' –'; }
.credits ul { margin-top: .8rem; display: grid; gap: .3rem; max-width: 46rem; font-size: .8rem; opacity: .8; }

@media (min-width: 900px) and (min-height: 700px) {
  .footer { position: fixed; left: 0; right: 0; bottom: 0; }
  main { margin-bottom: var(--footer-h, 0px); }
}

.fab {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 280;
  display: none; align-items: center; gap: .6rem; padding: .95rem 1.3rem;
  border-radius: 999px; background: var(--store); color: var(--paper);
  font: 700 .95rem/1 var(--f-body); box-shadow: 0 14px 30px rgba(163, 32, 46, .5);
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.fab.is-on { transform: none; }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav__links, .nav__tel { display: none; }
  .burger { display: block; }
  .footer__top { grid-template-columns: repeat(3, auto); }
  .footer__cta { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .awning { --aw: 40px; --body: 10px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__side { width: 100%; justify-content: space-between; align-items: center; }
  .hero__scroll { display: none; }
  .status { margin-bottom: 0; }
  .fab { display: inline-flex; }

  .story__stage { display: block; height: auto; min-height: 0; padding: 4rem var(--pad) 2rem; }
  .story__frame, .story__ctrl, .story__num { display: none; }
  .story__chapters { min-height: 0; margin-top: 2rem; }
  .chapter { position: relative; inset: auto; opacity: 1; visibility: visible; margin-bottom: 3.2rem; }
  .chapter__img-m { display: block; margin-top: 1.4rem; border-radius: 999px 999px 14px 14px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 420px; }
  .chapter__img-m img { width: 100%; height: 100%; object-fit: cover; }

  .carte__pin { height: auto; min-height: 0; display: block; padding: 5rem 0 3rem; }
  .carte__bgword { top: 7rem; }
  .carte__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 2rem; align-items: stretch; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .carte__track::-webkit-scrollbar { display: none; }
  .carte__intro { flex-basis: 82vw; scroll-snap-align: start; }
  .card { flex-basis: 80vw; height: 540px; scroll-snap-align: center; transform: none !important; }
  .carte__outro { flex-basis: 70vw; scroll-snap-align: center; padding-right: 2rem; }
  .carte__progress { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .quartier__stage { grid-template-columns: 1fr; }
  .fan { height: auto; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 1rem; padding-top: 1rem; }
  .postcard { position: relative; left: auto; top: auto; width: auto; transform: rotate(var(--r, 0deg)); }

  .gal { grid-template-columns: 1fr 1fr; }
  .gal__col:nth-child(3) { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .gal__col:nth-child(3) .gal__item { flex: 1 1 44%; }
  .gal__cap { transform: translateY(0); padding-top: 1.6rem; font-size: 1rem; }

  .avis__score, .avis__src { text-align: left; margin-left: 0; }
  .avis__stars { justify-content: flex-start; }
  .rev__all { margin-left: 0; width: 100%; margin-top: .6rem; }

  .reserve__inner, .trouver__inner { grid-template-columns: 1fr; }
  .trouver__map { min-height: 380px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__giant { font-size: 10.4vw; }
}

@media (max-width: 560px) {
  .hero__du { font-size: .44em; top: -.38em; }
  .nav .btn--sm { padding: .7rem 1.05rem; }
  .nav__logo-text { font-size: 1rem; }
  .fields { grid-template-columns: 1fr; }
  .steps__i { font-size: .7rem; gap: .4rem; }
  .steps__i + .steps__i::before { display: none; }
  .hero__cta .btn { width: 100%; }
  .stat__num { font-size: clamp(2.6rem, 14vw, 4rem); }
  .ticket__nav { flex-wrap: wrap; }
  .done__recap { grid-template-columns: 1fr; gap: .1rem; }
  .done__recap dt { margin-top: .5rem; }
}

/* Sans GSAP (bibliothèque bloquée, mouvement réduit…) : mise en page « empilée », tout reste visible */
.postcard:nth-child(odd) { --r: -2.2deg; }
.postcard:nth-child(even) { --r: 1.8deg; }
.no-gsap .story__stage { display: block; height: auto; min-height: 0; padding: 4rem var(--pad) 2rem; }
.no-gsap .story__frame, .no-gsap .story__ctrl, .no-gsap .story__num { display: none; }
.no-gsap .story__chapters { min-height: 0; margin-top: 2rem; }
.no-gsap .chapter { position: relative; inset: auto; opacity: 1; visibility: visible; margin-bottom: 3.2rem; }
.no-gsap .chapter__img-m { display: block; margin-top: 1.4rem; border-radius: 999px 999px 14px 14px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 420px; }
.no-gsap .chapter__img-m img { width: 100%; height: 100%; object-fit: cover; }
.no-gsap .carte__pin { height: auto; min-height: 0; display: block; padding: 5rem 0 3rem; }
.no-gsap .carte__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 2rem; align-items: stretch; }
.no-gsap .card { scroll-snap-align: center; }
.no-gsap .carte__progress { display: none; }
.no-gsap .fan { height: auto; min-height: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
.no-gsap .postcard { position: relative; left: auto; top: auto; width: auto; transform: rotate(var(--r, 0deg)); }
.no-gsap .marquee__group span { padding-right: 1.4rem; }
.no-gsap .marquee { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { transform: none !important; }
}
