/* ============================================================
   Habitation Anse à l'Âne - Page Hébergement
   Dépend de colors_and_type.css + design-system.css + homepage.css
   (réutilise tokens, composants DS, commutateur de palettes .hp-switch,
    règle Nuit sur #ds-root, .hp-eyebrow, .hp-head).
   11 sections. JS léger : palettes, lightbox chambres, ancres.
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   1. HERO  (overlay clair, lumineux)
   ───────────────────────────────────────────────────────────── */
.heb-hero {
  position: relative;
  min-height: 86svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.heb-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.heb-hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, transparent 22%, color-mix(in srgb, var(--cream) 34%, transparent) 58%, color-mix(in srgb, var(--cream) 88%, transparent) 100%),
    linear-gradient(105deg, color-mix(in srgb, var(--cream) 86%, transparent) 0%, color-mix(in srgb, var(--cream) 52%, transparent) 32%, color-mix(in srgb, var(--cream) 8%, transparent) 60%, transparent 80%);
}
#ds-root[data-variation="nuit"] .heb-hero-scrim {
  background:
    linear-gradient(180deg, rgba(24,22,19,0.1) 30%, rgba(24,22,19,0.35) 70%, rgba(24,22,19,0.7) 100%),
    linear-gradient(90deg, rgba(24,22,19,0.55) 0%, rgba(24,22,19,0.1) 55%, transparent 100%);
}
.heb-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--gutter) clamp(56px, 7vw, 104px);
}
.heb-hero-box { max-width: 620px; }
/* Bouton secondaire posé sur la photo du hero : léger fond translucide
   pour rester lisible sur toutes les palettes (clair comme Nuit). */
.heb-hero .ds-btn-onphoto {
  background: color-mix(in srgb, var(--cream) 78%, transparent);
  border-color: var(--brass);
  color: var(--ink);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.heb-hero .ds-btn-onphoto:hover { background: var(--brass); color: var(--cream); }
.heb-hero .hp-eyebrow { color: var(--brass-deep); }
#ds-root[data-variation="nuit"] .heb-hero .hp-eyebrow,
#ds-root[data-variation="nuit-argile"] .heb-hero .hp-eyebrow { color: var(--brass); }
.heb-hero-h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  line-height: 1.07;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 16px 0 0;
  text-wrap: balance;
  text-shadow: 0 1px 14px color-mix(in srgb, var(--cream) 80%, transparent), 0 1px 3px color-mix(in srgb, var(--cream) 70%, transparent);
}
#ds-root[data-variation="nuit"] .heb-hero-h1 { color: #fff; text-shadow: 0 1px 3px rgba(24,22,19,0.5), 0 2px 30px rgba(24,22,19,0.6); }
.heb-hero-sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 18px 0 30px;
  text-shadow: 0 1px 10px color-mix(in srgb, var(--cream) 75%, transparent);
}
#ds-root[data-variation="nuit"] .heb-hero-sub { color: rgba(255,255,255,0.86); text-shadow: 0 1px 18px rgba(24,22,19,0.6); }

/* ─────────────────────────────────────────────────────────────
   2. PRÉSENTATION RAPIDE  (texte | chiffres)
   ───────────────────────────────────────────────────────────── */
.heb-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.heb-intro-text .hp-eyebrow { display: inline-block; margin-bottom: 18px; }
.heb-intro-text h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 24px;
}
.heb-intro-text h2 em { font-style: italic; color: var(--brass-deep); }
.heb-intro-text p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 56ch;
}
.heb-keyfacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.heb-keyfact {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: clamp(20px, 2.4vw, 30px);
  display: grid;
  gap: 6px;
}
.heb-keyfact .v {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1;
  color: var(--brass);
}
.heb-keyfact .l {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.heb-keyfact.is-accent { background: var(--cream-warm); }
#ds-root[data-variation="epure"] .heb-keyfact.is-accent,
#ds-root[data-variation="lagon"] .heb-keyfact.is-accent { background: var(--cream-warm); }

/* ─────────────────────────────────────────────────────────────
   3. ESPACES COMMUNS  (galerie éditoriale + légendes)
   ───────────────────────────────────────────────────────────── */
.heb-spaces-band { background: var(--cream-warm); }
#ds-root[data-variation="epure"] .heb-spaces-band,
#ds-root[data-variation="lagon"] .heb-spaces-band { background: var(--cream-warm); }
.heb-spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 36px) clamp(20px, 2.4vw, 32px);
}
.heb-space figure { margin: 0; }
.heb-space-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--v-card-radius);
  margin-bottom: 18px;
}
.heb-space-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-quiet); }
.heb-space:hover .heb-space-img img { transform: scale(1.04); }
.heb-space h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 6px;
}
.heb-space p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   4. LES 6 CHAMBRES  (grille 3x2, lightbox)
   ───────────────────────────────────────────────────────────── */
