/* =============================================================================
   NP FROMAGES — Sélection premium
   -----------------------------------------------------------------------------
   Direction artistique : « galerie de parchemin épicé »
   Canevas beige, titres serif ultra-légers en capitales, géométrie nette,
   filets de 1px, aucune ombre, un unique accent safran.
   Le doré du logo n'est utilisé que pour le logo lui-même.
   ============================================================================= */

/* 1. Variables ------------------------------------------------------------- */
:root {
  /* Couleurs */
  --parchment: #d8cbb8;
  --linen: #bfb4a3;
  --stone: #b6ab9c;
  --walnut: #978e81;
  --espresso: #615b53;
  --onyx: #2c2c2c;
  --roast: #292622;
  --saffron: #d49653;
  --gold: #b79c6e;       /* lettres du logo */
  --gold-deep: #8f7d5e;  /* anneaux du logo */

  /* Contexte (redéfini dans les sections sombres) */
  --fg: var(--onyx);
  --fg-muted: var(--espresso);
  --line: var(--stone);

  /* Typographie */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Satoshi", "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-caption: 12px;
  --fs-body: 15px;
  --fs-lede: clamp(20px, 1.75vw, 26px);
  --fs-sub: clamp(28px, 2.9vw, 42px);
  --fs-h-sm: clamp(32px, 3.5vw, 50px);
  --fs-h-lg: clamp(40px, 4.8vw, 69px);
  --fs-display: clamp(46px, 8vw, 115px);

  /* Mouvement */
  --ease: cubic-bezier(.25, .46, .45, .94);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Mise en page */
  --gutter: clamp(16px, 2.4vw, 36px);
  --section: clamp(96px, 11vw, 160px);
  --nav-h: 76px;
  --radius: 3px;
}

.tone-dark {
  --fg: var(--parchment);
  --fg-muted: rgba(216, 203, 184, .66);
  --line: rgba(216, 203, 184, .17);
  color: var(--fg);
  background-color: var(--roast);
}

.tone-linen {
  --line: rgba(44, 44, 44, .16);
  background-color: var(--linen);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--parchment);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1.4;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
small { font-size: .75em; }
[hidden] { display: none !important; }

::selection { background: var(--onyx); color: var(--parchment); }
:focus-visible { outline: 1px solid var(--saffron); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
.no-motion.menu-open body, .no-motion.cart-open body { overflow: hidden; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 400;
  padding: 12px 16px; border-radius: var(--radius);
  background: var(--onyx); color: var(--parchment);
  font-size: 13px; text-transform: uppercase;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* 3. Typographie ----------------------------------------------------------- */
.caption {
  font-size: var(--fs-caption);
  line-height: 1.3;
  letter-spacing: -.012em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.display, .h-lg, .h-sm, .sub {
  font-family: var(--serif);
  font-weight: 300;
  text-transform: uppercase;
}
.display { font-size: var(--fs-display); line-height: .86; letter-spacing: -.04em; }
.h-lg    { font-size: var(--fs-h-lg);   line-height: .9;  letter-spacing: -.04em; }
.h-sm    { font-size: var(--fs-h-sm);   line-height: .9;  letter-spacing: -.03em; }
.sub     { font-size: var(--fs-sub);    line-height: 1;   letter-spacing: -.03em; }
.display em, .h-lg em, .h-sm em, .sub em { text-transform: none; letter-spacing: -.025em; }

.lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-lede);
  line-height: 1.2;
  letter-spacing: -.006em;
}
.body { max-width: 46ch; }
.body + .body { margin-top: 1em; }

/* Lignes découpées par SplitText : marge de sécurité pour les accents (É, À…)
   et les jambages (p, q…). Les marges négatives fusionnent entre deux lignes :
   -.24em compense exactement .08em (bas) + .16em (haut). */
.line-mask { padding: .16em 0 .08em; margin: -.24em 0 -.08em; }
.line-mask:first-child { margin-top: -.16em; }

/* 4. Composants ------------------------------------------------------------ */
.wrap { padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section); }

.rule { display: block; width: 100%; height: 1px; background: var(--line); transform-origin: left center; }

.sec-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.sec-head .rule { flex: 1; }
.sec-head__n { color: var(--fg); }

/* Bouton fantôme */
.btn {
  --btn-fg: var(--onyx);
  --btn-ink: var(--parchment);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 19px 26px;
  border: 1px solid var(--btn-fg);
  border-radius: var(--radius);
  color: var(--btn-fg);
  font-size: 14px; line-height: 1; letter-spacing: -.01em; text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-out), border-color .5s var(--ease), opacity .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--btn-fg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateY(102%);
  transition: transform .7s var(--ease-out), border-radius .7s var(--ease-out);
}
.btn:hover, .btn:focus-visible { color: var(--btn-ink); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); border-radius: 0; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn[disabled], .btn.is-disabled { opacity: .4; pointer-events: none; }
.tone-dark .btn { --btn-fg: var(--parchment); --btn-ink: var(--roast); }

/* Texte qui « roule » au survol */
.roll__t { display: inline-flex; height: 1.3em; line-height: 1.3; overflow: hidden; }
.roll__c {
  display: inline-block; white-space: pre;
  text-shadow: 0 1.3em 0 currentColor;
  transition: transform .65s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 16ms);
}
.roll:hover .roll__c, .roll:focus-visible .roll__c { transform: translateY(-1.3em); }

/* Étiquettes / filtres */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 12px; line-height: 1; letter-spacing: -.012em; text-transform: uppercase;
  color: var(--fg-muted);
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.tag::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--saffron);
  transform: scale(0); transition: transform .45s var(--ease-out);
}
.tag:hover { color: var(--fg); border-color: var(--fg); }
.tag.is-active { color: var(--fg); border-color: var(--saffron); }
.tag.is-active::before { transform: scale(1); }

.flag {
  display: inline-block; vertical-align: middle;
  margin-left: .55em; padding: 6px 8px 5px;
  border: 1px solid var(--saffron); border-radius: var(--radius);
  font: 500 11px/1 var(--sans); letter-spacing: 0; text-transform: uppercase;
  color: var(--fg);
  transform: translateY(-.3em);
}

/* Lien texte souligné au survol */
.link-u {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding-block: 4px;
  font-size: 13px; letter-spacing: -.011em; text-transform: uppercase;
}
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right center;
  transition: transform .6s var(--ease-out);
}
.link-u:hover::after, .link-u:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.link-u svg { width: 14px; height: 14px; transition: transform .5s var(--ease-out); }
.link-u:hover svg { transform: rotate(45deg); }

/* Bouton icône */
.icon-btn {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border: 1px solid var(--fg); border-radius: var(--radius);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--fg); color: var(--parchment); }
.tone-dark .icon-btn:hover { color: var(--roast); }

