/* Villa Gaïa & Bungalows — maquette de design « Varangue »
   Monde visuel : la varangue créole. Bois peint en blanc, persiennes, lambrequin,
   travertin sous la lumière tropicale, lagon de la piscine comme seule couleur d'action,
   vert profond du logo pour la nuit. */

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

@property --slat { syntax: '<length>'; inherits: false; initial-value: 0px; }

:root {
  --blanc: #FBFAF7;
  --blanc-pur: #FFFFFF;
  --sable: #E6E3D3;
  --sable-2: #D6D0B8;
  --sable-3: #BDB596;
  --vert: #2E5A4C;
  --vert-nuit: #16302A;
  --vert-nuit-2: #1D3B33;
  --vert-feuille: #518167;
  --encre: #16302A;
  --encre-2: #4F6B62;
  --lagon: #4FB9D4;
  --lagon-2: #3AA6C2;
  --lagon-profond: #1C8FA8;
  --aqua: #8FBAC0;
  --ambre: #E9AA76;
  --sable-nuit: #CFC9B2;

  --display: 'Gilda Display', 'Times New Roman', serif;
  --texte: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --mesure: 64ch;
  --col: min(1280px, calc(100% - 2 * var(--marge)));
  --marge: clamp(20px, 5vw, 72px);
  --pas: clamp(56px, 9vw, 128px);
  --rayon: 2px;
  --ombre: 0 18px 50px -24px rgba(22, 48, 42, .45), 0 2px 6px -2px rgba(22, 48, 42, .18);
  --lent: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--lagon); color: var(--vert-nuit); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--blanc); }
::-webkit-scrollbar-thumb { background: var(--sable-2); border-radius: 8px; border: 2px solid var(--blanc); }
::-webkit-scrollbar-thumb:hover { background: var(--sable-3); }
html { scrollbar-color: var(--sable-2) var(--blanc); scrollbar-width: thin; }

