/* =========================================================================
   Sillon, table gastronomique : feuille de styles commune aux sept pages.
   Palette encre, os, poussière et blé; Instrument Serif + Geist.
   Toutes les animations passent par transform, opacity et filter.
   ========================================================================= */

/* ---------- Polices (fichiers locaux) ---------- */
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../polices/instrument-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../polices/instrument-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../polices/instrument-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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../polices/instrument-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Geist'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(../polices/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(../polices/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Jetons ---------- */
:root {
  --encre: #121312;
  --encre2: #1B1C1A;
  --os: #EDE6D8;
  --poussiere: #A7A193;
  --ble: #C8A46A;
  --ble-clair: #DDBE88;
  --ardoise: #20262E;
  --noyer: #2A1D14;
  --lin-clair: #E8E1D5;
  --complet: #5A5850;
  --trait: rgba(237, 230, 216, .16);
  --trait-fort: rgba(237, 230, 216, .32);
  --sortie: cubic-bezier(.16, 1, .3, 1);
  --ressort: cubic-bezier(.34, 1.4, .64, 1);
  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --marge: 40px;
  --large: 1280px;
  --flou: 10px;
  color-scheme: dark;
}
@media (max-width: 767px) { :root { --marge: 20px; --flou: 6px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--encre); color: var(--os);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (max-width: 767px) { body { font-size: 15px; } }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
.serif { font-family: var(--serif); font-weight: 400; }
.titre { font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.02em; }
.titre em { font-style: italic; }
.titre-section { font-size: clamp(56px, 6.7vw, 96px); }
.titre-moyen { font-size: clamp(40px, 4.4vw, 64px); }
.etiquette { font-size: 13px; letter-spacing: .02em; color: var(--poussiere); }
.attenue { color: var(--poussiere); }
.cadre { width: min(100% - 2 * var(--marge), var(--large)); margin-inline: auto; }
.cache-visuel { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--os); color: var(--encre); padding: 12px 16px; border-radius: 999px; transition: top .3s var(--sortie); }
.evitement:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ble); outline-offset: 3px; }
::selection { background: var(--ble); color: var(--encre); }
.cell-seul { display: none; }
@media (max-width: 767px) { .ordi-seul { display: none !important; } .cell-seul { display: revert; } }

/* ---------- Boutons ---------- */
.bouton {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 999px; white-space: nowrap;
  font-family: var(--sans); font-weight: 500; font-size: 15px; line-height: 1;
  overflow: hidden; isolation: isolate; transition: color .5s var(--sortie), background-color .5s var(--sortie), border-color .5s var(--sortie), opacity .3s;
}
.bouton-plein { background: var(--os); color: var(--encre); }
.bouton-plein:hover { background: var(--ble); }
.bouton-contour { border: 1px solid var(--os); color: var(--os); }
.bouton-contour::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--os);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--sortie);
}
.bouton-contour:hover { color: var(--encre); }
.bouton-contour:hover::before { transform: scaleY(1); }
.bouton-sombre { background: var(--encre); color: var(--os); }
.bouton-sombre:hover { background: var(--noyer); }
.bouton[disabled], .bouton[aria-disabled="true"] { opacity: .45; pointer-events: none; }
@media (hover: none) { .bouton-contour:hover { color: var(--os); } .bouton-contour:hover::before { transform: scaleY(0); } .bouton-plein:hover { background: var(--os); } .bouton-contour:active::before { transform: scaleY(1); } .bouton-contour:active { color: var(--encre); } }

/* Puces (invités, montants, dispositions) */
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; height: 38px; padding: 0 15px;
  border-radius: 999px; border: 1px solid rgba(237, 230, 216, .3); font-size: 14px; line-height: 1;
  transition: background-color .4s var(--sortie), color .4s var(--sortie), border-color .4s var(--sortie);
}
.puce:hover { border-color: var(--os); }
.puce[aria-pressed="true"], .puce[aria-checked="true"], .puce.actif { background: var(--os); color: var(--encre); border-color: var(--os); }
.puce svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.puce-info { border-color: var(--trait-fort); cursor: default; }
.puce-info:hover { border-color: var(--trait-fort); }

/* Interrupteur d'accord */
.interrupteur { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 500; text-align: left; }
.interrupteur-piste { position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px; background: #4A4A46; transition: background-color .4s var(--sortie); }
.interrupteur-curseur { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--os); transition: transform .4s var(--sortie); box-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.interrupteur[aria-checked="true"] .interrupteur-piste { background: var(--ble); }
.interrupteur[aria-checked="true"] .interrupteur-curseur { transform: translateX(16px); }
.interrupteur .supp { color: var(--ble); font-weight: 400; margin-left: 2px; }
.interrupteur:active .interrupteur-curseur { width: 19px; }

/* Changement de texte avec un fondu flou */
[data-accord-texte], .fondu-txt { display: inline-block; transition: opacity .25s var(--sortie), filter .25s var(--sortie), transform .25s var(--sortie); }
.change { opacity: 0 !important; filter: blur(6px); transform: translateY(3px); }

/* Pastille d'aide en verre dépoli */
.pastille {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 16px 8px 12px; border-radius: 22px; max-width: 100%; line-height: 1.3; text-align: left;
  background: rgba(18, 19, 18, .55); border: 1px solid rgba(237, 230, 216, .35);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); font-size: 14px; font-weight: 500; overflow-wrap: anywhere;
}
.pastille svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pastille-petite { min-height: 30px; font-size: 12px; font-weight: 400; color: var(--poussiere); padding: 6px 12px; }
.pastille-bouton { pointer-events: auto; cursor: pointer; color: var(--os); transition: background-color .3s, border-color .3s; }
.pastille-bouton b { font-weight: 500; }
.pastille-bouton > span > span { color: var(--poussiere); }
.pastille-bouton:hover { background: rgba(18, 19, 18, .8); border-color: var(--os); }
@media (max-width: 767px) { .pastille-bouton { min-height: 44px; font-size: 13px; } }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto; z-index: 40; height: 82px; padding: 0 var(--marge);
  display: flex; align-items: center; gap: 26px;
  background: linear-gradient(to bottom, rgba(18, 19, 18, .82), rgba(18, 19, 18, 0));
  transition: background-color .4s, box-shadow .4s;
}
.sous-page .entete { background: linear-gradient(to bottom, rgba(18, 19, 18, .96), rgba(18, 19, 18, .7)); box-shadow: inset 0 -1px 0 rgba(237, 230, 216, .9); }
.entete.defile { background-color: rgba(18, 19, 18, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.logo { position: relative; display: inline-block; color: var(--ble); margin-right: auto; padding: 5px 0 9px; min-height: 44px; }
.logo-mot { font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1; letter-spacing: -.01em; display: inline-block; }
.logo-i { position: relative; display: inline-block; }
.logo-grain { position: absolute; left: 52%; top: .13em; width: .13em; height: .2em; border-radius: 50%; background: currentColor; transform: translateX(-50%) rotate(30deg); }
.logo-sillon { position: absolute; left: 2%; right: 2%; bottom: 0; width: 96%; height: 9px; overflow: visible; }
.logo-sillon path { fill: none; stroke: currentColor; stroke-width: 1.25; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: sillon 1.2s var(--sortie) .3s forwards; }
@keyframes sillon { to { stroke-dashoffset: 0; } }
@media (hover: hover) { .logo:hover .logo-sillon path { animation: sillon-re 1.2s var(--sortie) forwards; } }
@keyframes sillon-re { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; transition: color .4s var(--sortie); text-shadow: 0 1px 10px rgba(0, 0, 0, .75), 0 0 2px rgba(0, 0, 0, .5); }
.nav a:hover { color: var(--ble-clair); }
.nav a[aria-current="page"], .tiroir-nav a[aria-current="page"] { color: var(--ble); }
.entete-reserver .cell { display: none; }
.bouton-tiroir { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--os); }
.bouton-tiroir span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--os); transition: transform .5s var(--sortie); }
.bouton-tiroir span:first-child { top: 18px; }
.bouton-tiroir span:last-child { top: 24px; }
.tiroir-ouvert .bouton-tiroir span:first-child { transform: translateY(3px) rotate(45deg); }
.tiroir-ouvert .bouton-tiroir span:last-child { transform: translateY(-3px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav { display: none; }
  .bouton-tiroir { display: block; }
  .entete { gap: 10px; height: 72px; }
  .entete-reserver { height: 44px; padding: 0 20px; }
}
@media (max-width: 767px) {
  .entete-reserver .ordi { display: none; }
  .entete-reserver .cell { display: inline; }
  .logo-mot { font-size: 30px; }
}

/* ---------- Tiroir cellulaire ---------- */
.tiroir {
  position: fixed; inset: 0; z-index: 35; background: var(--encre);
  background-image: radial-gradient(60% 45% at 50% 48%, rgba(237, 230, 216, .08), transparent 70%);
  display: flex; flex-direction: column; padding: 110px var(--marge) 32px;
  clip-path: circle(0 at var(--ox, calc(100% - 42px)) var(--oy, 36px)); visibility: hidden;
  transition: clip-path .6s var(--sortie), visibility 0s .6s;
}
.tiroir.ouvert { clip-path: circle(150% at var(--ox, calc(100% - 42px)) var(--oy, 36px)); visibility: visible; transition: clip-path .6s var(--sortie), visibility 0s; }
.tiroir-nav { display: flex; flex-direction: column; gap: 6px; margin-bottom: auto; }
.tiroir-nav a { display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-size: 40px; line-height: 1.15; padding: 6px 0; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--sortie), transform .6s var(--sortie); }
.tiroir-nav img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.tiroir.ouvert .tiroir-nav a { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .06s); }
.tiroir .bouton { align-self: flex-start; margin: 24px 0 18px; }
.tiroir-adresse { font-size: 13px; color: var(--poussiere); }

