:root {
  --putty: #c4c3b6; --ink: #0b0907; --bone: #e7e5e4; --chalk: #ebebeb;
  --vellum: #dfdcd5; --graphite: #595855; --ash: #808080; --paper: #fff;
  --ember: #ff5a1f; /* braise : seul accent, réservé aux actions et au statut "ouvert" */
  /* Polices système : aucune requête externe */
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, "Iowan Old Style", "Noto Serif", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Inter, "Segoe UI", Arial, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--ink); font: 400 15px/1.5 var(--sans); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 28.8px; z-index: 50; }
.skip:focus { left: 8px; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 14px 28px; color: var(--paper); transition: background .3s, color .3s, padding .3s; }
.top.solid { background: rgba(11, 9, 7, .86); backdrop-filter: blur(10px); padding-block: 10px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 12px; letter-spacing: .02em; }
.mark svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.top-links { display: flex; gap: 22px; align-items: center; font-size: 12px; }
.top-links a { text-decoration: none; }
.top-links a:not(.pill):hover { text-decoration: underline; }

/* Pills */
.pill { display: inline-block; text-decoration: none; font-size: 13px; font-weight: 500; padding: 11px 19px; border-radius: 28.8px; border: 1px solid transparent; transition: transform .18s var(--ease), background .18s, color .18s; white-space: nowrap; }
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: translateY(0) scale(.97); }
.pill-hot { background: var(--ember); color: #160800; }
.pill-light { background: var(--paper); color: var(--ink); }
.pill-line { border-color: currentColor; color: inherit; }
.pill-line:hover { background: var(--paper); color: var(--ink); }
.pill-dark { background: var(--ink); color: var(--paper); }

/* ---------- HERO : vidéo scrubbée ---------- */
.hero { height: 320vh; position: relative; background: var(--ink); }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: var(--paper); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--hz, 1.06)); }
.hero-shade { position: absolute; inset: 0; background: rgba(8, 6, 4, .56); }
.hero-copy { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 22px; text-align: center; padding: 90px 20px 26vh; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.hero-title { display: grid; font-size: clamp(36px, 6vw, 76px); line-height: 1; letter-spacing: -.01em; max-width: 15ch; }
.hero-title em { font-style: italic; font-weight: 400; color: var(--ember); }
.hero-line { grid-area: 1 / 1; opacity: 0; transform: translateY(30px); filter: blur(6px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); }
.hero-line.is-on { opacity: 1; transform: none; filter: none; }
.stats { font-weight: 500; font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 28.8px; background: rgba(0,0,0,.45); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ash); display: inline-block; }
.is-open .dot { background: var(--ember); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,31,.7); } 70%,100% { box-shadow: 0 0 0 12px rgba(255,90,31,0); } }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.wordmark { position: absolute; left: 0; right: 0; bottom: -.14em; font-family: var(--serif); font-weight: 500; font-size: clamp(130px, 27vw, 400px); line-height: .84; letter-spacing: -.035em; white-space: nowrap; display: flex; justify-content: center; margin: 0 -4vw; color: var(--paper); pointer-events: none; transform: translateY(var(--wy, 0)); }
.wordmark span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.loaded .wordmark span { transform: none; }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); }
.hero-progress span { display: block; height: 100%; width: 0; background: var(--ember); }