/* Sélecteur de quantité */
.qty {
  display: inline-flex; align-items: center;
  height: 44px;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.qty button { display: grid; place-items: center; width: 40px; height: 100%; transition: background-color .3s var(--ease); }
.qty button:hover { background: rgba(44, 44, 44, .08); }
.qty svg { width: 16px; height: 16px; }
.qty output { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; }
.qty--sm { height: 34px; }
.qty--sm button { width: 30px; }

/* Images */
.media { position: relative; overflow: hidden; background: var(--linen); }
.tone-dark .media { background: #35312c; }
.media img {
  position: absolute; left: 0; top: -10%;
  width: 100%; height: 120%; max-width: none;
  object-fit: cover;
}
.media--x img { top: 0; height: 100%; left: -8%; width: 116%; }

/* Étoiles */
.stars { display: flex; gap: 3px; color: var(--saffron); }
.stars svg { width: 15px; height: 15px; fill: currentColor; }

/* 5. Calques globaux ------------------------------------------------------- */
.grain {
  position: fixed; top: -50%; left: -50%; z-index: 250;
  width: 200%; height: 200%;
  pointer-events: none;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  17% { transform: translate(-6%, 4%); }
  33% { transform: translate(4%, -8%); }
  50% { transform: translate(-9%, 9%); }
  67% { transform: translate(8%, 2%); }
  83% { transform: translate(-3%, -6%); }
}

.progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 95;
  height: 2px;
  background: var(--saffron);
  transform: scaleX(0); transform-origin: left center;
  pointer-events: none;
}

/* Curseur personnalisé */
.cursor { display: none; pointer-events: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto !important; }
.cursor > * { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; }
.cursor__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--parchment); mix-blend-mode: difference;
  opacity: 0; transition: opacity .3s var(--ease);
}
.cursor__ring {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--parchment); mix-blend-mode: difference;
  opacity: 0;
  transition: width .5s var(--ease-out), height .5s var(--ease-out),
              background-color .4s var(--ease), opacity .3s var(--ease);
}
.cursor.is-visible .cursor__dot, .cursor.is-visible .cursor__ring { opacity: 1; }
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; background-color: var(--parchment); }
.cursor.is-down .cursor__ring { width: 26px; height: 26px; }
.cursor.is-label .cursor__ring, .cursor.is-label .cursor__dot,
.cursor.is-field .cursor__ring, .cursor.is-field .cursor__dot { opacity: 0; }
.cursor__label span {
  display: grid; place-items: center;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--saffron); color: var(--onyx);
  font-size: 12px; line-height: 1; text-transform: uppercase;
  transform: scale(0); transition: transform .55s var(--ease-out);
}
.cursor.is-label .cursor__label span { transform: scale(1); }

/* Aperçu flottant (liste des fromages) */
.preview {
  position: fixed; top: 0; left: 0; z-index: 60;
  width: clamp(220px, 20vw, 320px); aspect-ratio: 1 / 1;
  overflow: hidden; pointer-events: none;
  visibility: hidden; opacity: 0;
  background: var(--linen);
}
.preview__inner { position: absolute; inset: 0; }
.preview__inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 6. Préchargement : le logo se dessine ------------------------------------ */
.loader { display: none; }
.js .loader {
  display: block;
  position: fixed; inset: 0; z-index: 200;
  background: var(--roast); color: var(--parchment);
  animation: loader-failsafe .01s 10s forwards;
}
@keyframes loader-failsafe { to { visibility: hidden; opacity: 0; } }
.loader__inner {
  position: absolute; inset: 0;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: var(--gutter);
}
.loader .caption { color: rgba(216, 203, 184, .6); }
.loader__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.loader__row--bottom { align-items: flex-end; }
.loader__center { display: grid; place-items: center; }
.loader__logo { width: clamp(170px, 21vw, 250px); height: clamp(170px, 21vw, 250px); overflow: visible; }
.loader__ring { stroke: var(--gold-deep); stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader__dot { fill: var(--gold-deep); opacity: 0; }
.loader__ink { fill: var(--gold); }
.loader__c, .loader__b, .loader__n, .loader__p { opacity: 0; }
.loader__count {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(84px, 13vw, 200px); line-height: .78; letter-spacing: -.04em;
  font-variant-numeric: lining-nums tabular-nums;
}

/* 7. En-tête fixe ---------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-inline: var(--gutter);
  color: var(--parchment);
  border-bottom: 1px solid transparent;
  transition: height .5s var(--ease-out), color .5s var(--ease),
              background-color .5s var(--ease), border-color .5s var(--ease);
}
.nav[data-tone="light"] { color: var(--onyx); }
.nav.is-solid { height: 64px; }
.nav.is-solid[data-tone="light"] { background-color: var(--parchment); border-color: var(--stone); }
.nav.is-solid[data-tone="dark"] { background-color: var(--roast); border-color: rgba(216, 203, 184, .14); }
.menu-open .nav {
  color: var(--parchment) !important;
  background-color: transparent !important;
  border-color: transparent !important;
}

.nav__logo {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; text-transform: uppercase; letter-spacing: -.01em;
}
.logo { width: 46px; height: 46px; flex: none; transition: width .5s var(--ease-out), height .5s var(--ease-out), transform .9s var(--ease-out); }
.nav.is-solid .logo { width: 40px; height: 40px; }
.nav__logo:hover .logo { transform: rotate(-14deg); }

.nav__links { display: flex; gap: clamp(18px, 2.2vw, 34px); font-size: 14px; text-transform: uppercase; }

.nav__right { justify-self: end; display: flex; align-items: center; gap: 12px; }
.nav__status {
  display: inline-flex; align-items: center; gap: 10px;
  margin-right: 8px;
  font-size: 12px; text-transform: uppercase; letter-spacing: -.012em;
  opacity: .9; white-space: nowrap;
}
.nav__status .dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.nav__status.is-open .dot { background: var(--saffron); }
.nav__status.is-open .dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--saffron);
  animation: ping 1.8s var(--ease-out) infinite;
}
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* Bouton panier */
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 8px 0 12px;
  border: 1px solid currentColor; border-radius: var(--radius);
  font-size: 13px; text-transform: uppercase; white-space: nowrap;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.cart-btn__ico { width: 18px; height: 18px; flex: none; }
.cart-btn__count {
  display: inline-grid; place-items: center;
  min-width: 24px; height: 24px; padding: 0 6px;
  border: 1px solid currentColor; border-radius: 12px;
  font-size: 12px; font-variant-numeric: tabular-nums; line-height: 1;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.cart-btn.has-items .cart-btn__count { background: var(--saffron); border-color: var(--saffron); color: var(--onyx); }
.cart-btn.is-bump .cart-btn__count { animation: bump .7s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.55); } 100% { transform: scale(1); } }
.nav[data-tone="dark"] .cart-btn:hover, .menu-open .nav .cart-btn:hover { background: var(--parchment); color: var(--roast); }
.nav[data-tone="light"] .cart-btn:hover { background: var(--onyx); color: var(--parchment); }

