/* ═══════════════════════════════════════════════════════════
   Autun'Home — feuille de style
   Éditorial contemporain, richesse bourguignonne :
   crème chaud, vin profond, sauge forestier, filé d'or.
   Fraunces + Inter, grands formats photo, grain de film.
   ═══════════════════════════════════════════════════════════ */

/* ── POLICES (auto-hébergées) ── */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/fraunces-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/fraunces-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("/fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("/fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Polices de secours calibrées (évite le saut de mise en page) */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 103%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }

/* ── JETONS ── */
:root {
  color-scheme: light;

  /* Papiers chauds */
  --paper: #F8F4EC;
  --paper-2: #F1EAE0;
  --paper-3: #E9E0D2;
  --cream: #F8F3EA;
  /* Encre chaude (famille grise unique, teintée chaud) */
  --ink: #221B15;
  --ink-2: #5A524A;
  --ink-3: #6E665D;
  /* Filets chauds */
  --rule: #E3DACA;
  --rule-2: #CFC3B1;
  /* Vin de Bourgogne */
  --wine: #6E1E2C;
  --wine-2: #832B36;
  --wine-3: #541620;
  --wine-deep: #40101A;
  /* Sauge forestier */
  --sage: #4C5B45;
  --sage-deep: #3B4833;
  --sage-paper: #EAECE2;
  /* Or filé */
  --gold: #C29A5B;
  --gold-soft: #D9BC85;

  --bg: var(--paper);
  --bg-2: var(--paper-2);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --line: var(--rule);
  --line-2: var(--rule-2);
  --accent: var(--wine);
  --accent-fg: var(--cream);
  --focus: var(--wine);
  --backdrop: rgb(24 16 12 / 0.88);

  --font-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --font-ui: "Inter", "Inter Fallback", system-ui, -apple-system, sans-serif;

  --fs-display: clamp(2.85rem, 1.5rem + 6.2vw, 5.9rem);
  --fs-h2: clamp(2.2rem, 1.45rem + 3.4vw, 4.1rem);
  --fs-h3: clamp(1.35rem, 1.2rem + 0.8vw, 1.8rem);
  --fs-numeral: clamp(3rem, 1.5rem + 6vw, 6rem);
  --fs-fact: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);
  --fs-quote: clamp(1.3rem, 1.1rem + 1.1vw, 1.85rem);
  --fs-lead: clamp(1.15rem, 1.05rem + 0.45vw, 1.45rem);
  --fs-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-caption: 0.8125rem;

  --lh-display: 1.02; --lh-h2: 1.05; --lh-h3: 1.18; --lh-lead: 1.5; --lh-body: 1.65;
  --track-caps: 0.09em;

  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem; --sp-10: 8rem;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --block-y: clamp(2.25rem, 4.5vw, 4.25rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --gap: clamp(1.25rem, 2.5vw, 2.25rem);
  --nav-h: 76px;
  --bar-h: 68px;
  --aside-w: 372px;

  --r-pill: 999px;
  --r-input: 12px;
  --r-media: 18px;
  --r-card: 22px;

  /* Ombres teintées chaud (jamais de noir pur) */
  --shadow-soft: 0 1px 2px rgb(64 41 26 / 0.05), 0 10px 28px -12px rgb(64 41 26 / 0.14);
  --shadow-lift: 0 2px 4px rgb(64 41 26 / 0.06), 0 22px 44px -16px rgb(64 41 26 / 0.22);
  --shadow-wine: 0 12px 28px -12px rgb(84 22 32 / 0.55);
  --shadow-bar: 0 -1px 0 var(--line-2);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 160ms; --dur-hover: 180ms; --dur-ui: 220ms; --dur-modal: 280ms;
  --dur-reveal: 800ms; --dur-clip: 750ms; --dur-hero: 850ms; --stagger: 60ms;
}
/* Surfaces colorées */
[data-surface="band"] { --bg: var(--paper-2); --bg-2: var(--paper-3); }
[data-surface="wine"] {
  --bg: var(--wine); --bg-2: var(--wine-deep); --fg: var(--cream); --fg-2: rgb(248 243 234 / 0.78); --fg-3: rgb(248 243 234 / 0.66);
  --line: rgb(248 243 234 / 0.16); --line-2: rgb(248 243 234 / 0.28); --accent: var(--gold-soft); --accent-fg: var(--wine-deep); --focus: var(--gold-soft);
}
[data-surface="sage"] {
  --bg: var(--sage-deep); --bg-2: var(--sage); --fg: #EFEEE5; --fg-2: rgb(239 238 229 / 0.8); --fg-3: rgb(239 238 229 / 0.68);
  --line: rgb(239 238 229 / 0.16); --line-2: rgb(239 238 229 / 0.3); --accent: var(--gold-soft); --accent-fg: var(--sage-deep); --focus: var(--gold-soft);
}
[data-surface="ink"] {
  --bg: #201913; --bg-2: #2A221B; --fg: var(--cream); --fg-2: rgb(248 243 234 / 0.66); --fg-3: rgb(248 243 234 / 0.52);
  --line: rgb(248 243 234 / 0.14); --line-2: rgb(248 243 234 / 0.26); --accent: var(--gold-soft); --accent-fg: #201913; --focus: var(--gold-soft);
}
@media (max-width: 639px) { :root { --nav-h: 70px; } }

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 18px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--fg); font: 400 var(--fs-body) / var(--lh-body) var(--font-ui);
  overflow-x: clip; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
/* Grain de film, au-dessus de tout, jamais interactif */
body::after { content: ""; position: fixed; inset: 0; z-index: 110; pointer-events: none; opacity: 0.045;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
  background-size: 180px 180px; }