.heb-rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.heb-room {
  display: flex;
  flex-direction: column;
  background: var(--v-surface);
  border: var(--v-card-border);
  border-radius: var(--v-card-radius);
  box-shadow: var(--v-card-shadow);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: box-shadow var(--dur-slow) var(--ease-quiet), transform var(--dur-slow) var(--ease-quiet);
}
.heb-room:hover { box-shadow: var(--v-card-lift); transform: translateY(-4px); }
.heb-room-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.heb-room-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-quiet); }
.heb-room:hover .heb-room-img img { transform: scale(1.05); }
.heb-room-tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(24,22,19,0.86);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 2px 12px -3px rgba(0,0,0,0.6);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
#ds-root[data-variation="nuit"] .heb-room-tag,
#ds-root[data-variation="nuit-argile"] .heb-room-tag {
  color: #f4ecdd;
  background: rgba(10,8,6,0.9);
  border: 1px solid rgba(193,154,91,0.6);
}
.heb-room-zoom {
  position: absolute;
  bottom: 14px; right: 14px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(248,243,233,0.92);
  display: flex; align-items: center; justify-content: center;
  color: var(--brass-deep);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-base) var(--ease-quiet), transform var(--dur-base) var(--ease-quiet);
}
.heb-room:hover .heb-room-zoom { opacity: 1; transform: translateY(0); }
.heb-room-zoom svg { width: 17px; height: 17px; }
.heb-room-body { padding: clamp(22px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.heb-room-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.heb-room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 300;
  color: var(--ink-soft);
  margin-top: auto;
  padding-top: 8px;
}
.heb-room-meta span { display: inline-flex; align-items: center; gap: 7px; }
.heb-room-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--brass); }
.heb-room-meta span.is-bed { color: var(--brass-deep); font-weight: 500; }
#ds-root[data-variation="nuit"] .heb-room-meta span.is-bed { color: var(--brass); }

/* Lightbox chambre */
.heb-lb {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20,18,15,0.88);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.heb-lb.is-open { display: flex; }
.heb-lb-panel {
  background: var(--cream);
  border-radius: var(--radius-md);
  max-width: 1040px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  box-shadow: var(--shadow-lift);
}
#ds-root[data-variation="nuit"] .heb-lb-panel,
#ds-root[data-variation="nuit-argile"] .heb-lb-panel { background: var(--cream-warm); }
.heb-lb-media { position: relative; background: var(--cream-warm); min-height: 420px; }
.heb-lb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heb-lb-info { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; overflow-y: auto; }
.heb-lb-info .hp-eyebrow { color: var(--brass); }
.heb-lb-info h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.08;
  color: var(--ink);
  margin: 0;
}
.heb-lb-info p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}
.heb-lb-specs { display: grid; gap: 12px; margin-top: 6px; }
.heb-lb-spec {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.heb-lb-spec .k { color: var(--brass-deep); font-weight: 500; letter-spacing: 0.04em; }
.heb-lb-thumbs { display: flex; gap: 10px; margin-top: 8px; }
.heb-lb-thumb { width: 64px; height: 48px; border-radius: var(--radius-xs); overflow: hidden; border: 1px solid var(--line); cursor: pointer; padding: 0; background: none; }
.heb-lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.heb-lb-thumb.is-active { border-color: var(--brass); }
.heb-lb-close {
  position: absolute; top: 16px; right: 16px; z-index: 4;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(248,243,233,0.92);
  border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  /* fond crème fixe : la croix doit rester charbon quelle que soit la palette */
  color: #1f1c17;
}
.heb-lb-close svg { width: 18px; height: 18px; }

/* ─────────────────────────────────────────────────────────────
   5. CALENDRIER  (centre de gravité)
   ───────────────────────────────────────────────────────────── */
.heb-cal-band { background: var(--dark); color: var(--fg-on-dark); }
.heb-cal { max-width: 1120px; margin: 0 auto; text-align: center; }
.heb-cal .hp-eyebrow { color: var(--brass); display: inline-block; margin-bottom: 14px; }
.heb-cal h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.06;
  color: var(--fg-on-dark);
  margin: 0 0 14px;
}
.heb-cal h2 em { font-style: italic; color: var(--brass); }
.heb-cal-lead {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(236,228,210,0.7);
  margin: 0 auto clamp(36px, 4vw, 52px);
  max-width: 52ch;
}
.heb-cal-embed {
  height: 800px;
  background: var(--cream);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.heb-cal-embed::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 75%);
}
.heb-cal-embed-ico {
  position: relative;
  width: 64px; height: 64px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brass);
}
.heb-cal-embed-ico svg { width: 30px; height: 30px; stroke-width: 1.3; }
.heb-cal-embed .t {
  position: relative;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
}
.heb-cal-embed .s {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.heb-cal-note {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.94rem;
  color: rgba(236,228,210,0.6);
  margin: 22px 0 0;
}

/* ─────────────────────────────────────────────────────────────
   6. ÉQUIPEMENTS  (3 colonnes)
   ───────────────────────────────────────────────────────────── */
.heb-amenities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px) clamp(28px, 4vw, 64px);
}
.heb-amenity {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.heb-amenity-ico {
  flex-shrink: 0;
  width: 40px; height: 40px;
  color: var(--brass);
  display: flex; align-items: center; justify-content: center;
}
.heb-amenity-ico svg { width: 24px; height: 24px; stroke-width: 1.4; }
.heb-amenity span {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--ink);
}

