/* ==========================================================
   Serenity Agdal — Landing page
   Mobile-first. Palette olive reprise de la plaquette commerciale.
   ========================================================== */

:root {
  /* Palette olive (« zitiy ») reprise de la plaquette commerciale */
  --primary: #49442A;        /* olive foncé : sections sombres, boutons */
  --primary-2: #565033;      /* surfaces sur fond sombre */
  --primary-3: #2F2D1C;      /* pied de page (olive presque noir) */
  --primary-line: #6E6843;   /* bordures sur fond sombre */
  --accent: #D2C78E;         /* accent clair sur fond sombre (khaki doré) */
  --accent-2: #E0D7A6;
  --accent-strong: #7A7036;  /* accent sur fond clair : titres, liens */
  --accent-tint: #E7E3CC;

  /* Neutres */
  --cream: #F6F4EC;
  --sand: #ECE8D9;
  --sand-2: #DFD9C4;
  --line: #D3CCB3;
  --white: #FFFFFF;

  /* Texte */
  --text: #2F2D1C;
  --text-2: #4D4A36;
  --text-3: #6A6650;
  --on-dark: #F4F2E8;
  --on-dark-2: #D9D5C0;

  --error: #B00020;

  /* Tranches */
  --t1: #2F2D1C;
  --t2: #49442A;
  --t3: #938954;
  --t4: #CFC28A;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: 20px;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 24px 60px -28px rgba(47, 45, 28, .35);
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 78px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-strong); }
input, select, textarea, button { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--primary); color: var(--on-dark); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--primary); color: var(--on-dark); }

/* ---------- Typo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-strong);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--accent); }
.section--dark .eyebrow { color: var(--accent); }

.h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -.01em;
  text-wrap: balance;
}
.h2 em, .hero__title em { font-style: italic; color: var(--accent-strong); }
.section--dark .h2 em { color: var(--accent); }
.lead { font-size: clamp(16.5px, 1.4vw, 18px); color: var(--text-2); max-width: 62ch; }
.section--dark .lead { color: var(--on-dark-2); }

.label {
  display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark-2);
}
.label--light { color: var(--text-3); }

.stack { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--accent { background: var(--accent); color: var(--primary); }
.btn--accent:hover { background: var(--accent-2); color: var(--primary); box-shadow: 0 10px 30px -12px rgba(210, 199, 142, .7); }
.btn--dark { background: var(--primary); color: var(--on-dark); }
.btn--dark:hover { background: var(--primary-2); color: var(--white); box-shadow: 0 12px 30px -14px rgba(47, 45, 28, .7); }
.btn--ghost { border-color: var(--primary); color: var(--primary); }
.btn--ghost:hover { background: var(--primary); color: var(--on-dark); }
.btn--ghost-light { border-color: rgba(246, 244, 236, .55); color: var(--on-dark); background: rgba(36, 34, 21, .15); }
.btn--ghost-light:hover { border-color: var(--on-dark); background: rgba(246, 244, 236, .12); color: var(--white); }
.btn--ghost-dark { border-color: var(--primary-line); color: var(--on-dark); }
.btn--ghost-dark:hover { border-color: var(--accent); color: var(--white); }

.round-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(246, 244, 236, .92); color: var(--primary);
  transition: background-color .2s, transform .2s var(--ease);
}
.round-btn:hover { background: var(--white); }
.round-btn:active { transform: scale(.94); }

.icon-badge {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-strong);
}

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--header-h);
  background: rgba(246, 244, 236, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(47, 45, 28, .08);
  color: var(--primary);
  transition: background-color .35s var(--ease), box-shadow .35s, color .35s, transform .35s var(--ease);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav__logo { position: relative; display: block; height: 44px; aspect-ratio: 1200 / 342; flex: none; }
.nav__logo-img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s; }
.nav__logo-img--light { opacity: 0; }
@media (min-width: 768px) { .nav__logo { height: 52px; } }

.nav__links { display: none; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta { display: none; }

.nav__toggle {
  width: 46px; height: 46px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid currentColor; background: transparent; color: inherit;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav__toggle-bars { position: relative; width: 18px; height: 10px; }
.nav__toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 1.8px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle-bars span:first-child { top: 0; }
.nav__toggle-bars span:last-child { top: 8px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:first-child { top: 4px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:last-child { top: 4px; transform: rotate(-45deg); }

/* Header transparent au-dessus du hero */
.js .header.is-top { background: transparent; box-shadow: none; color: var(--on-dark); -webkit-backdrop-filter: none; backdrop-filter: none; }
.js .header.is-top .nav__logo-img--light,
body.menu-open .header .nav__logo-img--light { opacity: 1; }
.js .header.is-top .nav__logo-img--dark,
body.menu-open .header .nav__logo-img--dark { opacity: 0; }
body.menu-open .header { background: var(--primary); color: var(--on-dark); box-shadow: none; }

