/* Villa Sérénité — direction artistique « Nuit & acier »
   Bleu nuit ardoise, blanc givré, filets d'acier bleuté. Une seule figure forte : l'arche-fenêtre de la piscine. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --nuit: #111922;
  --nuit-2: #16202b;
  --nuit-3: #1e2a37;
  --nuit-deep: #0b1118;
  --givre: #e8ecf0;
  --givre-dim: #a9b2bc;
  --acier: #8fa6bd;
  --acier-clair: #c3d2e0;
  --line: rgba(143, 166, 189, 0.3);
  --line-soft: rgba(232, 236, 240, 0.1);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: var(--header-h);
  background: var(--nuit);
}

body {
  margin: 0;
  background: var(--nuit);
  color: var(--givre);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
}

/* Grain photographique très léger sur toute la page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--acier);
  color: var(--nuit);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 260;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  margin: 0;
  line-height: 1.04;
}

h2 {
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 300;
  line-height: 1.2;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 1px solid var(--acier-clair);
  outline-offset: 4px;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 300;
  padding: 0.75rem 1rem;
  background: var(--acier);
  color: var(--nuit);
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-head p {
  color: var(--givre-dim);
}

/* Mots découpés pour l'animation des titres */
.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.split .wi {
  display: inline-block;
}

/* Marque « VILLA Sérénité » */
.brand__villa {
  font-family: var(--serif);
  font-weight: 350;
  font-size: 0.68rem;
  letter-spacing: 0.62em;
  text-transform: uppercase;
  color: var(--acier);
}

/* Boutons et liens */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 1.05rem 2rem;
  border: 1px solid var(--acier);
  border-radius: 1px;
  font: 500 0.95rem/1.2 var(--sans);
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.6s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.7s var(--ease);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleY(1);
}

.btn--small {
  padding: 0.7rem 1.3rem;
  font-size: 0.85rem;
  background: transparent;
  color: var(--givre);
}

.btn--small::before,
.btn--ghost::before {
  background: var(--acier);
}

.btn--small:hover,
.btn--small:focus-visible,
.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--nuit);
}

.btn--primary {
  background: var(--acier);
  color: var(--nuit);
}

.btn--primary::before {
  background: var(--nuit);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  color: var(--givre);
}

.btn--ghost {
  background: transparent;
  color: var(--givre);
}

.text-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  background: linear-gradient(var(--acier), var(--acier)) 0 100% / 100% 1px no-repeat;
  padding-bottom: 0.2rem;
  transition: background-size 0.6s var(--ease), color 0.4s ease;
}

.text-link:hover,
.text-link:focus-visible {
  background-size: 0 1px;
  background-position: 100% 100%;
  color: var(--acier-clair);
}

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}

.round-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.round-btn:hover {
  background: var(--acier);
  border-color: var(--acier);
  color: var(--nuit);
}

/* Écran d'introduction */
.loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
}

.js .loader {
  display: block;
}

.js.intro-seen .loader {
  display: none;
}

.loader__panel {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: var(--nuit-deep);
}

.loader__panel--top {
  top: 0;
}

.loader__panel--bottom {
  bottom: 0;
}

.loader__mark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}

.loader__villa {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(0.8rem, 1.4vw, 1.05rem);
  letter-spacing: 0.9em;
  margin-right: -0.9em;
  text-transform: uppercase;
  color: var(--acier);
}

.loader__line {
  display: block;
  width: min(14rem, 50vw);
  height: 1px;
  background: var(--acier);
}

.loader__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 240;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--givre);
}

.curtain {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: var(--nuit-deep);
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
}

/* En-tête */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  padding-inline: var(--gutter);
  transition: transform 0.7s var(--ease), background-color 0.5s ease, box-shadow 0.5s ease;
}

.site-header.is-solid {
  background: rgba(17, 25, 34, 0.94);
  box-shadow: 0 1px 0 var(--line-soft);
}

.site-header.is-hidden {
  transform: translateY(-105%);
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-decoration: none;
  line-height: 1;
}

.brand__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

.site-nav ul {
  display: flex;
  gap: clamp(1.25rem, 2.6vw, 2.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--givre-dim);
  background: linear-gradient(var(--acier), var(--acier)) 100% 100% / 0 1px no-repeat;
  padding-bottom: 0.3rem;
  transition: background-size 0.6s var(--ease), color 0.4s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--givre);
  background-size: 100% 1px;
  background-position: 0 100%;
}

.site-nav__book {
  display: none;
}

.site-header__actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.lang a {
  display: block;
  padding: 0.3rem 0.45rem;
  text-decoration: none;
  color: var(--givre-dim);
  border-bottom: 1px solid transparent;
}

.lang a[aria-current="page"] {
  color: var(--givre);
  border-bottom-color: var(--acier);
}

