/* Maison Billot · feuille de style */
/* latin-ext */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/bodoni-moda-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/bodoni-moda-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/bodoni-moda-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/bodoni-moda-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Maison Billot : carrelage blanc, rouge boucherie, devanture vert bouteille et dorure */
:root {
  color-scheme: light;
  --tile: #FBF9F8;
  --tile-2: #F4EFEE;
  --ink: #1E1516;
  --ink-2: #4B3C3D;
  --muted: #7C6E6F;
  --rule: #E7DEDC;
  --rouge: #B01F2E;
  --rouge-deep: #7A1421;
  --rose: #F3E4E2;
  --vert: #16372E;
  --vert-2: #1E473B;
  --vert-3: #0F2922;
  --or: #CDA85F;
  --or-pale: #E9D7AE;
  --creme: #F4EBDD;
  --c1: #C4263A;
  --c2: #6E1428;
  --c3: #E0928A;
  --display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --gut: clamp(16px, 4vw, 56px);
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--tile); color: var(--ink);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1320px; margin: 0 auto; padding-inline: var(--gut); }
.eyebrow { font: 500 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); }
.sec-head { display: grid; gap: 14px; max-width: 720px; }
.sec-head h2, .prep-copy h2, .cave-copy h2, .colis-left h2, .vit-head h2, .infos h2 {
  font: 800 clamp(40px, 5.6vw, 84px)/.95 var(--display); letter-spacing: -.02em; font-variation-settings: 'opsz' 96;
}
.sec-lede { font-size: 18px; color: var(--ink-2); max-width: 46ch; }
.dim { color: var(--muted); font-size: 14px; }
.sel { user-select: all; }

/* Boutons */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  font: 600 15px/1 var(--sans); letter-spacing: .01em; white-space: nowrap;
  transform: translate(var(--mx), var(--my)); transition: transform .35s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .3s;
}
.btn-red { background: var(--rouge); color: #fff; box-shadow: 0 10px 24px -12px rgba(176, 31, 46, .7); }
.btn-red:hover { background: var(--rouge-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--tile); }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateY(3px); }
.btn-wide { width: 100%; justify-content: center; }
.round {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent;
  display: inline-grid; place-items: center; cursor: pointer; font-size: 16px; transition: background .2s, color .2s, transform .2s;
}
.round:hover { background: var(--ink); color: var(--tile); }
.link-btn { background: none; border: 0; padding: 0; color: var(--or); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--rule); background: #fff; cursor: pointer; font: 500 14px/1 var(--sans); color: var(--ink-2);
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--tile); }
.chip .n { font: 500 11px/1 var(--mono); opacity: .7; }
.chips-dark .chip { background: transparent; border-color: rgba(233, 215, 174, .35); color: var(--or-pale); }
.chips-dark .chip:hover { border-color: var(--or); color: #fff; }
.chips-dark .chip[aria-pressed="true"] { background: var(--or); border-color: var(--or); color: var(--vert-3); }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gut) 0; display: flex; align-items: center; gap: 24px;
  background: rgba(251, 249, 248, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--rouge); }
.brand-mark { width: 44px; height: 30px; }
.brand-name { font: 700 22px/1 var(--display); color: var(--ink); letter-spacing: -.01em; }
.brand-name em { font-style: italic; color: var(--rouge); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font: 500 14px/1 var(--sans); color: var(--ink-2); position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--rouge); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { min-height: 42px; padding: 0 8px 0 18px; }
.lang-switch { display: flex; gap: 2px; font: 500 12px/1 var(--mono); letter-spacing: .06em; }
.lang-switch a { color: var(--muted); text-decoration: none; padding: 8px 6px; border-radius: 6px; transition: color .2s, background .2s; }
.lang-switch a:hover { color: var(--ink); background: var(--tile-2); }
.lang-switch a[aria-current="page"] { color: var(--rouge); font-weight: 600; }
.nav-cta .count { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: #fff; color: var(--rouge); display: inline-grid; place-items: center; font: 600 12px/1 var(--mono); }
.nav-cta .count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } }

/* ---------- 1. Hero + anatomie ---------- */
.anat { position: relative; height: 380vh; }
.anat-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.anat-pin::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--tile-2) 1px, transparent 1px), linear-gradient(90deg, var(--tile-2) 1px, transparent 1px);
  background-size: 72px 72px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 20%, transparent 75%);
  opacity: .9;
}
.wordmark {
  position: absolute; left: 50%; bottom: -.16em; transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  font: italic 800 min(36vw, 62vh)/.8 var(--display); letter-spacing: -.03em; color: var(--rose); user-select: none;
}
.hero-copy {
  position: absolute; z-index: 3; left: var(--gut); top: calc(var(--nav-h) + clamp(28px, 7vh, 88px));
  width: min(540px, 44vw); display: grid; gap: 22px; will-change: transform, opacity;
}
.hero-title { font: 800 clamp(58px, 8.6vw, 136px)/.9 var(--display); letter-spacing: -.025em; font-variation-settings: 'opsz' 96; display: grid; }
.hero-title .ln { display: block; }
.cutword { position: relative; display: inline-block; width: max-content; color: var(--rouge); font-style: italic; }
.cutword .half { display: block; transition: transform .7s var(--ease); }
.cutword .top { clip-path: polygon(-5% -10%, 105% -10%, 105% 45%, -5% 63%); }
.cutword .bot { position: absolute; inset: 0; clip-path: polygon(-5% 63%, 105% 45%, 105% 110%, -5% 110%); animation: slice 1.1s .5s var(--ease) both; }
.cutword::after {
  content: ''; position: absolute; left: -6%; right: -6%; top: 53%; height: 2px; background: var(--ink);
  transform: rotate(-3.2deg) scaleX(0); transform-origin: left center; animation: knife 1s .15s var(--ease) both;
}
.cutword.done::after { display: none; }
.cutword:hover .bot { transform: translate(9px, 6px) rotate(.8deg); }
@keyframes slice { from { transform: translate(0, 0); } to { transform: translate(5px, 3px) rotate(.4deg); } }
@keyframes knife { 0% { transform: rotate(-3.2deg) scaleX(0); opacity: 1; } 55% { transform: rotate(-3.2deg) scaleX(1); opacity: 1; } 100% { transform: rotate(-3.2deg) scaleX(1); opacity: 0; } }
.lede { font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); max-width: 40ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.fiche {
  position: absolute; z-index: 3; left: var(--gut); bottom: clamp(20px, 5vh, 44px); width: 250px;
  background: #fff; border-radius: 6px; box-shadow: 0 1px 0 var(--rule), 0 18px 40px -24px rgba(30, 21, 22, .35);
  font: 400 11px/1.35 var(--mono); color: var(--ink); overflow: hidden; transform: rotate(-1.5deg); will-change: transform, opacity;
}
.fiche-top { display: flex; justify-content: space-between; padding: 7px 12px; background: var(--rouge); color: #fff; letter-spacing: .1em; text-transform: uppercase; font-size: 10px; }
.fiche dl { margin: 0; padding: 8px 12px 2px; display: grid; gap: 3px; }
.fiche dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dotted var(--rule); padding-bottom: 3px; }
.fiche dt { color: var(--muted); }
.fiche dd { margin: 0; font-weight: 600; }
.barcode { display: block; width: calc(100% - 24px); height: 18px; margin: 6px 12px 10px; }

