/* Hôtel Miramar Essaouira — palette reprise du site actuel (bleu #248EBE, encre #0E1317, gris #333334, blanc #F7F7F7) */
:root {
  --ink: #0E1317;
  --charcoal: #333334;
  --muted: #5B6166;
  --mogador: #248EBE;          /* bleu du logo et du site actuel */
  --mogador-strong: #1E7BA6;   /* même bleu, assombri pour un contraste AA avec du texte blanc */
  --mogador-deep: #155A7A;
  --chalk: #F7F7F7;
  --mist: #EAF2F7;
  --white: #FFFFFF;
  --line: rgba(14, 19, 23, .12);
  --line-strong: rgba(14, 19, 23, .28);
  --danger: #B3261E;

  --serif: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --serif-text: "Libre Caslon Text", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  --maxw: 1320px;
  --pad: clamp(16px, 4vw, 56px);
  --edge: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
  --section-y: clamp(80px, 10vw, 144px);
  --hdr-h: 144px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --radius: 6px;
  interpolate-size: allow-keywords;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 64px); }
body {
  margin: 0; background: var(--white); color: var(--charcoal);
  font-family: var(--sans); font-weight: 350; font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--mogador); outline-offset: 3px; }
.hero :focus-visible, .page-hero :focus-visible, .cta-band :focus-visible, .site-header:not(.is-solid) :focus-visible,
.site-footer :focus-visible, .summary :focus-visible, .lightbox :focus-visible, .hero .field:focus-within { outline-color: #fff; }
.menu-open .site-header :focus-visible { outline-color: var(--mogador); }
::selection { background: var(--mogador); color: #fff; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; transition: top .2s; }
.skip-link:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Typography */
.display { font-family: var(--serif); font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
.lead { font-family: var(--serif-text); font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.6; color: var(--ink); }
.section-lead { max-width: 64ch; margin-bottom: 24px; }
.prose p { max-width: 66ch; }
.prose p + p { margin-top: -.2em; }

/* ---------- Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border: 1px solid transparent; border-radius: 2px;
  font-weight: 450; font-size: .98rem; letter-spacing: .01em; line-height: 1.2; text-align: center; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--mogador-strong); color: #fff; }
.btn--primary:hover { background: var(--mogador-deep); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--chalk); }
.btn--white-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--white-outline:hover { background: #fff; color: var(--ink); }
.btn--ghost-dark { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .93rem; }
.btn--icon { width: 54px; padding: 0; }
.btn--block { width: 100%; }
.btn .i { width: 18px; height: 18px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--ink); font-weight: 450; padding-block: 4px; }
.link-arrow .i { transition: transform .45s var(--ease); }
.link-arrow:hover .i { transform: translateX(5px); }
.link-arrow:hover { color: var(--mogador-strong); }

.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: inline-grid; place-items: center; color: var(--ink); background: #fff;
  transition: background-color .3s var(--ease), color .3s var(--ease), opacity .3s;
}
.round-btn:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.round-btn:disabled { opacity: .3; cursor: default; }

.chip {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  background: rgba(255,255,255,.94); color: var(--ink); font-size: .8rem; font-weight: 450;
  padding: 5px 10px; border-radius: 2px;
}

/* ---------- Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40; color: #fff;
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .55s var(--ease), box-shadow .5s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -64px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,19,23,.72), rgba(14,19,23,.42) 55%, rgba(14,19,23,0));
  transition: opacity .5s;
}
.hdr-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 96px; transition: height .5s var(--ease); }
.hdr-side { display: flex; align-items: center; gap: 28px; }
.hdr-side--end { justify-content: flex-end; }
.hdr-link { display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; opacity: .92; }
.hdr-link:hover { opacity: 1; }
.hdr-link .i { width: 17px; height: 17px; }
body:not(.menu-open) .site-header:not(.is-solid) :is(.hdr-link, .hdr-nav a, .menu-btn) { text-shadow: 0 1px 12px rgba(14,19,23,.6); }
.brand img { height: 78px; width: auto; filter: brightness(0) invert(1); transition: height .5s var(--ease), filter .5s; }
.hdr-nav ul { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2.6vw, 44px); height: 48px; border-top: 1px solid rgba(255,255,255,.2); transition: border-color .5s; }
.hdr-nav a { position: relative; font-size: .96rem; white-space: nowrap; padding-block: 12px; }
.hdr-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.hdr-nav a:hover::after, .hdr-nav a[aria-current="page"]::after { transform: scaleX(1); }

.menu-btn { display: none; align-items: center; gap: 12px; height: 44px; font-size: .95rem; }
.menu-btn__lines { position: relative; width: 26px; height: 12px; }
.menu-btn__lines span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn__lines span:first-child { top: 0; }
.menu-btn__lines span:last-child { top: 10.5px; }

.site-header.is-solid { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-solid .hdr-top { height: 76px; }
.site-header.is-solid .brand img { height: 56px; filter: none; }
.site-header.is-solid .hdr-nav ul { border-color: var(--line); }
.hdr-hidden .site-header { transform: translateY(-100%); }

/* Menu plein écran */
.menu {
  position: fixed; inset: 0; z-index: 35; background: var(--chalk); color: var(--ink);
  overflow-y: auto; padding: calc(var(--hdr-h) + 24px) 0 48px;
  opacity: 0; transition: opacity .5s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: inline-block; font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.18;
  transform: translateY(105%); transition: transform .8s var(--ease), color .3s;
}
.menu__list a:hover { color: var(--mogador-strong); }
.menu.is-open .menu__list a { transform: none; }
.menu__list li:nth-child(2) a { transition-delay: 50ms; } .menu__list li:nth-child(3) a { transition-delay: 100ms; }
.menu__list li:nth-child(4) a { transition-delay: 150ms; } .menu__list li:nth-child(5) a { transition-delay: 200ms; }
.menu__list li:nth-child(6) a { transition-delay: 250ms; } .menu__list li:nth-child(7) a { transition-delay: 300ms; }
.menu__list li:nth-child(8) a { transition-delay: 350ms; }
.menu__aside { display: grid; gap: 24px; justify-items: start; padding-bottom: 12px; }
.menu__aside a:not(.btn) { border-bottom: 1px solid var(--line-strong); }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: transparent; color: var(--ink); box-shadow: none; transform: none; }
.menu-open .site-header::before { opacity: 0; }
.menu-open .site-header .brand img { filter: none; }
.menu-open .menu-btn__lines span:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-btn__lines span:last-child { top: 5px; transform: rotate(-45deg); }

/* Barre de réservation mobile */
.mobile-book {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 var(--line);
  transform: translateY(110%); transition: transform .5s var(--ease);
}
.mobile-book .btn--primary { flex: 1; }
.mobile-book.is-visible { transform: none; }

/* ---------- Hero accueil : l'arc du logo s'ouvre sur la baie */
.hero {
  position: relative; min-height: max(100svh, 700px); display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: #fff; overflow: hidden; isolation: isolate;
  --arch-x: 34%; --arch-top: 17%;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); transition: opacity 1.6s var(--ease), transform 9s var(--ease);
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,19,23,.45) 0%, rgba(14,19,23,0) 26%, rgba(14,19,23,0) 42%, rgba(14,19,23,.72) 100%);
}
.hero__content { padding-bottom: 36px; }
.hero__title { color: #fff; font-family: var(--serif); font-size: clamp(3rem, 7.6vw, 6.8rem); line-height: .98; letter-spacing: -.015em; max-width: 11ch; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 300; margin: 18px 0 0; opacity: .92; }
.hero__booking { padding-bottom: 32px; }
.hero__pause {
  position: absolute; right: var(--pad); top: 50%; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink);
}
.hero__pause .i { width: 16px; height: 16px; }

