/* Riad Esmeralda by Dar Ouezzani, Rabat. One stylesheet for the ten pages (FR and EN), the affichette and the stories.
   Palette: the night blue and the gold of their logo, the lime-wash white of the patio, the blue-green of its walls,
   the cedar of its ceilings. Cormorant (titles in spaced capitals like their wordmark, prices and quotes in italic)
   + Manrope (text). Square corners, 1 px rules, no shadow. Shapes of the house: the carved plaster arch with its
   hanging knobs (hero, the « Réservez en direct » frame, photos cut in the arch), the star of their logo (above every
   title), the lattice of the rooftop pergola (the « moment »). */

@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/cormorant.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("assets/fonts/cormorant-italique.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("assets/fonts/manrope.woff2") format("woff2"); }

:root {
  --nuit: #0A1A33;
  --nuit-2: #142A4E;
  --or: #B48C45;
  --or-vif: #E2BD6E;
  --chaux: #F7F2EA;
  --creme: #EFE6D6;
  --celadon: #A9C9C4;
  --celadon-pale: #E2ECE9;
  --cedre: #2B1D15;
  --encre: #18213A;
  --gris: #6B6457;
  --gris-clair: #B9B1A2;
  --filet: rgba(10, 26, 51, .15);
  --filet-clair: rgba(244, 233, 208, .2);
  --display: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --g: clamp(20px, 4.4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --trace: cubic-bezier(.6, .1, .2, 1);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--chaux); color: var(--encre); font: 300 16.5px/1.72 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--g)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--nuit); color: var(--chaux); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.nw { white-space: nowrap; }

/* ------------------------------------------------------------------ type -- */
.lbl { font: 600 11.5px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gris); }
.h2 { font: 500 clamp(34px, 3.9vw, 54px)/1.06 var(--display); letter-spacing: .005em; color: var(--nuit); text-wrap: balance; }
.h2 em { font-style: italic; font-weight: 400; }
.lbl + .h2 { margin-top: 16px; }
.h2 + .lead, .h2 + .p { margin-top: 26px; }
.lead { font: 400 clamp(21px, 1.7vw, 25px)/1.42 var(--display); color: var(--encre); max-width: 34em; }
.p { max-width: 36em; color: var(--encre); }
.lead + .p, .p + .p { margin-top: 16px; }
.cite { margin-top: 30px; padding-left: 22px; border-left: 1px solid var(--or); max-width: 30em; }
.cite blockquote { font: italic 400 21px/1.4 var(--display); color: var(--nuit); }
.cite figcaption { margin-top: 10px; font: 600 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gris); }
.cite + .cite { margin-top: 22px; }

.lienfleche { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font: 600 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--nuit); text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid var(--or); }
.lienfleche svg { width: 24px; height: 12px; flex: none; transition: transform .5s var(--ease); }
.lienfleche:hover svg { transform: translateX(6px); }
.sec--nuit .lienfleche, .sec--cedre .lienfleche { color: var(--chaux); border-color: var(--or-vif); }

/* --------------------------------------------------------------- buttons -- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 14px 28px; border: 1px solid var(--nuit); background: var(--nuit); color: var(--chaux); font: 600 12px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .35s, color .35s, border-color .35s; }
.btn:hover { background: var(--nuit-2); border-color: var(--nuit-2); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ligne { background: transparent; color: var(--nuit); }
.btn--ligne:hover { background: var(--nuit); color: var(--chaux); }
.btn--clair { background: var(--chaux); border-color: var(--chaux); color: var(--nuit); }
.btn--clair:hover { background: #fff; border-color: #fff; }
.btn--ligne-clair { background: transparent; border-color: rgba(247, 242, 234, .75); color: var(--chaux); }
.btn--ligne-clair:hover { background: var(--chaux); border-color: var(--chaux); color: var(--nuit); }

/* ------------------------------------------------- the star of their logo -- */
/* two interlaced squares and the arch with its small door, drawn in one stroke; data-trace arms the one-time
   drawing (app.js adds .dessine when it comes into view). At rest, and without JS, it is fully drawn. */
