/* =========================================================================
   Site exemple — Domaine viticole de Bourgogne
   Conçu par Abweb. Quatre ambiances : prestige · contemporain · nature · nuit
   ========================================================================= */

/* ---------- 1. Ambiances (variables) ---------- */
:root,
[data-theme="prestige"] {
  --bg: #f2e9da;
  --bg-alt: #e8dbc4;
  --surface: #faf4ea;
  --ink: #1f130e;
  --ink-soft: #6b5a4b;
  --line: rgba(31, 19, 14, .15);
  --accent: #7a1426;
  --accent-ink: #fff;
  --gold: #c08a2e;
  --olive: #3b5236;
  --terra: #a8462c;
  --dark: #2a0d13;
  --dark-2: #3a1520;
  --on-dark: #f5e9d7;
  --on-dark-soft: rgba(245, 233, 215, .7);
  --line-dark: rgba(245, 233, 215, .18);
  --f-display: 'Libre Caslon Display', Georgia, serif;
  --f-italic: 'Libre Caslon Text', Georgia, serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-script: 'Mrs Saint Delafield', cursive;
  --f-hand: 'Caveat', 'Segoe Print', cursive;
  --d-weight: 400;
  --d-track: -.008em;
  --d-lh: 1.02;
  --d-var: normal;
  --d-var-it: normal;
  --d-italic: italic;
  --radius: 4px;
  --radius-lg: 10px;
  --btn-radius: 999px;
  --grain: .08;
  --halo-r: rgba(122, 20, 38, .18);
  --halo-b: rgba(192, 138, 46, .28);
  --halo-e: rgba(192, 160, 90, .3);
  --shadow: 0 30px 60px -30px rgba(42, 13, 19, .4);
  --label: #f6eedd;
  --hand: #8a1a2e;
}

[data-theme="contemporain"] {
  --bg: #f3f3f1;
  --bg-alt: #e7e7e3;
  --surface: #ffffff;
  --ink: #0d0d0d;
  --ink-soft: #5e5e58;
  --line: rgba(13, 13, 13, .14);
  --accent: #c41230;
  --gold: #8f8f88;
  --dark: #0d0d0d;
  --dark-2: #181818;
  --on-dark: #f3f3f1;
  --on-dark-soft: rgba(243, 243, 241, .6);
  --line-dark: rgba(243, 243, 241, .16);
  --f-display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --d-var: normal;
  --d-var-it: normal;
  --hand: #c41230;
  --d-weight: 600;
  --d-track: -.045em;
  --d-lh: .92;
  --d-italic: normal;
  --radius: 0px;
  --radius-lg: 0px;
  --btn-radius: 0px;
  --grain: 0;
  --halo-r: rgba(0, 0, 0, .07);
  --halo-b: rgba(0, 0, 0, .05);
  --halo-e: rgba(0, 0, 0, .06);
  --shadow: 0 30px 60px -34px rgba(0, 0, 0, .35);
  --label: #ffffff;
}

[data-theme="nature"] {
  --bg: #eeede3;
  --bg-alt: #e1e0cf;
  --surface: #f7f6ef;
  --ink: #1f2a1c;
  --ink-soft: #56604f;
  --line: rgba(31, 42, 28, .15);
  --accent: #a4552f;
  --gold: #6b7a40;
  --dark: #24331f;
  --dark-2: #2e4028;
  --on-dark: #eef0e4;
  --on-dark-soft: rgba(238, 240, 228, .68);
  --line-dark: rgba(238, 240, 228, .17);
  --f-display: 'Fraunces', Georgia, serif;
  --f-italic: 'Fraunces', Georgia, serif;
  --f-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --d-var: 'SOFT' 0, 'WONK' 0;
  --d-var-it: 'SOFT' 0, 'WONK' 0;
  --hand: #a4552f;
  --d-weight: 400;
  --d-track: -.025em;
  --d-lh: 1;
  --d-italic: italic;
  --radius: 18px;
  --radius-lg: 28px;
  --btn-radius: 999px;
  --grain: .06;
  --halo-r: rgba(164, 85, 47, .16);
  --halo-b: rgba(107, 122, 64, .2);
  --halo-e: rgba(190, 170, 110, .26);
  --shadow: 0 30px 60px -30px rgba(31, 42, 28, .35);
  --label: #f4f0e2;
}

[data-theme="nuit"] {
  --bg: #0f0d0c;
  --bg-alt: #16130f;
  --surface: #1b1714;
  --ink: #ece5d8;
  --ink-soft: #a89f92;
  --line: rgba(236, 229, 216, .14);
  --accent: #c6a15b;
  --accent-ink: #14100c;
  --gold: #c6a15b;
  --dark: #070605;
  --dark-2: #120f0d;
  --on-dark: #ece5d8;
  --on-dark-soft: rgba(236, 229, 216, .62);
  --line-dark: rgba(236, 229, 216, .14);
  --f-display: 'Bodoni Moda', 'Didot', Georgia, serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --d-var: normal;
  --d-var-it: normal;
  --hand: #e0bf7d;
  --d-weight: 500;
  --d-track: -.02em;
  --d-lh: .98;
  --d-italic: italic;
  --radius: 2px;
  --radius-lg: 4px;
  --btn-radius: 2px;
  --grain: .05;
  --halo-r: rgba(198, 161, 91, .14);
  --halo-b: rgba(198, 161, 91, .2);
  --halo-e: rgba(198, 161, 91, .2);
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
  --label: #efe6d3;
}

/* Police des grands titres choisie dans « Personnaliser » (prioritaire sur l'ambiance) */
[data-font="fraunces"] { --f-display: 'Fraunces', Georgia, serif; --d-weight: 360; --d-track: -.025em; --d-lh: .94; --d-var: 'SOFT' 30, 'WONK' 0; --d-var-it: 'SOFT' 100, 'WONK' 1; }
[data-font="instrument"] { --f-display: 'Instrument Serif', Georgia, serif; --d-weight: 400; --d-track: -.015em; --d-lh: .92; --d-var: normal; --d-var-it: normal; }
[data-font="bodoni"] { --f-display: 'Bodoni Moda', Didot, Georgia, serif; --d-weight: 500; --d-track: -.025em; --d-lh: .98; --d-var: normal; --d-var-it: normal; }
[data-font="young-retiree"] { --f-display: 'Young Serif', Georgia, serif; --d-weight: 400; --d-track: -.03em; --d-lh: 1; --d-var: normal; --d-var-it: normal; }
[data-font="inter"] { --f-display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif; --d-weight: 600; --d-track: -.045em; --d-lh: .92; --d-var: normal; --d-var-it: normal; }