.intro-play .page-home .hero__media { animation: arch-open 1.9s var(--ease-io) .15s both; }
.intro-play .page-home .hero__content > *,
.intro-play .page-home .hero__booking,
.intro-play .page-home .hero__pause { animation: rise 1.1s var(--ease) both; }
.intro-play .page-home .hero__title { animation-delay: 1.25s; }
.intro-play .page-home .hero__lead { animation-delay: 1.4s; }
.intro-play .page-home .hero__booking { animation-delay: 1.55s; }
.intro-play .page-home .hero__pause { animation-delay: 1.7s; }
.intro-play .page-home .site-header { animation: fade 1s var(--ease) 1.2s both; }
@keyframes arch-open {
  from { clip-path: inset(var(--arch-top) var(--arch-x) 0 var(--arch-x) round 50vw 50vw 0 0); }
  to { clip-path: inset(0 0 0 0 round 0 0 0 0); }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Formulaire de réservation (hero + fiche chambre) */
.booking {
  display: grid; grid-template-columns: 1.35fr 1fr auto; gap: 20px 24px; align-items: end;
  background: rgba(14,19,23,.8); padding: 20px 24px 24px; border-radius: var(--radius);
}
.booking fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.booking legend { font-size: .95rem; margin-bottom: 10px; padding: 0; }
.booking__dates { display: flex; align-items: center; gap: 12px; }
.booking__dates .field { flex: 1; min-width: 0; }
.booking__to { opacity: .8; }
.field {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 56px; padding: 0 16px;
  background: #fff; color: var(--ink); border: 1px solid transparent; border-radius: 2px; text-align: left;
}
.field .i { color: var(--muted); }
.field input { border: 0; background: transparent; width: 100%; min-width: 0; height: 100%; outline: 0; color: var(--ink); }
.field:focus-within { outline: 2px solid var(--mogador); outline-offset: 2px; }
.field input::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.booking__submit { height: 56px; }
.guests { position: relative; }
.guests__toggle span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guests__chev { transition: transform .35s var(--ease); }
.guests__toggle[aria-expanded="true"] .guests__chev { transform: rotate(180deg); }
.guests__panel {
  position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 5; width: min(340px, 100%); min-width: 280px;
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 8px 20px 20px;
  box-shadow: 0 30px 70px -20px rgba(14,19,23,.35);
}
.guests__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.guests__row strong { display: block; font-weight: 500; }
.guests__row small { color: var(--muted); font-size: .85rem; }
.guests__done { margin-top: 16px; width: 100%; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; height: 44px; background: #fff; }
.stepper button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.stepper button:hover:not(:disabled) { color: var(--mogador-strong); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper button .i { width: 16px; height: 16px; }
.stepper output { min-width: 26px; text-align: center; font-weight: 500; }

.book-card .booking { grid-template-columns: 1fr; background: none; padding: 0; color: var(--ink); }
.book-card .booking .field { border-color: var(--line-strong); }
/* the card is too narrow for the date icon and arrow: they would cut the dates off */
.book-card .field--date .i, .book-card .booking__to { display: none; }
.book-card .booking .guests__panel { bottom: auto; top: calc(100% + 8px); }

/* ---------- Sous-navigation de page */
.subnav { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); transition: top .55s var(--ease); }
body:not(.hdr-hidden) .subnav { top: var(--hdr-h); }
.subnav ul { display: flex; gap: clamp(22px, 3vw, 40px); height: 58px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav li { display: flex; }
.subnav a { position: relative; display: flex; align-items: center; white-space: nowrap; color: var(--muted); font-size: .96rem; transition: color .3s; }
.subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mogador); transform: scaleX(0); transition: transform .45s var(--ease); }
.subnav a:hover, .subnav a.is-current { color: var(--ink); }
.subnav a.is-current::after { transform: scaleX(1); }

/* ---------- Sections */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.section--chalk { background: var(--chalk); }
.section--mist { background: var(--mist); }
.section--flush-bottom { padding-bottom: 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 28px; }
.notes { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-bottom: 36px; color: var(--muted); font-size: .95rem; }
.notes li { display: flex; align-items: center; gap: 10px; }
.notes .i { color: var(--mogador-strong); }

/* Intro */
.intro__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px, 8vw, 128px); align-items: center; }
.intro__text .display { margin-bottom: 32px; }
.facts { display: grid; gap: 18px; margin: 36px 0 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; }
.facts .i { width: 26px; height: 26px; color: var(--mogador-strong); }
.facts strong { display: block; font-weight: 500; color: var(--ink); }
.facts span { color: var(--muted); font-size: .97rem; line-height: 1.5; }
.intro__media { position: relative; padding-bottom: 64px; }
.arch-frame { margin: 0 0 0 auto; width: 82%; aspect-ratio: 4 / 5.3; border-radius: 999px 999px 4px 4px; overflow: hidden; background: var(--mist); }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.intro__inset { position: absolute; left: 0; bottom: 0; width: 48%; margin: 0; aspect-ratio: 4 / 3; border: 8px solid #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(14,19,23,.3); }
.intro__inset img { width: 100%; height: 100%; object-fit: cover; }

/* Photothèque */
.mosaic { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(170px, 19vw, 290px)); gap: 8px; border-radius: var(--radius); overflow: hidden; }
.mosaic__item { position: relative; overflow: hidden; background: var(--chalk); }
.mosaic__item--lead { grid-row: span 2; }
.mosaic__item img, .gallery__item img, .room-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .mosaic__item:hover img, .room-gallery__item:hover img { transform: scale(1.04); } }
.mosaic__all { position: absolute; right: 16px; bottom: 16px; }

