/* Riad Lalla Zineb — styles
   Palette et typographie reprises de la maquette de référence (beige / olive, serif fin + grotesque). */

:root {
  --beige: #e9e4dd;
  --beige-2: #dfd9d0;
  --olive: #2f3427;
  --olive-2: #3a4031;
  --ink: #161616;
  --white: #fff;
  --line-dark: rgba(22, 22, 22, .38);
  --line-light: rgba(255, 255, 255, .34);
  --serif: 'Gilda Display', 'Didot', 'Times New Roman', serif;
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.65, .05, .2, 1);
  --pad: 2.5vw;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--olive);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure, blockquote { margin: 0; }
p, h1, h2, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--beige); padding: 10px 14px; font-size: 13px; }
.skip:focus { top: 12px; }

.u-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* Lignes masquées (révélation par le bas) */
.ml { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.ml > span { display: block; will-change: transform; }

/* ---------- Pilules & flèches ---------- */
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 1.9em;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.pill::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: currentColor;
  border-radius: inherit;
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .55s var(--ease);
}
.pill--light { color: var(--white); }
.pill--light:hover { color: var(--olive); border-color: var(--white); }
.pill--light:hover::before { background: var(--white); transform: none; }
.pill--dark { color: var(--ink); }
.pill--dark:hover { color: var(--beige); }
.pill--dark:hover::before { background: var(--ink); transform: none; }
.pill--fill { color: var(--white); background: var(--olive); border-color: var(--olive); }
.pill--fill::before { background: var(--ink); }
.pill--fill:hover::before { transform: none; }

.arrow { position: relative; display: inline-block; width: 22px; height: 1px; background: currentColor; flex: none; }
.arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transform-origin: 100% 0;
}
.arrow--left { transform: scaleX(-1); }
.arrow-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 32px; color: inherit; transition: opacity .3s; }
.arrow-btn:hover { opacity: .55; }

.caret { width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 4.5px solid currentColor; transition: transform .3s; }
[aria-expanded="true"] > .caret { transform: rotate(180deg); }

.burger { position: relative; display: inline-block; width: 16px; height: 7px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; margin-right: 12px; transition: transform .4s var(--ease); }
.burger--x { border: 0; height: 12px; }
.burger--x::before, .burger--x::after { content: ''; position: absolute; left: 0; top: 50%; width: 16px; height: 1px; background: currentColor; transform: rotate(45deg); }
.burger--x::after { transform: rotate(-45deg); }

/* Courbes décoratives */
.curve { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.curve path { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.spaces .curve path, .reviews .curve path { stroke: var(--line-dark); }
.rooms .curve path { stroke: var(--line-light); }

/* ---------- Méta (en-tête de section à 3 colonnes) ---------- */
.meta {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 51.3vw 25.2vw 1fr;
  padding: 2.9vw var(--pad) 0;
}
.meta--light { color: var(--white); }
.meta__b .u-label { margin-bottom: 1.05em; }
.meta__text { max-width: 18vw; font-size: 12px; line-height: 1.42; opacity: .9; }
.meta__c .u-label + .u-label { margin-top: 1.4em; }
.meta__name { margin-left: 4.9vw; font-weight: 500; text-transform: none; }

/* =========================================================
   HERO
   ========================================================= */
.intro-stack { position: relative; }
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background: #1c1a16;
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 55%; transform-origin: 50% 60%; filter: brightness(.74) saturate(.9); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 13, 10, .62) 0%, rgba(14, 13, 10, .46) 42%, rgba(14, 13, 10, .7) 100%); }

.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
  padding: 0 var(--pad);
}
.nav { --line: 1; }
.nav::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-light); transform: scaleX(var(--line)); transform-origin: 50% 50%; }
.nav__menu { display: inline-flex; align-items: center; justify-self: start; }
.nav__brand { font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; }
.nav__right { display: flex; justify-self: end; gap: 3.4vw; }
.nav__link { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; position: relative; }
.nav__link::after, .nav__menu .u-label::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__menu .u-label { position: relative; font-weight: 500; letter-spacing: .14em; }
.nav__link:hover::after, .nav__menu:hover .u-label::after { transform: scaleX(1); transform-origin: left; }
.nav__right .nav__link:first-child { opacity: .78; }

.hero__center {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-46%);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.6vw, 160px);
  line-height: 1;
  letter-spacing: .005em;
  word-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.hero__title .w { display: inline-block; white-space: nowrap; }
