/* =========================================================================
   Les Chambres d'Hôtes de Mougins · Villa Stéphanie
   Direction artistique 2026 · Cormorant + ivoire chaud + terre de Sienne
   ========================================================================= */

:root {
  /* Palette 5 tokens (brief section 4) */
  --color-bg: #F4EFE6;             /* ivoire chaud — fond principal */
  --color-bg-elevated: #EAE3D2;    /* sable doux — cards */
  --color-bg-deep: #E5DCC6;        /* nuance plus profonde sections alt */
  --color-text: #1F2A24;           /* vert nuit profond — body */
  --color-text-muted: #5B6B5E;     /* vert olive sec — secondaire */
  --color-accent: #C97F4E;         /* terre de Sienne brûlée */
  --color-accent-hover: #B5703F;
  --color-accent-2: #2E4A55;       /* bleu mer profond Méditerranée */
  --color-accent-3: #8B9474;       /* olivier sec */
  --color-border: rgba(31, 42, 36, 0.08);
  --color-glass: rgba(244, 239, 230, 0.72);
  --color-glass-strong: rgba(244, 239, 230, 0.92);

  --gradient-mesh: conic-gradient(from 210deg at 60% 40%,
    #C97F4E 0deg, #2E4A55 90deg, #8B9474 180deg, #C97F4E 270deg, #C97F4E 360deg);
  --gradient-sunset: linear-gradient(135deg, rgba(201, 127, 78, 0.18), rgba(46, 74, 85, 0.22));

  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-signature: 'Pinyon Script', cursive;

  --shadow-1: 0 2px 8px rgba(31, 42, 36, 0.04);
  --shadow-2: 0 8px 32px rgba(31, 42, 36, 0.08);
  --shadow-3: 0 24px 80px rgba(31, 42, 36, 0.14);
  --shadow-accent: 0 12px 36px rgba(201, 127, 78, 0.28);

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-fast: 200ms;
  --duration-mid: 480ms;
  --duration-slow: 900ms;

  --container: 1240px;
  --container-wide: 1440px;
  --section-y: clamp(4rem, 9vw, 7.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out-quart);
}
a:hover { color: var(--color-accent); }

::selection { background: var(--color-accent); color: var(--color-bg); }

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--color-text);
  color: var(--color-bg);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top var(--duration-fast) ease;
}
.skip-link:focus { top: 16px; color: var(--color-bg); }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================================
   Scroll progress bar
   ========================================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  z-index: 200;
  transition: width 60ms linear;
}

/* =========================================================================
   Custom cursor (desktop only)
   ========================================================================= */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 120ms var(--ease-out-quart), opacity 200ms ease, width 200ms ease, height 200ms ease;
  mix-blend-mode: multiply;
  opacity: 0;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201, 127, 78, 0.5);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 340ms var(--ease-out-quart), opacity 300ms ease, width 300ms ease, height 300ms ease, border-color 300ms ease;
  opacity: 0;
}
.cursor-active .cursor-dot { opacity: 1; }
.cursor-active .cursor-ring { opacity: 1; }
.cursor-hover .cursor-ring { width: 70px; height: 70px; border-color: var(--color-accent); }
.cursor-hover .cursor-dot { width: 4px; height: 4px; }

@media (hover: none), (max-width: 1024px) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* =========================================================================
   Navigation glass
   ========================================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  background: var(--color-glass);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
  transition: padding var(--duration-mid) var(--ease-out-quart), background var(--duration-mid) ease;
}
.nav.is-scrolled { padding: 0.7rem clamp(1.25rem, 4vw, 3rem); background: var(--color-glass-strong); }

.nav__brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: 0.02em;
}
.nav__brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--color-text);
}
.nav__brand-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}

.nav__menu {
  display: none;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav__menu a {
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}
.nav__menu a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--color-accent);
  transition: width var(--duration-mid) var(--ease-out-quart);
}
.nav__menu a:hover::after { width: 100%; }

.nav__cta {
  display: none;
  align-items: center;
  gap: 1rem;
}
.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.nav__lang button {
  background: none;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.14em;
  transition: color var(--duration-fast) ease;
}
.nav__lang button.is-active { color: var(--color-text); }
.nav__lang button:hover { color: var(--color-accent); }
.nav__lang .divider { color: var(--color-border); }