/* ---------- Pied de page ---------- */
main { position: relative; z-index: 1; background: var(--encre); }
.pied { position: relative; z-index: 0; background: var(--encre); padding: 72px 0 26px; }
.pied.revele { position: sticky; bottom: 0; }
.pied-inner { width: min(100% - 240px, 1200px); margin-inline: auto; border-top: 1px solid var(--trait-fort); padding-top: 34px; }
.pied-colonnes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; font-size: 14px; line-height: 1.75; }
.pied-colonnes h2 { font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--poussiere); margin-bottom: 10px; letter-spacing: .02em; }
.pied-colonnes a { transition: color .3s; }
.pied-colonnes a:hover, .pied-droits a:hover { color: var(--ble-clair); }
.pied-colonnes a[aria-current="page"] { color: var(--ble); }
.pied-mot { position: relative; font-family: var(--serif); font-style: italic; color: var(--os); text-align: center; font-size: clamp(120px, 21vw, 300px); line-height: .9; letter-spacing: -.02em; margin: 40px 0 26px; }
.pied-mot svg { position: absolute; left: 22%; right: 22%; bottom: 2%; width: 56%; height: 24px; overflow: visible; }
.pied-mot path { fill: none; stroke: var(--ble); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.demo { font-size: 13px; color: var(--poussiere); text-align: center; margin-bottom: 18px; }
.demo a { color: var(--os); text-decoration: underline; text-underline-offset: 3px; }
.pied-droits { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--poussiere); border-top: 1px solid var(--trait); padding-top: 16px; }
.pied-droits nav { display: flex; gap: 6px; }
@media (max-width: 960px) { .pied-inner { width: min(100% - 2 * var(--marge), 1200px); } }
@media (max-width: 767px) {
  .pied { padding-top: 56px; }
  .pied-colonnes { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .pied-mot { font-size: 30vw; margin: 34px 0 20px; }
  .pied-droits { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------- Apparitions ---------- */
.js [data-revele] { opacity: 0; transform: translateY(16px); filter: blur(var(--flou)); transition: opacity 1s var(--sortie), transform 1.1s var(--sortie), filter 1s var(--sortie); transition-delay: calc(var(--d, 0) * .1s); }
.js [data-revele].vu { opacity: 1; transform: none; filter: none; }
.lettre { display: inline-block; opacity: 0; filter: blur(var(--flou)); transform: translateY(.12em); transition: opacity .9s var(--sortie), filter .9s var(--sortie), transform 1s var(--sortie); transition-delay: calc(var(--l) * 22ms); }
.mot { display: inline-block; white-space: nowrap; }
.lettres-vues .lettre { opacity: 1; filter: none; transform: none; }

/* =========================================================================
   ACCUEIL
   ========================================================================= */
.rideau { position: relative; isolation: isolate; }
.rideau > section { position: relative; z-index: 1; }
.rideau > .heros { position: sticky; top: 0; z-index: 0; }

/* ---------- Héros : la table ---------- */
.heros { height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--ardoise); }
.heros-fond, .heros-fond img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heros-fond { opacity: 0; transition: opacity 1.2s var(--sortie); }
.heros.pret .heros-fond { opacity: 1; }
.heros-voile { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 90% at 75% 50%, transparent, rgba(12, 13, 14, .55)), linear-gradient(to right, rgba(14, 16, 18, .72), rgba(14, 16, 18, .1) 55%, transparent); }

.table-scene { position: absolute; inset: 0; z-index: 1; touch-action: pan-y; outline: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.table-scene:focus-visible .table-disque { outline: 2px solid var(--ble); outline-offset: 8px; }
.table-scene.saisie { cursor: grabbing !important; }
.table-scene.survol { cursor: grab; }
.table-entree { position: absolute; left: var(--cx); top: var(--cy); width: 0; height: 0; }
.js .heros:not(.pret) .table-entree { opacity: 0; transform: translateX(22vw) rotate(-35deg); }
.heros.pret .table-entree { transition: transform 2.4s var(--sortie) .2s, opacity 1.4s var(--sortie) .2s; }
.table-disque { position: absolute; left: calc(var(--D) / -2); top: calc(var(--D) / -2); width: var(--D); height: var(--D); border-radius: 50%; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .4); will-change: transform; background: var(--noyer); }
.table-disque img { width: 100%; height: 100%; object-fit: cover; }
/* Lumière fixe posée sur le bois qui tourne (amélioration 1) */
.table-lumiere { position: absolute; left: calc(var(--D) / -2); top: calc(var(--D) / -2); width: var(--D); height: var(--D); border-radius: 50%; pointer-events: none;
  background: radial-gradient(42% 42% at 33% 30%, rgba(255, 214, 160, .13), transparent 70%), radial-gradient(closest-side, transparent 82%, rgba(0, 0, 0, .35)); }
.porteur { position: absolute; left: calc(var(--S) / -2); top: calc(var(--S) / -2); width: var(--S); height: var(--S); will-change: transform; }
.porteur::before { content: ''; position: absolute; inset: 3%; border-radius: 50%; box-shadow: 10px 22px 34px rgba(0, 0, 0, .55), 2px 6px 10px rgba(0, 0, 0, .35); }
.porteur-pop { position: absolute; inset: 0; transition: transform 1.1s var(--sortie), opacity .8s var(--sortie); transition-delay: calc(.6s + var(--i) * .12s); }
.js .heros:not(.pret) .porteur-pop { transform: scale(1.12); opacity: 0; }
.assiette-img { width: 100%; height: 100%; border-radius: 50%; will-change: transform; pointer-events: none; }

.heros-texte { position: absolute; z-index: 2; left: 72px; top: 50%; transform: translateY(-46%); width: var(--texte-max, 560px); max-width: 560px; }
.compteur { display: flex; align-items: center; gap: 16px; font-size: 15px; color: var(--poussiere); margin-bottom: 22px; }
.compteur-traits { display: flex; gap: 5px; }
.compteur-trait { position: relative; width: 18px; height: 16px; }
.compteur-trait::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: rgba(237, 230, 216, .22); }
.compteur-trait::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: var(--os); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--sortie); }
.compteur-trait.plein::after { transform: scaleX(1); }
.compteur-trait:hover::before { background: rgba(237, 230, 216, .5); }
.compteur-trait.tic::after { animation: tic .3s var(--sortie); }
@keyframes tic { 50% { transform: scaleX(1) scaleY(1.8); } }
.heros-tete { display: flex; flex-direction: column; justify-content: flex-end; }
.heros-titre { display: grid; align-content: end; font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 5.3vw, 76px); line-height: .98; letter-spacing: -.02em; margin-bottom: 22px; }
.heros-titre em { font-style: italic; }
.titre-couche { grid-area: 1 / 1; transition: opacity .9s var(--sortie), transform .9s var(--sortie), filter .9s var(--sortie); }
.titre-couche.entrant { opacity: 0; transform: translateY(16px); filter: blur(var(--flou)); transition: none; }
.titre-couche.sortant { opacity: 0; transform: translateY(-8px); filter: blur(8px); transition-duration: .45s; }
.heros-desc { display: grid; max-width: 400px; font-size: 17px; line-height: 1.55; margin-bottom: 8px; }
.heros-desc .titre-couche.entrant { transform: none; }
.heros-desc .titre-couche.sortant { transform: none; }
.heros-jumelage { font-size: 14px; color: var(--poussiere); margin-bottom: 28px; min-height: 1.5em; }
.heros-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 22px; }
.heros-prix { font-size: 15px; color: var(--poussiere); }
.heros-aide { position: absolute; z-index: 2; left: var(--marge); bottom: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; pointer-events: none; }
.statut-soir { font-size: 12px; color: var(--poussiere); padding-left: 14px; display: flex; align-items: center; gap: 8px; }
.statut-soir::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ble); box-shadow: 0 0 0 0 rgba(200, 164, 106, .6); animation: pouls 2.4s infinite; }
.statut-soir.ferme::before { background: var(--complet); animation: none; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(200, 164, 106, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(200, 164, 106, 0); } }
/* Entrée échelonnée du texte */
.js .heros [data-entree] { opacity: 0; transform: translateY(24px); filter: blur(var(--flou)); }
.heros.pret [data-entree] { opacity: 1; transform: none; filter: none; transition: opacity 1.1s var(--sortie), transform 1.2s var(--sortie), filter 1.1s var(--sortie); transition-delay: var(--t); }

