/* ======================== VARIABLES ======================== */
:root {
  --sand: #F9F5EF;
  --noir: #0E0D0B;
  --or: #C9A84C;
  --or-light: #e8cc7a;
  --white: #ffffff;
  --muted: #6B6560;
  --nav-h: 76px;
}

/* ======================== RESET ======================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--sand); color: var(--noir); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ======================== UTILITAIRES ======================== */
.label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 16px;
}
.divider {
  width: 48px;
  height: 1px;
  background: var(--or);
  margin: 28px 0;
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .5px;
  padding: 5px 12px;
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 2px;
  color: var(--noir);
  background: rgba(201,168,76,.07);
}
.apt-dark .badge {
  color: var(--white);
  background: rgba(201,168,76,.1);
  border-color: rgba(201,168,76,.4);
}

/* ======================== BOUTONS ======================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--or);
  color: var(--noir);
  padding: 14px 32px;
  border-radius: 2px;
  border: 1px solid var(--or);
  cursor: pointer;
  transition: background .3s, color .3s;
}
.btn-primary:hover { background: transparent; color: var(--or); }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  color: var(--noir);
  padding: 12px 28px;
  border-radius: 2px;
  border: 1px solid var(--noir);
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-dark:hover {
  background: var(--noir);
  color: var(--white);
  border-color: var(--noir);
}
.btn-dark:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(14,13,11,0.06);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.4);
  transition: border-color .3s, color .3s;
}
.btn-ghost:hover { border-color: var(--or); color: var(--or); }

.btn-ghost--on-light { color: var(--noir); border-color: rgba(14,13,11,.2); }
.btn-ghost--on-light:hover { border-color: var(--or); color: var(--or); }

.btn-platform {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 18px;
  border: 1px solid rgba(107,101,96,.3);
  border-radius: 2px;
  transition: all .3s;
}
.btn-platform:hover { border-color: var(--noir); color: var(--noir); }

/* ======================== SCROLL REVEAL ======================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ======================== NAV ======================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 200;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
}
.nav.scrolled {
  background: rgba(249,245,239,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,168,76,.18);
}
.nav-logo img { height: 102px; transition: filter .4s; }
.nav:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .5px;
  color: var(--white);
  position: relative;
  transition: color .3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--or);
  transition: width .3s;
}
.nav-links a:hover { color: var(--or); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--noir); }
.nav.scrolled .nav-links a:hover { color: var(--or); }

.nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.45);
  padding: 9px 22px;
  border-radius: 2px;
  transition: all .3s;
}
.nav-cta:hover { background: var(--or); border-color: var(--or); color: var(--noir); }
.nav.scrolled .nav-cta { color: var(--noir); border-color: var(--noir); }
.nav.scrolled .nav-cta:hover { background: var(--or); border-color: var(--or); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  flex-shrink: 0;
  z-index: 210;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: background .3s, transform .3s, opacity .3s;
}
.nav.scrolled .burger span { background: var(--noir); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================== HERO ======================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #1a3a4a 0%, #0e1e2a 45%, #2c1a08 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10,8,5,.3) 0%,
    rgba(10,8,5,.2) 50%,
    rgba(10,8,5,.7) 100%);
}
.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

/* Hero background image and centered logo */
.hero-fallback {
  background-image: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)), url('images/apt7.jpg');
  background-size: cover;
  background-position: center;
}
.hero-logo-wrap{
  position: relative;
  z-index: 2;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -28px -40px;
  background: radial-gradient(circle, rgba(0,0,0,.34) 0%, rgba(0,0,0,.12) 42%, rgba(0,0,0,0) 74%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-logo{
  position: relative;
  z-index: 1;
  width:620px;
  max-width:80vw;
  height:auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6));
}
.hero-caption{
  margin-top:18px;
  color: rgba(255,255,255,0.95);
  font-size:14px;
  letter-spacing:2px;
  text-transform:uppercase;
  font-weight:600;
  z-index:2;
}
.hero-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp .8s .2s ease forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -2px;
}
.hero-title em { color: var(--or-light); font-style: italic; }
.word-reveal { opacity: 0; animation: fadeUp .9s ease forwards; }
.word-reveal.delay-1 { animation-delay: .25s; }
.hero-sub { opacity: 0; animation: fadeUp .9s .45s ease forwards; font-family: 'Cormorant Garamond', serif; font-size: clamp(15px,2vw,20px); font-weight: 300; letter-spacing: 4px; color: rgba(255,255,255,.65); margin-top: 20px; margin-bottom: 44px; }
.hero-actions { opacity: 0; animation: fadeUp .9s .65s ease forwards; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.45);
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  animation: bounce 2.2s infinite;
}
.hero-scroll i { font-size: 13px; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(9px); }
}