:root {
  --demo-h: 40px;
  --header-h: 84px;
  --max: 1320px;
  --gut: clamp(16px, 4.2vw, 64px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --sec: clamp(84px, 11vw, 168px);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
body.has-demo { padding-top: var(--demo-h); }
body::after { /* grain papier */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%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 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
[data-theme="nuit"] body::after { mix-blend-mode: screen; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10000; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }
svg.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- 3. Typographie ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--f-display);
  font-weight: var(--d-weight);
  letter-spacing: var(--d-track);
  line-height: var(--d-lh);
  margin: 0;
  text-wrap: balance;
  font-variation-settings: var(--d-var);
}
h1, .h1 { font-size: clamp(3rem, 8.4vw, 8.2rem); }
h2, .h2 { font-size: clamp(2.3rem, 5.2vw, 4.9rem); }
h3, .h3 { font-size: clamp(1.45rem, 2.3vw, 2.1rem); line-height: 1.1; }
h4 { font-size: 1.25rem; line-height: 1.2; }
em, .it { font-style: var(--d-italic); }
h1 em, h2 em, h3 em { font-style: var(--d-italic); color: var(--accent); font-variation-settings: var(--d-var-it); }
[data-theme="contemporain"] h1 em, [data-theme="contemporain"] h2 em { color: var(--accent); }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.38rem); line-height: 1.6; color: var(--ink-soft); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8em;
  font-family: var(--f-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.c::before { display: none; }
.s-dark .eyebrow { color: var(--gold); }
.s-dark h1 em, .s-dark h2 em, .s-dark h3 em, .footer .big em { color: var(--gold); }
[data-theme="nuit"] .eyebrow { color: var(--gold); }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- 4. Mise en page ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.wrap.wide { max-width: 1560px; }
.wrap.narrow { max-width: 920px; }
.sec { padding: var(--sec) 0; position: relative; }
.sec.tight { padding: calc(var(--sec) * .6) 0; }
.s-alt { background: var(--bg-alt); }
.s-dark { background: var(--dark); color: var(--on-dark); --line: var(--line-dark); --ink-soft: var(--on-dark-soft); }
.s-dark .lead, .s-dark .muted { color: var(--on-dark-soft); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 6vw, 80px); flex-wrap: wrap; }
.sec-head > div { max-width: 760px; }
.sec-head h2 { margin-top: 18px; }
.sec-head .lead { margin-top: 22px; margin-bottom: 0; }
.center { text-align: center; }
.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.grid { display: grid; gap: clamp(20px, 2.6vw, 36px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.split.rev > :first-child { order: 2; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 5. Boutons & éléments ---------- */
.btn {
  --b-bg: var(--accent);
  --b-ink: var(--accent-ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--btn-radius);
  background: var(--b-bg);
  color: var(--b-ink);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--bg); }
.s-dark .btn:hover, .hero .btn:hover { color: var(--dark); }
.s-dark .btn::before, .hero .btn::before { background: var(--on-dark); }
.btn .i { transition: transform .5s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn.ghost { --b-bg: transparent; --b-ink: currentColor; border: 1px solid currentColor; color: inherit; }
.btn.light { --b-bg: #fff; --b-ink: #1a1512; }
.btn.glass { --b-bg: rgba(255, 255, 255, .12); --b-ink: #fff; border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn.sm { min-height: 42px; padding: 0 20px; font-size: .74rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link .i { transition: transform .45s var(--ease); }
.link:hover .i { transform: translateX(5px); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
[data-theme="contemporain"] .chip { border-radius: 0; }
.chip:hover { border-color: currentColor; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .n { font-size: .72rem; opacity: .6; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  white-space: nowrap;
}
[data-theme="contemporain"] .badge { border-radius: 0; }
.badge.G { background: linear-gradient(135deg, #d9bd7c, #a9853f); color: #2a1d08; border-color: transparent; }
.badge.P { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.badge.V { background: var(--ink); color: var(--bg); border-color: transparent; }
.badge.R { background: transparent; }
.badge.hot { background: #f5c518; color: #1a1400; border-color: transparent; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.dot.R { background: #8e1f30; }
.dot.B { background: #d9b85c; }
.dot.E { background: #e6d39a; box-shadow: inset 0 0 0 2px #b79a4c; }

/* Formulaires */
.field { position: relative; display: block; margin-bottom: 18px; }
.field input, .field textarea, .field select {
  width: 100%;
  height: 56px;
  padding: 22px 16px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 1rem;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { height: 150px; resize: vertical; padding-top: 28px; }
.field select { padding-top: 20px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 26px, calc(100% - 16px) 26px; background-size: 6px 6px; background-repeat: no-repeat; }
.field label {
  position: absolute;
  left: 17px;
  top: 17px;
  font-size: 1rem;
  color: var(--ink-soft);
  pointer-events: none;
  transition: all .25s var(--ease);
  transform-origin: left top;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); cursor: pointer; margin: 6px 0 22px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin-top: 2px; }
.s-dark .field input, .s-dark .field textarea, .s-dark .field select { background: rgba(255, 255, 255, .05); }

/* ---------- 6. Couche « démo Abweb » ---------- */
.demobar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 950;
  height: var(--demo-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 14px;
  background: #121212;
  color: #f2f2f2;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: .8rem;
  letter-spacing: .01em;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.demobar .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f5c518;
  color: #141100;
  font-weight: 800;
  font-size: .64rem;
  letter-spacing: .16em;
  padding: 4px 9px;
  border-radius: 4px;
}
.demobar .txt b { font-weight: 700; color: #fff; }
.demobar .txt span { opacity: .7; }
.demobar .acts { display: flex; gap: 6px; align-items: center; }
.demobar button, .demobar a.db {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  transition: background .25s;
}
.demobar button:hover, .demobar a.db:hover { background: rgba(255, 255, 255, .18); }
.demobar .db.y { background: #f5c518; color: #141100; }
.demobar .db.y:hover { background: #ffd84a; }
.demobar .tour-on { background: #f5c518 !important; color: #141100 !important; }
.demobar .x { width: 28px; padding: 0; justify-content: center; background: transparent; opacity: .6; }
body.demo-min { --demo-h: 0px; }
body.demo-min .demobar { transform: translateY(-100%); }
.demopill {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 940;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px 0 10px;
  border-radius: 999px;
  background: #121212;
  color: #fff;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: .8rem;
  font-weight: 600;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
  transform: translateY(140%);
  visibility: hidden;
  transition: transform .5s var(--ease), visibility .5s;
}
.demopill .tag { background: #f5c518; color: #141100; font-size: .6rem; font-weight: 800; letter-spacing: .14em; padding: 4px 8px; border-radius: 999px; }
body.demo-min .demopill { transform: none; visibility: visible; }

/* Fenêtre d'accueil */
.welcome {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 8, 7, .55);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease), visibility .6s;
  font-family: 'Manrope', system-ui, sans-serif;
}
.welcome.open { opacity: 1; visibility: visible; }
.welcome__card {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100svh - 40px);
  overflow: auto;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  background: #fbf8f2;
  color: #1c1814;
  border-radius: 18px;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .7);
  transform: translateY(30px) scale(.98);
  transition: transform .8s var(--ease);
}
.welcome.open .welcome__card { transform: none; }
.welcome__img { position: relative; min-height: 100%; background: #222 center/cover; border-radius: 18px 0 0 18px; overflow: hidden; }
.welcome__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .65)); }
.welcome__img .cap { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; color: #fff; }
.welcome__img .cap .big { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; line-height: 1; font-style: italic; }
.welcome__img .cap p { margin: 10px 0 0; font-size: .86rem; opacity: .85; line-height: 1.5; }
.welcome__body { padding: clamp(26px, 4vw, 48px); }
.welcome .tag { display: inline-flex; gap: 8px; align-items: center; background: #f5c518; color: #141100; font-weight: 800; font-size: .66rem; letter-spacing: .18em; padding: 6px 11px; border-radius: 6px; }
.welcome h2 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1; margin: 18px 0 14px; letter-spacing: -.01em; }
.welcome h2 em { color: #7b1e2c; font-style: italic; }
.welcome p.l { color: #5a524a; font-size: .98rem; line-height: 1.6; margin-bottom: 18px; }
.welcome .feats { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; padding: 0; list-style: none; }
.welcome .feats li { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; padding: 7px 11px; border-radius: 999px; background: #efe7d8; color: #3b332b; }
.welcome .feats .i { width: 14px; height: 14px; color: #7b1e2c; }
.welcome form { background: #f1eadc; border-radius: 12px; padding: 18px; margin-bottom: 14px; }
.welcome form .t { font-weight: 700; font-size: .86rem; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.welcome form .row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.welcome form input { height: 46px; border: 1px solid rgba(0, 0, 0, .14); border-radius: 8px; padding: 0 12px; background: #fff; font-size: .95rem; min-width: 0; }
.welcome form input:focus { outline: 2px solid #7b1e2c; outline-offset: 0; border-color: transparent; }
.welcome form button { height: 46px; padding: 0 18px; border-radius: 8px; background: #1c1814; color: #fff; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.welcome form button:hover { background: #7b1e2c; }
.welcome .skipw { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; color: #1c1814; padding: 8px 0; border-bottom: 1px solid currentColor; }
.welcome .fine { font-size: .74rem; color: #8a8076; margin: 16px 0 0; line-height: 1.5; }
.welcome .closew { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .06); z-index: 2; }

/* Panneau de personnalisation */
.custo {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9400;
  width: min(430px, 100%);
  background: #fbfaf7;
  color: #1c1814;
  font-family: 'Manrope', system-ui, sans-serif;
  box-shadow: -30px 0 80px -20px rgba(0, 0, 0, .4);
  transform: translateX(105%);
  transition: transform .6s var(--ease);
  display: flex;
  flex-direction: column;
}
.custo.open { transform: none; }
.custo__head { padding: 22px 24px 16px; border-bottom: 1px solid rgba(0, 0, 0, .08); display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.custo__head h3 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.2; }
.custo__head p { margin: 4px 0 0; font-size: .82rem; color: #6f675f; line-height: 1.45; }
.custo__body { flex: 1; overflow: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.custo__foot { padding: 14px 24px; border-top: 1px solid rgba(0, 0, 0, .08); display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.custo h4 { font-family: 'Manrope', sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8a8076; margin: 22px 0 10px; }
.custo .in { width: 100%; height: 46px; border: 1px solid rgba(0, 0, 0, .14); border-radius: 8px; padding: 0 12px; background: #fff; font-size: .95rem; margin-bottom: 8px; }
.custo .in:focus { outline: 2px solid #7b1e2c; border-color: transparent; }
.amb { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.amb button { text-align: left; padding: 10px; border-radius: 10px; border: 1.5px solid rgba(0, 0, 0, .1); background: #fff; transition: all .25s; }
.amb button:hover { border-color: rgba(0, 0, 0, .35); }
.amb button.on { border-color: #1c1814; box-shadow: 0 0 0 1px #1c1814; }
.amb .sw { display: flex; height: 34px; border-radius: 6px; overflow: hidden; margin-bottom: 8px; }
.amb .sw i { flex: 1; }
.amb b { display: block; font-size: .86rem; }
.amb span { display: block; font-size: .72rem; color: #7d756d; line-height: 1.35; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); transition: transform .2s; }
.swatches button:hover { transform: scale(1.1); }
.swatches button.on { box-shadow: 0 0 0 2px #1c1814; }
.swatches .auto { display: grid; place-items: center; font-size: .6rem; font-weight: 800; background: conic-gradient(#7b1e2c, #b0894f, #5d6b3a, #1f3b57, #7b1e2c); color: #fff; }
.heros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.heros button { aspect-ratio: 1; border-radius: 8px; background: center/cover; border: 2px solid transparent; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.heros button.on { border-color: #1c1814; }
.tog { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: .9rem; border-bottom: 1px solid rgba(0, 0, 0, .06); cursor: pointer; }
.tog small { display: block; color: #8a8076; font-size: .75rem; }
.tog input { appearance: none; -webkit-appearance: none; width: 42px; height: 24px; border-radius: 99px; background: #d6d1c9; position: relative; transition: background .25s; flex: none; cursor: pointer; }
.tog input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.tog input:checked { background: #1c1814; }
.tog input:checked::after { transform: translateX(18px); }
.custo .cbtn { height: 46px; border-radius: 8px; background: #1c1814; color: #fff; font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; }
.custo .cbtn.alt { background: #efe9df; color: #1c1814; }
.custo .abw { margin-top: 24px; padding: 16px; border-radius: 12px; background: #121212; color: #eee; font-size: .84rem; line-height: 1.5; }
.custo .abw b { color: #fff; }
.custo .abw a { color: #f5c518; font-weight: 700; }
.closebtn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .06); flex: none; transition: background .25s, transform .4s var(--ease); }
.closebtn:hover { background: rgba(0, 0, 0, .12); transform: rotate(90deg); }
.scrim { position: fixed; inset: 0; z-index: 9300; background: rgba(10, 8, 6, .45); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.scrim.open { opacity: 1; visibility: visible; }

/* Visite guidée */
.tour-layer { position: fixed; inset: 0; pointer-events: none; z-index: 930; }
.hotspot {
  position: fixed;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: #f5c518;
  color: #141100;
  font: 800 .78rem/30px 'Manrope', sans-serif;
  text-align: center;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, .5);
  transition: transform .3s var(--ease);
}
.hotspot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #f5c518; animation: pulse 2s infinite; }
.hotspot:hover { transform: scale(1.12); }
@keyframes pulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.tip {
  position: fixed;
  z-index: 935;
  width: min(320px, calc(100vw - 32px));
  background: #121212;
  color: #eee;
  border-radius: 12px;
  padding: 16px 18px;
  font: 400 .86rem/1.5 'Manrope', sans-serif;
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .6);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s var(--ease);
  pointer-events: none;
}
.tip.show { opacity: 1; transform: none; pointer-events: auto; }
.tip b { display: block; color: #f5c518; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.tip h5 { font: 700 1rem/1.3 'Manrope', sans-serif; margin: 0 0 6px; color: #fff; }
.tip .nav { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: .78rem; }
.tip .nav button { color: #f5c518; font-weight: 700; }

/* ---------- 7. En-tête ---------- */
.header {
  position: fixed;
  top: var(--demo-h);
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  color: var(--ink);
  transition: transform .6s var(--ease), background-color .5s var(--ease), color .5s var(--ease), height .5s var(--ease), top .5s var(--ease), box-shadow .5s;
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 1;
  transition: opacity .5s var(--ease);
}
body.over-hero .header:not(.solid) { color: #fff; }
body.over-hero .header:not(.solid)::before { opacity: 0; }
.header.solid { --header-h: 70px; }
.header.hide { transform: translateY(calc(-100% - var(--demo-h))); }
.header .wrap { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; max-width: 1560px; }
.brand { display: flex; align-items: center; gap: 14px; flex: none; min-width: 0; }
.brand .mono { width: 46px; height: 46px; flex: none; transition: width .5s var(--ease), height .5s var(--ease); }
.header.solid .brand .mono { width: 40px; height: 40px; }
.brand .bn { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand .bn b { font-family: var(--f-display); font-weight: var(--d-weight); font-size: 1.5rem; letter-spacing: var(--d-track); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30vw; }
.brand .bn span { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; opacity: .72; margin-top: 5px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); margin-left: auto; }
.nav a {
  position: relative;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 0;
  white-space: nowrap;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); transform-origin: left; }
.hd-tools { display: flex; align-items: center; gap: 6px; }
.icbtn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: background .3s; }
.icbtn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.icbtn .cnt { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: .64rem; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease); }
.icbtn .cnt.on { transform: scale(1); }
.icbtn .cnt.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.lang { position: relative; }
.lang > button { display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 10px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.lang ul { position: absolute; right: 0; top: 100%; margin: 0; padding: 6px; list-style: none; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .3s var(--ease); min-width: 150px; }
.lang:hover ul, .lang:focus-within ul { opacity: 1; visibility: visible; transform: none; }
.lang li button { width: 100%; text-align: left; padding: 8px 12px; border-radius: 6px; font-size: .85rem; display: flex; gap: 10px; }
.lang li button:hover { background: var(--bg-alt); }
.hd-cta { margin-left: 6px; }
.burger { display: none; }
.burger span { position: relative; width: 22px; height: 10px; display: block; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span::before { top: 0; }
.burger span::after { top: 8px; }
body.menu-open .burger span::before { top: 4px; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 4px; transform: rotate(-45deg); }

/* Menu plein écran (mobile) */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: var(--dark);
  color: var(--on-dark);
  display: grid;
  grid-template-columns: 1fr;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-io);
  overflow: auto;
}
body.menu-open .mmenu { clip-path: inset(0 0 0 0); }
.mmenu__in { padding: calc(var(--demo-h) + var(--header-h) + 20px) var(--gut) 40px; display: flex; flex-direction: column; min-height: 100%; }
.mmenu nav { display: flex; flex-direction: column; gap: 2px; }
.mmenu nav a { font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1.12; letter-spacing: var(--d-track); display: flex; align-items: baseline; gap: 14px; overflow: hidden; }
.mmenu nav a span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease); }
.mmenu nav a small { font-family: var(--f-body); font-size: .7rem; letter-spacing: .2em; color: var(--gold); opacity: 0; transition: opacity .6s .3s; }
body.menu-open .mmenu nav a span { transform: none; }
body.menu-open .mmenu nav a small { opacity: 1; }
.mmenu nav a:nth-child(2) span { transition-delay: .05s; }
.mmenu nav a:nth-child(3) span { transition-delay: .1s; }
.mmenu nav a:nth-child(4) span { transition-delay: .15s; }
.mmenu nav a:nth-child(5) span { transition-delay: .2s; }
.mmenu nav a:nth-child(6) span { transition-delay: .25s; }
.mmenu nav a:nth-child(7) span { transition-delay: .3s; }
.mmenu nav a:nth-child(8) span { transition-delay: .35s; }
.mmenu .mfoot { margin-top: auto; padding-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: .9rem; color: var(--on-dark-soft); }

/* ---------- 8. Héros ---------- */
.hero {
  position: relative;
  height: calc(100svh - var(--demo-h));
  min-height: 640px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: #1a1410;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media .slide { opacity: 0; transition: opacity 1.6s ease; }
.hero__media .slide.on { opacity: 1; }
.hero__media .slide img { animation: kb 16s ease-out both; }
@keyframes kb { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 7, 5, .5) 0%, rgba(10, 7, 5, .04) 28%, rgba(10, 7, 5, .06) 52%, rgba(10, 7, 5, .66) 100%),
    linear-gradient(90deg, rgba(10, 7, 5, .32), transparent 60%);
}
.hero__in { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 30px); padding-bottom: clamp(36px, 7vh, 80px); max-width: 1560px; }
.hero .eyebrow { color: #fff; }
.hero h1 {
  font-size: calc(clamp(3.2rem, 11vw, 11.5rem) * var(--title-scale, 1));
  line-height: .9;
  margin: 22px 0 0;
  max-width: 14ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .25);
}
.hero h1 em { color: inherit; }
.hero__sub { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-top: clamp(22px, 4vh, 42px); flex-wrap: wrap; }
.hero__sub p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 34ch; margin: 0; opacity: .92; line-height: 1.5; }
.hero__sub .acts { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__side { position: absolute; left: var(--gut); top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: left center; font-size: .66rem; letter-spacing: .4em; text-transform: uppercase; opacity: .7; display: none; }
.hero__news {
  position: absolute;
  right: var(--gut);
  top: calc(var(--header-h) + 34px);
  width: 300px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: rgba(20, 15, 11, .32);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .4s, transform .5s var(--ease);
}
.hero__news:hover { background: rgba(20, 15, 11, .5); transform: translateY(-3px); }
.hero__news img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); flex: none; }
.hero__news small { display: block; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.hero__news b { display: block; font-weight: 600; font-size: .9rem; line-height: 1.3; margin-top: 4px; }
.hero__news .live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #6fdc8c; margin-right: 6px; box-shadow: 0 0 0 0 rgba(111, 220, 140, .7); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(111, 220, 140, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 220, 140, 0); } }
.scrollcue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 1px; height: 54px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.scrollcue::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: #fff; animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }
.hero__dots { position: absolute; right: var(--gut); bottom: clamp(36px, 7vh, 80px); display: flex; gap: 8px; }
.hero__dots button { width: 34px; height: 2px; background: rgba(255, 255, 255, .35); position: relative; overflow: hidden; }
.hero__dots button i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dots button.on i { animation: prog 7s linear forwards; }
@keyframes prog { to { transform: scaleX(1); } }

/* Titre lettre par lettre */
.split-ch { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-ch > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-in .split-ch > span, .split-ch.in > span { transform: none; }

/* Héros de page */
.phero { position: relative; min-height: 74svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; background: #1a1410; }
.phero.short { min-height: 56svh; }
.phero__media { position: absolute; inset: -10% 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 7, 5, .5) 0%, rgba(10, 7, 5, .12) 40%, rgba(10, 7, 5, .7) 100%); }
.phero .wrap { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(40px, 7vw, 90px); width: 100%; max-width: 1560px; }
.phero .eyebrow { color: #fff; }
.phero h1 { margin-top: 18px; font-size: clamp(3rem, 8vw, 7.4rem); }
.phero h1 em { color: inherit; }
.phero p { max-width: 54ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); opacity: .9; margin: 22px 0 0; }
.crumbs { display: flex; gap: 10px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- 9. Accueil ---------- */
.manifesto { font-family: var(--f-display); font-size: clamp(1.9rem, 4.3vw, 4rem); line-height: 1.12; letter-spacing: var(--d-track); font-weight: var(--d-weight); max-width: 22ch; margin: 28px 0 0; }
.manifesto .w { opacity: .14; transition: opacity .4s; }
.manifesto .w.on { opacity: 1; }
.manifesto em { color: var(--accent); }
.sig { font-family: var(--f-script); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.1; color: var(--accent); margin-top: 28px; display: block; }
.sig > span { display: inline-block; padding: 0 .2em .1em 0; clip-path: inset(0 100% 0 0); transition: clip-path 2.2s var(--ease-io) .2s; }
.sig.in > span { clip-path: inset(-20% -10% -20% 0); }
body.no-anim .sig > span { clip-path: none; }
.sigline { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: end; }
.intro-img { position: relative; }
.intro-img .a { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; }
.intro-img .b { position: absolute; width: 52%; aspect-ratio: 1; left: -26%; bottom: -12%; border-radius: var(--radius-lg); overflow: hidden; border: 8px solid var(--bg); box-shadow: var(--shadow); }
.intro-img img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); margin-top: clamp(70px, 9vw, 130px); }
.stat { padding: 30px 18px 0 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--f-display); font-weight: var(--d-weight); font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: var(--d-track); }
.stat > span { display: block; margin-top: 10px; font-size: .8rem; letter-spacing: .08em; color: var(--ink-soft); }

/* Bandeau défilant */
.marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding: 26px 0; user-select: none; }
.marquee__t { display: inline-flex; gap: 48px; padding-right: 48px; animation: mq 50s linear infinite; font-family: var(--f-display); font-size: clamp(1.8rem, 3.6vw, 3.2rem); font-style: var(--d-italic); letter-spacing: var(--d-track); }
.marquee__t span { display: inline-flex; align-items: center; gap: 48px; }
.marquee__t span::after { content: "✦"; font-size: .45em; color: var(--accent); font-style: normal; }
@keyframes mq { to { transform: translateX(-100%); } }
.marquee:hover .marquee__t { animation-play-state: paused; }

/* Carrousel des vins */
.rail-wrap { position: relative; }
.rail { display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px var(--gut) 30px; margin: 0 calc(var(--gut) * -1); cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.rail > * { scroll-snap-align: start; flex: 0 0 clamp(250px, 23vw, 320px); }
.rail-ctl { display: flex; gap: 10px; align-items: center; }
.rbtn { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .35s var(--ease); }
[data-theme="contemporain"] .rbtn { border-radius: 0; }
.rbtn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.rail-prog { flex: 1; height: 1px; background: var(--line); position: relative; margin-right: 12px; min-width: 80px; }
.rail-prog i { position: absolute; left: 0; top: -1px; height: 3px; background: var(--accent); width: 20%; transition: left .2s linear; }

/* Carte de vin */
.wcard { position: relative; display: flex; flex-direction: column; }
.wcard__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  /* halo coloré : en fond (pas de pseudo-élément, pour ne pas créer de contexte d'empilement qui masquerait le bouton « Ajouter ») */
  background: radial-gradient(closest-side, var(--halo) 0%, transparent 100%) center / 78% 58% no-repeat, var(--surface);
  transition: background-size .8s var(--ease);
}
.wcard[data-c="R"] { --halo: var(--halo-r); }
.wcard[data-c="B"] { --halo: var(--halo-b); }
.wcard[data-c="E"] { --halo: var(--halo-e); }
.wcard:hover .wcard__media { background-size: 100% 76%, auto; }
.wcard__media .bottle { position: absolute; top: 9%; left: 0; right: 0; margin: 0 auto; height: 82%; width: auto; filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .28)); transition: transform .9s var(--ease); transform-origin: 50% 90%; }
.wcard:hover .bottle { transform: translateY(-10px) rotate(-3deg); }
.wcard__media .badges { position: absolute; left: 14px; top: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.wcard__media .quick {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  transform: translateY(140%);
  transition: transform .6s var(--ease);
}
.wcard:hover .quick, .wcard:focus-within .quick { transform: none; }
.wcard__body { padding: 18px 2px 0; display: flex; justify-content: space-between; gap: 14px; }
.wcard__body h3 { font-size: 1.32rem; line-height: 1.15; }
.wcard__body .cu { font-family: var(--f-display); font-style: var(--d-italic); color: var(--ink-soft); font-size: 1.05rem; margin-top: 4px; }
[data-theme="contemporain"] .wcard__body .cu { font-family: var(--f-body); font-size: .9rem; }
.wcard__body .meta { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: .78rem; color: var(--ink-soft); letter-spacing: .04em; }
.wcard__body .pr { font-family: var(--f-display); font-size: 1.5rem; white-space: nowrap; line-height: 1.1; }
.wcard__body .pr small { display: block; font-family: var(--f-body); font-size: .66rem; letter-spacing: .1em; color: var(--ink-soft); text-transform: uppercase; text-align: right; }
.wcard > a.cover { position: absolute; inset: 0; z-index: 1; }
.wcard .quick, .wcard .badges { z-index: 2; }

/* Teaser terroir */
.terroir-teaser { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.minimap { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; background: #22201c; border: 1px solid var(--line-dark); }
.minimap .leaflet-container { width: 100%; height: 100%; background: #22201c; }
.minimap .mm-label { position: absolute; left: 16px; bottom: 16px; z-index: 500; display: flex; flex-wrap: wrap; gap: 6px; }
.legend-i { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; padding: 6px 10px; border-radius: 99px; background: rgba(15, 12, 10, .72); color: #fff; backdrop-filter: blur(6px); }
.legend-i i { width: 10px; height: 10px; border-radius: 3px; }
.tt-list { list-style: none; padding: 0; margin: 30px 0 34px; border-top: 1px solid var(--line); }
.tt-list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.tt-list li b { font-family: var(--f-display); font-weight: var(--d-weight); font-size: 1.5rem; line-height: 1; }

/* Section horizontale épinglée */
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll__track { display: flex; gap: clamp(20px, 3vw, 44px); padding: 0 var(--gut); will-change: transform; }
.hpanel { flex: 0 0 clamp(280px, 30vw, 460px); }
.hpanel.intro { flex-basis: clamp(300px, 30vw, 460px); display: flex; flex-direction: column; justify-content: center; }
.hpanel figure { margin: 0; height: min(54svh, 540px); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.hpanel figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.hpanel:hover figure img { transform: scale(1.04); }
.hpanel .n { font-family: var(--f-display); font-size: 1rem; color: var(--gold); letter-spacing: .1em; }
.hpanel h3 { margin: 18px 0 8px; }
.hpanel p { color: var(--ink-soft); font-size: .95rem; max-width: 40ch; }
.hscroll__bar { position: absolute; left: var(--gut); right: var(--gut); bottom: 6vh; height: 1px; background: var(--line); }
.hscroll__bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* Saisons (accordéon horizontal) */
.seasons { display: flex; gap: 10px; height: clamp(440px, 64vh, 640px); }
.season {
  position: relative;
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  cursor: pointer;
  transition: flex .9s var(--ease);
  isolation: isolate;
  min-width: 0;
}
.season.on { flex: 3.4; }
.season img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.season:hover img { transform: scale(1.05); }
.season::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .72)); }
.season .lab { position: absolute; left: 22px; bottom: 22px; right: 22px; }
.season h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.05; transition: font-size .6s var(--ease); }
.season:not(.on) h3 { font-size: clamp(1.2rem, 1.6vw, 1.6rem); }
.season .d { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .6s; max-width: 46ch; font-size: .95rem; }
.season.on .d { max-height: 200px; opacity: .92; margin-top: 10px; }
.season .k { position: absolute; top: 20px; left: 22px; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; opacity: .85; }

/* Cartes d'expérience */
.xcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.s-dark .xcard { background: var(--dark-2); }
.xcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.xcard figure { margin: 0; aspect-ratio: 16 / 11; overflow: hidden; position: relative; }
.xcard figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.xcard:hover figure img { transform: scale(1.06); }
.xcard figure .badge { position: absolute; left: 14px; top: 14px; }
.xcard .xb { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.xcard .xm { display: flex; gap: 16px; font-size: .78rem; color: var(--ink-soft); letter-spacing: .06em; margin-bottom: 12px; flex-wrap: wrap; }
.xcard .xm span { display: inline-flex; gap: 6px; align-items: center; }
.xcard h3 { font-size: 1.6rem; }
.xcard p { color: var(--ink-soft); font-size: .95rem; margin: 12px 0 18px; }
.xcard .xf { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.xcard .price { font-family: var(--f-display); font-size: 1.8rem; line-height: 1; }
.xcard .price small { font-family: var(--f-body); font-size: .72rem; color: var(--ink-soft); letter-spacing: .06em; }

/* Citation */
.quote { position: relative; min-height: 92svh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; isolation: isolate; }
.quote .bg { position: absolute; inset: -14% 0; z-index: -2; }
.quote .bg img { width: 100%; height: 100%; object-fit: cover; }
.quote::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12, 9, 7, .55); }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.1; letter-spacing: var(--d-track); max-width: 20ch; font-weight: var(--d-weight); }
.quote blockquote::before { content: "“"; display: block; font-size: 2.2em; line-height: .6; color: var(--gold); margin-bottom: 18px; }
.quote cite { display: block; margin-top: 30px; font-style: normal; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; opacity: .85; }

/* Journal */
.jcard { display: flex; flex-direction: column; group: j; }
.jcard figure { margin: 0 0 20px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); position: relative; }
.jcard figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.jcard:hover figure img { transform: scale(1.06); }
.jcard .jm { display: flex; gap: 14px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.jcard .jm b { color: var(--accent); font-weight: 600; }
.jcard h3 { margin: 12px 0 10px; font-size: clamp(1.4rem, 2vw, 1.8rem); transition: color .3s; }
.jcard:hover h3 { color: var(--accent); }
.jcard p { color: var(--ink-soft); font-size: .95rem; }
.jfeat { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; margin-bottom: clamp(60px, 8vw, 110px); }
.jfeat figure { aspect-ratio: 16 / 11; margin: 0; }
.jfeat h3 { font-size: clamp(2rem, 3.6vw, 3.4rem); }

/* Newsletter / insta */
.news { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.news form { display: flex; gap: 10px; margin-top: 26px; }
.news form .field { flex: 1; margin: 0; }
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: clamp(60px, 8vw, 100px); }
.insta a { position: relative; aspect-ratio: 1; overflow: hidden; display: block; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s; }
.insta a:hover img { transform: scale(1.08); filter: brightness(.7); }
.insta a::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.6' fill='white'/%3E%3C/svg%3E") center / 28px no-repeat; opacity: 0; transition: opacity .4s; }
.insta a:hover::after { opacity: 1; }

/* ---------- 10. Pages vins ---------- */
.filters { position: sticky; top: calc(var(--demo-h) + 70px); z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 14px 0; transition: top .6s var(--ease); }
body.hd-hidden .filters { top: var(--demo-h); }
.filters .wrap { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filters .grp { display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.filters .grp::-webkit-scrollbar { display: none; }
.filters .sep { width: 1px; height: 26px; background: var(--line); margin: 0 6px; }
.filters .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.filters select { height: 38px; border: 1px solid var(--line); border-radius: 99px; padding: 0 14px; background: var(--surface); font-size: .82rem; }
[data-theme="contemporain"] .filters select { border-radius: 0; }
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(26px, 3vw, 44px) clamp(18px, 2.4vw, 32px); padding-top: clamp(40px, 5vw, 70px); }
.wgrid .wcard { transition: opacity .5s var(--ease), transform .6s var(--ease); }
.wgrid .wcard.out { display: none; }
.empty { text-align: center; padding: 80px 0; color: var(--ink-soft); }

/* Pyramide des appellations */
.pyr { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.pyr__fig { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pyr__lvl { position: relative; height: 74px; display: grid; place-items: center; color: #fff; cursor: pointer; transition: transform .4s var(--ease), filter .4s; clip-path: polygon(var(--l) 0, calc(100% - var(--l)) 0, 100% 100%, 0 100%); text-align: center; line-height: 1.15; }
.pyr__lvl b { font-family: var(--f-display); font-weight: var(--d-weight); font-size: 1.3rem; display: block; }
.pyr__lvl small { font-size: .72rem; letter-spacing: .1em; opacity: .85; }
.pyr__lvl:hover, .pyr__lvl.on { transform: scale(1.04); filter: brightness(1.1); }
.pyr__info { min-height: 220px; }
.pyr__info h3 { margin: 14px 0 12px; }

/* Fiche vin */
.wine-top { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.wine-top::before { content: ""; position: absolute; width: 70vw; aspect-ratio: 1; left: -20vw; top: -10vw; border-radius: 50%; background: radial-gradient(circle, var(--halo) 0%, transparent 65%); pointer-events: none; }
.wine-top[data-c="R"] { --halo: var(--halo-r); }
.wine-top[data-c="B"] { --halo: var(--halo-b); }
.wine-top[data-c="E"] { --halo: var(--halo-e); }
.wine-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: center; position: relative; }
.wine-stage { position: relative; height: min(78svh, 760px); display: grid; place-items: center; }
.wine-stage .bottle { position: absolute; top: 3%; left: 0; right: 0; margin: 0 auto; height: 90%; width: auto; filter: drop-shadow(0 50px 40px rgba(0, 0, 0, .3)); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(-1deg); } }
.wine-stage .shadow { position: absolute; bottom: 2%; width: 30%; height: 18px; border-radius: 50%; background: rgba(0, 0, 0, .25); filter: blur(10px); animation: shadowy 7s ease-in-out infinite; }
@keyframes shadowy { 50% { transform: scaleX(.85); opacity: .7; } }
.wine-info h1 { font-size: clamp(2.6rem, 5.6vw, 5.4rem); margin: 18px 0 6px; }
.wine-info .cuvee { font-family: var(--f-display); font-style: var(--d-italic); font-size: clamp(1.5rem, 2.6vw, 2.3rem); color: var(--accent); line-height: 1.1; }
[data-theme="contemporain"] .wine-info .cuvee { font-family: var(--f-body); font-weight: 500; letter-spacing: -.02em; }
.wine-info .resume { margin: 26px 0; font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 30px 0; }
.kv > div { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kv small { display: flex; align-items: center; gap: 6px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.kv b { display: block; font-weight: 600; margin-top: 6px; font-size: .96rem; line-height: 1.35; }
.buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.buy .price { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; margin-right: 10px; }
.buy .price small { font-family: var(--f-body); font-size: .74rem; color: var(--ink-soft); display: block; letter-spacing: .08em; }
.qty { display: inline-flex; align-items: center; height: 52px; border: 1px solid var(--line); border-radius: var(--btn-radius); overflow: hidden; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; transition: background .25s; }
.qty button:hover { background: var(--bg-alt); }
.qty input { width: 40px; text-align: center; border: 0; background: transparent; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 30px; overflow-x: auto; scrollbar-width: none; }
.tabs button { padding: 14px 4px; margin-right: 22px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); position: relative; white-space: nowrap; }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .4s var(--ease); }
.tabs button.on { color: var(--ink); }
.tabs button.on::after { transform: scaleX(1); }
.tabpane { display: none; animation: fadeup .6s var(--ease); }
.tabpane.on { display: block; }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } }
.degust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.degust > div { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.degust .i { width: 28px; height: 28px; color: var(--accent); margin-bottom: 14px; }
.degust h4 { margin-bottom: 8px; }
.degust p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.radar-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; }
.radar text { font-family: var(--f-body); font-size: 11px; fill: var(--ink-soft); letter-spacing: .06em; }
.radar .ax { stroke: var(--line); }
.radar .shape { fill: color-mix(in srgb, var(--accent) 22%, transparent); stroke: var(--accent); stroke-width: 2; transform-origin: 170px 170px; transform: scale(0); transition: transform 1.4s var(--ease); }
.radar.is-in .shape { transform: scale(1); }
.garde { margin-top: 10px; }
.garde .bar { position: relative; height: 8px; border-radius: 99px; background: var(--line); margin: 50px 0 14px; }
.garde .fill { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 35%, transparent), var(--accent), color-mix(in srgb, var(--accent) 35%, transparent)); }
.garde .pk { position: absolute; top: -40px; transform: translateX(-50%); text-align: center; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.garde .pk::after { content: ""; display: block; width: 1px; height: 14px; background: var(--ink); margin: 6px auto 0; }
.garde .yrs { display: flex; justify-content: space-between; font-size: .78rem; color: var(--ink-soft); }
.accords { display: flex; flex-wrap: wrap; gap: 10px; }
.accords span { display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; }
[data-theme="contemporain"] .accords span { border-radius: 0; }

/* ---------- 11. Carte interactive ---------- */
.mapapp {
  position: relative;
  display: grid;
  grid-template-columns: 390px 1fr;
  height: calc(100svh - var(--demo-h) - 70px);
  min-height: 600px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.mapapp__side { display: flex; flex-direction: column; border-right: 1px solid var(--line); min-height: 0; background: var(--bg); }
.mapapp__head { padding: 22px 22px 14px; border-bottom: 1px solid var(--line); }
.mapapp__head h2 { font-size: 1.9rem; line-height: 1.05; }
.mapapp__head p { margin: 8px 0 14px; font-size: .86rem; color: var(--ink-soft); line-height: 1.5; }
.mapapp__head .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mapapp__head .chip { height: 32px; padding: 0 12px; font-size: .76rem; }
.plist { flex: 1; overflow: auto; list-style: none; margin: 0; padding: 8px; overscroll-behavior: contain; }
.plist li button { width: 100%; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; text-align: left; padding: 10px; border-radius: var(--radius-lg); transition: background .25s; }
.plist li button:hover, .plist li button.on { background: var(--bg-alt); }
.plist li button.on { box-shadow: inset 3px 0 0 var(--accent); }
.plist img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius); }
.plist b { display: block; font-family: var(--f-display); font-weight: var(--d-weight); font-size: 1.16rem; line-height: 1.1; }
.plist small { display: block; color: var(--ink-soft); font-size: .76rem; margin-top: 3px; line-height: 1.3; }
.plist .s { font-size: .74rem; color: var(--ink-soft); text-align: right; white-space: nowrap; }
.plist .reg { padding: 14px 12px 6px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.mapapp__foot { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.mapapp__map { position: relative; min-height: 0; background: #1e1c19; }
#map { position: absolute; inset: 0; }
.mapctl { position: absolute; top: 14px; right: 14px; z-index: 600; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.mapbox { background: color-mix(in srgb, var(--surface) 94%, transparent); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 40px -14px rgba(0, 0, 0, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
[data-theme="contemporain"] .mapbox { border-radius: 0; }
.seg { display: flex; padding: 4px; gap: 2px; }
.seg button { padding: 8px 12px; border-radius: 8px; font-size: .76rem; font-weight: 600; white-space: nowrap; }
[data-theme="contemporain"] .seg button { border-radius: 0; }
.seg button.on { background: var(--ink); color: var(--bg); }
.layers { padding: 10px 14px; min-width: 210px; }
.layers label { display: flex; align-items: center; gap: 10px; font-size: .82rem; padding: 6px 0; cursor: pointer; }
.layers input { accent-color: var(--accent); width: 16px; height: 16px; }
.layers .sw { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.maplegend { position: absolute; left: 14px; bottom: 14px; z-index: 600; padding: 10px 14px; font-size: .76rem; display: flex; gap: 14px; flex-wrap: wrap; max-width: calc(100% - 28px); }
.maplegend span { display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; }
.maplegend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.maptour { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 600; }
.maptour .btn { min-height: 44px; box-shadow: 0 14px 40px -14px rgba(0, 0, 0, .5); }
.pcard {
  position: absolute;
  z-index: 650;
  left: 14px;
  top: 14px;
  width: 360px;
  max-height: calc(100% - 28px);
  overflow: auto;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55);
  transform: translateX(-30px);
  opacity: 0;
  visibility: hidden;
  transition: all .55s var(--ease);
  overscroll-behavior: contain;
}
[data-theme="contemporain"] .pcard { border-radius: 0; }
.pcard.open { transform: none; opacity: 1; visibility: visible; }
.pcard figure { margin: 0; aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.pcard figure img { width: 100%; height: 100%; object-fit: cover; }
.pcard figure .badge { position: absolute; left: 12px; bottom: 12px; }
.pcard .closebtn { position: absolute; top: 10px; right: 10px; background: rgba(255, 255, 255, .85); color: #111; z-index: 2; }
.pcard .pb { padding: 18px 20px 20px; }
.pcard h3 { font-size: 1.9rem; line-height: 1; }
.pcard .app { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: 6px; font-weight: 600; }
.pcard .note { font-size: .92rem; color: var(--ink-soft); margin: 12px 0 14px; line-height: 1.55; }
.pcard .kv { grid-template-columns: 1fr 1fr; margin: 0 0 16px; }
.pcard .kv > div { padding: 10px 12px; }
.pcard .kv b { font-size: .86rem; }
.pcard .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.leaflet-container { font-family: var(--f-body); }
.leaflet-tooltip.ctip { background: rgba(18, 14, 11, .9); color: #fff; border: 0; border-radius: 8px; padding: 7px 11px; font-size: .78rem; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); }
.leaflet-tooltip.ctip::before { display: none; }
.ctip b { display: block; font-size: .88rem; }
.ctip small { opacity: .75; letter-spacing: .04em; }
.vlabel { background: transparent; border: 0; box-shadow: none; color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0, 0, 0, .9), 0 0 2px rgba(0, 0, 0, .9); }
.vlabel::before { display: none; }
.dmark { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 30%, transparent), 0 12px 24px rgba(0, 0, 0, .4); }
.dmark svg { width: 30px; height: 30px; }
.leaflet-control-attribution { font-size: 10px !important; background: rgba(255, 255, 255, .75) !important; }
.leaflet-control-zoom a { border-radius: 8px !important; }
.leaflet-bar { border: 0 !important; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5) !important; border-radius: 10px !important; overflow: hidden; }
.mapnote { position: absolute; right: 14px; bottom: 14px; z-index: 600; font-size: .72rem; padding: 8px 12px; max-width: 290px; line-height: 1.4; }
.mapnote b { color: #b38600; }

/* Coupe géologique */
.coupe { position: relative; }
.coupe svg { width: 100%; height: auto; overflow: visible; }
.coupe .zone { cursor: pointer; transition: opacity .3s, filter .3s; }
.coupe:hover .zone { opacity: .55; }
.coupe .zone:hover, .coupe .zone.on { opacity: 1; filter: brightness(1.08); }
.coupe text { font-family: var(--f-body); }
.coupe-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.coupe-info > div { padding: 18px; border-radius: var(--radius-lg); border: 1px solid var(--line); transition: all .35s; }
.coupe-info > div.on { background: var(--surface); border-color: var(--accent); }
.coupe-info b { font-family: var(--f-display); font-weight: var(--d-weight); font-size: 1.3rem; display: block; line-height: 1.1; margin-bottom: 6px; }
.coupe-info p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

/* ---------- 12. Domaine ---------- */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline .tl-fill { position: absolute; left: 50%; top: 0; width: 1px; height: 0; background: var(--accent); margin-left: 0; }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 140px); align-items: center; padding: clamp(40px, 5vw, 70px) 0; }
.tl-item::before { content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 15px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); transition: background .5s, transform .5s var(--ease); z-index: 1; }
.tl-item.is-in::before { background: var(--accent); transform: scale(1.3); }
.tl-item:nth-child(even) .tl-txt { order: 2; }
.tl-item:nth-child(odd) .tl-txt { text-align: right; }
.tl-txt .y { font-family: var(--f-display); font-size: clamp(3.6rem, 7vw, 6.6rem); line-height: .9; color: var(--accent); letter-spacing: var(--d-track); font-weight: var(--d-weight); }
.tl-txt h3 { margin: 12px 0 10px; }
.tl-txt p { color: var(--ink-soft); max-width: 42ch; display: inline-block; }
.tl-img { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; }
.tl-img img { width: 100%; height: 100%; object-fit: cover; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar { background: var(--bg); padding: clamp(28px, 3.4vw, 48px); transition: background .4s; }
.s-dark .pillar { background: var(--dark); }
.pillar:hover { background: var(--surface); }
.s-dark .pillar:hover { background: var(--dark-2); }
.pillar .ic { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); margin-bottom: 26px; }
.pillar .ic .i { width: 26px; height: 26px; }
.pillar h3 { margin-bottom: 12px; }
.pillar p { color: var(--ink-soft); margin: 0; font-size: .96rem; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.member figure { margin: 0 0 18px; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.member figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: filter .8s, transform 1.2s var(--ease); }
.member:hover figure img { filter: none; transform: scale(1.04); }
.member h3 { font-size: 1.7rem; }
.member .role { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 6px 0 10px; }
.member p { color: var(--ink-soft); font-size: .95rem; }
.gallery { columns: 3; column-gap: 14px; }
.gallery a { display: block; margin-bottom: 14px; border-radius: var(--radius-lg); overflow: hidden; break-inside: avoid; position: relative; }
.gallery img { width: 100%; transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }

/* ---------- 13. Savoir-faire ---------- */
.cal { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.cal__months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 26px; }
.cal__months button { height: 54px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: all .3s; position: relative; overflow: hidden; }
.cal__months button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.cal__months button.now::after { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: #6fdc8c; }
.cal__card { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--radius-lg); overflow: hidden; color: #fff; }
.cal__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s, transform 1.2s var(--ease); }
.cal__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .78)); }
.cal__card .ct { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 24px; }
.cal__card .ct h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.cal__rows > div { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cal__rows > div:first-child { border-top: 1px solid var(--line); }
.cal__rows .ic { width: 54px; height: 54px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); }
.cal__rows small { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.cal__rows p { margin: 4px 0 0; font-size: 1.08rem; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); }
.story__media { position: sticky; top: calc(var(--demo-h) + 90px); height: calc(100svh - var(--demo-h) - 130px); border-radius: var(--radius-lg); overflow: hidden; }
.story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.story__media img.on { opacity: 1; transform: none; }
.story__media .cnt { position: absolute; left: 22px; bottom: 20px; z-index: 1; color: #fff; font-family: var(--f-display); font-size: 1.1rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.story__steps { padding: 12vh 0; }
.step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; opacity: .22; transition: opacity .6s; }
.step.on { opacity: 1; }
.step .s { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.step h3 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); margin: 14px 0 18px; }
.step p { font-size: 1.12rem; color: var(--ink-soft); max-width: 40ch; }
.step .story-img-m { display: none; }
.film { position: relative; aspect-ratio: 21 / 9; border-radius: var(--radius-lg); overflow: hidden; display: grid; place-items: center; color: #fff; cursor: pointer; isolation: isolate; }
.film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.film:hover img { transform: scale(1.04); }
.film::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .38); z-index: -1; }
.play { width: clamp(84px, 9vw, 124px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); display: grid; place-items: center; backdrop-filter: blur(6px); transition: transform .5s var(--ease), background .4s; }
.film:hover .play { transform: scale(1.08); background: rgba(255, 255, 255, .15); }
.play svg { width: 30%; height: 30%; fill: #fff; stroke: none; margin-left: 6%; }
.film .lb { position: absolute; left: 28px; bottom: 24px; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; }

/* Lecteur « film » */
.player { position: fixed; inset: 0; z-index: 9600; background: #000; display: none; color: #fff; }
.player.open { display: block; }
.player .fr { position: absolute; inset: 0; }
.player .fr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.player .fr img.on { opacity: 1; animation: kb 7s linear both; }
.player .cap { position: absolute; left: 0; right: 0; bottom: 12vh; text-align: center; font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 3.4rem); text-shadow: 0 4px 30px rgba(0, 0, 0, .7); padding: 0 20px; transition: opacity .8s; }
.player .bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--gold); width: 0; }
.player .closebtn { position: absolute; top: 20px; right: 20px; background: rgba(255, 255, 255, .15); color: #fff; z-index: 2; }
.player .note { position: absolute; top: 24px; left: 24px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; font-family: 'Manrope', sans-serif; }

/* ---------- 14. Visites & réservation ---------- */
.booking { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.bk-main { padding: clamp(24px, 3.4vw, 46px); }
.bk-side { padding: clamp(24px, 3.4vw, 46px); background: var(--dark); color: var(--on-dark); --line: var(--line-dark); --ink-soft: var(--on-dark-soft); display: flex; flex-direction: column; }
.bk-steps { display: flex; gap: 8px; margin-bottom: 28px; }
.bk-steps span { flex: 1; height: 3px; background: var(--line); border-radius: 9px; position: relative; overflow: hidden; }
.bk-steps span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.bk-steps span.on::after { transform: none; }
.bk-pane { display: none; animation: fadeup .5s var(--ease); }
.bk-pane.on { display: block; }
.bk-pane h3 { margin-bottom: 18px; }
.xpick { display: grid; gap: 8px; }
.xpick button { display: grid; grid-template-columns: 1fr auto; text-align: left; gap: 4px 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); transition: all .25s; }
.xpick button:hover { border-color: var(--ink); }
.xpick button.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); box-shadow: inset 3px 0 0 var(--accent); }
.xpick b { font-weight: 600; }
.xpick small { color: var(--ink-soft); font-size: .8rem; }
.xpick .p { grid-row: span 2; align-self: center; font-family: var(--f-display); font-size: 1.4rem; }
.calhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.calhead b { font-family: var(--f-display); font-size: 1.5rem; font-weight: var(--d-weight); text-transform: capitalize; }
.calhead button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.calgrid .dn { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding: 6px 0; }
.calgrid button { aspect-ratio: 1; border-radius: var(--radius); font-size: .9rem; font-weight: 500; transition: all .2s; position: relative; }
.calgrid button:hover:not([disabled]) { background: var(--bg-alt); }
.calgrid button[disabled] { opacity: .28; cursor: not-allowed; text-decoration: line-through; }
.calgrid button.few::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #d98a1f; }
.calgrid button.on { background: var(--accent); color: var(--accent-ink); }
.calgrid button.today { box-shadow: inset 0 0 0 1px var(--ink); }
.slots { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.slots button { padding: 10px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: .86rem; font-weight: 600; }
[data-theme="contemporain"] .slots button { border-radius: 0; }
.slots button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.slots button[disabled] { opacity: .35; text-decoration: line-through; }
.people { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); }
.people small { display: block; color: var(--ink-soft); font-size: .8rem; }
.bk-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; }
.recap { list-style: none; padding: 0; margin: 20px 0; }
.recap li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.recap li span:first-child { color: var(--ink-soft); }
.recap li span:last-child { text-align: right; font-weight: 600; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 20px; }
.total b { font-family: var(--f-display); font-size: 2.6rem; font-weight: var(--d-weight); line-height: 1; }
.done { text-align: center; padding: 30px 0; }
.done .ok { width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; margin: 0 auto 22px; }
.done .ok svg { width: 40px; height: 40px; stroke-width: 2.2; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.infos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.infos > div { background: var(--bg); padding: 28px; }
.infos .i { width: 26px; height: 26px; color: var(--accent); margin-bottom: 16px; }
.infos h4 { margin-bottom: 8px; }
.infos p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--f-display); font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: var(--d-weight); letter-spacing: var(--d-track); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .5s var(--ease), background .3s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--ink); color: var(--bg); }
.faq .ans { padding: 0 0 24px; color: var(--ink-soft); max-width: 70ch; }

/* ---------- 15. Boutique ---------- */
.ship-banner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px var(--gut); background: var(--dark); color: var(--on-dark); font-size: .84rem; letter-spacing: .04em; text-align: center; flex-wrap: wrap; }
.ship-banner b { color: var(--gold); }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.pack { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s; }
.pack:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pack__media { position: relative; height: 270px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 26px; background: linear-gradient(180deg, var(--bg-alt), var(--surface)); overflow: hidden; }
.pack__media::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 30px; background: linear-gradient(180deg, #8a6a46, #6e5236); border-radius: 4px 4px 0 0; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .2); }
.pack__media .bottle { height: 220px; width: auto; margin: 0 -14px; position: relative; z-index: 1; filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .25)); transition: transform .8s var(--ease); }
.pack:hover .bottle:nth-child(1) { transform: rotate(-6deg) translateX(-6px); }
.pack:hover .bottle:nth-child(3) { transform: rotate(6deg) translateX(6px); }
.pack__media .bottle.sm { height: 190px; }
.pack .pb { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.pack h3 { font-size: 1.7rem; }
.pack p { color: var(--ink-soft); font-size: .93rem; margin: 10px 0 18px; }
.pack .pf { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pack .pp { font-family: var(--f-display); font-size: 1.8rem; line-height: 1; }
.pack .pp s { font-size: .9rem; color: var(--ink-soft); margin-left: 6px; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9350;
  width: min(460px, 100%);
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .6s var(--ease);
  box-shadow: -30px 0 80px -20px rgba(0, 0, 0, .45);
}
.drawer.open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.8rem; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 24px; overscroll-behavior: contain; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--surface); }
.freeship { font-size: .84rem; margin-bottom: 14px; }
.freeship .track { height: 4px; border-radius: 9px; background: var(--line); margin-top: 8px; overflow: hidden; }
.freeship .track i { display: block; height: 100%; background: var(--accent); transition: width .6s var(--ease); }
.citem { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.citem .th { height: 86px; display: grid; place-items: center; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.citem .th .bottle { height: 74px; width: auto; }
.citem b { display: block; font-family: var(--f-display); font-weight: var(--d-weight); font-size: 1.12rem; line-height: 1.15; }
.citem small { display: block; color: var(--ink-soft); font-size: .8rem; margin-top: 2px; }
.citem .qty { height: 36px; margin-top: 8px; }
.citem .qty button { width: 32px; }
.citem .qty input { width: 30px; font-size: .9rem; }
.citem .r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.citem .r b { font-family: var(--f-body); font-size: 1rem; font-weight: 700; }
.citem .rm { font-size: .74rem; color: var(--ink-soft); text-decoration: underline; }
.cempty { text-align: center; padding: 60px 10px; color: var(--ink-soft); }
.cempty .bottle { height: 160px; margin: 0 auto 20px; opacity: .5; }
.sum { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 6px; color: var(--ink-soft); }
.sum.t { font-size: 1.1rem; color: var(--ink); font-weight: 700; margin: 12px 0 16px; }
.promo { display: flex; gap: 8px; margin-bottom: 14px; }
.promo input { flex: 1; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 12px; background: var(--bg); font-size: .9rem; min-width: 0; }
.promo button { height: 42px; padding: 0 16px; border-radius: var(--radius); background: var(--bg-alt); font-size: .8rem; font-weight: 700; }

/* Modale générique */
.modal { position: fixed; inset: 0; z-index: 9450; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .45s, visibility .45s; }
.modal.open { visibility: visible; opacity: 1; }
.modal__bg { position: absolute; inset: 0; background: rgba(10, 8, 6, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__box { position: relative; width: min(760px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--bg); color: var(--ink); border-radius: calc(var(--radius-lg) + 6px); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .7); transform: translateY(24px); transition: transform .6s var(--ease); overscroll-behavior: contain; }
[data-theme="contemporain"] .modal__box { border-radius: 0; }
.modal.open .modal__box { transform: none; }
.modal__box > .closebtn { position: absolute; top: 14px; right: 14px; z-index: 3; }
.checkout { display: grid; grid-template-columns: 1.15fr .85fr; }
.checkout .co-main { padding: clamp(24px, 3.4vw, 40px); }
.checkout .co-side { padding: clamp(24px, 3.4vw, 40px); background: var(--bg-alt); }
.co-steps { display: flex; gap: 18px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 24px; color: var(--ink-soft); flex-wrap: wrap; }
.co-steps span.on { color: var(--ink); font-weight: 700; }
.opt { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; cursor: pointer; transition: all .25s; }
.opt:has(input:checked) { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.opt input { accent-color: var(--accent); width: 18px; height: 18px; }
.opt div { flex: 1; }
.opt small { display: block; color: var(--ink-soft); font-size: .8rem; }
.paybtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.paybtns button { height: 48px; border-radius: var(--radius); background: #000; color: #fff; font-weight: 600; font-size: .92rem; display: flex; align-items: center; justify-content: center; gap: 6px; }
.paybtns button.g { background: #fff; color: #222; border: 1px solid #ddd; }
.or { display: flex; align-items: center; gap: 12px; font-size: .74rem; color: var(--ink-soft); letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 16px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.demo-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: #fff7d6; color: #5c4a00; font-size: .8rem; line-height: 1.45; margin-bottom: 16px; font-family: 'Manrope', sans-serif; }
.demo-note b { color: #3d3100; }

/* Âge légal */
.agegate { position: fixed; inset: 0; z-index: 9550; display: none; place-items: center; background: var(--dark); color: var(--on-dark); text-align: center; padding: 20px; }
.agegate.open { display: grid; }
.agegate .mono { width: 90px; height: 90px; margin: 0 auto 26px; }
.agegate h2 { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 16px; }
.agegate p { color: var(--on-dark-soft); max-width: 44ch; margin: 0 auto 30px; }
.agegate .acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.agegate .fine { font-size: .74rem; margin-top: 30px; opacity: .6; }

/* Toast */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 9700; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { display: flex; gap: 12px; align-items: center; padding: 12px 18px; border-radius: 12px; background: #141210; color: #fff; font: 500 .88rem/1.45 'Manrope', sans-serif; box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .6); transform: translateY(20px); opacity: 0; transition: all .45s var(--ease); pointer-events: auto; }
.toast.show { transform: none; opacity: 1; }
.toast .i { color: #f5c518; }
.toast a, .toast button { color: #f5c518; font-weight: 700; margin-left: 4px; }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 9650; background: rgba(8, 6, 5, .94); display: none; place-items: center; padding: 50px 70px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 82svh; border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: fadeup .5s var(--ease); }
.lightbox .closebtn { position: absolute; top: 18px; right: 18px; background: rgba(255, 255, 255, .12); color: #fff; }
.lightbox .lnav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; }
.lightbox .lnav.p { left: 14px; }
.lightbox .lnav.n { right: 14px; }
.lightbox .lc { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: .8rem; letter-spacing: .14em; }

/* ---------- 16. Journal & article ---------- */
.jfilters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 50px; }
.article-hero { position: relative; height: 88svh; min-height: 560px; color: #fff; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.article-hero img { position: absolute; inset: 0; width: 100%; height: 110%; object-fit: cover; z-index: -2; }
.article-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .1) 40%, rgba(0, 0, 0, .78)); }
.article-hero .wrap { padding-bottom: clamp(40px, 7vw, 90px); }
.article-hero h1 { font-size: clamp(2.6rem, 6.4vw, 6rem); max-width: 18ch; margin-top: 18px; }
.article-hero .am { display: flex; gap: 20px; margin-top: 22px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; flex-wrap: wrap; }
.prose { font-size: 1.15rem; line-height: 1.8; }
.prose .chapo { font-family: var(--f-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.35; margin-bottom: 1.4em; letter-spacing: var(--d-track); }
.prose .chapo::first-letter { font-size: 3.4em; float: left; line-height: .85; margin: .06em .1em 0 0; color: var(--accent); }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 1.6em 0 .6em; }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 28px; border-left: 2px solid var(--accent); font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.3; font-style: var(--d-italic); }
.share { display: flex; gap: 8px; align-items: center; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-right: 8px; }

/* ---------- 17. Contact ---------- */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 90px); }
.ccard { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.ccard + .ccard { margin-top: 18px; }
.ccard h3 { margin-bottom: 16px; }
.cline { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; }
.cline .i { width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.cline small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--ink-soft); }
.hours tr.today td { font-weight: 700; color: var(--ink); }
.open-now { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 99px; margin-bottom: 14px; }
.open-now.y { background: rgba(70, 170, 100, .14); color: #2e7d46; }
.open-now.n { background: rgba(200, 60, 60, .12); color: #b23b3b; }
[data-theme="nuit"] .open-now.y { color: #7fd69a; }
[data-theme="nuit"] .open-now.n { color: #f08c8c; }
.open-now i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.cmap { height: 420px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.subjects { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }

/* ---------- 18. Pied de page ---------- */
.footer { background: var(--dark); color: var(--on-dark); --line: var(--line-dark); --ink-soft: var(--on-dark-soft); padding: clamp(70px, 9vw, 130px) 0 0; overflow: hidden; }
.footer .big { font-family: var(--f-display); font-size: clamp(3rem, 12.5vw, 13rem); line-height: .85; letter-spacing: var(--d-track); font-weight: var(--d-weight); white-space: nowrap; margin-bottom: clamp(50px, 7vw, 90px); }
.footer .big em { color: var(--gold); }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.fgrid h4 { font-family: var(--f-body); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 600; }
.fgrid ul { list-style: none; margin: 0; padding: 0; }
.fgrid li { margin-bottom: 9px; }
.fgrid a { color: var(--on-dark-soft); transition: color .3s; font-size: .95rem; }
.fgrid a:hover { color: var(--on-dark); }
.fgrid p { color: var(--on-dark-soft); font-size: .95rem; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: all .3s; }
.socials a:hover { background: var(--on-dark); color: var(--dark); }
.fbot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0 30px; margin-top: 60px; border-top: 1px solid var(--line-dark); font-size: .8rem; color: var(--on-dark-soft); }
.fbot .evin { letter-spacing: .04em; }
.fabweb { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px var(--gut); background: #f5c518; color: #141100; font: 600 .84rem/1.4 'Manrope', sans-serif; text-align: center; }
.fabweb a { text-decoration: underline; font-weight: 800; }
.fabweb .tag { background: #141100; color: #f5c518; font-size: .62rem; font-weight: 800; letter-spacing: .16em; padding: 4px 8px; border-radius: 4px; }

/* ---------- 19. Animations d'apparition ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(42px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* le masque s'applique à l'enfant : un élément entièrement masqué n'est jamais « visible » pour l'observateur */
.js [data-mask] > * { clip-path: inset(100% 0 0 0); transform: scale(1.22); transition: clip-path 1.4s var(--ease-io), transform 2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-mask].is-in > * { clip-path: inset(0 0 0 0); transform: none; }
.js .lines .ln { display: block; overflow: hidden; }
.js .lines .ln > span { display: block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.js .lines.is-in .ln > span { transform: none; }
.js .lines .ln:nth-child(2) > span { transition-delay: .08s; }
.js .lines .ln:nth-child(3) > span { transition-delay: .16s; }
.js .lines .ln:nth-child(4) > span { transition-delay: .24s; }
body.no-anim *, body.no-anim *::before, body.no-anim *::after { transition-duration: 0s !important; animation-duration: 0s !important; transition-delay: 0s !important; }
body.no-anim [data-reveal], body.no-anim [data-mask] > *, body.no-anim .lines .ln > span, body.no-anim .split-ch > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-mask] > *, .js .lines .ln > span, .split-ch > span { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .marquee__t, .hero__media .slide img { animation: none !important; }
}

/* Rideau de transition */
.curtain { position: fixed; inset: 0; z-index: 9800; background: var(--dark); color: var(--on-dark); display: grid; place-items: center; pointer-events: none; transform: translateY(100%); visibility: hidden; }
.curtain.cover, .curtain.leave, .curtain.instant { visibility: visible; }
.curtain .mono { width: 76px; height: 76px; opacity: 0; transform: scale(.9); transition: opacity .4s, transform .6s var(--ease); }
.curtain.cover { transform: none; transition: transform .55s var(--ease-io); pointer-events: auto; }
.curtain.cover .mono { opacity: 1; transform: none; }
.curtain.leave { transform: translateY(-100%); transition: transform .8s var(--ease-io) .1s; }
.curtain.leave .mono { opacity: 0; }
.curtain.instant { transform: none; transition: none; }
.curtain.instant .mono { opacity: 1; transform: none; transition: none; }

/* Curseur personnalisé */
.cursor { position: fixed; left: 0; top: 0; z-index: 9900; pointer-events: none; mix-blend-mode: normal; display: none; }
.has-cursor .cursor { display: block; }
.cursor .c-dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--accent); }
.cursor .c-ring { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--ink) 40%, transparent); transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s; display: grid; place-items: center; font: 700 .62rem/1 'Manrope', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: transparent; }
.cursor.hover .c-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.cursor.label .c-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cursor.label .c-dot { opacity: 0; }
.cursor.dark-zone .c-ring { border-color: rgba(255, 255, 255, .5); }

/* ---------- 20. Bouteilles ---------- */
.bottle { display: block; overflow: visible; }
.bottle .lbl-name { font-family: var(--f-display); font-weight: 600; }
.bottle .lbl-sm { font-family: var(--f-body); font-weight: 700; letter-spacing: .2em; }
.bottle .lbl-it { font-family: var(--f-display); font-style: italic; }
[data-theme="contemporain"] .bottle .lbl-it { font-style: normal; font-family: var(--f-body); font-weight: 500; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1240px) {
  .nav { gap: 16px; }
  .nav a { font-size: .72rem; letter-spacing: .08em; }
  .hd-cta { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .stat:nth-child(4) { padding-left: 0; border-left: 0; }
  .fgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1060px) {
  :root { --header-h: 72px; }
  .nav, .hd-tools .lang { display: none; }
  .burger { display: grid; }
  .hd-tools { margin-left: auto; }
  .brand .bn b { max-width: 52vw; }
  .split, .terroir-teaser, .intro-grid, .news, .cal, .pyr, .jfeat, .contact, .wine-hero, .booking { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .intro-img { max-width: 520px; margin-left: auto; }
  .g3, .packs, .team, .pillars { grid-template-columns: 1fr 1fr; }
  .g4, .infos { grid-template-columns: 1fr 1fr; }
  .hero__news { display: none; }
  .mapapp { grid-template-columns: 1fr; height: auto; }
  .mapapp__side { order: 2; border-right: 0; border-top: 1px solid var(--line); }
  .mapapp__map { height: 72svh; min-height: 460px; }
  .plist { max-height: none; }
  .pcard { left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; max-height: 64%; transform: translateY(30px); }
  .maplegend { display: none; }
  .mapnote { display: none; }
  .story { grid-template-columns: 1fr; }
  .story__media { display: none; }
  .story__steps { padding: 0; }
  .step { min-height: 0; opacity: 1; padding: 40px 0; border-bottom: 1px solid var(--line); }
  .step .story-img-m { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 22px; }
  .step .story-img-m img { width: 100%; height: 100%; object-fit: cover; }
  .wine-stage { height: 56svh; }
  .radar-wrap { grid-template-columns: 1fr; }
  .radar-wrap svg { max-width: 340px; margin: 0 auto; }
  .coupe-info { grid-template-columns: 1fr 1fr; }
  .checkout { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 24px; padding-left: 40px; }
  .timeline::before, .timeline .tl-fill { left: 12px; }
  .tl-item::before { left: 12px; top: 64px; }
  .tl-item:nth-child(even) .tl-txt { order: 0; }
  .tl-item:nth-child(odd) .tl-txt { text-align: left; }
  .welcome__card { grid-template-columns: 1fr; }
  .welcome__img { min-height: 200px; border-radius: 18px 18px 0 0; }
  .demobar .txt span { display: none; }
}
@media (max-width: 760px) {
  :root { --demo-h: 46px; --header-h: 64px; }
  body { font-size: 1rem; }
  .demobar { justify-content: space-between; gap: 8px; font-size: .72rem; }
  .demobar .txt { display: none; }
  .demobar .acts { flex: 1; justify-content: flex-end; }
  .demobar .lbl-long { display: none; }
  .hero__sub .acts { flex-direction: column; width: 100%; }
  .hero__sub .acts .btn { width: 100%; }
  .hero .eyebrow { font-size: .66rem; letter-spacing: .18em; }
  .demobar button, .demobar a.db { padding: 0 10px; height: 30px; }
  .brand .mono { width: 38px; height: 38px; }
  .brand .bn b { font-size: 1.22rem; max-width: 46vw; }
  .brand .bn span { font-size: .54rem; letter-spacing: .18em; }
  .hero { min-height: 560px; }
  .hero__sub { flex-direction: column; align-items: flex-start; }
  .hero__dots { display: none; }
  .scrollcue { display: none; }
  .g2, .g3, .g4, .packs, .team, .pillars, .infos { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 22px 0 0; border-left: 0; }
  .stat:nth-child(odd) { padding-right: 12px; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .intro-img .b { display: none; }
  .seasons { flex-direction: column; height: auto; }
  .season { flex: none; height: 110px; }
  .season.on { flex: none; height: 380px; }
  .hscroll__sticky { position: relative; height: auto; padding: 0; }
  .hscroll { height: auto !important; }
  .hscroll__track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 20px; }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .hpanel { flex-basis: 78vw; scroll-snap-align: start; }
  .hpanel.intro { flex-basis: 84vw; }
  .hscroll__bar { display: none; }
  .kv { grid-template-columns: 1fr 1fr; }
  .degust { grid-template-columns: 1fr; }
  .insta { grid-template-columns: repeat(3, 1fr); }
  .news form { flex-direction: column; }
  .gallery { columns: 2; column-gap: 8px; }
  .gallery a { margin-bottom: 8px; }
  .fgrid { grid-template-columns: 1fr; gap: 30px; }
  .footer .big { white-space: normal; font-size: clamp(3rem, 16vw, 6rem); }
  .filters { top: var(--demo-h); }
  .filters .right { margin-left: 0; width: 100%; }
  .filters .right select { flex: 1; }
  .filters .sep { display: none; }
  .wgrid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .wcard__body { flex-direction: column; gap: 6px; }
  .wcard__body h3 { font-size: 1.1rem; }
  .wcard__body .pr small { text-align: left; }
  .wcard__media .quick { transform: none; position: static; padding: 0 10px 10px; width: 100%; }
  .wcard__media { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
  .wcard__media .bottle { top: 6%; height: 66%; }
  .wcard__media .quick .btn { min-height: 40px; font-size: .68rem; padding: 0 10px; letter-spacing: .08em; }
  .wcard__media .badges { left: 8px; top: 8px; }
  .rail > * { flex-basis: 70vw; }
  .coupe-info { grid-template-columns: 1fr; }
  .cal__months { grid-template-columns: repeat(4, 1fr); }
  .row2 { grid-template-columns: 1fr; }
  .welcome form .row { grid-template-columns: 1fr; }
  .welcome__img { min-height: 150px; }
  .welcome__img .cap .big { font-size: 1.9rem; }
  .lightbox { padding: 20px 10px; }
  .lightbox .lnav { display: none; }
  .quote { min-height: 70svh; }
  .tour-tip { width: calc(100vw - 32px); }
  .jfeat h3 { font-size: 2rem; }
  .mapctl { top: 10px; right: 10px; }
  .seg button { padding: 7px 9px; font-size: .7rem; }
  .layers { display: none; }
  .layers.open { display: block; }
  .maptour { top: auto; bottom: 14px; }
}
@media (max-width: 420px) {
  .wgrid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: calc(clamp(2.8rem, 15vw, 5rem) * var(--title-scale, 1)); }
  .btn { padding: 0 20px; letter-spacing: .1em; }
}
@media (hover: none) {
  .wcard__media .quick { transform: none; }
}

/* ---------- 22. Compléments (carte, pied de page, réservation) ---------- */
.fnews { display: flex; gap: 6px; margin-top: 16px; }
.fnews input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: var(--btn-radius); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .06); color: var(--on-dark); }
.fnews input::placeholder { color: var(--on-dark-soft); }
.fnews button { width: 48px; height: 48px; border-radius: var(--btn-radius); background: var(--gold); color: #1a140d; display: grid; place-items: center; flex: none; transition: transform .3s var(--ease); }
.fnews button:hover { transform: translateX(3px); }
.credits { margin: 0; padding: 12px var(--gut) 16px; text-align: center; font-size: .72rem; color: var(--on-dark-soft); background: var(--dark); }
.fabweb > span:not(.tag) { max-width: 60ch; }

.our-parcel { filter: drop-shadow(0 0 5px rgba(255, 255, 255, .55)); transition: fill-opacity .4s, stroke .4s; }
.leaflet-interactive.our-parcel:hover { fill-opacity: .8; }
.clabel { background: none; border: 0; white-space: nowrap; pointer-events: none; transform: translate(-50%, -50%); text-align: center; }
.clabel.vil { color: #fff; font: 700 .72rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 0 8px rgba(0, 0, 0, .7); }
.clabel.wood { color: #e9f2df; font: italic 500 .95rem/1 var(--f-display); text-shadow: 0 1px 4px rgba(0, 0, 0, .9); }
.clabel.cl { color: #fff; font: 600 .74rem/1 var(--f-body); letter-spacing: .02em; text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 0 6px rgba(0, 0, 0, .7); }
.clabel.cl.G { color: #ffe3a0; }
.is-plan .clabel.vil, .is-plan .clabel.cl, .is-plan .clabel.wood { color: #2a241f; text-shadow: 0 0 3px #fff, 0 0 6px #fff; }
[data-theme="nuit"] .is-plan .clabel.vil, [data-theme="nuit"] .is-plan .clabel.cl { color: #fff; text-shadow: 0 1px 3px #000; }
.mm-current { position: absolute; right: 16px; top: 16px; z-index: 500; padding: 12px 16px; border-radius: var(--radius-lg); background: rgba(15, 12, 10, .72); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(-8px); transition: opacity .6s, transform .6s var(--ease); max-width: 70%; }
.mm-current.show { opacity: 1; transform: none; }
.mm-current small { display: block; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.mm-current b { display: block; font-family: var(--f-display); font-weight: var(--d-weight); font-size: 1.35rem; line-height: 1.1; margin-top: 3px; }
.maphint { position: absolute; left: 50%; top: 50%; z-index: 700; transform: translate(-50%, -50%); padding: 12px 18px; border-radius: 10px; background: rgba(15, 12, 10, .82); color: #fff; font-size: .86rem; pointer-events: none; opacity: 0; transition: opacity .3s; }
.maphint.show { opacity: 1; }
.pulse-pin { width: 26px; height: 26px; border-radius: 50%; background: #f5c518; border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(245, 197, 24, .7); animation: pin 1.8s infinite; }
@keyframes pin { 70% { box-shadow: 0 0 0 18px rgba(245, 197, 24, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0); } }
.cpop .leaflet-popup-content-wrapper { border-radius: 10px; background: var(--surface); color: var(--ink); box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .5); }
.cpop .leaflet-popup-content { margin: 12px 16px; font-family: var(--f-body); line-height: 1.45; }
.cpop .leaflet-popup-tip { background: var(--surface); }
.layers-btn { display: none !important; width: 44px; height: 44px; }
.mapapp__map .leaflet-control-zoom { margin: 0 14px 64px 0 !important; }
.leaflet-control-attribution a { color: #333 !important; }
#map { background: #2a2722; }

.people .qty span { min-width: 38px; text-align: center; font-weight: 700; font-size: 1.05rem; }
.people .qty button { font-size: 1.2rem; }
.calhead button[disabled] { opacity: .3; pointer-events: none; }
.coupe-info { grid-template-columns: repeat(3, 1fr); }
.coupe { color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 1060px) {
  .coupe-info { grid-template-columns: 1fr 1fr; }
  .layers-btn { display: grid !important; }
  .layers { display: none; }
  .layers.open { display: block; }
  .mapapp__map .leaflet-control-zoom { margin: 0 10px 10px 0 !important; }
}
@media (max-width: 760px) {
  .coupe { overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); scrollbar-width: none; }
  .coupe svg { min-width: 760px; }
  .coupe-info { grid-template-columns: 1fr; }
  .mm-current { right: 10px; top: 10px; padding: 8px 12px; }
  .mm-current b { font-size: 1.05rem; }
  .minimap .mm-label { left: 10px; bottom: 10px; }
  .legend-i { font-size: .66rem; padding: 4px 8px; }
  .fabweb { font-size: .78rem; }
}

/* Plan IGN : teinte adoucie, inversée en ambiance Nuit */
.tiles-plan { filter: grayscale(.55) sepia(.12) contrast(.96) brightness(1.03); }
[data-theme="nuit"] .tiles-plan { filter: invert(1) hue-rotate(180deg) grayscale(.5) brightness(.82) contrast(.92); }

.z-lo .clabel.wood { display: none; }
.eyebrow > span { display: inline; }
.mmenu nav a.on span { color: var(--gold); font-style: var(--d-italic); }

/* =========================================================================
   23. Identité « Héritage » : tuiles vernissées, écriture du vigneron,
       météo de la colline, lettre, polaroïds, recette, millésimes, glossaire
   ========================================================================= */
:root { --tiles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='24' viewBox='0 0 64 24'%3E%3Crect width='64' height='24' fill='%23efe4cc'/%3E%3Cg stroke='%23efe4cc' stroke-width='1.1'%3E%3Cpolygon points='0,-6 8,-12 16,-6 8,0' fill='%232c5a3b'/%3E%3Cpolygon points='16,-6 24,-12 32,-6 24,0' fill='%23a3402a'/%3E%3Cpolygon points='32,-6 40,-12 48,-6 40,0' fill='%231d1612'/%3E%3Cpolygon points='48,-6 56,-12 64,-6 56,0' fill='%23cf9a2b'/%3E%3Cpolygon points='0,18 8,12 16,18 8,24' fill='%232c5a3b'/%3E%3Cpolygon points='16,18 24,12 32,18 24,24' fill='%23a3402a'/%3E%3Cpolygon points='32,18 40,12 48,18 40,24' fill='%231d1612'/%3E%3Cpolygon points='48,18 56,12 64,18 56,24' fill='%23cf9a2b'/%3E%3Cpolygon points='-8,6 0,0 8,6 0,12' fill='%23cf9a2b'/%3E%3Cpolygon points='8,6 16,0 24,6 16,12' fill='%232c5a3b'/%3E%3Cpolygon points='24,6 32,0 40,6 32,12' fill='%23a3402a'/%3E%3Cpolygon points='40,6 48,0 56,6 48,12' fill='%231d1612'/%3E%3Cpolygon points='56,6 64,0 72,6 64,12' fill='%23cf9a2b'/%3E%3Cpolygon points='-8,30 0,24 8,30 0,36' fill='%23cf9a2b'/%3E%3Cpolygon points='8,30 16,24 24,30 16,36' fill='%232c5a3b'/%3E%3Cpolygon points='24,30 32,24 40,30 32,36' fill='%23a3402a'/%3E%3Cpolygon points='40,30 48,24 56,30 48,36' fill='%231d1612'/%3E%3Cpolygon points='56,30 64,24 72,30 64,36' fill='%23cf9a2b'/%3E%3C/g%3E%3C/svg%3E"); }
.tiles { display: block; height: var(--th, 18px); background: var(--tiles) repeat-x 0 0 / auto 100%; }
.tile-rule { display: block; width: 168px; height: 12px; background: var(--tiles) repeat-x 0 0 / auto 100%; border-radius: 1px; margin: 0 0 26px; }
.center .tile-rule, .tile-rule.c { margin-left: auto; margin-right: auto; }

/* Écriture du vigneron */
.hand { font-family: var(--f-hand); font-weight: 500; color: var(--hand); font-size: clamp(1.55rem, 2.2vw, 2.05rem); line-height: 1.05; letter-spacing: 0; }
.s-dark .hand { color: #f0c987; }
.note-hand { position: absolute; z-index: 4; display: flex; align-items: flex-start; gap: 4px; transform: rotate(var(--r, -4deg)); pointer-events: none; width: max-content; max-width: 260px; }
.note-hand svg { width: 58px; height: 46px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 14px; }
.note-hand.flip { flex-direction: row-reverse; }
.note-hand.flip svg { transform: scaleX(-1); }
.js .note-hand { opacity: 0; transform: rotate(var(--r, -4deg)) translateY(10px); transition: opacity .9s var(--ease) .5s, transform .9s var(--ease) .5s; }
.js .is-in .note-hand, .js .note-hand.is-in { opacity: 1; transform: rotate(var(--r, -4deg)); }

/* Tampon tournant */
.stamp { position: absolute; width: 138px; height: 138px; z-index: 5; color: #fff; }
.stamp svg.ring { width: 100%; height: 100%; animation: spin 30s linear infinite; }
.stamp .mid { position: absolute; inset: 30%; display: grid; place-items: center; }
.stamp .mid svg { width: 100%; height: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Héros */
.hero::after {
  background:
    linear-gradient(180deg, rgba(24, 9, 6, .5) 0%, rgba(24, 9, 6, 0) 26%, rgba(24, 9, 6, 0) 46%, rgba(24, 9, 6, .72) 100%),
    linear-gradient(90deg, rgba(24, 9, 6, .3), transparent 55%) !important;
}
.hero h1 { max-width: none; }
.hero h1 .pre { display: block; font-size: .3em; font-style: italic; font-variation-settings: var(--d-var-it); letter-spacing: -.01em; margin: 0 0 .1em .04em; }
.hero h1 .nm { display: block; }
.hero .hand { display: block; color: #f6d79b; margin-top: 14px; text-shadow: 0 2px 20px rgba(0, 0, 0, .45); font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.hero .tiles { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; --th: 16px; }
.hero__in { padding-bottom: clamp(50px, 9vh, 100px); }
.hero .stamp { right: clamp(20px, 6vw, 110px); bottom: -2px; transform: translateY(50%); }
.live {
  position: absolute;
  right: var(--gut);
  top: calc(var(--header-h) + 28px);
  width: 310px;
  padding: 18px 20px 16px;
  border-radius: 16px;
  background: rgba(30, 12, 9, .36);
  border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  color: #fff;
  font-size: .86rem;
}
.live small { display: flex; justify-content: space-between; gap: 8px; font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.live small .live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7fe39a; margin-right: 6px; animation: live 2s infinite; vertical-align: 1px; }
.live .row { display: flex; align-items: center; gap: 14px; margin: 12px 0 4px; }
.live .t { font-family: var(--f-display); font-variation-settings: var(--d-var); font-weight: var(--d-weight); font-size: 2.8rem; line-height: .9; letter-spacing: -.03em; }
.live .wx { width: 40px; height: 40px; flex: none; }
.live .wx svg { width: 100%; height: 100%; fill: none; stroke: #f6d79b; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.live .desc { line-height: 1.3; }
.live .desc span { display: block; opacity: .75; font-size: .76rem; margin-top: 2px; }
.live .task { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .2); line-height: 1.45; }
.live .task b { display: block; font-family: var(--f-hand); font-weight: 500; font-size: 1.4rem; color: #f6d79b; line-height: 1.1; margin-bottom: 2px; }
.live .news { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .2); }
.live .news img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex: none; }
.live .news b { font-weight: 600; font-size: .82rem; line-height: 1.3; }
.live .news:hover b { text-decoration: underline; }

/* Numéros de chapitre */
.chap { font-family: var(--f-display); font-style: italic; font-variation-settings: var(--d-var-it); font-weight: var(--d-weight); font-size: 1.25rem; letter-spacing: 0; text-transform: none; color: var(--gold); line-height: 1; }
.eyebrow .chap + span { margin-left: -2px; }

/* Lettre de la vigneronne */
.letter { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 8vw, 130px); align-items: center; }
.letter__photo { position: relative; padding: 0 8% 10% 0; }
.letter__photo .ph { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(-1.6deg); }
.letter__photo .ph img, .letter__photo .ph2 img { width: 100%; height: 100%; object-fit: cover; }
.letter__photo .ph2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 10px solid #fffaf0; box-shadow: var(--shadow); transform: rotate(4deg); overflow: hidden; }
.tape { position: absolute; z-index: 2; width: 110px; height: 30px; background: rgba(226, 205, 160, .78); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); transform: rotate(-7deg); }
.letter__txt .big { font-family: var(--f-display); font-variation-settings: var(--d-var); font-weight: var(--d-weight); font-size: clamp(1.45rem, 2.3vw, 2.05rem); line-height: 1.32; letter-spacing: -.012em; margin: 22px 0 22px; }
.letter__txt .big::first-letter { float: left; font-size: 3.3em; line-height: .78; margin: .06em .1em 0 0; color: var(--accent); }
.letter__txt p { color: var(--ink-soft); }
.letter__sign { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.letter__sign .sig { margin: 0; }
.letter__sign small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* Polaroïds */
.polas { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.4vw, 34px); padding: 10px 0 30px; }
.pola { margin: 0; background: #fffaf1; padding: 12px 12px 16px; box-shadow: 0 22px 44px -20px rgba(40, 18, 10, .5); transform: rotate(var(--r, 0deg)); transition: transform .6s var(--ease), box-shadow .6s; position: relative; }
.pola:nth-child(odd) { margin-top: 34px; }
.pola:hover { transform: rotate(0deg) scale(1.04); z-index: 2; box-shadow: 0 30px 60px -20px rgba(40, 18, 10, .55); }
.pola img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pola figcaption { font-family: var(--f-hand); font-size: 1.55rem; color: #3d2b21; text-align: center; margin-top: 12px; line-height: 1.05; }
.pola .tape { top: -14px; left: 50%; margin-left: -55px; }

/* Recette de famille */
.recipe { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.recipe figure { margin: 0; position: relative; min-height: 360px; }
.recipe figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.recipe figure .hand { position: absolute; left: 22px; bottom: 18px; color: #fff4dc; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); font-size: 2rem; transform: rotate(-3deg); }
.recipe .rb { padding: clamp(26px, 4vw, 56px); }
.recipe h3 { font-size: clamp(2rem, 3.4vw, 3rem); margin: 12px 0 8px; }
.recipe .meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .8rem; color: var(--ink-soft); margin-bottom: 22px; }
.recipe .meta span { display: inline-flex; gap: 6px; align-items: center; }
.recipe .cols { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; }
.recipe h4 { font-family: var(--f-body); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.recipe ul { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.recipe ul li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.recipe ul li b { font-weight: 600; white-space: nowrap; }
.recipe ol { margin: 0; padding: 0; list-style: none; counter-reset: st; font-size: .92rem; }
.recipe ol li { counter-increment: st; position: relative; padding: 0 0 12px 38px; color: var(--ink-soft); }
.recipe ol li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font: 600 .78rem/24px var(--f-body); text-align: center; }
.recipe .tip { margin-top: 10px; transform: rotate(-1.5deg); }

/* Carnet des millésimes */
.vint__bars { display: flex; gap: clamp(4px, .8vw, 10px); align-items: flex-end; height: 190px; border-bottom: 1px solid var(--line); padding: 0 2px; }
.vint__bars button { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 10px; min-width: 0; }
.vint__bars i { display: block; width: 100%; max-width: 54px; height: calc(var(--n) * 17% + 6%); border-radius: 6px 6px 0 0; background: color-mix(in srgb, var(--accent) 22%, transparent); transition: background .35s, transform .5s var(--ease); transform-origin: bottom; }
.vint__bars i.cuve { background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--gold) 50%, transparent) 0 5px, transparent 5px 10px); }
.vint__bars button:hover i { background: color-mix(in srgb, var(--accent) 55%, transparent); }
.vint__bars button.on i { background: var(--accent); }
.vint__bars button.on i.cuve { background: repeating-linear-gradient(45deg, var(--gold) 0 5px, transparent 5px 10px); }
.vint__years { display: flex; gap: clamp(4px, .8vw, 10px); padding: 10px 2px 0; }
.vint__years span { flex: 1; text-align: center; font-family: var(--f-display); font-variation-settings: var(--d-var); font-size: clamp(.8rem, 1.2vw, 1.05rem); color: var(--ink-soft); min-width: 0; }
.vint__years span.on { color: var(--ink); font-weight: 600; }
.vint__card { display: grid; grid-template-columns: auto 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; margin-top: 40px; padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.vint__card .yr { font-family: var(--f-display); font-variation-settings: var(--d-var); font-weight: var(--d-weight); font-size: clamp(4rem, 8vw, 7rem); line-height: .85; color: var(--accent); letter-spacing: -.04em; }
.vint__card h3 { margin: 0 0 10px; }
.vint__card h4 { font-family: var(--f-body); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 8px; }
.vint__card p { margin: 0 0 16px; }
.losanges { display: inline-flex; gap: 4px; vertical-align: middle; }
.losanges i { width: 11px; height: 11px; transform: rotate(45deg); border: 1px solid var(--gold); display: inline-block; }
.losanges i.f { background: var(--gold); }
.losanges i.h { background: linear-gradient(135deg, var(--gold) 50%, transparent 50%); }
.vint__card .etat { display: inline-block; margin-top: 4px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--olive, #3b5236) 14%, transparent); color: var(--olive, #3b5236); font-size: .74rem; font-weight: 700; letter-spacing: .06em; }
[data-theme="nuit"] .vint__card .etat { color: var(--gold); background: rgba(198, 161, 91, .12); }
.vint__card .dispo { margin-top: 6px; font-size: .86rem; }
.vint__card .dispo a { text-decoration: underline; text-underline-offset: 3px; }

/* Glossaire bourguignon */
.mot { border-bottom: 1px dotted currentColor; cursor: help; text-decoration: none; }
.gloss-tip { position: fixed; z-index: 9600; width: min(300px, calc(100vw - 32px)); padding: 14px 16px 15px; border-radius: 12px; background: var(--dark); color: var(--on-dark); font: 400 .85rem/1.5 var(--f-body); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .3s var(--ease); pointer-events: none; }
.gloss-tip.show { opacity: 1; transform: none; }
.gloss-tip b { display: block; font-family: var(--f-display); font-variation-settings: var(--d-var); font-weight: var(--d-weight); font-size: 1.25rem; color: var(--gold); margin-bottom: 4px; }
.gloss-tip .tiles { --th: 6px; margin: -14px -16px 12px; border-radius: 12px 12px 0 0; }

/* Cartes de vin teintées selon le niveau */
.wcard[data-lvl="G"] { --tint: color-mix(in srgb, var(--gold) 22%, var(--surface)); }
.wcard[data-lvl="P"] { --tint: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.wcard[data-lvl="V"] { --tint: color-mix(in srgb, var(--olive, #3b5236) 11%, var(--surface)); }
.wcard__media { background: radial-gradient(closest-side, var(--halo) 0%, transparent 100%) center / 78% 58% no-repeat, var(--tint, var(--surface)); }
.wcard[data-lvl="G"] .wcard__media::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 9px; background: var(--tiles) repeat-x 0 0 / auto 100%; z-index: 1; }
.wcard .hand-tag { position: absolute; right: 14px; top: 12px; z-index: 2; font-family: var(--f-hand); font-size: 1.35rem; color: var(--hand); transform: rotate(5deg); pointer-events: none; }

/* Pied de page */
.footer { position: relative; padding-top: calc(clamp(70px, 9vw, 130px) + 18px); }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 18px; background: var(--tiles) repeat-x 0 0 / auto 100%; }
.footer .big { font-variation-settings: var(--d-var); }
.footer .big .pre { font-style: italic; font-size: .42em; font-variation-settings: var(--d-var-it); color: var(--gold); display: block; margin-bottom: .1em; }

/* Héros de page : image + version mobile */
.phero::after { background: linear-gradient(180deg, rgba(24, 9, 6, .5) 0%, rgba(24, 9, 6, .05) 40%, rgba(24, 9, 6, .66) 100%) !important; }
.phero picture, .phero__media picture { display: contents; }
.phero .tiles, .article-hero .tiles { position: absolute; left: 0; right: 0; bottom: 0; --th: 12px; z-index: 2; }
.phero .hand { display: block; color: #f6d79b; margin-top: 10px; text-shadow: 0 2px 16px rgba(0, 0, 0, .45); }

/* Unités (ha / ouvrées) */
.unit-tog { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: .72rem; font-weight: 700; }
.unit-tog button { padding: 5px 10px; border-radius: 999px; }
.unit-tog button.on { background: var(--ink); color: var(--bg); }

/* Citation : écriture */
.quote .hand { display: block; color: #f6d79b; margin-top: 20px; }
.quote blockquote { font-variation-settings: var(--d-var); }

/* Crédits */
.credits button { text-decoration: underline; color: inherit; font: inherit; }
.credits-list { list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.credits-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.credits-list a { text-decoration: underline; }

@media (max-width: 1060px) {
  .letter, .recipe { grid-template-columns: 1fr; }
  .recipe figure { min-height: 280px; }
  .polas { grid-template-columns: 1fr 1fr; }
  .vint__card { grid-template-columns: 1fr; }
  .live { display: none; }
  .hero .stamp { width: 110px; height: 110px; }
}
@media (max-width: 760px) {
  .recipe .cols { grid-template-columns: 1fr; }
  .polas { gap: 14px; }
  .pola:nth-child(odd) { margin-top: 18px; }
  .pola figcaption { font-size: 1.25rem; }
  .note-hand { display: none; }
  .hero .stamp { width: 92px; height: 92px; right: 16px; }
  .vint__bars { height: 140px; }
  .vint__years span { font-size: .7rem; }
  .letter__photo { padding: 0 6% 12% 0; }
}

.fonts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fonts button { padding: 10px 6px 8px; border: 1.5px solid rgba(0, 0, 0, .1); border-radius: 10px; background: #fff; text-align: center; color: #1c1814; transition: border-color .25s; }
.fonts button:hover { border-color: rgba(0, 0, 0, .35); }
.fonts button.on { border-color: #1c1814; box-shadow: 0 0 0 1px #1c1814; }
.fonts b { display: block; font-size: 1.7rem; line-height: 1.1; font-weight: 400; }
.fonts span { display: block; font: 600 .68rem/1.2 'Manrope', sans-serif; color: #7d756d; margin-top: 2px; }

.hero__dots { display: none; }
.wine-stage .note-hand { font-size: 1.2em; }
.article-hero { position: relative; }
.hero__sub { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 22px; }
.hero__sub p { max-width: 40ch; }
.hero .tiles { --th: 20px; }
.footer::before { height: 22px; }
.recipe .tip { display: block; }
.hero .stamp { transform: none; bottom: 44px; right: clamp(20px, 5vw, 80px); }
@media (max-width: 760px) { .hero .stamp { bottom: auto; top: calc(var(--header-h) + 24px); right: 16px; } }

/* =========================================================================
   24. Version « sérieuse » : Caslon, frises de vigne, bouteilles réelles,
       citation, pyramide au trait. Plus d'écriture manuscrite ni de tuiles.
   ========================================================================= */
[data-font="caslon"] { --f-display: 'Libre Caslon Display', Georgia, serif; --f-italic: 'Libre Caslon Text', Georgia, serif; --d-weight: 400; --d-track: -.008em; --d-lh: 1.02; --d-var: normal; --d-var-it: normal; }
[data-font="fraunces"] { --f-display: 'Fraunces', Georgia, serif; --f-italic: 'Fraunces', Georgia, serif; --d-weight: 320; --d-track: -.02em; --d-lh: .96; --d-var: 'SOFT' 0, 'WONK' 0; --d-var-it: 'SOFT' 0, 'WONK' 0; }
[data-font="playfair"] { --f-display: 'Playfair Display', Georgia, serif; --f-italic: 'Playfair Display', Georgia, serif; --d-weight: 400; --d-track: -.015em; --d-lh: 1; --d-var: normal; --d-var-it: normal; }
[data-font="bodoni"] { --f-italic: 'Bodoni Moda', Didot, Georgia, serif; }
[data-font="instrument"] { --f-italic: 'Instrument Serif', Georgia, serif; }
[data-font="inter"] { --f-italic: 'Inter Tight', Arial, sans-serif; }
h1 em, h2 em, h3 em, .manifesto em { font-family: var(--f-italic, var(--f-display)); }

/* Plus de tuiles ni d'écriture manuscrite */
.tiles, .tile-rule, .note-hand, .tape, .wcard .hand-tag, .gloss-tip .tiles, .recipe figure .hand { display: none !important; }
.wcard[data-lvl="G"] .wcard__media::before, .footer::before { display: none; }
.hand { font-family: var(--f-italic, var(--f-display)); font-style: italic; font-weight: 400; font-variation-settings: var(--d-var-it); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.4; color: var(--ink-soft); letter-spacing: 0; }
.hero .hand { color: rgba(255, 248, 235, .92); font-size: clamp(1.2rem, 1.8vw, 1.6rem); margin-top: 16px; text-shadow: 0 2px 16px rgba(0, 0, 0, .4); }
.phero .hand { color: rgba(255, 248, 235, .9); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.s-dark .hand { color: var(--on-dark-soft); }
.quote .hand { color: rgba(255, 248, 235, .85); }
.live .task b { font-family: var(--f-body); font-weight: 700; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: #f0d9a8; margin-bottom: 4px; }
.recipe .tip { font-size: 1.05rem; color: var(--accent); margin-top: 6px; transform: none; }

/* Frises de vigne dessinées */
.vine { position: relative; z-index: 6; height: 170px; margin: -27px 0 -128px; color: var(--gold); pointer-events: none; overflow: hidden; }
.vine svg { display: block; width: 100%; height: 100%; }
.vine .st, .vine .pt, .vine .vr, .orn .st { fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.vine .lb, .orn .lb { fill: currentColor; fill-opacity: .07; stroke: currentColor; stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.vine .vn, .orn .vn { fill: none; stroke: currentColor; stroke-width: .6; opacity: .7; vector-effect: non-scaling-stroke; }
.vine .gr { fill: currentColor; fill-opacity: .08; stroke: currentColor; stroke-width: .8; vector-effect: non-scaling-stroke; }
.vine .lf { transform-box: fill-box; transform-origin: 50% 0; animation: sway var(--du, 8s) ease-in-out var(--dl, 0s) infinite alternate; }
.vine .fall { transform-box: fill-box; transform-origin: 50% 50%; animation: fall var(--du, 13s) linear var(--dl, 0s) infinite; }
@keyframes sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes fall { 0% { transform: translate(0, -22px) rotate(0deg); opacity: 0; } 12% { opacity: .9; } 85% { opacity: .7; } 100% { transform: translate(34px, 60px) rotate(70deg); opacity: 0; } }
.vine.light { color: rgba(240, 217, 168, .75); }
.footer .vine { margin: 0 0 30px; height: 150px; }
.orn { display: block; width: 120px; height: 30px; color: var(--gold); }
[data-orn] { display: block; margin: 0 0 22px; }
.center [data-orn] .orn { margin: 0 auto; }
body.no-anim .vine .lf, body.no-anim .vine .fall { animation: none; }
@media (prefers-reduced-motion: reduce) { .vine .lf, .vine .fall { animation: none; } }

/* Mise en page éditoriale (au lieu des polaroïds) */
.pola { transform: none !important; background: none; padding: 0; box-shadow: none; margin: 0 !important; }
.pola:hover { transform: none !important; box-shadow: none; }
.pola img { aspect-ratio: 4 / 5; border-radius: var(--radius); transition: transform 1.2s var(--ease), filter .6s; }
.pola { overflow: visible; }
.pola:hover img { filter: brightness(1.05); }
.pola figcaption { font-family: var(--f-italic, var(--f-display)); font-style: italic; font-size: 1rem; color: var(--ink-soft); text-align: left; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); line-height: 1.35; }
.pola figcaption b { display: block; font-family: var(--f-body); font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.letter__photo .ph, .letter__photo .ph2 { transform: none; }
.letter__photo .ph2 { border: 8px solid var(--bg); box-shadow: 0 24px 50px -24px rgba(42, 13, 19, .45); }
.letter__photo figcaption { position: absolute; left: 0; bottom: -2px; max-width: 46%; font-family: var(--f-italic, var(--f-display)); font-style: italic; font-size: .92rem; color: var(--ink-soft); line-height: 1.35; padding-top: 10px; border-top: 1px solid var(--line); }

/* Citation : sobre, alignée à gauche */
.quote { min-height: 74svh; place-items: center start; text-align: left; }
.quote::after { background: linear-gradient(90deg, rgba(20, 8, 6, .82) 0%, rgba(20, 8, 6, .55) 42%, rgba(20, 8, 6, .08) 80%) !important; }
.quote .wrap { width: 100%; }
.quote .q-in { max-width: 600px; }
.quote blockquote { font-size: clamp(1.7rem, 2.9vw, 2.7rem); line-height: 1.22; max-width: none; letter-spacing: -.005em; }
.quote blockquote::before { display: none; }
.quote .orn { color: #e4c58c; margin-bottom: 26px; }
.quote cite { margin-top: 26px; display: flex; flex-direction: column; gap: 4px; letter-spacing: .2em; }
.quote cite b { font-family: var(--f-italic, var(--f-display)); font-style: italic; font-weight: 400; font-size: 1.25rem; letter-spacing: 0; text-transform: none; }
.quote .btn { margin-top: 34px; }

/* Pyramide des appellations, au trait */
.pyr2 svg { width: 100%; max-width: 620px; height: auto; display: block; margin: 0 auto; overflow: visible; }
.pyr2 .pz { fill: var(--accent); fill-opacity: 0; stroke: var(--ink); stroke-width: 1; cursor: pointer; transition: fill-opacity .35s; }
.pyr2 .pz:hover { fill-opacity: .06; }
.pyr2 .pz.on { fill-opacity: .14; }
.pyr2 .ld { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.pyr2 .pc { font-family: var(--f-display); font-size: 38px; fill: var(--ink); }
.pyr2 .pn { font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .18em; fill: var(--ink-soft); }
.pyr2 .grp { cursor: pointer; }
.pyr2 .grp.on .pc { fill: var(--accent); }
.pyr2 .grp.on .pn { fill: var(--accent); }
.pyr h2 { margin-bottom: 36px !important; }

/* Titres : jamais de jambages coupés */
.js .lines .ln { padding-bottom: .16em; margin-bottom: -.16em; }

/* Bouteilles réelles */
img.bottle { object-fit: contain; }
.wcard__media img.bottle { filter: drop-shadow(0 22px 18px rgba(30, 15, 8, .28)); }
.wine-stage img.bottle { filter: drop-shadow(0 46px 36px rgba(30, 15, 8, .3)); }
.pack__media img.bottle { filter: drop-shadow(0 16px 12px rgba(30, 15, 8, .3)); }
.citem .th img.bottle { height: 74px; width: auto; }

@media (max-width: 760px) {
  .vine { height: 120px; margin: -20px 0 -90px; }
  .letter__photo figcaption { position: static; max-width: none; margin-top: 16px; }
  .quote .q-in { max-width: none; }
  .quote::after { background: linear-gradient(180deg, rgba(20, 8, 6, .55), rgba(20, 8, 6, .82)) !important; }
}
.pyr2 .grp.on .pz { fill-opacity: .14; }
@media (max-width: 760px) { .letter__photo .ph2 { display: none; } .letter__photo { padding: 0; } }
.vine.light { color: rgba(226, 192, 128, .78); }

/* =========================================================================
   25. V4 : plus de frise dessinée ni de curseur personnalisé ;
       tableau typographique des appellations (au lieu de la pyramide).
   ========================================================================= */
.vine, .cursor { display: none !important; }
[data-orn] { width: 56px; height: 1px; background: currentColor; opacity: .55; margin: 0 0 28px; }
.quote [data-orn] { color: #e4c58c; }

.appel__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(30px, 4vw, 54px); }
.appel__head p { max-width: 460px; margin: 0; }
.appel__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.appel__row { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 44px); align-items: baseline; padding: clamp(22px, 2.6vw, 32px) 0; border-bottom: 1px solid var(--line); }
.appel__row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: max(var(--w), 6px); background: var(--accent); }
.appel__pc { font-family: var(--f-display); font-weight: var(--d-weight); font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: .9; letter-spacing: -.02em; color: var(--ink); }
.appel__pc small { font-size: .42em; margin-left: 4px; color: var(--ink-soft); }
.appel__txt h3 { margin: 0 0 8px; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.appel__txt p { margin: 0; color: var(--ink-soft); line-height: 1.55; }
.appel__vins { display: flex; flex-wrap: wrap; gap: 6px 18px; align-content: baseline; }
.appel__vins small { flex-basis: 100%; font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.appel__vins a { font-family: var(--f-italic, var(--f-display)); font-style: italic; font-size: 1.05rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.appel__vins a:hover { color: var(--accent); border-color: currentColor; }
.appel__note { margin-top: 18px; }
@media (max-width: 860px) {
  .appel__head { grid-template-columns: 1fr; align-items: start; }
  .appel__row { grid-template-columns: 92px minmax(0, 1fr); }
  .appel__vins { grid-column: 2; }
}
.center [data-orn] { margin-left: auto; margin-right: auto; }

/* =========================================================================
   26. V5 : bandeaux lisibles (fondu par la gauche), accords mets & vins.
       La version mobile est dans mobile.css.
   ========================================================================= */
/* Bandeaux de haut de page : un fondu lie-de-vin par la gauche, sous le texte */
.phero::after, .article-hero::after {
  background:
    linear-gradient(90deg, rgba(22, 8, 7, .94) 0%, rgba(22, 8, 7, .88) 24%, rgba(22, 8, 7, .74) 40%, rgba(22, 8, 7, .46) 55%, rgba(22, 8, 7, .16) 70%, rgba(22, 8, 7, 0) 86%),
    linear-gradient(180deg, rgba(22, 8, 7, .55) 0%, rgba(22, 8, 7, 0) 24%, rgba(22, 8, 7, 0) 70%, rgba(22, 8, 7, .45) 100%) !important;
}
.hero::after {
  background:
    linear-gradient(180deg, rgba(22, 8, 7, .5) 0%, rgba(22, 8, 7, 0) 24%, rgba(22, 8, 7, 0) 50%, rgba(22, 8, 7, .55) 100%),
    linear-gradient(90deg, rgba(22, 8, 7, .74) 0%, rgba(22, 8, 7, .5) 26%, rgba(22, 8, 7, .16) 48%, transparent 66%) !important;
}
.phero h1, .phero p, .phero .hand, .article-hero h1, .hero h1, .hero__sub p { text-shadow: 0 1px 26px rgba(10, 4, 3, .35); }
.phero__media img { animation: kb 18s var(--ease) both; }
/* filet doré qui se dessine sous le titre */
.phero h1::after, .article-hero h1::after { content: ""; display: block; width: 72px; height: 1px; margin-top: .32em; background: #e2c088; transform-origin: left; transform: scaleX(0); animation: rule 1.4s var(--ease) .7s forwards; }
@keyframes rule { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .phero__media img { animation: none; } .phero h1::after, .article-hero h1::after { animation: none; transform: none; } }

/* Accords mets & vins */
.acc-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.acc-head .lead { max-width: 540px; margin: 22px 0 0; }
.acc-ask { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 330px; cursor: pointer; }
.acc-ask > span { font-family: var(--f-italic, var(--f-display)); font-style: italic; font-size: 1.2rem; color: var(--ink-soft); }
.acc-ask select { -webkit-appearance: none; appearance: none; height: 56px; padding: 0 52px 0 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .98rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .3s, box-shadow .3s; }
.acc-ask select:hover { border-color: var(--ink); }
.acc-ask select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.acc-ask .i { position: absolute; right: 22px; bottom: 20px; pointer-events: none; }
.acc { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.acc__nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); position: sticky; top: calc(var(--demo-h) + 96px); }
.acc__nav button { position: relative; display: grid; gap: 3px; text-align: left; padding: 15px 0 15px 22px; border-bottom: 1px solid var(--line); color: color-mix(in srgb, var(--ink) 58%, transparent); transition: color .35s, padding .6s var(--ease); }
.acc__nav button::before { content: ""; position: absolute; left: 0; top: 15px; bottom: 15px; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.acc__nav button:hover { color: var(--ink); }
.acc__nav button.on { color: var(--ink); padding-left: 30px; }
.acc__nav button.on::before { transform: none; }
.acc__nav small { font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.acc__nav b { font-family: var(--f-display); font-weight: var(--d-weight); font-size: 1.2rem; line-height: 1.15; letter-spacing: var(--d-track); }
.acc__nav i { font-family: var(--f-italic, var(--f-display)); font-size: .95rem; color: var(--ink-soft); }
.acc__stage { position: relative; display: grid; }
.acard { grid-area: 1 / 1; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.acard.on { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; z-index: 1; }
.acard__ph { position: relative; margin: 0; min-height: 580px; }
.acard__ph picture { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.acard__ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.8s var(--ease); }
.acard.on .acard__ph img { transform: none; }
.acard__ph picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(22, 8, 7, .28)); }
.acard__btl { position: absolute; right: -46px; bottom: 34px; z-index: 2; height: 340px; width: 92px; display: block; transform: translateY(26px); opacity: 0; transition: transform 1.1s var(--ease) .15s, opacity .8s .15s; }
.acard__btl .bottle { height: 100%; width: auto; margin: 0 auto; filter: drop-shadow(0 26px 22px rgba(20, 8, 6, .45)); }
.acard.on .acard__btl { transform: none; opacity: 1; }
.acard__txt { padding: clamp(30px, 3.6vw, 52px) clamp(28px, 3.6vw, 52px) clamp(30px, 3.6vw, 48px) clamp(74px, 6.4vw, 96px); display: flex; flex-direction: column; }
.acard__txt > * { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.acard.on .acard__txt > * { opacity: 1; transform: none; }
.acard.on .acard__txt > :nth-child(2) { transition-delay: .06s; }
.acard.on .acard__txt > :nth-child(3) { transition-delay: .12s; }
.acard.on .acard__txt > :nth-child(4) { transition-delay: .18s; }
.acard.on .acard__txt > :nth-child(5) { transition-delay: .24s; }
.acard.on .acard__txt > :nth-child(6) { transition-delay: .3s; }
.acard.on .acard__txt > :nth-child(7) { transition-delay: .36s; }
.acard__mo { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.acard h3 { margin: 12px 0 0; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.08; }
.acard h3 em { display: block; font-size: .72em; color: var(--ink-soft); margin-top: 4px; }
.acard__meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .8rem; color: var(--ink-soft); letter-spacing: .03em; }
.acard__plats { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); counter-reset: pl; }
.acard__plats li { counter-increment: pl; position: relative; display: grid; gap: 2px; padding: 13px 10px 13px 34px; border-bottom: 1px solid var(--line); border-radius: 6px; transition: background .5s; }
.acard__plats li::before { content: counter(pl, upper-roman) "."; position: absolute; left: 4px; top: 13px; font-family: var(--f-display); font-style: italic; font-size: 1rem; color: var(--gold); }
.acard__plats b { font-family: var(--f-display); font-weight: var(--d-weight); font-size: 1.16rem; line-height: 1.25; letter-spacing: var(--d-track); }
.acard__plats span { font-size: .88rem; line-height: 1.5; color: var(--ink-soft); }
.acard__plats li.hi { background: color-mix(in srgb, var(--accent) 8%, transparent); animation: hi 1.4s var(--ease); }
.acard__plats li.hi b { color: var(--accent); }
@keyframes hi { 0% { background: color-mix(in srgb, var(--accent) 22%, transparent); } }
.acard__why { margin: 20px 0 0; padding-left: 16px; border-left: 1px solid var(--gold); font-family: var(--f-italic, var(--f-display)); font-style: italic; font-size: 1.04rem; line-height: 1.55; color: var(--ink); }
.acard__svc { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: .8rem; color: var(--ink-soft); }
.acard__svc span { display: inline-flex; align-items: center; gap: 7px; }
.acard__svc .i { color: var(--accent); }
.acard__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: auto; padding-top: 24px; }
.acc__ctl { display: none; }
@media (max-width: 1060px) {
  .acc { grid-template-columns: 1fr; }
  .acc__nav { position: static; flex-direction: row; overflow-x: auto; border-top: 0; gap: 8px; scrollbar-width: none; }
  .acc__nav button { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
  .acc__nav button::before, .acc__nav small, .acc__nav i { display: none; }
  .acc__nav button.on { padding-left: 16px; background: var(--ink); color: var(--bg); }
  .acc__nav b { font-size: .95rem; }
  .acc-head { grid-template-columns: 1fr; align-items: start; }
}