:focus-visible { outline: 2px solid var(--lagon-profond); outline-offset: 3px; border-radius: 2px; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; text-decoration-color: var(--sable-3); }
p a:hover { text-decoration-color: var(--lagon-profond); }
button { font: inherit; color: inherit; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 7vw, 5.75rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
p { margin: 0; max-width: var(--mesure); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; font-weight: 300; }
.petit { font-size: .875rem; line-height: 1.5; }
.sourdine { color: var(--encre-2); }
.meta { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.col { width: var(--col); margin-inline: auto; }
.section { padding-block: var(--pas); }
.section + .section { padding-top: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--marge);
  color: var(--blanc);
  transition: background-color .5s var(--lent), color .5s var(--lent), box-shadow .5s var(--lent);
}
.nav.solide { background: var(--blanc); color: var(--encre); box-shadow: 0 1px 0 var(--sable); }
.nav__gauche { display: flex; align-items: center; gap: 12px; }
.nav__droite { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.nav__menu {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; padding: 10px 6px; cursor: pointer;
  font-size: .9rem; font-weight: 500; letter-spacing: .04em;
}
.nav__menu svg { width: 22px; height: 14px; }
.nav__menu svg line { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.nav__langue { font-size: .8rem; letter-spacing: .12em; display: inline-flex; gap: 8px; }
.nav__langue a[aria-current] { font-weight: 600; }
.nav__langue a:not([aria-current]) { opacity: .62; }
.nav__logo {
  display: grid; place-items: center;
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--blanc-pur);
  box-shadow: 0 6px 20px -8px rgba(0,0,0,.5);
  transition: transform .6s var(--lent), box-shadow .5s var(--lent);
}
.nav__logo img { width: 62px; height: 62px; }
@media (max-width: 760px) { .nav__logo { width: 58px; height: 58px; } .nav__logo img { width: 52px; height: 52px; } .nav__menu span { display: none; } .nav__langue { display: none; } }
.nav.solide .nav__logo { box-shadow: none; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 0; cursor: pointer;
  background: var(--lagon); color: var(--vert-nuit);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: background-color .25s ease, transform .35s var(--lent), box-shadow .35s var(--lent);
  box-shadow: 0 10px 24px -14px rgba(28, 143, 168, .9);
}
.bouton:hover { background: #63C6DE; transform: translateY(-1px); }
.bouton:active { transform: translateY(0); }
.bouton--contour { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.bouton--contour:hover { background: rgba(255,255,255,.08); transform: none; }
.nav.solide .bouton--contour:hover { background: rgba(22,48,42,.05); }
.bouton--sombre { background: var(--vert-nuit); color: var(--blanc); box-shadow: none; }
.bouton--sombre:hover { background: var(--vert); }
.bouton svg { width: 18px; height: 18px; }
.bouton svg path { stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Tiroir de menu */
.tiroir {
  position: fixed; inset: 0; z-index: 60;
  background: var(--vert-nuit); color: var(--blanc);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 18px var(--marge) 32px;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .7s var(--lent), visibility 0s .7s;
}
.tiroir.ouvert { transform: none; visibility: visible; transition: transform .7s var(--lent); }
.tiroir__haut { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.tiroir__fermer { background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; padding: 10px 6px; }
.tiroir__fermer svg { width: 18px; height: 18px; }
.tiroir__fermer svg line { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.tiroir__liens { list-style: none; margin: 0; padding: 0; align-self: center; display: grid; gap: clamp(6px, 1.2vh, 14px); }
.tiroir__liens a { font-family: var(--display); font-size: clamp(2rem, 6vh, 3.4rem); line-height: 1.1; display: inline-block; transition: color .3s; }
.tiroir__liens a:hover { color: var(--lagon); }
.tiroir__liens li { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--lent), transform .6s var(--lent); }
.tiroir.ouvert .tiroir__liens li { opacity: 1; transform: none; }
.tiroir.ouvert .tiroir__liens li:nth-child(1) { transition-delay: .18s } .tiroir.ouvert .tiroir__liens li:nth-child(2) { transition-delay: .24s } .tiroir.ouvert .tiroir__liens li:nth-child(3) { transition-delay: .30s } .tiroir.ouvert .tiroir__liens li:nth-child(4) { transition-delay: .36s } .tiroir.ouvert .tiroir__liens li:nth-child(5) { transition-delay: .42s } .tiroir.ouvert .tiroir__liens li:nth-child(6) { transition-delay: .48s } .tiroir.ouvert .tiroir__liens li:nth-child(7) { transition-delay: .54s }
.tiroir__bas { display: flex; flex-wrap: wrap; gap: 18px 36px; color: var(--sable-nuit); font-size: .9rem; align-items: center; }
.tiroir__bas .meta { color: var(--aqua); }

/* ---------- Héros ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: grid; grid-template-rows: 1fr auto;
  color: var(--blanc); isolation: isolate;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--vert-nuit); }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(22,48,42,.42) 0%, rgba(22,48,42,.08) 38%, rgba(22,48,42,.18) 70%, rgba(22,48,42,.62) 100%);
}
.hero__texte {
  width: var(--col); margin-inline: auto;
  align-self: end;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: clamp(28px, 5vh, 56px);
  display: grid; gap: 22px;
}
.hero__texte h1 { max-width: 12ch; }
.hero__texte .lead { max-width: 44ch; color: rgba(251,250,247,.92); }
.hero__bas { width: var(--col); margin-inline: auto; padding-bottom: clamp(20px, 4vh, 44px); display: grid; gap: 18px; }
.indice { display: flex; align-items: center; gap: 12px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(251,250,247,.75); }
.indice i { display: block; width: 1px; height: 44px; background: currentColor; transform-origin: top; animation: indice 2.6s var(--lent) infinite; }
@keyframes indice { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: top; } 46% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Barre de réservation */
.reservation {
  background: var(--blanc); color: var(--encre);
  border-radius: 6px; box-shadow: var(--ombre);
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: stretch;
  overflow: hidden;
}
.reservation__champ { display: grid; gap: 2px; padding: 14px 20px; border-right: 1px solid var(--sable); min-width: 0; }
.reservation__champ label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-2); font-weight: 500; }
.reservation__champ input, .reservation__champ select {
  border: 0; background: transparent; font: inherit; color: var(--encre); padding: 0; min-height: 28px; width: 100%;
  font-size: 1rem; caret-color: var(--lagon-profond);
}
.reservation__champ input::placeholder { color: var(--sable-3); }
.reservation__action { padding: 10px; display: grid; }
.reservation__action .bouton { border-radius: 4px; height: 100%; min-height: 56px; padding-inline: 26px; }
@media (max-width: 760px) {
  .hero .reservation { display: none; }
}

/* Barre mobile collante */
.barre-mobile {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--blanc); color: var(--encre);
  box-shadow: 0 -1px 0 var(--sable), 0 -18px 40px -30px rgba(22,48,42,.5);
  transform: translateY(110%); transition: transform .5s var(--lent);
}
.barre-mobile.visible { transform: none; }
.barre-mobile strong { font-weight: 600; }
.barre-mobile .petit { line-height: 1.3; }
@media (max-width: 760px) { .barre-mobile { display: flex; } body { padding-bottom: 0; } }

/* ---------- Lambrequin (frise créole) ---------- */
.lambrequin { position: relative; }
.lambrequin::before {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 16px; z-index: 3;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='16' viewBox='0 0 28 16'%3E%3Cpath d='M0 0h28v5a14 11 0 0 1-28 0z' fill='%23FBFAF7'/%3E%3C/svg%3E") repeat-x top left;
  pointer-events: none;
}
.lambrequin--nuit::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='16' viewBox='0 0 28 16'%3E%3Cpath d='M0 0h28v5a14 11 0 0 1-28 0z' fill='%2316302A'/%3E%3C/svg%3E");
}

/* ---------- Révélation « persiennes » ---------- */
.persienne { --slat: 0px; }
.persienne.actif-masque { mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--slat), transparent var(--slat), transparent 22px); -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--slat), transparent var(--slat), transparent 22px); transition: --slat 1.1s var(--lent); }
.persienne.actif-masque.visible { --slat: 22px; }
.persienne.revele { mask-image: none !important; -webkit-mask-image: none !important; }
.apparait { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--lent), transform .9s var(--lent); }
.apparait.visible { opacity: 1; transform: none; }
.apparait[data-delai="1"] { transition-delay: .1s } .apparait[data-delai="2"] { transition-delay: .2s } .apparait[data-delai="3"] { transition-delay: .3s } .apparait[data-delai="4"] { transition-delay: .4s }
@media (prefers-reduced-motion: reduce) {
  .apparait, .persienne { opacity: 1 !important; transform: none !important; mask-image: none !important; -webkit-mask-image: none !important; transition: none !important; }
  .indice i { animation: none; transform: none; }
}

