/* ============================================================
   HÔTEL DES CARDINAUX — styles
   Palette : ivory #F9F6F1 · cream #EDE8DF · navy #1A2535
             sand #B89A6E · stone #6B7B8D · carmine #870313
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Inter:wght@300;400;500&display=swap');

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ivory:   #F9F6F1;
  --cream:   #EDE8DF;
  --navy:    #1A2535;
  --sand:    #B89A6E;
  --stone:   #6B7B8D;
  --carmine: #870313;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  --max-w: 80rem;
  --px:    1.5rem;
}

html { scroll-behavior: smooth; color-scheme: light; }

body {
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { font-family: var(--serif); }

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

@media (min-width: 1024px) {
  :root { --px: 3rem; }
}

/* ── Eyebrow (small caps label above titles) ──────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sand);
}

.eyebrow-line {
  width: 2rem;
  height: 1px;
  background: var(--sand);
  margin-block: .625rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: .875rem 2.5rem;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
  cursor: pointer;
  border: none;
}

.btn-sand {
  background: var(--sand);
  color: var(--ivory);
}
.btn-sand:hover { background: color-mix(in srgb, var(--sand) 85%, transparent); }

.btn-outline-white {
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

.btn-outline-navy {
  border: 1px solid var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--ivory); }

.btn-outline-sand {
  border: 1px solid var(--sand);
  color: var(--sand);
}
.btn-outline-sand:hover { background: var(--sand); color: var(--navy); }

/* ── HEADER ───────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background .5s, box-shadow .5s;
}
.site-header.scrolled {
  background: var(--carmine);
  box-shadow: 0 1px 0 rgba(255,255,255,.1);
}

.site-header .inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
  transform-origin: left center;
  transform: scale(1.22);
  transition: transform .5s;
}
.site-header.scrolled .logo-link { transform: scale(1); }

.logo-text { display: flex; flex-direction: column; line-height: 1; color: #fff; }
.logo-name  { font-family: var(--serif); font-size: 1.125rem; letter-spacing: .04em; }
.logo-sub   { font-family: var(--sans); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; opacity: .6; margin-top: .125rem; }

/* Lighthouse SVG */
.logo-svg { color: #fff; flex-shrink: 0; }

/* Nav desktop */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-desktop a {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color .3s;
}
.nav-desktop a:hover { color: var(--sand); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 1.25rem; }

.btn-reserver {
  display: none;
  padding: .625rem 1.25rem;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.65);
  color: #fff;
  transition: background .3s, color .3s;
  cursor: pointer;
  background: transparent;
}
.btn-reserver:hover { background: #fff; color: var(--navy); }
.site-header.scrolled .btn-reserver:hover { color: var(--carmine); }
@media (min-width: 640px) { .btn-reserver { display: inline-flex; } }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 1024px) { .hamburger { display: none; } }

.hamburger span {
  display: block;
  width: 1.5rem;
  height: 1px;
  background: #fff;
  transform-origin: center;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* Mobile menu */
.mobile-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .5s, opacity .5s;
}
.mobile-menu.open { max-height: 100vh; opacity: 1; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

.mobile-menu-inner {
  background: rgba(26,37,53,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 2.5rem 1.5rem;
}
.mobile-menu-inner nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-menu-inner nav a {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
.mobile-menu-inner nav a:hover { color: var(--sand); }

.btn-reserver-mobile {
  display: block;
  margin-top: 2.5rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--sand);
  color: var(--sand);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: center;
  transition: background .3s, color .3s;
}
.btn-reserver-mobile:hover { background: var(--sand); color: var(--navy); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,37,53,.85) 0%, rgba(26,37,53,.25) 50%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
  padding-bottom: 5rem;
}
@media (min-width: 1024px) { .hero-content { padding-bottom: 8rem; } }

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: #fff;
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  margin-bottom: 1.75rem;
  max-width: 32rem;
}
.hero-sub {
  color: rgba(255,255,255,.8);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-family: var(--sans);
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 28rem;
  line-height: 1.7;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── ABOUT ────────────────────────────────────────────────── */
.about { padding-block: 6rem; }
@media (min-width: 1024px) { .about { padding-block: 10rem; } }

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 7rem; }
}

.about-text p {
  font-family: var(--sans);
  color: var(--stone);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 1.25rem;
}
.about-text strong { font-weight: 600; color: rgba(26,37,53,.75); }

.about h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 2rem;
}