.burger {
  display: grid; place-content: center; gap: 6px;
  width: 44px; height: 44px;
  border: 1px solid currentColor; border-radius: var(--radius);
}
.burger span { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .6s var(--ease-out); }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* 8. Menu plein écran ------------------------------------------------------ */
.menu {
  position: fixed; inset: 0; z-index: 85;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  background: var(--roast); color: var(--parchment);
  --line: rgba(216, 203, 184, .17);
  --fg-muted: rgba(216, 203, 184, .66);
}
.no-motion .menu { clip-path: none; }
.menu__grid {
  height: 100%;
  display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr auto;
  gap: var(--gutter);
  padding: calc(var(--nav-h) + clamp(16px, 3vh, 40px)) var(--gutter) var(--gutter);
}
.menu__nav { display: flex; flex-direction: column; justify-content: center; }
.menu__link {
  display: block; overflow: hidden;
  padding-top: .14em; margin-top: -.14em;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, min(7.6vh, 10.5vw), 96px); line-height: .98; letter-spacing: -.04em;
  text-transform: uppercase; white-space: nowrap;
}
.menu__link-inner { display: block; }
.menu__label { display: inline-flex; align-items: flex-start; gap: .35em; transition: transform .7s var(--ease-out), opacity .5s var(--ease); }
.menu__n { font: 500 12px/1 var(--sans); letter-spacing: 0; padding-top: .9em; color: var(--fg-muted); }
.menu__nav:hover .menu__label { opacity: .32; }
.menu__nav .menu__link:hover .menu__label { opacity: 1; transform: translateX(clamp(10px, 2vw, 32px)); }
.menu__media { position: relative; overflow: hidden; background: #35312c; }
.menu__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease-out);
}
.menu__media img.is-active { opacity: 1; transform: scale(1); }
.menu__foot {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
  padding-top: 18px; border-top: 1px solid var(--line);
}
.menu__foot p, .menu__foot a { display: block; font-size: 14px; }
.menu__foot .caption { margin-bottom: 8px; font-size: 12px; }

/* 9. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 600px;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  will-change: transform;
}
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(41, 38, 34, .62) 0%, rgba(41, 38, 34, .18) 32%, rgba(41, 38, 34, .3) 58%, rgba(41, 38, 34, .9) 100%);
}
.hero__shade-scroll { position: absolute; inset: 0; background: var(--roast); opacity: 0; }
.hero__content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + clamp(28px, 5vh, 64px)) var(--gutter) clamp(8px, 1.2vw, 18px);
}
.hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.hero__lede {
  max-width: 13em;
  font-family: var(--serif); font-weight: 300;
  font-size: var(--fs-sub); line-height: 1; letter-spacing: -.03em;
  text-transform: uppercase;
}
.hero__lede em { text-transform: none; }
.hero__meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 14px; }
.hero .rule { margin-bottom: clamp(10px, 1.2vw, 18px); }
.hero__wordmark {
  font-family: var(--sans); font-weight: 500;
  font-size: 15vw; line-height: .8; letter-spacing: -.016em;
  text-transform: uppercase; white-space: nowrap;
}

/* Badge tournant : services */
.badge {
  position: relative; flex: none;
  width: clamp(112px, 11vw, 168px); height: clamp(112px, 11vw, 168px);
  color: var(--parchment);
}
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.badge__ring text {
  font-family: var(--sans); font-weight: 500; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase;
  fill: currentColor;
}
.badge__mark {
  position: absolute; left: 24%; top: 24%; width: 52%; height: 52%;
  color: var(--gold);
  transition: transform .9s var(--ease-out), color .5s var(--ease);
}
.badge:hover .badge__mark { transform: scale(1.1) rotate(-10deg); color: var(--parchment); }

.wm { display: inline-flex; align-items: flex-end; }
.wm__c { display: inline-block; overflow: hidden; overflow: clip; }
.wm__c > span { display: inline-block; will-change: transform; }
.wm__sp { width: .22em; flex: none; }

.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { position: relative; width: 1px; height: 34px; overflow: hidden; background: rgba(216, 203, 184, .28); }
.scroll-cue i::after {
  content: ""; position: absolute; inset: 0;
  background: var(--parchment);
  animation: cue 2.2s var(--ease-out) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 65%, 100% { transform: translateY(100%); } }

/* 10. Bandeau défilant ----------------------------------------------------- */
.marquee {
  position: relative; overflow: hidden;
  padding-block: clamp(18px, 2vw, 28px);
  border-bottom: 1px solid var(--line);
  background: var(--parchment);
}
.marquee__inner { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  display: inline-flex; align-items: center;
  padding-inline: .3em;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(44px, 6.4vw, 104px); line-height: 1; letter-spacing: -.04em;
  text-transform: uppercase; white-space: nowrap;
  transition: color .45s var(--ease);
}
.marquee__item:hover { color: var(--saffron); }
.marquee__sep { width: .26em; height: .26em; fill: var(--walnut); flex: none; }
.marquee--small { border-top: 1px solid var(--line); background: transparent; padding-block: 18px; }
.marquee--small .marquee__item { font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: -.01em; padding-inline: 1.4em; }
.marquee--small .marquee__item:hover { color: inherit; }
.marquee--small .marquee__sep { width: 9px; height: 9px; fill: var(--saffron); }

/* 11. La Maison ------------------------------------------------------------ */
.manifesto {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(32px, 4.6vw, 72px); line-height: .98; letter-spacing: -.035em;
  text-transform: uppercase;
  text-indent: 16%;
}
.manifesto .mw { text-indent: 0; }

.maison__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter); row-gap: clamp(40px, 6vw, 80px);
  margin-top: clamp(80px, 10vw, 160px);
  align-items: start;
}
.maison__fig--a { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.maison__fig--a .media { aspect-ratio: 4 / 5; }
.maison__text {
  grid-column: 7 / span 5; grid-row: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
  padding-top: clamp(20px, 6vw, 100px);
}
.maison__fig--b { grid-column: 9 / span 4; grid-row: 2; }
.maison__fig--b .media { aspect-ratio: 3 / 4; }
.maison__fig figcaption { display: flex; justify-content: space-between; margin-top: 12px; }
.maison__sign { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; letter-spacing: -.01em; color: var(--espresso); }

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(80px, 10vw, 150px);
  border-top: 1px solid var(--line);
}
.stats li { display: flex; flex-direction: column; gap: 14px; padding: 28px 20px 0 0; }
.stats li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.stats__n {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(64px, 8vw, 128px); line-height: .8; letter-spacing: -.04em;
  font-variant-numeric: lining-nums tabular-nums;
}
.stats__n i { font-style: normal; color: var(--saffron); }
.stats__unit { font-size: .45em; letter-spacing: 0; margin-left: .06em; }

/* 12. La Carte ------------------------------------------------------------- */
.carte__intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 30%);
  gap: var(--gutter); align-items: end;
  margin-bottom: clamp(48px, 6vw, 90px);
}
.carte__bar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 16px; padding-bottom: 22px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }

