/* ═══════════════════════════════════════════════════════════
   LE PORC DE SOUZA · feuille de style · direction « Braise »
   Couleurs, polices et rayons : tokens.css.
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  overflow-x: hidden; overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--body);
  font-variation-settings: 'opsz' 14;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── environnement : papier chaud, grain léger, lueur de braise qui dérive lentement ── */
.env { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.env::before {
  content: ''; position: absolute; inset: 0; opacity: .32;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .17  0 0 0 0 .09  0 0 0 0 .05  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.env::after {
  content: ''; position: absolute; width: 70vmax; height: 70vmax; left: -20vmax; top: 30%;
  background: radial-gradient(circle, rgba(240, 164, 58, .16), rgba(201, 60, 23, .06) 45%, rgba(201, 60, 23, 0) 70%);
  animation: glow 90s ease-in-out infinite alternate; animation-delay: -30s;
}
@keyframes glow { to { transform: translate(90vw, -25vh); } }
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }

/* ── éléments communs ── */
.skip-main { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--ink); color: var(--on-night); padding: 12px 16px; border-radius: 999px; text-decoration: none; }
.skip-main:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--amber); }

.display { font-family: var(--display); font-weight: var(--display-weight); font-variation-settings: 'opsz' 96, 'wdth' 88; letter-spacing: -0.035em; line-height: .95; }
.h2 { font-size: var(--t-h2); }
.hand { font-family: var(--hand); font-weight: 700; letter-spacing: 0; }
.kicker { font-family: var(--hand); font-weight: 700; font-size: clamp(24px, 2vw, 30px); line-height: 1; color: var(--accent-text); display: inline-block; transform: rotate(-2deg); transform-origin: left; }
.on-dark .kicker { color: var(--amber); }
.mono { font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.lede { color: var(--muted); max-width: 46ch; font-size: clamp(17px, 1.25vw, 20px); }
.on-dark .lede { color: var(--on-night-muted); }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-pad); position: relative; scroll-margin-top: 84px; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 6vh, 64px); }

/* emplacement à compléter : discret, jamais maquillé */
.todo { color: var(--muted); border-bottom: 1.5px dotted currentColor; font-style: italic; }
.on-dark .todo, .flight .todo { color: var(--on-night-muted); }

/* boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 0; cursor: pointer;
  font: 700 16px/1 var(--body); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out), transform .35s var(--ease-back);
  text-shadow: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -12px rgba(201, 60, 23, .8); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: currentColor; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { background: rgba(127, 90, 60, .12); }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-dark { background: var(--ink); color: var(--on-night); }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.link { font-weight: 700; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 6px; transition: text-underline-offset .3s var(--ease-out); }
.link:hover { text-underline-offset: 9px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(28, 17, 11, .55); border: 1px solid rgba(240, 164, 58, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-night); text-shadow: 0 1px 3px rgba(14, 8, 4, .85); }

/* ═══════════ CHARGEMENT ═══════════ */
.loader { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; }
.loader::before { content: ''; position: absolute; inset: 0; background: var(--canvas); transition: opacity .7s var(--ease-inout); }
.loader.done { pointer-events: none; }
.loader.done::before { opacity: 0; }
.loader-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader-word { font-size: clamp(20px, 5.4vw, 34px); white-space: nowrap; transform-origin: center; transition: transform .9s var(--ease-inout); will-change: transform; }
.loader-word.brand-logo { height: 72px; width: auto; }
.loader-word.lg { width: min(78vw, 460px); height: auto; aspect-ratio: 454 / 150; }
.lg .lg-x { transition: opacity .3s var(--ease-out); }
.lg.is-flying .lg-x { opacity: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.loader-word.landed { opacity: 0; transition: opacity .32s var(--ease-out); }
.loader-rule { width: 140px; height: 3px; border-radius: 3px; background: var(--hair); overflow: hidden; transition: opacity .3s var(--ease-out), transform .5s var(--ease-inout); }
.loader-rule i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--accent)); transform: scaleX(0); transform-origin: left; }
.loader.done .loader-rule { opacity: 0; transform: scaleX(.4); }
html.no-loader .loader { display: none; }