.etoile { display: block; width: 46px; height: 46px; color: var(--or); margin-bottom: 22px; }
.etoile svg { width: 100%; height: 100%; overflow: visible; }
.etoile path { fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .etoile[data-trace]:not(.dessine) path { stroke-dashoffset: 1; }
.etoile.dessine path { transition: stroke-dashoffset 1.8s var(--trace); }
.etoile.dessine path:nth-child(2) { transition-delay: .25s; }
.etoile.dessine path:nth-child(3) { transition-delay: .55s; }
.etoile.dessine path:nth-child(4) { transition-delay: .8s; }
.etoile--c { margin-inline: auto; }
.sec--nuit .etoile, .sec--cedre .etoile, .direct .etoile, .bandeau .etoile { color: var(--or-vif); }

/* --------------------------------------------------------------------- nav -- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); color: var(--chaux); transition: background .45s, color .45s, height .45s, border-color .45s; border-bottom: 1px solid transparent; }
.nav::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(10, 26, 51, .55), rgba(10, 26, 51, 0)); pointer-events: none; transition: opacity .45s; }
.nav__in { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; width: min(1400px, 100% - 2 * var(--g)); margin-inline: auto; }
.marque { display: block; flex: none; text-decoration: none; }
.marque img { height: 44px; width: auto; transition: height .45s; }
.marque__fonce { display: none; }
.nav__links { margin-left: auto; }
/* on a computer the links sit in the middle of the bar, logo left and booking right (as on Riad Jasmine); the phone
   menu below 1081px keeps its flex row, never a 3-track grid (the centred-burger bug) */
@media (min-width: 1081px) {
  .nav__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .nav__links { margin-left: 0; }
  .nav__actions { justify-self: end; }
}
.nav__links ul { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav__links a { font: 500 19px/1 var(--display); letter-spacing: .02em; text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.nav__links a:hover, .nav__links a.active { border-bottom-color: var(--or-vif); }
.nav__menu-pied { display: none; }
.nav__actions { display: flex; align-items: center; gap: 22px; }
.nav__lang { font: 600 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; opacity: .9; }
.nav__lang:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.btn--nav { min-height: 44px; padding: 11px 22px; background: transparent; border-color: rgba(247, 242, 234, .7); color: var(--chaux); }
.btn--nav:hover { background: var(--chaux); color: var(--nuit); }
.nav__burger { display: none; width: 46px; height: 46px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 27px; }
.nav.scrolled { --nav-h: 72px; background: var(--chaux); color: var(--nuit); border-bottom-color: var(--filet); }
.nav.scrolled::before { opacity: 0; }
.nav.scrolled .marque img { height: 38px; }
.nav.scrolled .marque__clair { display: none; }
.nav.scrolled .marque__fonce { display: block; }
.nav.scrolled .nav__links a:hover, .nav.scrolled .nav__links a.active { border-bottom-color: var(--or); }
.nav.scrolled .btn--nav { background: var(--nuit); border-color: var(--nuit); color: var(--chaux); }
.nav.scrolled .btn--nav:hover { background: var(--nuit-2); }

@media (max-width: 1080px) {
  :root { --nav-h: 72px; }
  .marque img { height: 38px; }
  .nav__actions .nav__lang { display: none; }
  .nav__burger { display: block; }
  .nav__actions { margin-left: auto; }
  .nav__links { position: fixed; inset: 0; z-index: -1; margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 110px var(--g) 48px; background: var(--nuit); color: var(--chaux); transform: translateX(100%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
  .nav__links.nav-open { transform: none; visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
  .nav__links ul { flex-direction: column; gap: 6px; }
  .nav .nav__links a { font-size: 36px; line-height: 1.25; color: var(--chaux); border-bottom-color: transparent; }
  .nav .nav__links a.active { color: var(--or-vif); }
  .nav__menu-pied { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--filet-clair); }
  .nav__menu-pied .nav__lang { color: var(--chaux); }
  .nav.menu-open { color: var(--chaux); background: transparent; border-bottom-color: transparent; }
  .nav.menu-open::before { opacity: 0; }
  .nav.menu-open .marque__clair { display: block; }
  .nav.menu-open .marque__fonce { display: none; }
  .nav.menu-open .nav__burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .nav.menu-open .nav__burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
}
@media (max-width: 560px) {
  .nav__actions .btn--nav { display: none; }
}

/* -------------------------------------------------------------------- hero -- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1180px; overflow: hidden; background: var(--nuit); color: var(--chaux); }
.hero__photo { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; margin: 0; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide:first-child img { animation: pose 11s var(--ease) both; }
.hero__slide + .hero__slide { opacity: 0; }
/* 24 s loop, 8 s a slide; the first one is already on screen when the loop starts (negative delay, no zoom jump) */
.hero__slides.is-on .hero__slide:nth-child(1) { animation: diapo1 24s linear -1.44s infinite; }
.hero__slides.is-on .hero__slide:nth-child(2) { animation: diapo 24s linear 6.56s infinite; }
.hero__slides.is-on .hero__slide:nth-child(3) { animation: diapo 24s linear 14.56s infinite; }
@keyframes diapo { 0% { opacity: 0; transform: scale(1.03); } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@keyframes diapo1 { 0% { opacity: 0; } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
@keyframes pose { from { transform: scale(1.03); } to { transform: scale(1); } }
.hero__voile { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 52% at 50% 52%, rgba(10, 26, 51, .52), rgba(10, 26, 51, 0) 72%),
    linear-gradient(rgba(10, 26, 51, .45), rgba(10, 26, 51, 0) 22%),
    linear-gradient(rgba(10, 26, 51, 0) 64%, rgba(10, 26, 51, .55)); }
.hero__in { position: absolute; inset: var(--nav-h) 0 150px; display: flex; align-items: center; justify-content: center; }
.hero__cadre { --cw: min(620px, 50vw); position: relative; width: var(--cw); height: min(100%, 720px); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: calc(var(--cw) * .36) calc(var(--cw) * .1) 0; text-align: center; }
.arche { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; pointer-events: none; }
.arche path { vector-effect: non-scaling-stroke; }
.arche__ext { stroke: currentColor; stroke-width: 1; opacity: .5; }
.arche__int { stroke: currentColor; stroke-width: 1.35; }
.hero .arche { color: var(--chaux); filter: drop-shadow(0 0 6px rgba(10, 26, 51, .55)); clip-path: inset(0 0 100% 0); animation: trace 2s var(--trace) .2s forwards; }
@keyframes trace { to { clip-path: inset(0 0 0 0); } }
.hero__nom { display: flex; flex-direction: column; align-items: center; font-weight: 500; text-transform: uppercase; text-shadow: 0 1px 24px rgba(10, 26, 51, .5); }
.hero__riad { font: 500 clamp(15px, 1.25vw, 19px)/1 var(--sans); letter-spacing: .62em; text-indent: .62em; }
.hero__esm { margin-top: 12px; font: 500 clamp(44px, 4.1vw, 62px)/1 var(--display); letter-spacing: .08em; text-indent: .08em; }
.hero__by { margin-top: 12px; font: italic 400 clamp(21px, 1.8vw, 26px)/1.2 var(--display); color: var(--or-vif); letter-spacing: .02em; text-shadow: 0 1px 14px rgba(10, 26, 51, .6); }
.hero__sous { margin-top: 20px; max-width: 19em; font: 400 clamp(19px, 1.55vw, 22px)/1.42 var(--display); text-shadow: 0 1px 14px rgba(10, 26, 51, .6); }
.hero__cta { margin-top: 28px; }
.monte { animation: monte 1s var(--ease) both; }
.monte--2 { animation-delay: .14s; }
.monte--3 { animation-delay: .28s; }
.monte--4 { animation-delay: .42s; }
@keyframes monte { from { transform: translateY(18px); } to { transform: none; } }

/* the dates bar, inside the first screen */
.barre { position: absolute; z-index: 5; left: 50%; bottom: 34px; transform: translateX(-50%); width: min(1100px, 100% - 2 * var(--g)); display: grid; grid-template-columns: 1fr 1fr .8fr auto; background: var(--chaux); color: var(--nuit); border: 1px solid rgba(247, 242, 234, .3); }
.barre__f { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 24px; border-right: 1px solid var(--filet); min-width: 0; }
.barre__f label { font: 600 10.5px/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gris); }
.barre__f input, .barre__f select { width: 100%; min-height: 34px; padding: 0; border: 0; background: transparent; color: var(--nuit); font: 500 20px/1.2 var(--display); -webkit-appearance: none; appearance: none; border-radius: 0; cursor: pointer; }
.barre__f input::-webkit-date-and-time-value { text-align: left; margin: 0; }
.barre__f input::-webkit-calendar-picker-indicator { opacity: .5; cursor: pointer; }
.barre__f select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230A1A33' stroke-width='1.2'/%3E%3C/svg%3E") right 2px center / 12px no-repeat; padding-right: 22px; }
.barre__btn { min-height: 76px; padding-inline: 38px; border: 0; }

@media (max-width: 767px) {
  .hero { min-height: 600px; }
  .hero__in { inset: var(--nav-h) 0 168px; align-items: flex-end; }
  /* the phone photo shows a real carved arch: the drawn one stands lower, like a door inside it (riad.md §2 bis) */
  .hero__cadre { --cw: min(370px, 94vw); height: min(66%, 400px); padding: calc(var(--cw) * .5) calc(var(--cw) * .14) 0; }
  .hero__voile { background:
    radial-gradient(ellipse 62% 40% at 50% 64%, rgba(10, 26, 51, .58), rgba(10, 26, 51, 0) 75%),
    linear-gradient(rgba(10, 26, 51, .5), rgba(10, 26, 51, 0) 20%),
    linear-gradient(rgba(10, 26, 51, 0) 58%, rgba(10, 26, 51, .7)); }
  .hero__riad { font-size: 13px; }
  .hero__esm { margin-top: 10px; font-size: clamp(29px, 8.4vw, 37px); letter-spacing: .05em; text-indent: .05em; }
  .hero__by { margin-top: 8px; font-size: 20px; }
  .hero__sous { margin-top: 12px; font-size: 16.5px; max-width: 14em; }
  .hero__cta { margin-top: 18px; min-height: 46px; padding: 12px 22px; }
  .barre { bottom: 12px; grid-template-columns: 1fr 1fr; width: calc(100% - 24px); }
  .barre__f { padding: 9px 14px; }
  .barre__f:nth-child(2) { border-right: 0; }
  .barre__f:nth-child(3) { border-top: 1px solid var(--filet); }
  .barre__f input, .barre__f select { font-size: 18px; min-height: 30px; }
  .barre__btn { min-height: 0; border-top: 1px solid var(--nuit); }
}
@media (max-width: 767px) and (max-height: 700px) {
  .hero__cadre { height: min(92%, 380px); padding-top: calc(var(--cw) * .46); }
  .hero__sous { display: none; }
}

/* --------------------------------------------------------------- facts --- */
.faits { background: var(--chaux); border-bottom: 1px solid var(--filet); }
.faits__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.faits li { display: flex; align-items: center; gap: 16px; padding: 30px 26px; border-left: 1px solid var(--filet); }
.faits li:first-child { border-left: 0; padding-left: 0; }
.ico { display: inline-flex; flex: none; width: 30px; height: 30px; color: var(--or); }
.ico svg { width: 100%; height: 100%; }
.faits strong { display: block; font: 500 21px/1.15 var(--display); color: var(--nuit); }
.faits span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--gris); }
.faits a { text-decoration: none; }
@media (max-width: 900px) {
  .faits__in { grid-template-columns: 1fr 1fr; }
  .faits li { padding: 22px 16px; border-top: 1px solid var(--filet); }
  .faits li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .faits li:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 600px) {
  .faits__in { grid-template-columns: 1fr; }
  .faits li, .faits li:nth-child(odd) { padding: 18px 0; border-left: 0; }
  .faits li:nth-child(2) { border-top: 1px solid var(--filet); }
  .faits strong { font-size: 20px; }
}

/* ------------------------------------------------------------- sections -- */
.sec { padding: clamp(84px, 11vw, 150px) 0; }
.sec--creme { background: var(--creme); }
.sec--celadon { background: var(--celadon-pale); }
.sec--nuit { background: var(--nuit); color: var(--chaux); }
.sec--cedre { background: var(--cedre); color: var(--chaux); }
.sec--nuit .h2, .sec--cedre .h2 { color: var(--chaux); }
.sec--nuit .lbl, .sec--cedre .lbl { color: var(--gris-clair); }
.sec--nuit .lead, .sec--nuit .p { color: var(--chaux); }
.sec--nuit .cite blockquote { color: var(--chaux); }
.sec--nuit .cite { border-color: var(--or-vif); }
.sec--nuit .cite figcaption { color: var(--gris-clair); }
.tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(44px, 5vw, 70px); }
.tete .p { max-width: 30em; color: var(--gris); }
.tete .p a { overflow-wrap: anywhere; }
@media (max-width: 760px) { .tete { flex-direction: column; align-items: flex-start; gap: 18px; } }

/* photo + photo, the first cut in the carved arch, the second inset with a paper border */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.duo--inverse .duo__media { order: 2; }
.duo__media { position: relative; }
.arcphoto { position: relative; aspect-ratio: 4 / 5; }
.arcphoto__img { position: absolute; inset: 0; overflow: hidden; -webkit-mask: url("assets/motifs/arche-masque.svg") top center / 100% auto no-repeat; mask: url("assets/motifs/arche-masque.svg") top center / 100% auto no-repeat; }
.arcphoto__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.arcphoto .arche { inset: 0; color: var(--or); }
.arcphoto .arche__ext { opacity: 1; stroke-width: 1.4; }
.arcphoto .arche__int { stroke: var(--chaux); stroke-width: 1.5; opacity: .92; filter: drop-shadow(0 0 3px rgba(10, 26, 51, .45)); }
.js .arcphoto[data-trace]:not(.dessine) .arche { clip-path: inset(0 0 100% 0); }
.arcphoto.dessine .arche { animation: trace0 2.2s var(--trace) both; }
@keyframes trace0 { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.incruste { position: absolute; right: -6%; bottom: -8%; width: 42%; border: 10px solid var(--chaux); background: var(--chaux); }
.incruste img { width: 100%; aspect-ratio: .82; object-fit: cover; }
.incruste figcaption { padding: 10px 2px 0; font: italic 400 16px/1.3 var(--display); color: var(--gris); }
.sec--creme .incruste { border-color: var(--creme); background: var(--creme); }
.sec--nuit .incruste { border-color: var(--nuit); background: var(--nuit); }
.sec--nuit .incruste figcaption { color: var(--gris-clair); }
.duo--inverse .incruste { right: auto; left: -6%; }
@media (hover: hover) {
  .arcphoto:hover .arcphoto__img img, .zoom:hover img { transform: scale(1.05); }
}
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; gap: 72px; }
  .duo--inverse .duo__media { order: 0; }
  .duo__media { width: min(520px, 88%); }
  .incruste { right: -12%; width: 46%; border-width: 7px; }
  .duo--inverse .incruste { left: auto; right: -12%; }
}

/* -------------------------------------------------- room showcase (home) -- */
.vit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.vit__photo { position: sticky; top: 104px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--nuit); }
.vit__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease), transform 1.1s var(--ease); }
.vit__photo img.on { opacity: 1; }
.vit__photo img:first-child { opacity: 1; }
.vit__photo.pret img:first-child:not(.on) { opacity: 0; }
.vit__leg { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 12px 18px; background: var(--chaux); font: italic 400 18px/1.2 var(--display); color: var(--nuit); }
.vit__liste { border-bottom: 1px solid var(--filet); }
.vit__row { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 24px; padding: 20px 0 20px 22px; border-top: 1px solid var(--filet); transition: background .4s; }
.vit__row::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: var(--or); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.vit__row.on::before { transform: none; }
.vit__voir { all: unset; cursor: pointer; display: block; grid-column: 1; }
.vit__voir:focus-visible { outline: 2px solid var(--or); outline-offset: 4px; }
.vit__nom { display: block; font: 500 27px/1.1 var(--display); color: var(--nuit); }
.vit__nom i { font-style: italic; font-weight: 400; font-size: 19px; color: var(--gris); margin-left: 6px; }
.vit__faits { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--gris); }
.vit__prix { grid-column: 2; grid-row: 1; justify-self: end; font: italic 400 21px/1.2 var(--display); color: var(--nuit); white-space: nowrap; }
.vit__ask { grid-column: 2; grid-row: 2; justify-self: end; background: none; border: 0; padding: 4px 0; cursor: pointer; font: 600 10.5px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--nuit); border-bottom: 1px solid var(--or); }
.vit__ask:hover { color: var(--or); }
.vit__note { margin-top: 22px; font-size: 13.5px; color: var(--gris); max-width: 36em; }
@media (max-width: 900px) {
  .vit { grid-template-columns: 1fr; gap: 26px; }
  .vit__photo { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .vit__row { grid-template-columns: 1fr; padding-left: 16px; }
  .vit__prix { grid-column: 1; grid-row: auto; justify-self: start; font-size: 19px; }
  .vit__ask { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 2px; }
}

/* ----------------------------------------------- the « moment »: the rooftop -- */
/* the lattice of the pergola: slats crossing at 45°, painted blue, on yellow beams (photos x89, x58). Redrawn as a
   band; on arrival it is laid from left to right (clip-path on the whole SVG). */
.treillis { position: relative; height: 70px; overflow: hidden; }
.treillis svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.js .treillis[data-trace]:not(.dessine) svg { clip-path: inset(0 100% 0 0); }
.treillis.dessine svg { clip-path: inset(0 0 0 0); transition: clip-path 2.4s var(--trace); }
.moment { position: relative; }
.sec.moment { padding-top: 0; }
.moment .treillis { margin-bottom: clamp(70px, 9vw, 120px); }
.moment__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.moment__media { position: relative; padding-bottom: 12%; }
.moment__grand { overflow: hidden; aspect-ratio: 4 / 5; width: 82%; margin-left: auto; }
.moment__grand img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.moment__media .incruste { left: 0; right: auto; bottom: 0; width: 44%; }
@media (hover: hover) { .moment__grand:hover img { transform: scale(1.05); } }
@media (max-width: 900px) {
  .moment__grid { grid-template-columns: 1fr; }
  .moment__grand { width: 88%; }
  .moment__media { padding-bottom: 18%; }
}

/* ------------------------------------------------------ Instagram tiles -- */
.tuiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.tuile { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--creme); }
.tuile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tuile__ig { position: absolute; right: 10px; top: 10px; display: inline-flex; width: 30px; height: 30px; padding: 6px; background: rgba(10, 26, 51, .55); color: var(--chaux); }
.tuile__ig svg { width: 100%; height: 100%; }
@media (hover: hover) { .tuile:hover img { transform: scale(1.05); } }
.tuiles__pied { display: flex; flex-wrap: wrap; gap: 8px 40px; }
@media (max-width: 900px) { .tuiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .tuiles { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------- the reviews -- */
.avis { max-width: 980px; margin-inline: auto; text-align: center; }
.avis__guil { width: 44px; height: 34px; margin: 0 auto 30px; color: var(--or-vif); }
.avis__liste { display: grid; }
.avis__item { grid-area: 1 / 1; }
.js .avis__item[hidden] { display: block; visibility: hidden; }
.avis__item blockquote { font: italic 400 clamp(25px, 2.9vw, 40px)/1.32 var(--display); color: var(--chaux); text-wrap: balance; }
.avis__item figcaption { margin-top: 26px; font: 600 11.5px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gris-clair); }
.avis__item:not([hidden]) blockquote { animation: monte 1s var(--ease) both; }
.avis__nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 42px; }
.avis__fl { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--filet-clair); color: var(--chaux); cursor: pointer; transition: border-color .3s; }
.avis__fl:hover { border-color: var(--or-vif); }
.avis__fl svg { width: 22px; height: 11px; }
.avis__points { display: flex; gap: 10px; }
.avis__points button { width: 26px; height: 26px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.avis__points button::after { content: ""; position: absolute; left: 4px; right: 4px; top: 12px; height: 1px; background: var(--gris-clair); opacity: .5; transition: background .3s, opacity .3s; }
.avis__points button[aria-current="true"]::after { background: var(--or-vif); opacity: 1; height: 2px; top: 11px; }
.no-js .avis__item + .avis__item { margin-top: 40px; }

/* --------------------------------------------- « Réservez en direct » band -- */
.direct { position: relative; background: var(--nuit); color: var(--chaux); padding: clamp(90px, 11vw, 150px) 0; overflow: hidden; }
.direct__cadre { position: relative; width: min(720px, 100% - 2 * var(--g)); margin-inline: auto; padding: clamp(110px, 14vw, 170px) clamp(28px, 7vw, 90px) 20px; text-align: center; }
.direct .arche { color: var(--or-vif); }
.js .direct__cadre[data-trace]:not(.dessine) .arche { clip-path: inset(0 0 100% 0); }
.direct__cadre.dessine .arche { animation: trace0 2.4s var(--trace) both; }
.direct h2 { font: 500 clamp(32px, 3.6vw, 48px)/1.08 var(--display); letter-spacing: .08em; text-transform: uppercase; text-indent: .08em; text-wrap: balance; }
.direct p { margin: 22px auto 0; max-width: 32em; color: rgba(247, 242, 234, .86); }
.direct__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (max-width: 600px) {
  .direct__cadre { width: calc(100% - 12px); padding: 128px 15% 12px; }
  .direct p { font-size: 15px; }
  .direct__btns .btn { width: 100%; padding-inline: 10px; font-size: 11px; letter-spacing: .14em; }
}

/* ------------------------------------------------------- page banners --- */
.bandeau { position: relative; height: clamp(440px, 64vh, 660px); overflow: hidden; background: var(--nuit); color: var(--chaux); }
.bandeau img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: pose 16s var(--ease) both; }
.bandeau::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 50% 60%, rgba(10, 26, 51, .5), rgba(10, 26, 51, 0) 75%), linear-gradient(rgba(10, 26, 51, .5), rgba(10, 26, 51, .1) 30%, rgba(10, 26, 51, .35)); }
.bandeau__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: var(--nav-h); text-align: center; }
.bandeau h1 { font: 500 clamp(40px, 5.4vw, 74px)/1.04 var(--display); letter-spacing: .14em; text-transform: uppercase; text-indent: .14em; text-shadow: 0 1px 24px rgba(10, 26, 51, .45); }
@media (max-width: 760px) { .bandeau::after { background: radial-gradient(ellipse 80% 45% at 50% 58%, rgba(10, 26, 51, .62), rgba(10, 26, 51, 0) 80%), linear-gradient(rgba(10, 26, 51, .55), rgba(10, 26, 51, .2) 30%, rgba(10, 26, 51, .45)); } }
.bandeau p { margin-top: 18px; max-width: 30em; font: 400 clamp(19px, 1.6vw, 23px)/1.4 var(--display); text-shadow: 0 1px 14px rgba(10, 26, 51, .6); }