.cheeses { border-top: 1px solid var(--line); }
.cheeses__group {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: clamp(36px, 4vw, 56px) 0 12px;
  border-bottom: 1px solid var(--fg);
  font-size: 13px; text-transform: uppercase; letter-spacing: -.01em;
}
.cheeses__group:first-child { padding-top: 20px; }
.cheeses__group[hidden] { display: none; }
.cheese {
  --thumb: clamp(56px, 5vw, 76px);
  position: relative;
  display: grid;
  grid-template-columns: 2.4em var(--thumb) minmax(0, 1fr) minmax(110px, 13%) minmax(130px, 14%) minmax(84px, 9%) 44px;
  grid-template-areas: "n thumb name origin milk price add";
  align-items: center; column-gap: clamp(12px, 1.8vw, 28px);
  padding-block: clamp(12px, 1.2vw, 16px);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.cheese__n { grid-area: n; }
.cheese__name { grid-area: name; }
.cheese__origin { grid-area: origin; }
.cheese__milk { grid-area: milk; }
.cheese__price { grid-area: price; }
.cheese__add { grid-area: add; }
.cheese::before {
  content: ""; position: absolute; z-index: -1;
  top: 0; bottom: 0; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1);
  background: var(--linen);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .6s var(--ease-out);
}
.cheese:hover::before, .cheese.is-open::before { transform: scaleY(1); }
.cheese__n { font-size: 12px; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.cheese__name {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 3.1vw, 46px); line-height: .95; letter-spacing: -.035em;
  text-transform: uppercase;
  transition: transform .7s var(--ease-out);
}
.cheese__name em { text-transform: none; color: var(--espresso); }
.cheese:hover .cheese__name, .cheese.is-open .cheese__name { transform: translateX(clamp(8px, 1.6vw, 28px)); }
.cheese__origin, .cheese__milk { font-size: 13px; text-transform: uppercase; letter-spacing: -.011em; color: var(--fg-muted); }
.cheese__price { text-align: right; font-size: 15px; white-space: nowrap; }
.cheese__price small { color: var(--fg-muted); font-size: 12px; margin-left: 2px; }
.cheese__add {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--fg); border-radius: var(--radius);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.cheese__add svg { width: 18px; height: 18px; transition: transform .6s var(--ease-out); }
.cheese__add:hover, .cheese.is-open .cheese__add { background: var(--onyx); color: var(--parchment); }
.cheese.is-open .cheese__add svg { transform: rotate(135deg); }
.cheese__thumb {
  grid-area: thumb; display: block;
  width: var(--thumb); height: var(--thumb); object-fit: cover;
  background: var(--linen);
  filter: saturate(.92);
  transition: transform .7s var(--ease-out), filter .5s var(--ease);
}
.cheese:hover .cheese__thumb, .cheese.is-open .cheese__thumb { transform: scale(1.06); filter: saturate(1.05); }
.cheese__thumb--empty { display: grid; place-items: center; color: var(--espresso); }
.cheese__thumb--empty svg { width: 60%; height: 60%; }

/* Panneau « choisir sa portion » */
.cheese__panel { grid-column: 1 / -1; overflow: hidden; }
.cheese__panel-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  padding: 22px 0 6px calc(2.4em + var(--thumb) + 2 * clamp(12px, 1.8vw, 28px));
}
.cheese__notes {
  flex: 1 1 280px; max-width: 42ch;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 21px; line-height: 1.25; letter-spacing: -.005em;
  color: var(--espresso);
}
.portions { display: flex; flex-wrap: wrap; gap: 6px; }
.portion {
  display: grid; gap: 4px;
  min-width: 78px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 12px; text-transform: uppercase; text-align: left;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.portion small { font-size: 12px; text-transform: none; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.portion:hover { border-color: var(--onyx); }
.portion[aria-checked="true"] { border-color: var(--onyx); background: var(--parchment); }
.cheese__buy { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cheese__buy .btn { padding: 14px 18px; font-size: 13px; }
.carte__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

/* 13. Transition « cave » (image qui s'ouvre) ------------------------------ */
.expand { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--parchment); }
.expand__media { position: absolute; inset: 0; overflow: hidden; background: var(--roast); }
.expand__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.expand__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(41, 38, 34, .55) 0%, rgba(41, 38, 34, .4) 40%, rgba(41, 38, 34, .88) 100%);
}
.expand__words { display: none; }
.expand.is-pinned .expand__words { display: block; }
.expand__word {
  position: absolute;
  font-family: var(--serif); font-weight: 300;
  font-size: var(--fs-display); line-height: .86; letter-spacing: -.04em;
  text-transform: uppercase; color: var(--onyx);
}
.expand__word em { text-transform: none; }
.expand__word--a { top: calc(var(--nav-h) + 3vh); left: var(--gutter); }
.expand__word--b { bottom: 4vh; right: var(--gutter); text-align: right; }
.expand__cap { position: absolute; top: calc(var(--nav-h) + 28px); left: var(--gutter); color: rgba(216, 203, 184, .78); }
.expand__quote {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 6vh, 64px);
  color: var(--parchment);
}
.ml { display: block; overflow: hidden; padding-top: .16em; margin-top: -.16em; }
.ml > span { display: block; }

/* 14. Processus (défilement horizontal) ------------------------------------ */
.process { position: relative; }
.process__pin { padding: var(--section) var(--gutter); }
.process__head { display: flex; flex-direction: column; gap: 32px; margin-bottom: 72px; }
.process__intro { display: flex; flex-direction: column; gap: 28px; }
.process__intro .body { color: var(--fg-muted); }
.process__meter { display: none; }
.process__track { display: grid; gap: 72px; }
.step { display: flex; flex-direction: column; gap: 22px; }
.step__media { aspect-ratio: 4 / 5; }
.step__body { display: flex; flex-direction: column; gap: 12px; }
.step__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.step__n { font-family: var(--serif); font-weight: 300; font-size: 26px; letter-spacing: -.01em; color: var(--fg-muted); font-variant-numeric: lining-nums; }
.step__title { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h-sm); line-height: .9; letter-spacing: -.03em; text-transform: uppercase; }
.step__text { max-width: 40ch; color: var(--fg-muted); }

/* Version épinglée (activée par le JS sur grand écran) */
.process.is-pinned .process__pin { height: 100vh; height: 100svh; display: flex; padding: 0; overflow: hidden; }
.process.is-pinned .process__head {
  position: relative; z-index: 2;
  flex: 0 0 clamp(320px, 33vw, 520px);
  margin: 0;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 40px) var(--gutter) clamp(24px, 4vh, 44px);
  border-right: 1px solid var(--line);
  background: var(--roast);
}
.process.is-pinned .process__meter { display: flex; flex-direction: column; gap: 14px; }
.process__bar-track { position: relative; height: 1px; background: var(--line); }
.process__bar { position: absolute; inset: 0; background: var(--saffron); transform: scaleX(0); transform-origin: left center; }
.process__count { display: flex; justify-content: space-between; }
.process__count b { font-weight: 500; color: var(--fg); }
.process.is-pinned .process__track {
  flex: 1; min-width: 0; display: flex; gap: 0;
  padding: calc(var(--nav-h) + 40px) 0 clamp(24px, 4vh, 44px);
  will-change: transform;
}
.process.is-pinned .step {
  flex: 0 0 clamp(340px, 29vw, 470px);
  padding-inline: clamp(22px, 2.4vw, 40px);
  border-right: 1px solid var(--line);
}
.process.is-pinned .step__media { flex: 1; min-height: 0; aspect-ratio: auto; }
.process.is-pinned .step__body { flex: none; min-height: 200px; }