.burger {
  display: none;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: 500 0.9rem var(--sans);
  letter-spacing: 0.05em;
  cursor: pointer;
}

.burger__lines {
  position: relative;
  width: 1.6rem;
  height: 0.55rem;
}

.burger__lines::before,
.burger__lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transition: transform 0.6s var(--ease);
}

.burger__lines::before {
  top: 0;
}

.burger__lines::after {
  bottom: 0;
}

.burger[aria-expanded="true"] .burger__lines::before {
  transform: translateY(0.25rem) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__lines::after {
  transform: translateY(-0.25rem) rotate(-45deg);
}

/* Hero : l'arche-fenêtre sur la piscine */
.hero__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 36rem;
  overflow: hidden;
}

/* Ouverture du pool house : rectangle découpé par .hero__window,
   lambrequin (festons, gouttes, pastilles) dessiné par main.js dans le clipPath #vs-lace */
.hero__window {
  position: absolute;
  inset: 0;
  clip-path: inset(13% 7% 9% 47%);
}

.hero__media {
  position: absolute;
  inset: 0;
  background: var(--nuit-2);
}

.hero__lace {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hero__lace-line {
  fill: none;
  stroke: var(--acier-clair);
  stroke-opacity: 0.55;
  stroke-width: 1;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 60%;
}

.hero__frame {
  position: absolute;
  top: calc(13% - 16px);
  right: calc(7% - 16px);
  bottom: calc(9% - 16px);
  left: calc(47% - 16px);
  border: 1px solid var(--line);
  pointer-events: none;
}

/* Surface d'eau WebGL, posée exactement sur la photo */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero__canvas.is-live {
  opacity: 1;
}

.hero__touch {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2.5rem, 9vh, 5.5rem);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--givre);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  pointer-events: none;
}

.water-live.water-open .hero__touch {
  opacity: 1;
  transform: none;
}

.water-live.water-open.water-touched .hero__touch {
  opacity: 0;
}

.hero__touch-ring {
  position: relative;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--acier-clair);
  border-radius: 50%;
}

.hero__touch-ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--acier-clair);
  border-radius: 50%;
  animation: ripple-ring 2.4s ease-out infinite;
}

@keyframes ripple-ring {
  from {
    transform: scale(1);
    opacity: 0.9;
  }

  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 17, 24, 0.78), rgba(11, 17, 24, 0) 50%);
  opacity: 0;
}

.hero__welcome {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(2.5rem, 9vh, 5.5rem);
  max-width: 16ch;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 260;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--givre);
  opacity: 0;
}

.hero__copy {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  width: min(38vw, 36rem);
  transform: translateY(-46%);
}

.hero__title {
  font-weight: 260;
}

.hero__villa,
.hero__serenite {
  display: block;
  overflow: hidden;
}

.hero__inner {
  display: block;
}

.hero__villa {
  font-size: clamp(0.85rem, 1.25vw, 1.15rem);
  font-weight: 350;
  letter-spacing: 0.85em;
  text-transform: uppercase;
  color: var(--acier);
  padding-left: 0.2em;
}

.hero__serenite {
  margin-top: 0.1em;
  padding: 0.04em 0.06em 0.14em 0;
  font-size: min(11.2vw, 19vh);
  font-style: italic;
  font-weight: 240;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.hero__tag {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.6rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--givre);
}

.hero__tag::before {
  content: "";
  flex: none;
  width: 3.5rem;
  height: 1px;
  background: var(--acier);
}

.hero__lead {
  max-width: 32ch;
  margin-top: 1.1rem;
  color: var(--givre-dim);
}

.hero__score {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 2.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--givre-dim);
}

.hero__score-num {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 260;
  color: var(--acier);
}

.hero__cue {
  position: absolute;
  left: var(--gutter);
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--givre-dim);
}

.hero__cue::before {
  content: "";
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(var(--acier), rgba(143, 166, 189, 0));
  animation: drip 2.8s var(--ease) infinite;
  transform-origin: 50% 0;
}

@keyframes drip {
  0% {
    transform: scaleY(0);
  }

  50% {
    transform: scaleY(1);
  }

  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

/* Introduction */
.intro {
  padding-block: clamp(7rem, 15vw, 13rem) clamp(4rem, 8vw, 7rem);
}

.intro__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
}

.intro__title {
  grid-column: 1 / span 4;
  font-size: clamp(2.4rem, 4.6vw, 4.5rem);
  font-style: italic;
}

.intro__text {
  grid-column: 6 / span 7;
  font-family: var(--serif);
  font-weight: 280;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 2rem;
  margin-top: clamp(4.5rem, 10vw, 9rem);
  margin-bottom: 0;
}

.facts__item {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.facts dt {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--acier);
}

.facts dd {
  margin: 0.5rem 0 0;
}