/* ═══════════ EN-TÊTE FLOTTANT ═══════════ */
.dock {
  position: fixed; top: 12px; left: 50%; z-index: 200; width: max-content; max-width: calc(100vw - 24px);
  display: flex; align-items: center; gap: 4px;
  padding: 6px 6px 6px 20px;
  background: rgba(255, 249, 241, .94);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(42, 24, 16, .08);
  border-radius: 999px;
  box-shadow: 0 12px 34px -14px rgba(28, 17, 11, .45);
  color: var(--ink);
  transform: translate(-50%, -160%);
  transition: transform .9s var(--ease-out) .12s, opacity .32s var(--ease-out);
}
body.is-ready .dock { transform: translate(-50%, 0); }
body.handoff .dock { transform: translate(-50%, 0); opacity: 0; transition: none; }
.dock-brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: 16px; padding: 6px 0; }
.dock-word.brand-logo { height: 32px; width: auto; }
.dock-word.lg { --h: 30px; display: block; height: var(--h); width: calc(var(--h) * var(--ar)); }
.dock-nav { display: flex; gap: 2px; margin-right: 6px; }
.dock-link { position: relative; white-space: nowrap; padding: 12px 11px; text-decoration: none; font-weight: 600; font-size: 15px; }
.dock-link::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 7px; height: 3px; border-radius: 3px; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-inout); }
.dock-link:hover::after, .dock-link[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.dock-cta { min-height: 44px; padding: 0 20px; font-size: 15px; }
.dock-menu { display: none; }
.menu-sheet { display: none; }

/* ═══════════ LA VISITE ═══════════ */
.flight { position: relative; background: var(--night); color: var(--on-night); }
.flight-sticky { position: relative; }
.flight-media { position: absolute; inset: 0; overflow: hidden; background: var(--night); }
.flight-poster, .flight-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flight-canvas { opacity: 0; transition: opacity .35s var(--ease-out); }
.flight.has-frame .flight-canvas { opacity: 1; }
/* l'arrivée : la table, puis la fumée */
.flight-intro { position: absolute; inset: 0; will-change: opacity;
  background: radial-gradient(ellipse 60% 55% at 62% 58%, #f0a43a 0%, #c93c17 32%, #5a2410 62%, #1c110b 100%); }
.flight-intro img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flight-intro .intro-note { position: absolute; right: clamp(24px, 12vw, 220px); top: 13%; color: var(--amber); font-size: clamp(28px, 2.6vw, 42px); transform: rotate(-6deg); text-shadow: 0 2px 10px rgba(14, 8, 4, .75); display: flex; align-items: flex-end; gap: 6px; }
.flight-intro .intro-note svg { width: 70px; height: 56px; transform: translateY(18px); }
.flight-intro .intro-note path { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; }
.flight-smoke { position: absolute; inset: -10%; pointer-events: none; opacity: var(--s, 0);
  background:
    radial-gradient(38% 42% at 28% 72%, rgba(238, 228, 214, .62), rgba(238, 228, 214, 0) 70%),
    radial-gradient(34% 40% at 70% 62%, rgba(238, 228, 214, .55), rgba(238, 228, 214, 0) 70%),
    radial-gradient(46% 38% at 50% 34%, rgba(238, 228, 214, .5), rgba(238, 228, 214, 0) 70%),
    radial-gradient(30% 30% at 85% 25%, rgba(238, 228, 214, .4), rgba(238, 228, 214, 0) 70%);
  filter: blur(22px);
  transform: translateY(calc((1 - var(--t, 0)) * 12%)) scale(calc(1 + var(--t, 0) * .2));
}
/* fumée vivante par-dessus les scènes de fumage (seulement quand elle est visible) */
.flight-smokefx { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease-out); mix-blend-mode: screen; overflow: hidden; }
.flight.smoke-on .flight-smokefx { opacity: 1; }
.flight-smokefx i { position: absolute; bottom: -35%; width: 52%; height: 75%; border-radius: 50%; background: radial-gradient(closest-side, rgba(238, 228, 214, .5), rgba(238, 228, 214, 0)); filter: blur(16px); animation: smokeRise 13s linear infinite; will-change: transform, opacity; }
.flight-smokefx i:nth-child(1) { left: 2%; animation-duration: 14s; animation-delay: -3s; }
.flight-smokefx i:nth-child(2) { left: 26%; width: 44%; animation-duration: 11s; animation-delay: -8s; }
.flight-smokefx i:nth-child(3) { left: 46%; width: 60%; animation-duration: 16s; animation-delay: -1s; }
.flight-smokefx i:nth-child(4) { left: 14%; width: 40%; animation-duration: 12.5s; animation-delay: -6s; }
@keyframes smokeRise { 0% { transform: translate(0, 12%) scale(.7); opacity: 0; } 18% { opacity: .95; } 60% { opacity: .55; } 100% { transform: translate(9%, -125%) scale(1.55); opacity: 0; } }
.flight:not(.smoke-on) .flight-smokefx i, .flight:not(.is-visible) .flight-smokefx i { animation-play-state: paused; }
.flight-scrim { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 95% at 50% 42%, rgba(14, 8, 4, 0) 38%, rgba(14, 8, 4, .55) 100%),
    linear-gradient(180deg, rgba(14, 8, 4, .34) 0%, rgba(14, 8, 4, 0) 16%, rgba(14, 8, 4, 0) 68%, rgba(14, 8, 4, .5) 100%); }
.flight-loading { position: absolute; right: 22px; bottom: 22px; width: 40px; height: 40px; color: var(--amber); opacity: .9; transition: opacity .5s var(--ease-out); }
.flight-loading circle { transition: stroke-dashoffset .2s linear; }
.flight.is-buffered .flight-loading { opacity: 0; }

.flight-chapters { position: absolute; inset: 0; pointer-events: none; }
.chapter { position: absolute; pointer-events: auto; will-change: opacity; }
.chapter.is-off { visibility: hidden; pointer-events: none; }
.chapter-still { display: none; }
.chapter-body { position: relative; display: grid; gap: 16px; justify-items: start; }
.chapter-body::before {
  content: ''; position: absolute; inset: -38% -42% -34% -36%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 64% 60% at 44% 52%, rgb(14 8 4 / var(--scrim, .72)) 0%, rgb(14 8 4 / calc(var(--scrim, .72) * .64)) 50%, rgb(14 8 4 / 0) 80%);
  opacity: calc(.35 + .65 * var(--k, 1));
}
.chapter-kicker { color: var(--amber); }
.chapter-title { font-size: var(--t-hero); text-shadow: var(--tshadow); max-width: 12ch; }
.chapter h2.chapter-title { font-size: clamp(34px, 4.4vw, 70px); max-width: 13ch; }
.chapter-text { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; max-width: 34ch; color: var(--on-night); text-shadow: var(--tshadow); }
.chapter-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.chapter-ctas .link { color: var(--on-night); text-shadow: var(--tshadow); }