/* ------------------------------------------------------------ rooms page -- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.intro .p { color: var(--gris); }
.ch { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 100px); align-items: center; padding: clamp(60px, 8vw, 110px) 0; border-top: 1px solid var(--filet); scroll-margin-top: 90px; }
.ch:nth-of-type(even) { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.ch:nth-of-type(even) .ch__media { order: 2; }
.ch__grand { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--creme); }
.ch__grand img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
@media (hover: hover) { .ch__grand:hover img { transform: scale(1.05); } }
.ch__vign { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ch__vign button { width: 64px; height: 64px; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .72; transition: opacity .3s, border-color .3s; }
.ch__vign button img { width: 100%; height: 100%; object-fit: cover; }
.ch__vign button[aria-pressed="true"], .ch__vign button:hover { opacity: 1; border-color: var(--or); }
.ch__plus { height: 64px; padding: 0 14px; border: 1px solid var(--filet); background: none; cursor: pointer; font: 600 10.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--nuit); }
.ch__plus:hover { border-color: var(--or); }
.ch h2 { font: 500 clamp(36px, 3.6vw, 50px)/1.05 var(--display); color: var(--nuit); }
.ch__type { margin-top: 6px; font: italic 400 21px/1.3 var(--display); color: var(--gris); }
.ch dl { margin-top: 28px; border-top: 1px solid var(--filet); }
.ch dl div { display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--filet); font-size: 15px; }
.ch dt { font: 600 10.5px/2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gris); }
.ch__prix { margin-top: 28px; font: italic 400 30px/1.15 var(--display); color: var(--nuit); }
.ch__prix small { display: block; margin-top: 4px; font: 300 13.5px/1.5 var(--sans); color: var(--gris); }
.ch__btns { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: 30px; }
.ch__btns .lienfleche { margin-top: 0; }
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; align-items: start; }
  .ch, .ch:nth-of-type(even) { grid-template-columns: 1fr; gap: 32px; }
  .ch:nth-of-type(even) .ch__media { order: 0; }
  .ch__grand { aspect-ratio: 4 / 4.4; }
  .ch__vign button, .ch__plus { width: 52px; height: 52px; }
  .ch__plus { width: auto; }
}

/* ------------------------------------------------------- La maison page -- */
.mosaique { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(140px, 15vw, 210px); gap: 10px; }
.mosaique figure { position: relative; overflow: hidden; background: var(--creme); }
.mosaique img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.mosaique figure:nth-child(1) { grid-column: 1 / 6; grid-row: span 3; }
.mosaique figure:nth-child(2) { grid-column: 6 / 9; grid-row: span 2; }
.mosaique figure:nth-child(3) { grid-column: 9 / 13; grid-row: span 2; }
.mosaique figure:nth-child(4) { grid-column: 6 / 8; grid-row: span 2; }
.mosaique figure:nth-child(5) { grid-column: 8 / 11; grid-row: span 2; }
.mosaique figure:nth-child(6) { grid-column: 11 / 13; grid-row: span 2; }
.mosaique figure:nth-child(7) { grid-column: 1 / 6; grid-row: span 1; }
@media (hover: hover) { .mosaique figure:hover img { transform: scale(1.05); } }
@media (max-width: 760px) {
  .mosaique { grid-template-columns: 1fr 1fr; grid-auto-rows: 46vw; }
  .mosaique figure:nth-child(n) { grid-column: auto; grid-row: span 1; }
  .mosaique figure:nth-child(1) { grid-column: 1 / 3; grid-row: span 2; }
  .mosaique figure:nth-child(7) { grid-column: 1 / 3; }
}
.repas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); }
.liste-pts { margin-top: 24px; border-top: 1px solid var(--filet); }
.liste-pts li { padding: 13px 0; border-bottom: 1px solid var(--filet); }
.autour { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); }
.pas { margin-top: 28px; border-top: 1px solid var(--filet); }
.pas li { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--filet); }
.pas li span:first-child { flex: 1; }
.pas li b { font: italic 400 21px/1 var(--display); color: var(--nuit); white-space: nowrap; }
.savoir { columns: 2; column-gap: 48px; margin-top: 28px; }
.savoir li { break-inside: avoid; padding: 13px 0; border-top: 1px solid var(--filet); }
.savoir li strong { display: block; font: 500 20px/1.25 var(--display); color: var(--nuit); }
.savoir li span { font-size: 14.5px; color: var(--gris); }
@media (max-width: 900px) {
  .repas, .autour { grid-template-columns: 1fr; }
  .savoir { columns: 1; }
}