/* Filtres (onglets Sofitel) */
.tabs { display: flex; gap: clamp(20px, 3vw, 36px); border-bottom: 1px solid var(--line); margin-bottom: 36px; overflow-x: auto; scrollbar-width: none; }
.tabs button { position: relative; padding: 12px 0 14px; color: var(--muted); white-space: nowrap; transition: color .3s; }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--mogador); transform: scaleX(0); transition: transform .45s var(--ease); }
.tabs button:hover, .tabs button[aria-pressed="true"] { color: var(--ink); }
.tabs button[aria-pressed="true"]::after { transform: scaleX(1); }

/* Carrousel horizontal */
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(272px, 26vw, 384px); gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding-inline: var(--edge); scroll-padding-inline: var(--edge);
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__controls { display: flex; align-items: center; gap: 12px; margin-top: 36px; }
.rail__progress { flex: 1; height: 1px; background: var(--line); margin-right: 16px; overflow: hidden; }
.rail__progress span { display: block; height: 100%; width: 30%; background: var(--ink); transform-origin: left; transition: transform .4s var(--ease); }

/* Carte chambre */
.room-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--chalk); }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .7s var(--ease); }
@media (hover: hover) { .room-card:hover .room-card__media img { transform: scale(1.05); } }
.room-card__alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) { .room-card:hover .room-card__alt { opacity: 1; } }
.room-card__title { font-family: var(--serif-text); font-size: 1.38rem; line-height: 1.25; margin: 20px 0 10px; }
.room-card__title a:hover { color: var(--mogador-strong); }
.room-card__text { color: var(--muted); margin-bottom: 14px; }
.room-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.room-meta li { display: flex; align-items: center; gap: 7px; }
.room-meta .i { width: 18px; height: 18px; color: var(--ink); }
.room-card__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.price { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.3; }
.price strong { font-family: var(--serif-text); font-weight: 400; font-size: 1.4rem; color: var(--ink); }
.room-card--grid .room-card__title { font-size: 1.6rem; }