/* Fullscreen video section (after hero) */
.fullscreen-video {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
  display: block;
}
.fullscreen-video .full-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.fullscreen-video .full-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.12), rgba(0,0,0,0.45));
  pointer-events: none;
  z-index: 1;
}
.full-video-backdrop { display: none; }

/* Pleine largeur, sans recadrage : la hauteur de la section suit
   naturellement celle de la vidéo (plus de hauteur forcée en vh qui
   provoquait soit un recadrage, soit une bande vide). */
@media (max-width: 720px) {
  .fullscreen-video {
    height: auto;
    min-height: 0;
  }
  .full-video-backdrop { display: none; }
  .fullscreen-video .full-video {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    z-index: 0;
  }
}

/* Small discreet button (bottom-right) for fullscreen video */
.video-unmute {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.42);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 18px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  opacity: 0.78;
  transition: opacity .18s, transform .12s, background .18s;
}
.video-unmute:hover { opacity: 1; transform: translateY(-2px); background: rgba(0,0,0,0.6); }
.video-unmute.active { background: rgba(201,168,76,0.95); color: #0e0d0b; }

@media (max-width: 900px) {
  .video-unmute { right: 14px; bottom: 14px; width: 42px; height: 42px; font-size: 16px; }
}

/* ======================== EDITO / INTRODUCTION ======================== */
.edito-section {
  position: relative;
  background: var(--noir);
  padding: 140px 60px 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.edito-ghost {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(90px,16vw,240px);
  font-weight: 300;
  color: rgba(201,168,76,.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -3px;
}
.edito-inner {
  position: relative;
  max-width: 720px;
  text-align: center;
}
.edito-inner .label { display: block; }
.edito-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
}
.edito-title em { font-style: italic; color: var(--or-light); }
.edito-text {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
}
.edito-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.edito-badges .badge { color: var(--white); background: rgba(201,168,76,.1); border-color: rgba(201,168,76,.4); }
.edito-scroll {
  position: relative;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.45);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color .3s;
}
.edito-scroll:hover { color: var(--or); }
.edito-scroll i { font-size: 12px; animation: bounce 2.2s infinite; }

@media (max-width: 720px) {
  .edito-section { padding: 100px 24px 80px; }
}

/* ======================== SECTION ILE ======================== */
/* ======================== GALERIE SCROLL ======================== */
.gallery-section {
  position: relative;
}

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

.gallery-panel {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 72px 72px;
}

.gallery-panel-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 1.2s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.gallery-panel.in-view .gallery-panel-img {
  transform: scale(1);
}

.gallery-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,8,5,.82) 0%,
    rgba(10,8,5,.3) 40%,
    rgba(10,8,5,.1) 100%
  );
}

.gallery-panel-overlay--dark {
  background: rgba(10,8,5,.65);
}

.gallery-panel-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.gallery-panel-content--right {
  margin-left: auto;
  text-align: right;
}

.gallery-panel-content--center {
  margin: 0 auto;
  text-align: center;
  max-width: 700px;
  padding-bottom: 40px;
}

.gallery-index {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--or);
  margin-bottom: 20px;
}

.gallery-panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 300;
  line-height: .98;
  color: var(--white);
  letter-spacing: -1px;
}

.gallery-panel-title em {
  font-style: italic;
  color: var(--or-light);
}

.gallery-panel-sub {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: 20px;
}

/* Panneau final */
.gallery-panel--final {
  align-items: center;
  justify-content: center;
  padding: 0;
}