/* Image column */
.about-img-wrap {
  position: relative;
}
.about-img-frame {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.about-img-frame img { width: 100%; height: 100%; object-fit: cover; }

.about-quote {
  display: none;
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 11rem;
  background: var(--cream);
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
@media (min-width: 1024px) { .about-quote { display: block; } }

.about-quote p {
  font-family: var(--serif);
  color: var(--navy);
  font-size: .875rem;
  font-style: italic;
  line-height: 1.7;
  text-align: center;
}

/* Stats animés */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(184,154,110,.2);
  margin-top: 3rem;
}
.stat-item {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .7s, transform .7s;
}
.stat-item.visible { opacity: 1; transform: translateY(0); }

.stat-item .stat-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: #870313;
  line-height: 1;
  margin-bottom: 0;
}
.stat-item .stat-label {
  font-family: var(--sans);
  font-size: clamp(9px, 1.8vw, 12px);
  color: rgba(26,37,53,.8);
  letter-spacing: .01em;
  margin-top: .35rem;
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1.25;
}
.stat-item .stat-sub {
  font-family: var(--sans);
  font-size: clamp(9px, 1.6vw, 10px);
  color: rgba(107,123,141,.55);
  letter-spacing: .02em;
  margin-top: .25rem;
  margin-bottom: 0;
  line-height: 1.3;
}

/* ── ROOMS ────────────────────────────────────────────────── */
.rooms { background: var(--cream); padding-block: 6rem; }
@media (min-width: 1024px) { .rooms { padding-block: 10rem; } }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .eyebrow-line { margin-inline: auto; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--navy);
}

.rooms-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .rooms-grid { grid-template-columns: repeat(3, 1fr); } }

.room-card { background: var(--ivory); overflow: hidden; }

.room-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}
.room-card:hover .room-card-img img { transform: scale(1.05); }

.room-card-body { padding: 1.75rem; }
.room-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: .75rem;
}
.room-card h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.room-size { font-family: var(--sans); font-size: 10px; color: var(--stone); letter-spacing: .05em; }
.room-desc { font-family: var(--sans); color: var(--stone); font-size: .875rem; line-height: 1.7; margin-bottom: 1.25rem; }
.room-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(184,154,110,.2);
}
.room-price { font-family: var(--sans); color: var(--sand); font-size: .875rem; }
.room-link {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color .3s;
}
.room-link:hover { color: var(--sand); }

.rooms-cta { text-align: center; margin-top: 3.5rem; }

/* ── RESTAURANT ───────────────────────────────────────────── */
.restaurant { padding-block: 6rem; }
@media (min-width: 1024px) { .restaurant { padding-block: 10rem; } }

.restaurant-grid {
  display: grid;
  align-items: stretch;
}
@media (min-width: 1024px) { .restaurant-grid { grid-template-columns: 1fr 1fr; } }

.restaurant-img {
  aspect-ratio: 4/3;
  min-height: 26rem;
  overflow: hidden;
}
@media (min-width: 1024px) { .restaurant-img { aspect-ratio: unset; } }
.restaurant-img img { width: 100%; height: 100%; object-fit: cover; }

.restaurant-text {
  background: var(--navy);
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 1024px) { .restaurant-text { padding: 5rem 4rem; } }

.restaurant-text h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 2rem;
}
.restaurant-text p {
  font-family: var(--sans);
  color: rgba(249,246,241,.65);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 1.25rem;
}

.restaurant-text .btn { align-self: flex-start; width: fit-content; }

.restaurant-thumbs { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.restaurant-thumb { width: 5rem; height: 5rem; overflow: hidden; flex-shrink: 0; cursor: pointer; transition: opacity .2s; }
.restaurant-thumb:hover { opacity: .85; }
@media (min-width: 1024px) { .restaurant-thumb { width: 6rem; height: 6rem; } }
.restaurant-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── EXPERIENCES ──────────────────────────────────────────── */
.experiences { background: var(--navy); padding-block: 6rem; }
@media (min-width: 1024px) { .experiences { padding-block: 10rem; } }

.experiences .section-header .eyebrow,
.experiences .section-header h2 { color: var(--ivory); }

.exp-grid { display: grid; gap: .25rem; }
@media (min-width: 768px) { .exp-grid { grid-template-columns: repeat(3, 1fr); } }

.exp-card { position: relative; overflow: hidden; }
.exp-card-img { aspect-ratio: 3/4; position: relative; overflow: hidden; }
.exp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}
.exp-card:hover .exp-card-img img { transform: scale(1.05); }
.exp-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,37,53,.9), rgba(26,37,53,.25) 50%, transparent);
}
.exp-card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}
.exp-card h3 {
  font-size: 1.5rem;
  color: var(--ivory);
  font-weight: 300;
  font-style: italic;
  margin-bottom: .75rem;
}
.exp-card p { font-family: var(--sans); color: rgba(249,246,241,.65); font-size: .875rem; line-height: 1.7; }