@media (min-width: 640px) { .nav__cta { display: inline-flex; } }

@media (min-width: 1100px) {
  .nav__toggle { display: none; }
  .nav__links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; }
  .nav__link {
    position: relative; color: inherit; text-decoration: none; padding: 8px 0; opacity: .88;
    transition: opacity .2s;
  }
  .nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .nav__link:hover, .nav__link[aria-current="true"] { opacity: 1; }
  .nav__link:hover::after, .nav__link[aria-current="true"]::after { transform: scaleX(1); }
}

/* Menu mobile plein écran */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--primary); color: var(--on-dark);
  padding-top: var(--header-h);
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s var(--ease), visibility 0s; }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding-top: 16px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--primary-line);
  font-family: var(--font-display); font-size: clamp(30px, 8vw, 40px); font-weight: 500; line-height: 1.1;
  color: var(--on-dark); text-decoration: none;
  transform: translateY(14px); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease), color .2s;
}
.menu__links a small { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--accent); }
.menu__links a:hover { color: var(--accent); }
.menu.is-open .menu__links a { transform: none; opacity: 1; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .08s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .12s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .16s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: .2s; }
.menu__foot { display: grid; gap: 10px; }
@media (min-width: 1100px) { .menu { display: none; } }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 24px);
  background: var(--primary-3); color: var(--on-dark);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 55%;
  animation: heroZoom 14s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(36, 34, 21, .55) 0%, rgba(36, 34, 21, .2) 18%, rgba(36, 34, 21, .55) 42%, rgba(36, 34, 21, .92) 100%);
}
@media (max-width: 899px) { .hero__bg { object-position: 72% 50%; } }
@media (min-width: 900px) {
  .hero__scrim {
    background:
      linear-gradient(90deg, rgba(36, 34, 21, .55) 0%, rgba(36, 34, 21, 0) 62%),
      linear-gradient(180deg, rgba(36, 34, 21, .6) 0%, rgba(36, 34, 21, .1) 28%, rgba(36, 34, 21, .25) 52%, rgba(36, 34, 21, .88) 100%);
  }
}
.hero__inner { display: flex; flex-direction: column; gap: 28px; padding-bottom: 20px; }
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(36, 34, 21, .45); border: 1px solid rgba(246, 244, 236, .28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 7px 14px; border-radius: 999px;
}
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(48px, 9vw, 116px); line-height: .96; letter-spacing: -.015em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.hero__title em { color: var(--accent); }
.hero__text { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; max-width: 560px; color: rgba(246, 244, 236, .92); }
.hero__ctas { display: grid; gap: 10px; width: 100%; margin-top: 4px; }
.hero__ctas .btn { width: 100%; }