.gallery-eyebrow {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 24px;
}

.gallery-final-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 10vw, 130px);
  font-weight: 300;
  line-height: .92;
  color: var(--white);
  letter-spacing: -2px;
}

.gallery-final-title em {
  font-style: italic;
  color: var(--or-light);
  display: block;
}

/* Séparateurs entre panneaux */
.gallery-panel + .gallery-panel {
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Barre de progression latérale */
.gallery-progress {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 120px;
  background: rgba(255,255,255,.12);
  z-index: 50;
  opacity: 0;
  transition: opacity .4s;
  border-radius: 2px;
}

.gallery-progress.visible {
  opacity: 1;
}

.gallery-progress-fill {
  width: 100%;
  background: var(--or);
  height: 0%;
  border-radius: 2px;
  transition: height .1s linear;
}

@media (max-width: 900px) {
  .gallery-panel { padding: 40px 24px; }
  .gallery-panel-content--right { margin-left: 0; text-align: left; }
}

/* ======================== APPARTEMENTS ======================== */


.apt-section {
  position: relative;
  padding: 100px 60px;
  overflow: hidden;
}
.apt-light { background: var(--sand); }
.apt-dark { background: var(--noir); }

.apt-ghost {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(80px,14vw,200px);
  font-weight: 300;
  color: rgba(201,168,76,.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -4px;
}

.apt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.apt-grid--rev { direction: rtl; }
.apt-grid--rev > * { direction: ltr; }

.apt-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--noir);
}
.apt-title em { font-style: italic; color: var(--or); }
.apt-body { font-size: 16px; line-height: 1.85; color: var(--muted); max-width: 480px; }
.apt-dark .apt-body { color: rgba(255,255,255,.55); }
.apt-dark .apt-title { color: var(--white); }
.apt-cta { margin-top: 32px; }
.video-visite-label { margin-top: 72px; }

.badge-soon {
  color: var(--or) !important;
  border-color: rgba(201,168,76,.5) !important;
  background: rgba(201,168,76,.12) !important;
  display: inline-flex;
  align-items: center;
}

/* Teaser image for a not-yet-available apartment */
.apt-soon-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,.35);
}
.apt-soon-wrap img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  filter: brightness(.65);
}
.apt-soon-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,8,5,.25);
}
.apt-soon-ribbon {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--noir);
  background: var(--or);
  padding: 12px 26px;
  border-radius: 2px;
}

@media (max-width: 720px) {
  .apt-soon-wrap img { aspect-ratio: 4/3; }
}

/* DIAPORAMA */
.slideshow-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(14,13,11,.16);
}
.slides-track {
  position: relative;
  width: 100%;
  padding-top: 66%;
}
.slides-track img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms ease;
}
.slides-track img.active { opacity: 1; }
.slide-controls {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
}
.slide-dots { display: flex; gap: 6px; }
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.dot.active { background: var(--or); transform: scale(1.35); }
.slide-nav { display: flex; gap: 8px; }
.slide-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .3s, border-color .3s;
}
.slide-btn:hover { background: var(--or); border-color: var(--or); color: var(--noir); }

/* VIDEO VISITE */
.video-visite {
  max-width: 1200px;
  margin: 140px auto 40px; /* push the section down and add bottom spacing */
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.video-visite--dark .video-visite-title { color: var(--white); }
.video-visite-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--noir);
  margin-top: 8px;
  margin-bottom: 24px;
}
.video-visite-title em { font-style: italic; color: var(--or); }