/* ─────────────────────────────────────────────────────────────
   7. LE DOMAINE  /  8. LOCALISATION  /  10. (2 colonnes texte+média)
   ───────────────────────────────────────────────────────────── */
.heb-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.heb-split.is-rev .heb-split-media { order: -1; }
.heb-split-text .hp-eyebrow { display: inline-block; margin-bottom: 16px; }
.heb-split-text h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 22px;
}
.heb-split-text h2 em { font-style: italic; color: var(--brass-deep); }
.heb-split-text p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 54ch;
}
.heb-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  text-decoration: none;
}
.heb-inline-link .ds-btn-arrow { transition: transform var(--dur-base) var(--ease-quiet); }
.heb-inline-link:hover .ds-btn-arrow { transform: translateX(4px); }
.heb-split-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--v-card-radius);
}
.heb-split-media img { width: 100%; height: 100%; object-fit: cover; }
.heb-map {
  aspect-ratio: 4 / 3;
  border-radius: var(--v-card-radius);
  overflow: hidden;
  position: relative;
  background: var(--cream-warm);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.heb-map::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
}
.heb-map-pin {
  position: relative; z-index: 1;
  display: grid; justify-items: center; gap: 12px;
  text-align: center;
}
.heb-map-pin .dot {
  width: 56px; height: 56px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--brass);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
}
.heb-map-pin .dot::after { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); }
.heb-map-pin .lbl {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.heb-access-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.heb-access-list li {
  display: flex; gap: 14px; align-items: baseline;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.heb-access-list li .t {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--brass);
  min-width: 86px;
  line-height: 1;
}

/* ─────────────────────────────────────────────────────────────
   9. À PROXIMITÉ  (3 cards)
   ───────────────────────────────────────────────────────────── */
.heb-nearby-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.heb-near {
  display: flex; flex-direction: column;
  text-decoration: none;
  background: var(--v-surface);
  border: var(--v-card-border);
  border-radius: var(--v-card-radius);
  box-shadow: var(--v-card-shadow);
  overflow: hidden;
  transition: box-shadow var(--dur-slow) var(--ease-quiet), transform var(--dur-slow) var(--ease-quiet);
}
.heb-near-img { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.heb-near-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-quiet); }
.heb-near-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--brass);
}
.heb-near-ph svg { width: 44px; height: 44px; stroke-width: 1; opacity: 0.7; }
.heb-near-body { padding: clamp(22px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.heb-near-kind {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}
.heb-near h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
}
.heb-near p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   10. TARIFS ET CONDITIONS
   ───────────────────────────────────────────────────────────── */
.heb-pricing-band { background: var(--cream); }
#ds-root[data-variation="epure"] .heb-pricing-band,
#ds-root[data-variation="lagon"] .heb-pricing-band { background: var(--cream); }
.heb-pricing {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.heb-price-head .hp-eyebrow { display: inline-block; margin-bottom: 14px; }
.heb-price-head h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 10px;
}
.heb-price-from { font-family: var(--font-sans); font-weight: 300; color: var(--ink-soft); font-size: 1.02rem; }
.heb-price-from strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.8rem; color: var(--brass); }
.heb-conditions { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.heb-conditions li {
  display: flex; gap: 14px; align-items: baseline;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-soft);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.heb-conditions li .k {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  min-width: 130px;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   11. CTA FINAL  (bandeau crème simple)
   ───────────────────────────────────────────────────────────── */
.heb-final { text-align: center; max-width: 640px; margin: 0 auto; }
.heb-final .hp-eyebrow { display: inline-block; margin-bottom: 14px; }
.heb-final h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 28px;
}
.heb-final h2 em { font-style: italic; color: var(--brass-deep); }
.heb-final-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─────────────────────────────────────────────────────────────
   BANDEAU LIENS INTERNES (événements)
   ───────────────────────────────────────────────────────────── */
.heb-cross-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.heb-cross {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(28px, 3.4vw, 44px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 64px);
  flex-wrap: wrap;
}
.heb-cross-q {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--ink);
}
.heb-cross-links { display: flex; gap: 12px; flex-wrap: wrap; }