/* ---------- Manifeste ---------- */
.manifeste { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.manifeste h2 { max-width: 16ch; }
.manifeste__texte { display: grid; gap: 20px; }
.badge { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.badge img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.badge p { font-size: .85rem; line-height: 1.4; }
@media (max-width: 860px) { .manifeste { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Panneau / signalétique ---------- */
.panneau { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.panneau__photo { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--rayon); background: var(--sable); }
.panneau__photo img { width: 100%; height: 100%; object-fit: cover; }
.panneau__liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sable-2); }
.panneau__liste li { border-bottom: 1px solid var(--sable-2); }
.panneau__liste a {
  display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: baseline;
  padding: 20px 4px; transition: padding-left .4s var(--lent), background-color .3s;
}
.panneau__liste a:hover { padding-left: 14px; }
.panneau__liste .nom { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.1; }
.panneau__liste .type { color: var(--encre-2); font-size: .95rem; grid-column: 1; }
.panneau__liste .prix { font-size: .95rem; white-space: nowrap; text-align: right; }
.panneau__liste .prix small { display: block; color: var(--encre-2); font-size: .75rem; letter-spacing: .04em; }
.panneau__liste .fleche { width: 26px; height: 26px; align-self: center; }
.panneau__liste .fleche path { stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--lent); }
.panneau__liste a:hover .fleche path { transform: translateX(3px); }
.etiquette { display: inline-block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; background: var(--sable); color: var(--vert); padding: 4px 8px; border-radius: 3px; margin-left: 10px; vertical-align: middle; font-weight: 600; }
@media (max-width: 860px) { .panneau { grid-template-columns: 1fr; } .panneau__photo { aspect-ratio: 4 / 3; } .panneau__liste a { grid-template-columns: 1fr auto; } .panneau__liste .fleche { display: none; } }

/* ---------- Défilement horizontal des hébergements ---------- */
.defile { position: relative; }
.defile__tete { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.defile__nav { display: flex; gap: 8px; }
.defile__nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--sable-2); background: var(--blanc); cursor: pointer; display: grid; place-items: center; transition: background-color .25s, border-color .25s; }
.defile__nav button:hover { background: var(--sable); border-color: var(--sable-3); }
.defile__nav svg { width: 18px; height: 18px; } .defile__nav path { stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.defile__piste {
  display: flex; gap: clamp(14px, 2vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--marge);
  padding-inline: var(--marge); margin-inline: calc(-1 * var(--marge));
  padding-bottom: 8px; scrollbar-width: none;
}
.defile__piste::-webkit-scrollbar { display: none; }
.carte { flex: 0 0 clamp(260px, 30vw, 380px); min-width: 0; scroll-snap-align: start; display: grid; gap: 14px; }
.carte__photo { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--rayon); background: var(--sable); position: relative; }
.carte__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--lent); }
.carte:hover .carte__photo img { transform: scale(1.04); }
.carte__photo .etiquette { position: absolute; top: 12px; left: 12px; margin: 0; background: var(--blanc); }
.carte__photo--voile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,48,42,.55), transparent 60%); }
.carte__texte { display: grid; gap: 4px; }
.carte__texte h3 { font-size: 1.6rem; }
.carte__texte .type { color: var(--encre-2); font-size: .95rem; }
.carte__texte .prix { font-size: .95rem; margin-top: 6px; }
.carte__texte .prix small { color: var(--encre-2); }