.hero__stats {
  display: grid; grid-template-columns: 1fr 1fr;
  background: rgba(36, 34, 21, .42);
  border: 1px solid rgba(246, 244, 236, .18); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  overflow: hidden;
}
.hero__stats li { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.hero__stats li:nth-child(odd) { border-right: 1px solid rgba(246, 244, 236, .14); }
.hero__stats li:nth-child(-n+2) { border-bottom: 1px solid rgba(246, 244, 236, .14); }
.hero__stats strong { font-family: var(--font-display); font-weight: 600; font-size: 25px; line-height: 1.05; }
.hero__stats span { font-size: 12.5px; line-height: 1.35; color: rgba(246, 244, 236, .78); }

@media (min-width: 640px) {
  .hero__ctas { display: flex; flex-wrap: wrap; width: auto; }
  .hero__ctas .btn { width: auto; }
}
@media (min-width: 900px) {
  .hero__inner { gap: 56px; padding-bottom: 36px; }
  .hero__content { gap: 24px; }
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
  .hero__stats li { padding: 20px 24px; border-bottom: 0 !important; border-right: 1px solid rgba(246, 244, 236, .14); }
  .hero__stats li:last-child { border-right: 0; }
  .hero__stats strong { font-size: 34px; }
  .hero__stats span { font-size: 14px; }
}
@media (max-height: 700px) and (max-width: 639px) {
  .hero__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ==========================================================
   LAYOUTS
   ========================================================== */
.split { display: grid; gap: 40px; align-items: center; }
.split > *, .site > *, .contact > *, .faq > * { min-width: 0; }
.head-row { display: grid; gap: 20px; margin-bottom: 40px; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1.05fr; gap: 72px; }
  .split--reverse { grid-template-columns: 1.05fr 1fr; }
  .head-row { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 56px; margin-bottom: 56px; }
}

/* ---------- Media ---------- */
.media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.media:hover img { transform: scale(1.03); }
.media--float { overflow: visible; box-shadow: none; }
.media--float:hover img { transform: none; }
.media--float img { border-radius: var(--radius); box-shadow: var(--shadow); }
.media__note {
  position: relative; margin: -36px 16px 0; z-index: 1;
  background: var(--white); border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 18px 40px -20px rgba(47, 45, 28, .35);
  display: flex; flex-direction: column; gap: 2px;
}
.media__note-k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); }
.media__note-v { font-family: var(--font-display); font-size: 22px; font-style: italic; line-height: 1.2; }
@media (min-width: 960px) {
  .media img { aspect-ratio: 5 / 4; }
  .media__note { position: absolute; left: -32px; bottom: 32px; margin: 0; max-width: 300px; padding: 20px 22px; }
}

/* ---------- Concept ---------- */
.features { display: grid; gap: 14px; margin-top: 8px; width: 100%; }
.feature { display: flex; gap: 14px; align-items: center; }
.feature strong { display: block; font-weight: 600; }
.feature span:last-child { font-size: 15px; color: var(--text-2); line-height: 1.45; }

/* ---------- Site ---------- */
.site { display: grid; gap: 32px; }
.site__cta { margin-top: 4px; }
.site__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.places { display: grid; gap: 0; border-top: 1px solid var(--line); }
.place {
  display: flex; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.place__num {
  flex: none; width: 38px; height: 38px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--accent); font-size: 12.5px; font-weight: 600;
}
.place strong { display: block; font-weight: 600; line-height: 1.3; }
.place span:last-child { font-size: 14.5px; color: var(--text-3); }

@media (max-width: 639px) {
  .site__cta { width: 100%; }
}
@media (min-width: 640px) and (max-width: 959px) {
  .places { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}
@media (min-width: 960px) {
  .site { grid-template-columns: 1fr 1.25fr; grid-template-areas: "text map" "places places"; gap: 56px 64px; align-items: center; }
  .site__text { grid-area: text; }
  .site__map { grid-area: map; }
  .places { grid-area: places; grid-template-columns: repeat(3, 1fr); gap: 12px; border: 0; }
  .place { background: var(--cream); border: 0; border-radius: 14px; padding: 18px 20px; transition: transform .3s var(--ease), box-shadow .3s; }
  .place:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -20px rgba(47, 45, 28, .35); }
}

/* ---------- Zoomable ---------- */
.zoomable {
  position: relative; display: block; width: 100%; padding: 0; border: 0; margin: 0;
  background: none; cursor: zoom-in; text-align: left; overflow: hidden;
}
.zoomable img { width: 100%; transition: transform 1.2s var(--ease); }
.zoomable:hover img { transform: scale(1.03); }
.zoomable__hint {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(36, 34, 21, .82); color: var(--on-dark);
  font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 999px;
}

/* ---------- Domaine ---------- */
.gallery {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  scroll-padding: 0 var(--gutter);
}
.gallery::-webkit-scrollbar { display: none; }
.gallery__item {
  flex: 0 0 84%; scroll-snap-align: start;
  border-radius: var(--radius); aspect-ratio: 4 / 5;
}
.gallery__item img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.gallery__cap {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(36, 34, 21, .82); color: var(--on-dark);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
}
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .3s var(--ease), background-color .3s; }
.dots span.is-active { width: 24px; background: var(--primary); }

@media (min-width: 640px) { .gallery__item { flex-basis: 60%; } }
@media (min-width: 960px) {
  .gallery {
    display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 250px 250px; gap: 16px;
    overflow: visible; margin: 0; padding: 0;
  }
  .gallery__item { aspect-ratio: auto; }
  .gallery__item:first-child { grid-row: span 2; }
  .dots { display: none; }
}
@media (min-width: 1200px) { .gallery { grid-template-rows: 290px 290px; } }