/* entrées de titres (transform + opacity seulement) */
.split .w { display: inline-block; white-space: nowrap; will-change: transform, opacity; }
.chapter .w { --kc: clamp(0, (var(--k, 1) - var(--th, 0)) * 3.2, 1); opacity: var(--kc); }
.e-depth .w { transform: translateY(calc((1 - var(--kc)) * 22px)) scale(calc(.9 + .1 * var(--kc))); }
.e-slide .w { transform: translateX(calc((1 - var(--kc)) * -46px)); }
.e-blade .w { transform: translateX(calc((1 - var(--kc)) * 30px)); }
.e-rise .w { transform: translateY(calc((1 - var(--kc)) * 44px)); }
.chapter .stage-2 { --ks: clamp(0, (var(--k, 1) - .45) * 3, 1); opacity: var(--ks); transform: translateY(calc((1 - var(--ks)) * 16px)); }
.chapter .stage-3 { --kb: clamp(0, (var(--k, 1) - .7) * 4, 1); opacity: var(--kb); transform: translateY(calc((1 - var(--kb)) * 12px)); }
.blade { display: block; justify-self: stretch; height: 3px; border-radius: 3px; margin: -6px 0 -4px; background: var(--amber); transform-origin: left; transform: scaleX(clamp(0, var(--k, 1) / .6, 1)); opacity: clamp(0, (1 - var(--k, 1)) * 2.5, 1); pointer-events: none; }