.facts__value {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 280;
  line-height: 1.2;
}

.facts__note {
  display: block;
  font-size: 0.88rem;
  color: var(--givre-dim);
}

/* La visite (défilement horizontal) */
.tour__pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding-block: calc(var(--header-h) + 1rem) 2.5rem;
}

.tour__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
  gap: 1.25rem 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.tour__head p {
  color: var(--givre-dim);
}

.tour__progress {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--line-soft);
}

.tour__progress span {
  display: block;
  height: 100%;
  background: var(--acier);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.tour__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-block: 14px;
}

.tour__viewport.is-pinned {
  overflow: visible;
  scroll-snap-type: none;
}

.tour__track {
  display: flex;
  gap: clamp(2rem, 5vw, 5.5rem);
  width: max-content;
  margin: 0;
  padding: 0 calc(var(--gutter) + 14px);
  list-style: none;
}

.tour__panel {
  width: min(82vw, 72vh);
  scroll-snap-align: center;
}

.tour__panel--portrait {
  width: min(60vw, 40.5vh);
}

.tour__panel figure {
  margin: 0;
}

.tour__frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--nuit-2);
  outline: 1px solid var(--line);
  outline-offset: 12px;
}

.tour__panel--portrait .tour__frame {
  aspect-ratio: 3 / 4;
}

.tour__img {
  width: 116%;
  max-width: none;
  height: 100%;
  margin-left: -8%;
  object-fit: cover;
}

.tour__panel figcaption {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.35rem 0.5rem;
  max-width: 44ch;
  margin-top: 1.9rem;
}

.tour__num {
  grid-row: span 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--acier);
}

.tour__panel figcaption p {
  color: var(--givre-dim);
  font-size: 0.97rem;
}

/* Piscine */
.pool {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-block: clamp(6rem, 11vw, 10rem);
  background: var(--nuit-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.pool__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.pool__figure {
  grid-column: 1 / span 7;
  margin: 0;
}

.pool__frame {
  overflow: hidden;
  outline: 1px solid var(--line);
  outline-offset: 14px;
}

.pool__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pool__hint {
  margin-top: 1.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--givre-dim);
}

.pool__text {
  grid-column: 9 / span 4;
  display: grid;
  gap: 1.6rem;
}

.pool__text h2 {
  font-style: italic;
}

.pool__text p {
  color: var(--givre-dim);
}

.pool__points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pool__points li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line-soft);
}

.pool__points li::before {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid var(--acier);
  transform: rotate(45deg);
}

/* Confort */
.equip {
  padding-block: clamp(6rem, 11vw, 10rem);
}

.equip h2 {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.equip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3rem 2.5rem;
}

.equip__group h3 {
  font-style: italic;
  color: var(--acier-clair);
}

.equip__group ul {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.equip__group li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.97rem;
  color: var(--givre-dim);
}

/* Galerie */
.gallery {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(6rem, 11vw, 10rem);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(5.5rem, 10.5vw, 9.5rem);
  grid-auto-flow: dense;
  gap: clamp(0.6rem, 1.2vw, 1.1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery__cell {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__cell--wide {
  grid-column: span 4;
  grid-row: span 4;
}

.gallery__cell--tall {
  grid-row: span 4;
}

.gallery__cell--pano {
  grid-column: span 4;
}

.gallery__item {
  display: block;
  height: 100%;
  overflow: hidden;
  background: var(--nuit-2);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86);
  transition: transform 1.6s var(--ease), filter 0.8s ease;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.04);
  filter: brightness(1);
}

/* Avis */
.reviews {
  padding-block: clamp(6rem, 11vw, 10rem);
  background: var(--nuit-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.reviews__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.reviews__score h2 {
  font-size: clamp(2.4rem, 4.6vw, 4.5rem);
}

.score {
  display: flex;
  align-items: flex-end;
  gap: 1.4rem;
  margin: 2.75rem 0 2.25rem;
}

.score__num {
  font-family: var(--serif);
  font-size: clamp(5.5rem, 11vw, 9.5rem);
  font-weight: 200;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--acier);
  font-variant-numeric: tabular-nums;
}

.score__meta {
  max-width: 16rem;
  padding-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--givre-dim);
}

.score__meta strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.55rem;
  font-weight: 300;
  color: var(--givre);
}

.bars {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bars__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem 1rem;
  font-size: 0.92rem;
  color: var(--givre-dim);
}

.bars__value {
  color: var(--givre);
  font-variant-numeric: tabular-nums;
}

.bars__track {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--line-soft);
}

.bars__fill {
  display: block;
  height: 100%;
  background: var(--acier);
  transform: scaleX(var(--v));
  transform-origin: 0 50%;
}

.reviews__quotes {
  padding-top: 0.5rem;
}