/* ── GALLERY SCROLL (homepage) ────────────────────────────── */
.gallery-section { padding-block: 6rem; overflow: hidden; }
@media (min-width: 1024px) { .gallery-section { padding-block: 10rem; } }

.gallery-header { text-align: center; margin-bottom: 3.5rem; padding-inline: 1.5rem; }

.gallery-track-wrap { position: relative; }

.gallery-track-wrap:hover .gallery-arrow { opacity: 1; }

.gallery-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  background: rgba(249,246,241,.9);
  border: 1px solid rgba(184,154,110,.2);
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s, background .3s, color .3s;
}
@media (min-width: 768px) { .gallery-arrow { display: flex; } }
.gallery-arrow:hover { background: var(--sand); color: var(--ivory); }
.gallery-arrow.left  { left: 1rem; }
.gallery-arrow.right { right: 1rem; }

.gallery-track {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) { .gallery-track { padding-inline: 3rem; } }
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-item {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  height: 380px;
  overflow: hidden;
}
@media (min-width: 768px) { .gallery-item { width: 360px; height: 480px; } }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-hint {
  text-align: center;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(107,123,141,.4);
  margin-top: 2rem;
}
@media (min-width: 768px) { .gallery-hint { display: none; } }

/* ── CTA RESERVATION ──────────────────────────────────────── */
.cta-reservation {
  position: relative;
  padding-block: 9rem;
}
@media (min-width: 1024px) { .cta-reservation { padding-block: 14rem; } }

.cta-reservation-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-reservation-overlay { position: absolute; inset: 0; background: rgba(26,37,53,.68); }
.cta-reservation-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 32rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.cta-reservation h2 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 2rem;
}
.cta-reservation p {
  font-family: var(--sans);
  color: rgba(249,246,241,.65);
  font-size: clamp(.9375rem, 1.5vw, 1.125rem);
  margin-bottom: 3rem;
  line-height: 1.7;
}
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cta-phone {
  margin-top: 1.25rem;
  font-family: var(--sans);
  font-size: 1.125rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.9);
}
.cta-phone a { color: inherit; transition: color .2s; }
.cta-phone a:hover { color: var(--sand); }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(249,246,241,.55);
  padding-block: 5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-brand h3 {
  font-family: var(--serif);
  color: var(--ivory);
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: .25rem;
}
.footer-brand .eyebrow { color: var(--sand); margin-top: 0; margin-bottom: 1.25rem; }
.footer-brand p { font-family: var(--sans); font-size: .875rem; line-height: 1.75; }

.footer-col-title {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(249,246,241,.35);
  margin-bottom: 1.25rem;
}
.footer-col a, .footer-col p {
  display: block;
  font-family: var(--sans);
  font-size: .875rem;
  line-height: 1.75;
  margin-bottom: .375rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--sand); }

.footer-boat-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-top: .75rem;
  border-radius: 2px;
}
.footer-boat-img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }

.footer-bottom {
  border-top: 1px solid rgba(249,246,241,.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom p, .footer-bottom a {
  font-family: var(--sans);
  font-size: .75rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--sand); }

/* ── PAGE GALERIE ─────────────────────────────────────────── */
.page-galerie { padding-bottom: 6rem; }

.galerie-hero {
  position: relative;
  height: 50vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 4rem;
}
.galerie-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.galerie-hero-overlay { position: absolute; inset: 0; background: rgba(26,37,53,.6); }
.galerie-hero-content { position: relative; z-index: 1; padding-inline: 1.5rem; }
.galerie-hero .eyebrow { color: rgba(184,154,110,.9); margin-bottom: 1rem; display: block; }
.galerie-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  font-style: italic;
  color: #fff;
}

/* Filtres */
.galerie-filters {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
  padding-inline: 1.5rem;
}
.filter-btn {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .625rem 1.25rem;
  border: 1px solid rgba(184,154,110,.35);
  color: rgba(26,37,53,.55);
  background: none;
  cursor: pointer;
  transition: border-color .3s, color .3s, background .3s;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

/* Masonry columns */
.masonry {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding-inline: .75rem;
}
.masonry-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-width: 0;
}
.masonry-item {
  position: relative;
  overflow: hidden;
  background: var(--carmine);
  cursor: pointer;
}
.masonry-item-inner {
  transition: transform .7s cubic-bezier(.25,0,0,1);
}
.masonry-item:hover .masonry-item-inner { transform: translateY(-20px); }