/* Marquee */
.marquee { background: var(--ember); color: #160800; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(28px, 4vw, 52px); padding: 0 .55em; white-space: nowrap; }
.marquee span::after { content: "✦"; font-size: .4em; vertical-align: middle; margin-left: 1.1em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.paused .marquee-track { animation-play-state: paused; }

/* ---------- GRILL 3D ---------- */
.grill { height: 300vh; position: relative; background: var(--ink); }
.grill-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: var(--paper); }
.grill-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.grill-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.no-webgl .grill-fallback { display: block; }
.no-webgl .grill-canvas { display: none; }
.notch-card { position: absolute; left: 6vw; top: 50%; transform: translateY(-50%); width: min(400px, 86vw); min-height: 360px; background: rgba(0,0,0,.78); backdrop-filter: blur(6px); color: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 14px; border: 1px solid #2a221c;
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px), 0 22px); }
.card-kicker, .card-foot { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--ember); }
.card-foot { margin-top: auto; color: #8d857c; }
.grill-steps { display: grid; }
.grill-step { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; display: grid; gap: 12px; align-content: start; }
.grill-step.is-on { opacity: 1; transform: none; pointer-events: auto; }
.step-title { font-family: var(--serif); font-size: 43px; line-height: 1.02; }
.grill-step p:not(.step-title) { color: #cfc8bf; font-size: 16px; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.grill-note { position: absolute; right: 28px; bottom: 20px; font-size: 11px; color: #6f675f; }

/* Média */
.media { margin: 0; background: #1d1813; position: relative; overflow: hidden; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }

/* Inclinaison 3D au pointeur (rotate est indépendant du transform des apparitions) */
.tilt { rotate: var(--tax, 0) var(--tay, 1) 0 var(--ta, 0deg); transition: rotate .5s var(--ease); will-change: rotate; }
.tilt.tilting { transition: rotate .08s linear; }

/* Sections */
section[id] { scroll-margin-top: 60px; }
.ink { background: var(--ink); color: var(--paper); padding: 120px 28px 96px; position: relative; }
.putty { background: var(--putty); padding: 120px 28px; }
.bone { background: var(--bone); padding: 120px 28px 96px; }
.section-title { font-size: clamp(52px, 8vw, 94px); line-height: .9; letter-spacing: -.009em; text-align: center; }
.section-title.left { text-align: left; max-width: 11ch; }
.corner { position: absolute; top: 28px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.corner-l { left: 28px; } .corner-r { right: 28px; }
.corner-inline { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }

/* Vignettes */
.vignettes { list-style: none; margin: 80px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1100px; }
.vignette { display: grid; justify-items: center; gap: 16px; text-align: center; perspective: 900px; }
.vignette h3 { font-size: 26px; font-weight: 400; }
.vignette p { color: #bdb5ab; max-width: 26ch; font-size: 15px; }
.circle { width: min(270px, 66vw); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 1px #2a221c, 0 30px 60px -20px rgba(255,90,31,.35); }
.circle img { transition: transform .7s var(--ease); }
.vignette:hover .circle img { transform: scale(1.08); }
.hex { width: 12px; height: 14px; fill: none; stroke: var(--ember); stroke-width: 1.2; transition: transform .5s var(--ease); }
.vignette:hover .hex { transform: rotate(180deg); }

.menu-cols { max-width: 1100px; margin: 96px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid #333; padding-top: 32px; }
.col-title { font-size: 26px; font-weight: 400; margin-bottom: 14px; }
.col-gap { margin-top: 32px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { padding: 10px 0; border-bottom: 1px solid #262626; font-size: 16px; transition: padding .2s var(--ease), color .2s; }
.menu-list li:hover { padding-left: 8px; color: var(--ember); }
.menu-note { max-width: 1100px; margin: 32px auto 0; font-size: 12px; color: #9a918a; }

/* Galerie */
.gallery { background: var(--ink); color: var(--paper); padding: 0 28px 120px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; perspective: 1400px; }
.g1 { grid-column: 1 / 8; aspect-ratio: 4/3; border-radius: 9px; }
.g2 { grid-column: 8 / 13; grid-row: span 2; border-radius: 9px; min-height: 100%; }
.g3 { grid-column: 4 / 8; aspect-ratio: 4/3; border-radius: 9px; }
.gallery-quote { grid-column: 1 / 4; grid-row: 2; align-self: end; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; }

/* Horaires */
.hours-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: end; }
.clock { margin-top: 40px; }
.clock-time { font-family: var(--serif); font-size: clamp(64px, 11vw, 140px); line-height: .84; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.clock-status { margin-top: 16px; font-weight: 500; font-size: 16px; }
.meter { margin-top: 16px; height: 3px; background: var(--vellum); max-width: 420px; }
.meter span { display: block; height: 100%; width: 0; background: var(--ember); transition: width 1.2s var(--ease); }
.week { width: 100%; border-collapse: collapse; font-size: 16px; }
.week th, .week td { padding: 14px 0; border-bottom: 1px solid var(--ink); text-align: left; font-weight: 400; }
.week td { text-align: right; font-variant-numeric: tabular-nums; }
.week tr.today th, .week tr.today td { font-weight: 600; }
.week tr.today th::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); margin-right: 10px; vertical-align: middle; }
.week tr.today.is-open th::before { background: var(--ember); animation: pulse 2s var(--ease) infinite; }

/* Venir */
.visit { max-width: 1100px; margin: 80px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.visit-block { font-style: normal; border-top: 1px solid var(--ink); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--graphite); }
.big { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.big a { text-decoration: none; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list a { display: block; padding: 8px 0; border-bottom: 1px solid var(--vellum); text-decoration: none; transition: padding .2s var(--ease); }
.link-list a::after { content: " ↗"; }
.link-list a:hover { padding-left: 8px; }
.ext-note { max-width: 1100px; margin: 40px auto 0; font-size: 12px; color: var(--graphite); }

/* Footer */
.foot { background: var(--chalk); overflow: hidden; padding-bottom: 28px; }
.foot-word { font-family: var(--serif); font-weight: 500; font-size: clamp(110px, 26vw, 374px); line-height: .84; letter-spacing: -.035em; text-align: center; margin: 0 -4vw; padding-top: 40px; }
.foot-row { display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding: 24px 28px 0; font-size: 12px; border-top: 1px solid var(--vellum); }

/* Barre d'actions mobile */
.callbar { display: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .76s var(--ease), transform .76s var(--ease), rotate .5s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .top { padding: 12px 16px; }
  .top-links a:not(.pill) { display: none; }
  .mark span { display: none; }
  .hero { height: 260vh; }
  .hero-copy { padding-bottom: 30vh; }
  .wordmark { font-size: 40vw; }
  .vignettes, .menu-cols, .visit { grid-template-columns: 1fr; }
  .vignettes { gap: 60px; }
  .hours-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery { grid-template-columns: 1fr; padding: 0 20px 96px; }
  .g1, .g2, .g3, .gallery-quote { grid-column: auto; grid-row: auto; }
  .g2 { aspect-ratio: 3/4; }
  .grill { height: 260vh; }
  .notch-card { left: 50%; top: auto; bottom: 88px; transform: translateX(-50%); min-height: 0; padding: 22px; }
  .step-title { font-size: 32px; }
  .grill-note { bottom: auto; top: 70px; right: 16px; }
  .corner-r { display: none; }
  .ink, .putty, .bone { padding-left: 20px; padding-right: 20px; }
  .foot { padding-bottom: 84px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30; transform: translateY(140%); transition: transform .3s var(--ease); }
  .callbar.show { transform: none; }
  .callbar a { text-align: center; text-decoration: none; padding: 14px 6px; border-radius: 28.8px; font-size: 15px; font-weight: 500; background: var(--paper); color: var(--ink); }
  .callbar a:first-child { background: var(--ember); color: #160800; }
  .callbar a:last-child { background: var(--ink); color: var(--paper); border: 1px solid #444; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .wordmark span, .hero-line, .grill-step { opacity: 1; transform: none; filter: none; }
  .hero, .grill { height: auto; }
  .hero-pin, .grill-pin { position: relative; }
  .hero-line:not([data-step="0"]) { display: none; }
  .grill-steps { gap: 22px; }
  .grill-step { grid-area: auto; pointer-events: auto; }
  .notch-card { position: relative; left: auto; top: auto; bottom: auto; transform: none; margin: 90px auto; }
  .tilt { rotate: none; }
}
