/* =========================================================
   Le Moulin des Préaux — V2 « Une journée au Moulin »
   La couleur du site suit l'heure de la journée.
   ========================================================= */
:root {
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --gold: #C2A04A;
  --night: #14130F;
  --lin: #F4EEE2;
  --suite: #C9784A;
  --indep: #5E93AB;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --pad: clamp(20px, 6vw, 96px);
  --arch: 50% 50% 8px 8px / 32% 32% 8px 8px;
}
/* Palettes horaires */
body[data-time="aube"]  { --bg: #E6E4DC; --ink: #25231E; --soft: #625C52; --accent: #9E7E33; --line: rgba(37,35,30,.14); --card: #F2F0EA; }
body[data-time="matin"] { --bg: #F4EEE2; --ink: #2B2722; --soft: #665E52; --accent: #9E7E33; --line: rgba(43,39,34,.13); --card: #FBF7EF; }
body[data-time="midi"]  { --bg: #EFE1C6; --ink: #2B2420; --soft: #6A5A45; --accent: #946B22; --line: rgba(43,36,32,.15); --card: #F7ECD8; }
body[data-time="aprem"] { --bg: #0E2A33; --ink: #EAF2F1; --soft: #9DBFC5; --accent: #DCC386; --line: rgba(234,242,241,.15); --card: #133640; }
body[data-time="soir"]  { --bg: #E8C9A0; --ink: #2E1F14; --soft: #6B4B32; --accent: #8A4A24; --line: rgba(46,31,20,.18); --card: #F0D6B2; }
body[data-time="nuit"]  { --bg: #0C101B; --ink: #EDE7DA; --soft: #98A1B4; --accent: #D7B865; --line: rgba(237,231,218,.14); --card: #131a2a; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 300 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  transition: background-color 1.6s var(--ease), color 1.6s var(--ease);
}
body.is-closed { overflow: hidden; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.02; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.6rem, 6.4vw, 6rem); }
h2 em, h1 .it { font-style: italic; color: var(--accent); transition: color 1.6s var(--ease); }
p { margin: 0 0 1em; }
.stamp { display: inline-flex; gap: .8em; align-items: baseline; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--soft); margin-bottom: 1.6rem; }
.stamp time { font: italic 400 1.25rem/1 var(--serif); letter-spacing: .02em; color: var(--accent); text-transform: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1.05em 2em; border: 1px solid currentColor; border-radius: 99px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: background .4s, color .4s; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--full { width: 100%; background: var(--gold); border-color: var(--gold); color: var(--night); }
.btn--full:hover { background: #DCC386; color: var(--night); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.in { opacity: 0; transform: translateY(40px); transition: opacity 1.3s var(--ease-out), transform 1.3s var(--ease-out); }
.in.is-in { opacity: 1; transform: none; }

/* ================= La vanne ================= */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; color: var(--lin);
  transition: transform 2.4s cubic-bezier(.75,0,.2,1); will-change: transform; }
.gate__boards { position: absolute; inset: 0; background:
  repeating-linear-gradient(to bottom, #1B1914 0 62px, #121109 62px 64px, rgba(194,160,74,.28) 64px 65px),
  #15140F; }
.gate__boards::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(194,160,74,.08), transparent 70%), linear-gradient(90deg, rgba(0,0,0,.4), transparent 12%, transparent 88%, rgba(0,0,0,.4)); }
.gate__center { position: relative; display: grid; justify-items: center; gap: 1.2rem; }
.gate__mark { width: 116px; opacity: 0; animation: gateIn 1.4s var(--ease-out) .2s forwards; }
.gate__hint { margin: 0; font: italic 300 1.25rem/1 var(--serif); letter-spacing: .04em; opacity: 0; animation: gateIn 1.2s var(--ease-out) .7s forwards; }
@keyframes gateIn { from { opacity: 0; transform: translateY(10px); } to { opacity: .95; transform: none; } }
.gate__drip { position: absolute; left: 0; right: 0; bottom: -18px; height: 20px; background:
  radial-gradient(14px 10px at 10px 0, #15140F 98%, transparent) 0 0 / 40px 20px repeat-x; opacity: .9; }
.gate.is-up { transform: translateY(-105%); }
.gate.is-gone { display: none; }

/* ================= Barre, horloge, menu ================= */
.bar { position: fixed; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; gap: 1.6rem; padding: 18px var(--pad); color: var(--ink); transition: color 1.2s var(--ease), background 1.2s, backdrop-filter 1.2s; pointer-events: none; }
.bar > * { pointer-events: auto; }
body.at-open .bar { color: var(--lin); }
.bar.is-solid { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px); }
.bar__brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; font: 400 1.2rem/1 var(--serif); }
.bar__brand img { width: 38px; height: 38px; }
.bar__book { margin-left: auto; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; padding: .8em 1.4em; border: 1px solid currentColor; border-radius: 99px; transition: background .4s, color .4s; }
.bar__book:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }
.bar__menu { display: flex; align-items: center; gap: .7rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }
.bar__menu-lines { width: 26px; height: 12px; position: relative; }
.bar__menu-lines i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.bar__menu-lines i:first-child { top: 2px; } .bar__menu-lines i:last-child { bottom: 2px; }
.bar__menu[aria-expanded="true"] .bar__menu-lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
.bar__menu[aria-expanded="true"] .bar__menu-lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.clock { position: fixed; right: clamp(14px, 2.4vw, 32px); bottom: clamp(14px, 3vh, 32px); z-index: 55; display: grid; grid-template-columns: 52px auto; grid-template-rows: auto auto; column-gap: .8rem; align-items: center; padding: .55rem 1.1rem .55rem .55rem; border-radius: 99px; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--line); color: var(--ink); opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease), background 1.6s, color 1.6s; }
body.is-open .clock { opacity: 1; transform: none; }
.clock svg { grid-row: span 2; width: 52px; height: 52px; }
.clock__ring { fill: none; stroke: var(--line); }
.clock__horizon { stroke: var(--soft); stroke-width: 1; opacity: .6; }
.clock__arc { fill: none; stroke: var(--soft); stroke-width: 1; stroke-dasharray: 2 3; opacity: .7; }
.clock__sun { fill: var(--accent); transition: fill 1.6s; }
.clock.is-night .clock__sun { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.clock__time { font: 400 1.35rem/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; text-align: left; }
.clock__label { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); text-align: left; }

.menu { position: fixed; inset: 0; z-index: 58; background: #0C101B; color: #EDE7DA; display: grid; align-content: center; padding: 100px var(--pad) 60px; animation: menuIn .7s var(--ease-out); }
.menu[hidden] { display: none; }
@keyframes menuIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.menu ol { list-style: none; margin: 0 auto; padding: 0; width: min(900px, 100%); }
.menu a { display: grid; grid-template-columns: 110px 1fr auto; align-items: baseline; gap: 1.4rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(237,231,218,.12); text-decoration: none; transition: padding .5s var(--ease), color .4s; }
.menu a:hover { padding-left: 1rem; color: var(--gold); }
.menu time { font: italic 300 1.6rem/1 var(--serif); color: var(--gold); }
.menu span { font: 300 clamp(1.8rem, 4vw, 3rem)/1 var(--serif); }
.menu em { font-style: normal; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
body.menu-open .bar { color: #EDE7DA; }

/* ================= 06:00 · Ouverture ================= */
.open { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--night); color: var(--lin); display: grid; align-items: end; }
.open__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 6s var(--ease-out); }
body.is-open .open__video { transform: scale(1); }
.open__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,13,10,.82) 0%, rgba(14,13,10,.2) 45%, rgba(14,13,10,.35) 100%); }
.open__title { position: relative; padding: 0 var(--pad) clamp(90px, 15vh, 150px); max-width: 1400px; }
.open__kicker { font-size: .72rem; letter-spacing: .4em; text-transform: uppercase; color: #DCC386; opacity: 0; transition: opacity 1.2s var(--ease) 1.4s; }
.open h1 { font-size: clamp(3.4rem, 11vw, 10.5rem); line-height: .88; margin: .3em 0 .25em; }
.open h1 .w { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(8px); transition: opacity 1.6s var(--ease-out), transform 1.6s var(--ease-out), filter 1.6s var(--ease-out); }
.open h1 .it { color: #DCC386; }
body.is-open .open h1 .w { opacity: 1; transform: none; filter: none; }
body.is-open .open h1 .w:nth-child(1) { transition-delay: .9s; } body.is-open .open h1 .w:nth-child(2) { transition-delay: 1.05s; } body.is-open .open h1 .w:nth-child(4) { transition-delay: 1.3s; }
.open__sub { font: italic 300 clamp(1.2rem, 2vw, 1.7rem)/1.35 var(--serif); max-width: 30em; opacity: 0; transition: opacity 1.4s var(--ease) 1.8s; }
body.is-open .open__kicker, body.is-open .open__sub { opacity: .92; }
.open__down { position: absolute; left: 50%; transform: translateX(-50%); flex-direction: column-reverse; gap: .8rem; bottom: clamp(30px, 6vh, 56px); display: flex; align-items: center; gap: 1rem; text-decoration: none; font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; opacity: 0; transition: opacity 1s 2.4s; }
body.is-open .open__down { opacity: .85; }
.open__down i { width: 1px; height: 54px; background: rgba(244,238,226,.25); position: relative; overflow: hidden; }
.open__down i::after { content: ''; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: #DCC386; animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* ================= 06:30 · L'aube ================= */
.dawn { position: relative; padding: clamp(110px, 16vh, 200px) var(--pad) 0; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; overflow: hidden; }
.dawn .stamp { grid-column: 1 / -1; margin-bottom: 0; }
.dawn__mist { position: absolute; inset: -10% -10% auto; height: 70%; pointer-events: none; background:
  radial-gradient(ellipse 40% 30% at 20% 30%, rgba(255,255,255,.55), transparent 70%),
  radial-gradient(ellipse 35% 25% at 70% 20%, rgba(255,255,255,.45), transparent 70%),
  radial-gradient(ellipse 50% 30% at 50% 60%, rgba(255,255,255,.35), transparent 70%);
  filter: blur(10px); animation: mist 26s ease-in-out infinite alternate; }
@keyframes mist { to { transform: translateX(6%) translateY(3%); } }
.words { position: relative; font: 300 clamp(1.9rem, 3.9vw, 3.7rem)/1.18 var(--serif); margin: 0; }
.words span { opacity: .14; transition: opacity .5s var(--ease); }
.words span.on { opacity: 1; }
.dawn__photo { margin: 0; position: relative; }
.dawn__photo img { width: 100%; aspect-ratio: 3/4.1; object-fit: cover; border-radius: var(--arch); box-shadow: 0 40px 80px -40px rgba(37,35,30,.5); }
.dawn__photo::before { content: ''; position: absolute; inset: -14px; border: 1px solid var(--accent); border-radius: var(--arch); opacity: .35; }
.ribbon { grid-column: 1 / -1; margin: clamp(70px, 10vw, 140px) calc(-1 * var(--pad)) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 1.4rem 0; }
.ribbon__track { display: flex; gap: 2.4rem; width: max-content; align-items: center; animation: marquee 48s linear infinite; font: italic 300 clamp(1.4rem, 2.4vw, 2.2rem)/1 var(--serif); white-space: nowrap; }
.ribbon__track i { font-style: normal; font-size: .9rem; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= 08:00 · Le réveil ================= */
.wake { position: relative; }
.wake__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.wake__track { display: flex; gap: clamp(18px, 2vw, 32px); padding: 0 var(--pad); align-items: stretch; will-change: transform; }
.panel { flex: none; height: min(74vh, 720px); border-radius: 18px; position: relative; }
.panel--intro { width: clamp(320px, 36vw, 560px); display: flex; flex-direction: column; justify-content: center; padding-right: 2vw; }
.panel--intro h2 { margin-bottom: 1.6rem; }
.panel--intro > p { color: var(--soft); max-width: 30em; }
.legend { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .6rem; font-size: .9rem; }
.legend li { display: flex; align-items: center; gap: .7rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.dot--suite { background: var(--suite); } .dot--indep { background: var(--indep); }
.hint-swipe { margin-top: 2.4rem !important; font: italic 300 1.2rem/1 var(--serif); color: var(--accent) !important; }
.hint-swipe span { display: inline-block; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }


.plan rect, .plan path.wall { fill: rgba(255,252,244,.55); stroke: #A8863A; stroke-width: 1.2; }
.plan rect.wet { fill: rgba(94,147,171,.12); stroke-dasharray: 3 3; }
.plan rect.pass { fill: rgba(201,120,74,.16); }
.plan text { font: 500 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; fill: #5E5244; text-anchor: middle; }
.plan .route { fill: none; stroke-width: 2; stroke-dasharray: 4 6; animation: march 1.1s linear infinite; }
.plan .route.s { stroke: var(--suite); } .plan .route.i { stroke: var(--indep); }
@keyframes march { to { stroke-dashoffset: -20; } }
.panel--floor .tag { display: inline-flex; gap: .5em; align-items: center; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; padding: .5em .9em; border-radius: 99px; border: 1px solid; width: fit-content; margin-bottom: .2rem; }
.tag--suite { color: #A3552B; border-color: rgba(163,85,43,.4); background: rgba(201,120,74,.08); } .tag--indep { color: #346B84; border-color: rgba(52,107,132,.4); background: rgba(94,147,171,.08); }

.panel--room { width: clamp(260px, 24vw, 360px); display: flex; flex-direction: column; text-align: left; }
.panel--room .ph { flex: 1; min-height: 0; border-radius: var(--arch); overflow: hidden; position: relative; }
.panel--room .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.panel--room:hover .ph img, .panel--room:focus-visible .ph img { transform: scale(1.06); }
.panel--room .ph::after { content: attr(data-more); position: absolute; left: 50%; bottom: 1rem; transform: translate(-50%, 8px); padding: .5em 1em; border-radius: 99px; background: rgba(20,19,15,.6); backdrop-filter: blur(6px); color: #F4EEE2; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; opacity: 0; transition: opacity .4s, transform .4s var(--ease); }
.panel--room:hover .ph::after { opacity: 1; transform: translate(-50%, 0); }
.panel--room .meta { padding: 1.2rem .4rem 0; }
.panel--room .kind { display: flex; align-items: center; gap: .55rem; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.panel--room h3 { font-size: clamp(2rem, 2.6vw, 2.6rem); margin: .35rem 0 .4rem; }
.panel--room .line { font-size: .86rem; color: var(--soft); margin: 0; }
.panel--outro { width: clamp(300px, 30vw, 440px); display: flex; flex-direction: column; justify-content: center; }
.panel--outro p { font: italic 300 clamp(1.6rem, 2.4vw, 2.2rem)/1.25 var(--serif); }
.panel--outro a { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.wake__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 5vh; height: 1px; background: var(--line); }
.wake__progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ================= 12:30 · La grande table ================= */
.table { padding: clamp(110px, 14vw, 200px) var(--pad) clamp(80px, 10vw, 140px); }
.table__head { margin-bottom: clamp(40px, 6vw, 80px); }
.table__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.table__photo { margin: 0; }
.table__photo img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 300px 300px 14px 14px / 220px 220px 14px 14px; box-shadow: 0 50px 90px -50px rgba(43,36,32,.6); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--soft); }
.seats { margin: 2rem 0 1.4rem; }
.seats svg { width: 100%; height: auto; }
.seats__count { display: flex; align-items: baseline; gap: .7rem; margin: .8rem 0 0; }
.seats__count strong { font: 300 4.2rem/1 var(--serif); color: var(--accent); font-variant-numeric: lining-nums tabular-nums; min-width: 1.4em; }
.seats__count span { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; padding: .7em 1.1em; border: 1px solid var(--line); border-radius: 99px; }


/* ================= 15:00 · L'ancienne laiterie ================= */
.pool { position: relative; padding: clamp(90px, 10vw, 140px) 0 clamp(80px, 10vw, 140px); }
.pool__stage { position: relative; margin: 0 var(--pad); }
.pool__img { margin: 0; position: relative; border-radius: 28px; overflow: hidden; height: min(86vh, 860px); clip-path: inset(8% 12% 8% 12% round 200px); transition: clip-path 1.6s var(--ease-out); }
.pool__img.is-in { clip-path: inset(0 0 0 0 round 28px); }
.pool__img img { width: 100%; height: 100%; object-fit: cover; }
.caustics { position: absolute; inset: 35% 0 0; width: 100%; height: 65%; mix-blend-mode: screen; opacity: .35; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%); mask-image: linear-gradient(to bottom, transparent, #000 35%); }
.pool__copy { position: absolute; left: clamp(20px, 4vw, 60px); bottom: clamp(20px, 4vw, 60px); max-width: 520px; padding: clamp(24px, 3vw, 40px); border-radius: 20px; background: rgba(14,42,51,.72); backdrop-filter: blur(14px); color: #EAF2F1; }
.pool__copy h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); margin-bottom: 1.2rem; }
.pool__copy p:last-child { margin: 0; color: rgba(234,242,241,.82); }
.pool__copy strong { font-weight: 400; color: #DCC386; }
.games { padding: clamp(70px, 9vw, 120px) var(--pad) 0; }
.games__intro { font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--soft); }
.games__small { color: var(--soft); font-size: .9rem; }


/* ================= 19:00 · L'heure dorée ================= */
.gold { padding: clamp(110px, 14vw, 200px) var(--pad) clamp(90px, 10vw, 140px); position: relative; overflow: hidden; }
.gold::before { content: ''; position: absolute; right: -15vw; top: -20vw; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,236,190,.55), transparent 65%); pointer-events: none; }
.collage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(40px, 5.2vw, 78px); gap: 18px; margin-top: clamp(50px, 7vw, 100px); }
.c { margin: 0; overflow: hidden; position: relative; box-shadow: 0 30px 60px -35px rgba(46,31,20,.55); }
.c img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c1 { grid-column: 1 / 5; grid-row: 1 / 6; border-radius: var(--arch); }
.c2 { grid-column: 5 / 13; grid-row: 2 / 7; border-radius: 14px; }
.c3 { grid-column: 2 / 6; grid-row: 6 / 10; border-radius: 14px 14px 160px 14px; }
.collage__text { grid-column: 7 / 13; grid-row: 8 / 10; align-self: center; font: italic 300 clamp(1.4rem, 2.2vw, 2rem)/1.35 var(--serif); margin: 0; }
.route { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; margin-top: clamp(90px, 12vw, 160px); }
.route__map svg { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto; overflow: visible; }
.route__map .pulse { fill: none; stroke: var(--accent); animation: pulse 3s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(5); opacity: 0; } }
.route__text h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: 1rem; }
.addr { font: italic 300 1.4rem/1.35 var(--serif); }
.route__text ul { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: .5rem; }
.route__text li { display: grid; grid-template-columns: 90px 1fr; border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.route__text b { font-weight: 400; color: var(--accent); }

/* ================= 22:00 · La nuit ================= */
.night { position: relative; padding: clamp(110px, 14vw, 200px) var(--pad) 40px; overflow: hidden; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.night > *:not(.stars) { position: relative; }
.night__head { max-width: 900px; margin-bottom: clamp(50px, 6vw, 80px); }
.night__head h2 { margin-bottom: 1.4rem; }
.night__head > p { color: var(--soft); max-width: 36em; }
.book { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 4vw, 60px); align-items: start; }
.moon-cal { background: rgba(237,231,218,.035); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 36px); backdrop-filter: blur(4px); }
.moon-cal__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.moon-cal__nav h3 { font-size: 2rem; text-transform: capitalize; }
.moon-cal__nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.4rem; line-height: 1; transition: border-color .3s, color .3s; }
.moon-cal__nav button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.moon-cal__nav button:disabled { opacity: .25; cursor: default; }
.moon-cal__dow, .moon-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.moon-cal__dow span { text-align: center; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); padding-bottom: .6rem; }
/* Jours : un bouton pleine largeur, le chiffre dans un cercle, les rubans en ::before */
.moon-cal__grid { column-gap: 0; row-gap: 8px; }
.d { position: relative; height: 56px; width: 100%; display: grid; place-items: center; font: 400 1.15rem/1 var(--serif); font-variant-numeric: lining-nums; }
.d > span { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s, box-shadow .3s; }
.d:not(:disabled):hover > span { box-shadow: inset 0 0 0 1px var(--accent); }
.d::before { content: ''; position: absolute; inset: 6px 0; pointer-events: none; }
.d.past { opacity: .2; cursor: default; }
.d.blank { visibility: hidden; }
.d.today > span::after { content: ''; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
/* Déjà réservé : ruban hachuré, relié d'une nuit à l'autre */
.d.taken { cursor: not-allowed; color: rgba(237,231,218,.62); }
.d.taken::before { background: repeating-linear-gradient(135deg, rgba(215,184,101,.26) 0 1px, transparent 1px 7px), linear-gradient(rgba(120,136,170,.2), rgba(120,136,170,.2)); border-block: 1px solid rgba(215,184,101,.3); }
.d.taken.t-s::before { left: 4px; border-left: 1px solid rgba(215,184,101,.3); border-radius: 24px 0 0 24px; }
.d.taken.t-e::before { right: 4px; border-right: 1px solid rgba(215,184,101,.3); border-radius: 0 24px 24px 0; }
.d.taken.t-s.t-e::before { border-radius: 24px; }
.d.taken > span { font-style: italic; }
.d.taken.out-ok { cursor: pointer; color: var(--ink); }
.d.taken.out-ok:hover > span { box-shadow: inset 0 0 0 1px var(--accent); }
/* Sélection : même langage, en or */
.d.range::before, .d.r-s::before, .d.r-e::before { background: rgba(215,184,101,.16); }
.d.r-s::before { left: 50%; } .d.r-e::before { right: 50%; }
.d.range.w-s::before { left: 4px; border-radius: 24px 0 0 24px; } .d.range.w-e::before { right: 4px; border-radius: 0 24px 24px 0; }
.d.hov::before { background: rgba(215,184,101,.08); }
.d.start > span, .d.end > span { background: var(--accent); color: #0C101B; box-shadow: 0 0 24px rgba(215,184,101,.55); font-style: normal; }
/* Demande en cours : petit point, dates toujours libres */
.pend-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #9CC3E4; box-shadow: 0 0 0 3px rgba(156,195,228,.18); }
.d .pend-dot { position: absolute; z-index: 2; top: 7px; right: calc(50% - 21px); animation: pendPulse 2.8s ease-in-out infinite; }
@keyframes pendPulse { 50% { box-shadow: 0 0 0 5px rgba(156,195,228,.06); } }
/* Infobulle */
.d[data-tip]:hover::after, .d[data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; z-index: 5; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: .45em .8em; border-radius: 8px; background: #EDE7DA; color: #14130F; font: 400 .74rem/1.2 var(--sans); letter-spacing: .02em; box-shadow: 0 8px 20px rgba(0,0,0,.4); pointer-events: none; }
.ticket__pend { display: flex; gap: .6rem; align-items: baseline; font-size: .82rem; line-height: 1.45; color: #34506A; background: #E3EDF5; border-radius: 10px; padding: .7rem .8rem; margin: .8rem 0 0; }
.ticket__pend .pend-dot { flex: none; background: #5D8DB5; box-shadow: none; }
.moon-cal__legend { display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: .78rem; color: var(--soft); margin: 1.2rem 0 0; }
.moon-cal__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .5em; vertical-align: 0; }
.moon-cal__legend { align-items: center; gap: .8rem 1.6rem; font-size: .8rem; }
.moon-cal__legend span { display: inline-flex; align-items: center; }
.moon-cal__legend i.free { width: 14px; height: 14px; border: 1px solid var(--ink); opacity: .7; }
.moon-cal__legend i.taken { width: 34px; height: 14px; border-radius: 99px; background: repeating-linear-gradient(135deg, rgba(215,184,101,.4) 0 1px, transparent 1px 6px), rgba(120,136,170,.25); border: 1px solid rgba(215,184,101,.35); }
.moon-cal__legend i.pend-dot { width: 6px; height: 6px; margin: 0 .7em 0 .2em; }
.moon-cal__legend .min { margin-left: auto; font-style: italic; font-family: var(--serif); font-size: .95rem; }

.ticket { position: sticky; top: 100px; background: #EDE7DA; color: #1E1B15; border-radius: 22px; padding: 1.8rem; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7);
  -webkit-mask: radial-gradient(circle 14px at 0 112px, transparent 98%, #000) , radial-gradient(circle 14px at 100% 112px, transparent 98%, #000); -webkit-mask-composite: source-in; mask-composite: intersect; }
.ticket__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: 1.4rem; border-bottom: 2px dashed rgba(30,27,21,.2); }
.ticket__dates span, .ticket__guests > span { display: block; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: #6A6152; }
.ticket__dates strong { font: 400 1.45rem/1.25 var(--serif); }
.ticket__dates div:last-child { text-align: right; }
.ticket__guests { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid rgba(30,27,21,.12); }
.step { display: flex; align-items: center; gap: .8rem; }
.step button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(30,27,21,.3); font-size: 1.1rem; }
.step button:disabled { opacity: .3; }
.step output { font: 400 1.5rem/1 var(--serif); min-width: 1.6em; text-align: center; }
.ticket__body { min-height: 150px; padding: 1.2rem 0; }
.ticket__wait { font: italic 300 1.15rem/1.45 var(--serif); color: #6A6152; }
.ticket ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; font-size: .9rem; }
.ticket li { display: flex; justify-content: space-between; gap: 1rem; }
.ticket li small { display: block; font-size: .72rem; color: #8A8070; }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(30,27,21,.2); padding-top: .9rem; }
.ticket__total span { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #8A6C28; }
.ticket__total strong { font: 400 2.4rem/1 var(--serif); font-variant-numeric: lining-nums; }
.ticket__note { font-size: .74rem; color: #8A8070; margin: .7rem 0 0; }
.ticket__warn { color: #A6522C; font-size: .86rem; }
.ticket__fine { text-align: center; font-size: .72rem; color: #8A8070; margin: .9rem 0 0; }
.ticket__other { text-align: center; font-size: .84rem; color: #4A4337; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(30,27,21,.12); }
.ticket__other button { text-decoration: underline; text-underline-offset: 3px; color: #8A6C28; }

.foot { text-align: center; margin-top: clamp(110px, 14vw, 200px); padding-bottom: 30px; color: var(--soft); font-size: .9rem; }
.foot img { width: min(320px, 76vw); margin: 0 auto 2rem; }
.foot__links { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.8rem; }
.foot__links a { text-decoration: none; } .foot__links a:hover { color: var(--accent); }
.foot__small { font-size: .7rem; letter-spacing: .1em; opacity: .6; margin-top: 2rem; }

/* ================= Visionneuse & demande ================= */
.viewer, .ask { position: fixed; inset: 0; z-index: 90; animation: fade .4s var(--ease); }
.viewer[hidden], .ask[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.viewer { background: rgba(12,11,8,.96); color: #F4EEE2; display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; }
.viewer figure { margin: 0; display: grid; justify-items: center; gap: 1rem; }
.viewer img { max-height: 80vh; border-radius: 6px; }
.viewer figcaption { font: italic 300 1.2rem/1.3 var(--serif); opacity: .85; text-align: center; padding: 0 1rem; }
.viewer button { font: 300 2.4rem/1 var(--serif); width: 56px; height: 56px; border-radius: 50%; justify-self: center; transition: color .3s; }
.viewer button:hover { color: var(--gold); }
.viewer__close { position: absolute; top: 16px; right: 16px; }
.ask { background: rgba(8,10,16,.72); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; }
.ask__card { position: relative; width: min(520px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: #EDE7DA; color: #1E1B15; border-radius: 22px; padding: clamp(28px, 4vw, 44px); }
.ask__close { position: absolute; top: 12px; right: 16px; font-size: 1.8rem; line-height: 1; }
.ask h3 { font-size: 2.2rem; margin-bottom: .6rem; }
.ask__recap { font-size: .9rem; color: #4A4337; border-left: 2px solid var(--gold); padding: .2rem 0 .2rem .9rem; }
.ask form { display: grid; gap: .9rem; margin-top: 1rem; }
.ask label { display: grid; gap: .35rem; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: #6A6152; }
.ask label small { text-transform: none; letter-spacing: 0; }
.ask input, .ask textarea { font: 300 1rem/1.4 var(--sans); padding: .8rem .9rem; border: 1px solid rgba(30,27,21,.18); border-radius: 10px; background: #FBF8F1; color: #1E1B15; }
.ask input:focus, .ask textarea:focus { outline: none; border-color: var(--gold); }
.ask [data-step="done"] { text-align: center; }
.ask [data-step="done"] img { margin: 0 auto 1rem; filter: brightness(.8); }
.ask__note { font-size: .74rem; color: #8A8070; }

/* ================= Responsive ================= */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .bar__brand span, .bar__menu-label { display: none; }
  .dawn { grid-template-columns: 1fr; }
  .dawn__photo { max-width: 420px; }
  .wake__pin { position: static; height: auto; display: block; padding: 90px 0 40px; }
  .wake__track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 1rem; transform: none !important; scrollbar-width: none; }
  .wake__track::-webkit-scrollbar { display: none; }
  .panel { height: 68vh; scroll-snap-align: start; }
  .panel--intro { width: 84vw; height: auto; min-height: 68vh; }
  .wake__track { scroll-padding-inline: var(--pad); }
  .panel--floor, .panel--room, .panel--outro { width: 78vw; }
  .wake__progress { display: none; }
  .table__grid, .route, .book { grid-template-columns: 1fr; }
  .pool__img { height: 70vh; }
  .pool__copy { position: relative; left: auto; bottom: auto; margin: -80px 12px 0; }
  .collage { grid-template-columns: repeat(6, 1fr); }
  .c1 { grid-column: 1 / 4; grid-row: 1 / 5; } .c2 { grid-column: 3 / 7; grid-row: 3 / 7; } .c3 { grid-column: 1 / 4; grid-row: 6 / 9; }
  .collage__text { grid-column: 4 / 7; grid-row: 7 / 9; font-size: 1.1rem; }
  .ticket { position: relative; top: 0; }
  .menu a { grid-template-columns: 76px 1fr; } .menu em { display: none; }
  .clock { grid-template-columns: 40px auto; padding: .4rem .9rem .4rem .4rem; }
  .clock svg { width: 40px; height: 40px; }
  .clock { grid-template-columns: 34px auto; padding: .3rem .8rem .3rem .3rem; column-gap: .5rem; }
  .clock svg { width: 34px; height: 34px; }
  .clock__label { display: none; }
  .clock__time { font-size: 1.1rem; grid-row: span 2; }
  .open__down { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .words span { opacity: 1; }
}

/* ================= Retouches : étages, grande tablée, loisirs, carte ================= */
/* Étages : carte claire en lin, arche douce, filet d'or */
.panel--floor { width: clamp(300px, 27vw, 400px); position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden;
  padding: clamp(46px, 4.6vw, 64px) clamp(24px, 2.6vw, 38px) clamp(22px, 2.4vw, 32px);
  background: radial-gradient(120% 70% at 50% 0%, #FBF6EB 0%, #F1E7D4 55%, #EADDC4 100%); color: #2B2722;
  border-radius: 50% 50% 26px 26px / 150px 150px 26px 26px; border: 1px solid rgba(168,134,58,.45);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 30px 60px -36px rgba(64,48,24,.45); }
.panel--floor::before { content: ''; position: absolute; inset: 9px; border-radius: 50% 50% 19px 19px / 142px 142px 19px 19px; border: 1px solid rgba(168,134,58,.3); pointer-events: none; }
.panel--floor .floor__n { font: italic 300 4.6rem/0.9 var(--serif); color: #A8863A; margin-bottom: 1rem; }
.panel--floor .floor__n sup { font-size: .34em; margin-left: .08em; }
.panel--floor h3 { font-size: clamp(1.7rem, 2.3vw, 2.2rem); margin: .8rem 0 .7rem; }
.panel--floor p { color: #5E564B; font-size: .95rem; }
.panel--floor .plan { margin-top: auto; width: 100%; height: auto; padding-top: .8rem; }

/* Loisirs : onglets + grande photo */
.games__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 80px); align-items: center; margin: 1.6rem 0 2rem; }
.games__tabs { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; }
.games__tabs button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: baseline; gap: .7em; padding: .12em 0; font: 300 clamp(2rem, 3.6vw, 3.6rem)/1.15 var(--serif); color: var(--ink); opacity: .5; transition: opacity .35s, color .35s; position: relative; }
.games__tabs button:hover { opacity: .85; }
.games__tabs button[aria-selected="true"] { opacity: 1; color: var(--accent); font-style: italic; }
.games__tabs button:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.games__n { font: 400 .72rem/1 var(--sans); letter-spacing: .2em; color: var(--soft); font-style: normal; min-width: 2.2em; transform: translateY(-.6em); }
.games__tabs button[aria-selected="true"] .games__n { color: var(--accent); }
.games__t { position: relative; }
.games__tabs button[aria-selected="true"] .games__t::after { content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: 1px; background: var(--accent); opacity: .6; transform-origin: left; animation: under .6s var(--ease-out); }
@keyframes under { from { transform: scaleX(0); } }
.games__fig { margin: 0; }
.games__stage { position: relative; aspect-ratio: 4 / 4.6; max-height: 72vh; width: 100%; border-radius: var(--arch); overflow: hidden; background: var(--card); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.games__layer { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease-out); display: grid; place-items: center; }
.games__layer.on { opacity: 1; transform: none; }
.games__layer img { width: 100%; height: 100%; object-fit: cover; }
.games__art { width: 62%; height: auto; color: var(--accent); }
.games__fig figcaption { margin-top: 1rem; font: italic 300 1.25rem/1.4 var(--serif); color: var(--soft); text-align: center; min-height: 1.4em; }

/* Carte des temps de trajet : plus lisible */
.route__map .ring { fill: var(--accent); fill-opacity: .05; stroke: var(--ink); stroke-opacity: .42; stroke-width: 1.1; transform-origin: center; transform: scale(.2); opacity: 0; transition: transform 1.6s var(--ease-out), opacity 1.6s; }
.route__map .ring--out { stroke: var(--accent); stroke-opacity: .7; stroke-width: 1.4; stroke-dasharray: 5 5; }
.route__map.is-in .ring { transform: none; opacity: 1; }
.route__map .ring-label { font: italic 500 18px var(--serif); fill: var(--accent); paint-order: stroke; stroke: var(--bg); stroke-width: 7px; stroke-linejoin: round; opacity: 0; transition: opacity 1s var(--ease); }
.route__map.is-in .ring-label { opacity: 1; }
.route__map .city circle { fill: var(--accent); stroke: var(--bg); stroke-width: 2.5px; }
.route__map .city text { font: 500 14.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 6px; stroke-linejoin: round; }
.route__map .home { fill: var(--accent); }
.route__map .home-label { font: italic 500 19px var(--serif); fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 6px; }

@media (max-width: 900px) {
  .panel--floor { width: 80vw; border-radius: 50% 50% 24px 24px / 120px 120px 24px 24px; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 8px 16px -12px rgba(64,48,24,.35); }
  .panel--floor::before { border-radius: 50% 50% 17px 17px / 112px 112px 17px 17px; }
  .panel--floor .floor__n { font-size: 3.6rem; margin-bottom: .6rem; }
  .panel--floor p { font-size: .9rem; }
  .games__wrap { grid-template-columns: 1fr; gap: 1.1rem; }
  .games__tabs { flex-direction: row; overflow-x: auto; gap: .5rem; margin: 0 calc(var(--pad) * -1); padding: .3rem var(--pad) .5rem; scrollbar-width: none; scroll-snap-type: x proximity; }
  .games__tabs::-webkit-scrollbar { display: none; }
  .games__tabs button { flex: none; scroll-snap-align: center; font-size: 1.15rem; font-family: var(--sans); font-weight: 400; letter-spacing: .02em; padding: .6em 1.05em; border: 1px solid var(--line); border-radius: 99px; opacity: .8; }
  .games__tabs button[aria-selected="true"] { font-style: normal; background: var(--accent); color: var(--bg); border-color: var(--accent); }
  .games__tabs button[aria-selected="true"] .games__t::after, .games__n { display: none; }
  .games__stage { aspect-ratio: 4 / 3.4; max-height: none; border-radius: 22px; }
  .route__map .ring-label { font-size: 23px; } .route__map .city text { font-size: 17px; } .route__map .home-label { font-size: 21px; }
}

/* ================= Retouches 2 : chiffres de la table, avis, plans ================= */
/* La grande table : chiffres typographiques */
.figs { margin: 2.2rem 0 1.8rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--accent); }
.figs > div { padding: 1.1rem 0 1.2rem; display: flex; flex-direction: column-reverse; gap: .35rem; border-bottom: 1px solid var(--line); }
.figs > div + div:not(.figs__main) { padding-left: 1.2rem; }
.figs > div:not(.figs__main):not(:last-child) { border-right: 1px solid var(--line); }
.figs dt { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); }
.figs dd { margin: 0; font: 300 2.6rem/1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.figs .figs__main { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 1.1rem; padding: 1.4rem 0 1.5rem; }
.figs .figs__main dd { order: -1; }
.figs .figs__main strong { font: 300 clamp(4.4rem, 7vw, 6rem)/.9 var(--serif); color: var(--accent); display: inline-block; min-width: 1.15em; font-variant-numeric: lining-nums tabular-nums; }
.figs .figs__main dt { font-size: .8rem; letter-spacing: .26em; color: var(--ink); }

/* L'avis : bloc éditorial */
.avis { margin: clamp(90px, 11vw, 150px) auto 0; max-width: 1100px; display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px);
  padding: clamp(34px, 4.5vw, 60px) 0; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--line); position: relative; }
.avis::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.avis__side { display: flex; flex-direction: column; gap: .3rem; }
.avis__kick { margin: 0; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.avis__mark { font: italic 300 9rem/.7 var(--serif); color: var(--accent); opacity: .55; height: .5em; margin: .5rem 0 .2rem -.04em; }
.avis__who { margin: auto 0 0; display: flex; flex-direction: column; gap: .3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.avis__who strong { font: italic 400 1.5rem/1 var(--serif); }
.avis__who span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.avis__q { margin: 0; align-self: center; }
.avis__q p { margin: 0; font: 300 clamp(1.55rem, 2.6vw, 2.35rem)/1.4 var(--serif); text-wrap: pretty; }
.avis__q em { color: var(--accent); }

/* Plans des étages : palier, escalier, pente du toit */
.plan .land { fill: rgba(168,134,58,.1); stroke: none; }
.plan .stair { fill: rgba(255,252,244,.8); stroke: #A8863A; stroke-width: 1.2; }
.plan .step { stroke: #A8863A; stroke-width: .8; opacity: .7; }
.plan .up { fill: none; stroke: #5E5244; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.plan .slope { fill: none; stroke: #A8863A; stroke-width: 1; stroke-dasharray: 1 4; stroke-linecap: round; opacity: .8; }
.plan text.soft { fill: #8C7E6A; font-size: 10px; }

@media (max-width: 900px) {
  .avis { grid-template-columns: 1fr; gap: 1rem; }
  .avis__mark { font-size: 6rem; }
  .avis__who { order: 3; margin-top: .6rem; }
  .avis__side { display: contents; }
  .figs dd { font-size: 2.2rem; }
}

/* Plans : couloir et portes */
.plan .land.hall { fill: rgba(168,134,58,.07); stroke: rgba(168,134,58,.35); stroke-width: .8; stroke-dasharray: 1 3; }
.plan .door-gap { fill: none; stroke: #F4ECDC; stroke-width: 2.8; }
.plan .door-leaf { fill: none; stroke: #A8863A; stroke-width: 1.2; stroke-linecap: round; }
.plan .door-arc { fill: none; stroke: #A8863A; stroke-width: .8; stroke-dasharray: 2 2; opacity: .85; }

/* La grande table : illustration fondue dans le fond crème */
.table-ill { margin: 1.6rem 0 .4rem; --p: 0; }
.table-ill img { display: block; width: 100%; height: auto; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%);
  opacity: calc(.15 + .85 * var(--p)); filter: sepia(calc(.35 - .35 * var(--p))) saturate(calc(.6 + .3 * var(--p)));
  transform: translateY(calc(18px - 18px * var(--p))) scale(calc(.97 + .03 * var(--p))); }
.figs { margin-top: .6rem; }

/* Cartes d'étages : écrin, typographie, espacements */
.panel--floor { width: clamp(320px, 28vw, 410px); padding: clamp(40px, 4vw, 56px) clamp(22px, 2.2vw, 32px) clamp(18px, 2vw, 26px); justify-content: flex-start; gap: 0; }
.panel--floor .floor__head { display: flex; flex-direction: column; align-items: center; gap: .35rem; margin-bottom: clamp(.9rem, 1.6vh, 1.4rem); }
.panel--floor .floor__n { font: italic 300 clamp(3.4rem, 7vh, 4.4rem)/.85 var(--serif); color: #A8863A; margin: 0; font-variant-numeric: lining-nums; }
.panel--floor .floor__n sup { font-size: .36em; margin-left: .06em; vertical-align: .95em; }
.panel--floor .floor__lab { display: flex; align-items: center; gap: .8rem; font-size: .64rem; letter-spacing: .34em; text-transform: uppercase; color: #8C7A5A; padding-left: .34em; }
.panel--floor .floor__lab::before, .panel--floor .floor__lab::after { content: ''; width: 26px; height: 1px; background: rgba(168,134,58,.55); }
.panel--floor .floor__body { display: flex; flex-direction: column; align-items: center; }
.panel--floor .tag { font-size: .6rem; letter-spacing: .2em; padding: .5em 1em; gap: .55em; margin: 0; }
.panel--floor .tag .dot { width: 6px; height: 6px; }
.panel--floor h3 { font: 400 clamp(1.6rem, 2.1vw, 2rem)/1.1 var(--serif); margin: .85rem 0 .35rem; color: #2B2722; }
.panel--floor .floor__meta { margin: 0 0 .7rem; font-size: .7rem !important; letter-spacing: .14em; text-transform: uppercase; color: #8C7A5A !important; }
.panel--floor .floor__txt { margin: 0; max-width: 31ch; font-size: .9rem; line-height: 1.6; color: #5E564B; text-wrap: pretty; }
.panel--floor .floor__plan { margin: auto 0 0; width: 100%; padding: 10px 12px 12px; border-radius: 14px; background: rgba(255,252,244,.62); border: 1px solid rgba(168,134,58,.28); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset; }
.panel--floor .floor__plan figcaption { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-bottom: 8px; font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: #A8863A; }
.panel--floor .floor__plan figcaption::before, .panel--floor .floor__plan figcaption::after { content: ''; flex: 1; max-width: 40px; height: 1px; background: rgba(168,134,58,.35); }
.panel--floor .floor__plan .plan { margin: 0; padding: 0; width: 100%; }
@media (min-width: 901px) and (max-height: 820px) {
  .panel--floor .floor__txt { font-size: .84rem; line-height: 1.5; }
  .panel--floor h3 { margin-top: .6rem; }
  .panel--floor .floor__head { margin-bottom: .7rem; }
}
@media (max-width: 900px) {
  .panel--floor { width: 82vw; padding: 40px 18px 16px; }
  .panel--floor .floor__txt { font-size: .86rem; line-height: 1.5; }
}
@media (min-width: 901px) and (max-height: 820px) {
  .panel--floor { padding-top: 30px; padding-bottom: 14px; }
  .panel--floor .floor__n { font-size: 3rem; }
  .panel--floor .floor__head { gap: .2rem; margin-bottom: .55rem; }
  .panel--floor h3 { font-size: 1.55rem; margin: .5rem 0 .25rem; }
  .panel--floor .floor__meta { margin-bottom: .45rem; }
  .panel--floor .floor__txt { font-size: .8rem; line-height: 1.45; }
  .panel--floor .floor__plan { padding: 6px 10px 8px; }
  .panel--floor .floor__plan figcaption { margin-bottom: 4px; }
}

/* Cartes d'étages : un seul filet (sans le cadre intérieur) */
.panel--floor::before { content: none; }
.table-ill { margin-bottom: 1rem; }
.table-ill img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 86%, transparent 100%);
          mask-composite: intersect; }
.table-ill { background-color: var(--bg); transition: background-color 1.2s ease; }

/* E-mail de contact public */
.foot__mail { margin: -.2rem 0 1.2rem; }
.foot__mail a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--accent); }
.ask__mail { margin: 1rem 0 0; text-align: center; font-size: .85rem; color: var(--soft); }
.ask__mail a { color: inherit; text-underline-offset: 3px; }

.ask__err { margin: 0 0 .8rem; padding: .7rem .9rem; border-radius: 10px; background: #F6E4DC; color: #8A3B1E; font-size: .88rem; line-height: 1.45; }
.ask__err a { color: inherit; }