.video-visite-player {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.video-visite-player .video-col {
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(14,13,11,.18);
  padding: 10px;
}
.video-visite-player video {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 4px;
  aspect-ratio: 16 / 9;
  min-height: 380px; /* default min height */
}

@media (min-width: 900px) {
  .video-visite-player video { min-height: 520px; }
}

@media (max-width: 720px) {
  .video-visite { margin: 80px auto 24px; }
  .video-visite-player { grid-template-columns: 1fr; }
  .video-visite-player video { min-height: 240px; }
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,8,5,.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity .4s;
  cursor: pointer;
}
.video-overlay.hidden { opacity: 0; pointer-events: none; }

.play-big-btn {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(201,168,76,.9);
  border: none;
  color: var(--noir);
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform .3s, background .3s;
  padding-left: 4px;
}
.play-big-btn:hover { transform: scale(1.1); background: var(--or); }
.play-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* ======================== MACRO STRIP ======================== */
.macro-strip {
  overflow: hidden;
  height: 220px;
  background: var(--noir);
}
.macro-track {
  display: flex;
  height: 100%;
  width: max-content;
  animation: stripScroll 28s linear infinite;
}
.macro-track img {
  height: 220px;
  width: auto;
  object-fit: cover;
  filter: brightness(.75) saturate(.85);
  transition: filter .4s;
  flex-shrink: 0;
  margin-right: 3px;
}
.macro-track img:hover { filter: brightness(1) saturate(1.1); }
@keyframes stripScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ======================== LOCALISATION ======================== */
.localisation-section {
  background: var(--sand);
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
}
.localisation-ghost {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(100px,18vw,260px);
  font-weight: 300;
  color: rgba(201,168,76,.06);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.localisation-header {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
  position: relative;
}
.localisation-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px,5.5vw,70px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--noir);
}
.localisation-title em { font-style: italic; color: var(--or); }
.localisation-sub { color: var(--muted); font-size: 15px; margin-top: 16px; }

.localisation-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
}
.localisation-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(14,13,11,.07);
}
.localisation-map { position: relative; width: 100%; padding-top: 56%; }
.localisation-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; filter: grayscale(.15); }
.localisation-body { padding: 28px 28px 32px; position: relative; }
.localisation-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 300;
  color: rgba(201,168,76,.3);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.localisation-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 300; color: var(--noir); margin-bottom: 10px; }
.localisation-body p { font-size: 14px; line-height: 1.75; color: var(--muted); }
.localisation-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--or); background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.3);
  padding: 5px 12px; border-radius: 2px; margin-top: 14px;
}
.localisation-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  color: var(--noir); border-bottom: 1px solid rgba(201,168,76,.4);
  padding-bottom: 2px; transition: color .3s, border-color .3s;
}
.localisation-link:hover { color: var(--or); border-color: var(--or); }
.localisation-link i { color: var(--or); }

@media (max-width: 900px) {
  .localisation-section { padding: 80px 24px; }
  .localisation-grid { grid-template-columns: 1fr; }
}

/* ======================== ACTIVITÉS ======================== */
.activites-section {
  background: var(--noir);
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
}
.activites-ghost {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(100px,18vw,260px);
  font-weight: 300;
  color: rgba(255,255,255,.025);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.activites-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}
.activites-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px,5.5vw,70px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
}
.activites-title em { font-style: italic; color: var(--or); }
.activites-intro { color: rgba(255,255,255,.45); font-size: 15px; margin-top: 16px; }

.activities-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.activity-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}
.activity-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.activity-card:hover img { transform: scale(1.07); }
.activity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,5,.88) 0%, rgba(10,8,5,.08) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  transition: background .4s;
}
.activity-card:hover .activity-overlay { background: linear-gradient(to top, rgba(10,8,5,.92) 0%, rgba(10,8,5,.18) 55%); }
.activity-cat { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--or); margin-bottom: 6px; }
.activity-name { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 300; color: var(--white); line-height: 1.2; }
.activity-more {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .3s, gap .3s;
}
.activity-card:hover .activity-more { color: var(--or); gap: 12px; }