/* ---------- Chapitre épinglé (piscine) ---------- */
.chapitre { position: relative; color: var(--blanc); background: var(--vert-nuit); }
.chapitre__scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.chapitre__scene video, .chapitre__scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chapitre__scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(22,48,42,.55) 0%, rgba(22,48,42,.15) 55%, rgba(22,48,42,0) 100%); }
.chapitre__panneaux { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; }
.chapitre__panneau { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; width: var(--col); margin-inline: auto; }
.chapitre__panneau > div { max-width: 36ch; display: grid; gap: 16px; opacity: 0; transform: translateY(24px); transition: opacity .8s var(--lent), transform .8s var(--lent); }
.chapitre__panneau.visible > div { opacity: 1; transform: none; }
.chapitre__panneau h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.chapitre__panneau p { color: rgba(251,250,247,.9); }

/* ---------- Grille éditoriale (jardin) ---------- */
.jardin { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 2vw, 24px); align-items: start; }
.jardin__texte { grid-column: 1 / span 5; display: grid; gap: 20px; position: sticky; top: calc(var(--nav-h) + 24px); padding-right: clamp(0px, 3vw, 48px); }
.jardin__grille { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 2vw, 24px); }
.jardin__grille figure { margin: 0; display: grid; gap: 8px; }
.jardin__grille figure img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--rayon); }
.jardin__grille figcaption { font-size: .8rem; color: var(--encre-2); }
.jardin__grille .g-a { grid-column: span 4; aspect-ratio: 4 / 3; }
.jardin__grille .g-b { grid-column: span 2; aspect-ratio: 3 / 4; }
.jardin__grille .g-c { grid-column: span 2; aspect-ratio: 3 / 4; }
.jardin__grille .g-d { grid-column: span 4; aspect-ratio: 4 / 3; margin-top: clamp(16px, 4vw, 64px); }
.jardin__grille .g-e { grid-column: span 3; aspect-ratio: 3 / 4; }
.jardin__grille .g-f { grid-column: span 3; aspect-ratio: 3 / 4; }
.jardin__grille figure > div { overflow: hidden; border-radius: var(--rayon); background: var(--sable); }
.jardin__grille .g-a > div, .jardin__grille .g-d > div { aspect-ratio: 4 / 3; }
.jardin__grille .g-b > div, .jardin__grille .g-c > div, .jardin__grille .g-e > div, .jardin__grille .g-f > div { aspect-ratio: 3 / 4; }
@media (max-width: 860px) {
  .jardin__texte { grid-column: 1 / -1; position: static; }
  .jardin__grille { grid-column: 1 / -1; }
  .jardin__grille .g-a, .jardin__grille .g-d { grid-column: span 6; }
  .jardin__grille .g-b, .jardin__grille .g-c, .jardin__grille .g-e, .jardin__grille .g-f { grid-column: span 3; }
  .jardin__grille .g-d { margin-top: 0; }
}