.btn,
.nav__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.65rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--color-accent);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-out-quart),
              box-shadow var(--duration-mid) var(--ease-out-quart),
              background var(--duration-fast) ease;
  white-space: nowrap;
}
.btn:hover,
.nav__cta-btn:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
}
.btn--ghost:hover {
  background: var(--color-text);
  color: var(--color-bg);
}
.btn--light {
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-bg);
}
.btn--light:hover {
  background: rgba(244, 239, 230, 0.85);
  color: var(--color-text);
  transform: translateY(-2px);
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--duration-mid) var(--ease-out-quart);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Mobile menu */
.nav__hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}
.nav__hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform var(--duration-mid) var(--ease-out-quart), opacity var(--duration-fast) ease;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__overlay {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-mid) var(--ease-out-quart);
}
.nav__overlay.is-open { opacity: 1; pointer-events: auto; }
.nav__overlay a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-style: italic;
  color: var(--color-text);
}
.nav__overlay-meta {
  margin-top: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@media (min-width: 1024px) {
  .nav__menu { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__hamburger { display: none; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3rem) clamp(2.5rem, 7vw, 5rem);
  overflow: hidden;
  isolation: isolate;
  color: var(--color-bg);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(31, 42, 36, 0.20) 0%, rgba(31, 42, 36, 0.10) 38%, rgba(31, 42, 36, 0.62) 100%),
    linear-gradient(120deg, rgba(46, 74, 85, 0.18), rgba(201, 127, 78, 0.10));
}
.hero__content {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 1.8rem;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.85);
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 36px; height: 1px;
  background: rgba(244, 239, 230, 0.85);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 8.5vw, 7.5rem);
  line-height: 0.96;
  letter-spacing: -0.015em;
  color: var(--color-bg);
  max-width: 14ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--color-bg);
}
.hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.55;
  color: rgba(244, 239, 230, 0.92);
  max-width: 56ch;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 0.4rem;
}
.hero__signature {
  position: absolute;
  right: clamp(1.5rem, 5vw, 4rem);
  bottom: clamp(2rem, 7vw, 5rem);
  font-family: var(--font-signature);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  color: var(--color-bg);
  opacity: 0.95;
  transform: rotate(-3deg);
  pointer-events: none;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.75);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__scroll::after {
  content: '';
  width: 1px; height: 36px;
  background: rgba(244, 239, 230, 0.45);
  animation: scroll-pulse 2.4s var(--ease-out-quart) infinite;
}
@keyframes scroll-pulse {
  0%,100% { transform: scaleY(1); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(0.4); transform-origin: top; opacity: 0.9; }
}

/* Hero rating chip */
.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 1rem;
  background: rgba(244, 239, 230, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 239, 230, 0.28);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--color-bg);
  width: fit-content;
}
.hero__rating-score {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 500;
}
.hero__rating-stars {
  letter-spacing: 0.1em;
  color: #F2C36B;
}

/* =========================================================================
   Marquee strip avis
   ========================================================================= */
.marquee {
  background: var(--color-bg-elevated);
  padding: 1.4rem 0;
  border-block: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
}
.marquee__track {
  display: flex;
  gap: 4rem;
  animation: marquee 42s linear infinite;
  width: max-content;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-text);
  white-space: nowrap;
}
.marquee__item small {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.marquee__bullet {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================================
   Containers / sections
   ========================================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.container--wide { max-width: var(--container-wide); }

section {
  position: relative;
  padding-block: var(--section-y);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.4rem;
}
.section__eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--color-accent);
}
.section__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin-bottom: 1.6rem;
}
.section__title em { font-style: italic; font-weight: 300; }

.section__lede {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 56ch;
}

/* Section divider */
.divider-olive {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding-block: 1.6rem;
}
.divider-olive::before,
.divider-olive::after {
  content: '';
  flex: 1;
  max-width: 240px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}
.divider-olive svg {
  width: 26px; height: 26px;
  color: var(--color-accent-3);
  flex-shrink: 0;
}

/* =========================================================================
   Section "La maison" — parallax
   ========================================================================= */