/* Slider bien-être (panneau + image) */
.split-slider { position: relative; display: grid; }
.split-slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1.25fr; min-height: clamp(440px, 42vw, 580px);
  border-radius: 8px; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s;
}
.split-slide.is-active { opacity: 1; visibility: visible; }
.split-slide__panel {
  background: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 56px clamp(28px, 5vw, 80px) 112px;
}
.section--chalk .split-slide__panel { background: #fff; }
.split-slide__panel h2, .split-slide__panel h3 { font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.1; margin-bottom: 20px; }
.split-slide__panel p { max-width: 40ch; }
.split-slide__panel .btn { margin-top: 16px; }
.split-slide__media { position: relative; overflow: hidden; background: var(--mist); }
.split-slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-slide.is-active .split-slide__media img { animation: unveil 1.2s var(--ease-io) both; }
@keyframes unveil { from { clip-path: inset(0 0 0 100%); transform: scale(1.08); } to { clip-path: inset(0); transform: scale(1); } }
.split-slider__nav { position: absolute; left: 0; bottom: 32px; width: calc(100% / 2.25); display: flex; justify-content: center; align-items: center; gap: 20px; z-index: 2; }
.split-slider__count { min-width: 48px; text-align: center; font-size: .95rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Restaurants (accueil) */
.dine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 44px; }
.dine-card__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--chalk); }
.dine-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .dine-card:hover .dine-card__media img { transform: scale(1.05); } }
.dine-card h3 { font-family: var(--serif-text); font-size: 1.5rem; margin: 22px 0 8px; }
.dine-card h3 a:hover { color: var(--mogador-strong); }
.dine-card p { color: var(--muted); }

/* Bloc éditorial image + panneau */
.feature { display: grid; grid-template-columns: 1.35fr 1fr; border-radius: 8px; overflow: hidden; min-height: clamp(400px, 38vw, 520px); }
.feature__media { position: relative; background: var(--ink); }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__panel { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(32px, 5vw, 72px); background: linear-gradient(100deg, var(--mist), var(--chalk)); }
.feature__panel h3 { font-family: var(--serif); font-size: clamp(1.9rem, 2.8vw, 2.5rem); line-height: 1.12; margin-bottom: 20px; }
.feature__panel .btn { margin-top: 12px; }