/* Disposition « cellulaire » de la table (largeur < 768 ou écran en portrait) */
.heros.portrait .heros-texte { left: var(--marge); right: var(--marge); top: 96px; transform: none; width: auto; max-width: 560px; }
.heros.portrait .heros-titre { font-size: clamp(34px, 10.4vw, 52px); margin-bottom: 14px; }
.heros.portrait .heros-desc { font-size: 15px; margin-bottom: 16px; }
.heros.portrait .heros-jumelage, .heros.portrait .heros-prix { display: none; }
.heros.portrait .heros-actions { gap: 14px 18px; }
.heros.portrait .compteur { margin-bottom: 14px; }
.heros.portrait .heros-aide { left: var(--marge); right: var(--marge); bottom: 22px; align-items: center; text-align: center; }
.heros.portrait .statut-soir { padding-left: 0; }
.js .heros.portrait:not(.pret) .table-entree { transform: translateY(16vh) rotate(-35deg); }
.heros.portrait .heros-voile { background: linear-gradient(to bottom, rgba(14, 16, 18, .75), rgba(14, 16, 18, .25) 45%, transparent 60%); }
@media (max-width: 767px) and (max-height: 700px) { .heros.portrait .heros-desc { display: none; } }

/* ---------- Énoncé ---------- */
.enonce { background: var(--encre); padding: 170px 0 0; }
.enonce-phrase { font-family: var(--serif); font-size: clamp(46px, 7.8vw, 112px); line-height: 1.02; letter-spacing: -.025em; max-width: 1180px; }
.enonce-phrase em { font-style: italic; }
.enonce-img { display: inline-block; vertical-align: -.14em; margin: 0 .08em; opacity: 0; transform: scale(.7) rotate(-14deg); transition: opacity 1s var(--sortie) .4s, transform 1.2s var(--sortie) .4s; }
.lettres-vues .enonce-img { opacity: 1; transform: none; }
.enonce-rond { width: 1.07em; height: 1.07em; border-radius: 50%; box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
.enonce-ovale { width: 1.96em; height: 1.07em; border-radius: 999px; object-fit: cover; }
.signature { display: flex; align-items: center; gap: 18px; margin-top: 64px; flex-wrap: wrap; }
.signature img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.signature-nom { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.1; }
.signature-role { font-size: 14px; color: var(--poussiere); }
.signature .bouton { margin-left: 18px; }
.enonce-trait { height: 1px; background: var(--trait-fort); margin-top: 110px; }
@media (max-width: 767px) {
  .enonce { padding-top: 96px; }
  .enonce-phrase { font-size: 46px; line-height: 1.05; }
  .enonce-ovale { width: 1.8em; }
  .signature { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 40px; }
  .signature .bouton { margin: 12px 0 0; }
  .enonce-trait { margin-top: 72px; }
}

/* ---------- Ce soir ---------- */
.ce-soir { background: var(--encre2); padding: 140px 0; }
.ce-soir-grille { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 840px); gap: 60px; align-items: start; }
.ce-soir-gauche { position: sticky; top: 120px; }
.ce-soir-titre { font-family: var(--serif); font-style: italic; font-size: clamp(64px, 7.4vw, 108px); line-height: .95; letter-spacing: -.02em; margin-bottom: 30px; }
.ce-soir-texte { max-width: 380px; margin-bottom: 26px; }
.prix-ligne { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.prix-gros { font-family: var(--serif); font-size: 64px; line-height: 1; letter-spacing: -.02em; }
.ce-soir-gauche .interrupteur { margin-bottom: 26px; }
.soir-liste { border-top: 1px solid transparent; }
.soir-ligne { position: relative; display: grid; grid-template-columns: 88px 1fr; padding: 28px 0 30px; border-bottom: 1px solid rgba(237, 230, 216, .85); transition: opacity .5s var(--sortie); }
.soir-romain { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--poussiere); padding-top: 8px; }
.soir-plat { display: block; font-family: var(--serif); font-size: 32px; line-height: 1.12; letter-spacing: -.01em; }
.soir-plat em { font-style: italic; }
.soir-jumelage { display: block; font-size: 15px; color: var(--poussiere); margin-top: 6px; }
.soir-liste.sourd .soir-ligne { opacity: .5; }
.soir-liste.sourd .soir-ligne.actif { opacity: 1; }
.soir-mini { display: none; }
/* Assiette qui suit le curseur (ordinateur) */
.assiette-suiveuse { position: fixed; left: 0; top: 0; z-index: 50; width: 260px; height: 260px; margin: -130px 0 0 -130px; pointer-events: none; opacity: 0; will-change: transform; }
.assiette-suiveuse-int { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 30px 50px rgba(0, 0, 0, .55); transform: rotate(-20deg) scale(.6); transition: transform .9s var(--sortie), opacity .5s; }
.assiette-suiveuse.visible { opacity: 1; transition: opacity .4s var(--sortie); }
.assiette-suiveuse.visible .assiette-suiveuse-int { transform: rotate(-8deg) scale(1); }
.assiette-suiveuse:not(.visible) { transition: opacity .45s var(--sortie); }
.assiette-suiveuse img { width: 100%; height: 100%; border-radius: 50%; }
@media (max-width: 960px) {
  .ce-soir { padding: 96px 0; }
  .ce-soir-grille { grid-template-columns: 1fr; gap: 40px; }
  .ce-soir-gauche { position: static; }
  .soir-ligne { grid-template-columns: 52px 1fr 76px; padding: 22px 0 24px; align-items: center; }
  .soir-romain { padding-top: 0; align-self: start; padding-top: 4px; }
  .soir-plat { font-size: 24px; }
  .soir-mini { display: block; width: 72px; height: 72px; border-radius: 50%; justify-self: end; opacity: 0; transform: translateX(-14px) rotate(-20deg) scale(.7); transition: opacity .6s var(--sortie), transform .9s var(--sortie); box-shadow: 0 12px 22px rgba(0, 0, 0, .5); }
  .soir-ligne.actif .soir-mini { opacity: 1; transform: rotate(-8deg); }
}
@media (max-width: 767px) { .ce-soir-titre { font-size: 64px; } .prix-gros { font-size: 56px; } .soir-ligne { grid-template-columns: 40px 1fr 72px; } }