/* 15. Plateaux ------------------------------------------------------------- */
.plateaux__head {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--gutter); align-items: end;
  margin-bottom: clamp(56px, 7vw, 110px);
}
.plateaux__side { justify-self: end; max-width: 440px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.plateaux__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.plat:nth-child(even) { margin-top: clamp(40px, 7vw, 120px); }
.plat__card { display: block; transform-style: preserve-3d; cursor: pointer; }
.plat__media { aspect-ratio: 4 / 3; }
.plat__more { margin-top: 14px; }
.plat__zoom { position: absolute; inset: 0; transition: transform 1.2s var(--ease-out); }
.plat:hover .plat__zoom { transform: scale(1.07); }
/* Plateau raclette : les deux présentations se succèdent en fondu */
.plat__zoom--duo img + img { animation: plat-duo 9s var(--ease) infinite; }
@keyframes plat-duo {
  0%, 40% { opacity: 0; }
  50%, 90% { opacity: 1; }
  100% { opacity: 0; }
}
.plat__cta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; padding: 16px 18px;
  background: var(--onyx); color: var(--parchment);
  font-size: 13px; text-transform: uppercase; text-align: left;
  transform: translateY(101%);
  transition: transform .6s var(--ease-out), background-color .4s var(--ease);
}
.plat__cta svg { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.plat:hover .plat__cta, .plat__card:focus-within .plat__cta { transform: translateY(0); }
.plat__cta:hover svg { transform: rotate(90deg); }
.plat__body {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline;
  gap: 8px 16px; padding-top: 18px;
}
.plat__name {
  grid-column: 1 / -1;
  font-family: var(--serif); font-weight: 300;
  font-size: var(--fs-sub); line-height: .95; letter-spacing: -.03em;
  text-transform: uppercase;
}
.plat__price { font-size: 14px; white-space: nowrap; }

/* 16. Click & Collect & devis ---------------------------------------------- */
.services__head {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--gutter); align-items: end;
  margin-bottom: clamp(48px, 6vw, 90px);
}
.services__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); align-items: stretch; }
.service {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  transition: border-color .5s var(--ease);
}
.service:hover { border-color: var(--fg); }
.service__media { aspect-ratio: 16 / 10; }
.service__tag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  padding: 8px 10px; border-radius: var(--radius);
  background: var(--parchment); color: var(--onyx);
  font-size: 12px; line-height: 1; text-transform: uppercase;
}
.service__body { flex: 1; display: flex; flex-direction: column; gap: 26px; padding: clamp(24px, 3vw, 44px); }
.service__steps { border-top: 1px solid var(--line); }
.service__steps li {
  display: grid; grid-template-columns: 2.6em minmax(0, 1fr); gap: 10px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.service__steps span { font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--fg-muted); font-variant-numeric: lining-nums; }
.service__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.service__facts b {
  display: block; margin-bottom: 8px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 3vw, 46px); line-height: .9; letter-spacing: -.03em;
  font-variant-numeric: lining-nums;
}
.service .btn { align-self: flex-start; margin-top: auto; }
.service__more { font-size: 14px; line-height: 1.45; color: var(--fg-muted); }

/* Liens dans une phrase : soulignés en permanence */
.service__more .link-u, .marches__note .link-u {
  display: inline; padding: 0;
  font-size: inherit; text-transform: inherit; color: var(--fg);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.service__more .link-u::after, .marches__note .link-u::after { display: none; }

/* Le parcours de la commande */
.route { --p: 0; position: relative; margin-top: clamp(64px, 8vw, 120px); }
.route__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.route__temp {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 4vw, 58px); line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: lining-nums tabular-nums;
}
.route__temp small { margin-left: 6px; font-family: var(--sans); font-size: 12px; letter-spacing: -.01em; text-transform: uppercase; color: var(--fg-muted); }
.route__track { position: relative; height: 1px; margin-bottom: 30px; background: var(--line); }
.route__fill { position: absolute; inset: 0; background: var(--onyx); transform: scaleX(var(--p)); transform-origin: left center; }
.route__dot {
  position: absolute; top: 0; left: calc(var(--p) * 100%);
  width: 13px; height: 13px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: var(--saffron);
}
.route__dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid var(--saffron);
  animation: ping 1.8s var(--ease-out) infinite;
}
.route__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.route__step { position: relative; opacity: .4; transition: opacity .6s var(--ease); }
.route__step.is-on { opacity: 1; }
.route__node {
  position: absolute; top: -35px; left: 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--parchment); border: 1px solid var(--onyx);
  transition: background-color .4s var(--ease), transform .5s var(--ease-out);
}
.route__step.is-on .route__node { background: var(--onyx); transform: scale(1.2); }
.route__step h4 {
  margin: 10px 0 10px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 2.4vw, 34px); line-height: .95; letter-spacing: -.02em;
  text-transform: uppercase;
}
.route__step p:last-child { max-width: 30ch; font-size: 14px; color: var(--fg-muted); }
.route__note { margin-top: 28px; }

/* 16 bis. Entreprises ------------------------------------------------------ */
/* En-tête resserré : en cliquant sur « Entreprises », les offres sont visibles tout de suite */
.pro.section { padding-top: clamp(48px, 5vw, 88px); }
.pro .sec-head { margin-bottom: clamp(24px, 3vw, 40px); }
.pro__head {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--gutter); align-items: end;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.pro__head .lede { font-size: clamp(17px, 1.4vw, 21px); }
.pro__head h2 { font-size: clamp(34px, 3.6vw, 56px); }

/* Deux colonnes : la box à gauche, les offres à droite — tout tient d'un coup d'œil */
.pro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.pro__side { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 44px); }

/* La box salariés, en carte compacte */
.gift { border: 1px solid var(--line); }
.gift__media { height: clamp(190px, 32vh, 340px); }
.gift__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.gift__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(18px, 2vw, 28px); }
.gift__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; width: 100%; }
.gift__name {
  margin-top: 8px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 2.6vw, 40px); line-height: .95; letter-spacing: -.03em;
  text-transform: uppercase;
}
.gift__name em { text-transform: none; }
.gift__price { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.gift__price b {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 3.6vw, 56px); line-height: .85; letter-spacing: -.03em;
  font-variant-numeric: lining-nums;
}
.gift__list { font-size: 14px; line-height: 1.5; color: var(--fg-muted); }
.gift__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tone-dark .qty button:hover { background: rgba(216, 203, 184, .1); }