/* Services */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.perks li { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); }
.perks .i { width: 30px; height: 30px; color: var(--mogador-strong); stroke-width: 1.15; }
.perks h3 { font-family: var(--sans); font-weight: 500; font-size: 1.05rem; margin: 18px 0 6px; }
.perks p { color: var(--muted); font-size: .96rem; margin: 0; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__title { position: sticky; top: calc(var(--hdr-h) + 96px); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; font-weight: 450; font-size: 1.06rem; color: var(--ink); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary .i { transition: transform .45s var(--ease); }
.faq__list details[open] summary .i { transform: rotate(180deg); }
.faq__list details p { padding-bottom: 24px; max-width: 62ch; margin: 0; }
.faq__list details p a { text-decoration: underline; text-underline-offset: 3px; }
details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
details[open]::details-content { block-size: auto; }

/* Localisation */
.loc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 48px; margin-bottom: 64px; }
.loc__cols { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 32px; }
.loc p a[href^="tel"] { white-space: nowrap; }
.loc h3 { font-family: var(--sans); font-weight: 500; font-size: 1rem; margin-bottom: 12px; }
.loc p { line-height: 1.75; }
.loc p a { text-decoration: underline; text-underline-offset: 3px; }
.map iframe { display: block; width: 100%; height: clamp(360px, 40vw, 520px); border: 0; filter: grayscale(.2); }

/* ---------- Pages intérieures */
.page-hero { position: relative; min-height: clamp(460px, 74svh, 780px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.page-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s var(--ease) both; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,19,23,.5), rgba(14,19,23,0) 62%), linear-gradient(180deg, rgba(14,19,23,.55) 0%, rgba(14,19,23,0) 30%, rgba(14,19,23,.12) 55%, rgba(14,19,23,.78) 100%); }
.page-hero__content { padding-block: calc(var(--hdr-h) + 24px) clamp(44px, 6vw, 80px); }
.page-hero h1 { color: #fff; font-family: var(--serif); font-size: clamp(3rem, 7vw, 6.2rem); line-height: 1; letter-spacing: -.015em; animation: rise 1.1s var(--ease) .2s both; }
.page-hero__lead { max-width: 46ch; font-size: clamp(1.08rem, 1.5vw, 1.3rem); font-weight: 300; margin: 18px 0 0; animation: rise 1.1s var(--ease) .35s both; }
.page-hero--short { min-height: clamp(380px, 56svh, 560px); }
@keyframes settle { from { transform: scale(1.1); } to { transform: scale(1); } }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .9rem; margin-bottom: 20px; opacity: .9; }
.crumbs a, .contact-list a, .to-top, .book-card__help a, .summary small a { display: inline-block; padding-block: 6px; margin-block: -6px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.crumbs a:hover { text-decoration: underline; }
.crumbs--dark { color: var(--muted); opacity: 1; }
.crumbs--dark [aria-current] { color: var(--ink); }

/* Texte éditorial deux colonnes */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.story__aside { position: sticky; top: calc(var(--hdr-h) + 48px); }
.story__aside .display { margin-bottom: 24px; }
.duo { display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px; align-items: end; }
.duo figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.duo figure:first-child { aspect-ratio: 3 / 2; }
.duo figure:last-child { aspect-ratio: 4 / 5; }
.duo img { width: 100%; height: 100%; object-fit: cover; }
.duo figcaption { font-size: .88rem; color: var(--muted); padding-top: 10px; }

.card-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.card-trio .dine-card__media { aspect-ratio: 4 / 5; }

.score { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 64px); background: var(--mist); border-radius: 8px; }
.score__num { font-family: var(--serif); font-size: clamp(4rem, 9vw, 7.5rem); line-height: .9; color: var(--mogador-strong); }
.score h3 { font-family: var(--serif-text); font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 10px; }
.score p { margin: 0; max-width: 60ch; }