/* ---------- Cuisine ---------- */
.cuisine { position: relative; background: #0d0c0b; overflow: hidden; min-height: 620px; height: min(56.25vw, 100svh); }
.cuisine-fond { position: absolute; inset: 0; }
.cuisine-fond img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.8s var(--sortie); }
.cuisine.vu .cuisine-fond img { transform: scale(1); }
.cuisine::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 9, 8, .85), rgba(10, 9, 8, .1) 55%), linear-gradient(to right, rgba(10, 9, 8, .4), transparent 50%); pointer-events: none; }
.cuisine-texte { position: absolute; z-index: 2; left: var(--marge); bottom: 56px; max-width: 520px; }
.cuisine-texte p { font-size: 17px; margin-bottom: 22px; }
.cuisine-titre { display: none; }
.cuisine-incline { position: absolute; z-index: 2; right: 9%; top: 50%; width: 340px; height: 450px; margin-top: -225px; }
.cuisine-incline img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; transform: rotate(3deg) translateY(var(--para, 0px)); box-shadow: 0 40px 70px rgba(0, 0, 0, .65); }
@media (max-width: 767px) {
  .cuisine { height: auto; min-height: 0; padding: 0 0 48px; background: var(--encre); }
  .cuisine-fond { position: relative; height: 128vw; }
  .cuisine::after { height: 128vw; bottom: auto; }
  .cuisine-titre { display: block; position: absolute; z-index: 2; left: var(--marge); right: 40%; top: 96px; font-size: 40px; }
  .cuisine-incline { width: 150px; height: 200px; right: var(--marge); top: calc(128vw - 150px); margin: 0; }
  .cuisine-texte { position: relative; left: auto; bottom: auto; padding: 72px var(--marge) 0; }
}

/* ---------- Fenêtre embuée ---------- */
.fenetre { position: sticky !important; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #141a21; touch-action: pan-y; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.fenetre + section { margin-top: 60vh; margin-top: 60svh; }
.fenetre-photo, .fenetre-photo img, .fenetre canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fenetre-photo img { object-fit: cover; }
.fenetre canvas { z-index: 1; }
.fenetre-texte { position: absolute; z-index: 2; left: 50%; top: 56%; transform: translateX(-50%); text-align: center; width: min(100% - 40px, 640px); pointer-events: none; }
.fenetre-texte p { font-size: 17px; font-weight: 500; margin-bottom: 22px; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.fenetre-texte .bouton { pointer-events: auto; background: rgba(18, 19, 18, .3); }
.fenetre-mot-repli { display: none; position: absolute; z-index: 2; left: 0; right: 0; top: 16%; text-align: center; font-family: var(--serif); font-style: italic; font-size: 22vw; line-height: 1; color: rgba(232, 196, 140, .55); pointer-events: none; }
.fenetre-aide { position: absolute; z-index: 2; left: var(--marge); bottom: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; pointer-events: none; }
.sans-buee .fenetre-mot-repli { display: block; }
.sans-buee .fenetre-aide { display: none; }
@media (max-width: 767px) { .fenetre-aide { left: var(--marge); right: var(--marge); bottom: 22px; align-items: center; } .fenetre-texte { top: 42%; } .fenetre-texte p { font-size: clamp(15px, 4.4vw, 17px); } }

/* ---------- La Voûte et cartes-cadeaux ---------- */
.annonces { background: var(--encre); padding: 140px 0; }
.annonces-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.annonce-media { position: relative; aspect-ratio: 4 / 4.5; border-radius: 4px; overflow: hidden; background: var(--encre2); }
.annonce-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--sortie); }
.annonce:hover .annonce-media > img { transform: scale(1.03); }
.annonce-tete { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 30px 0 16px; }
.annonce-tete h2 { font-size: clamp(40px, 3.6vw, 52px); }
.annonce p { max-width: 520px; margin-bottom: 22px; }
.scene-lin { border: 1px solid rgba(237, 230, 216, .7); }
.scene-lin > img { position: absolute; inset: 0; }
@media (max-width: 960px) { .annonces-grille { grid-template-columns: 1fr; gap: 72px; } .annonces { padding: 96px 0; } }
@media (max-width: 767px) { .annonce-media { aspect-ratio: 4 / 4.4; } .annonce-tete { flex-direction: column; align-items: flex-start; } }