.quotes {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.quote {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
}

.quote blockquote {
  margin: 0;
}

.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 260;
  font-size: clamp(1.75rem, 3.1vw, 2.75rem);
  line-height: 1.24;
  letter-spacing: -0.015em;
}

.quote p::before {
  content: "«\00a0";
  color: var(--acier);
}

.quote p::after {
  content: "\00a0»";
  color: var(--acier);
}

[lang="en"] .quote p::before {
  content: "“";
}

[lang="en"] .quote p::after {
  content: "”";
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--givre-dim);
}

.quote figcaption::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--acier);
}

.quotes__nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.75rem;
}

.quotes__nav .text-link {
  margin-left: 1.25rem;
}

.quotes__note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--givre-dim);
}

/* Alentours */
.around {
  padding-block: clamp(6rem, 11vw, 10rem);
}

.distance {
  position: relative;
  height: 10rem;
  margin: 0 0 clamp(3.5rem, 7vw, 6rem);
}

.distance__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line-soft);
}

.distance__line span {
  display: block;
  height: 100%;
  background: var(--acier);
  transform-origin: 0 50%;
}

.distance__stop {
  position: absolute;
  top: 50%;
  left: var(--x);
  width: 0;
}

.distance__dot {
  position: absolute;
  left: -0.4rem;
  top: -0.4rem;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--nuit);
  border: 1px solid var(--acier);
  transform: rotate(45deg);
}

.distance__stop:first-of-type .distance__dot {
  background: var(--acier);
}

.distance__km,
.distance__name {
  position: absolute;
  left: -0.4rem;
  white-space: nowrap;
}

.distance__km {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 280;
  line-height: 1;
}

.distance__name {
  font-size: 0.85rem;
  color: var(--givre-dim);
}

.distance__stop:nth-of-type(odd) .distance__km {
  top: 1.4rem;
}

.distance__stop:nth-of-type(odd) .distance__name {
  top: 2.95rem;
}

.distance__stop:nth-of-type(even) .distance__km {
  bottom: 2.95rem;
}

.distance__stop:nth-of-type(even) .distance__name {
  bottom: 1.3rem;
}

.distance__stop:last-of-type .distance__km,
.distance__stop:last-of-type .distance__name {
  left: auto;
  right: -0.4rem;
}

.around__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.around__list li {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.around__list h3 {
  font-style: italic;
}

.around__list p {
  margin-top: 0.7rem;
  color: var(--givre-dim);
  font-size: 0.97rem;
}

/* Réserver */
.reserve {
  padding-block: clamp(6rem, 11vw, 10rem);
  background: var(--nuit-2);
  border-top: 1px solid var(--line-soft);
}

.reserve h2 {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.reserve__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.reserve__contact {
  display: grid;
  gap: 1.75rem;
  justify-items: start;
}

.reserve__contact h3 {
  font-style: italic;
  color: var(--acier-clair);
}

.reserve__contact > p {
  max-width: 36ch;
  color: var(--givre-dim);
}

.contact {
  display: grid;
  gap: 0.2rem;
  font-style: normal;
}

.contact__label {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--acier);
}

.contact__phone {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 250;
  line-height: 1.1;
  text-decoration: none;
  transition: color 0.4s ease;
}

.contact__phone:hover {
  color: var(--acier-clair);
}

.contact__address {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--givre);
}

.map {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.9rem;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, rgba(143, 166, 189, 0.06) 0 1px, transparent 1px 16px),
    var(--nuit);
  text-align: center;
  overflow: hidden;
}

.map__note {
  max-width: 32ch;
  font-size: 0.82rem;
  color: var(--givre-dim);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) contrast(0.95);
}

.info {
  width: 100%;
}

.info dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.75rem;
  margin: 0.9rem 0 0;
}

.info dl div {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.info dt {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--acier);
}

.info dd {
  margin: 0;
  color: var(--givre);
}

/* Carte de réservation : givre sur nuit, le seul aplat clair de la page */
.booking-card {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: grid;
  gap: 1.6rem;
  padding: clamp(2rem, 4.5vw, 3.75rem);
  background: var(--givre);
  color: var(--nuit);
  outline: 1px solid var(--line);
  outline-offset: 14px;
}

.booking-card h3 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 260;
  font-style: italic;
}

.booking-card > p {
  color: #444b54;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field:nth-of-type(3),
.booking-form .btn,
.booking-form__error {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: #4d6278;
}

.field input,
.field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.6rem 0;
  border: 0;
  border-bottom: 1px solid rgba(17, 25, 34, 0.35);
  border-radius: 0;
  background: transparent;
  color: var(--nuit);
  font: 400 1.05rem var(--sans);
  color-scheme: light;
  transition: border-color 0.4s ease;
}