/* Les offres, en lignes */
.offers { border-top: 1px solid var(--line); }
.offer {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 2.4em minmax(0, 1fr) 44px;
  grid-template-areas: "n name go" "n text go";
  align-items: center; gap: 8px clamp(12px, 1.6vw, 24px);
  padding-block: clamp(14px, 2.4vh, 26px);
  border-bottom: 1px solid var(--line);
}
.offer::before {
  content: ""; position: absolute; z-index: -1;
  top: 0; bottom: 0; left: -12px; right: -12px;
  background: rgba(216, 203, 184, .06);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .6s var(--ease-out);
}
.offer:hover::before, .offer:focus-visible::before { transform: scaleY(1); }
.offer__n { grid-area: n; align-self: start; padding-top: .6em; font-size: 12px; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.offer__name {
  grid-area: name;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 2.4vw, 38px); line-height: .95; letter-spacing: -.035em;
  text-transform: uppercase;
  transition: transform .7s var(--ease-out);
}
.offer__name em { text-transform: none; }
.offer:hover .offer__name { transform: translateX(10px); }
.offer__text { grid-area: text; max-width: 46ch; font-size: 14px; line-height: 1.45; color: var(--fg-muted); }
.offer__go {
  grid-area: go;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid currentColor; border-radius: var(--radius);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.offer__go svg { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.offer:hover .offer__go { background: var(--parchment); color: var(--roast); }
.offer:hover .offer__go svg { transform: rotate(45deg); }

.pro__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pro__facts li { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.pro__facts b {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(22px, 2vw, 32px); line-height: .9; letter-spacing: -.03em;
  text-transform: uppercase; font-variant-numeric: lining-nums;
}

/* 17. Marchés -------------------------------------------------------------- */
.marches__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 110px); align-items: start;
}
.marches__aside {
  position: sticky; top: calc(var(--nav-h) + 24px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
}
.marches__aside .sec-head { width: 100%; margin-bottom: 8px; }
.marches__fig { width: 100%; max-width: 460px; }
.marches__fig .media { aspect-ratio: 5 / 4; }

.markets { border-top: 1px solid var(--line); }
.market {
  position: relative;
  /* Colonne du jour calée sur le plus long (« Dimanche ») : les lignes restent alignées */
  display: grid; grid-template-columns: calc(var(--fs-h-sm) * 5.2) minmax(0, 1fr) 9.5em 44px;
  align-items: center; gap: clamp(14px, 2vw, 28px);
  padding-block: clamp(22px, 2.4vw, 34px);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.market::before {
  content: ""; position: absolute; z-index: -1;
  top: 0; bottom: 0; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1);
  background: var(--parchment);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .7s var(--ease-out);
}
.market:hover::before { transform: scaleX(1); }
.market__day {
  font-family: var(--serif); font-weight: 300;
  font-size: var(--fs-h-sm); line-height: .9; letter-spacing: -.03em;
  text-transform: uppercase;
  transition: transform .6s var(--ease-out);
}
.market:hover .market__day { transform: translateX(14px); }
.market__info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.market__name { font-size: 15px; text-transform: uppercase; }
.market__place { font-size: 13px; color: var(--fg-muted); }
.market__status { display: none; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; }
.market__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--saffron); }
.market.is-today .market__status { display: inline-flex; }
.market__collect {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px; padding: 4px 0;
  border-bottom: 1px solid currentColor;
  font-size: 12px; text-transform: uppercase;
  opacity: .75;
  transition: opacity .3s var(--ease), gap .4s var(--ease-out);
}
.market__collect svg { width: 12px; height: 12px; }
.market__collect:hover { opacity: 1; gap: 10px; }
.market__hours { font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.market__hours small { display: block; margin-top: 4px; font-size: 11px; text-transform: uppercase; color: var(--fg-muted); }
.market__link {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid currentColor; border-radius: var(--radius);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.market__link svg { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.market__link:hover { background: var(--onyx); color: var(--parchment); }
.market__link:hover svg { transform: rotate(45deg); }
.marches__note { margin-top: 24px; }

/* 18. Avis ----------------------------------------------------------------- */
.avis { padding-bottom: calc(var(--section) * .8); }
.avis__head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--gutter); align-items: end;
  margin-bottom: clamp(48px, 6vw, 90px);
}
.rating {
  display: grid; gap: 10px; justify-items: start;
  min-width: 250px; padding: 24px 28px;
  border: 1px solid var(--line);
}
.rating__score { font-weight: 700; font-size: 42px; line-height: 1; letter-spacing: -.04em; }
.rating__score small { font-size: 18px; font-weight: 500; color: var(--fg-muted); letter-spacing: -.01em; }

.reviews {
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
  padding-inline: var(--gutter);
  -webkit-user-select: none; user-select: none;
}
.reviews::-webkit-scrollbar { display: none; }
.reviews__track { display: flex; width: max-content; border-left: 1px solid var(--line); will-change: transform; }
.review {
  display: flex; flex-direction: column; gap: 22px;
  width: clamp(280px, 27vw, 400px); min-height: 330px;
  padding: 52px 28px 32px;
  border-right: 1px solid var(--line);
  transition: background-color .5s var(--ease);
}
.review:hover { background-color: var(--linen); }
.review__top { display: flex; justify-content: space-between; align-items: center; }
.review__text { flex: 1; font-size: 15px; line-height: 1.45; }
.review__author { color: var(--fg-muted); }
.avis__nav { display: flex; align-items: center; gap: 8px; margin-top: 28px; }
.avis__nav .caption { margin-left: 12px; }

/* 19. Commander ------------------------------------------------------------ */
.commande { position: relative; overflow: hidden; overflow: clip; }
.commande__bg { position: absolute; inset: 0; }
.commande__bg .media { position: absolute; inset: 0; background: var(--roast); }
.commande__bg::after { content: ""; position: absolute; inset: 0; background: rgba(41, 38, 34, .86); }
.commande .wrap { position: relative; z-index: 1; }
.commande__grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: clamp(40px, 6vw, 110px); align-items: start;
}
.checkout { display: flex; flex-direction: column; gap: 36px; min-width: 0; }