@media (max-width: 1279px) { body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); } }
img, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
h1 em, h2 em, h3 em { font-style: italic; }
.sec-head h2 em { color: var(--wine); }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--sp-4); }
a { color: inherit; }
sup { font-size: 0.55em; vertical-align: 0.5em; line-height: 0; }
strong { font-weight: 600; }
button { font: inherit; color: inherit; }
::selection { background: var(--wine); color: var(--cream); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.container { width: min(100% - 2 * var(--gutter), 90rem); margin-inline: auto; }
.container--text { width: min(100% - 2 * var(--gutter), 72rem); margin-inline: auto; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.caps { font: 500 var(--fs-caption) / 1.35 var(--font-ui); text-transform: uppercase; letter-spacing: var(--track-caps); color: var(--fg-2); }
.caps--sage, .label { color: var(--sage); }
.label { display: inline-flex; align-items: center; gap: var(--sp-2); width: fit-content;
  font: 500 var(--fs-caption) / 1.35 var(--font-ui); text-transform: uppercase; letter-spacing: var(--track-caps);
  color: var(--sage); background: rgb(76 91 69 / 0.09); border-radius: var(--r-pill); padding: 0.45em 1em; }
.num { font-variant-numeric: lining-nums tabular-nums; }
.measure { max-width: 62ch; }
.muted { color: var(--fg-2); }
.small { font-size: var(--fs-small); }
.rule { border: 0; border-top: var(--hairline, 1px solid var(--line)); margin: 0; }
.skip { position: absolute; top: -100%; left: var(--gutter); z-index: 300; padding: var(--sp-3) var(--sp-4); background: var(--ink); color: var(--cream); text-decoration: none; border-radius: var(--r-input); }
.skip:focus { top: var(--sp-3); }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

/* Grille éditoriale */
.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }

section { padding-block: var(--section-y); }
/* Numéral fantôme dessiné derrière chaque titre de section */
.sec-head { display: grid; gap: var(--sp-5); margin-bottom: var(--block-y); align-items: start; position: relative; }
.sec-head::before { content: attr(data-num); position: absolute; top: -0.48em; left: -0.05em;
  font: 500 clamp(5rem, 11vw, 9.5rem) / 1 var(--font-display); letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.5px var(--rule-2); opacity: 0.55; pointer-events: none; user-select: none; }
.sec-head > .label, .sec-head > h2 { position: relative; }
@media (min-width: 960px) {
  .sec-head { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
  .sec-head .label { grid-column: 1 / 3; margin-top: 0.5em; }
  .sec-head h2 { grid-column: 3 / 12; }
  .sec-head::before { left: calc(2 / 12 * 100% - 0.05em); }
}

/* ── BOUTONS ── */
.btn { min-height: 48px; padding: 0 var(--sp-5); border: 1px solid transparent; border-radius: var(--r-pill);
  font: 500 var(--fs-small) / 1 var(--font-ui); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); background: none;
  transition: transform var(--dur-press) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out),
    background-color var(--dur-hover) ease, color var(--dur-hover) ease, border-color var(--dur-hover) ease; }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.btn--primary:active { background: var(--wine-3); }
.btn--secondary { color: var(--fg); border-color: rgb(34 27 21 / 0.35); background: transparent; }
.btn--secondary:active { background: var(--paper-3); }
.btn--ghost { color: var(--cream); border-color: rgb(248 243 234 / 0.4); }
.btn--glass { color: var(--cream); border-color: rgb(248 243 234 / 0.4); background: rgb(248 243 234 / 0.1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--link { min-height: 44px; padding: 0 2px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; color: var(--fg); }
.btn--lg { min-height: 54px; padding: 0 var(--sp-6); }
.btn--sm { min-height: 40px; padding: 0 var(--sp-4); }
.btn svg { width: 0.9em; height: 0.9em; flex: none; }
.btn-orb { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  margin-left: var(--sp-1); margin-right: calc(-1 * var(--sp-2)); border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.16);
  transition: transform 300ms var(--ease-out), background-color 200ms ease; }
.btn-orb svg { width: 13px; height: 13px; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--wine-2); border-color: var(--wine-2); transform: translateY(-1px); box-shadow: var(--shadow-wine); }
  .btn--primary:hover .btn-orb { transform: translate(2px, -1px); background: rgb(255 255 255 / 0.26); }
  .btn--secondary:hover { background: var(--paper-3); border-color: var(--fg); }
  .btn--glass:hover { background: rgb(248 243 234 / 0.2); border-color: rgb(248 243 234 / 0.6); transform: translateY(-1px); }
  .btn--ghost:hover { background: rgb(248 243 234 / 0.12); }
  .btn--link:hover { color: var(--wine); }
}
.btn[aria-disabled="true"] { background: var(--paper-3); color: var(--ink-3); border-color: var(--paper-3); cursor: not-allowed; box-shadow: none; transform: none; }
[data-surface="ink"] .btn--primary, [data-surface="wine"] .btn--primary, [data-surface="sage"] .btn--primary { background: var(--cream); color: var(--wine-deep); border-color: var(--cream); }
[data-surface="ink"] .btn--primary:active { background: var(--paper-3); }

/* ── PUCES ── */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-6) 0 0; padding: 0; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 var(--sp-4); border: 1px solid var(--line-2); border-radius: var(--r-pill);
  font: 500 var(--fs-small) / 1 var(--font-ui); color: var(--fg); background: rgb(255 253 248 / 0.6); }
.chip--filled { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ── FIGURES ── */
figure { margin: 0; }
.fig-frame { position: relative; display: block; width: 100%; background: var(--paper-3); overflow: hidden;
  border-radius: var(--r-media); outline: 1px solid rgb(64 41 26 / 0.08); outline-offset: -1px; }
.fig-frame img { width: 100%; height: 100%; object-fit: cover; }
.fig-frame picture { height: 100%; }
figcaption { margin-top: var(--sp-3); }
figcaption.caps { display: flex; align-items: center; gap: var(--sp-2); }
figcaption.caps::before { content: ""; width: 14px; height: 1px; background: var(--gold); flex: none; }
.ratio-43 { aspect-ratio: 4 / 3; }  .ratio-32 { aspect-ratio: 3 / 2; }  .ratio-169 { aspect-ratio: 16 / 9; }
.ratio-23 { aspect-ratio: 2 / 3; }  .ratio-34 { aspect-ratio: 3 / 4; }  .ratio-45 { aspect-ratio: 4 / 5; }
.fig { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
  border-radius: var(--r-media);
  transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out); }