.field input:focus-visible,
.field select:focus-visible {
  outline: none;
  border-bottom-color: var(--nuit);
  box-shadow: 0 1px 0 var(--nuit);
}

.booking-form .btn {
  margin-top: 0.75rem;
  padding-block: 1.2rem;
  font-size: 1rem;
}

.booking-form__error {
  min-height: 1.4em;
  font-size: 0.9rem;
  color: #8a2a1c;
}

.booking-card__note {
  font-size: 0.86rem;
  color: #444b54;
}

.booking-card .text-link {
  justify-self: start;
  font-size: 0.92rem;
}

.booking-card .text-link:hover,
.booking-card .text-link:focus-visible {
  color: #4d6278;
}

.booking-card__score {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(17, 25, 34, 0.14);
  font-size: 0.88rem;
  color: #444b54;
}

.booking-card__score span {
  margin-right: 0.5rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: #4d6278;
}

/* Pied de page */
.site-footer {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background: var(--nuit-deep);
  color: var(--givre-dim);
  font-size: 0.9rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.site-footer__name {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 260;
  line-height: 1;
  color: var(--givre);
}

.site-footer__name .brand__villa {
  font-style: normal;
  font-size: 0.75rem;
}

.site-footer a {
  color: var(--givre);
  text-decoration-color: var(--acier);
  text-underline-offset: 0.25em;
}

/* Visionneuse photo */
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--givre);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(7, 11, 16, 0.96);
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 4.5rem 6rem 3.5rem;
}

.lightbox__img {
  width: auto;
  height: auto;
  max-width: min(100%, 1600px);
  max-height: calc(100% - 3rem);
  user-select: none;
}

.lightbox__caption {
  max-width: 60ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  text-align: center;
  color: var(--givre-dim);
}

.lightbox__count {
  position: absolute;
  left: 1.75rem;
  top: 1.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--acier);
  font-variant-numeric: tabular-nums;
}

.lightbox .round-btn {
  position: absolute;
}

.lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  margin-top: -1.6rem;
}

.lightbox__prev {
  left: 1.25rem;
}

.lightbox__next {
  right: 1.25rem;
}

/* Curseur (souris uniquement) */
.cursor {
  display: none;
}

.has-cursor .cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  margin: -2.75rem 0 0 -2.75rem;
  border: 1px solid var(--acier);
  border-radius: 50%;
  background: rgba(17, 25, 34, 0.4);
  color: var(--givre);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  pointer-events: none;
  transform: scale(0);
}

.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Tablettes */
@media (max-width: 1100px) {
  .equip__grid,
  .around__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 2rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .burger {
    display: inline-flex;
  }

  .site-header__actions .btn--small {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
    background: var(--nuit-deep);
    clip-path: inset(0% 0% 100% 0%);
    visibility: hidden;
    transition: clip-path 0.9s var(--ease), visibility 0s linear 0.9s;
  }

  .site-nav.is-open {
    clip-path: inset(0% 0% 0% 0%);
    visibility: visible;
    transition: clip-path 0.9s var(--ease), visibility 0s linear 0s;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-nav a {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    font-weight: 260;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--givre);
  }

  .site-nav__book {
    display: block;
    margin-top: 1.25rem;
  }

  .site-nav__book a {
    color: var(--acier);
  }

  .menu-open .site-header {
    background: transparent;
    box-shadow: none;
  }

  .hero__window {
    clip-path: inset(14% 6% 8% 50%);
  }

  .hero__frame {
    top: calc(14% - 12px);
    right: calc(6% - 12px);
    bottom: calc(8% - 12px);
    left: calc(50% - 12px);
  }

  .hero__copy {
    width: 40vw;
  }

  .section-head,
  .tour__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .intro__title,
  .intro__text,
  .pool__figure,
  .pool__text {
    grid-column: 1 / -1;
  }

  .pool__text {
    margin-top: 2.5rem;
  }

  .reviews__grid,
  .reserve__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-card {
    position: static;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 30vw;
  }

  .gallery__cell {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery__cell--wide,
  .gallery__cell--pano {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery__cell--tall {
    grid-row: span 2;
  }
}

/* Mobiles */
@media (max-width: 640px) {
  :root {
    --header-h: 4.5rem;
  }

  .brand__name {
    font-size: 1.25rem;
  }

  .hero__window {
    clip-path: inset(44% 7% 4% 7%);
  }

  .hero__frame {
    top: calc(44% - 10px);
    right: calc(7% - 10px);
    bottom: calc(4% - 10px);
    left: calc(7% - 10px);
  }

  .hero__copy {
    top: calc(var(--header-h) + 1.5rem);
    right: var(--gutter);
    width: auto;
    transform: none;
  }

  .hero__serenite {
    font-size: 17vw;
  }

  .hero__tag {
    margin-top: 1rem;
    font-size: 0.82rem;
  }

  .hero__tag::before {
    width: 2rem;
  }

  .hero__lead,
  .hero__score,
  .hero__cue {
    display: none;
  }

  .facts,
  .equip__grid,
  .around__list,
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-card {
    outline-offset: 8px;
  }

  .distance {
    height: 26rem;
  }

  .distance__line {
    left: 0.5rem;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }

  .distance__line span {
    width: 100%;
    height: 100%;
    transform-origin: 50% 0;
  }

  .distance__stop {
    left: 0.5rem;
    top: var(--x);
  }

  .distance .distance__stop:nth-of-type(n) .distance__km,
  .distance .distance__stop:nth-of-type(n) .distance__name {
    left: 1.5rem;
    right: auto;
    top: -0.65rem;
    bottom: auto;
  }

  .distance .distance__stop:nth-of-type(n) .distance__name {
    left: 6.4rem;
    top: -0.45rem;
    white-space: normal;
    width: 14rem;
  }

  .lightbox__figure {
    padding: 4.5rem 0.75rem 5.5rem;
  }

  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 1rem;
    margin-top: 0;
  }

  .lightbox__prev {
    left: calc(50% - 3.75rem);
  }

  .lightbox__next {
    right: calc(50% - 3.75rem);
  }
}

@media (hover: none) {
  .pool__hint {
    display: none;
  }

  .gallery__item img {
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .loader {
    display: none;
  }
}

/* Mentions légales */
.legal {
  padding-block: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) clamp(5rem, 10vw, 8rem);
}

.legal__wrap {
  max-width: 54rem;
}

.legal__title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-style: italic;
  font-weight: 240;
  letter-spacing: -0.03em;
}