.hero__title .ch { position: relative; display: inline-block; }
.hero__title .sl { display: block; }
.hero__title .sl + .sl { position: absolute; inset: 0; }
.hero__title .s1 { clip-path: inset(0 0 64% 0); }
.hero__title .s2 { clip-path: inset(35% 0 32% 0); }
.hero__title .s3 { clip-path: inset(67% 0 0 0); }

.hero__intro {
  position: absolute;
  left: 50%;
  bottom: 2.1vw;
  z-index: 4;
  width: min(82vw, 1200px);
  transform: translateX(-50%);
  font-size: clamp(11px, .86vw, 14px);
  line-height: 1.5;
  text-align: center;
  color: rgba(255, 255, 255, .8);
}

/* ---------- Barre de réservation ---------- */
.booking-bar {
  display: flex;
  align-items: center;
  gap: 1.35vw;
  margin-top: 3.6vw;
  color: var(--white);
}
.bb-field { position: relative; }
.bb-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: clamp(130px, 12.6vw, 230px);
  padding: 6px 2px 8px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: clamp(12px, .9vw, 15px);
  text-align: left;
  transition: border-color .3s;
}
.bb-trigger:hover, .bb-trigger[aria-expanded="true"] { border-color: var(--white); }
.bb-trigger span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 10px; }
.bb-go { min-height: clamp(34px, 2.9vw, 46px); padding: 0 2.2em 0 1.9em; margin-left: 1.3vw; overflow: visible; }
.bb-go::before { border-radius: 999px; }
.bb-go .arrow { position: absolute; right: -15px; top: 50%; width: 30px; transition: transform .45s var(--ease); }
.bb-go:hover .arrow { transform: translateX(6px); }

.bb-pop {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  z-index: 20;
  min-width: 250px;
  padding: 18px;
  background: var(--beige);
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.bb-pop--up { top: auto; bottom: calc(100% + 12px); transform: translateY(-8px); }
.bb-pop.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.bb-pop label { display: block; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.bb-pop label + label { margin-top: 12px; }
.bb-pop input[type="date"], .drawer__form input, .drawer__form select, .drawer__form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 400 15px/1.3 var(--sans);
  letter-spacing: 0;
  text-transform: none;
}
.bb-pop--list { padding: 8px 0; min-width: 270px; }
.bb-pop--list button { display: block; width: 100%; padding: 10px 18px; text-align: left; font-size: 14px; transition: background .25s; }
.bb-pop--list button:hover, .bb-pop--list button[aria-pressed="true"] { background: var(--beige-2); }
.stepper { display: grid; grid-template-columns: 1fr 30px 34px 30px; align-items: center; font-size: 14px; }
.stepper + .stepper { margin-top: 10px; }
.stepper button { width: 30px; height: 30px; border: 1px solid var(--line-dark); border-radius: 50%; font-size: 16px; line-height: 1; }
.stepper button:hover { background: var(--ink); color: var(--beige); }
.stepper output { text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- Mini-nav fixe ---------- */
.fixed-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  padding: 22px var(--pad);
  color: var(--white);
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.fixed-nav.is-on { opacity: 1; transform: none; }
.fixed-nav.is-on .fixed-nav__btn { pointer-events: auto; }
.fixed-nav__btn { display: inline-flex; align-items: center; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

/* =========================================================
   LE RIAD — carrousel horizontal piloté au scroll
   ========================================================= */
/* Hauteur : 100vh d'entrée + 75vh par diapositive + 100vh pendant que « Chambres » recouvre la section */
.spaces { --n: 6; position: relative; z-index: 2; height: calc((2 + (var(--n) - 1) * .75) * 100vh); background: var(--beige); }
.spaces__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--beige);
}
.slides { position: absolute; inset: 0; }
.slide {
  --w: 31vw;
  --h: 31vw;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}
.slide__fig {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w);
  height: var(--h);
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: var(--beige-2);
}
.slide__fig img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide__fig::after { content: ''; position: absolute; inset: 0; background: rgba(20, 18, 14, .3); }
.slide__title {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  transform: translate(-50%, -50%);
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  line-height: .98;
}
/* Le titre sombre est sous la photo ; une copie blanche, découpée par la photo, passe au-dessus */
.slide__title--out { z-index: 0; color: var(--ink); }
.slide__fig { z-index: 1; }
.slide__fig .slide__title { left: 50%; top: 50%; color: var(--white); }
.t-sans { display: block; font-family: var(--sans); font-weight: 400; font-size: 6.3vw; letter-spacing: -.035em; }
.t-serif { display: block; font-family: var(--serif); font-size: 6.6vw; letter-spacing: -.005em; margin-top: .1em; }
.slide__foot {
  position: absolute;
  left: 0;
  top: calc(var(--h) / 2 + 1.25vw);
  width: var(--w);
  transform: translateX(-50%);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2vw;
}
.slide__foot p { max-width: 18.5vw; font-size: 11.5px; line-height: 1.4; }
.slide__foot .pill { min-height: 2.9vw; padding: 0 1.5em; font-size: 10px; flex: none; }