/* ---------------------------------------------------------- gallery page -- */
.gal-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px 60px; }
.gal-intro .p { color: var(--gris); }
.gal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.gal-nav a { padding: 10px 16px; border: 1px solid var(--filet); text-decoration: none; font: 500 19px/1 var(--display); color: var(--nuit); transition: border-color .3s, background .3s; }
.gal-nav a:hover { border-color: var(--or); background: var(--creme); }
.post { padding-top: clamp(64px, 7vw, 96px); scroll-margin-top: 80px; }
.post__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 30px; padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--filet); }
.post__tete h2 { font: 500 clamp(30px, 3vw, 42px)/1.1 var(--display); color: var(--nuit); }
.post__tete h2 small { font: italic 400 .55em/1 var(--display); color: var(--gris); margin-left: 10px; }
.post__ig { display: inline-flex; align-items: center; gap: 10px; font: 600 11.5px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--nuit); text-decoration: none; border-bottom: 1px solid var(--or); padding-bottom: 5px; }
.post__ig svg { width: 18px; height: 18px; }
.grille { columns: 4 240px; column-gap: 10px; }
.photo { position: relative; break-inside: avoid; margin-bottom: 10px; overflow: hidden; background: var(--creme); }
.photo__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.photo__btn img { width: 100%; height: auto; transition: transform 1.1s var(--ease); }
@media (hover: hover) { .photo:hover .photo__btn img { transform: scale(1.05); } }
.photo .tuile__ig { opacity: .92; }
.photo .tuile__ig:hover { background: var(--nuit); opacity: 1; }
@media (max-width: 560px) { .grille { columns: 2; column-gap: 8px; } .photo { margin-bottom: 8px; } }