.fig:active { transform: scale(0.985); }
.fig .fig-frame img { transition: transform 900ms var(--ease-out); }
/* Étiquette flottante sur les photos de la galerie (injectée par app.js) */
.fig-chip { position: absolute; left: 12px; bottom: 12px; z-index: 1; pointer-events: none;
  padding: 0.55em 1.1em; border-radius: var(--r-pill);
  background: rgb(248 244 236 / 0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--ink); font-size: 0.75rem; box-shadow: 0 6px 18px -8px rgb(20 9 11 / 0.4);
  opacity: 0; translate: 0 10px;
  transition: opacity 300ms var(--ease-out), translate 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .fig:hover .fig-chip { opacity: 1; translate: 0 0; }
}
@media (hover: hover) and (pointer: fine) {
  .fig:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
  .fig:hover .fig-frame img { transform: scale(1.045); }
}

/* ── BANDEAU DÉFILANT ── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper-2); padding-block: var(--sp-4); }
.marquee-track { display: flex; width: max-content; animation: marquee-run 48s linear infinite; }
.marquee-seq { display: flex; align-items: baseline; gap: var(--sp-5); padding-right: var(--sp-5);
  font: 400 clamp(1.15rem, 0.95rem + 0.9vw, 1.5rem) / 1.1 var(--font-display); font-style: italic;
  color: var(--ink-2); white-space: nowrap; }
.marquee-seq i { font-style: normal; color: var(--gold); }
@keyframes marquee-run { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }

/* ── BARRE DE PROGRESSION (défilement) ── */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 130; pointer-events: none;
  background: linear-gradient(90deg, var(--wine), var(--gold-soft)); transform-origin: 0 50%; transform: scaleX(0); display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .scroll-progress { display: block; animation: progress-grow linear both; animation-timeline: scroll(); }
  }
}
@keyframes progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ── BOUTON À LIBELLÉ ROULANT ── */
.roll { display: inline-grid; overflow: hidden; align-content: start; line-height: 1.45; }
.roll .roll-t { grid-area: 1 / 1; display: block; transition: translate 380ms var(--ease-out); }
.roll .roll-t:last-child { translate: 0 110%; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .roll .roll-t:first-child { translate: 0 -110%; }
  .btn:hover .roll .roll-t:last-child { translate: 0 0; }
}

/* ── EN-TÊTE : pilule flottante en verre ── */
.site-header { position: sticky; top: 0; z-index: 100; padding: 10px 0; background: transparent; }
.nav { height: 54px; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding-inline: var(--sp-4) 8px; border-radius: var(--r-pill);
  background: rgb(248 244 236 / 0.84); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid transparent;
  transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease; }
.site-header[data-scrolled] .nav { border-color: var(--line); box-shadow: 0 10px 30px -16px rgb(64 41 26 / 0.28); }
.wordmark { font: 400 1.35rem / 1 var(--font-display); text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark span { color: var(--wine); }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 0.85rem; }
.nav-link { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 2px;
  font: 500 var(--fs-caption) / 1 var(--font-ui); letter-spacing: 0.02em; text-decoration: none; color: var(--ink-2);
  transition: color var(--dur-hover) ease; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px; border-radius: 2px; background: var(--wine);
  transform: scaleX(0); transform-origin: left; transition: transform 280ms var(--ease-in-out); }
.nav-link[aria-current] { color: var(--wine); }
.nav-link[aria-current]::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: var(--sp-3); }
.nav-price { display: none; font-size: var(--fs-caption); color: var(--ink-2); white-space: nowrap; }
.nav-cta[data-hidden] { visibility: hidden; }
.menu-btn { min-height: 44px; min-width: 44px; padding: 0 var(--sp-2); border: 0; background: none; cursor: pointer;
  font: 500 var(--fs-small) / 1 var(--font-ui); color: var(--ink); border-radius: var(--r-pill);
  transition: transform var(--dur-press) var(--ease-out); }
.menu-btn:active { transform: scale(0.97); }
@media (min-width: 1600px) { .nav-price { display: inline; } }
@media (min-width: 960px) { .nav-links { display: flex; } .menu-btn { display: none; } }
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover { color: var(--ink); }
  .nav-link:hover::after { transform: scaleX(1); transition: transform 200ms ease; }
}

/* ── HERO : grande carte arrondie détachée, contenu centré ── */
.hero { padding-block: 0; }
.hero-stage { position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 100svh;
  padding: calc(var(--nav-h) + var(--sp-4)) var(--sp-4) calc(var(--sp-7) + 76px); }
.hero-media { position: absolute; overflow: hidden; background: var(--wine-deep);
  inset: calc(var(--nav-h) + var(--sp-4)) var(--sp-4) var(--sp-4);
  border-radius: clamp(18px, 2.5vw, 28px);
  box-shadow: 0 40px 80px -48px rgb(46 26 18 / 0.5); }
.hero-slide { position: absolute; inset: 0; opacity: 0; will-change: opacity;
  animation: hero-cross 44s linear infinite; animation-delay: calc(var(--d, 0) * 11s); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; will-change: transform;
  animation: hero-zoom 44s linear infinite; animation-delay: calc(var(--d, 0) * 11s); }
.hero-slide:nth-child(even) img { animation-name: hero-zoom-out; }
/* Vidéo HyperFrames : fondu d'apparition au-dessus du diaporama, puis le diaporama s'arrête */
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 900ms ease; }
.hero-media.has-video video { opacity: 1; }
.hero-media.video-on .hero-slide { display: none; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgb(20 9 11 / 0.6) 0%, rgb(20 9 11 / 0.1) 48%, rgb(20 9 11 / 0.22) 100%),
    linear-gradient(to right, rgb(20 9 11 / 0.42) 0%, rgb(20 9 11 / 0.08) 52%, transparent 75%); }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-stars { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.hero-stars svg { width: 138px; height: 23px; color: var(--gold-soft); filter: drop-shadow(0 1px 6px rgb(20 9 11 / 0.4)); }
.hero-stars-cap { font: 500 var(--fs-caption) / 1.4 var(--font-ui); text-transform: uppercase;
  letter-spacing: var(--track-caps); color: rgb(248 243 234 / 0.85); text-shadow: 0 1px 12px rgb(20 9 11 / 0.5); }
.hero h1 { color: var(--cream); max-width: 24ch; margin-inline: auto; text-shadow: 0 2px 30px rgb(20 9 11 / 0.35); }
.hero h1 em { color: var(--gold-soft); font-weight: 600; }
.hero-lead { margin: var(--sp-5) auto 0; max-width: 46ch;
  font-size: var(--fs-lead); line-height: var(--lh-lead); color: rgb(248 243 234 / 0.92);
  text-shadow: 0 1px 18px rgb(20 9 11 / 0.45); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-4); margin-top: var(--sp-6); }