.amenities { display: grid; gap: 12px; margin: 40px 0; }
.amenity {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--sand-2); border-radius: var(--radius); padding: 20px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.amenity:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(47, 45, 28, .35); }
.amenity__title { font-family: var(--font-display); font-size: 25px; font-weight: 600; line-height: 1.1; margin-bottom: 4px; }
.amenity p { font-size: 15px; color: var(--text-2); line-height: 1.5; }
@media (min-width: 640px) { .amenities { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1100px) {
  .amenities { grid-template-columns: repeat(4, 1fr); margin: 56px 0; }
  .amenity { flex-direction: column; padding: 26px; }
}

.plan {
  background: var(--white); border: 1px solid var(--sand-2); border-radius: var(--radius);
  padding: 18px; display: grid; gap: 16px;
}
.plan__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.plan__title { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.1; }
.plan__sub { display: block; font-size: 14px; color: var(--text-3); }
.plan__head .btn { display: none; }
.plan__img { border-radius: 10px; background: var(--cream); }
.plan__legend { display: flex; flex-wrap: wrap; gap: 8px; }
.plan__legend span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-2); background: var(--cream); border-radius: 999px; padding: 6px 12px;
}
.plan__legend span::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
@media (max-width: 767px) {
  .plan__img img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 50%; }
  .plan__img::after {
    content: "Touchez pour agrandir"; position: absolute; right: 10px; bottom: 10px;
    background: rgba(36, 34, 21, .82); color: var(--on-dark); font-size: 12.5px; font-weight: 600;
    padding: 6px 12px; border-radius: 999px;
  }
}
@media (min-width: 768px) {
  .plan { padding: 24px; }
  .plan__head .btn { display: inline-flex; }
}

/* ==========================================================
   VILLAS
   ========================================================== */
.head-row--villas { align-items: end; }
.tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  background: var(--primary-2); padding: 5px; border-radius: 999px; border: 1px solid var(--primary-line);
  width: 100%;
}
.tab {
  min-height: 46px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; background: transparent; color: var(--on-dark-2);
  transition: background-color .25s, color .25s;
}
.tab:hover { color: var(--on-dark); }
.tab[aria-selected="true"] { background: var(--accent); color: var(--primary); }
@media (min-width: 960px) { .tabs { width: auto; justify-self: end; display: inline-grid; } .tab { padding: 0 26px; } }