.legal__updated {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--acier);
}

.legal__section {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.legal__section h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-style: italic;
}

.legal__section p {
  max-width: 65ch;
  color: var(--givre-dim);
}

.legal__section p + p {
  margin-top: 1rem;
}

.legal__card {
  margin: 1.25rem 0 0;
}

.legal__card div {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.legal__card dt {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--acier);
}

.legal__card dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.legal a {
  text-decoration-color: var(--acier);
  text-underline-offset: 0.25em;
}

@media (max-width: 640px) {
  .legal__card div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
  }

  .legal-back {
    padding: 0.6rem 0.9rem;
  }
}

/* Relief 3D de la vallée */
.relief {
  display: none;
  margin: 0 0 clamp(3.5rem, 7vw, 6rem);
}

.has-relief .distance + .around__list,
.has-relief .around__list {
  margin-top: 0;
}

.has-relief .relief {
  display: block;
}

.has-relief .distance {
  display: none;
}

.relief__stage {
  position: relative;
  height: min(90vh, 58rem);
  min-height: 28rem;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.relief__stage:active {
  cursor: grabbing;
}

.relief__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.relief__labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.relief__label {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
  text-shadow: 0 0 0.9rem rgba(11, 17, 24, 0.95), 0 0 0.3rem rgba(11, 17, 24, 0.9);
}

.relief__label.is-on {
  opacity: 1;
}

.relief__dot {
  position: absolute;
  left: -0.3rem;
  top: -0.3rem;
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid var(--acier-clair);
  background: var(--nuit);
  transform: rotate(45deg);
}

.relief__label--villa {
  z-index: 2;
}

.relief__label--villa .relief__dot {
  left: -0.6rem;
  top: -0.6rem;
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid var(--givre);
  background: var(--acier);
  box-shadow: 0 0 0 4px rgba(17, 25, 34, 0.85), 0 0 1.4rem rgba(195, 210, 224, 0.9);
}

.relief__label--villa .relief__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--acier-clair);
  animation: ripple-ring 2.4s ease-out infinite;
}

.relief__text {
  position: absolute;
  left: 0.95rem;
  top: -0.85rem;
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  line-height: 1.15;
}

.relief__label[data-side="left"] .relief__text {
  left: auto;
  right: 1rem;
  align-items: flex-end;
}

.relief__km {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 280;
  color: var(--givre);
}

.relief__name {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--givre-dim);
}

.relief__label--villa .relief__text {
  top: -1.25rem;
  right: 1.35rem;
  padding: 0.45rem 0.9rem 0.5rem;
  border: 1px solid var(--acier);
  background: rgba(11, 17, 24, 0.82);
  text-shadow: none;
}

.relief__label--villa.is-flip .relief__text {
  right: auto;
  left: 1.35rem;
  align-items: flex-start;
}

.relief__villa {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--givre);
}

.relief__stay {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--acier-clair);
}

.relief__label--river .relief__text {
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #9fd0f0;
}

.relief__label--north .relief__text,
.relief__label--cardinal .relief__text {
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  color: var(--acier-clair);
}