@media (max-width: 479px) { .hero-actions .btn { flex: 1 1 100%; } }

/* Barre de réservation flottante, à cheval sur le bas de la carte */
.hero-bar { position: absolute; left: 50%; translate: -50% 0; bottom: calc(var(--sp-4) - 30px); z-index: 5;
  display: flex; align-items: center; gap: var(--sp-5);
  padding: 10px 12px 10px 28px; border-radius: var(--r-pill);
  background: rgb(255 253 248 / 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 48px -20px rgb(46 26 18 / 0.45), 0 0 0 1px rgb(64 41 26 / 0.06);
  white-space: nowrap; }
.hero-bar-price { font: 400 1.75rem / 1 var(--font-display); color: var(--wine); }
.hero-bar-price small { font: 500 var(--fs-caption) / 1.3 var(--font-ui); text-transform: uppercase;
  letter-spacing: var(--track-caps); color: var(--ink-2); margin-left: var(--sp-3); }
.hero-bar-note { color: var(--ink-3); }
@media (max-width: 1023px) { .hero-bar-note { display: none; } }
@media (max-width: 639px) {
  .hero-bar { flex-direction: column; gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-card);
    width: calc(100% - 2 * var(--sp-4)); text-align: center; white-space: normal; bottom: calc(var(--sp-4) - 26px); }
  .hero-bar .btn { width: 100%; }
  .hero-bar-price small { margin-left: var(--sp-2); }
}

@keyframes hero-cross {
  0% { opacity: 0; } 2.7% { opacity: 1; } 25% { opacity: 1; } 27.7% { opacity: 0; } 100% { opacity: 0; }
}
@keyframes hero-zoom {
  0% { transform: scale(1.02); } 27.7% { transform: scale(1.14); } 100% { transform: scale(1.14); }
}
@keyframes hero-zoom-out {
  0% { transform: scale(1.14); } 27.7% { transform: scale(1.03); } 100% { transform: scale(1.03); }
}

/* Bandeau de faits, vin profond */
.facts { position: relative; margin-top: 56px; background: linear-gradient(118deg, var(--wine-3) 0%, var(--wine) 48%, var(--wine-deep) 100%); color: var(--cream); }
.facts::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46rem 18rem at 82% -20%, rgb(217 188 133 / 0.16), transparent 60%); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.facts li { padding: var(--sp-5) var(--sp-4); border-left: 1px solid rgb(248 243 234 / 0.14); }
.facts li:nth-child(odd) { border-left: 0; }
.facts li:nth-child(n + 3) { border-top: 1px solid rgb(248 243 234 / 0.14); }
.fact-value { display: block; font: 400 var(--fs-fact) / 1.05 var(--font-display); color: var(--cream); font-variant-numeric: lining-nums tabular-nums; }
.facts li:first-child .fact-value { color: var(--gold-soft); }
.fact-label { display: block; margin-top: var(--sp-2); font-size: var(--fs-small); line-height: 1.45; color: rgb(248 243 234 / 0.72); }
.fact-label a { color: inherit; text-decoration-color: rgb(217 188 133 / 0.55); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .fact-label a:hover { color: var(--gold-soft); text-decoration-color: currentColor; } }
@media (min-width: 960px) {
  .facts ul { grid-template-columns: repeat(4, 1fr); }
  .facts li { padding: var(--sp-6) var(--sp-5); border-left: 1px solid rgb(248 243 234 / 0.14); }
  .facts li:first-child { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 0; }
}

/* Photos en arche (signature charme français) */
.arch .fig-frame { border-radius: 999px 999px var(--r-media) var(--r-media); }
html.js .reveal-clip.arch .fig-frame { clip-path: inset(0 0 100% 0 round 999px 999px var(--r-media) var(--r-media)); }
html.js .reveal-clip.arch[data-visible] .fig-frame { clip-path: inset(0 round 999px 999px var(--r-media) var(--r-media)); }