/* ---------- Nuit ---------- */
.nuit { background: var(--vert-nuit); color: var(--blanc); }
.nuit .sourdine { color: var(--sable-nuit); }
.nuit__media { position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: var(--vert-nuit-2); }
.nuit__media video, .nuit__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nuit__texte { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.nuit__texte h2 { max-width: 14ch; }
.nuit__texte > div { display: grid; gap: 18px; }
.nuit__photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); }
.nuit__photos figure { margin: 0; display: grid; gap: 8px; }
.nuit__photos figure > div { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--rayon); }
.nuit__photos img { width: 100%; height: 100%; object-fit: cover; }
.nuit__photos figcaption { font-size: .8rem; color: var(--sable-nuit); }
@media (max-width: 860px) { .nuit__media { aspect-ratio: 4 / 5; } .nuit__texte { grid-template-columns: 1fr; } }

/* ---------- Diamant ---------- */
.diamant { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.diamant__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rayon); background: var(--sable); }
.diamant__media video, .diamant__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diamant__texte { display: grid; gap: 18px; }
.liste-liens { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--sable-2); }
.liste-liens li { border-bottom: 1px solid var(--sable-2); }
.liste-liens a { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; transition: padding-left .4s var(--lent); }
.liste-liens a:hover { padding-left: 10px; }
.liste-liens svg { width: 20px; height: 20px; flex: none; } .liste-liens path { stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .diamant { grid-template-columns: 1fr; } }

/* ---------- Avis ---------- */
.avis { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: 40px; }
.avis blockquote { margin: 0; display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--sable-2); }
.avis blockquote p { font-family: var(--display); font-size: 1.35rem; line-height: 1.3; }
.avis cite { font-style: normal; font-size: .85rem; color: var(--encre-2); }
.avis .a-remplacer { color: var(--encre-2); font-style: italic; }
@media (max-width: 860px) { .avis { grid-template-columns: 1fr; } }

/* ---------- Réserver (champ lagon) ---------- */
.lagon { background: var(--lagon); color: var(--vert-nuit); }
.lagon .reservation { box-shadow: none; }
.lagon__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.lagon__grille h2 { max-width: 12ch; }
.lagon__grille > div:first-child { display: grid; gap: 16px; }
.lagon .sourdine { color: rgba(22,48,42,.75); }
.lagon__points { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; font-weight: 500; }
.lagon__points span { display: inline-flex; align-items: center; gap: 8px; }
.lagon__points svg { width: 16px; height: 16px; } .lagon__points path { stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .lagon__grille { grid-template-columns: 1fr; } .lagon .reservation { grid-template-columns: 1fr 1fr; } .lagon .reservation__action { grid-column: 1 / -1; } .lagon .reservation__champ:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--sable); } }

/* ---------- Pied de page ---------- */
.pied { background: var(--vert-nuit); color: var(--sable-nuit); padding-block: var(--pas) 40px; }
.pied__haut { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pied__logo { width: 120px; height: 120px; border-radius: 50%; background: var(--aqua); display: grid; place-items: center; }
.pied__logo img { width: 104px; height: 104px; mix-blend-mode: multiply; opacity: .95; }
.pied__colonnes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pied__colonnes h4 { margin: 0 0 12px; font: 500 .78rem/1.4 var(--texte); letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }
.pied__colonnes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied__colonnes a { color: var(--blanc); font-size: .95rem; } .pied__colonnes a:hover { color: var(--lagon); }
.pied__bas { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(207,201,178,.25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .8rem; }
.pied__bas p { max-width: 70ch; }
@media (max-width: 860px) { .pied__haut { grid-template-columns: 1fr; } .pied__colonnes { grid-template-columns: 1fr 1fr; } }

/* ---------- Page hébergement ---------- */
.fiche-hero { position: relative; height: 72vh; min-height: 480px; overflow: hidden; background: var(--vert-nuit); color: var(--blanc); display: grid; align-items: end; }
.fiche-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fiche-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(22,48,42,.35), rgba(22,48,42,0) 40%, rgba(22,48,42,.6)); }
.fiche-hero__texte { position: relative; z-index: 2; width: var(--col); margin-inline: auto; padding-bottom: clamp(28px, 5vh, 56px); display: grid; gap: 14px; }
.fiche-hero__texte .lead { color: rgba(251,250,247,.9); }
.fil { display: flex; gap: 10px; font-size: .85rem; letter-spacing: .02em; color: rgba(251,250,247,.85); }
.fil a:hover { color: var(--blanc); text-decoration: underline; text-underline-offset: .2em; }