.masonry-item img { width: 100%; height: auto; display: block; }

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,37,53,0);
  pointer-events: none;
  transition: background .5s;
}
.masonry-item:hover .masonry-overlay { background: rgba(26,37,53,.2); }

.masonry-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .75rem;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.masonry-item:hover .masonry-caption { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.96);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: color .2s;
}
.lightbox-close:hover { color: #fff; }

.lightbox-counter {
  position: absolute;
  top: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .25em;
  color: rgba(255,255,255,.25);
  pointer-events: none;
  white-space: nowrap;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.4);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: .75rem;
  z-index: 10;
  transition: color .2s;
}
.lightbox-arrow:hover { color: #fff; }
.lightbox-arrow.prev { left: 1.25rem; }
.lightbox-arrow.next { right: 1.25rem; }
@media (min-width: 768px) {
  .lightbox-arrow.prev { left: 2.5rem; }
  .lightbox-arrow.next { right: 2.5rem; }
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-content img {
  display: block;
  max-width: 88vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox-alt {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  pointer-events: none;
}

/* ── PAGE SÉJOURNER ───────────────────────────────────────── */
.sejourner-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sejourner-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sejourner-hero-overlay { position: absolute; inset: 0; background: rgba(26,37,53,.55); }
.sejourner-hero-content { position: relative; z-index: 1; padding-inline: 1.5rem; }
.sejourner-hero .eyebrow { color: rgba(184,154,110,.9); margin-bottom: 1.5rem; display: block; }
.sejourner-hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 300;
  font-style: italic;
  color: #fff;
  line-height: 1.15;
}

/* Room nav sticky */
.room-nav {
  position: sticky;
  top: 5rem;
  z-index: 40;
  background: var(--cream);
  border-top: 1px solid rgba(184,154,110,.3);
  border-bottom: 1px solid rgba(184,154,110,.3);
}
.room-nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
  display: flex;
  gap: 2rem;
  justify-content: center;
  overflow-x: auto;
  padding-block: .875rem;
  scrollbar-width: none;
}
.room-nav-inner::-webkit-scrollbar { display: none; }
.room-nav-inner a {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.125rem;
  color: rgba(26,37,53,.85);
  white-space: nowrap;
  transition: color .3s;
}
.room-nav-inner a:hover { color: var(--sand); }

/* Intro rooms */
.rooms-intro { padding-block: 6rem; background: var(--ivory); }
@media (min-width: 1024px) { .rooms-intro { padding-block: 9rem; } }

.rooms-intro-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .rooms-intro-grid { grid-template-columns: 1fr 1fr; gap: 6rem; }
}

/* Intro images (stacked with offset) */
.intro-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  position: relative;
}
.intro-img-main { grid-column: 1 / -1; aspect-ratio: 16/9; overflow: hidden; }
.intro-img-main img { width: 100%; height: 100%; object-fit: cover; }
.intro-img-sub { aspect-ratio: 4/3; overflow: hidden; }
.intro-img-sub img { width: 100%; height: 100%; object-fit: cover; }

.rooms-intro-text { }
.rooms-intro-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 2rem;
}
.rooms-intro-text p {
  font-family: var(--sans);
  color: var(--stone);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 1.25rem;
}
.rooms-intro-text strong { font-weight: 600; color: var(--navy); }

/* Panoramic section */
.panoramic {
  position: relative;
  height: 50vh;
  min-height: 360px;
  overflow: hidden;
}
.panoramic img { width: 100%; height: 100%; object-fit: cover; }
.panoramic-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,37,53,.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.panoramic-text {
  text-align: center;
  padding-inline: 1.5rem;
}
.panoramic-text p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-style: italic;
  color: rgba(249,246,241,.8);
  font-weight: 300;
  max-width: 36rem;
}

/* Individual room sections */
.room-section {
  padding-block: 5rem;
  scroll-margin-top: 9rem;
}
@media (min-width: 1024px) { .room-section { padding-block: 7rem; } }
.room-section.bg-cream { background: var(--cream); }