.villa { display: grid; gap: 28px; }
.villa__media { display: grid; gap: 12px; min-width: 0; }
.villa__main {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--primary-2); touch-action: pan-y;
}
.villa__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
.villa__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: var(--primary);
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
}
.villa__nav {
  position: absolute; right: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(36, 34, 21, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 4px; border-radius: 999px;
}
.villa__nav .round-btn { width: 38px; height: 38px; }
.villa__count { font-size: 13px; font-weight: 600; min-width: 34px; text-align: center; color: var(--on-dark); }

.thumbs { display: flex; gap: 10px; }
.thumb {
  width: 96px; height: 68px; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  background: var(--primary-2); border: 2px solid transparent; opacity: .55;
  transition: opacity .2s, border-color .2s;
}
.thumb:hover { opacity: .9; }
.thumb[aria-pressed="true"] { border-color: var(--accent); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.villa__info { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.villa__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(38px, 5vw, 54px); line-height: 1; }
.villa__kind { color: var(--accent); margin-top: 8px; font-weight: 500; }
.villa__desc { font-size: 16.5px; color: var(--on-dark-2); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.spec { border-top: 1px solid var(--primary-line); padding: 12px 0; display: flex; flex-direction: column; gap: 2px; }
.spec dt { color: var(--on-dark-2); font-size: 13.5px; }
.spec dd { font-weight: 600; font-size: 16px; }
.spec--total dd { color: var(--accent); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pills li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-2); border: 1px solid var(--primary-line);
  padding: 7px 14px; border-radius: 999px; font-size: 14px;
}
.pills li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.btn-row { display: grid; gap: 10px; }
@media (min-width: 640px) {
  .btn-row { display: flex; flex-wrap: wrap; }
  .thumb { width: 116px; height: 80px; }
}
@media (min-width: 1024px) {
  .villa { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
  .villa__main { aspect-ratio: 5 / 4; }
}

.compare { margin-top: 64px; display: grid; gap: 18px; }
.compare__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3vw, 38px); }
.table-wrap { border: 1px solid var(--primary-line); border-radius: var(--radius); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table thead tr { background: var(--primary-2); }
.table th, .table td { padding: 14px 18px; text-align: left; vertical-align: top; }
.table thead th { font-weight: 600; color: var(--accent); }
.table tbody tr { border-top: 1px solid var(--primary-line); }
.table tbody th { font-weight: 500; color: var(--on-dark-2); }
.table__total td { font-weight: 600; color: var(--accent); }

/* Table mobile : chaque ligne devient un bloc (libellé + 3 valeurs alignées) */
@media (max-width: 719px) {
  .table, .table thead, .table tbody { display: block; }
  .table thead tr, .table tbody tr { display: grid; grid-template-columns: repeat(3, 1fr); }
  .table thead td { display: none; }
  .table th, .table td { padding: 10px 12px; font-size: 14px; }
  .table tbody th { grid-column: 1 / -1; padding: 12px 12px 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  .table tbody td { padding-top: 4px; }
  .table thead th + th, .table tbody td + td { border-left: 1px solid var(--primary-line); }
}

/* ==========================================================
   ARCHITECTURE
   ========================================================== */
.materials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.materials li {
  background: var(--white); border: 1px solid var(--sand-2); border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.materials strong { font-weight: 600; line-height: 1.3; }
.materials span { font-size: 14px; color: var(--text-2); line-height: 1.45; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; margin-top: 14px; }
.swatches li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.3; color: var(--text-2); }
.swatch { width: 44px; height: 44px; border-radius: 999px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 6px 14px -8px rgba(0, 0, 0, .4); }
@media (min-width: 960px) {
  .split--reverse > .media { order: -1; }
  .swatches { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 380px) { .materials { grid-template-columns: 1fr; } }

/* ==========================================================
   TRANCHES
   ========================================================== */
.tbar { display: flex; gap: 4px; height: 14px; margin-bottom: 28px; }
.tbar span { display: block; background: var(--c); border-radius: 999px; }
.tranches { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tranche {
  position: relative; background: var(--cream); border-radius: var(--radius); padding: 20px 18px 18px;
  display: flex; flex-direction: column; gap: 6px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.tranche::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--c); }
.tranche:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(47, 45, 28, .35); }
.tranche__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.tranche__count { font-family: var(--font-display); font-size: 44px; font-weight: 600; line-height: 1; }
.tranche__count small { font-size: 18px; font-weight: 500; color: var(--text-3); }
.tranche__lots { font-size: 14px; color: var(--text-2); line-height: 1.45; }
.tranche__link { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; color: var(--accent-strong); text-decoration: none; }
.tranche__link:hover { text-decoration: underline; }
@media (min-width: 960px) { .tranches { grid-template-columns: repeat(4, 1fr); gap: 16px; } .tranche { padding: 26px 24px 22px; } .tranche__count { font-size: 52px; } }
@media (max-width: 359px) { .tranches { grid-template-columns: 1fr; } }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { display: grid; gap: 32px; }
.faq__aside { display: flex; flex-direction: column; gap: 28px; }
.help {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--sand); border-radius: var(--radius); padding: 22px;
}
.help strong { font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.1; }
.help > span { color: var(--text-2); font-size: 15px; }
.help__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 17px; font-weight: 600; line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-strong); }
.faq__icon {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 999px;
  border: 1.5px solid var(--primary); transition: background-color .25s, transform .3s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px;
  background: var(--primary); border-radius: 2px; transition: transform .3s var(--ease), background-color .25s;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--primary); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--accent); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item p { padding: 0 52px 22px 0; color: var(--text-2); }
@media (max-width: 639px) { .faq__item p { padding-right: 0; } }
@media (min-width: 960px) {
  .faq { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
  .faq__aside { position: sticky; top: calc(var(--header-h) + 32px); }
  .faq__item summary { font-size: 18px; padding: 24px 0; }
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact { display: grid; gap: 40px; }
.contact__info { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.ccards { display: grid; gap: 10px; width: 100%; margin-top: 8px; }
.ccard {
  display: flex; align-items: center; gap: 14px;
  color: var(--on-dark); text-decoration: none;
  background: var(--primary-2); border: 1px solid var(--primary-line);
  padding: 14px 16px; border-radius: 14px;
  transition: transform .25s var(--ease), border-color .25s;
}
a.ccard:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--on-dark); }
.ccard__icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(210, 199, 142, .14); color: var(--accent);
}
.ccard small { display: block; font-size: 12.5px; color: var(--on-dark-2); }
.ccard strong { display: block; font-weight: 600; line-height: 1.35; }
@media (min-width: 640px) and (max-width: 959px) { .ccards { grid-template-columns: 1fr 1fr; } }