.maison {
  background: var(--color-bg);
}
.maison__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.maison__visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-3);
}
.maison__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-expo);
}
.maison__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 60%, rgba(31, 42, 36, 0.18));
  pointer-events: none;
}
.maison__overlay {
  position: absolute;
  bottom: -1px; left: -1px; right: -1px;
  padding: 1.3rem 1.5rem;
  background: var(--color-glass-strong);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.maison__overlay-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--color-accent);
  line-height: 1;
}
.maison__overlay-label {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.maison__text p + p { margin-top: 1.2rem; }
.maison__text p {
  font-size: 1.06rem;
  line-height: 1.78;
  color: var(--color-text);
}
.maison__pullquote {
  margin-top: 2.5rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.4;
  color: var(--color-accent-2);
}

@media (min-width: 900px) {
  .maison__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
  }
}

/* =========================================================================
   Quiet line
   ========================================================================= */
.quiet-line {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-elevated) 100%);
  text-align: center;
  padding-block: clamp(5rem, 10vw, 8rem);
  position: relative;
}
.quiet-line__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 4.5vw, 3.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text);
  max-width: 22ch;
  margin: 0 auto;
}
.quiet-line__signature {
  font-family: var(--font-signature);
  color: var(--color-accent);
  font-size: 1.6rem;
  margin-top: 1.6rem;
  transform: rotate(-2deg);
  display: inline-block;
}

/* =========================================================================
   Chambres preview
   ========================================================================= */
.chambres-preview {
  background: var(--color-bg-elevated);
}
.chambres-preview__header {
  display: grid;
  gap: 1.4rem;
  margin-bottom: 3rem;
  align-items: end;
}
@media (min-width: 900px) {
  .chambres-preview__header {
    grid-template-columns: 1.4fr 1fr;
  }
}
.chambres-preview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 760px) {
  .chambres-preview__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .chambres-preview__grid .room-card:first-child {
    grid-column: span 1;
  }
}

.room-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: var(--shadow-1);
  transition: transform var(--duration-mid) var(--ease-out-quart), box-shadow var(--duration-mid) ease;
  display: flex;
  flex-direction: column;
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
}
.room-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}
.room-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}
.room-card:hover .room-card__media img { transform: scale(1.06); }

.room-card__chip {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.32rem 0.72rem;
  background: var(--color-glass-strong);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
}
.room-card__body {
  padding: 1.6rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}
.room-card__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  color: var(--color-text);
}
.room-card__desc {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.room-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.room-card__price {
  color: var(--color-accent);
  font-weight: 600;
}

/* =========================================================================
   Showreel mid-page
   ========================================================================= */
.showreel {
  background: var(--color-bg);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.showreel__frame {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.showreel__frame video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.showreel__caption {
  text-align: center;
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-text-muted);
}

/* =========================================================================
   Experience timeline
   ========================================================================= */
.experience {
  background: var(--color-accent-2);
  color: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.experience::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(201, 127, 78, 0.18), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(139, 148, 116, 0.14), transparent 50%);
  pointer-events: none;
}
.experience .section__eyebrow { color: rgba(244, 239, 230, 0.7); }
.experience .section__eyebrow::before { background: rgba(244, 239, 230, 0.45); }
.experience__header {
  text-align: center;
  margin-bottom: 4rem;
}
.experience__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-bg);
  max-width: 22ch;
  margin: 0 auto;
}
.experience__title em { font-style: italic; }
.experience__timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .experience__timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
}
.experience__moment {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem;
}
.experience__moment-time {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--color-accent);
}
.experience__moment-title {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(244, 239, 230, 0.85);
}
.experience__moment-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(244, 239, 230, 0.72);
}

/* =========================================================================
   Galerie masonry
   ========================================================================= */
.gallery {
  background: var(--color-bg);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
  gap: 0.8rem;
  margin-top: 3rem;
}
@media (min-width: 760px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
  }
}
@media (min-width: 1100px) {
  .gallery__grid {
    grid-auto-rows: 240px;
  }
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--color-bg-elevated);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out-expo);
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31, 42, 36, 0.34));
  opacity: 0;
  transition: opacity var(--duration-mid) ease;
}
.gallery__item:hover::after { opacity: 1; }

/* Layouts asymétriques */
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* =========================================================================
   Compteurs animés
   ========================================================================= */