.flight-index { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 6px; pointer-events: auto; }
.flight-index button {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  min-height: 34px; padding: 4px 0 4px 10px; border: 0; background: none; cursor: pointer;
  font: 600 14px/1 var(--body); color: rgba(251, 243, 232, .62);
  text-shadow: 0 1px 3px rgba(14, 8, 4, .9); transition: color .3s var(--ease-out);
}
.flight-index button::after { content: ''; width: 22px; height: 3px; border-radius: 3px; background: currentColor; transform-origin: right; transform: scaleX(.45); transition: transform .4s var(--ease-out), background-color .3s; }
.flight-index button[aria-current="step"] { color: var(--on-night); }
.flight-index button[aria-current="step"]::after { transform: scaleX(1); background: var(--amber); }
.flight-index button:hover { color: var(--on-night); }
.flight-skip { position: absolute; left: var(--gutter); top: 92px; pointer-events: auto; text-decoration: none; font: 600 14px/1 var(--body); }
.flight-skip:hover { background: rgba(28, 17, 11, .75); }

.flight.is-animated { height: calc(var(--flight-vh, 1000) * 1vh + 100vh); }
.flight.is-animated .flight-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.place-left-bottom { left: var(--gutter); bottom: clamp(56px, 10vh, 120px); width: min(760px, 56vw); }
.place-left { left: var(--gutter); top: 50%; transform: translateY(-46%); width: min(640px, 48vw); }
.place-right { right: calc(var(--gutter) + 150px); top: 50%; transform: translateY(-46%); width: min(560px, 40vw); }

/* portrait : l'image en haut, le texte dessous sur fond plein (on réorganise, on ne réduit pas) */
@media (orientation: portrait) {
  .flight.is-animated { height: calc(var(--flight-vh, 1000) * 1vh + 100svh); }
  .flight.is-animated .flight-sticky { height: 100svh; display: grid; grid-template-rows: 1fr var(--panel-h, 44%); }
  .flight.is-animated .flight-media { position: relative; inset: auto; }
  .flight.is-animated .flight-media::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 26%; background: linear-gradient(180deg, rgba(28, 17, 11, 0), var(--night)); pointer-events: none; }
  .flight.is-animated .flight-chapters { position: relative; inset: auto; background: var(--night); }
  .flight.is-animated .chapter { inset: 0; left: 0; right: 0; top: 0; bottom: auto; width: auto; transform: none; padding: 16px var(--gutter) 22px; }
  .flight.is-animated .chapter-body::before { display: none; }
  .flight.is-animated .chapter-title { font-size: clamp(34px, 9.4vw, 56px); max-width: none; }
  .flight.is-animated .chapter h2.chapter-title { font-size: clamp(30px, 8.2vw, 50px); }
  .flight.is-animated .chapter-text { font-size: 16.5px; max-width: 42ch; }
  .flight.is-animated .chapter-body { gap: 12px; }
  .flight.is-animated .chapter-kicker.chip { background: none; border: 0; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .flight.is-animated .flight-index { top: auto; bottom: calc(var(--panel-h, 44%) + 8px); right: 12px; transform: none; display: flex; gap: 2px; }
  .flight.is-animated .flight-index button { min-height: 44px; padding: 0 6px; font-size: 0; gap: 0; }
  .flight.is-animated .flight-index button::after { width: 18px; }
  .flight.is-animated .flight-skip { top: 78px; left: 12px; }
  .flight.is-animated .flight-loading { right: 14px; top: 78px; bottom: auto; width: 34px; height: 34px; }
  .flight-intro .intro-note { top: auto; bottom: 14%; right: 18px; font-size: 28px; }
  .flight-intro .intro-note svg { display: none; }
}