/* Choix du mode : Click & Collect / Devis personnalisé */
.modes {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.mode {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 16px 18px;
  transition: color .45s var(--ease);
}
.mode__title { font-size: 14px; line-height: 1.1; text-transform: uppercase; }
.mode__sub { font-size: 12px; color: var(--fg-muted); transition: color .45s var(--ease); }
.mode[aria-checked="true"] { color: var(--onyx); }
.mode[aria-checked="true"] .mode__sub { color: var(--espresso); }
.modes__ink {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  border-radius: 2px;
  background: var(--parchment);
  transition: transform .65s var(--ease-out);
}
.modes[data-active="devis"] .modes__ink { transform: translateX(100%); }

/* Formulaire */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; color-scheme: dark; }
.form__group {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  min-width: 0; margin: 0 0 12px; padding: 0; border: 0;
}
.form__group legend { float: left; grid-column: 1 / -1; width: 100%; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; text-transform: uppercase; letter-spacing: -.012em; color: var(--fg-muted); }
.opt { text-transform: none; opacity: .75; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 1px solid rgba(216, 203, 184, .28); border-radius: var(--radius);
  color: var(--parchment);
  font-size: 15px; line-height: 1.3;
  caret-color: var(--saffron);
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field select option { color: var(--onyx); background: var(--parchment); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(216, 203, 184, .55); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--parchment); background-color: rgba(216, 203, 184, .05); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--saffron); }
.field__error { font-size: 12px; color: var(--saffron); }
.field__hint { margin-top: 2px; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; cursor: pointer; }
.check input {
  appearance: none; flex: none;
  display: grid; place-items: center;
  width: 20px; height: 20px; margin: 0;
  border: 1px solid rgba(216, 203, 184, .45); border-radius: var(--radius);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.check input:checked { background: var(--parchment); border-color: var(--parchment); }
.check input:checked::after {
  content: ""; width: 9px; height: 5px;
  border-left: 1.5px solid var(--onyx); border-bottom: 1.5px solid var(--onyx);
  transform: translateY(-1px) rotate(-45deg);
}
.check input:focus-visible { outline: 1px solid var(--saffron); outline-offset: 3px; }
.check .link-u { display: inline; padding: 0; font-size: inherit; text-transform: none; }
.form__actions { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 8px; }
.form__note { min-height: 1.3em; }
.form__note.is-error { color: var(--saffron); }
.form__legal { grid-column: 1 / -1; }
.form__legal .link-u { display: inline; padding: 0; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form__legal .link-u::after { display: none; }
/* Champ piège anti-robots : invisible pour les visiteurs */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Confirmation */
.confirm { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.confirm__mark { width: 72px; height: 72px; color: var(--gold); }
.confirm__title { line-height: .9; }
.confirm__recap {
  width: 100%; max-height: 300px; overflow: auto;
  margin: 0; padding: 18px;
  border: 1px solid var(--line);
  font: 500 13px/1.55 var(--sans); white-space: pre-wrap;
  color: var(--fg-muted);
}
.confirm__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Récapitulatif */
.summary {
  position: sticky; top: calc(64px + 24px);
  display: flex; flex-direction: column; gap: 20px;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--line);
  background: rgba(41, 38, 34, .6);
}
.summary__head { display: flex; justify-content: space-between; align-items: center; }
.summary__items { max-height: 340px; overflow-y: auto; }
.summary__items li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.summary__name { font-size: 14px; }
.summary__meta { grid-column: 1; font-size: 12px; text-transform: uppercase; color: var(--fg-muted); }
.summary__price { grid-row: 1; grid-column: 2; font-variant-numeric: tabular-nums; }
.summary__empty { display: grid; gap: 8px; padding: 12px 0; color: var(--fg-muted); }
.summary__empty .link-u { font-size: 12px; }

.totals { display: grid; gap: 10px; }
.totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.totals dt { font-size: 14px; color: var(--fg-muted); }
.totals dd { font-variant-numeric: tabular-nums; }
.totals__total { padding-top: 12px; border-top: 1px solid var(--line); }
.totals__total dt { font-size: 13px; text-transform: uppercase; color: var(--fg); }
.totals__total dd { font-family: var(--serif); font-weight: 300; font-size: 36px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }

.contact-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter);
  margin-top: clamp(64px, 8vw, 110px);
  border-top: 1px solid var(--line);
}
.contact-strip li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 18px; }
.contact-strip a { font-size: 15px; text-transform: uppercase; }

/* 20. Panier (tiroir) ------------------------------------------------------ */
.cart { position: fixed; inset: 0; z-index: 150; visibility: hidden; pointer-events: none; transition: visibility 0s linear .8s; }
.cart.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.cart__overlay { position: absolute; inset: 0; background: rgba(41, 38, 34, .55); opacity: 0; transition: opacity .6s var(--ease); }
.cart.is-open .cart__overlay { opacity: 1; }
.cart__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(460px, 100%);
  display: flex; flex-direction: column;
  background: var(--parchment); color: var(--onyx);
  border-left: 1px solid var(--stone);
  transform: translateX(101%);
  transition: transform .8s var(--ease-out);
}
.cart.is-open .cart__panel { transform: none; }
.cart__head { display: flex; align-items: center; gap: 14px; padding: 16px 20px 16px 24px; border-bottom: 1px solid var(--stone); }
.cart__title { flex: 1; font-size: 34px; }
.cart__close { width: 44px; height: 44px; }
.cart__body { flex: 1; overflow-y: auto; padding: 4px 24px; overscroll-behavior: contain; }
.cart-item {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--stone);
}
.cart-item__img { width: 64px; height: 64px; object-fit: cover; background: var(--linen); }
.cart-item__img--empty { display: grid; place-items: center; color: var(--espresso); }
.cart-item__img--empty svg { width: 60%; height: 60%; }
.cart-item__name { font-family: var(--serif); font-weight: 300; font-size: 22px; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.cart-item__meta { margin: 6px 0 10px; font-size: 12px; text-transform: uppercase; color: var(--espresso); }
.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; height: 100%; }
.cart-item__price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-item__remove { font-size: 11px; text-transform: uppercase; color: var(--espresso); border-bottom: 1px solid currentColor; }
.cart-item__remove:hover { color: var(--onyx); }
.cart__empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 48px 0; }
.cart__empty-mark { width: 76px; height: 76px; color: var(--espresso); }
.cart__foot { display: flex; flex-direction: column; gap: 16px; padding: 20px 24px 24px; border-top: 1px solid var(--stone); }
.cart .totals { --fg-muted: var(--espresso); --line: var(--stone); }
.cart__hint { line-height: 1.4; }
.cart__checkout { width: 100%; justify-content: space-between; }

/* Notification + pastille qui vole vers le panier */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 160;
  display: flex; align-items: center; gap: 14px;
  max-width: calc(100% - 32px);
  padding: 10px 10px 10px 16px;
  border-radius: var(--radius);
  background: var(--onyx); color: var(--parchment);
  transform: translate(-50%, 160%);
  transition: transform .7s var(--ease-out);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast__ico { width: 18px; height: 18px; flex: none; color: var(--saffron); }