.heb-subhead {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 12px 0 0;
}
.heb-subhead.is-center { text-align: center; }

/* Galerie complète (overlay déclenché par "Voir toutes les photos") */
.heb-gallery-lb {
  position: fixed; inset: 0; z-index: 320;
  background: var(--cream);
  display: none;
  flex-direction: column;
}
.heb-gallery-lb.is-open { display: flex; }
#ds-root[data-variation="nuit"] .heb-gallery-lb,
#ds-root[data-variation="nuit-argile"] .heb-gallery-lb { background: var(--cream); }
.heb-gallery-bar {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.heb-gallery-count {
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass);
}
.heb-gallery-close {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur-base) var(--ease-quiet), color var(--dur-base) var(--ease-quiet);
}
.heb-gallery-close:hover { border-color: var(--brass); color: var(--brass-deep); }
.heb-gallery-close svg { width: 19px; height: 19px; }
.heb-gallery-grid {
  flex: 1; overflow-y: auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(170px, 19vw, 250px);
  gap: clamp(8px, 1vw, 14px);
  padding: clamp(8px, 1vw, 14px) clamp(20px, 4vw, 44px) clamp(40px, 5vw, 64px);
  align-content: start;
}
.heb-gallery-grid figure { margin: 0; overflow: hidden; border-radius: var(--v-card-radius); background: var(--cream-warm); }
.heb-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-quiet); }
.heb-gallery-grid figure:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .heb-gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .heb-gallery-grid { grid-template-columns: 1fr; } }
.heb-gallery-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius-pill);
  background: var(--dark); color: var(--fg-on-dark);
  font-family: var(--font-sans); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  box-shadow: var(--shadow-lift);
  transition: opacity var(--dur-base) var(--ease-quiet), transform var(--dur-base) var(--ease-quiet);
}
.heb-gallery-hint-arrow { font-size: 0.9rem; animation: heb-hint-bob 1.8s var(--ease-quiet) infinite; }
@keyframes heb-hint-bob { 0%,100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(3px); opacity: 1; } }
.heb-gallery-lb.is-scrolled .heb-gallery-hint { opacity: 0; transform: translateX(-50%) translateY(8px); }
@media (prefers-reduced-motion: reduce) { .heb-gallery-hint-arrow { animation: none; } }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .heb-intro-grid { grid-template-columns: 1fr; gap: 44px; }
  .heb-spaces-grid { grid-template-columns: 1fr 1fr; }
  .heb-rooms-grid { grid-template-columns: 1fr 1fr; }
  .heb-amenities { grid-template-columns: 1fr 1fr; }
  .heb-split { grid-template-columns: 1fr; gap: 36px; }
  .heb-split.is-rev .heb-split-media { order: 0; }
  .heb-nearby-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .heb-pricing { grid-template-columns: 1fr; gap: 32px; }
  .heb-lb-panel { grid-template-columns: 1fr; max-height: 88vh; overflow-y: auto; }
  .heb-lb-media { min-height: 280px; aspect-ratio: 3/2; }
}
@media (max-width: 640px) {
  .heb-spaces-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .heb-rooms-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .heb-amenities { grid-template-columns: 1fr; }
  .heb-keyfacts { grid-template-columns: 1fr 1fr; }
  .heb-cal-embed { height: 600px; }
  .heb-conditions li { flex-direction: column; gap: 4px; }
}