.cta-band { position: relative; display: grid; place-items: center; min-height: clamp(420px, 48vw, 600px); padding: 80px var(--pad); text-align: center; color: #fff; overflow: hidden; isolation: isolate; }
.cta-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14,19,23,.48); }
.cta-band .display { color: #fff; max-width: 16ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin: 20px auto 32px; font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Alternance texte/image */
.alt-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.alt-feature + .alt-feature { margin-top: var(--section-y); }
.alt-feature--rev .alt-feature__media { order: 2; }
.alt-feature__media { position: relative; }
.alt-feature__media > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.alt-feature__text h2, .alt-feature__text h3 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; margin-bottom: 24px; }
.alt-feature__text .btn { margin-top: 12px; }
.tick-list { display: grid; gap: 10px; margin: 8px 0 28px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick-list .i { color: var(--mogador-strong); margin-top: 3px; }

.trio-img { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 12px; align-items: center; }
.trio-img img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.trio-img img:nth-child(1), .trio-img img:nth-child(3) { aspect-ratio: 3 / 4; }
.trio-img img:nth-child(2) { aspect-ratio: 4 / 5; }

/* Chambres (liste) */
.room-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 40px); }
.included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.included li { background: #fff; padding: 28px; display: grid; gap: 14px; }
.included .i { width: 28px; height: 28px; color: var(--mogador-strong); }
.included strong { font-weight: 500; color: var(--ink); display: block; }
.included span { color: var(--muted); font-size: .95rem; }

/* Fiche chambre */
.room-top { padding-top: calc(var(--hdr-h) + 28px); }
.room-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, clamp(160px, 19vw, 290px)); gap: 8px; border-radius: var(--radius); overflow: hidden; margin-top: 20px; }
.room-gallery__item { overflow: hidden; background: var(--chalk); }
.room-gallery__item:first-child { grid-row: span 2; }
.room-gallery .btn { position: absolute; right: 16px; bottom: 16px; }
.room-layout { display: grid; grid-template-columns: 1fr minmax(320px, 400px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.room-layout h1 { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.04; margin-bottom: 20px; }
.room-layout .room-meta { font-size: 1rem; gap: 10px 24px; margin-bottom: 32px; }
.room-layout h2 { font-family: var(--serif-text); font-size: 1.6rem; margin: 48px 0 20px; }
.amenities { columns: 3 190px; column-gap: 28px; }
.amenities li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; break-inside: avoid; }
.amenities .i { width: 18px; height: 18px; color: var(--mogador-strong); margin-top: 4px; }
.conditions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.conditions li { background: #fff; padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.conditions .i { width: 24px; height: 24px; color: var(--mogador-strong); }
.conditions strong { display: block; font-weight: 500; color: var(--ink); }
.conditions span { color: var(--muted); font-size: .94rem; }
.book-card { position: sticky; top: calc(var(--hdr-h) + 24px); padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 30px 70px -40px rgba(14,19,23,.3); }
.book-card .price { margin-bottom: 20px; }
.book-card .price strong { font-size: 2rem; }
.book-card legend { font-weight: 500; }
.book-card__help { margin: 18px 0 0; font-size: .92rem; color: var(--muted); text-align: center; }
.book-card__help a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Réservation */
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; background: var(--mist); border-radius: var(--radius); margin-bottom: 8px; }
.notice .i { width: 24px; height: 24px; color: var(--mogador-strong); margin-top: 2px; }
.notice p { margin: 0; }
.res-layout { display: grid; grid-template-columns: 1fr minmax(320px, 400px); gap: clamp(40px, 5vw, 80px); align-items: start; }
.step { padding: 44px 0; margin: 0; min-width: 0; border: 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 28px; }
.step__num { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--mogador-strong); }
.step__head h2 { font-family: var(--serif-text); font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.picks { display: grid; gap: 12px; }
.pick { display: grid; grid-template-columns: 148px 1fr auto; gap: 20px; align-items: center; padding: 12px 20px 12px 12px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, background-color .3s; }
.pick img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.pick__title { font-family: var(--serif-text); font-size: 1.22rem; margin-bottom: 4px; }
.pick__meta { color: var(--muted); font-size: .9rem; margin-bottom: 6px; }
.pick .price strong { font-size: 1.15rem; }
.pick.is-selected { border-color: var(--mogador); background: var(--mist); }
.summary { position: sticky; top: calc(var(--hdr-h) + 24px); padding: 28px; border-radius: 8px; background: var(--ink); color: rgba(255,255,255,.82); }
.summary h2 { color: #fff; font-family: var(--serif-text); font-size: 1.5rem; margin-bottom: 20px; }
.summary dl { margin: 0 0 8px; display: grid; gap: 10px; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; }
.summary dt { color: rgba(255,255,255,.65); }
.summary dd { margin: 0; color: #fff; text-align: right; }
.summary__lines { display: grid; gap: 8px; padding: 16px 0; margin: 16px 0; border-block: 1px solid rgba(255,255,255,.15); font-size: .95rem; }
.summary__lines li { display: flex; justify-content: space-between; gap: 12px; }
.summary__empty { color: rgba(255,255,255,.6); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.summary__total strong { font-family: var(--serif); font-size: 2.4rem; font-weight: 400; color: #fff; }
.summary .form-msg.is-error { color: #FFB4AB; }
.summary .form-msg.is-ok { color: #A8DBF5; }
.summary small { display: block; margin-top: 16px; font-size: .86rem; color: rgba(255,255,255,.6); line-height: 1.5; }

/* Formulaires */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.input { display: flex; flex-direction: column; gap: 8px; }
.input label { font-weight: 450; font-size: .95rem; color: var(--ink); }
.input input, .input select, .input textarea { width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 2px; background: #fff; color: var(--ink); transition: border-color .3s; }
.input textarea { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; }
.input input:focus, .input select:focus, .input textarea:focus { outline: 2px solid var(--mogador); outline-offset: 1px; border-color: var(--mogador); }
.input [aria-invalid="true"] { border-color: var(--danger); }
.input .err { color: var(--danger); font-size: .86rem; min-height: 1em; }
.form-msg { margin: 12px 0 0; font-size: .95rem; }
.form-msg.is-ok { color: var(--mogador-strong); }
.form-msg.is-error { color: var(--danger); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--mogador-strong); }
.contact-list small { display: block; color: var(--muted); font-size: .88rem; }
.contact-list a:hover { color: var(--mogador-strong); }
.contact-socials { display: flex; gap: 10px; margin-top: 28px; }
.contact-socials a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.contact-socials a:hover { background: var(--ink); color: #fff; }

/* Activités */
.act-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 4vw, 56px) clamp(20px, 3vw, 36px); }
.act-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--chalk); }
.act-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .act-card:hover .act-card__media img { transform: scale(1.05); } }
.act-card h3 { font-family: var(--serif-text); font-size: 1.5rem; margin: 20px 0 8px; }
.act-card p { color: var(--muted); }
.act-card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.act-card__foot .price strong { font-size: 1.3rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.steps li { padding-top: 24px; border-top: 1px solid var(--line-strong); }
.steps .step__num { display: block; margin-bottom: 18px; }
.steps h3 { font-family: var(--sans); font-weight: 500; font-size: 1.1rem; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }

/* Galerie */
.gallery { columns: 3 300px; column-gap: 12px; }
.gallery__item { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: 4px; overflow: hidden; background: var(--chalk); }
.gallery__item img { height: auto; }
@media (hover: hover) { .gallery__item:hover img { transform: scale(1.03); } }

/* Visionneuse */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14,19,23,.96); color: #fff; }
.lightbox[open] { display: grid; place-items: center; animation: fade .4s var(--ease); }
.lightbox::backdrop { background: rgba(14,19,23,.6); }
.lightbox__figure { margin: 0; display: grid; gap: 14px; max-width: min(1400px, 88vw); }
.lightbox__figure img { max-width: 100%; max-height: 80dvh; margin-inline: auto; object-fit: contain; border-radius: 2px; }
.lightbox__figure figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: .95rem; color: rgba(255,255,255,.78); }
.lightbox__count { font-variant-numeric: tabular-nums; }
.lightbox__btn { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; color: #fff; transition: background-color .3s, color .3s; }
.lightbox__btn:hover { background: #fff; color: var(--ink); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }

/* Partenaires */
.partners { padding-block: 44px; border-top: 1px solid var(--line); background: #fff; }
.partners__inner { display: flex; }
/* Bandeau sur une seule ligne : main.js répète les logos puis les fait défiler en boucle */
.partners__marquee { flex: 1; min-width: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
.partners__marquee::-webkit-scrollbar { display: none; }
.partners__marquee.is-running { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.partners__list { flex: none; display: flex; flex-wrap: nowrap; align-items: center; gap: clamp(40px, 5vw, 72px); padding-right: clamp(40px, 5vw, 72px); }
.partners__list li { flex: none; }
.is-running .partners__list { animation: partners-scroll var(--marquee-dur, 30s) linear infinite; }
@media (hover: hover) { .partners__marquee:hover .partners__list { animation-play-state: paused; } }
@keyframes partners-scroll { to { transform: translateX(-100%); } }
.partners__list img { display: block; width: auto; max-height: 34px; }

.partners__list img[src$=".svg"] { height: 26px; }

/* Hero en triptyque (photos verticales) */
.page-hero__tri { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--ink); }
.page-hero__tri img { width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s var(--ease) both; }
.page-hero__tri img:nth-child(2) { animation-delay: .12s; }
.page-hero__tri img:nth-child(3) { animation-delay: .24s; }
.alt-feature__media--tall > img { aspect-ratio: 4 / 5; }

/* Carrousel de photos verticales */
.photo-rail .rail__track { grid-auto-columns: clamp(220px, 22vw, 320px); }
.photo-rail__item { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--chalk); }
.photo-rail__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .photo-rail__item:hover img { transform: scale(1.04); } }

/* ---------- Newsletter + footer */
.newsletter { background: var(--mist); padding-block: clamp(56px, 7vw, 88px); }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: center; }
.newsletter__title { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; margin-bottom: 10px; }
.newsletter__inner p { margin: 0; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter__form input { flex: 1 1 240px; height: 54px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 2px; background: #fff; }
.newsletter__form .form-msg { flex-basis: 100%; }

.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-top: clamp(64px, 8vw, 104px); font-size: .97rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 64px; }
.footer__brand img { width: 160px; height: auto; filter: brightness(0) invert(1); margin-bottom: 24px; }
.footer__brand p { max-width: 34ch; }
.site-footer h2 { color: #fff; font-family: var(--sans); font-weight: 500; font-size: 1rem; margin-bottom: 18px; }
.footer__col ul, .footer__col address { display: grid; gap: 2px; }
.footer__col a { display: inline-block; padding-block: 5px; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; }
.socials a:hover { background: #fff; color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.footer__bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top .i { transform: rotate(-90deg); width: 16px; height: 16px; }

/* ---------- Apparition au défilement */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive */
@media (max-width: 1180px) {
  :root { --hdr-h: 72px; }
  .hdr-top, .site-header.is-solid .hdr-top { height: 72px; }
  .hdr-nav, .hdr-link { display: none; }
  .menu-btn { display: inline-flex; }
  .brand img { height: 54px; }
  .site-header.is-solid .brand img { height: 48px; }
  .booking { grid-template-columns: 1fr 1fr; }
  .booking__group--dates { grid-column: 1 / -1; }
  .book-card .booking { grid-template-columns: 1fr; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .loc { grid-template-columns: 1fr; }
  .included { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .intro__grid, .story, .faq__grid, .alt-feature, .contact-grid, .newsletter__inner, .room-layout, .res-layout { grid-template-columns: 1fr; }
  .story__aside, .faq__title, .book-card, .summary { position: static; }
  .alt-feature--rev .alt-feature__media { order: 0; }
  .intro__media { max-width: 560px; }
  .split-slide { grid-template-columns: 1fr; }
  .split-slide__media { order: -1; aspect-ratio: 4 / 3; }
  .split-slider__nav { width: 100%; bottom: 24px; }
  .split-slide__panel { padding-bottom: 104px; }
  .feature { grid-template-columns: 1fr; }
  .feature__media { aspect-ratio: 16 / 10; }
  .dine-grid, .card-trio, .act-grid { grid-template-columns: repeat(2, 1fr); }
  .room-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .hdr-book { display: none; }
  .mobile-book { display: flex; }
  .site-footer { padding-bottom: 80px; }
  .hero { --arch-x: 14%; --arch-top: 14%; }
  .hero__pause { top: 96px; }
  .booking { grid-template-columns: 1fr; padding: 16px; gap: 14px; }
  .booking legend { font-size: .9rem; margin-bottom: 8px; }
  .booking__dates { gap: 8px; }
  .booking__to { display: none; }
  .field { height: 52px; padding: 0 12px; }
  .field--date .i { display: none; }
  .booking__submit { height: 52px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 34vw; }
  .mosaic__item--lead { grid-column: 1 / -1; grid-row: span 2; }
  .mosaic__item:nth-child(n+4) { display: none; }
  .dine-grid, .card-trio, .act-grid, .loc__cols, .conditions, .included, .form-grid { grid-template-columns: 1fr; }
  .dine-card__media { aspect-ratio: 4 / 3; }
  .perks li { padding-right: 16px; }
  .perks p { font-size: .9rem; }
  .rail__controls .rail__progress { margin-right: 4px; }
  .duo { grid-template-columns: 1fr; }
  .trio-img { grid-template-columns: 1fr 1fr; }
  .trio-img img:nth-child(2) { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 4 / 3; }
  .room-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 56vw 26vw; }
  .room-gallery__item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .pick { grid-template-columns: 96px 1fr; padding: 12px; }
  .pick .stepper { grid-column: 1 / -1; justify-self: end; }
  .menu__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .score { grid-template-columns: 1fr; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; translate: none; }
  .page-hero__tri { grid-template-columns: 1fr; }
  .page-hero__tri img:not(:first-child) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