/* ── LE GÎTE ── */
.gite-grid { display: grid; gap: var(--block-y) var(--gap); }
.h3-block { padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.h3-block + .h3-block { margin-top: var(--sp-6); }
.h3-block p { margin-top: var(--sp-3); }
@media (min-width: 960px) {
  .gite-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .gite-text { grid-column: 3 / 8; }
  .gite-fig { grid-column: 8 / 13; }
}
/* Frise « 2 000 ans », sauge forestier */
#le-gite { padding-bottom: 0; }
.timeline { padding-block: var(--section-y); margin-block: var(--section-y) 0; background: var(--bg); }
.timeline h3 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -0.012em; margin-bottom: var(--block-y); }
.timeline-grid { display: grid; gap: var(--block-y) var(--gap); align-items: start; }
.timeline-fig .fig-frame { max-width: 460px; padding: 10px; background: #EFEEE5; outline: 1px solid rgb(239 238 229 / 0.3); }
.timeline-fig img { border-radius: 10px; }
.timeline-fig figcaption { color: rgb(239 238 229 / 0.6); }
.timeline-row { display: grid; grid-template-columns: 1fr; gap: var(--sp-3) var(--sp-5); padding-block: var(--sp-5);
  border-top: 1px solid rgb(239 238 229 / 0.16); align-items: baseline; }
.timeline-rows .timeline-row:last-child { border-bottom: 1px solid rgb(239 238 229 / 0.16); }
.timeline-num { font: 400 clamp(2.75rem, 1.5rem + 3.5vw, 4.5rem) / 0.95 var(--font-display); color: var(--gold-soft); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.timeline-num--word { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.6rem); line-height: 1.05; white-space: normal; }
@media (min-width: 640px) { .timeline-row { grid-template-columns: minmax(0, 15rem) 1fr; } }
.timeline-row p { max-width: 42ch; color: rgb(239 238 229 / 0.82); }
@media (min-width: 960px) {
  .timeline-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .timeline-fig { grid-column: 1 / 6; position: sticky; top: calc(var(--nav-h) + 24px); }
  .timeline-rows { grid-column: 7 / 13; }
}

/* ── PHOTOS ── */
.photos-note { display: flex; justify-content: space-between; gap: var(--sp-4); margin: calc(-1 * var(--block-y) + var(--sp-4)) 0 var(--block-y); }
.strip-counter { display: none; }
.mosaic { display: flex; gap: var(--sp-4); margin: 0; padding: 0 var(--gutter) var(--sp-2); margin-inline: calc(-1 * var(--gutter));
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.mosaic::-webkit-scrollbar { display: none; }
.mosaic > figure { flex: 0 0 82%; scroll-snap-align: start; }
.mosaic .fig-frame { aspect-ratio: 4 / 3; }
@media (max-width: 639px) { .strip-counter { display: block; } }
@media (min-width: 640px) {
  .mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-inline: 0; padding: 0; overflow: visible; }
  .mosaic > figure { flex: none; }
  .mosaic .fig-frame { aspect-ratio: 3 / 2; }
}
@media (min-width: 960px) {
  .mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .mosaic .fig-frame.ratio-169 { aspect-ratio: 16 / 9; } .mosaic .fig-frame.ratio-32 { aspect-ratio: 3 / 2; }
  .mosaic .fig-frame.ratio-34 { aspect-ratio: 3 / 4; }  .mosaic .fig-frame.ratio-43 { aspect-ratio: 4 / 3; }
  .mosaic > figure:nth-child(1) { grid-column: 1 / 8; }
  .mosaic > figure:nth-child(2) { grid-column: 8 / 13; }
  .mosaic > figure:nth-child(3) { grid-column: 1 / 6; }
  .mosaic > figure:nth-child(4) { grid-column: 6 / 10; }
  .mosaic > figure:nth-child(5) { grid-column: 10 / 13; }
  .mosaic > figure:nth-child(6) { grid-column: 1 / 5; }
  .mosaic > figure:nth-child(7) { grid-column: 5 / 9; }
  .mosaic > figure:nth-child(8) { grid-column: 9 / 13; }
  .mosaic > figure:nth-child(9) { grid-column: 1 / 5; }
  .mosaic > figure:nth-child(10) { grid-column: 5 / 9; }
  .mosaic > figure { align-self: start; }
}

/* ── ZONE DEUX COLONNES (≥ 1280) ── */
.zone > section { border-top: 0; padding-block: var(--section-y); }
.zone > section:first-child { padding-top: var(--section-y); }
@media (min-width: 1280px) {
  .zone { display: grid; grid-template-columns: minmax(0, 1fr) var(--aside-w); column-gap: 3.5rem; align-items: start; }
  .zone > section { grid-column: 1; padding-block: calc(var(--section-y) * 0.7); }
  .zone > section:first-child { padding-top: var(--section-y); }
  .zone > #reservation { grid-column: 2; grid-row: 1 / -1; position: sticky; top: calc(var(--nav-h) + 24px);
    max-height: calc(100svh - var(--nav-h) - 48px); overflow: auto; margin: 0; }
}
.zone .sec-head { margin-bottom: var(--sp-7); }
@media (min-width: 960px) { .zone .sec-head .label { grid-column: 1 / 3; } .zone .sec-head h2 { grid-column: 3 / 13; } }

/* ── ÉQUIPEMENTS : grille bento ── */
.spec-list { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
.spec-row { background: #FFFDF8; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: var(--sp-5) var(--sp-6); display: grid; gap: var(--sp-3) var(--sp-4); align-content: start;
  transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out), border-color var(--dur-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .spec-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--rule-2); }
}
.spec-top { display: flex; align-items: center; gap: var(--sp-3); }
.spec-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 14px; background: var(--sage-paper); color: var(--sage); }
.spec-ic svg { width: 22px; height: 22px; }
.spec-row h3 { font: 500 var(--fs-caption) / 1.35 var(--font-ui); text-transform: uppercase; letter-spacing: var(--track-caps); color: var(--sage); }
.spec-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-1) 0; }
.spec-row li + li::before { content: "·"; margin: 0 var(--sp-2); color: var(--rule-2); }
@media (min-width: 640px) { .spec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .spec-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .spec-row--w3 { grid-column: span 3; }
  .spec-row--w2 { grid-column: span 2; }
}
.photo-pair { display: grid; gap: var(--gap); margin-top: var(--block-y); }
@media (min-width: 640px) { .photo-pair { grid-template-columns: 3fr 2fr; align-items: start; } }

/* ── TARIFS ── */
#tarifs { background: transparent; }
.tarifs-inner { position: relative; overflow: hidden; border-radius: var(--r-card);
  background: linear-gradient(140deg, var(--wine) 0%, var(--wine-3) 60%, var(--wine-deep) 100%);
  color: #F6EFE3; padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 30px 60px -32px rgb(64 22 32 / 0.6); }
.tarifs-inner::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(38rem 20rem at 88% -12%, rgb(217 188 133 / 0.22), transparent 58%); }
.tarifs-inner > * { position: relative; }
.price-big { font: 400 var(--fs-numeral) / 1 var(--font-display); color: var(--cream); font-variant-numeric: lining-nums tabular-nums; }
.price-caps { margin-top: var(--sp-3); color: var(--gold-soft); }
.rows { margin-top: var(--sp-6); border-top: 1px solid rgb(246 239 227 / 0.22); }
.rows .row { padding-block: var(--sp-4); border-bottom: 1px solid rgb(246 239 227 / 0.16); display: grid; gap: var(--sp-1) var(--sp-4); }
.rows .row .caps { align-self: baseline; color: var(--gold-soft); }
.rows .row span:not(.caps) { color: rgb(246 239 227 / 0.88); }
@media (min-width: 640px) { .rows .row { grid-template-columns: 11rem 1fr; } }
.tarifs-inner .measure { margin-top: var(--sp-6); color: rgb(246 239 227 / 0.85); }
.tarifs-inner .muted { color: rgb(246 239 227 / 0.6); }