/* mode statique (mouvement réduit, appareil lent, pas de réseau) */
.flight.is-static { height: auto; }
.flight.is-static .flight-sticky { position: static; height: auto; }
.flight.is-static .flight-media, .flight.is-static .flight-index { display: none; }
.flight.is-static .flight-chapters { position: static; }
.flight.is-static .chapter { position: relative; inset: auto; width: auto; transform: none; opacity: 1 !important; visibility: visible; display: grid; }
.flight.is-static .chapter .w, .flight.is-static .chapter .stage-2, .flight.is-static .chapter .stage-3 { opacity: 1; transform: none; }
.flight.is-static .blade { display: none; }
.flight.is-static .chapter-still { display: block; position: relative; }
.flight.is-static .chapter-still img { width: 100%; height: 100%; object-fit: cover; }
.flight.is-static .chapter:first-child { min-height: 92vh; align-items: end; }
.flight.is-static .chapter:first-child .chapter-still { position: absolute; inset: 0; }
.flight.is-static .chapter:first-child .chapter-still::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 8, 4, .45), rgba(14, 8, 4, .1) 35%, rgba(14, 8, 4, .8)); }
.flight.is-static .chapter:first-child .chapter-body { padding: 120px var(--gutter) 64px; }
.flight.is-static .chapter:not(:first-child) { grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding: clamp(40px, 7vh, 80px) var(--gutter); }
.flight.is-static .chapter:not(:first-child) .chapter-still { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; }
.flight.is-static .chapter:nth-child(odd):not(:first-child) .chapter-still { order: 2; }
.flight.is-static .chapter-body::before { display: none; }
.flight.is-static .chapter-kicker.chip { background: none; border: 0; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.flight.is-static .flight-skip { position: absolute; top: 92px; z-index: 3; }
@media (max-width: 720px) {
  .flight.is-static .chapter:not(:first-child) { grid-template-columns: 1fr; }
  .flight.is-static .chapter:nth-child(odd):not(:first-child) .chapter-still { order: 0; }
}

/* ═══════════ LA PROMESSE (texte qui s'encre) ═══════════ */
.scene { position: relative; }
.scene-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.manifesto { height: 220vh; }
.manifesto .wrap { display: grid; gap: 22px; justify-content: center; }
.fill-text { font: 700 clamp(30px, 3.9vw, 60px)/1.1 var(--display); font-variation-settings: 'opsz' 72; letter-spacing: -0.03em; max-width: 24ch; }
.fill-text .fc { color: rgba(42, 24, 16, .16); transition: color .25s linear; }
.fill-text .fc.on { color: var(--ink); }
.boxed { position: relative; white-space: nowrap; }
.oval { position: absolute; inset: -.24em -.34em; width: calc(100% + .68em); height: calc(100% + .48em); max-width: none; overflow: visible; pointer-events: none; }
.oval path { fill: none; stroke: var(--accent); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }

/* ═══════════ À TABLE ═══════════ */
.table-head { display: grid; grid-template-columns: 1fr minmax(0, 46ch); gap: 14px 40px; align-items: end; margin-bottom: clamp(36px, 6vh, 64px); }
.table-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
.dish { background: var(--panel); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 60px -40px rgba(42, 24, 16, .55); }
.dish-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden;
  background: radial-gradient(ellipse 70% 65% at 55% 60%, #f0a43a 0%, #c93c17 38%, #5a2410 70%, #2a1810 100%); }
.dish-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.dish:hover .dish-img > img { transform: scale(1.05); }
.dish-img .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(251, 243, 232, .82); }
.dish-img .ph svg { width: 34%; }
.dish-img .ph path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dish-img .ph span { position: absolute; left: 16px; bottom: 14px; font-size: 20px; color: rgba(251, 243, 232, .9); }
.dish-note { position: absolute; left: 18px; top: 16px; z-index: 2; font-size: clamp(26px, 2.2vw, 34px); color: #FFF3DC; transform: rotate(-4deg); text-shadow: 0 2px 10px rgba(14, 8, 4, .8), 0 0 2px rgba(14, 8, 4, .9); }
.dish-real { position: absolute; right: 16px; bottom: -6px; z-index: 2; width: 34%; max-width: 170px; background: #fff; padding: 6px 6px 22px; border-radius: 4px; box-shadow: 0 12px 26px -10px rgba(14, 8, 4, .7); transform: rotate(5deg); transition: transform .5s var(--ease-back); }
.dish-real img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.dish-real figcaption { position: absolute; left: 0; right: 0; bottom: 3px; text-align: center; font-size: 16px; color: var(--ink); }
.dish:hover .dish-real { transform: rotate(1deg) translateY(-6px); }
.dish-body { padding: clamp(18px, 2vw, 28px); display: grid; gap: 12px; flex: 1; align-content: start; }
.dish-range { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.dish-name { font-size: var(--t-h3); line-height: 1; }
.dish-desc { color: var(--muted); max-width: 48ch; }
.dish-row { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; margin-top: 6px; }
/* l'étiquette, comme sur les barquettes */
.label { position: relative; display: grid; gap: 1px; padding: 9px 14px 10px; background: #fff; color: var(--ink); border-radius: 6px; box-shadow: 0 1px 0 rgba(42, 24, 16, .12), 0 8px 18px -12px rgba(42, 24, 16, .6); transform: rotate(-1.5deg); font-family: var(--mono); }
.label small { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.label b { font: 700 20px/1.1 var(--display); letter-spacing: -0.01em; }
.label a { font: 700 16px/1.2 var(--body); color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.persons { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.persons > span { font-size: 22px; margin-right: 4px; color: var(--muted); }
.persons button { min-width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; cursor: pointer; font: 700 15px/1 var(--body); transition: background-color .25s, color .25s, border-color .25s; }
.persons button:hover { border-color: var(--ink); }
.persons button[aria-pressed="true"] { background: var(--ink); color: var(--on-night); border-color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--canvas); }
.qty button { width: 46px; height: 46px; border: 0; background: none; cursor: pointer; font: 700 20px/1 var(--body); border-radius: 999px; }
.qty button:hover { color: var(--accent-text); }
.qty output { min-width: 70px; text-align: center; font: 500 15px/1 var(--mono); }
.dish.in-cart { box-shadow: 0 0 0 3px var(--amber), 0 30px 60px -40px rgba(42, 24, 16, .55); }
.dish-added { font-size: 22px; color: var(--leaf); min-height: 1em; }
.dish-img.is-illu .ph { color: #FFF3DC; --cut: #9C2C12; }
.dish-img.is-illu .ph svg.illu { width: 66%; filter: drop-shadow(0 18px 30px rgba(28, 17, 11, .45)); }
.persons-note { font-size: 22px; color: var(--muted); }

/* ═══════════ BANDE DE BRAISE ═══════════ */
.band { position: relative; z-index: 2; }
.diag { height: 8vw; position: relative; margin: -1px 0; }
.to-accent { background: linear-gradient(to bottom right, transparent 49.7%, #B8341A 50.3%); }
.from-accent { background: linear-gradient(to bottom right, #7E2410 49.7%, transparent 50.3%); }
.motto { height: 300vh; color: #FFF3DC; background: linear-gradient(180deg, #B8341A 0%, #C93C17 35%, #9C2C12 75%, #7E2410 100%); }
.motto .scene-sticky { display: block; }
.motto .scene-sticky::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(240, 164, 58, .35), rgba(240, 164, 58, 0) 70%); pointer-events: none; }
.motto-kicker { position: absolute; top: 14vh; left: 50%; transform: translateX(-50%) rotate(-2deg); white-space: nowrap; font-family: var(--hand); font-weight: 700; font-size: clamp(26px, 2.4vw, 36px); color: #FFD9A0; }
.motto-track { position: absolute; top: 50%; left: 0; display: flex; align-items: baseline; gap: 9vw; white-space: nowrap; will-change: transform; transform: translate(0, -50%); }
.mw { font-family: var(--display); font-weight: 800; font-variation-settings: 'opsz' 96, 'wdth' 80; font-size: clamp(90px, 17vw, 280px); line-height: 1; letter-spacing: -0.04em; }
.mw .sc { display: inline-block; will-change: transform; }
.motto-hint { position: absolute; bottom: 14vh; left: 50%; transform: translateX(-50%); font: 600 clamp(17px, 1.4vw, 22px)/1.4 var(--body); text-align: center; max-width: 80vw; transition: opacity .25s; }
.motto-hint.swap { opacity: 0; }

/* ═══════════ LA FERME ═══════════ */
.farm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 90px); align-items: center; }
.polaroid { position: relative; background: #fff; padding: 12px 12px 58px; border-radius: 6px; box-shadow: 0 40px 70px -40px rgba(42, 24, 16, .7); transform: rotate(-2.5deg); }
.polaroid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 26px; color: var(--ink); }
.farm-copy { display: grid; gap: 22px; }
.farm-label { position: relative; display: grid; grid-template-columns: minmax(0, 260px) auto; gap: 14px; align-items: center; }
.farm-label img { width: 100%; border-radius: 6px; box-shadow: 0 16px 30px -18px rgba(42, 24, 16, .8); transform: rotate(2deg); }
.farm-label span { font-size: 24px; color: var(--accent-text); transform: rotate(-4deg); }
.facts { display: grid; }
.facts div { display: grid; grid-template-columns: minmax(130px, 32%) 1fr; gap: 14px; padding: 12px 0; border-top: 1px dashed var(--line); align-items: baseline; }
.facts dt { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-weight: 600; }

/* ═══════════ RESTAURANTS ET HÔTELS ═══════════ */
.pros { padding-block: clamp(40px, 6vh, 70px); }
.pros-card { background: var(--night); color: var(--on-night); border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 4.5vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px 48px; align-items: center; position: relative; overflow: hidden; }
.pros-card::before { content: ''; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; background: radial-gradient(circle, rgba(240, 164, 58, .28), rgba(201, 60, 23, 0) 65%); pointer-events: none; }
.pros-card .h2 { font-size: clamp(30px, 3.6vw, 54px); }
.pros-card p { color: var(--on-night-muted); max-width: 44ch; }
.pros-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ═══════════ COMMANDER ═══════════ */
.order-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.ticket { position: relative; background: var(--panel); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 20px; box-shadow: 0 30px 60px -44px rgba(42, 24, 16, .6); }
.ticket::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: -10px; height: 20px; background: radial-gradient(circle at 10px -2px, transparent 10px, var(--panel) 10.5px) 0 0 / 20px 20px repeat-x; }
.ticket-title { font-size: 26px; color: var(--accent-text); }
.cart { display: grid; }
.cart-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px dashed var(--line); }
.cart-row .qty { transform: scale(.9); transform-origin: right; }
.cart-row .rm { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 24px; line-height: 1; color: var(--muted); border-radius: 999px; }
.cart-empty { color: var(--muted); padding: 12px 0; border-top: 1px dashed var(--line); }
.hint { font-size: 14.5px; color: var(--muted); }
.field { display: grid; gap: 6px; }
.field[hidden] { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 6px; }
.field label, .field legend { font-weight: 700; font-size: 15px; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--canvas); }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px rgba(240, 164, 58, .35); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; }
.seg input { accent-color: var(--accent); width: 17px; height: 17px; }
.seg label:has(input:checked) { border-color: var(--ink); background: var(--canvas); }
.preview { position: sticky; top: 96px; display: grid; gap: 14px; }
.preview-title { font-size: 26px; color: var(--muted); }
.bubble { background: #DCF8C6; color: #111B21; border-radius: 16px 16px 16px 4px; padding: 16px 18px; font: 400 15.5px/1.45 system-ui, sans-serif; white-space: pre-wrap; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); min-height: 120px; }
.preview-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.notice { font-size: 14.5px; padding: 12px 16px; border-radius: 14px; background: rgba(240, 164, 58, .16); color: var(--ink); border: 1px dashed rgba(201, 60, 23, .5); }
.order-meta { display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.order-meta b { color: var(--ink); margin-right: 6px; }

.cart-bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 150; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; background: var(--night); color: var(--on-night); border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); transform: translateY(160%); transition: transform .5s var(--ease-out); }
.cart-bar.show { transform: translateY(0); }
.cart-bar .btn { min-height: 44px; }

/* ═══════════ CONTACT + PIED DE PAGE ═══════════ */
.footer { background: var(--night); color: var(--on-night); padding: clamp(80px, 12vh, 140px) 0 28px; overflow: hidden; position: relative; }
.footer::before { content: ''; position: absolute; width: 90vmax; height: 60vmax; left: 50%; top: 58%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(201, 60, 23, .35), rgba(201, 60, 23, 0) 62%); pointer-events: none; }
.footer .wrap { position: relative; }
.footer-head { display: grid; gap: 14px; margin-bottom: 40px; }
.footer-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.contact-cell { padding: 18px 0 20px; border-top: 1px solid rgba(251, 243, 232, .16); display: grid; gap: 6px; align-content: start; }
.contact-cell dt { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-night-muted); }
.contact-cell dd { font-size: 18px; font-weight: 600; }
.contact-cell dd a { text-decoration-color: var(--amber); text-underline-offset: 4px; }
.footer-name { margin-top: 8vh; display: flex; justify-content: center; overflow: hidden; }
.footer-logo { --lg-ink: #FFF3DC; --lg-grey: rgba(255, 243, 220, .62); --lg-red: var(--accent); display: block; width: min(100%, 880px); height: auto; aspect-ratio: 454 / 150; transform: translateY(104%); transition: transform 1.1s var(--ease-out); }
.footer-name.in .footer-logo { transform: none; }
.footer-bottom { margin-top: 4vh; padding-top: 18px; border-top: 1px solid rgba(251, 243, 232, .16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 14px; color: var(--on-night-muted); }
.footer-bottom a { color: var(--on-night); }
.draft { color: var(--amber); }

/* ═══════════ RÉVÉLATIONS ═══════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal.done { transition-delay: 0s !important; }
.polaroid.reveal.in { transform: rotate(-2.5deg); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1180px) {
  .place-right { right: calc(var(--gutter) + 120px); }
}
@media (max-width: 960px) {
  .dock-nav { display: none; }
  .dock-menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 0; background: none; cursor: pointer; font: 700 15px/1 var(--body); }
  .dock-menu i { width: 18px; height: 11px; border-top: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; border-radius: 1px; }
  .menu-sheet { position: fixed; top: 76px; left: 10px; right: 10px; z-index: 199; display: grid; background: var(--panel); border-radius: var(--radius); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45); padding: 8px; transition: opacity .25s var(--ease-out), transform .35s var(--ease-out); }
  .menu-sheet[hidden] { display: grid; opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden; }
  .menu-sheet a { padding: 16px 14px; text-decoration: none; font: 700 20px/1 var(--body); border-bottom: 1px dashed var(--line); }
  .menu-sheet a:last-child { border-bottom: 0; color: var(--accent-text); }
  .table-head { grid-template-columns: 1fr; }
  .farm-grid, .order-grid { grid-template-columns: 1fr; }
  .polaroid { max-width: 460px; margin-inline: auto; }
  .preview { position: static; }
  .pros-card { grid-template-columns: 1fr; }
  .pros-actions { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .dock { width: auto; max-width: none; left: 10px; right: 10px; top: 10px; transform: translateY(-160%); justify-content: space-between; padding: 5px 5px 5px 16px; }
  body.is-ready .dock { transform: translateY(0); }
  body.handoff .dock { transform: translateY(0); }
  .dock-brand { margin-right: auto; }
  .dock-word.lg { --h: 26px; }
  .dock-cta { padding: 0 16px; }
  .table-grid { grid-template-columns: 1fr; }
  .dish-real { width: 30%; right: 12px; bottom: -4px; padding: 4px 4px 16px; }
  .dish-real figcaption { font-size: 13px; bottom: 1px; }
  .dish-note { max-width: 62%; font-size: 24px; }
  .dish-row { flex-direction: column; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .farm-label { grid-template-columns: 1fr; }
  .motto-kicker { white-space: normal; text-align: center; width: 86vw; top: 12vh; }
  .footer-bottom { flex-direction: column; }
  .cart-bar { display: flex; }
  .manifesto { height: 190vh; }
}
@media (max-width: 400px) {
  .dock-menu { font-size: 0; gap: 0; padding: 0 10px; }
  .dock-word.lg { --h: 22px; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .flight-index, .flight-loading { display: none; }
  .place-left-bottom { bottom: 20px; }
  .chapter-title { font-size: clamp(28px, 4.6vw, 48px); }
  .chapter h2.chapter-title { font-size: clamp(24px, 3.8vw, 40px); }
  .flight-skip { top: 74px; }
}
@media (pointer: coarse) {
  .link { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ═══════════ MOUVEMENT RÉDUIT : états finaux ═══════════ */
html.reduced *, html.reduced *::before, html.reduced *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
html.reduced .reveal { opacity: 1; transform: none; }
html.reduced .polaroid.reveal { transform: rotate(-2.5deg); }
html.reduced .fill-text .fc { color: var(--ink); }
html.reduced .manifesto, html.reduced .motto { height: auto; }
html.reduced .manifesto .scene-sticky { position: static; height: auto; padding-block: var(--section-pad); }
html.reduced .motto .scene-sticky { position: static; height: auto; padding: 16vh var(--gutter); display: grid; gap: 22px; justify-items: center; text-align: center; }
html.reduced .motto-kicker, html.reduced .motto-hint { position: static; transform: none; }
html.reduced .motto-track { position: static; transform: none !important; flex-direction: column; align-items: center; gap: 4px; }
html.reduced .mw { font-size: clamp(60px, 13vw, 160px); }
html.reduced .mw .sc { transform: none !important; }
html.reduced .motto-hint { display: none; }
html.reduced .footer-logo { transform: none; }
html.reduced .env::after { display: none; }