/* ---------- Carte-cadeau 3D (accueil et page) ---------- */
.scene-3d { position: absolute; inset: 0; display: grid; place-items: center; perspective: 900px; touch-action: pan-y; }
.carte-incline { width: min(72%, 440px); aspect-ratio: 1.586; transform-style: preserve-3d; transform: rotate(var(--repos, -6deg)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; }
.carte { position: relative; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; padding: 6% 7%; display: flex; flex-direction: column; color: var(--ble); box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .4); container-type: inline-size; }
.carte::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(200, 164, 106, .7); pointer-events: none; }
.carte-noyer { background: var(--noyer) url(../img/carte-noyer.webp) center / cover; }
.carte-noyer::before { content: ''; position: absolute; inset: 0; background: rgba(42, 29, 20, .35); }
.carte-lin { background-color: var(--lin-clair); background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, .025) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .025) 0 1px, transparent 1px 3px); color: #3a2f22; }
.carte-lin::after { box-shadow: inset 0 0 0 1px rgba(58, 47, 34, .35); }
.carte-nuit { background: linear-gradient(140deg, #2B2F36, #14171B); color: var(--os); }
.carte-nuit .etoiles { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 12% 22%, #fff8 50%, transparent), radial-gradient(1px 1px at 33% 64%, #fff6 50%, transparent), radial-gradient(1.5px 1.5px at 72% 18%, #fff9 50%, transparent), radial-gradient(1px 1px at 86% 70%, #fff7 50%, transparent), radial-gradient(1px 1px at 55% 40%, #fff5 50%, transparent), radial-gradient(1px 1px at 22% 84%, #fff6 50%, transparent), radial-gradient(1px 1px at 64% 86%, #fff5 50%, transparent), radial-gradient(1.5px 1.5px at 92% 38%, #fff8 50%, transparent), radial-gradient(1px 1px at 44% 12%, #fff6 50%, transparent), radial-gradient(1px 1px at 8% 56%, #fff5 50%, transparent); }
.carte > * { position: relative; z-index: 1; }
.carte-haut { display: flex; justify-content: space-between; align-items: flex-start; }
.carte-logo { font-family: var(--serif); font-style: italic; font-size: 9.5cqw; line-height: 1; }
.carte-no { font-size: 3.2cqw; letter-spacing: .04em; margin-top: 1.5cqw; }
.carte-bas { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.carte-titre { font-family: var(--serif); font-style: italic; font-size: 5.2cqw; line-height: 1.1; }
.carte-sous { font-size: 3.2cqw; opacity: .85; margin-top: 1cqw; }
.carte-montant { font-family: var(--serif); font-size: 8.4cqw; line-height: 1; transition: opacity .3s var(--sortie), filter .3s var(--sortie); }
.carte-montant.change, .carte-titre.change, .carte-sous.change { opacity: 0; filter: blur(6px); }
.carte-titre, .carte-sous { transition: opacity .3s var(--sortie), filter .3s var(--sortie); }
.carte-msg { font-family: var(--serif); font-style: italic; font-size: 6.4cqw; line-height: 1.2; margin: auto 0; max-width: 90%; overflow-wrap: anywhere; }
.carte-signe { font-size: 3.4cqw; opacity: .8; }
.carte-reflet { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; overflow: hidden; mix-blend-mode: soft-light; }
.carte-reflet::before { content: ''; position: absolute; top: -20%; bottom: -20%; left: 0; width: 55%; background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%); transform: translateX(var(--reflet, -130%)); }
.carte-incline.balaye .carte-reflet::before { transition: transform 1.4s var(--sortie); }

/* ---------- Réserver (bloc de l'accueil) ---------- */
.reserver-bloc { position: relative; padding: 150px 0; overflow: hidden; background: var(--ardoise); }
.reserver-bloc > .fond-lin { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.reserver-bloc::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(14, 16, 18, .65), rgba(14, 16, 18, .2)); }
.reserver-grille { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 60px; align-items: center; }
.reserver-grille .titre { margin-bottom: 26px; }
.reserver-grille p { max-width: 420px; }
@media (max-width: 960px) { .reserver-grille { grid-template-columns: 1fr; gap: 40px; } .reserver-bloc { padding: 96px 0; } }

/* ---------- Widget de réservation ---------- */
.resa { border-radius: 20px; padding: 26px; background: rgba(18, 19, 18, .62); border: 1px solid rgba(237, 230, 216, .22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.resa-bloc { margin-bottom: 22px; }
.resa-etiquette { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--poussiere); margin-bottom: 10px; }
.resa-aide { font-size: 13px; color: var(--poussiere); margin-top: 10px; }
.resa-dates { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.jeton { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; height: 64px; border-radius: 12px; border: 1px solid rgba(237, 230, 216, .25); transition: background-color .4s var(--sortie), color .4s var(--sortie), border-color .4s; }
.jeton:hover { border-color: var(--os); }
.jeton small { font-size: 11px; color: var(--poussiere); text-transform: lowercase; transition: color .4s; }
.jeton b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1; }
.jeton[aria-pressed="true"] { background: var(--os); color: var(--encre); border-color: var(--os); }
.jeton[aria-pressed="true"] small { color: #5a554c; }
.point { width: 5px; height: 5px; border-radius: 50%; background: var(--ble); }
.point.attente { background: var(--os); }
.jeton[aria-pressed="true"] .point.attente { background: var(--encre); }
.resa-heures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; transition: opacity .6s var(--sortie), transform .6s var(--sortie); }
.resa-heures.glisse { opacity: 0; transform: translateY(16px); transition: none; }
.heure { position: relative; height: 40px; border-radius: 999px; border: 1px solid rgba(237, 230, 216, .3); font-size: 14px; transition: background-color .4s var(--sortie), color .4s var(--sortie), border-color .4s; }
.heure:hover { border-color: var(--os); }
.heure[aria-pressed="true"] { background: var(--os); color: var(--encre); border-color: var(--os); }
.heure.complet { color: var(--complet); border-color: rgba(90, 88, 80, .5); text-decoration: line-through; cursor: not-allowed; }
.heure.complet:hover { border-color: rgba(90, 88, 80, .5); }
.heure.complet::after { content: 'Complet'; position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; background: var(--encre2); color: var(--poussiere); font-size: 12px; text-decoration: none; opacity: 0; transition: opacity .3s; }
@media (hover: hover) { .heure.complet:hover::after { opacity: 1; } }
.resa-bas { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--trait-fort); padding-top: 18px; }
.resa-resume { font-size: 14px; line-height: 1.45; }
.resa-resume b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.resa-erreur { color: #e7a58f; font-size: 13px; margin-top: 10px; min-height: 0; }
.resa .bouton-plein:hover { background: var(--ble); }
.resa-confirmation { text-align: left; padding: 10px 0; }
.resa-confirmation .serif { font-size: 30px; line-height: 1.1; margin-bottom: 12px; }
.resa-confirmation p { margin-bottom: 20px; }
.calendrier-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.calendrier-mois { font-family: var(--serif); font-size: 22px; text-transform: capitalize; }
.calendrier-fleches { display: flex; gap: 4px; }
.calendrier-fleches button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; transition: background-color .3s; }
.calendrier-fleches button:hover:not([disabled]) { background: rgba(237, 230, 216, .1); }
.calendrier-fleches button[disabled] { opacity: .3; cursor: default; }
.calendrier-fleches svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.calendrier { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.calendrier .jour-nom { font-size: 11px; color: var(--poussiere); padding: 4px 0 8px; }
.jour { position: relative; height: 46px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 14px; transition: background-color .3s var(--sortie), color .3s; }
.jour:hover:not([disabled]) { background: rgba(237, 230, 216, .1); }
.jour[disabled] { color: var(--complet); cursor: default; }
.jour[aria-pressed="true"] { background: var(--os); color: var(--encre); }
.jour[aria-pressed="true"] .point.attente { background: var(--encre); }
.jour .point { margin-top: 1px; }
.legende { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--poussiere); margin-top: 10px; }
.legende span { display: inline-flex; align-items: center; gap: 6px; }
.legende .point.ferme { background: var(--complet); }
@media (max-width: 767px) {
  .resa { padding: 20px 16px; }
  .resa-dates { grid-template-columns: repeat(3, 1fr); }
  .resa-bas { flex-direction: column; align-items: stretch; }
  .resa-bas .bouton { width: 100%; }
  .jour { height: 42px; }
}

/* ---------- Panneau de confirmation (démonstration) ---------- */
.panneau { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(8, 9, 8, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s var(--sortie); }
.panneau.ouvert { opacity: 1; }
.panneau-boite { width: min(100%, 460px); background: var(--encre2); border: 1px solid var(--trait-fort); border-radius: 20px; padding: 30px; transform: translateY(20px) scale(.98); transition: transform .5s var(--sortie); }
.panneau.ouvert .panneau-boite { transform: none; }
.panneau-boite .serif { font-size: 32px; line-height: 1.05; margin-bottom: 14px; }
.panneau-boite p { margin-bottom: 22px; }

/* =========================================================================
   SOUS-PAGES : éléments communs
   ========================================================================= */
.page-tete { padding: 180px 0 80px; }
.page-tete-grille { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 60px; align-items: end; }
.page-titre { font-size: clamp(76px, 10vw, 150px); }
.page-tete p { max-width: 520px; margin-bottom: 22px; }
.heros-photo { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.heros-photo > img, .heros-photo picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--sortie); }
.heros-photo.vu > img, .heros-photo.vu picture img { transform: none; }
.heros-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 12, 11, .88), rgba(12, 12, 11, .1) 55%, rgba(12, 12, 11, .4)); }
.heros-photo .cadre { position: relative; z-index: 2; padding-bottom: 64px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.heros-photo p { max-width: 460px; margin-top: 18px; }
.section { padding: 130px 0; }
.section-alt { background: var(--encre2); }
.section-courte { padding: 10px 0 130px; overflow-x: clip; }
.ce-soir { overflow-x: clip; }
@media (max-width: 767px) { .section-courte { padding-bottom: 90px; } }
.section-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-tete p { max-width: 440px; }
.cartes-infos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.carte-info { border: 1px solid var(--trait-fort); border-radius: 16px; padding: 22px 22px 24px; }
.carte-info svg { width: 22px; height: 22px; fill: none; stroke: var(--ble); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.carte-info h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; margin-bottom: 8px; }
.carte-info p { font-size: 14px; color: var(--poussiere); }
@media (max-width: 960px) { .cartes-infos { grid-template-columns: 1fr 1fr; } .page-tete-grille { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 767px) {
  .page-tete { padding: 130px 0 56px; }
  .page-titre { font-size: 76px; }
  .section { padding: 90px 0; }
  .section-tete { margin-bottom: 36px; }
  .cartes-infos { grid-template-columns: 1fr; }
  .heros-photo .cadre { padding-bottom: 40px; }
}

/* Champs de formulaire */
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border: 1px solid var(--trait-fort); border-radius: 20px; padding: 26px; }
.champ { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--poussiere); }
.champ-large { grid-column: 1 / -1; }
.champ input, .champ select, .champ textarea {
  height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(237, 230, 216, .3); background: transparent; color: var(--os); font-size: 16px;
  transition: border-color .3s;
}
.champ textarea { height: 110px; padding: 12px 14px; resize: vertical; }
.champ select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23EDE6D8' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 14px center; }
.champ select option { background: var(--encre2); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--os); }
.champ input::placeholder, .champ textarea::placeholder { color: rgba(167, 161, 147, .7); }
.champ.erreur input, .champ.erreur select, .champ.erreur textarea { border-color: #e7a58f; }
.champ-msg { color: #e7a58f; font-size: 12px; min-height: 0; }
.formulaire-bas { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.formulaire-merci { grid-column: 1 / -1; padding: 30px 0; }
.formulaire-merci .serif { font-size: 36px; line-height: 1.05; margin-bottom: 12px; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.9); }
@media (max-width: 767px) { .formulaire { grid-template-columns: 1fr; padding: 20px 16px; } }

/* FAQ en accordéon */
.faq-grille { display: grid; grid-template-columns: 280px 1fr; gap: 60px; }
.faq-item { border-bottom: 1px solid var(--trait-fort); }
.faq-item:first-child { border-top: 1px solid var(--trait-fort); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; text-align: left; font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.faq-signe { position: relative; flex: none; width: 16px; height: 16px; }
.faq-signe::before, .faq-signe::after { content: ''; position: absolute; left: 0; right: 0; top: 7.5px; height: 1px; background: var(--os); transition: transform .4s var(--sortie); }
.faq-signe::after { transform: rotate(90deg); }
.faq-item.ouvert .faq-signe::after { transform: rotate(0deg); }
.faq-r { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--sortie); }
.faq-item.ouvert .faq-r { grid-template-rows: 1fr; }
.faq-r > div { overflow: hidden; }
.faq-r p { padding: 0 40px 24px 0; color: var(--poussiere); max-width: 640px; }
@media (max-width: 767px) { .faq-grille { grid-template-columns: 1fr; gap: 26px; } .faq-q { font-size: 22px; } }

/* =========================================================================
   MENU
   ========================================================================= */
.onglets { display: flex; gap: 8px; flex-wrap: wrap; }
.onglets .puce { height: 34px; font-size: 13px; }
.menu-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 26px; }
.menu-plat img { width: 100%; aspect-ratio: 1; border-radius: 50%; transform: rotate(var(--rot, 0deg)); filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .5)); margin-bottom: 26px; }
.menu-plat .soir-romain { display: block; padding: 0; margin-bottom: 8px; }
.menu-plat h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.12; margin-bottom: 10px; }
.menu-plat h3 em { font-style: italic; }
.menu-plat p { font-size: 14px; color: var(--poussiere); }
@media (max-width: 1100px) { .menu-grille { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .menu-grille { grid-template-columns: 1fr 1fr; gap: 40px 16px; } .menu-plat h3 { font-size: 20px; } .menu-plat p { font-size: 13px; } }

.rail-zone { position: relative; }
.rail { position: relative; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--marge); padding: 6px var(--marge) 30px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail.tire { cursor: grabbing; scroll-snap-type: none; }
.rail.tire a, .rail.tire img { pointer-events: none; }
.rail-carte { flex: none; width: 330px; scroll-snap-align: start; border: 1px solid var(--trait); border-radius: 20px; padding: 28px 26px 26px; background: var(--encre); transition: border-color .5s var(--sortie), box-shadow .5s; }
.rail-carte.cible { border-color: var(--ble); box-shadow: 0 0 0 1px var(--ble); }
.rail-carte img { width: 260px; height: 260px; margin: 0 auto 26px; border-radius: 50%; transform: rotate(var(--rot, 0deg)); filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .5)); -webkit-user-drag: none; user-select: none; }
.rail-carte h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.12; margin: 6px 0 10px; }
.rail-carte h3 em { font-style: italic; }
.rail-carte p { font-size: 14px; color: var(--poussiere); }
.rail-carte .jumelage { color: var(--ble); margin-top: 14px; font-size: 14px; }
.allergenes { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: 12px; color: var(--poussiere); flex-wrap: wrap; }
.allergenes svg { width: 18px; height: 18px; fill: none; stroke: var(--ble); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.rail-aide { padding: 0 var(--marge); }
@media (max-width: 767px) { .rail-carte { width: 280px; padding: 22px 20px; } .rail-carte img { width: 220px; height: 220px; } }

.prix-cartes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 70px; }
.prix-carte { border: 1px solid var(--trait-fort); border-radius: 18px; padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.prix-carte h3 { font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--poussiere); }
.prix-carte .prix-gros { font-size: 56px; }
.prix-carte p { font-size: 14px; color: var(--poussiere); flex: 1; }
.prix-clair { background: var(--lin-clair); color: var(--encre); border-color: var(--lin-clair); }
.prix-clair h3, .prix-clair p { color: #5a554c; }
.prix-total { font-size: 14px; }
.prix-total b { font-family: var(--serif); font-weight: 400; font-size: 26px; margin-left: 6px; }
.prix-clair .bouton { align-self: flex-start; }
@media (max-width: 960px) { .prix-cartes { grid-template-columns: 1fr; } }

.allergies-ligne { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.allergies-ligne p { max-width: 520px; color: var(--poussiere); margin-top: 18px; }
.verre-grille { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 70px; align-items: start; }
.vin-ligne { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--trait-fort); }
.vin-ligne small { font-size: 12px; color: var(--poussiere); }
.vin-ligne span { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.vin-ligne b { font-weight: 400; font-size: 15px; }
.verre-photo img { width: 100%; border-radius: 4px; aspect-ratio: 3 / 4; object-fit: cover; }
.citation { margin-top: 26px; }
.citation blockquote { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.2; margin-bottom: 12px; }
.citation figcaption { font-size: 14px; color: var(--poussiere); margin-bottom: 20px; }
.citation figcaption em { font-family: var(--serif); font-size: 18px; color: var(--os); }
@media (max-width: 960px) { .verre-grille { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .vin-ligne { grid-template-columns: 1fr auto; gap: 2px 12px; } .vin-ligne small { grid-column: 1 / -1; } .vin-ligne span { font-size: 21px; } }

/* =========================================================================
   LA MAISON
   ========================================================================= */
.histoire-grille { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 80px; align-items: center; }
.histoire-grille h2 { margin-bottom: 26px; }
.histoire-texte p { max-width: 560px; margin-bottom: 18px; }
.histoire-suite { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--sortie); }
.histoire-suite > div { overflow: hidden; }
.histoire-suite.ouvert { grid-template-rows: 1fr; }
.portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.portrait figcaption { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 20px; }
@media (max-width: 960px) { .histoire-grille { grid-template-columns: 1fr; gap: 48px; } }

.frise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.jalon { position: relative; padding-top: 30px; }
.jalon::before { content: ''; position: absolute; left: 0; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--os); }
.jalon::after { content: ''; position: absolute; left: 18px; right: 0; top: 8px; height: 1px; background: var(--trait-fort); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--sortie); transition-delay: calc(var(--d, 0) * .18s); }
.frise.vu .jalon::after { transform: scaleX(1); }
.jalon.dore::before { background: var(--ble); }
.jalon .jalon-annee { font-family: var(--serif); font-size: 46px; line-height: 1; margin-bottom: 12px; min-height: 0; color: var(--os); }
.jalon.dore .jalon-annee { color: var(--ble); }
.jalon p { font-size: 14px; color: var(--poussiere); margin-bottom: 18px; min-height: 4.6em; }
.jalon img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
@media (max-width: 960px) {
  .frise { grid-template-columns: 1fr; gap: 0; padding-left: 26px; position: relative; }
  .frise::before { content: ''; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--trait-fort); transform: scaleY(0); transform-origin: top; transition: transform 1.4s var(--sortie); }
  .frise.vu::before { transform: scaleY(1); }
  .jalon { padding: 0 0 44px; }
  .jalon::before { left: -26px; top: 12px; }
  .jalon::after { display: none; }
  .jalon p { min-height: 0; }
}