/* ── MODULE DE RÉSERVATION ── */
.booking { border-radius: var(--r-card); background:
    linear-gradient(#FFFDF8, #FFFDF8) padding-box,
    linear-gradient(150deg, #E7D9BF, #F0E9DD 55%, #DFD3BE) border-box;
  border: 1px solid transparent; padding: var(--sp-6);
  box-shadow: 0 28px 56px -36px rgb(64 41 26 / 0.4);
  color: var(--ink); margin-block: var(--block-y); }
.booking-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--sp-2) var(--sp-4); }
.booking-head h3 { flex: 1 1 100%; font-size: 1.55rem; }
@media (max-width: 399px) { .booking { padding: var(--sp-5); } }
.booking-price { font: 400 var(--fs-fact) / 1 var(--font-display); color: var(--wine); font-variant-numeric: lining-nums tabular-nums; }
.booking-price small { font: 400 var(--fs-small) / 1.3 var(--font-ui); color: var(--ink-2); margin-left: var(--sp-2); }
.booking-rating { font-size: var(--fs-small); color: var(--ink-2); }
.booking-rating a { color: inherit; text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
.platforms { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); margin-top: var(--sp-6); }
.fine { margin-top: var(--sp-6); font-size: var(--fs-small); line-height: 1.5; color: var(--ink-2); }

/* ── AVIS ── */
.avis-quotes::before { content: "«"; display: block; margin: 0 0 var(--sp-5) -0.05em;
  font: 400 clamp(4rem, 8vw, 6.5rem) / 0.5 var(--font-display); color: var(--gold-soft); opacity: 0.55; }
.avis-grid { display: grid; gap: var(--block-y) var(--gap); align-items: start; }
.avis-score .big { display: block; font: 400 var(--fs-numeral) / 1 var(--font-display); color: var(--wine); font-variant-numeric: lining-nums tabular-nums; }
.avis-score .caps { display: block; margin-top: var(--sp-3); }
.avis-score a { color: inherit; }
blockquote { margin: 0; padding: var(--sp-4) 0 var(--sp-5) 1.4em; border-left: 2px solid var(--gold);
  font: 400 var(--fs-quote) / 1.35 var(--font-display); letter-spacing: -0.005em; }
.avis-quotes blockquote + blockquote { margin-top: var(--sp-3); }
.quote-meta { margin-top: var(--sp-3); font: 400 0.95rem / 1.3 var(--font-display); font-style: italic;
  text-transform: none; letter-spacing: 0; color: var(--ink-3); }
.translation { margin-top: var(--sp-3); font: 400 var(--fs-small) / 1.55 var(--font-ui); color: var(--ink-2); }
.avis-more { margin-top: var(--sp-5); }
@media (min-width: 960px) {
  .avis-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .avis-score { grid-column: 1 / 4; }
  .avis-quotes { grid-column: 4 / 10; }
  .avis-fig { grid-column: 10 / 13; }
}
@media (min-width: 1280px) {
  .zone .avis-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .zone .avis-score { grid-column: 1 / 4; } .zone .avis-quotes { grid-column: 4 / 13; } .zone .avis-fig { grid-column: 1 / 4; grid-row: 2; }
}

/* ── AUTUN ── */
.autun-grid { display: grid; gap: var(--block-y) var(--gap); align-items: start; }
.index { list-style: none; margin: 0; padding: 0; }
.index li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4); padding-block: var(--sp-3); border-top: 1px solid var(--line); }
.index li:last-child { border-bottom: 1px solid var(--line); }
.index .dist { font: 400 1.2rem / 1.2 var(--font-display); color: var(--sage); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.index-group + .index-group { margin-top: var(--sp-7); }
.index-group h3 { margin-bottom: var(--sp-4); }
.index-group p { margin-top: var(--sp-4); }
@media (min-width: 960px) {
  .autun-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .autun-lists { grid-column: 1 / 9; }
  .autun-fig { grid-column: 9 / 13; position: sticky; top: calc(var(--nav-h) + 24px); }
}

/* ── HÉBERGEMENT / ACCÈS ── */
.split { display: grid; gap: var(--block-y) var(--gap); align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .split-text { grid-column: 1 / 8; }
  .split-fig { grid-column: 9 / 13; }
}
.address { font: 400 var(--fs-h3) / var(--lh-h3) var(--font-display); }
.links-row { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-5); }
.map { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-card);
  display: grid; place-items: center; text-align: center; padding: var(--sp-5); overflow: hidden; }
.map-inner { display: grid; gap: var(--sp-3); justify-items: center; max-width: 34ch; }
.map-inner svg { width: 28px; height: 28px; color: var(--sage); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--r-card); filter: grayscale(1) contrast(0.95) sepia(0.12); opacity: 1; transition: opacity 200ms ease; }
@starting-style { .map iframe { opacity: 0; } }
.dist-grid { display: grid; gap: 0 var(--gap); margin-top: var(--block-y); }
@media (min-width: 640px) { .dist-grid { grid-template-columns: 1fr 1fr; } }
.dist-grid .index li:last-child { border-bottom: 1px solid var(--line); }

/* ── FAQ ── */
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item h3 { margin: 0; }
.acc-btn { width: 100%; min-height: 64px; padding: var(--sp-4) 0; border: 0; border-bottom: 1px solid var(--line-2); background: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); text-align: left;
  font: 400 var(--fs-h3) / 1.2 var(--font-display); color: var(--fg); transition: transform var(--dur-press) var(--ease-out), color var(--dur-hover) ease; }
.acc-btn:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .acc-btn:hover { color: var(--wine); } }
.plus { flex: none; width: 34px; height: 34px; padding: 5px; color: var(--gold); border: 1px solid var(--line-2); border-radius: 50%;
  transition: transform var(--dur-ui) var(--ease-in-out), border-color var(--dur-hover) ease, color var(--dur-hover) ease; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 180ms var(--ease-out); }
.acc-inner { overflow: hidden; min-height: 0; opacity: 0; visibility: hidden; transition: opacity 160ms var(--ease-out), visibility 0s linear 180ms; }
.acc-inner p { padding: var(--sp-4) 0 var(--sp-5); max-width: 62ch; color: var(--fg); }
.faq-item.is-open .acc-panel { grid-template-rows: 1fr; transition-duration: var(--dur-ui); }
.faq-item.is-open .acc-inner { opacity: 1; visibility: visible; transition: opacity 200ms var(--ease-out) 50ms, visibility 0s; }
.faq-item.is-open .plus { transform: rotate(45deg); border-color: var(--gold); color: var(--wine); }
.faq-item.is-open .acc-btn { border-bottom-color: transparent; }
.faq-item.is-open .acc-panel { border-bottom: 1px solid var(--line-2); }