.fiche { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.fiche__contenu { display: grid; gap: var(--pas); }
.fiche__bloc { display: grid; gap: 18px; }
.faits { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 18px 0; border-top: 1px solid var(--sable-2); border-bottom: 1px solid var(--sable-2); font-size: .95rem; }
.faits span { display: inline-flex; align-items: center; gap: 8px; }
.faits svg { width: 18px; height: 18px; } .faits path, .faits circle, .faits rect { stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.equipements { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.equipements li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--sable); font-size: .95rem; }
.equipements svg { width: 16px; height: 16px; flex: none; } .equipements path { stroke: var(--vert); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.galerie { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--marge)); padding-inline: var(--marge); }
.galerie::-webkit-scrollbar { display: none; }
.galerie figure { margin: 0; flex: 0 0 min(78vw, 560px); scroll-snap-align: start; display: grid; gap: 8px; }
.galerie figure > div { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rayon); background: var(--sable); }
.galerie figure.portrait { flex-basis: min(60vw, 400px); } .galerie figure.portrait > div { aspect-ratio: 3 / 4; }
.galerie img { width: 100%; height: 100%; object-fit: cover; }
.galerie figcaption { font-size: .8rem; color: var(--encre-2); }
.tarifs { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.tarifs th, .tarifs td { text-align: left; padding: 12px 4px; border-bottom: 1px solid var(--sable-2); }
.tarifs th { font-weight: 500; color: var(--encre-2); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.tarifs td:last-child, .tarifs th:last-child { text-align: right; }
.accordeon { border-top: 1px solid var(--sable-2); }
.accordeon details { border-bottom: 1px solid var(--sable-2); }
.accordeon summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; font-weight: 500; }
.accordeon summary::-webkit-details-marker { display: none; }
.accordeon summary svg { width: 18px; height: 18px; transition: transform .4s var(--lent); } .accordeon summary path { stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; }
.accordeon details[open] summary svg { transform: rotate(45deg); }
.accordeon details > div { padding: 0 2px 18px; color: var(--encre-2); }
.encart { position: sticky; top: calc(var(--nav-h) + 24px); background: var(--blanc-pur); border: 1px solid var(--sable-2); border-radius: 6px; padding: 24px; display: grid; gap: 18px; box-shadow: var(--ombre); }
.encart .prix { display: flex; align-items: baseline; gap: 8px; }
.encart .prix strong { font-family: var(--display); font-size: 2.2rem; font-weight: 400; line-height: 1; }
.encart .prix span { color: var(--encre-2); font-size: .9rem; }
.encart .reservation { grid-template-columns: 1fr 1fr; border: 1px solid var(--sable-2); box-shadow: none; }
.encart .reservation__champ:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--sable); border-right: 0; }
.encart .reservation__champ:nth-child(2) { border-right: 0; }
.encart .reservation__action { grid-column: 1 / -1; padding: 0; }
.encart .reservation__action .bouton { border-radius: 0; min-height: 52px; }
.encart .petit { color: var(--encre-2); }
@media (max-width: 960px) { .fiche { grid-template-columns: 1fr; } .encart { position: static; } }

.autres { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); margin-top: 32px; }
.autres a { display: grid; gap: 10px; }
.autres a > div { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--rayon); background: var(--sable); }
.autres img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--lent); }
.autres a:hover img { transform: scale(1.04); }
.autres h3 { font-size: 1.3rem; }
.autres .type { font-size: .85rem; color: var(--encre-2); }
@media (max-width: 760px) { .autres { grid-template-columns: 1fr 1fr; } }

/* ---------- Note de maquette ---------- */
.note-maquette {
  position: fixed; left: 16px; bottom: 16px; z-index: 45;
  background: var(--vert-nuit); color: var(--blanc);
  font-size: .75rem; letter-spacing: .02em; padding: 8px 12px; border-radius: 4px;
  box-shadow: var(--ombre); opacity: .92;
}
.note-maquette a { color: var(--lagon); text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 760px) { .note-maquette { bottom: calc(84px + env(safe-area-inset-bottom)); left: 12px; } }