.producteurs-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 40px; align-items: start; }
.producteurs-cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.producteur { position: relative; display: block; text-align: left; border-radius: 6px; transition: transform .5s var(--sortie); }
.producteur-photo { position: relative; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; }
.producteur-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--sortie); }
.producteur:hover .producteur-photo img, .producteur.actif .producteur-photo img { transform: scale(1.04); }
.producteur.actif .producteur-photo { box-shadow: 0 0 0 1px var(--ble); }
.puce-lieu { position: absolute; left: 10px; bottom: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; width: max-content; max-width: calc(100% - 20px); padding: 6px 10px; border-radius: 999px; font-size: 11px; background: rgba(18, 19, 18, .55); border: 1px solid rgba(237, 230, 216, .35); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.producteur h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 12px 0 4px; }
.producteur p { font-size: 13px; color: var(--poussiere); }
.carte-suroit { position: sticky; top: 110px; border: 1px solid var(--trait-fort); border-radius: 18px; padding: 14px; background: var(--encre2); }
.carte-suroit svg { width: 100%; height: auto; }
.carte-suroit .etiquette { padding: 8px 6px 2px; }
.suroit-eau { fill: #1f2a33; }
.suroit-terre { fill: #191a18; }
.suroit-trait { fill: none; stroke: rgba(237, 230, 216, .16); stroke-width: 1; }
.suroit-frontiere { fill: none; stroke: rgba(237, 230, 216, .35); stroke-width: 1; stroke-dasharray: 4 5; }
.suroit-canal { fill: none; stroke: #2d3c48; stroke-width: 4; }
.suroit-nom { font-family: var(--sans); font-size: 11px; fill: var(--poussiere); }
.suroit-nom-eau { font-style: italic; fill: #6f8494; }
.epingle circle { fill: var(--encre); stroke: var(--poussiere); stroke-width: 1.2; transition: fill .4s, stroke .4s, r .4s var(--ressort); }
.epingle text { font-family: var(--sans); font-size: 11px; fill: var(--poussiere); transition: fill .4s; }
.epingle.actif circle { fill: var(--ble); stroke: var(--ble); r: 7; }
.epingle.actif text { fill: var(--os); }
.sillon-point { fill: var(--ble); }
.sillon-halo { fill: none; stroke: var(--ble); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: halo 2.4s var(--sortie) infinite; }
@keyframes halo { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.trajet { fill: none; stroke: var(--ble); stroke-width: 1.6; stroke-dasharray: 4 5; }
.trajet-masque { fill: none; stroke: #fff; stroke-width: 6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.trajet-masque.trace { transition: stroke-dashoffset 1s var(--sortie); stroke-dashoffset: 0; }
.distance { font-family: var(--serif); font-style: italic; font-size: 22px; fill: var(--ble); opacity: 0; transition: opacity .5s var(--sortie) .5s; }
.distance.visible { opacity: 1; }
@media (max-width: 1100px) { .producteurs-grille { grid-template-columns: 1fr; } .carte-suroit { position: relative; top: 0; order: -1; } }
@media (max-width: 767px) {
  .producteurs-cartes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--marge) * -1); padding: 0 var(--marge) 10px; scrollbar-width: none; }
  .producteurs-cartes::-webkit-scrollbar { display: none; }
  .producteur { flex: none; width: 72%; scroll-snap-align: center; }
}

.mosaique { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; gap: 16px; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.mosaique > :nth-child(1) { grid-row: span 2; }
.mosaique > :nth-child(2) { grid-row: span 3; }
.mosaique > :nth-child(3) { grid-row: span 2; }
.mosaique > :nth-child(4) { grid-row: span 3; }
.mosaique > :nth-child(5) { grid-row: span 2; }
.mosaique > :nth-child(6) { grid-row: span 2; }
.mosaique > :nth-child(7) { grid-column: 3; grid-row: span 2; }
.mosaique > * { overflow: hidden; border-radius: 4px; }
.mosaique > * img { transition: transform 1.4s var(--sortie); }
.mosaique > *:hover img { transform: scale(1.04); }
@media (max-width: 767px) {
  .mosaique { grid-template-columns: 1fr 1fr; grid-auto-rows: 110px; gap: 10px; }
  .mosaique > :nth-child(7) { grid-column: auto; }
}
.bandeau { position: relative; overflow: hidden; padding: 70px 0; background: var(--encre2); }
.bandeau > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.bandeau .cadre { position: relative; display: flex; align-items: center; gap: 30px; }
.bandeau .ligne { flex: 1; height: 1px; background: var(--trait-fort); }
.bandeau p { color: var(--poussiere); font-size: 15px; }
@media (max-width: 767px) { .bandeau .cadre { flex-direction: column; align-items: flex-start; gap: 18px; } .bandeau .ligne { display: none; } }

/* =========================================================================
   LA VOÛTE
   ========================================================================= */
.plan-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: 60px; align-items: center; }
.plan-grille p { color: var(--poussiere); margin: 20px 0 26px; max-width: 420px; }
.plan-cadre { border: 1px solid var(--trait-fort); border-radius: 18px; padding: 12px; background: var(--encre2); }
.plan-cadre svg { width: 100%; height: auto; }
.plan-mur { fill: none; stroke: rgba(237, 230, 216, .75); stroke-width: 1.2; }
.plan-mur-int { fill: none; stroke: rgba(237, 230, 216, .35); stroke-width: 1; }
.plan-vins { stroke: var(--ble); stroke-width: 4; stroke-linecap: round; }
.plan-nom { font-family: var(--sans); font-size: 12px; fill: var(--poussiere); }
.plan-porte circle { fill: #1e1f1d; stroke: rgba(237, 230, 216, .55); }
.plan-volant { transition: transform .9s var(--sortie); transform-box: fill-box; transform-origin: center; }
.plan-volant line, .plan-volant circle { stroke: var(--ble); fill: none; stroke-width: 1.4; }
.plan-table { fill: #3a281b; stroke: rgba(200, 164, 106, .55); stroke-width: 1; transition: opacity .4s var(--sortie), transform .5s var(--ressort); transform-box: fill-box; transform-origin: center; }
.plan-table.cachee { opacity: 0; transform: scale(.6); }
.siege { fill: var(--os); transition: transform .4s var(--ressort), opacity .3s; transition-delay: calc(var(--i) * 12ms); }
.siege.cache { opacity: 0; }
.plan-resume { font-size: 14px; color: var(--poussiere); margin-top: 12px; padding: 0 6px 4px; min-height: 2.9em; }
@media (max-width: 960px) { .plan-grille { grid-template-columns: 1fr; gap: 30px; } }
.trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trois-carte { border: 1px solid var(--trait-fort); border-radius: 18px; padding: 30px 24px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.trois-carte img { width: 140px; height: 140px; border-radius: 50%; margin-bottom: 22px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); transition: transform 1s var(--sortie); }
.trois-carte:hover img { transform: rotate(-12deg) scale(1.04); }
.trois-carte h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; }
.trois-carte h3 em { font-style: italic; }
.trois-prix { color: var(--ble); font-size: 15px; margin: 8px 0 12px; }
.trois-carte p { font-size: 14px; color: var(--poussiere); margin-bottom: 20px; flex: 1; }
@media (max-width: 960px) { .trois { grid-template-columns: 1fr; } }
.demande-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: 60px; align-items: start; }
.demande-grille > div > p { color: var(--poussiere); margin-top: 18px; max-width: 380px; }
@media (max-width: 960px) { .demande-grille { grid-template-columns: 1fr; gap: 30px; } }

/* =========================================================================
   CARTES-CADEAUX
   ========================================================================= */
.cadeau-heros { padding: 160px 0 100px; }
.cadeau-heros-grille { display: grid; grid-template-columns: 1fr minmax(0, 620px); gap: 60px; align-items: center; }
.cadeau-heros p { max-width: 420px; margin: 26px 0; }
.eventail { position: relative; aspect-ratio: 1.08; border-radius: 6px; overflow: hidden; background: var(--ardoise); }
.eventail > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eventail-cartes { position: absolute; inset: 0; display: grid; place-items: center; }
.eventail-cartes .carte { position: absolute; width: 62%; height: auto; aspect-ratio: 1.586; transition: transform 1s var(--sortie); }
.eventail-cartes .carte:nth-child(1) { transform: translate(-9%, 13%) rotate(-12deg); }
.eventail-cartes .carte:nth-child(2) { transform: translate(-3%, 4%) rotate(-5deg); }
.eventail-cartes .carte:nth-child(3) { transform: translate(5%, -8%) rotate(4deg); }
.eventail.ouvert .carte:nth-child(1) { transform: translate(-17%, 19%) rotate(-17deg); }
.eventail.ouvert .carte:nth-child(2) { transform: translate(-4%, 5%) rotate(-6deg); }
.eventail.ouvert .carte:nth-child(3) { transform: translate(11%, -13%) rotate(7deg); }
@media (max-width: 960px) { .cadeau-heros-grille { grid-template-columns: 1fr; } .cadeau-heros { padding: 130px 0 70px; } }

.config-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px; align-items: start; }
.apercu { position: sticky; top: 120px; }
.apercu-scene { position: relative; aspect-ratio: 1.12; border-radius: 18px; overflow: hidden; border: 1px solid rgba(237, 230, 216, .5); background: var(--ardoise); }
.apercu-scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.apercu .pastille { margin: 14px auto 0; display: flex; width: max-content; }
.retourne { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--sortie); transform: rotateY(var(--tour, 0deg)); }
.face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.face-b { transform: rotateY(180deg); }
.face .carte { height: 100%; }
.etape { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--trait); }
.etape h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin-bottom: 16px; }
.etape h2 em { font-style: italic; }
.modeles { display: flex; gap: 12px; }
.modele { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--poussiere); }
.modele span:first-child { width: 86px; height: 58px; border-radius: 10px; border: 1px solid var(--trait-fort); transition: box-shadow .4s var(--sortie); }
.modele[aria-pressed="true"] span:first-child { box-shadow: 0 0 0 2px var(--encre), 0 0 0 3px var(--os); }
.modele[aria-pressed="true"] { color: var(--os); }
.m-noyer { background: var(--noyer) url(../img/carte-noyer.webp) center / cover; }
.m-lin { background: var(--lin-clair); }
.m-nuit { background: linear-gradient(140deg, #2B2F36, #14171B); }
.libre { display: none; margin-top: 14px; max-width: 220px; }
.libre.visible { display: flex; }
.config-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.compte { font-size: 12px; color: var(--poussiere); text-align: right; }
.config-total { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.config-total .prix-gros { font-size: 52px; }
.comment { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .config-grille { grid-template-columns: 1fr; } .apercu { position: relative; top: 0; } .comment { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .config-champs { grid-template-columns: 1fr; } .modele span:first-child { width: 74px; height: 50px; } }

/* =========================================================================
   RÉSERVER
   ========================================================================= */
.resa-page-grille { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 60px; align-items: start; }
.resa-page-grille p { max-width: 440px; margin: 24px 0 26px; }
.modes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.modes .etiquette { margin-right: 4px; }
.mode-phrase { font-size: 14px; color: var(--poussiere); margin-top: 16px; }
.savoir { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trouver-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 56px; align-items: center; }
.plan-ville { border: 1px solid var(--trait-fort); border-radius: 18px; overflow: hidden; background: #191a18; }
.plan-ville svg { width: 100%; height: auto; }
.ville-rue { stroke: rgba(237, 230, 216, .12); stroke-width: 14; fill: none; }
.ville-ruelle { stroke: rgba(237, 230, 216, .07); stroke-width: 6; fill: none; }
.ville-canal { fill: #26313b; }
.ville-parc { fill: #1f2620; }
.ville-nom { font-family: var(--sans); font-size: 12px; fill: var(--poussiere); }
.ville-pastille rect { fill: var(--os); }
.ville-pastille text { font-family: var(--serif); font-style: italic; font-size: 17px; fill: var(--encre); }
.horaires { margin: 22px 0 26px; }
.horaires div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--trait-fort); font-size: 15px; }
.horaires span:last-child { color: var(--poussiere); text-align: right; }
@media (max-width: 960px) { .resa-page-grille, .trouver-grille { grid-template-columns: 1fr; gap: 36px; } .savoir { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .savoir { grid-template-columns: 1fr; } }

/* =========================================================================
   LÉGAL
   ========================================================================= */
.legal { max-width: 760px; }
.legal section { padding: 40px 0; border-top: 1px solid var(--trait-fort); scroll-margin-top: 100px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; margin-bottom: 16px; }
.legal p { color: var(--poussiere); }


/* =========================================================================
   Retouches des contrôleurs (31 octobre 2026)
   ========================================================================= */
/* Page Réserver : le widget tient dans 900 px de haut à l'ordinateur */
@media (min-width: 961px) {
  .page-reserver .page-tete { padding-top: 102px; padding-bottom: 60px; }
  [data-resa="complet"] { padding: 20px 22px; }
  [data-resa="complet"] .resa-bloc { margin-bottom: 14px; }
  [data-resa="complet"] .resa-heures { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  [data-resa="complet"] .heure { font-size: 13px; padding: 0 4px; }
  [data-resa="complet"] .jour { height: 40px; }
  [data-resa="complet"] .calendrier .jour-nom { padding: 0 0 4px; }
  [data-resa="complet"] .legende { margin-top: 6px; }
}
/* Cellulaire : toutes les cibles font au moins 44 px */
@media (max-width: 767px) {
  .puce, .onglets .puce, .heure, .jour { min-height: 44px; height: 44px; }
  .calendrier-fleches button { width: 44px; height: 44px; }
  .pied-colonnes a, .pied-droits a, .demo a { display: inline-flex; align-items: center; min-height: 44px; }
  .pied-colonnes p { line-height: 1.5; }
  /* le compteur devient une barre de huit segments, chacun touchable */
  .compteur { flex-wrap: wrap; row-gap: 0; }
  .compteur-traits { flex-basis: 100%; gap: 0; margin: -6px 0 -10px; }
  .compteur-trait { flex: 1; height: 44px; }
  .compteur-trait::before, .compteur-trait::after { left: 3px; right: 3px; top: 21px; }
}
/* Téléphone en paysage : le texte du héros tient dans l'écran */
@media (max-height: 500px) and (min-width: 600px) {
  .entete { height: 60px; }
  .heros { min-height: 0; }
  .heros-titre { font-size: clamp(26px, 8.5vh, 40px); margin-bottom: 12px; }
  .heros-desc, .heros-jumelage, .heros-prix, .statut-soir { display: none; }
  .compteur { margin-bottom: 10px; }
  .heros-texte { top: 50%; transform: translateY(-54%); }
  .heros-aide { bottom: 14px; }
  .fenetre { min-height: 0; }
}

/* =========================================================================
   Mouvement réduit
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-revele], .lettre, .js .heros [data-entree] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .heros .table-entree, .js .heros .porteur-pop, .heros-fond { opacity: 1 !important; transform: none !important; }
  .enonce-img { opacity: 1; transform: none; }
}