/* ── PIED DE PAGE ── */
.site-footer { background: var(--bg); color: var(--fg); padding-block: var(--section-y) var(--sp-7);
  position: relative; overflow: hidden; border-radius: 28px 28px 0 0; }
.site-footer::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50rem 22rem at 12% 0%, rgb(217 188 133 / 0.07), transparent 60%); }
/* Filigrane géant */
.site-footer::after { content: "Autun'Home"; position: absolute; left: 50%; bottom: -0.16em; translate: -50% 0;
  font: 500 clamp(4.5rem, 15vw, 13rem) / 1 var(--font-display); letter-spacing: -0.03em; white-space: nowrap;
  color: rgb(248 243 234 / 0.07); pointer-events: none; user-select: none; }
.site-footer > .container { position: relative; }
.footer-top { display: grid; gap: var(--block-y) var(--gap); }
.footer-brand .wordmark { font-size: var(--fs-h2); line-height: 1; color: var(--cream); }
.footer-brand .wordmark span { color: var(--gold-soft); }
.footer-brand p { margin-top: var(--sp-5); max-width: 36ch; color: var(--fg-2); }
.site-footer h3 { font: 500 var(--fs-caption) / 1.35 var(--font-ui); text-transform: uppercase; letter-spacing: var(--track-caps); color: var(--fg-3); margin-bottom: var(--sp-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 40px; color: var(--fg); text-decoration: none;
  transition: color var(--dur-hover) ease; }
.site-footer li a svg { width: 0.8em; height: 0.8em; }
.site-footer li span.muted { display: inline-flex; align-items: center; min-height: 40px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-8); padding-top: var(--sp-4);
  border-top: 1px solid var(--line); color: var(--fg-3); font-size: var(--fs-small); }
@media (min-width: 960px) {
  .footer-top { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / 6; }
  .footer-col:nth-of-type(2) { grid-column: 7 / 10; }
  .footer-col:nth-of-type(3) { grid-column: 10 / 13; }
}
@media (hover: hover) and (pointer: fine) { .site-footer li a:hover { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 4px; } }

/* ── BARRE MOBILE ── */
.bar { position: fixed; inset: auto 0 0 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding: 0 var(--gutter) env(safe-area-inset-bottom);
  background: rgb(248 244 236 / 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -12px 32px -18px rgb(64 41 26 / 0.3);
  transform: translateY(100%); transition: transform 240ms var(--ease-out); }
.bar[data-visible] { transform: none; transition-duration: 320ms; }
.bar-price { font: 400 1.7rem / 1 var(--font-display); font-variant-numeric: lining-nums tabular-nums; color: var(--wine); }
.bar-price small { font: 500 var(--fs-caption) / 1 var(--font-ui); text-transform: uppercase; letter-spacing: var(--track-caps); color: var(--ink-2); margin-left: var(--sp-2); }
.bar .btn { min-height: 44px; }
@media (min-width: 1280px) { .bar { display: none; } }

/* ── DIALOGUES ── */
dialog { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; background: transparent; color: inherit; inset: 0; }
dialog::backdrop { background: var(--backdrop); }
.menu { position: fixed; inset: 0; width: 100%; height: 100%; background: var(--paper); color: var(--ink); padding: 0 var(--gutter) var(--sp-5); overflow: auto; }
.menu[open] { display: flex; flex-direction: column; }
.menu-head { display: flex; justify-content: space-between; align-items: center; height: var(--nav-h); flex: none; }
.menu-list { list-style: none; margin: var(--sp-5) 0 0; padding: 0; }
.menu-list li { border-top: 1px solid var(--line); }
.menu-list a { display: flex; align-items: baseline; gap: var(--sp-4); padding-block: var(--sp-3); text-decoration: none; color: var(--ink);
  font: 400 clamp(1.75rem, 6vw, 2.6rem) / 1.1 var(--font-display);
  transition: color var(--dur-hover) ease; }
.menu-list .caps { min-width: 2.5ch; color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .menu-list a:hover { color: var(--wine); } }
.menu-foot { margin-top: auto; padding-top: var(--sp-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); }
html.js .menu { opacity: 1; transform: none; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), display 200ms allow-discrete, overlay 200ms allow-discrete; }
html.js .menu[open] { transition-duration: 280ms; }
html.js .menu:not([open]) { opacity: 0; transform: translateY(-10px); }
@starting-style { html.js .menu[open] { opacity: 0; transform: translateY(-10px); } }
html.js .menu-list li { opacity: 1; transform: none; transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out); transition-delay: calc(40ms + var(--i, 0) * 45ms); }
@starting-style { html.js .menu[open] .menu-list li { opacity: 0; transform: translateY(10px); } }

.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; color: var(--cream); padding: var(--sp-4) var(--gutter) max(var(--sp-4), env(safe-area-inset-bottom)); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; gap: var(--sp-3); }
.lb-head, .lb-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); }
.lb-head .caps, .lb-foot .caps { color: rgb(248 243 234 / 0.6); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; }
.lb-stage img { max-width: min(92vw, 1600px); max-height: 78svh; width: auto; height: auto; object-fit: contain;
  border-radius: var(--r-media); outline: 1px solid rgb(248 243 234 / 0.2); transition: opacity 160ms ease; }
.lb-stage img.is-switching { opacity: 0.2; }
.lb-zone { position: absolute; top: 0; bottom: 0; width: 33%; border: 0; background: transparent; cursor: pointer; padding: 0; }
.lb-zone--prev { left: 0; } .lb-zone--next { right: 0; }
.lb-zone:focus-visible { outline: 2px solid var(--cream); outline-offset: -4px; }
.lb-nav { display: flex; gap: var(--sp-2); }
html.js .lightbox { opacity: 1; transition: opacity 180ms var(--ease-out), display 180ms allow-discrete, overlay 180ms allow-discrete; }
html.js .lightbox[open] { transition-duration: 280ms; }
html.js .lightbox:not([open]) { opacity: 0; }
html.js .lightbox .lb-stage { transform: none; transition: transform 280ms var(--ease-out); }
@starting-style { html.js .lightbox[open] { opacity: 0; } html.js .lightbox[open] .lb-stage { transform: scale(0.965); } }
html.js dialog::backdrop { transition: opacity 280ms var(--ease-out), display 280ms allow-discrete, overlay 280ms allow-discrete; opacity: 1; }
@starting-style { html.js dialog[open]::backdrop { opacity: 0; } }
:root:has(dialog[open]) body { overflow: hidden; }
:root:has(dialog[open]) .bar { transform: translateY(100%); }