/* =========================================================
   CHAMBRES
   ========================================================= */
.rooms {
  position: relative;
  z-index: 3;
  margin-top: -100vh;
  margin-top: -100svh;
  min-height: 100vh;
  background: var(--olive);
  color: var(--white);
  overflow: hidden;
}
.rooms { height: max(100vh, 62.5vw); }
.room { position: absolute; inset: 0; }
.room__media-wrap { position: absolute; left: var(--pad); top: 13.75vw; width: 45.7vw; }
.room__media { position: relative; width: 100%; aspect-ratio: 695 / 636; overflow: hidden; background: var(--olive-2); }
.room__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room__pager { display: flex; align-items: center; justify-content: space-between; margin-top: .9vw; margin-left: -12px; margin-right: -12px; }
.room__pager .u-label { font-weight: 500; font-size: 10px; }

.room__title { position: absolute; left: 24vw; top: 16.9vw; z-index: 2; font-weight: 400; text-transform: uppercase; pointer-events: none; }
.room__sans { font-family: var(--sans); font-size: 6.75vw; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.room__serif { display: block; margin: 1.8vw 0 0 29.8vw; font-family: var(--serif); font-size: 6.6vw; line-height: .97; white-space: nowrap; }
.room__price { position: absolute; left: 53.8vw; top: 52.6vw; min-height: 3vw; padding: 0 1.6em; font-size: 10.5px; overflow: hidden; }
.room__price-hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transform: translateY(100%); transition: transform .5s var(--ease); color: var(--olive); }
.room__price > span:first-child { transition: transform .5s var(--ease); }
.room__price:hover > span:first-child { transform: translateY(-160%); }
.room__price:hover .room__price-hover { transform: none; }
.room__features { position: absolute; left: 78.8vw; top: 55.6vw; transform: translateY(-100%); font-size: 10.5px; font-weight: 500; line-height: 1.42; letter-spacing: .04em; }
.room__features li::before { content: '• '; }
.next-circle {
  position: absolute;
  left: 87.5vw;
  top: 14.5vw;
  width: 7vw;
  height: 7vw;
  min-width: 74px;
  min-height: 74px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.next-circle span { display: inline-block; transform: rotate(14deg); }
.next-circle:hover { background: var(--white); color: var(--olive); transform: rotate(-10deg); }

/* =========================================================
   AVIS
   ========================================================= */
.reviews { position: relative; z-index: 3; background: var(--beige); overflow: hidden; padding-bottom: 7vw; }
.reviews__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 51.3vw 1fr; padding: 8vw var(--pad) 0; }
.score__num { font-family: var(--serif); font-size: clamp(120px, 21vw, 380px); line-height: .8; letter-spacing: -.02em; }
.score__stars { margin-top: 2.4vw; font-size: 18px; letter-spacing: .3em; }
.score__src { margin-top: 1.2vw; }
.quote { padding-top: 1vw; padding-right: 4vw; }
.quote__text { font-family: var(--serif); font-size: clamp(22px, 2.35vw, 40px); line-height: 1.18; min-height: 9.5em; }
.quote__text::before { content: '« '; }
.quote__text::after { content: ' »'; }
.quote__by { margin-top: 2vw; }
.quote__by small { display: block; margin-top: 4px; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 12px; opacity: .7; }
.quote__nav { display: flex; align-items: center; gap: 1.2vw; margin-top: 3vw; margin-left: -10px; }
.quote__nav .u-label { font-weight: 500; font-size: 10px; }
.quote__all { margin-left: auto; }
.arrow--dark { color: var(--ink); }