.contact__card {
  background: var(--cream); color: var(--text);
  border-radius: 20px; padding: 22px 18px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5);
}
.form { display: grid; gap: 16px; }
.form[hidden] { display: none; }
.form__title { font-family: var(--font-display); font-size: 30px; font-weight: 600; line-height: 1.1; }
.form__full { grid-column: 1 / -1; }
.field-label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field-name { display: block; }
.req { color: var(--accent-strong); }
.field {
  width: 100%; height: 52px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--text); font-size: 16px; font-weight: 400;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
select.field {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232F2D1C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
textarea.field { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field::placeholder { color: #9A9479; }
.field:hover { border-color: #C2BA9C; }
.field:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(210, 199, 142, .35); outline: none; }
.field[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 13px; font-weight: 500; }
.field-error[hidden] { display: none; }

.choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.choices__row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px;
  border: 1.5px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 0 16px; font-size: 14.5px; font-weight: 500;
  transition: background-color .2s, border-color .2s, color .2s;
}
.choice span::before {
  content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #A9A388; flex: none;
  background: var(--white) center / 12px no-repeat;
  transition: background-color .2s, border-color .2s;
}
.choice input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--on-dark); }
.choice input:checked + span::before {
  border-color: var(--accent); background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F2D1C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.form__submit { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 4px; }
.form__submit .btn { border: 0; }
.form__note { font-size: 13px; color: var(--text-3); }

.success { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; align-items: flex-start; }
.success[hidden] { display: none; }
.success__icon { width: 56px; height: 56px; border-radius: 999px; background: var(--accent); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.success__title { font-family: var(--font-display); font-size: 36px; font-weight: 600; line-height: 1.05; }
.success__text { color: var(--text-2); }
.success .btn[hidden] { display: none; }
.link-btn { background: none; border: 0; padding: 10px 0; color: var(--accent-strong); font-weight: 600; text-decoration: underline; cursor: pointer; }

@media (min-width: 640px) {
  .contact__card { padding: 32px; }
  .form { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .form__title { grid-column: 1 / -1; }
  .form__submit { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
}
@media (min-width: 960px) {
  .contact { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
  .contact__card { padding: 40px; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  position: relative; overflow: hidden;
  background: var(--primary-3); color: var(--on-dark-2);
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
.footer__swoosh {
  position: absolute; top: 0; left: 0; width: 100%; height: 40px;
  color: var(--accent); opacity: .22; pointer-events: none;
}
.footer__grid { position: relative; display: grid; gap: 40px; padding-top: 64px; }

.footer__logo { display: inline-block; }
.footer__logo img { height: 64px; width: auto; margin-left: -6px; }
.footer__tagline { font-family: var(--font-display); font-style: italic; font-size: 24px; line-height: 1.2; color: var(--on-dark); margin-top: 6px; }
.footer__about { font-size: 15px; line-height: 1.6; max-width: 36ch; margin: 12px 0 22px; }

.footer__title {
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.footer__links a {
  display: inline-flex; align-items: center; min-height: 40px;
  color: var(--on-dark); text-decoration: none; font-size: 15px;
  transition: color .2s, transform .25s var(--ease);
}
.footer__links a:hover { color: var(--accent); transform: translateX(4px); }

.footer__contact { display: grid; gap: 14px; }
.footer__contact a, .footer__address {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--on-dark); text-decoration: none; font-size: 15px; line-height: 1.45;
}
.footer__contact svg { flex: none; margin-top: 1px; color: var(--accent); }
.footer__contact a:hover { color: var(--accent); }
.footer__address span { color: var(--on-dark-2); }
.footer__cta { margin-top: 22px; }

.promo-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: 100%; max-width: 320px; padding: 22px 20px 0;
  border-radius: var(--radius); border: 1px solid #45422B;
  background: rgba(246, 244, 236, .03);
  color: var(--on-dark); text-decoration: none;
  transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.promo-card:hover { border-color: var(--accent); background: rgba(246, 244, 236, .05); color: var(--on-dark); transform: translateY(-2px); }
.promo-card img { width: 150px; height: auto; }
.promo-card__link {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 12px 0 14px; border-top: 1px solid #45422B;
  font-size: 13.5px; font-weight: 500; transition: color .2s;
}
.promo-card:hover .promo-card__link { color: var(--accent); }

.credits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 320px; margin-top: 20px; font-size: 14px; }
.credits dt { color: var(--on-dark-2); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.credits dd { color: var(--on-dark); line-height: 1.4; margin-top: 2px; }

.footer__bottom {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  border-top: 1px solid #45422B; margin-top: 48px; padding: 20px 0 28px; font-size: 13.5px;
}
.footer__totop { display: inline-flex; align-items: center; gap: 12px; color: var(--on-dark); text-decoration: none; font-weight: 500; }
.footer__totop-icon {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--primary-line);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.footer__totop:hover { color: var(--accent); }
.footer__totop:hover .footer__totop-icon { background: var(--accent); border-color: var(--accent); color: var(--primary); transform: translateY(-3px); }

@media (max-width: 639px) {
  .footer__grid { gap: 28px; }
  .footer__col { padding-top: 28px; border-top: 1px solid #45422B; }
  .promo-card, .credits { max-width: none; }
  .footer__bottom { margin-top: 36px; }
}
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 48px 40px; }
}
@media (min-width: 960px) { .footer { padding-bottom: 0; } }
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.35fr .75fr 1.05fr 1fr; gap: 48px; padding-top: 88px; }
  .footer__links { grid-template-columns: 1fr; }
  .credits { grid-template-columns: 1fr; gap: 12px; }
  .footer__bottom { margin-top: 64px; }
}

/* Réseaux sociaux */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  width: 44px; height: 44px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--on-dark); text-decoration: none;
  border: 1px solid var(--primary-line); background: rgba(246, 244, 236, .04);
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.social:hover { background: var(--accent); border-color: var(--accent); color: var(--primary); transform: translateY(-2px); }
.follow { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.menu__socials { justify-content: center; margin-top: 8px; }

/* ==========================================================
   BARRE MOBILE + FAB
   ========================================================== */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246, 244, 236, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 -1px 0 rgba(47, 45, 28, .1), 0 -12px 30px -18px rgba(47, 45, 28, .4);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.mbar.is-visible { transform: none; }
.mbar__btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 48px; border-radius: 14px; text-decoration: none;
  font-size: 14px; font-weight: 600; color: var(--primary);
  background: var(--white); border: 1px solid var(--sand-2);
}
.mbar__btn--primary { background: var(--primary); color: var(--on-dark); border-color: var(--primary); }
.mbar__btn--primary:hover { color: var(--white); }
@media (max-width: 359px) { .mbar__btn svg { display: none; } }
@media (min-width: 960px) { .mbar { display: none; } }

.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  width: 60px; height: 60px; border-radius: 999px;
  display: none; align-items: center; justify-content: center;
  background: var(--accent); color: var(--primary);
  box-shadow: 0 16px 34px -12px rgba(36, 34, 21, .55);
  transform: scale(.6); opacity: 0; pointer-events: none;
  transition: transform .35s var(--ease), opacity .35s, background-color .2s;
}
.fab.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.fab:hover { background: var(--accent-2); color: var(--primary); }
@media (min-width: 960px) { .fab { display: flex; } }

/* ==========================================================
   LIGHTBOX
   ========================================================== */
.lightbox {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0;
  background: #1A190F; color: var(--on-dark);
}
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(22, 21, 13, .6); }
.lightbox__close { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; z-index: 2; }
.lightbox__stage {
  flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center;
  padding: 68px 16px 8px; overflow: auto; overscroll-behavior: contain;
}
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox__cap { padding: 12px 20px calc(20px + env(safe-area-inset-bottom)); text-align: center; font-size: 14.5px; color: var(--on-dark-2); }
/* Mode « panoramique » (plan masse) : on fait défiler l’image sur petit écran */
.lightbox.is-pan .lightbox__stage { justify-content: flex-start; }
.lightbox.is-pan .lightbox__stage img { max-width: none; max-height: none; width: auto; height: min(55vh, 423px); margin: auto; }
@media (min-width: 1200px) {
  .lightbox.is-pan .lightbox__stage { justify-content: center; }
  .lightbox.is-pan .lightbox__stage img { width: 100%; height: auto; }
}

/* ==========================================================
   ANIMATIONS
   ========================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