/* ---------- Séquence d'ouverture pilotée par le défilement ---------- */
.sequence { position: relative; height: 560vh; height: 560svh; color: var(--blanc); background: var(--vert-nuit); }
.sequence__scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.sequence__scene canvas, .sequence__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sequence__poster { z-index: 1; transition: opacity .6s var(--lent); }
.sequence__poster.cachee { opacity: 0; }
.sequence__scene::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(22,48,42,.45) 0%, rgba(22,48,42,0) 30%, rgba(22,48,42,0) 60%, rgba(22,48,42,.6) 100%); }
.sequence__calque { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-rows: 1fr auto; }
.sequence__texte { width: var(--col); margin-inline: auto; align-self: end; padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(28px, 5vh, 56px); display: grid; gap: 22px; }
.sequence__texte h1, .sequence__texte h2 { max-width: 12ch; }
.sequence__texte h2 { font-size: clamp(2.4rem, 6vw, 5rem); }
.sequence__texte .lead { max-width: 44ch; color: rgba(251,250,247,.92); }
.sequence__bas { width: var(--col); margin-inline: auto; padding-bottom: clamp(20px, 4vh, 44px); display: grid; gap: 18px; }
.sequence [data-de] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--lent), transform .7s var(--lent); pointer-events: none; }
.sequence [data-de].visible { opacity: 1; transform: none; pointer-events: auto; }
.sequence__jauge { position: absolute; left: 0; bottom: 0; z-index: 4; height: 2px; width: calc(var(--chargement, 0) * 100%); background: var(--lagon); transition: width .3s linear, opacity .6s; }
.sequence--arrivee .sequence__jauge { opacity: 0; }
.sequence__arrivee { align-self: end; }
.sequence__arrivee .bouton { width: max-content; }
/* Version fixe (animations réduites ou images indisponibles) : la photo et les textes empilés */
.sequence--fixe { height: auto; }
.sequence--fixe .sequence__scene { position: relative; height: auto; min-height: 100vh; min-height: 100svh; }
.sequence--fixe canvas { display: none; }
.sequence--fixe .sequence__calque { position: relative; min-height: 100vh; min-height: 100svh; }
.sequence--fixe [data-de] { opacity: 1; transform: none; pointer-events: auto; position: static; }
.sequence--fixe .sequence__arrivee { display: none; }
@media (max-width: 760px) { .sequence .reservation { display: none; } .sequence { height: 480vh; height: 480svh; } }
.sequence__texte > div { grid-area: 1 / 1; align-self: end; display: grid; gap: 22px; }
.sequence__bas { position: relative; }
.sequence__bas > * { grid-area: 1 / 1; }
.sequence__bas .indice { align-self: end; justify-self: start; margin-top: 70px; }
@media (max-width: 760px) { .sequence__bas .indice { margin-top: 0; margin-bottom: 36px; } }
.sequence--fixe .sequence__texte > div, .sequence--fixe .sequence__bas > * { grid-area: auto; }

/* ---------- Page Art et culture ---------- */
.a-remplacer { color: var(--encre-2); font-style: italic; }
.univers-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2.5vw, 32px); margin-top: 32px; }
.univers-carte { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--sable-2); }
.univers-carte h3 { font-size: 1.5rem; }
.artistes { display: grid; gap: clamp(28px, 4vw, 56px); margin-top: 32px; }
.artiste { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 56px); align-items: start; padding-top: 28px; border-top: 1px solid var(--sable-2); }
.artiste:first-child { border-top: 0; padding-top: 0; }
.artiste__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--rayon); background: var(--sable); }
.artiste__photo img { width: 100%; height: 100%; object-fit: cover; }
.artiste__texte { display: grid; gap: 12px; }
.artiste__texte h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.oeuvres { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; max-width: var(--mesure); }
.oeuvres li { padding: 8px 0; border-bottom: 1px solid var(--sable); font-size: .95rem; }
@media (max-width: 760px) { .artiste { grid-template-columns: 1fr; } .artiste__photo { aspect-ratio: 4 / 3; } }