/* =========================================================
   GALERIE
   ========================================================= */
/* overflow: clip (et non hidden) pour garder le titre sticky fonctionnel */
.gallery { position: relative; z-index: 3; background: var(--olive); color: var(--beige); overflow: clip; padding: 10vw var(--pad) 8vw; }
.gallery__title {
  position: sticky;
  top: 50vh;
  z-index: 0;
  height: 0;
  text-align: center;
  text-transform: uppercase;
  line-height: .95;
}
.gallery__title > span { display: block; transform: translateY(-50%); }
.gallery__sans { font-family: var(--sans); font-size: 11vw; letter-spacing: -.045em; }
.gallery__serif { font-family: var(--serif); font-size: 11.5vw; }
.gallery__cols { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 17vw); justify-content: space-between; align-items: start; }
.gallery__col { display: grid; gap: 11vw; }
.gallery__col:nth-child(odd) { width: 15vw; }
.gallery__col:nth-child(2) { margin-top: 18vw; }
.gallery__col:nth-child(3) { margin-top: 6vw; }
.gallery__col:nth-child(4) { margin-top: 26vw; }
.gallery__item { position: relative; overflow: hidden; cursor: zoom-in; background: var(--olive-2); }
.gallery__item img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .6s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__note { position: relative; z-index: 1; margin-top: 5vw; text-align: center; opacity: .6; font-weight: 500; }

/* =========================================================
   LA MÉDINA
   ========================================================= */
.medina { position: relative; z-index: 3; background: var(--beige); overflow: hidden; }
.medina__grid { position: relative; display: grid; grid-template-columns: 22.5vw 24vw 1fr; gap: 2.4vw; padding: 7vw var(--pad) 6vw; align-items: start; }
.medina__img { overflow: hidden; }
.medina__img img { width: 100%; height: 100%; object-fit: cover; }
.medina__img--a { aspect-ratio: 3 / 4; margin-top: 9vw; }
.medina__img--b { aspect-ratio: 3 / 4.2; }
.medina__content { padding-left: 2.6vw; }
.medina__title { font-weight: 400; text-transform: uppercase; line-height: .95; }
.medina__sans { font-family: var(--sans); font-size: 5vw; letter-spacing: -.04em; }
.medina__serif { font-family: var(--serif); font-size: 5.3vw; margin-left: 4vw; }
.places { margin-top: 3.6vw; border-top: 1px solid var(--line-dark); }
.places li { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: 14px; }
.places em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.places__note { margin-top: 10px; font-size: 11px; opacity: .6; }
.contact { display: grid; grid-template-columns: repeat(3, auto); gap: 1.6vw; margin-top: 2.6vw; font-size: 14px; }
.contact .u-label { display: block; margin-bottom: 4px; opacity: .55; font-size: 10px; }
.contact a { border-bottom: 1px solid var(--line-dark); }
.medina__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2.6vw; }
.map { position: relative; height: clamp(320px, 34vw, 560px); background: var(--beige-2) url('../img/rabat-soir.webp') center / cover; }
.map::before { content: ''; position: absolute; inset: 0; background: rgba(233, 228, 221, .82); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.18) contrast(.92) brightness(1.02); }
.map__load { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; padding: 14px 26px; border: 1px solid var(--ink); border-radius: 999px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; background: var(--beige); }
.map__load:hover { background: var(--ink); color: var(--beige); }

/* =========================================================
   FOOTER RÉVÉLÉ
   ========================================================= */
main { position: relative; z-index: 2; margin-bottom: 100vh; margin-bottom: 100svh; }
.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  color: var(--white);
  background: #1c1a16;
  visibility: hidden;
}
.footer.is-visible { visibility: visible; }
.footer__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.74) saturate(.9); }
.footer__shade { position: absolute; inset: 0; background: rgba(14, 13, 10, .58); }
.footer__top, .footer__bottom { position: absolute; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; padding: 0 var(--pad); }
.footer__top { top: 0; height: 68px; align-items: center; border-bottom: 1px solid var(--line-light); }
.footer__top .u-label, .footer__bottom .u-label { font-weight: 500; letter-spacing: .12em; }
.footer__bottom { bottom: 2.1vw; }
.footer__center { position: absolute; left: 0; right: 0; top: 50%; z-index: 3; display: flex; flex-direction: column; align-items: center; transform: translateY(-46%); }
.footer__title { font-family: var(--serif); font-size: clamp(44px, 6.6vw, 160px); line-height: 1; word-spacing: .16em; text-transform: uppercase; white-space: nowrap; }