/* ======================== MODAL ======================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
}
.modal.open { pointer-events: all; opacity: 1; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,8,5,.85);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.modal-panel {
  position: relative;
  background: var(--white);
  border-radius: 4px;
  width: 90%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateY(30px) scale(.97);
  transition: transform .4s ease;
  scrollbar-width: none;
}
.modal-panel::-webkit-scrollbar { display: none; }
.modal.open .modal-panel { transform: none; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(14,13,11,.08);
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background .3s;
}
.modal-close:hover { background: var(--or); color: var(--noir); }
.modal-media { overflow: hidden; border-radius: 4px 0 0 4px; min-height: 340px; }
.modal-media img, .modal-media video { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.modal-cat { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--or); margin-bottom: 12px; }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 300; line-height: 1.1; color: var(--noir); }
.modal-divider { width: 40px; height: 1px; background: var(--or); margin: 24px 0; }
.modal-desc { font-size: 15px; line-height: 1.8; color: var(--muted); margin-bottom: 24px; }
.modal-infos { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.modal-infos li { font-size: 13px; color: var(--noir); display: flex; align-items: center; gap: 10px; }
.modal-infos li i { color: var(--or); width: 16px; }
.modal-maps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--or);
  border-bottom: 1px solid rgba(201,168,76,.4);
  padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}
.modal-maps:hover { color: var(--noir); border-color: var(--noir); }

/* Modal (logement) — refined typography & single-column layout */
#logementModal .modal-panel { max-width: 820px; grid-template-columns: 1fr; }
#logementModal .modal-body { padding: 36px; }
.modal-body--long .modal-title { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 300; color: var(--noir); margin-bottom: 8px; }
.modal-body--long .modal-desc p { font-size: 16px; line-height: 1.85; color: var(--muted); margin-bottom: 18px; }
.logement-sections h4 { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 400; margin-top: 18px; margin-bottom: 8px; color: var(--noir); }
.logement-sections p { color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.modal-panel { max-height: 85vh; }

/* ======================== RÉSERVER ======================== */
.reserver-section {
  background: var(--sand);
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
}
.reserver-ghost {
  position: absolute;
  bottom: -40px; right: -20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(120px,18vw,280px);
  font-weight: 300;
  color: rgba(201,168,76,.06);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}
.reserver-inner { max-width: 1200px; margin: 0 auto; }
.reserver-header { text-align: center; margin-bottom: 80px; }
.reserver-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px,5.5vw,70px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--noir);
}
.reserver-title em { font-style: italic; color: var(--or); }
.reserver-sub { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* CALENDRIERS */
.calendars-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 72px;
}
.calendar-wrap {
  background: var(--white);
  border-radius: 4px;
  padding: 32px;
  box-shadow: 0 8px 40px rgba(14,13,11,.07);
}
.calendar-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.calendar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: rgba(201,168,76,.25);
  line-height: 1;
}
.calendar-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--noir);
  line-height: 1.1;
  margin-top: 4px;
}
.calendar-name em { font-style: italic; color: var(--or); }
.calendar-embed {
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,.2);
}
.calendar-embed iframe { display: block; }
.calendar-legend {
  display: flex;
  align-items: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .5px;
}
.legend-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.legend-dot.occupied { background: var(--or); }
.legend-dot.free { background: rgba(14,13,11,.12); }

.calendar-soon {
  height: 380px;
  border-radius: 3px;
  border: 1px dashed rgba(201,168,76,.35);
  background: rgba(201,168,76,.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 24px;
}
.calendar-soon i { font-size: 22px; color: var(--or); }
.calendar-soon p { font-size: 14px; color: var(--muted); max-width: 220px; line-height: 1.6; }
.calendar-soon-link {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--or);
  border-bottom: 1px solid rgba(201,168,76,.4);
  padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}
.calendar-soon-link:hover { color: var(--noir); border-color: var(--noir); }

/* CARTES RÉSA */
.reserver-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 64px;
}
.reserver-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(14,13,11,.07);
  transition: transform .35s, box-shadow .35s;
}
.reserver-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(14,13,11,.13); }
.reserver-card-img-wrap { position: relative; overflow: hidden; }
.reserver-card-img-wrap img { width: 100%; height: 240px; object-fit: cover; transition: transform .6s ease; }
.reserver-card:hover .reserver-card-img-wrap img { transform: scale(1.05); }
.reserver-num {
  position: absolute;
  top: 16px; left: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 300;
  color: rgba(255,255,255,.25);
  line-height: 1;
}
.reserver-card--soon .reserver-card-img-wrap img { filter: grayscale(.5) brightness(.7); }
.reserver-soon-tag {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--noir);
  background: var(--or);
  padding: 7px 14px;
  border-radius: 2px;
}
.reserver-card-body { padding: 32px 28px; }
.reserver-card-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 300; margin-bottom: 8px; }
.reserver-card-body p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.reserver-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