/* --------------------------------------------------------- photo viewer -- */
.visio { position: fixed; inset: 0; z-index: 160; display: flex; align-items: center; justify-content: center; background: rgba(6, 14, 28, .96); padding: 64px 74px 92px; }
.visio[hidden] { display: none; }
.visio img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.visio__btn { position: absolute; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--filet-clair); color: var(--chaux); cursor: pointer; font-size: 30px; line-height: 1; }
.visio__btn:hover { border-color: var(--or-vif); }
.visio__btn svg { width: 22px; height: 11px; }
.visio__fermer { top: 14px; right: 14px; }
.visio__prec { left: 14px; top: 50%; transform: translateY(-50%); }
.visio__suiv { right: 14px; top: 50%; transform: translateY(-50%); }
.visio__pied { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px; padding: 0 16px; color: var(--chaux); font-size: 13.5px; }
.visio__pied a { color: var(--chaux); font: 600 11px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--or-vif); padding-bottom: 4px; }
.visio__n { color: var(--gris-clair); font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .visio { padding: 64px 8px 110px; }
  .visio__prec, .visio__suiv { top: auto; bottom: 48px; transform: none; }
  .visio__pied { bottom: 108px; }
}

/* ---------------------------------------------------------- contact page -- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.coord { border-top: 1px solid var(--filet); margin-top: 30px; }
.coord li { display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--filet); }
.coord .ico { width: 26px; height: 26px; margin-top: 3px; }
.coord strong { display: block; font: 500 22px/1.25 var(--display); color: var(--nuit); }
.coord span, .coord a { font-size: 15px; color: var(--gris); }
.coord a { color: var(--nuit); }
.carte { position: relative; aspect-ratio: 4 / 4.6; border: 1px solid var(--filet); background: var(--creme); }
.carte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75) sepia(.12); }
.carte__lien { margin-top: 14px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .carte { aspect-ratio: 4 / 4.2; } }

/* ------------------------------------------------------------- footer --- */
.pied { background: var(--creme); color: var(--encre); padding: clamp(70px, 8vw, 100px) 0 0; }
.pied__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.pied__logo { width: 190px; height: auto; }
.pied__marque p { margin-top: 22px; max-width: 20em; font: italic 400 19px/1.4 var(--display); color: var(--gris); }
.pied__h { margin-bottom: 14px; font: 600 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gris); }
.pied__col p, .pied__col li { font-size: 15px; line-height: 1.75; }
.pied__col a { text-decoration: none; border-bottom: 1px solid transparent; }
.pied__col a:hover { border-bottom-color: var(--or); }
.pied__col p + p { margin-top: 12px; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: clamp(50px, 6vw, 80px); padding: 22px 0 28px; border-top: 1px solid var(--filet); font-size: 13px; color: var(--gris); }
.pied__bas a { text-decoration: none; }
@media (max-width: 900px) { .pied__in { grid-template-columns: 1fr 1fr; } .pied__marque { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pied__in { grid-template-columns: 1fr; } }

/* -------------------------------------------------- the booking window --- */
/* built on .claude/rules/booking-modal.md: the scroll declarations of §1 are copied as they are */
.rsv { position: fixed; inset: 0; z-index: 140; display: flex; align-items: flex-start; justify-content: center; padding: 24px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; visibility: hidden; pointer-events: none; }
.rsv.is-open { visibility: visible; pointer-events: auto; }
.rsv__backdrop { position: fixed; inset: 0; background: rgba(6, 14, 28, .72); opacity: 0; transition: opacity .4s; }
.rsv.is-open .rsv__backdrop { opacity: 1; }
.rsv__card { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-rows: minmax(0, 1fr); width: min(980px, calc(100vw - 40px)); margin: auto; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: hidden; background: var(--chaux); transform: translateY(14px); transition: transform .5s var(--ease); }
.rsv.is-open .rsv__card { transform: none; }
.rsv__aside { min-height: 0; overflow-y: auto; position: relative; display: flex; flex-direction: column; gap: 22px; padding: 40px 34px; background: var(--nuit); color: var(--chaux); }
.rsv__aside .etoile { margin: 0; color: var(--or-vif); }
.rsv__h { font: 500 38px/1.05 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.rsv__intro { margin-top: 12px; font-size: 14.5px; color: rgba(247, 242, 234, .82); }
.rsv__photo { position: relative; flex: 1; min-height: 140px; overflow: hidden; -webkit-mask: url("assets/motifs/arche-masque.svg") top center / 100% auto no-repeat; mask: url("assets/motifs/arche-masque.svg") top center / 100% auto no-repeat; }
.rsv__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rsv__steps { display: flex; gap: 8px; }
.rsv__steps i { flex: 1; height: 2px; background: rgba(247, 242, 234, .2); transition: background .4s; }
.rsv__steps i.on { background: var(--or-vif); }
.rsv__body { display: flex; flex-direction: column; overflow-y: auto; min-height: 0; -webkit-overflow-scrolling: touch; padding: 40px 38px 34px; gap: 26px; }
.rsv__body > * { flex-shrink: 0; }
.rsv__close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 44px; height: 44px; border: 0; background: var(--chaux); color: var(--nuit); font-size: 30px; line-height: 1; cursor: pointer; }
.rsv__lbl { font: 600 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gris); margin-bottom: 12px; }
.rsv__lbl b { font-weight: 300; letter-spacing: .05em; text-transform: none; }
.rsv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rsv__field label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--gris); }
.rsv__field input[type="date"] { -webkit-appearance: none; appearance: none; width: 100%; min-height: 48px; line-height: 1.3; padding: 0 14px; background: #fff; border: 1px solid var(--filet); border-radius: 0; color: var(--nuit); font: 500 19px/1.3 var(--display); }
.rsv__field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.rsv__field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.rsv__nuits { margin-top: 8px; font: italic 400 18px/1.3 var(--display); color: var(--gris); min-height: 1.3em; }
.rsv__cpt { display: flex; align-items: center; border: 1px solid var(--filet); background: #fff; min-height: 48px; }
.rsv__cpt button { width: 46px; height: 46px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--nuit); }
.rsv__cpt button:disabled { opacity: .3; cursor: default; }
.rsv__cpt output { flex: 1; text-align: center; font: 500 21px/1 var(--display); }
.rsv__packs { display: grid; gap: 8px; }
.rsv__room { display: grid; grid-template-columns: 1fr auto; align-items: stretch; border: 1px solid var(--filet); background: #fff; transition: border-color .3s; }
.rsv__room:has(.rsv__pack[aria-pressed="true"]) { border-color: var(--or); }
.rsv__pack { display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: center; padding: 8px 12px 8px 8px; border: 0; background: none; text-align: left; cursor: pointer; }
.rsv__pack img { width: 60px; height: 60px; object-fit: cover; }
.rsv__pack-n { display: block; font: 500 20px/1.15 var(--display); color: var(--nuit); }
.rsv__pack-n small { display: block; margin-top: 3px; font: 300 12.5px/1.4 var(--sans); color: var(--gris); }
.rsv__pack-n .rsv__pack-prix { font: italic 400 16px/1.3 var(--display); color: var(--nuit); }
.rsv__pack[aria-pressed="true"] .rsv__pack-n { color: var(--or); }
.rsv__check { display: flex; align-items: center; padding: 0 16px; color: var(--or); }
.rsv__check svg { width: 16px; height: 16px; opacity: 0; transition: opacity .3s; }
.rsv__room.on .rsv__check svg, .rsv__room:has(.rsv__pack[aria-pressed="true"]) .rsv__check svg { opacity: 1; }
.rsv__vide { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--creme); }
.rsv__vide .etoile { width: 30px; height: 30px; margin: 0; }
.rsv__compte { margin-top: 8px; font-size: 13px; color: var(--gris); min-height: 1.2em; }
.rsv__opt { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; cursor: pointer; font-size: 15px; }
.rsv__opt input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--nuit); }
.rsv__opt small { display: block; font-size: 12.5px; color: var(--gris); }
.rsv__msg { width: 100%; padding: 12px 14px; border: 1px solid var(--filet); border-radius: 0; background: #fff; font: 300 16px/1.5 var(--sans); color: var(--encre); resize: vertical; }
.rsv__recap { padding: 16px 18px; background: var(--creme); font-size: 14.5px; }
.rsv__recap p + p { margin-top: 4px; }
.rsv__estim { font: italic 400 19px/1.3 var(--display); color: var(--nuit); }
.rsv__hint { font-size: 14px; color: var(--gris); }
.rsv__lbl--envoi { margin-bottom: -14px; }
.rsv__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rsv__actions .btn { flex: 1 1 200px; min-width: 0; }
.rsv__actions .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.rsv__note { font-size: 12.5px; line-height: 1.6; color: var(--gris); }
@media (max-width: 1020px) {
  .rsv__card { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
  .rsv__aside { flex-direction: row; align-items: center; gap: 16px; padding: 20px 64px 20px 24px; }
  .rsv__aside .rsv__photo, .rsv__aside .rsv__intro, .rsv__aside .rsv__steps { display: none; }
  .rsv__aside .etoile { width: 32px; height: 32px; flex: none; }
  .rsv__h { font-size: 28px; }
}
@media (max-width: 680px) {
  .rsv { padding: 0; }
  .rsv__card { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); width: 100vw; margin: 0; height: 100vh; max-height: 100vh; height: 100dvh; max-height: 100dvh; }
  .rsv__packs { max-height: none; }
  .rsv__body { padding: 26px 18px 30px; gap: 24px; }
  .rsv__aside { padding: 16px 60px 16px 18px; }
  .rsv__h { font-size: 24px; }
}

/* ------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero .arche, .direct .arche, .arcphoto .arche { clip-path: none !important; }
  .js .etoile[data-trace]:not(.dessine) path { stroke-dashoffset: 0; }
  .js .treillis[data-trace]:not(.dessine) svg { clip-path: none; }
  .hero__slide + .hero__slide { display: none; }
  html { scroll-behavior: auto; }
}

/* the Propulse credit: uppercase, never underlined (build-checklist A6) */
.credit a { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; text-decoration: none; }
.cite-gal { margin-top: clamp(60px, 7vw, 90px); display: flex; justify-content: center; }