/* ── PAGES ANNEXES ── */
.page { padding-block: var(--section-y); }
.page h1 { font-size: var(--fs-h2); line-height: var(--lh-h2); margin-bottom: var(--block-y); }
.page h2 { font-size: var(--fs-h3); line-height: var(--lh-h3); margin-top: var(--sp-7); margin-bottom: var(--sp-3); }
.page p, .page li { max-width: 62ch; }
.todo { display: inline-block; padding: 0 var(--sp-2); border-left: 3px solid var(--wine); background: var(--paper-2); color: var(--wine); border-radius: 0 6px 6px 0; }

/* ── MOUVEMENT ── */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rise-h1 { from { opacity: 0; transform: translateY(0.4em); } to { opacity: 1; transform: none; } }
@keyframes develop { from { clip-path: inset(0 0 100% 0 round var(--r-media)); } to { clip-path: inset(0 round var(--r-media)); } }
@keyframes fade-only { from { opacity: 0; } to { opacity: 1; } }
@keyframes word-rise { from { transform: translateY(115%); } to { transform: none; } }
@keyframes hero-media-in { from { transform: scale(1.05); } to { transform: none; } }
@keyframes mosaic-drift { from { translate: 0 -7%; } to { translate: 0 7%; } }
@keyframes hero-leave { to { opacity: 0.1; translate: 0 -7%; } }

/* Entrée du hero : le photo prend place, puis les mots montent un à un */
html.js .hero-media { animation: hero-media-in 1.6s var(--ease-out) both; }
html.js .hero [data-rise] { animation: rise var(--dur-hero) var(--ease-out) both; animation-delay: calc(160ms + var(--i, 0) * 90ms); }
html.js .hero h1[data-rise] { animation-name: rise-h1; animation-duration: calc(var(--dur-hero) + 150ms); }
html.js .hero h1.wsplit { animation: none; }
html.js .hero h1.wsplit .w { display: inline-block; overflow: hidden; vertical-align: top; padding-top: 0.08em; margin-top: -0.08em; padding-bottom: 0.09em; margin-bottom: -0.09em; }
html.js .hero h1.wsplit .wi { display: inline-block; transform: translateY(115%);
  animation: word-rise 720ms var(--ease-out) both; animation-delay: calc(300ms + var(--i, 0) * 42ms); }
html.js .hero-stage { animation: fade-only 500ms ease both; }

/* Défilement : parallaxe douce dans la mosaïque, envol du hero
   (uniquement si le navigateur anime sur le compositeur, sans JS) */
@supports (animation-timeline: view()) {
  @media (min-width: 640px) and (prefers-reduced-motion: no-preference) {
    .mosaic figure .fig-frame img { height: 118%; animation: mosaic-drift linear both; animation-timeline: view(); animation-range: entry 15% exit 85%; }
  }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-inner { animation: hero-leave linear both; animation-timeline: view(); animation-range: exit 10% exit 75%; }
  }
}

/* Apparitions au défilement : fondu + montée + mise au point */
html.js .reveal { opacity: 0; transform: translateY(26px); filter: blur(7px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out), filter var(--dur-reveal) var(--ease-out); }
html.js .reveal[data-visible] { opacity: 1; transform: none; filter: none; }
/* Images : rideau + léger recul de zoom (via `scale`, indépendant du survol) */
html.js .reveal-clip .fig-frame { clip-path: inset(0 0 100% 0 round var(--r-media)); transition: clip-path var(--dur-clip) var(--ease-in-out); transition-delay: calc(var(--i, 0) * var(--stagger)); }
html.js .reveal-clip[data-visible] .fig-frame { clip-path: inset(0 round var(--r-media)); }
html.js .reveal-clip img { scale: 1.12;
  transition: scale calc(var(--dur-clip) + 250ms) var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger)), 0s; }
html.js .reveal-clip[data-visible] img { scale: 1; }
/* Listes : cascade resserrée */
html.js .reveal-list > * { opacity: 0; transform: translateY(16px); filter: blur(4px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out), filter 620ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
html.js .reveal-list[data-visible] > * { opacity: 1; transform: none; filter: none; }

/* ── MOUVEMENT RÉDUIT ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Hero : première photo fixe, pas de Ken Burns ni de cascades */
  html.js .hero [data-rise], html.js .hero h1[data-rise], html.js .hero-stage { animation: fade-only 300ms ease both; animation-delay: 0ms; }
  html.js .hero-media { animation: none; }
  html.js .hero h1.wsplit .w { display: inline; overflow: visible; padding: 0; margin: 0; }
  html.js .hero h1.wsplit .wi { display: inline; transform: none; animation: none; }
  .marquee-track { animation: none; }
  .hero-slide { animation: none; opacity: 0; }
  .hero-slide:first-child { opacity: 1; }
  .hero-slide img, .hero-slide:nth-child(even) img { animation: none; transform: none; }
  .hero-dot, .hero-scroll-line::after { animation: none; }
  html.js .reveal, html.js .reveal-list > * { transform: none; filter: none; transition: opacity 250ms ease; transition-delay: 0ms; }
  html.js .reveal-clip .fig-frame { clip-path: none; opacity: 0; transition: opacity 250ms ease; transition-delay: 0ms; }
  html.js .reveal-clip[data-visible] .fig-frame { opacity: 1; }
  html.js .reveal-clip img { scale: none; transition: none; }
  .nav-link::after, .plus, .resume, .lb-stage, .menu, .menu-list li, .fig, .fig .fig-frame img, .btn, .btn-orb { transition-duration: 0ms; }
  .acc-panel { transition: none; }
  .acc-inner { transition: opacity 150ms ease; }
  .bar { transition: opacity 200ms ease, visibility 0s linear 200ms; transform: none; opacity: 0; visibility: hidden; }
  .bar[data-visible] { opacity: 1; visibility: visible; transition: opacity 200ms ease; }
  :root:has(dialog[open]) .bar { opacity: 0; visibility: hidden; transform: none; }
  html.js .lightbox .lb-stage { transform: none; }
}