/* ─────────────────────────────────────────────────────────────
   Galerie chapitrée : têtes de chapitre + formats mixtes
   Le conteneur .heb-gallery-grid repasse en flux normal (scroll),
   chaque chapitre porte sa propre grille.
   ───────────────────────────────────────────────────────────── */
.heb-gallery-grid { display: block; }
.heb-gal-chap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(170px, 19vw, 250px);
  grid-auto-flow: dense;
  gap: clamp(8px, 1vw, 14px);
}
@media (max-width: 860px) { .heb-gal-chap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .heb-gal-chap-grid { grid-template-columns: 1fr; } }
.heb-gal-sec {
  display: flex; align-items: baseline; gap: 18px;
  padding: clamp(26px, 3.4vw, 44px) 2px 10px;
}
.heb-gal-chap:first-child .heb-gal-sec { padding-top: 8px; }
.heb-gal-sec-titre {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 500; font-style: italic;
  color: var(--ink);
  white-space: nowrap;
}
.heb-gal-sec-line { flex: 1; height: 1px; background: var(--line); }
.heb-gal-sec-count {
  font-family: var(--font-sans); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass); white-space: nowrap;
}
.heb-gal-item.is-xl { grid-column: span 2; grid-row: span 2; }
.heb-gal-item.is-wide { grid-column: span 2; }
@media (max-width: 560px) {
  .heb-gal-item.is-xl, .heb-gal-item.is-wide { grid-column: auto; grid-row: auto; }
}
.heb-gal-zoom {
  display: block; width: 100%; height: 100%;
  padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in;
}
.heb-gal-zoom img { width: 100%; height: 100%; object-fit: cover; }

/* ─────────────────────────────────────────────────────────────
   Zoom photo plein écran (compteur, légende, flèches, swipe)
   ───────────────────────────────────────────────────────────── */
.heb-zoom {
  position: fixed; inset: 0; z-index: 340;
  background: rgba(15, 12, 9, 0.95);
  display: none; align-items: center; justify-content: center;
}
.heb-zoom.is-open { display: flex; }
.heb-zoom-fig {
  margin: 0; max-width: min(93vw, 1560px);
  display: flex; flex-direction: column; gap: 13px;
}
.heb-zoom-fig img {
  max-width: 100%; max-height: calc(92vh - 64px);
  object-fit: contain; border-radius: 6px;
  opacity: 1; transition: opacity 0.22s ease;
}
.heb-zoom.is-loading .heb-zoom-fig img { opacity: 0; }
.heb-zoom-fig figcaption {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 0 2px;
}
.heb-zoom-caption {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
}
.heb-zoom-count {
  font-family: var(--font-sans); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #e3c493; white-space: nowrap;
}
.heb-zoom-btn {
  position: absolute; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 12, 9, 0.45); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur-base) var(--ease-quiet), background var(--dur-base) var(--ease-quiet);
}
.heb-zoom-btn:hover { border-color: #e3c493; background: rgba(15, 12, 9, 0.75); }
.heb-zoom-btn svg { width: 20px; height: 20px; }
.heb-zoom-close { top: 18px; right: clamp(16px, 3vw, 36px); }
.heb-zoom-prev { left: clamp(10px, 2.5vw, 30px); top: 50%; transform: translateY(-50%); }
.heb-zoom-next { right: clamp(10px, 2.5vw, 30px); top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .heb-zoom-fig { max-width: 96vw; }
  .heb-zoom-fig figcaption { flex-direction: column; gap: 4px; }
  .heb-zoom-prev { top: auto; bottom: 18px; transform: none; }
  .heb-zoom-next { top: auto; bottom: 18px; transform: none; }
}

/* Localisation : bande claire + carte Google Maps embarquée */
.heb-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.heb-map-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  font-family: var(--font-sans); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brass-deep); text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 3px;
  transition: color var(--dur-base) var(--ease-quiet);
}
.heb-map-link:hover { color: var(--brass); }