.culture-evenements .defile__tete { margin-bottom: 20px; }
.bandeau-exemple { background: var(--sable); color: var(--vert); border-radius: 4px; padding: 10px 14px; font-size: .88rem; margin-bottom: 20px; max-width: none; }
.evenements { display: grid; grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.evenements__liste { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.evenements__filtre { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--encre-2); }
.lien-bouton { background: none; border: 0; padding: 0; cursor: pointer; color: var(--vert); text-decoration: underline; text-underline-offset: .2em; font: inherit; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.evt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 22px; border-top: 1px solid var(--sable-2); }
.evt:has(.evt__photo) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.evt__photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rayon); background: var(--sable); }
.evt__photo img { width: 100%; height: 100%; object-fit: cover; }
.evt__corps { display: grid; gap: 8px; align-content: start; }
.evt__tete { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--encre-2); }
.evt__tete svg { width: 20px; height: 20px; } .evt__tete path { stroke: var(--vert); stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.evt h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.evt__quand { font-weight: 500; }
.evt--passe { opacity: .78; }
.etiquette--communaute { margin-left: 0; background: var(--vert-nuit); color: var(--sable-nuit); }
.passes summary { cursor: pointer; font-weight: 500; padding: 14px 0; border-top: 1px solid var(--sable-2); list-style: none; display: flex; justify-content: space-between; }
.passes summary::-webkit-details-marker { display: none; }
.passes summary::after { content: '+'; font-family: var(--display); font-size: 1.4rem; line-height: 1; }
.passes[open] summary::after { content: '\2013'; }
.passes > div { display: grid; gap: 18px; }
@media (max-width: 900px) { .evenements { grid-template-columns: 1fr; } .evt:has(.evt__photo) { grid-template-columns: 1fr; } .evt__photo { aspect-ratio: 16 / 9; } }

/* Calendrier */
.cal { background: var(--blanc-pur); border: 1px solid var(--sable-2); border-radius: 6px; padding: 18px 18px 14px; position: sticky; top: calc(var(--nav-h) + 24px); }
.cal__tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.cal__tete h3 { font-size: 1.35rem; text-transform: capitalize; }
.cal__nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sable-2); background: var(--blanc); cursor: pointer; display: grid; place-items: center; transition: background-color .25s; }
.cal__nav:hover { background: var(--sable); }
.cal__nav svg { width: 18px; height: 18px; } .cal__nav path { stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cal__grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-variant-numeric: tabular-nums; }
.cal__nomj { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-2); padding-bottom: 6px; font-weight: 500; }
.cal__jour { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-size: .95rem; border: 0; background: none; color: inherit; font: inherit; }
.cal__jour--passe { color: var(--sable-3); }
.cal__jour--auj { box-shadow: inset 0 0 0 1px var(--sable-3); }
button.cal__jour { cursor: pointer; background: var(--sable); color: var(--vert-nuit); font-weight: 600; transition: background-color .25s, transform .3s var(--lent); }
button.cal__jour:hover { background: var(--lagon); }
button.cal__jour.cal__jour--passe { background: var(--blanc); color: var(--encre-2); font-weight: 500; box-shadow: inset 0 0 0 1px var(--sable-2); }
button.cal__jour.cal__jour--choisi { background: var(--vert-nuit); color: var(--blanc); }
.cal__jour i { position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--lagon-profond); }
.cal__jour--choisi i { background: var(--lagon); }
.cal__legende { margin-top: 12px; }
@media (max-width: 900px) { .cal { position: static; } }

/* La communauté */
.communaute__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.communaute__grille h2 { max-width: 14ch; }
.communaute__grille > div:first-child { display: grid; gap: 18px; }
.communaute .lead, .communaute p { color: rgba(251,250,247,.9); }
.abonnement { background: var(--blanc); color: var(--encre); border-radius: 6px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; box-shadow: var(--ombre); }
.abonnement__champs { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
.abonnement__champ { display: grid; gap: 6px; }
.abonnement__champ span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-2); font-weight: 500; }
.abonnement__champ small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.abonnement__champ input { border: 1px solid var(--sable-2); border-radius: 4px; padding: 12px 14px; font: inherit; color: var(--encre); background: var(--blanc-pur); min-height: 48px; }
.abonnement__champ input:focus { outline: 2px solid var(--lagon-profond); outline-offset: 2px; border-color: var(--lagon-profond); }
.abonnement__piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.abonnement__accord { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; line-height: 1.5; cursor: pointer; }
.abonnement__accord input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--vert); }
.abonnement__action { display: grid; gap: 10px; }
.abonnement__action .bouton { width: max-content; }
.abonnement .erreur { color: #9A3A2E; }
.abonnement .petit { max-width: none; }
.communaute .sourdine { color: var(--sable-nuit); }
@media (max-width: 860px) { .communaute__grille { grid-template-columns: 1fr; } .abonnement__champs { grid-template-columns: 1fr; } }