.relief__label--north .relief__text {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--acier-clair);
  border-radius: 50%;
  background: rgba(11, 17, 24, 0.85);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--givre);
}

.relief__label--cardinal .relief__text {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.relief__caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem 2rem;
  max-width: 90rem;
  margin: 1.25rem auto 0;
  padding-inline: var(--gutter);
  font-size: 0.88rem;
  color: var(--givre-dim);
}

.relief__hint {
  font-family: var(--serif);
  font-style: italic;
  color: var(--acier-clair);
}

.relief__credits {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  color: rgba(169, 178, 188, 0.75);
}

@media (max-width: 640px) {
  .relief__label--correze {
    display: none;
  }

  .relief__stage {
    height: 62vh;
    min-height: 24rem;
  }

  .relief__caption {
    grid-template-columns: minmax(0, 1fr);
  }

  .relief__label--north .relief__text {
    font-size: 0.85rem;
  }

  .relief__km {
    font-size: 1.1rem;
  }

  .relief__text {
    white-space: normal;
    width: 9rem;
  }

  .relief__label[data-side="left"] .relief__text {
    width: auto;
    white-space: nowrap;
  }

  .relief__villa {
    font-size: 1.1rem;
  }

  .relief__label--villa .relief__text {
    padding: 0.3rem 0.6rem 0.35rem;
    right: 1.1rem;
  }
}

/* Sélecteur de carte */
.relief {
  position: relative;
}

.relief__switch {
  position: absolute;
  top: clamp(0.75rem, 2.5vw, 1.75rem);
  left: var(--gutter);
  z-index: 2;
  display: flex;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 25, 34, 0.78);
}

.relief__view {
  padding: 0.6rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--givre-dim);
  font: 500 0.85rem/1.2 var(--sans);
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

.relief__view:hover {
  color: var(--givre);
}

.relief__view[aria-pressed="true"] {
  background: var(--acier);
  color: var(--nuit);
}

.relief__label--town .relief__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--givre);
}

.relief__label--site .relief__dot {
  background: var(--acier);
}

/* Les incontournables (liste lisible sans la carte) */
.sites {
  margin-top: clamp(4rem, 8vw, 6.5rem);
}

.sites__title {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-style: italic;
  font-weight: 260;
}

.sites__intro {
  max-width: 60ch;
  margin-top: 0.9rem;
  color: var(--givre-dim);
}

.sites__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.75rem 2rem;
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
}

.sites__list li {
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.sites__list h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.2;
}

.sites__km {
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--acier);
}

.sites__km span {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--givre-dim);
}

.sites__list li > p:not(.sites__km) {
  margin-top: 0.55rem;
  font-size: 0.95rem;
  color: var(--givre-dim);
}

.sites__open {
  margin-top: 1.1rem;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--givre);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

.sites__open:hover {
  border-color: var(--acier);
  background: rgba(143, 166, 189, 0.12);
}

/* Restauration : une carte de restaurant, nom et distance reliés par des points de conduite */
.dining {
  padding-block: clamp(6rem, 11vw, 10rem);
  border-top: 1px solid var(--line-soft);
}

.dining__group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.dining__area {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-style: italic;
  font-weight: 260;
  line-height: 1.1;
}

.dining__where {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--givre-dim);
}

.dining__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem clamp(2rem, 4vw, 3.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.dining__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.dining__photo {
  position: relative;
  width: 100%;
  margin: 0 0 1.3rem;
  overflow: hidden;
  background: var(--nuit-2);
}

.dining__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.dining__item:hover .dining__photo img {
  transform: scale(1.04);
}

.dining__photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 2.4rem 0.85rem 0.65rem;
  background: linear-gradient(rgba(11, 17, 24, 0), rgba(11, 17, 24, 0.82));
}

.dining__caption {
  font-size: 0.8rem;
  color: var(--givre);
}

.dining__credit {
  font-size: 0.66rem;
  color: rgba(232, 236, 240, 0.72);
  text-decoration: none;
}

.dining__credit:hover {
  color: var(--givre);
  text-decoration: underline;
}

.dining__top {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  width: 100%;
}

.dining__name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  font-weight: 300;
  line-height: 1.15;
}

.dining__dots {
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  border-bottom: 1px dotted var(--acier);
  opacity: 0.7;
}

.dining__km {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--acier-clair);
  white-space: nowrap;
}

.dining__meta {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--acier);
}

.dining__badge {
  margin-top: 0.8rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--acier);
  border-radius: 999px;
  font-size: 0.76rem;
  color: var(--acier-clair);
}

.dining__text {
  flex: 1 1 auto;
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: var(--givre-dim);
}

.dining__map {
  margin-top: 1.1rem;
  font-size: 0.86rem;
  color: var(--givre);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.35em;
  transition: color 0.4s var(--ease), text-decoration-color 0.4s var(--ease);
}