.room-section-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .room-section-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.room-section.reversed .room-section-grid .room-section-imgs { order: 1; }
@media (min-width: 1024px) {
  .room-section.reversed .room-section-grid .room-section-imgs { order: 2; }
  .room-section.reversed .room-section-grid .room-section-text { order: 1; }
}

.room-main-img { aspect-ratio: 4/3; overflow: hidden; }
.room-main-img img { width: 100%; height: 100%; object-fit: cover; }
.room-sub-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .5rem; }
.room-sub-img  { aspect-ratio: 4/3; overflow: hidden; }
.room-sub-img img { width: 100%; height: 100%; object-fit: cover; }

.room-section-text .eyebrow { display: block; margin-bottom: .25rem; }
.room-section-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.room-dims {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.room-dim {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
}

.room-section-text p {
  font-family: var(--sans);
  color: var(--stone);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 1.25rem;
}
.room-section-text strong { font-weight: 600; color: var(--navy); }

.room-amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(184,154,110,.2);
  margin-block: 2rem;
}
.room-amenity {
  font-family: var(--sans);
  color: var(--stone);
  font-size: .875rem;
  display: flex;
  align-items: baseline;
  gap: .625rem;
}
.room-amenity::before { content: '—'; color: var(--sand); font-size: 10px; flex-shrink: 0; }

.room-book {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.room-price { font-family: var(--sans); color: var(--sand); font-size: .875rem; }

/* Services section */
.services-section { background: var(--navy); padding-block: 6rem; }
@media (min-width: 1024px) { .services-section { padding-block: 9rem; } }

.services-section .section-header .eyebrow,
.services-section .section-header h2 { color: var(--ivory); }

.services-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 4rem; } }

.service-group h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--sand);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.service-item {
  font-family: var(--sans);
  color: rgba(249,246,241,.65);
  font-size: .875rem;
  line-height: 1.7;
  display: flex;
  align-items: baseline;
  gap: .625rem;
  margin-bottom: .75rem;
}
.service-item::before { content: '—'; color: var(--sand); font-size: 10px; flex-shrink: 0; }

/* ── Services & équipements (accordéon) ──────────────────── */
.services-equip { background: var(--cream); padding-block: 5rem; }
@media (min-width: 1024px) { .services-equip { padding-block: 7rem; } }

.services-equip-grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .services-equip-grid { grid-template-columns: 3fr 2fr; gap: 6rem; }
}

.services-equip h2 {
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

.services-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(26,37,53,.1);
}
.quick-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: .25rem;
}
.quick-val {
  font-family: var(--sans);
  font-size: .875rem;
  color: var(--navy);
}
.services-quick a {
  font-family: var(--sans);
  font-size: .875rem;
  color: var(--sand);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .2s;
}
.services-quick a:hover { color: var(--navy); }

.accordion-item { border-bottom: 1px solid rgba(26,37,53,.1); }
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.accordion-btn-label {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color .2s;
}
.accordion-btn:hover .accordion-btn-label { color: var(--sand); }
.accordion-icon {
  color: rgba(26,37,53,.45);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform .3s;
  user-select: none;
  flex-shrink: 0;
}
.accordion-btn[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .5s ease-out;
}
.accordion-body.open { max-height: 20rem; padding-bottom: 1.5rem; }

.accordion-list { display: flex; flex-direction: column; gap: .75rem; }
.accordion-list li {
  font-family: var(--sans);
  color: var(--stone);
  font-size: .875rem;
  display: flex;
  align-items: baseline;
  gap: .75rem;
}
.accordion-list li::before { content: '—'; color: var(--sand); font-size: 10px; flex-shrink: 0; }

.services-note {
  font-family: var(--sans);
  color: rgba(107,123,141,.7);
  font-size: .875rem;
  margin-top: 2rem;
  line-height: 1.75;
}
.services-note a { color: var(--sand); transition: color .2s; }
.services-note a:hover { color: var(--navy); }

.services-equip-img { aspect-ratio: 3/4; overflow: hidden; }
.services-equip-img img { width: 100%; height: 100%; object-fit: cover; }

/* CTA séjourner */
.sejourner-cta {
  position: relative;
  padding-block: 8rem;
}
@media (min-width: 1024px) { .sejourner-cta { padding-block: 11rem; } }
.sejourner-cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sejourner-cta-overlay { position: absolute; inset: 0; background: rgba(26,37,53,.68); }
.sejourner-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 32rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.sejourner-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  margin-bottom: 2rem;
  line-height: 1.2;
}

/* ── Fade-in scroll animation ─────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity .7s, transform .7s;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