.stats {
  background: var(--color-bg-elevated);
  padding-block: clamp(4rem, 8vw, 6rem);
  border-block: 1px solid var(--color-border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
  text-align: center;
}
@media (min-width: 760px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}
.stat__value {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
  color: var(--color-accent);
  letter-spacing: -0.01em;
}
.stat__value sup,
.stat__value small {
  font-size: 0.45em;
  vertical-align: super;
  margin-left: 4px;
  font-style: normal;
  color: var(--color-text-muted);
}
.stat__label {
  margin-top: 0.7rem;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* =========================================================================
   Avis clients
   ========================================================================= */
.reviews {
  background: var(--color-bg);
}
.reviews__header {
  text-align: center;
  margin-bottom: 3rem;
}
.reviews__header .section__eyebrow {
  justify-content: center;
}
.reviews__header .section__eyebrow::before { background: var(--color-accent); }
.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 760px) {
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }
}
.review-card {
  padding: 2rem 1.8rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform var(--duration-mid) var(--ease-out-quart), box-shadow var(--duration-mid) ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.review-card__stars {
  display: inline-flex;
  gap: 2px;
  color: #C97F4E;
  font-size: 1rem;
  letter-spacing: 0.1em;
}
.review-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--color-text);
  position: relative;
}
.review-card__quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.4;
  position: absolute;
  top: -1.2rem; left: -0.4rem;
}
.review-card__author {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
.review-card__author-name {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.review-card__author-meta {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* =========================================================================
   Territoire / map
   ========================================================================= */
.territoire {
  background: var(--color-bg-elevated);
}
.territoire__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1000px) {
  .territoire__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }
}
.territoire__map {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  background: var(--color-bg-deep);
}
.territoire__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) sepia(0.05);
}
.territoire__distances {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.territoire__distances li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  gap: 1rem;
}
.territoire__distances li:last-child { border-bottom: none; }
.territoire__dist-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 400;
}
.territoire__dist-value {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  white-space: nowrap;
}

/* =========================================================================
   Spa & piscine
   ========================================================================= */
.spa {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.spa__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .spa__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.spa__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-3);
}
.spa__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.spa__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 60%, rgba(46, 74, 85, 0.18));
  pointer-events: none;
}
.spa__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 2rem;
}
.spa__features li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding-block: 0.4rem;
}
.spa__features-icon {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-elevated);
  border-radius: 50%;
  color: var(--color-accent);
  flex-shrink: 0;
}
.spa__features-icon svg { width: 18px; height: 18px; }
.spa__features-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
  color: var(--color-text);
}
.spa__features-desc {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =========================================================================
   Direct booking advantage
   ========================================================================= */
.direct-advantage {
  background: var(--color-bg-elevated);
  padding-block: clamp(3rem, 7vw, 5rem);
  border-block: 1px solid var(--color-border);
}
.direct-advantage__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.direct-advantage__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.direct-advantage__copy {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.direct-advantage__copy strong {
  color: var(--color-accent);
  font-weight: 600;
}

/* =========================================================================
   CTA final mesh gradient
   ========================================================================= */
.cta-final {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding-block: clamp(5rem, 10vw, 8rem);
  color: var(--color-bg);
  overflow: hidden;
}
.cta-final__bg {
  position: absolute;
  inset: -20%;
  z-index: -2;
  background: var(--gradient-mesh);
  filter: blur(60px) saturate(110%);
  opacity: 0.85;
  animation: meshRotate 60s linear infinite;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(31, 42, 36, 0.50), rgba(46, 74, 85, 0.45));
}
@keyframes meshRotate {
  to { transform: rotate(360deg); }
}
.cta-final__eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.78);
  margin-bottom: 1.4rem;
}
.cta-final__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin-bottom: 1.4rem;
  max-width: 18ch;
  margin-inline: auto;
}
.cta-final__title em { font-style: italic; }
.cta-final__copy {
  font-size: 1.06rem;
  color: rgba(244, 239, 230, 0.88);
  max-width: 56ch;
  margin: 0 auto 2.4rem;
  line-height: 1.7;
}
.cta-final .btn { font-size: 0.92rem; padding: 1rem 2.2rem; }
.cta-final__small {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.74);
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
  background: var(--color-text);
  color: var(--color-bg);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 760px) {
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 4rem; }
}
.footer__col h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--color-bg);
  margin-bottom: 1.2rem;
}
.footer__col p,
.footer__col li {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.72);
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col a { color: rgba(244, 239, 230, 0.85); }
.footer__col a:hover { color: var(--color-accent); }