.cow-wrap { position: absolute; right: 3vw; top: 18vh; width: min(58vw, 1000px); transform-origin: 0 0; z-index: 2; }
.cow-wrap.js { right: auto; left: 0; top: 0; width: 1000px; height: 650.6px; will-change: transform; }
.cow-shadow { position: absolute; z-index: -1; left: 18%; width: 72%; top: 84%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 18, 12, .30), rgba(45, 18, 12, 0)); pointer-events: none; }
.cow-img {
  display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none;
  filter: saturate(var(--sat, 1)) brightness(var(--bri, 1)) drop-shadow(0 34px 28px rgba(60, 20, 20, .16));
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 96%); mask-image: linear-gradient(to bottom, #000 76%, transparent 96%);
}
.cow-map, .map-cow svg, .mini-cow svg {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible;
  -webkit-mask-image: url(../img/cow.webp); mask-image: url(../img/cow.webp);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.reg { fill: var(--rc, var(--c1)); fill-opacity: var(--fo, 0); stroke: #fff; stroke-width: 3; stroke-opacity: var(--so, 0); stroke-dasharray: 10 7; transition: fill-opacity .25s, stroke-opacity .25s; }
.reg.hot { fill-opacity: .72 !important; stroke-opacity: 1 !important; stroke-dasharray: none; stroke-width: 5; }
.reg-num { font: 600 30px/1 var(--mono); fill: #fff; paint-order: stroke; stroke: rgba(30, 21, 22, .55); stroke-width: 6px; text-anchor: middle; dominant-baseline: central; opacity: var(--no, 0); }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.leaders line { stroke: var(--ink); stroke-width: 1; stroke-opacity: .32; }
.leaders line.hot { stroke: var(--rouge); stroke-opacity: .9; stroke-width: 1.5; }
.leaders circle { fill: var(--ink); }
.leaders circle.hot { fill: var(--rouge); }
.pieces { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.piece {
  position: absolute; left: 0; top: 0; width: var(--pw, 120px); padding: 0; border: 0; background: none; cursor: pointer;
  pointer-events: none; opacity: 0; will-change: transform, opacity; text-align: center; color: var(--ink);
}
.piece.live { pointer-events: auto; }
.piece-img { display: block; position: relative; aspect-ratio: 4 / 3; transition: transform .35s var(--ease); }
.piece-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(60, 20, 20, .22)); }
.piece-lbl { display: block; margin-top: 2px; font: 600 12.5px/1.15 var(--sans); text-wrap: balance; }
.piece-lbl em { font: 500 10px/1 var(--mono); font-style: normal; color: var(--rouge); margin-right: 4px; }
.piece:hover .piece-img, .piece.hot .piece-img, .piece:focus-visible .piece-img { transform: translateY(-5px) scale(1.08); }
.piece:hover .piece-lbl, .piece.hot .piece-lbl { color: var(--rouge); }
.anat-head { position: absolute; z-index: 3; left: var(--gut); top: calc(var(--nav-h) + 20px); width: min(360px, 30vw); display: grid; gap: 8px; opacity: 0; pointer-events: none; }
.anat-head h2 { font: 800 clamp(30px, 3.6vw, 52px)/1 var(--display); letter-spacing: -.02em; }
.anat-sub { color: var(--ink-2); font-size: 15px; }
.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-hint i { width: 1.5px; height: 34px; background: linear-gradient(var(--rouge) 50%, transparent 50%); background-size: 100% 200%; animation: drip 1.6s ease-in-out infinite; }
@keyframes drip { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.tip {
  position: absolute; z-index: 6; left: 0; top: 0; pointer-events: none; padding: 7px 12px; border-radius: 999px;
  background: var(--ink); color: #fff; font: 600 13px/1 var(--sans); white-space: nowrap; opacity: 0; transition: opacity .15s;
}
.tip em { font: 500 11px/1 var(--mono); font-style: normal; color: #F6B9BF; margin-right: 6px; }
.tip.on { opacity: 1; }

/* ---------- 2. Guide ---------- */
.guide { padding-block: clamp(80px, 12vw, 150px) clamp(60px, 8vw, 110px); position: relative; }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: 48px; align-items: start; }
.guide-map { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 16px; }
.map-cow { position: relative; width: 100%; aspect-ratio: 1640 / 1067; cursor: crosshair; }
.map-cow img, .mini-cow img {
  position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none;
  filter: grayscale(.92) brightness(1.18) contrast(.92);
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 96%); mask-image: linear-gradient(to bottom, #000 76%, transparent 96%);
}
.legend-cats { display: flex; flex-wrap: wrap; gap: 18px; font: 500 12px/1 var(--mono); color: var(--ink-2); }
.legend-cats span { display: inline-flex; align-items: center; gap: 7px; }
.legend-cats i { width: 12px; height: 12px; border-radius: 3px; }
.c1 { background: var(--c1); } .c2 { background: var(--c2); } .c3 { background: var(--c3); }
.guide-side { display: grid; gap: 18px; }
.search { position: relative; }
.search input {
  width: 100%; height: 54px; padding: 0 20px 0 48px; border-radius: 14px; border: 1.5px solid var(--rule); background: #fff;
  font: 500 16px/1 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C6E6F' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 20px; background-position: 16px center;
}
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(176, 31, 46, .08); }
.suggest { position: absolute; z-index: 10; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(30, 21, 22, .35); border: 1px solid var(--rule); }
.suggest li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--tile-2); }
.suggest img { width: 44px; height: 33px; object-fit: contain; flex: none; }
.suggest b { font-weight: 600; }
.suggest small { color: var(--muted); display: block; font-size: 12px; }
.count-line { font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.cut-list { list-style: none; margin: 0; padding: 0; display: grid; }
.cut-row {
  width: 100%; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 8px;
  border: 0; border-top: 1px solid var(--rule); background: none; text-align: left; cursor: pointer; border-radius: 12px;
  transition: background .2s, transform .3s var(--ease), opacity .3s;
}
.cut-list li:first-child .cut-row { border-top-color: transparent; }
.cut-row:hover, .cut-row.hot { background: #fff; transform: translateX(4px); box-shadow: 0 10px 30px -20px rgba(30, 21, 22, .4); }
.cut-row .th { width: 72px; height: 54px; position: relative; display: block; }
.cut-row .th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 5px 6px rgba(60, 20, 20, .2)); transition: transform .35s var(--ease); }
.cut-row:hover .th img { transform: scale(1.1) rotate(-3deg); }
.cut-row .nm { display: grid; gap: 3px; min-width: 0; }
.cut-row .nm b { font: 700 19px/1.1 var(--display); }
.cut-row .nm b em { font: 500 11px/1 var(--mono); font-style: normal; color: var(--rouge); margin-right: 6px; vertical-align: 2px; }
.cut-row .nm span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cut-row .pr { text-align: right; display: grid; gap: 4px; justify-items: end; }
.cut-row .pr b { font: 600 14px/1 var(--mono); font-variant-numeric: tabular-nums; }
.cat-pill { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.cat-pill i { width: 8px; height: 8px; border-radius: 50%; }

/* Bandeau défilant */
.marquee { overflow: hidden; border-block: 1px solid var(--rule); padding-block: 20px; background: #fff; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: italic 700 clamp(26px, 3.4vw, 46px)/1 var(--display); white-space: nowrap; }
.marquee i { color: var(--rouge); font-style: normal; font-size: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 3. Préparations en vue éclatée ---------- */
.prep { position: relative; height: 300vh; }
.prep-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); padding: calc(var(--nav-h) + 20px) var(--gut) 20px; gap: 32px;
}
.prep-copy { display: grid; gap: 18px; align-content: center; z-index: 2; }
.prep-tabs .chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--tile); }
.badges { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.badges li { font: 500 12.5px/1.2 var(--mono); padding-left: 18px; position: relative; color: var(--ink-2); }
.badges li::before { content: ''; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border-radius: 2px; background: var(--rouge); transform: rotate(45deg); }
.prep-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.tag-price {
  display: inline-grid; padding: 8px 14px 9px; border-radius: 6px; background: var(--ink); color: #fff; transform: rotate(-3deg);
  font: 600 20px/1 var(--mono); font-variant-numeric: tabular-nums; position: relative; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .6);
}
.tag-price small { font: 400 10px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.tag-price::after { content: ''; position: absolute; left: 50%; bottom: -16px; width: 2px; height: 16px; background: linear-gradient(#9a9a9a, #d9d9d9); transform: translateX(-50%); border-radius: 1px; }
.prep-stage { position: relative; min-height: 0; }
.xp { position: absolute; inset: 0; }
.xp-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.xp-lines line { stroke: var(--ink); stroke-opacity: .32; stroke-width: 1; }
.xp-lines circle { fill: var(--rouge); }
.xl { position: absolute; left: 0; top: 0; width: 200px; height: 200px; padding: 0; border: 0; background: none; display: grid; place-items: center; will-change: transform, opacity; transform-origin: 50% 50%; }
.xl img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(60, 20, 20, .24)); user-select: none; -webkit-user-drag: none; }
button.xl { cursor: pointer; }
.xl .salt { width: 58%; height: 58%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff, #EAE3DF); box-shadow: 0 14px 24px -12px rgba(60, 20, 20, .35), inset 0 0 0 1px var(--rule); font: 500 26px/1 var(--mono); color: var(--muted); }
.xlab { position: absolute; left: 0; top: 0; display: grid; gap: 2px; will-change: transform, opacity; pointer-events: none; }
.xlab.r { text-align: right; }
.xlab .pct { font: 600 22px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--rouge); }
.xlab .nm { font: 700 18px/1.12 var(--display); }
.xlab .note { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.xlab .note u { text-decoration-color: var(--rouge); text-underline-offset: 2px; }

/* ---------- 4. Cave ---------- */
.cave { padding-block: clamp(80px, 11vw, 150px); background: linear-gradient(180deg, var(--tile) 0%, #F6F1EF 100%); }
.cave-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cave-copy { display: grid; gap: 22px; }
.age { display: grid; gap: 10px; margin-top: 6px; }
.age-top { display: flex; justify-content: space-between; align-items: baseline; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.age-top output { font: 800 44px/1 var(--display); letter-spacing: -.02em; color: var(--rouge); text-transform: none; font-variant-numeric: tabular-nums; }
#age-range { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: pointer; }
#age-range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #C4263A, #7A1421 60%, #3A0E14); }
#age-range::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #C4263A, #7A1421 60%, #3A0E14); }
#age-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); transition: transform .2s; }
#age-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
#age-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.age-ticks { position: relative; height: 16px; font: 500 11px/1 var(--mono); color: var(--muted); }
.age-ticks span { position: absolute; transform: translateX(-50%); }
.age-ticks span:first-child { transform: none; }
.age-ticks span:last-child { transform: translateX(-100%); }
.age-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 6px 0 0; }
.age-stats div { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: baseline; }
.age-stats dt { font-size: 13px; color: var(--muted); }
.age-stats dd { margin: 0; font: 600 16px/1 var(--mono); font-variant-numeric: tabular-nums; }
.age-stats .bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--rule); overflow: hidden; }
.age-stats .bar i { display: block; height: 100%; width: 50%; background: var(--rouge); border-radius: 4px; transition: width .25s var(--ease); }
.cave-visual { margin: 0; display: grid; gap: 16px; justify-items: center; }
.cote { position: relative; width: 100%; max-width: 620px; aspect-ratio: 900 / 529; }
.cote img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(60, 20, 20, .22)); transition: filter .2s; }
.cote .crust {
  position: absolute; inset: 0; pointer-events: none; opacity: .4; mix-blend-mode: multiply;
  background: radial-gradient(ellipse 58% 62% at 58% 50%, transparent 62%, rgba(60, 12, 16, .95) 100%);
  -webkit-mask-image: url(../img/cotes.webp); mask-image: url(../img/cotes.webp); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
}
.cave-note { font: italic 600 clamp(20px, 2vw, 26px)/1.3 var(--display); text-align: center; max-width: 34ch; min-height: 2.6em; }
.cave-spec { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- 5. Vitrine ---------- */
.vitrine { background: var(--vert); color: var(--creme); padding-block: 0 clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.frise {
  height: 26px; margin-bottom: clamp(60px, 8vw, 110px);
  background: linear-gradient(var(--or) 0 2px, transparent 2px calc(100% - 2px), var(--or) calc(100% - 2px)),
    repeating-linear-gradient(90deg, #0F2922 0 24px, #1E473B 24px 26px, #214E41 26px 50px, #1E473B 50px 52px);
}
.vitrine .eyebrow { color: var(--or); }
.vit-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.vit-head h2 { color: var(--creme); }
.vit-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
  padding: 44px max(var(--gut), calc((100vw - 1320px) / 2 + var(--gut))) 32px; scrollbar-width: none; cursor: grab;
}
.vit-track::-webkit-scrollbar { display: none; }
.vit-track.drag { cursor: grabbing; scroll-snap-type: none; }
.vit-track:focus-visible { outline-offset: -4px; }
.card {
  flex: 0 0 auto; width: 292px; scroll-snap-align: start; border-radius: 20px; background: var(--vert-2); padding: 18px 20px 20px;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; position: relative; transition: transform .4s var(--ease), background .3s;
  box-shadow: inset 0 0 0 1px rgba(233, 215, 174, .08);
}
.card:hover { transform: translateY(-6px); background: #22503F; }
.card.out { display: none; }
.card-ph { height: 200px; display: grid; place-items: center; position: relative; margin-inline: -6px; border-radius: 14px; background: radial-gradient(ellipse 70% 60% at 50% 60%, rgba(244, 235, 221, .16), transparent 70%); }
.card-ph img { max-width: 92%; max-height: 180px; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .45)); transition: transform .5s var(--ease); user-select: none; -webkit-user-drag: none; }
.card:hover .card-ph img { transform: scale(1.06) rotate(-2deg); }
.card h3 { font: 700 26px/1.05 var(--display); letter-spacing: -.01em; color: #fff; }
.card .orig { font: 500 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--or); }
.card .desc { font-size: 14px; color: rgba(244, 235, 221, .75); }
.card-foot { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: 10px; }
.pique { position: absolute; top: 18px; right: 18px; transform-origin: 50% 100%; transform: rotate(4deg); transition: transform .5s cubic-bezier(.3, 1.6, .4, 1); }
.card:hover .pique { transform: rotate(-5deg); }
.pique b { display: block; text-align: center; padding: 7px 10px 6px; border-radius: 5px; background: #0B0B0B; color: #fff; font: 600 15px/1 var(--mono); font-variant-numeric: tabular-nums; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .8); }
.pique small { display: block; font: 400 8.5px/1.2 var(--mono); letter-spacing: .12em; opacity: .65; margin-top: 3px; }
.pique::after { content: ''; display: block; width: 2px; height: 22px; margin: 0 auto; background: linear-gradient(#b8b8b8, #6f6f6f); }
.card .unit { font: 500 12px/1.3 var(--mono); color: rgba(244, 235, 221, .7); }
.add {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--or); color: var(--vert-3); font: 600 14px/1 var(--sans); transition: transform .2s, background .2s;
}
.add:hover { background: var(--or-pale); }
.add:active { transform: scale(.95); }
.add .plus { font-size: 18px; line-height: 1; }
.card-end { width: 292px; flex: 0 0 auto; scroll-snap-align: start; border-radius: 20px; border: 1.5px dashed rgba(233, 215, 174, .35); padding: 28px; display: grid; align-content: center; gap: 18px; }
.card-end p { font: italic 600 24px/1.25 var(--display); color: var(--or-pale); }
.card-end .btn { justify-self: start; }
.vit-foot { display: flex; align-items: center; gap: 24px; }
.vit-progress { flex: 1; height: 2px; background: rgba(233, 215, 174, .2); border-radius: 2px; overflow: hidden; }
.vit-progress i { display: block; height: 100%; width: 20%; background: var(--or); transition: width .2s; }
.vit-arrows { display: flex; gap: 10px; color: var(--or-pale); }
.vit-arrows .round:hover { background: var(--or); color: var(--vert-3); border-color: var(--or); }

/* ---------- 6. Colis ---------- */
.colis { padding-block: clamp(80px, 11vw, 150px); }
.colis-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.colis-left { display: grid; gap: 22px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.preset { display: inline-grid; gap: 2px; text-align: left; padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--rule); background: #fff; cursor: pointer; transition: border-color .2s, transform .2s; }
.preset:hover { border-color: var(--rouge); transform: translateY(-2px); }
.preset b { font: 600 14px/1.2 var(--sans); }
.preset small { font: 500 11px/1 var(--mono); color: var(--muted); }
.colis-list { list-style: none; margin: 0; padding: 0; }
.colis-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--rule); }
.colis-list .th { width: 52px; height: 40px; position: relative; display: block; }
.colis-list .th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 5px rgba(60, 20, 20, .2)); }
.colis-list .nm b { display: block; font: 700 17px/1.15 var(--display); }
.colis-list .nm span { font: 500 11.5px/1.3 var(--mono); color: var(--muted); }
.colis-list .px { font: 500 13px/1 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: right; min-width: 72px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--rule); border-radius: 999px; height: 38px; }
.stepper button { width: 36px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--ink-2); border-radius: 999px; }
.stepper button:hover { color: var(--rouge); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 22px; text-align: center; font: 600 14px/1 var(--mono); font-variant-numeric: tabular-nums; }
.colis-list li.on .stepper { border-color: var(--ink); }
.colis-right { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 18px; }
.crate {
  position: relative; aspect-ratio: 5 / 3.4; border-radius: 16px; padding: 16px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .12) 0 2%, transparent 2% 98%, rgba(0, 0, 0, .12) 98%),
    repeating-linear-gradient(180deg, #D9B98A 0 23%, #C9A673 23% 24%, #DDBF92 24% 48%, #C9A673 48% 49%, #D6B585 49% 73%, #C9A673 73% 74%, #DBBC8E 74% 100%);
  box-shadow: inset 0 0 0 10px #B98E57, inset 0 0 0 11px #A77E4A, 0 30px 50px -30px rgba(60, 30, 10, .55);
}
.crate-inner { position: absolute; inset: 20px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 6px; }
.crate-item { position: relative; display: grid; place-items: center; animation: drop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.crate-item img { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 8px 6px rgba(60, 20, 10, .35)); }
.crate-item::after { content: attr(data-q); position: absolute; right: 2px; top: 2px; font: 600 11px/1 var(--mono); background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 6px; }
.crate-item[data-q="×1"]::after { display: none; }
@keyframes drop { from { transform: translateY(-60px) rotate(-8deg) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
.crate-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font: italic 600 20px/1.35 var(--display); color: rgba(60, 35, 15, .6); pointer-events: none; }
.crate-stamp { position: absolute; right: 22px; bottom: 16px; font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(110, 20, 40, .55); border: 1.5px solid rgba(110, 20, 40, .45); border-radius: 50%; padding: 12px 10px; transform: rotate(-12deg); }
.totals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.totals div { display: grid; gap: 4px; }
.totals span { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.totals b { font: 600 20px/1 var(--mono); font-variant-numeric: tabular-nums; }
.totals .big b { font: 800 36px/1 var(--display); letter-spacing: -.01em; color: var(--rouge); }
.slots { display: grid; gap: 8px; }
.slots-label { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.slot-list { display: flex; flex-wrap: wrap; gap: 8px; }
.recap { border-radius: 16px; background: #fff; border: 1.5px solid var(--rule); padding: 18px; display: grid; gap: 12px; }
.recap-title { font: 700 22px/1.1 var(--display); }
.recap pre { margin: 0; font: 400 12.5px/1.5 var(--mono); white-space: pre-wrap; background: var(--tile-2); border-radius: 10px; padding: 12px; user-select: all; }

/* ---------- 7. Infos ---------- */
.infos { background: var(--vert-3); color: var(--creme); padding-top: clamp(80px, 10vw, 130px); overflow: hidden; position: relative; }
.infos h2 { color: var(--creme); }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(233, 215, 174, .2); }
.info-grid h3 { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin-bottom: 14px; }
.info-grid p { margin-bottom: 8px; }
.info-grid .dim { color: rgba(244, 235, 221, .6); }
.phone { font: 600 20px/1 var(--mono); letter-spacing: .02em; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--dot, #7fbf7f); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot, #7fbf7f) 25%, transparent); }
.hours { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font: 400 13px/1.3 var(--mono); color: rgba(244, 235, 221, .8); }
.hours li { display: flex; justify-content: space-between; gap: 12px; }
.hours li.today { color: #fff; font-weight: 600; }
.demo-note { margin-top: 48px; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; color: rgba(244, 235, 221, .5); }
.credits { margin-top: 14px; font-size: 12px; color: rgba(244, 235, 221, .55); }
.credits summary { cursor: pointer; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.credits ul { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 6px; max-width: 900px; }
.facade { margin-top: 56px; padding-bottom: 28px; display: flex; justify-content: center; overflow: hidden; }
.facade span {
  display: block; white-space: nowrap; font: italic 800 clamp(48px, 13vw, 250px)/1.05 var(--display); letter-spacing: -.03em; padding: 0 .08em;
  background: linear-gradient(180deg, #F1DFAE 0%, #CDA85F 45%, #9C7A3A 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Fiche (tiroir) ---------- */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(20, 12, 13, .38); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s; }
.scrim.on { opacity: 1; }
.drawer {
  position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(500px, 100vw); background: var(--tile);
  box-shadow: -30px 0 60px -30px rgba(20, 12, 13, .5); transform: translateX(104%); transition: transform .5s var(--ease);
  display: grid; grid-template-rows: auto 1fr; padding-top: env(safe-area-inset-top, 0px);
}
.drawer.on { transform: none; }
.d-bar { display: flex; gap: 8px; justify-content: flex-end; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.d-bar #d-close { margin-left: 8px; }
.d-body { overflow-y: auto; padding: 22px 26px calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 22px; align-content: start; }
.d-head { display: grid; gap: 6px; }
.d-head .num { font: 500 12px/1 var(--mono); color: var(--rouge); letter-spacing: .1em; }
.d-head h3 { font: 800 44px/1 var(--display); letter-spacing: -.02em; }
.d-head .aka { color: var(--muted); font-size: 15px; }
.d-photo { position: relative; height: 230px; display: grid; place-items: center; border-radius: 18px; background: radial-gradient(ellipse 60% 55% at 50% 58%, #fff, var(--tile-2)); }
.d-photo > img { max-width: 86%; max-height: 200px; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(60, 20, 20, .28)); animation: pop .6s var(--ease) both; }
@keyframes pop { from { transform: translateY(18px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.mini-cow { position: absolute; left: 10px; bottom: 8px; width: 132px; aspect-ratio: 1640 / 1067; }
.d-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.d-tag { font: 500 12px/1 var(--mono); padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--rule); display: inline-flex; align-items: center; gap: 7px; }
.d-tag i { width: 9px; height: 9px; border-radius: 50%; }
.d-sec h4 { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.d-sec p { color: var(--ink-2); }
.meters { display: grid; gap: 10px; }
.meter { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; font-size: 14px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 22px; height: 8px; border-radius: 4px; background: var(--rule); }
.dots i.on { background: var(--rouge); }
.d-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.d-list li { padding: 7px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--rule); font-size: 14px; }
.conseil { margin: 0; padding: 16px 18px; border-left: 3px solid var(--rouge); background: #fff; border-radius: 0 12px 12px 0; font: italic 600 18px/1.4 var(--display); }
.conseil cite { display: block; margin-top: 8px; font: normal 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.d-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 6px; border-top: 1px solid var(--rule); }
.d-buy .unit { font: 500 12px/1.4 var(--mono); color: var(--muted); }

.toast {
  position: fixed; z-index: 90; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 24px); opacity: 0; visibility: hidden;
  background: var(--ink); color: #fff; padding: 10px 10px 10px 18px; border-radius: 999px; display: flex; align-items: center; gap: 14px;
  font: 500 14px/1.2 var(--sans); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); transition: transform .45s var(--ease), opacity .3s, visibility .3s; max-width: calc(100vw - 32px);
}
.toast.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast a { color: #fff; background: var(--rouge); border-radius: 999px; padding: 8px 14px; text-decoration: none; font-weight: 600; white-space: nowrap; }

/* Apparitions douces (le contenu reste visible sans prise en charge) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes rise { from { opacity: .15; transform: translateY(36px); } to { opacity: 1; transform: none; } }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .lang-switch { margin-left: auto; }
  .guide-grid, .cave-grid, .colis-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-map, .colis-right { position: static; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --nav-h: 58px; }
  .brand-name { font-size: 19px; }
  .nav-cta span:first-child { display: none; }
  .nav-cta { padding: 0 8px; }
  .anat { height: 340vh; }
  .hero-copy { width: auto; right: var(--gut); top: calc(var(--nav-h) + 20px); gap: 16px; }
  .hero-title { font-size: clamp(48px, 14.5vw, 76px); }
  .lede { font-size: 15.5px; }
  .ctas .btn-ghost { display: none; }
  .fiche { display: none; }
  .piece-lbl { font-size: 10.5px; white-space: normal; line-height: 1.1; }
  .piece-lbl em { display: none; }
  .anat-head { left: 50%; top: calc(var(--nav-h) + 6px); width: 90vw; text-align: center; }
  .anat-head .eyebrow, .anat-sub { display: none; }
  .anat-head h2 { font-size: 26px; }
  .prep { height: 320vh; }
  .prep-pin { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); padding-top: calc(var(--nav-h) + 12px); padding-bottom: 12px; gap: 6px; }
  .prep-copy { gap: 10px; align-content: start; }
  .prep-copy .sec-lede, .prep-copy .eyebrow, .badges { display: none; }
  .prep-copy h2 { font-size: 31px; }
  .prep-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .prep-tabs::-webkit-scrollbar { display: none; }
  .prep-tabs .chip { flex: none; min-height: 34px; padding: 0 13px; font-size: 13px; }
  .prep-buy { gap: 14px; }
  .prep-buy .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
  .tag-price { font-size: 16px; padding: 6px 10px 7px; }
  .xlab .pct { font-size: 16px; }
  .xlab .nm { font-size: 14.5px; }
  .xlab .note { font-size: 11px; }
  .age-stats { grid-template-columns: minmax(0, 1fr); }
  .card, .card-end { width: 78vw; max-width: 300px; }
  .colis-list li { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .colis-list .px { display: none; }
  .info-grid { grid-template-columns: minmax(0, 1fr); }
  .d-head h3 { font-size: 36px; }
  .drawer { top: auto; height: 90vh; height: 90svh; width: 100vw; border-radius: 22px 22px 0 0; transform: translateY(104%); }
  .drawer.on { transform: none; }
}
@media (max-height: 800px) and (min-width: 761px) { .fiche { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
}