.toast__text { font-size: 13px; }
.toast__btn {
  padding: 10px 12px; flex: none;
  border: 1px solid rgba(216, 203, 184, .35); border-radius: var(--radius);
  font-size: 12px; text-transform: uppercase; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.toast__btn:hover { background: var(--parchment); color: var(--onyx); }
.fly {
  position: fixed; top: 0; left: 0; z-index: 170;
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; overflow: hidden; pointer-events: none;
  background: var(--saffron);
}
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* 21. Pied de page --------------------------------------------------------- */
.footer { position: relative; overflow: hidden; }
.footer__inner { will-change: transform; }
.footer__cols {
  display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  padding-block: clamp(64px, 8vw, 120px) clamp(48px, 6vw, 96px);
}
.footer__cols .caption { margin-bottom: 16px; }
.footer__cols li + li { margin-top: 8px; }
.footer__cols a, .footer__cols li { font-size: 14px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.footer__logo {
  --logo-ring: var(--gold-deep); --logo-ink: var(--gold);
  width: clamp(130px, 12vw, 176px); height: clamp(130px, 12vw, 176px);
}
.footer__claim { max-width: 14em; }
.footer__wm {
  padding-inline: var(--gutter);
  font-family: var(--sans); font-weight: 500;
  font-size: 15vw; line-height: .8; letter-spacing: -.016em;
  text-transform: uppercase; white-space: nowrap;
}
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  margin-top: clamp(16px, 2vw, 28px);
  padding-block: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px; text-transform: uppercase;
}
.footer__legal { display: inline-flex; gap: 20px; }

/* 22. Sans animation (préférences d'accessibilité ou bibliothèques absentes) */
.no-motion .grain { animation: none; }
.no-motion .route { --p: 1; }
.no-motion .route__step { opacity: 1; }
.no-motion .loader__ring { stroke-dashoffset: 0; }
.no-motion .loader__dot, .no-motion .loader__c, .no-motion .loader__b, .no-motion .loader__n, .no-motion .loader__p { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .loader { display: none; }
  .grain, .scroll-cue i::after, .nav__status.is-open .dot::after, .route__dot::after { animation: none; }
  .plat__zoom--duo img + img { animation: none; opacity: 0; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* 23. Responsive ----------------------------------------------------------- */
@media (max-width: 1480px) {
  .nav__status { display: none; }
}

@media (max-width: 1180px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .plateaux__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(48px, 7vw, 80px); }
  .plat:nth-child(even) { margin-top: clamp(40px, 9vw, 120px); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commande__grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); }
}

/* Tablette : les horaires passent sous le nom du marché, pour laisser de la place au texte */
@media (min-width: 900px) and (max-width: 1180px) {
  .market { grid-template-columns: calc(var(--fs-h-sm) * 5.2) minmax(0, 1fr) 44px; row-gap: 10px; }
  .market__day { grid-row: 1 / span 2; }
  .market__hours { grid-column: 2; grid-row: 2; }
  .market__link { grid-column: 3; grid-row: 1 / span 2; }
}

@media (max-width: 899px) {
  :root { --nav-h: 64px; }
  .nav.is-solid { height: 58px; }
  .logo { width: 40px; height: 40px; }
  .nav.is-solid .logo { width: 36px; height: 36px; }
  .cart-btn .roll__t { display: none; }

  .hero__top { align-items: flex-start; }
  .hero__lede { max-width: 11em; }
  .hero__meta .scroll-cue { display: none; }

  .manifesto { text-indent: 0; }
  .maison__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .maison__fig--a { grid-column: 1 / span 4; grid-row: auto; }
  .maison__text { grid-column: 1 / -1; grid-row: auto; padding-top: 0; }
  .maison__fig--b { grid-column: 3 / span 4; grid-row: auto; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n+3) { padding-top: 40px; }

  .carte__intro, .plateaux__head, .avis__head, .marches__grid, .services__head, .services__grid, .pro__head, .pro__grid { grid-template-columns: minmax(0, 1fr); }
  .gift__media { height: auto; aspect-ratio: 3 / 2; }
  .offer { grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "name go" "text go"; }
  .offer__n { display: none; }
  .offer:hover .offer__name { transform: none; }
  .pro__facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pro__facts li { flex-direction: row; justify-content: space-between; align-items: baseline; padding-block: 14px; }
  .plateaux__side { justify-self: start; }

  .filters {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .filters::-webkit-scrollbar { display: none; }
  .filters .tag { flex: none; }
  .carte__bar { padding-bottom: 16px; }
  .cheese {
    --thumb: 72px;
    grid-template-columns: var(--thumb) minmax(0, 1fr) auto;
    grid-template-areas: "thumb name price" "thumb origin add" "thumb milk add";
    row-gap: 6px;
  }
  .cheese__n { display: none; }
  .cheese__thumb { align-self: start; }
  .cheese:hover .cheese__thumb { transform: none; }
  .cheese__name { font-size: 26px; }
  .cheese__price { align-self: start; }
  .cheese__add { justify-self: end; align-self: end; }
  .cheese:hover .cheese__name, .cheese.is-open .cheese__name { transform: none; }
  .cheese__panel-inner { padding-left: 0; }
  .cheese__buy { margin-left: 0; width: 100%; }
  .cheese__buy .btn { flex: 1; }

  .route { padding-left: 34px; }
  .route__track { position: absolute; left: 5px; top: 96px; bottom: 60px; width: 1px; height: auto; margin: 0; }
  .route__fill { transform: scaleY(var(--p)); transform-origin: center top; }
  .route__dot { top: calc(var(--p) * 100%); left: 0; }
  .route__steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .route__node { top: 4px; left: -34px; }

  .marches__aside { position: static; }
  .market { grid-template-columns: minmax(0, 1fr) auto; }
  .market__info { grid-column: 1; }
  .market__hours { grid-column: 1; grid-row: 3; }
  .market__link { grid-column: 2; grid-row: 1 / span 3; }

  .commande__grid { display: flex; flex-direction: column; gap: 32px; }
  .checkout { display: contents; }
  .checkout > h2 { order: 1; }
  .modes { order: 2; }
  .summary { order: 3; position: static; width: 100%; }
  .form, .confirm { order: 4; }
  .contact-strip { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .contact-strip li { padding-block: 16px; border-bottom: 1px solid var(--line); }

  .menu__grid { grid-template-columns: minmax(0, 1fr); }
  .menu__media { display: none; }
  .menu__foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .loader__row--bottom .caption { display: none; }
  .loader__row--bottom { justify-content: flex-end; }
  .nav__brand { font-size: 13px; }
  .hero__top { flex-direction: column; gap: 20px; }
  .badge { align-self: flex-end; width: 104px; height: 104px; }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .plateaux__grid { grid-template-columns: minmax(0, 1fr); }
  .plat:nth-child(even) { margin-top: 0; }
  .service__facts { gap: 8px; }
  .form, .form__group { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .menu__foot { grid-template-columns: minmax(0, 1fr); }
  .toast { left: 16px; right: 16px; max-width: none; transform: translateY(160%); }
  .toast.is-visible { transform: none; }
  .toast__text { flex: 1; }
}

/* Écrans tactiles : les actions au survol restent visibles */
@media (hover: none) {
  .plat__cta { transform: none; }
}

/* 24. Pages légales (CGV, mentions légales) --------------------------------- */
.legal-head {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px;
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.legal-head__brand { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; text-transform: uppercase; }
.legal-head__brand img { width: 40px; height: 40px; }
.legal-head__nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.legal-head__nav [aria-current="page"]::after { transform: scaleX(1); }

.legal { max-width: 880px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(64px, 8vw, 120px); }
.legal h1 { margin: 16px 0 clamp(28px, 4vw, 48px); }
.legal__intro { max-width: 68ch; font-size: 16px; line-height: 1.6; }
.legal__toc { margin: clamp(28px, 4vw, 44px) 0 clamp(36px, 5vw, 56px); padding: 22px 24px; border: 1px solid var(--line); }
.legal__toc ol { columns: 2 260px; column-gap: 32px; }
.legal__toc li { padding: 4px 0; font-size: 14px; break-inside: avoid; }
.legal section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.legal h2 {
  margin-bottom: 16px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; letter-spacing: -.02em;
  text-transform: uppercase; font-variant-numeric: lining-nums;
}
.legal h3 { margin: 22px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }
.legal p, .legal li { max-width: 72ch; font-size: 15px; line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal section ul { margin: 10px 0 12px; padding-left: 1.2em; list-style: disc; }
.legal section ul li + li { margin-top: 6px; }
.legal a:not(.link-u) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal__box { margin: 18px 0; padding: 20px 22px; border: 1px solid var(--fg); }
.legal__box p { font-size: 14px; line-height: 1.6; }
.legal__box p + p { margin-top: 10px; }
/* Informations à compléter : bien visibles tant qu'elles ne sont pas remplacées */
.todo { padding: 0 .25em; background: rgba(212, 150, 83, .3); border-bottom: 1px dashed var(--saffron); color: inherit; }
.legal-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.legal-foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }

@media print {
  .legal-head, .legal-foot, .legal__toc, .skip { display: none; }
  .legal { max-width: none; padding: 0; }
  .todo { background: none; }
}