.footer__brand-block {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.05;
  color: var(--color-bg);
  margin-bottom: 1.4rem;
}
.footer__brand-block em { color: var(--color-accent); }

.footer__newsletter {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer__newsletter label {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
}
.footer__newsletter-row {
  display: flex;
  gap: 0.6rem;
}
.footer__newsletter input {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(244, 239, 230, 0.18);
  background: rgba(244, 239, 230, 0.04);
  color: var(--color-bg);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  outline: none;
  transition: border var(--duration-fast) ease, background var(--duration-fast) ease;
}
.footer__newsletter input:focus {
  border-color: var(--color-accent);
  background: rgba(244, 239, 230, 0.08);
}
.footer__newsletter button {
  padding: 0.85rem 1.2rem;
  background: var(--color-accent);
  color: var(--color-bg);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration-fast) ease;
}
.footer__newsletter button:hover { background: var(--color-accent-hover); }

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(244, 239, 230, 0.55);
}
@media (min-width: 760px) {
  .footer__bottom { flex-direction: row; align-items: center; }
}
.footer__signature {
  font-family: var(--font-signature);
  font-size: 1.4rem;
  color: var(--color-accent);
  transform: rotate(-2deg);
  display: inline-block;
}

/* =========================================================================
   Sticky mobile CTA
   ========================================================================= */
.sticky-mobile-cta {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 80;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-mobile-cta a {
  pointer-events: auto;
  width: 100%;
  max-width: 460px;
  justify-content: center;
  box-shadow: var(--shadow-3);
  font-size: 0.92rem;
}
@media (min-width: 900px) {
  .sticky-mobile-cta { display: none; }
}

/* =========================================================================
   Lightbox (basic)
   ========================================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(31, 42, 36, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3);
}
.lightbox__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 1;
}

/* =========================================================================
   Reveal animations
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease-out-expo), transform 900ms var(--ease-out-expo);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 80ms; }
.reveal--delay-2 { transition-delay: 160ms; }
.reveal--delay-3 { transition-delay: 240ms; }
.reveal--delay-4 { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   Secondary page hero (chambres.html)
   ========================================================================= */
.page-hero {
  position: relative;
  padding: calc(90px + 4rem) 1.5rem clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
  color: var(--color-bg);
  overflow: hidden;
  isolation: isolate;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero__media {
  position: absolute; inset: 0; z-index: -2;
}
.page-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(31, 42, 36, 0.30), rgba(31, 42, 36, 0.55));
}
.page-hero__eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.8);
  margin-bottom: 1.4rem;
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.012em;
  color: var(--color-bg);
  margin: 0 auto;
  max-width: 18ch;
}
.page-hero__title em { font-style: italic; }
.page-hero__lede {
  margin-top: 1.4rem;
  font-size: 1.06rem;
  color: rgba(244, 239, 230, 0.88);
  max-width: 56ch;
  margin-inline: auto;
  font-family: var(--font-display);
  font-style: italic;
}

/* Chambres detail page */
.rooms-detail { background: var(--color-bg); }
.rooms-detail__grid {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
.room-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .room-block { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .room-block:nth-child(even) .room-block__media { order: 2; }
}
.room-block__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3);
}
.room-block__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}
.room-block__media:hover img { transform: scale(1.04); }

.room-block__chip {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
}
.room-block__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.room-block__title em { font-style: italic; }
.room-block__desc {
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1.6rem;
}
.room-block__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.room-block__feature {
  padding: 1rem 1.1rem;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  line-height: 1.4;
}
.room-block__feature-label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}
.room-block__feature-value {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
}
.room-block__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
}
.room-block__price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--color-accent);
}
.room-block__price small {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-left: 6px;
}

.room-quote {
  background: var(--color-bg-elevated);
  text-align: center;
  padding-block: clamp(4rem, 8vw, 6rem);
}
.room-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.35;
  max-width: 30ch;
  margin: 0 auto 1rem;
}
.room-quote cite {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