.dining__map:hover {
  color: var(--acier-clair);
  text-decoration-color: var(--acier-clair);
}

.dining__note {
  max-width: 64ch;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--givre-dim);
}

@media (max-width: 1100px) {
  .dining__group {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .dining__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Carte 3D : lieux cliquables, aperçu au survol */
.relief__label[data-place].is-on .relief__dot,
.relief__label[data-place].is-on .relief__text {
  pointer-events: auto;
  cursor: pointer;
}

.relief__dot::before {
  content: "";
  position: absolute;
  inset: -0.75rem;
}

.relief__dot {
  transition: background-color 0.35s var(--ease), scale 0.35s var(--ease);
}

.relief__label.is-hot .relief__dot {
  background: var(--acier-clair);
  scale: 1.35;
}

.relief__label.is-hot .relief__name,
.relief__label.is-hot .relief__km {
  color: var(--givre);
}

.is-peeking .cursor__label {
  opacity: 0;
}

.is-peeking .cursor {
  scale: 0.35;
}

.relief__peek {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 15.5rem;
  padding: 0.45rem 0.45rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--nuit-deep);
  box-shadow: 0 1.5rem 3rem rgba(7, 11, 16, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.relief__peek.is-on {
  opacity: 1;
}

.relief__peek-img {
  display: block;
  width: 100%;
  height: 9.5rem;
  object-fit: cover;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
}

.relief__peek.is-on .relief__peek-img {
  clip-path: inset(0 0 0 0);
}

.relief__peek-name {
  display: block;
  margin: 0.65rem 0.35rem 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.15;
  color: var(--givre);
}

.relief__peek-km {
  display: block;
  margin: 0.2rem 0.35rem 0;
  font-size: 0.8rem;
  color: var(--acier-clair);
}

.relief__peek-hint {
  display: block;
  margin: 0.45rem 0.35rem 0;
  font-size: 0.72rem;
  color: var(--givre-dim);
}

/* Fiche d'un lieu */
.place {
  width: min(66rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100% - 2rem);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--nuit-2);
  color: var(--givre);
  overflow: auto;
  overscroll-behavior: contain;
}

.place::backdrop {
  background: rgba(7, 11, 16, 0.84);
}

.place__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.place__media {
  position: relative;
  margin: 0;
  background: var(--nuit-deep);
}

.place__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 26rem;
  max-height: 82vh;
  object-fit: cover;
}

.place__credit {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2.5rem 1rem 0.75rem;
  background: linear-gradient(rgba(7, 11, 16, 0), rgba(7, 11, 16, 0.75));
  font-size: 0.72rem;
  color: rgba(232, 236, 240, 0.86);
}

.place__credit a {
  color: inherit;
  text-underline-offset: 0.25em;
}

.place__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1.5rem, 4vw, 3.25rem);
}

.place__kicker {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--acier);
}

.place__name {
  margin-top: 0.45rem;
  padding-right: 2.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 260;
  line-height: 1.05;
}

.place__km {
  margin-top: 0.7rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--acier-clair);
}

.place__km span {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--givre-dim);
}

.place__text {
  margin-top: 1.3rem;
  color: var(--givre-dim);
  line-height: 1.7;
}

.place__tip {
  width: 100%;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.place__tip h4 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--acier);
}

.place__tip p {
  margin-top: 0.45rem;
  font-size: 0.95rem;
}

.place__actions {
  margin-top: auto;
  padding-top: 2rem;
}

.place__go {
  display: inline-flex;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--acier);
  color: var(--givre);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.place__go:hover {
  background: var(--acier);
  color: var(--nuit);
}

.place__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(17, 25, 34, 0.7);
}

@media (max-width: 760px) {
  .place__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .place__img {
    height: 15rem;
    min-height: 0;
  }

  .relief__peek {
    display: none;
  }
}

@media (max-width: 1100px) {
  .sites__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sites__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .relief__view {
    padding: 0.55rem 0.9rem;
    font-size: 0.78rem;
  }

  .relief__label--region-correze,
  .relief__label--region-vezere,
  .relief__label--town {
    display: none;
  }

  .relief__label--site .relief__km {
    font-size: 0.95rem;
  }

  .relief__label--site .relief__name {
    font-size: 0.68rem;
  }

  .relief__label--site .relief__text {
    width: auto;
    white-space: nowrap;
  }

  .relief__label[data-mside="left"] .relief__text {
    left: auto;
    right: 0.85rem;
    align-items: flex-end;
  }

  .relief__label[data-mside="right"] .relief__text {
    left: 0.85rem;
    right: auto;
    align-items: flex-start;
  }

  .relief__label[data-mside="top"] .relief__text {
    left: 0;
    right: auto;
    top: -0.55rem;
    align-items: center;
    transform: translate(-50%, -100%);
  }
}
