:root {
  --slate: #171B1C;
  --slate-2: #20262A;
  --chalk: #EDEAE2;
  --muted: rgba(237, 234, 226, .62);
  --ochre: #D9A441;
  --cream: #F3EEE4;
  --ink: #1B1C1C;
  --line: rgba(237, 234, 226, .14);
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --display: 'Cormorant', Georgia, serif;
  --hand: 'Caveat', cursive;
  --body: 'Karla', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--slate); color: var(--chalk); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--ochre); }
.title { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 6.4vw, 104px); line-height: .95; letter-spacing: -.02em; margin-top: 14px; }
.title em { font-style: italic; font-weight: 400; color: var(--ochre); }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .w > span { display: inline-block; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 17px 30px; border-radius: 999px; background: var(--ochre); color: var(--ink); font-weight: 700; font-size: 15px; transition: background .4s; }
.btn:hover { background: var(--chalk); }
.btn-small { padding: 11px 20px; font-size: 14px; }
.btn-full { width: 100%; }
.link { border-bottom: 1px solid currentColor; padding-bottom: 2px; font-weight: 500; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gutter); background: linear-gradient(180deg, rgba(23, 27, 28, .8), transparent); }
.logo { font-family: var(--display); font-style: italic; font-size: 32px; font-weight: 500; }
.logo span { color: var(--ochre); }
.nav { display: flex; gap: 34px; font-size: 14px; font-weight: 500; }
.nav a { opacity: .8; transition: opacity .3s; }
.nav a:hover { opacity: 1; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.hero-img { position: absolute; inset: -2%; background: url(../img/hero.jpg) center / cover no-repeat; }
.hero-dark { filter: brightness(.28) saturate(.7); }
.hero-lit {
  --x: 70%; --y: 45%; --r: 260px;
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, rgba(0, 0, 0, .85) 35%, transparent 100%);
  mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, rgba(0, 0, 0, .85) 35%, transparent 100%);
}
.hero-content { position: absolute; left: var(--gutter); bottom: clamp(40px, 8vh, 90px); max-width: 640px; z-index: 2; }
.hero-title { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(96px, 17vw, 260px); line-height: .85; letter-spacing: -.04em; margin-top: 10px; }
.hero-title .ht { display: inline-flex; overflow: hidden; padding-bottom: .08em; }
.hero-title .ht span { display: inline-block; }
.hero-lead { max-width: 42ch; margin-top: 18px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.hero-hint { position: absolute; right: var(--gutter); bottom: 36px; z-index: 2; font-family: var(--hand); font-size: 24px; color: var(--muted); transform: rotate(-3deg); }

/* Intro */
.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: center; padding: clamp(100px, 13vw, 190px) var(--gutter); background: var(--cream); color: var(--ink); }
.intro .title em { color: #A87418; }
.intro-img { border-radius: 300px 300px 18px 18px; overflow: hidden; aspect-ratio: 4 / 5; }
.intro-img img { width: 100%; height: 115%; object-fit: cover; }
.intro-text > p:not(.kicker):not(.signature) { margin-top: 24px; max-width: 46ch; font-size: 18px; line-height: 1.65; color: rgba(27, 28, 28, .72); }
.signature { margin-top: 14px; font-family: var(--hand); font-size: 30px; color: #A87418; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(27, 28, 28, .15); }
.facts b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.facts span { font-size: 13px; color: rgba(27, 28, 28, .6); }

/* Ardoise */
.slate { padding: clamp(100px, 12vw, 170px) var(--gutter); background: #0F1312; text-align: center; }
.slate-board {
  position: relative; max-width: 980px; margin: 0 auto; padding: clamp(20px, 3vw, 40px); border-radius: 10px;
  background: radial-gradient(120% 90% at 30% 20%, #2C3632, #1C2421 60%, #151B19);
  box-shadow: 0 0 0 14px #5B3D24, 0 0 0 16px #3D2817, 0 40px 80px rgba(0, 0, 0, .6);
}
.slate-board::after { content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: .25; pointer-events: none;
  background: repeating-radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .06) 0 1px, transparent 1px 4px), repeating-linear-gradient(100deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 9px); }
.slate-date { font-family: var(--hand); font-size: 26px; color: rgba(237, 234, 226, .6); }
.slate-svg { width: 100%; height: auto; overflow: visible; }
.chalk { font-family: var(--hand); font-size: 40px; font-weight: 500; fill: rgba(240, 238, 230, 0); stroke: rgba(240, 238, 230, .92); stroke-width: 1.1; }
.chalk.h { font-size: 64px; font-weight: 600; }
.chalk.s { font-size: 30px; fill: rgba(217, 164, 65, 0); stroke: var(--ochre); letter-spacing: 2px; }
.chalk.p { font-size: 46px; fill: rgba(217, 164, 65, 0); stroke: var(--ochre); }
.chalk-line { fill: none; stroke: rgba(240, 238, 230, .7); stroke-width: 2.4; stroke-linecap: round; }
.slate-note { margin-top: 40px; font-size: 15px; color: var(--muted); }

/* Carte : plateau tournant */
.menu { position: relative; height: 100svh; background: var(--slate-2); overflow: hidden; }
.menu-inner { height: 100%; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 4vw; padding: 90px var(--gutter) 40px; }
.dishes { position: relative; height: 210px; margin-top: 36px; }
.dish { position: absolute; inset: 0; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .8s var(--ease); }
.dish.is-on { opacity: 1; transform: none; }
.dish h3 { font-family: var(--display); font-size: clamp(32px, 3.4vw, 50px); font-weight: 500; line-height: 1; }
.dish p { margin-top: 12px; max-width: 42ch; font-size: 16px; line-height: 1.6; color: var(--muted); }
.dish b { display: inline-block; margin-top: 16px; font-family: var(--display); font-style: italic; font-size: 30px; color: var(--ochre); }
.menu-progress { width: 220px; height: 2px; background: var(--line); margin-top: 20px; }
.menu-progress span { display: block; height: 100%; background: var(--ochre); transform-origin: left; transform: scaleX(0); }
.wheel-wrap { position: relative; justify-self: center; width: min(46vw, 78svh); aspect-ratio: 1; }
.wheel { position: absolute; inset: 0; border-radius: 50%; will-change: transform; }
.plate { position: absolute; left: 50%; top: 0; width: 64%; aspect-ratio: 1; margin-left: -32%; border-radius: 50%; overflow: hidden; transform-origin: 50% 78%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 10px rgba(255, 255, 255, .04); }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.wheel-shadow { display: none; }

/* Lieu */
.place { padding: clamp(100px, 12vw, 180px) var(--gutter); }
.place-head { margin-bottom: 56px; }
.place-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.reveal-img { overflow: hidden; border-radius: 16px; }
.reveal-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.reveal-img.big { grid-row: span 2; }
.reveal-img.big img { aspect-ratio: auto; height: 100%; min-height: 520px; }
.place-info { padding: 34px; border-radius: 16px; background: var(--slate-2); }
.place-info h3 { font-family: var(--display); font-size: 34px; font-weight: 500; margin-bottom: 16px; }
.place-info p { margin-top: 12px; line-height: 1.6; color: var(--muted); }
.place-info a { color: var(--ochre); }

/* Réservation */
.booking { padding: 0 var(--gutter) clamp(100px, 12vw, 170px); }
.booking-card { max-width: 860px; margin: 0 auto; padding: clamp(28px, 5vw, 64px); border-radius: 26px; background: var(--cream); color: var(--ink); }
.booking-card .title em { color: #A87418; }
.book { display: grid; gap: 26px; margin-top: 36px; }
.field { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid rgba(27, 28, 28, .12); }
.field > span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(27, 28, 28, .55); }
.stepper { display: flex; align-items: center; gap: 18px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(27, 28, 28, .2); font-size: 20px; }
.stepper output { font-family: var(--display); font-size: 40px; min-width: 40px; text-align: center; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(27, 28, 28, .18); font-size: 14px; transition: background .3s, color .3s; }
.pill.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.book-msg { font-family: var(--hand); font-size: 30px; color: #A87418; min-height: 1.2em; text-align: center; }
.booking .btn { background: var(--ink); color: var(--cream); }

/* Fidélité */
.pbc-loyalty { --pbc-bg: var(--cream); --pbc-fg: var(--ink); --pbc-title-font: var(--display); --pbc-accent: var(--ink); --pbc-accent-fg: var(--cream); }
.pbc-loyalty .pbc-title { font-style: italic; }

/* Footer */
.footer { padding: 70px var(--gutter) 24px; overflow: hidden; }
.footer-word { font-family: var(--display); font-style: italic; font-size: 26vw; line-height: .8; text-align: center; color: var(--slate-2); -webkit-text-stroke: 1px rgba(237, 234, 226, .25); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .nav { display: none; }
  .intro, .menu-inner, .place-grid { grid-template-columns: 1fr; }
  .menu { height: auto; min-height: 100svh; }
  .menu-inner { padding-top: 110px; gap: 30px; }
  .wheel-wrap { width: min(86vw, 52svh); }
  .dishes { height: 190px; }
  .reveal-img.big { grid-row: auto; }
  .reveal-img.big img { min-height: 0; aspect-ratio: 4 / 3; }
  .field { grid-template-columns: 1fr; }
  .hero-hint { display: none; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