/* CONTACT */
.contact-block {
  background: var(--noir);
  border-radius: 4px;
  padding: 64px 48px;
  text-align: center;
}
.contact-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.1;
}
.contact-title em { font-style: italic; color: var(--or); }
.contact-sub { color: rgba(255,255,255,.4); font-size: 14px; margin-bottom: 36px; }
.contact-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ======================== FOOTER ======================== */
.footer {
  background: var(--noir);
  padding: 72px 60px 40px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand img { height: 100px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-brand p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.35); max-width: 260px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: 14px;
  transition: all .3s;
}
.footer-social a:hover { border-color: var(--or); color: var(--or); }
.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,.35); transition: color .3s; }
.footer-col ul a:hover { color: var(--or); }
.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255,255,255,.2);
}
.footer-signature {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .75;
}

/* ======================== MOBILE ======================== */
body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav { padding: 0 16px; }

  /* Le logo à 102px débordait de la barre (76px) et poussait le burger
     hors de l'écran : c'est ça qui rendait le menu inutilisable. */
  .nav-logo img { height: 44px; max-width: 46vw; width: auto; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    left: 0; right: 0; top: 0; bottom: 0;
    transform: none;
    height: 100dvh;
    width: 100%;
    background: rgba(249,245,239,.99);
    backdrop-filter: blur(16px);
    padding: calc(var(--nav-h) + 24px) 32px 40px;
    gap: 8px;
    z-index: 199;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    text-align: center;
  }
  .nav-links.open a {
    display: block;
    color: var(--noir);
    font-size: 24px;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(14,13,11,.06);
  }
  .nav-links.open a::after { display: none; }
  .nav-cta { display: none; }
  .burger { display: flex; }

  .apt-section { padding: 72px 24px; }
  .apt-grid { grid-template-columns: 1fr; gap: 40px; }
  .apt-grid--rev { direction: ltr; }
  .video-visite { grid-template-columns: 1fr; gap: 28px; }

  .activites-section { padding: 80px 24px; }
  .activities-grid { grid-template-columns: 1fr 1fr; }

  .reserver-section { padding: 80px 24px; }
  .calendars-block { grid-template-columns: 1fr; }
  .reserver-cards { grid-template-columns: 1fr; }
  .contact-block { padding: 44px 24px; }

  .modal-panel { grid-template-columns: 1fr; max-width: 95%; }
  .modal-media { min-height: 220px; border-radius: 4px 4px 0 0; }

  .footer { padding: 48px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 560px) {
  .activities-grid { grid-template-columns: 1fr; }
  .macro-strip { height: 150px; }
  .macro-track img { height: 150px; }
}
.calendar-navigation{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;

}


.calendar-navigation button{

    border:none;
    background:none;
    font-size:35px;
    cursor:pointer;
    color:#C9A84C;

}


.calendar-navigation h3{

    text-transform:capitalize;
    margin:0;
    font-size:22px;

}


.day.empty{

    background:transparent;

}


.day{

    cursor:pointer;
    transition:.2s;

}


.day:hover{

    transform:scale(1.08);

}
.calendar-custom{
    background:#F9F5EF;
    padding:25px;
    border-radius:20px;
}


.month{
    text-align:center;
    font-size:22px;
    font-weight:600;
    margin-bottom:20px;
}


.week,
.days{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:8px;
}


.week span{
    text-align:center;
    font-size:12px;
    opacity:.6;
}


.day{
    aspect-ratio:1;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-size:14px;
}


.day.free{
    background:white;
}


.day.busy{
    background:#C9A84C;
    color:white;
}


.legend-dot{
    width:10px;
    height:10px;
    display:inline-block;
    border-radius:50%;
    margin-right:6px;
}


.legend-dot.occupied{
    background:#C9A84C;
}


.legend-dot.free{
    background:white;
    border:1px solid #ddd;
}