/* =========================================================
   MENU
   ========================================================= */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--olive);
  color: var(--white);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
}
.menu__bar { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; padding: 0 var(--pad); border-bottom: 1px solid var(--line-light); }
.menu__bar .nav__link { justify-self: end; }
.menu__body { display: grid; grid-template-columns: 1fr 24vw 18vw; gap: 4vw; align-items: end; height: calc(100% - 68px); padding: 4vw var(--pad) 4vw; }
.menu__links li { overflow: hidden; }
.menu__links a { display: flex; align-items: baseline; gap: 1.6vw; font-family: var(--serif); font-size: clamp(40px, 6.4vw, 120px); line-height: 1.02; text-transform: uppercase; transition: opacity .4s; }
.menu__links small { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.menu__links:hover a { opacity: .38; }
.menu__links a:hover { opacity: 1; }
.menu__img { aspect-ratio: 3 / 4; overflow: hidden; }
.menu__img img { width: 100%; height: 100%; object-fit: cover; }
.menu__info { display: grid; gap: 10px; font-size: 14px; }
.menu__info a { border-bottom: 1px solid var(--line-light); justify-self: start; }

/* =========================================================
   PANNEAU DE RÉSERVATION
   ========================================================= */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__veil { position: absolute; inset: 0; background: rgba(15, 15, 12, .5); opacity: 0; transition: opacity .5s var(--ease); }
.drawer.is-open .drawer__veil { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(500px, 100%);
  overflow-y: auto;
  padding: 26px 34px 34px;
  background: var(--beige);
  transform: translateX(100%);
  transition: transform .7s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; }
.drawer__close { font-weight: 500; }
.drawer__title { margin-top: 40px; font-weight: 400; text-transform: uppercase; line-height: .95; }
.drawer__sans { display: block; font-size: 44px; letter-spacing: -.04em; }
.drawer__serif { display: block; font-family: var(--serif); font-size: 50px; margin-left: 60px; }
.drawer__form { display: grid; gap: 18px; margin-top: 34px; }
.drawer__form label { display: block; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.drawer__form textarea { resize: vertical; }
.drawer__form select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0h8L4 5z' fill='%23161616'/%3E%3C/svg%3E") right 2px center no-repeat; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.drawer__summary { min-height: 1.4em; font-family: var(--serif); font-size: 20px; }
.drawer__send, .drawer__call { width: 100%; min-height: 50px; }
.drawer__send .arrow { width: 18px; }
.drawer__note { font-size: 12px; opacity: .65; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; background: rgba(22, 24, 18, .96); color: var(--white); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox__fig { width: min(86vw, 1300px); height: 78vh; display: flex; align-items: center; justify-content: center; }
.lightbox__fig img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close { position: absolute; top: 24px; right: var(--pad); font-weight: 500; }
.lightbox__bar { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 22px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) and (min-width: 768px) {
  .meta__text { max-width: 22vw; font-size: 11px; }
  .slide__foot p { font-size: 10.5px; }
  .room__features { font-size: 9.5px; }
}

@media (max-width: 767px) {
  :root { --pad: 18px; }
  body { font-size: 14px; }
  .u-label { font-size: 10px; }

  .nav { height: 58px; }
  .nav__brand { font-size: 10px; letter-spacing: .26em; }
  .nav__right .nav__link:first-child { display: none; }
  .nav__menu .u-label { display: none; }
  .burger { margin-right: 0; }

  .hero__center { transform: translateY(-58%); }
  .hero__title { font-size: 15.5vw; white-space: normal; line-height: .98; word-spacing: 0; padding: 0 var(--pad); }
  .hero__title .w { margin: 0 .09em; }
  .booking-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; width: calc(100% - 2 * var(--pad)); margin-top: 34px; }
  .bb-trigger { width: 100%; font-size: 13px; }
  .bb-go { margin-left: 0; min-height: 40px; justify-self: start; }
  .bb-field:nth-child(2) .bb-pop { left: auto; right: 0; }
  .bb-pop { min-width: 0; width: calc(100vw - 2 * var(--pad)); }
  .bb-field:nth-child(1) .bb-pop, .bb-field:nth-child(3) .bb-pop { left: 0; }
  .hero__intro { bottom: 20px; font-size: 11.5px; text-align: left; width: calc(100% - 2 * var(--pad)); }

  .meta { grid-template-columns: 1fr auto; row-gap: 14px; padding-top: 22px; }
  .meta__a { grid-column: 1; }
  .meta__c { grid-column: 2; grid-row: 1; text-align: right; }
  .meta__c .u-label + .u-label { display: none; }
  .meta__b { grid-column: 1 / -1; grid-row: 2; }
  .meta__text { max-width: none; font-size: 12px; }
  .meta__name { margin-left: 10px; }
  .spaces .meta__b { display: none; }

  .t-sans { font-size: 11.5vw; }
  .t-serif { font-size: 11.5vw; }
  .slide__foot { top: calc(var(--h) / 2 + 14px); flex-direction: column; gap: 14px; }
  .slide__foot p { max-width: none; font-size: 12px; }
  .slide__foot .pill { min-height: 36px; }

  .rooms { height: auto; padding-bottom: 60px; }
  .room { position: relative; inset: auto; display: flex; flex-direction: column; padding: 30px var(--pad) 0; }
  .room__media-wrap { position: relative; left: auto; top: auto; width: 100%; order: 1; }
  .room__media { aspect-ratio: 4 / 4.4; }
  .room__pager { margin: 8px -12px 0; }
  .room__title { position: relative; left: auto; top: auto; order: 2; margin-top: -24vw; }
  .room__sans { font-size: 9.6vw; margin-left: 4vw; }
  .room__serif { margin: 26vw 0 0; font-size: 12vw; }
  .room__price { position: relative; left: auto; top: auto; order: 3; align-self: flex-start; margin-top: 26px; min-height: 40px; }
  .room__features { position: relative; left: auto; top: auto; transform: none; order: 4; margin-top: 22px; font-size: 11px; columns: 2; column-gap: 18px; }
  .next-circle { display: none; }

  .reviews { padding-bottom: 70px; }
  .reviews__grid { grid-template-columns: 1fr; padding-top: 50px; row-gap: 36px; }
  .score { display: flex; align-items: flex-end; gap: 18px; }
  .score__num { font-size: 34vw; }
  .score__stars { margin: 0 0 6px; font-size: 14px; }
  .score__src { display: none; }
  .quote { padding: 0; }
  .quote__text { font-size: 24px; min-height: 0; }
  .quote__nav { flex-wrap: wrap; margin-top: 26px; }

  .gallery { padding: 90px var(--pad) 70px; }
  .gallery__sans { font-size: 17vw; }
  .gallery__serif { font-size: 17.5vw; }
  .gallery__cols { grid-template-columns: repeat(2, 1fr); gap: 14px; justify-content: stretch; }
  .gallery__col, .gallery__col:nth-child(odd) { width: auto; gap: 34vw; }
  .gallery__col:nth-child(2) { margin-top: 30vw; }
  .gallery__col:nth-child(3), .gallery__col:nth-child(4) { display: none; }

  .medina__grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 40px var(--pad) 50px; }
  .medina__img--a { margin-top: 22vw; }
  .medina__content { grid-column: 1 / -1; padding: 30px 0 0; }
  .medina__sans { font-size: 12.5vw; }
  .medina__serif { font-size: 13vw; margin-left: 8vw; }
  .places { margin-top: 30px; }
  .contact { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
  .medina__ctas { margin-top: 26px; }

  .footer__top { height: 58px; }
  .footer__top .u-label:nth-child(2) { display: none; }
  .footer__title { font-size: 15.5vw; white-space: normal; text-align: center; line-height: .98; padding: 0 var(--pad); }
  .footer__center { transform: translateY(-55%); }
  .footer__bottom { flex-direction: column; gap: 6px; bottom: 18px; }

  .menu__bar { height: 58px; }
  .menu__body { grid-template-columns: 1fr; align-content: space-between; gap: 30px; height: calc(100% - 58px); padding: 34px var(--pad) 30px; }
  .menu__links a { font-size: 13vw; gap: 14px; }
  .menu__img { display: none; }

  .drawer__panel { padding: 20px 20px 30px; }
  .drawer__title { margin-top: 26px; }
  .drawer__sans { font-size: 36px; }
  .drawer__serif { font-size: 40px; margin-left: 40px; }
  .lightbox__fig { width: 100vw; height: 72vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
