/* ============================================================
   VILLA LUMIÈRE — style.css
   Site vitrine de location de prestige en Provence
   Version 1.0
   ============================================================ */

/* ─── VARIABLES ───────────────────────────────────────────── */
:root {
  --blanc-chaud  : #FDFAF5;
  --blanc-pur    : #FFFFFF;
  --bleu-ciel    : #A8C5DA;
  --bleu-mer     : #5B8FA8;
  --bleu-profond : #2C5F7A;
  --sable        : #E8DCC8;
  --terre        : #C4A882;
  --texte        : #1A2E3B;

  --texte-soft   : rgba(26, 46, 59, 0.58);
  --texte-xs     : rgba(26, 46, 59, 0.35);
  --sable-light  : rgba(232, 220, 200, 0.35);
  --terre-light  : rgba(196, 168, 130, 0.18);

  --section-pad  : 8rem;
  --container    : 1200px;
  --gutter       : 2.5rem;

  --font-serif   : 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans    : 'Jost', 'Gill Sans', sans-serif;
  --font-body    : 'Lato', 'Helvetica Neue', sans-serif;

  --ease-out     : cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring  : cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth  : cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-expo    : cubic-bezier(0.87, 0, 0.13, 1);

  --z-base       : 1;
  --z-nav        : 100;
  --z-overlay    : 200;
  --z-lightbox   : 300;
  --z-cursor     : 9999;
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--blanc-chaud);
  color: var(--texte);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

/* Grain texture — appliqué sur un pseudo-élément fixe pour la performance */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
address { font-style: normal; }

/* ─── CUSTOM CURSOR ───────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 7px; height: 7px;
  background-color: var(--bleu-mer);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease-out), background-color 0.3s;
  will-change: transform;
}

.cursor-follower {
  position: fixed;
  top: 0; left: 0;
  width: 38px; height: 38px;
  border: 1px solid rgba(91, 143, 168, 0.38);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition:
    width  0.35s var(--ease-spring),
    height 0.35s var(--ease-spring),
    border-color 0.35s,
    background-color 0.35s;
  will-change: transform;
}

.cursor.is-hovering         { transform: translate(-50%, -50%) scale(0); }
.cursor-follower.is-hovering {
  width: 64px; height: 64px;
  border-color: rgba(91, 143, 168, 0.55);
  background-color: rgba(91, 143, 168, 0.04);
}

@media (max-width: 768px) {
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
}

/* ─── LAYOUT HELPERS ──────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─── TYPOGRAPHY HELPERS ──────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bleu-mer);
  margin-bottom: 1.25rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background-color: var(--terre);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--texte);
}

.section-title em {
  font-style: italic;
  color: var(--bleu-mer);
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--texte-soft);
  margin-top: 1rem;
  line-height: 1.9;
}

.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-header .section-eyebrow { justify-content: center; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blanc-pur);
  background-color: var(--bleu-profond);
  padding: 0.95rem 1.65rem;
  border-radius: 100px;
  border: none;
  cursor: none;
  transition: background-color 0.45s var(--ease-out), transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover {
  background-color: var(--bleu-mer);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(44, 95, 122, 0.28);
}
.btn-primary:active { transform: translateY(-1px) scale(0.99); }

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.14);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring), background-color 0.3s;
}

.btn-primary:hover .btn-icon {
  transform: translate(2px, -1px) scale(1.06);
  background-color: rgba(255,255,255,0.24);
}

/* ─── SCROLL REVEAL ───────────────────────────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity  0.95s var(--ease-smooth),
    transform 0.95s var(--ease-smooth);
}

.reveal-up    { transform: translateY(44px); }
.reveal-left  { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ══════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 1.6rem var(--gutter);
  transition:
    padding          0.5s var(--ease-out),
    background-color 0.5s var(--ease-out),
    box-shadow       0.5s var(--ease-out);
}

.nav.is-scrolled {
  background-color: rgba(253, 250, 245, 0.93);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  padding: 1.05rem var(--gutter);
  box-shadow: 0 1px 0 rgba(26,46,59,0.07), 0 6px 24px rgba(26,46,59,0.04);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}

.nav-logo-main {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--texte);
  transition: color 0.4s var(--ease-smooth);
}

.nav-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--texte-xs);
  transition: color 0.4s var(--ease-smooth);
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-soft);
  position: relative;
  transition: color 0.3s var(--ease-smooth);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background-color: var(--terre);
  transition: width 0.32s var(--ease-out);
}

.nav-link:hover { color: var(--texte); }
.nav-link:hover::after { width: 100%; }

/* CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bleu-profond);
  border: 1px solid var(--bleu-profond);
  padding: 0.55rem 1.15rem;
  border-radius: 100px;
  transition: background-color 0.38s var(--ease-out), border-color 0.38s, color 0.38s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background-color: var(--bleu-profond);
  color: var(--blanc-pur);
}

.nav-cta-icon {
  font-size: 0.9rem;
  transition: transform 0.3s var(--ease-spring);
}

.nav-cta:hover .nav-cta-icon { transform: translate(1px, -1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 8px;
  background: none;
  border: none;
  cursor: none;
  align-items: flex-end;
  justify-content: center;
  width: 42px; height: 42px;
}

.hamburger-line {
  display: block;
  height: 1px;
  background-color: var(--blanc-pur);
  transform-origin: center;
  transition: transform 0.42s var(--ease-out), width 0.3s var(--ease-smooth), background-color 0.4s;
}

.hamburger-line:first-child  { width: 22px; }
.hamburger-line:last-child   { width: 14px; }

.nav.is-scrolled .hamburger-line { background-color: var(--texte); }

.hamburger.is-active .hamburger-line:first-child {
  width: 20px;
  transform: translateY(4px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:last-child {
  width: 20px;
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  background-color: rgba(18, 30, 40, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-smooth);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-inner { text-align: center; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 3rem;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(253, 250, 245, 0.88);
  padding: 0.3rem 0;
  opacity: 0;
  transform: translateY(18px);
  transition:
    color 0.3s,
    opacity 0.5s var(--ease-out),
    transform 0.55s var(--ease-out);
}

.mobile-menu.is-open .mobile-nav-link              { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open .mobile-nav-link:nth-child(1) { transition-delay: 0.04s; }
.mobile-menu.is-open .mobile-nav-link:nth-child(2) { transition-delay: 0.09s; }
.mobile-menu.is-open .mobile-nav-link:nth-child(3) { transition-delay: 0.13s; }
.mobile-menu.is-open .mobile-nav-link:nth-child(4) { transition-delay: 0.17s; }
.mobile-menu.is-open .mobile-nav-link:nth-child(5) { transition-delay: 0.21s; }
.mobile-menu.is-open .mobile-nav-link:nth-child(6) { transition-delay: 0.25s; }

.mobile-nav-link:hover { color: var(--bleu-ciel); }

.mobile-cta {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terre);
  border: 1px solid rgba(196, 168, 130, 0.38);
  padding: 0.8rem 2rem;
  border-radius: 100px;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s;
}

.mobile-cta:hover {
  background-color: rgba(196,168,130,0.09);
  border-color: var(--terre);
}

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--blanc-chaud);
}

/* Image de fond */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('lamottefond2.png');
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
}

/* Vignette — haut prononcé pour la nav, bas léger pour les stats */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(253,250,245,0.92) 0%,
      rgba(253,250,245,0.60) 10%,
      rgba(253,250,245,0.18) 22%,
      transparent 38%
    ),
    linear-gradient(
      to right,
      rgba(253,250,245,0.18) 0%,
      transparent 16%,
      transparent 84%,
      rgba(253,250,245,0.18) 100%
    );
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--gutter);
  max-width: 860px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  margin-bottom: 1.6rem;
  animation: fadeInUp 1.2s var(--ease-out) 0.25s both;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.8rem, 11vw, 7.5rem);
  font-weight: 300;
  line-height: 0.92;
  color: var(--blanc-chaud);
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
  animation: fadeInUp 1.2s var(--ease-out) 0.45s both;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--blanc-chaud);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.82rem, 2vw, 0.98rem);
  font-weight: 300;
  color: var(--bleu-profond);
  letter-spacing: 0.07em;
  line-height: 1.95;
  margin-bottom: 2.6rem;
  text-shadow: 0 1px 10px rgba(255,255,255,0.75);
  animation: fadeInUp 1.2s var(--ease-out) 0.65s both;
}

.hero-divider {
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  margin: 0 auto 2.6rem;
  animation: fadeIn 1.2s var(--ease-out) 0.85s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blanc-chaud);
  background-color: var(--bleu-profond);
  border: 1px solid var(--bleu-profond);
  padding: 0.9rem 1.8rem;
  border-radius: 100px;
  transition: background-color 0.45s var(--ease-out), border-color 0.45s, transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease-out);
  animation: fadeInUp 1.2s var(--ease-out) 1.05s both;
}

.hero-cta:hover {
  background-color: var(--bleu-mer);
  border-color: var(--bleu-mer);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(44,95,122,0.35);
}

.hero-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.18);
  transition: transform 0.35s var(--ease-spring), background-color 0.35s;
}

.hero-cta:hover .hero-cta-icon {
  transform: translate(2px, -1px);
  background-color: rgba(255,255,255,0.18);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  animation: fadeIn 1.5s var(--ease-out) 1.5s both;
  transition: opacity 0.4s;
}

.scroll-text {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-arrow-inner {
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.7), transparent);
  animation: scrollPulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Hero meta stats */
.hero-meta {
  position: absolute;
  bottom: 3rem;
  right: 3.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  animation: fadeIn 1.5s var(--ease-out) 1.3s both;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
}

.hero-meta-num {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--texte);
  line-height: 1;
  text-shadow: 0 1px 8px rgba(255,255,255,0.9), 0 2px 16px rgba(255,255,255,0.7);
}

.hero-meta-label {
  font-family: var(--font-sans);
  font-size: 0.52rem;
  font-weight: 400;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--texte-soft);
  text-shadow: 0 1px 6px rgba(255,255,255,0.9);
}

.hero-meta-divider {
  width: 1px; height: 28px;
  background-color: rgba(26,46,59,0.15);
}

/* ══════════════════════════════════════════════════════════
   PROPRIÉTÉ
   ══════════════════════════════════════════════════════════ */
.property {
  padding: var(--section-pad) 0;
  background-color: var(--blanc-chaud);
}

.property-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.5rem;
  align-items: center;
}

/* Image block */
.property-image-block { position: relative; }

.property-image-outer {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
}

.property-image-inner {
  width: 100%; height: 100%;
  overflow: hidden;
}

.property-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-smooth);
}

.property-image-outer:hover .property-img { transform: scale(1.04); }

.property-image-accent {
  position: absolute;
  bottom: -2.2rem;
  right: -2.2rem;
  width: 42%;
  border-radius: 2px;
  overflow: hidden;
  border: 5px solid var(--blanc-chaud);
  box-shadow: 0 18px 50px rgba(26,46,59,0.13);
}

.property-image-accent img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Text */
.property-text { padding-right: 1.5rem; }

.property-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--texte);
  margin-bottom: 1.75rem;
}

.property-title em { font-style: italic; color: var(--bleu-mer); }

.property-description p {
  font-family: var(--font-body);
  font-size: 0.93rem;
  line-height: 1.9;
  color: var(--texte-soft);
  margin-bottom: 1.2rem;
}

.property-description p:last-child { margin-bottom: 0; }

.property-quote {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--bleu-mer);
  border-left: 2px solid var(--sable);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
}

/* Features grid */
.property-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 1.75rem;
  background-color: var(--blanc-pur);
  border-radius: 3px;
  margin: 2.25rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.feature-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background-color: var(--sable-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bleu-mer);
  flex-shrink: 0;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.feature-num {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--texte-soft);
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texte-soft);
}

/* ══════════════════════════════════════════════════════════
   SECTION VIDÉO
   ══════════════════════════════════════════════════════════ */
.video-section {
  padding: var(--section-pad) 0;
  background-color: var(--texte);
}

.video-section .section-eyebrow { color: var(--bleu-ciel); }
.video-section .section-eyebrow::before { background-color: var(--terre); }

.video-section .section-title {
  color: var(--blanc-chaud);
}

.video-section .section-title em { color: var(--bleu-ciel); }

.video-embed-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.video-embed-outer {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* ratio 16:9 */
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  border: 1px solid rgba(253,250,245,0.07);
}

.video-embed-outer iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ══════════════════════════════════════════════════════════
   GALERIE
   ══════════════════════════════════════════════════════════ */
.gallery {
  padding: var(--section-pad) 0;
  background-color: var(--blanc-pur);
}

.gallery-group {
  max-width: var(--container);
  margin: 0 auto 3.5rem;
  padding: 0 var(--gutter);
}

.gallery-group:last-child { margin-bottom: 0; }

.gallery-group-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--sable);
}

.gallery-group-num {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--texte-xs);
}

.gallery-group-name {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--texte-soft);
}

/* Grids — scroll horizontal natif */
.gallery-grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 0.7rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.4rem;
}
.gallery-grid::-webkit-scrollbar { display: none; }

.gallery-grid--exterior,
.gallery-grid--interior,
.gallery-grid--rooms,
.gallery-grid--details { /* unified */ }

/* Items */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: none;
  background-color: var(--sable);
  flex: 0 0 480px;
  aspect-ratio: 16 / 9;
  height: auto;
  scroll-snap-align: start;
}

.gallery-item--large {
  flex: 0 0 480px;
  aspect-ratio: 16 / 9;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-smooth);
}


.gallery-item:hover img,
.gallery-item:focus img {
  transform: scale(1.06);
}

.gallery-item:focus {
  outline: 2px solid var(--bleu-mer);
  outline-offset: 2px;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,46,59,0.55), transparent 55%);
  opacity: 0;
  transition: opacity 0.38s var(--ease-smooth);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.88);
}

/* ── Lightbox ──────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  background-color: rgba(8, 13, 18, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s var(--ease-smooth);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: min(88vw, 1020px);
  max-height: 86vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  margin: 0 auto;
}

.lightbox-content p {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  color: white;
}

.lightbox-close {
  top: 2rem; right: 2rem;
}

.lightbox-prev {
  left: 2rem; top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 2rem; top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.22);
}

.lightbox-counter {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
}

/* ══════════════════════════════════════════════════════════
   TARIFS
   ══════════════════════════════════════════════════════════ */
.pricing {
  padding: var(--section-pad) 0;
  background-color: var(--blanc-chaud);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  align-items: start;
}

/* Card */
.pricing-card {
  position: relative;
  border-radius: 3px;
  background-color: var(--blanc-pur);
  border: 1px solid rgba(232, 220, 200, 0.55);
  overflow: hidden;
  transition:
    transform  0.42s var(--ease-spring),
    box-shadow 0.42s var(--ease-out);
}

/* Top colour stripe */
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}

.pricing-card--low::before    { background: var(--bleu-ciel); }
.pricing-card--mid::before    { background: var(--terre); }
.pricing-card--high::before   { background: var(--bleu-mer); }
.pricing-card--special::before { background: var(--bleu-profond); }

.pricing-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 60px rgba(26,46,59,0.1);
}

/* Featured card */
.pricing-card--featured {
  background-color: var(--bleu-profond);
  border-color: transparent;
}

.pricing-card--featured::before { display: none; }

.pricing-card-inner { padding: 2rem 1.65rem; }

.pricing-season-tag {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--texte-soft);
  margin-bottom: 0.45rem;
}

.pricing-card--featured .pricing-season-tag { color: rgba(253,250,245,0.55); }

.pricing-period {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--texte);
  margin-bottom: 1.6rem;
}

.pricing-card--featured .pricing-period { color: rgba(253,250,245,0.8); }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1.6rem;
}

.pricing-amount {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--texte);
  line-height: 1;
}

.pricing-amount--text {
  font-size: 1.6rem;
  font-style: italic;
}

.pricing-card--featured .pricing-amount { color: var(--blanc-chaud); }

.pricing-currency {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--texte-soft);
}

.pricing-card--featured .pricing-currency { color: rgba(253,250,245,0.55); }

.pricing-unit {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--texte-xs);
  letter-spacing: 0.04em;
}

.pricing-unit--text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--texte-soft);
}

.pricing-card--featured .pricing-unit { color: rgba(253,250,245,0.45); }

.pricing-divider {
  height: 1px;
  background-color: var(--sable);
  margin-bottom: 1.4rem;
}

.pricing-card--featured .pricing-divider { background-color: rgba(253,250,245,0.14); }

.pricing-includes {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.pricing-includes li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--texte-soft);
}

.pricing-card--featured .pricing-includes li { color: rgba(253,250,245,0.68); }

.check {
  font-size: 0.72rem;
  color: var(--bleu-mer);
  flex-shrink: 0;
}

.pricing-card--featured .check { color: var(--bleu-ciel); }

.extra {
  font-size: 0.72rem;
  color: var(--texte-xs);
  flex-shrink: 0;
}

.pricing-card--featured .extra { color: rgba(253,250,245,0.28); }

.pricing-cta {
  display: block;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--texte);
  border: 1px solid var(--sable);
  padding: 0.72rem 1rem;
  border-radius: 100px;
  transition: background-color 0.32s var(--ease-out), color 0.32s, border-color 0.32s;
}

.pricing-cta:hover {
  background-color: var(--texte);
  color: var(--blanc-chaud);
  border-color: var(--texte);
}

.pricing-cta--featured {
  color: var(--blanc-chaud);
  border-color: rgba(253,250,245,0.28);
}

.pricing-cta--featured:hover {
  background-color: rgba(253,250,245,0.14);
  border-color: rgba(253,250,245,0.55);
  color: var(--blanc-chaud);
}

.pricing-note {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--texte-xs);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sable);
}

/* ══════════════════════════════════════════════════════════
   DISPONIBILITÉS
   ══════════════════════════════════════════════════════════ */
.availability {
  padding: var(--section-pad) 0;
  background-color: var(--blanc-pur);
}

.calendar-wrapper {
  max-width: 880px;
  margin: 0 auto;
}

.calendar-container {
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--sable);
  background-color: var(--blanc-chaud);
  box-shadow: 0 6px 40px rgba(26,46,59,0.05);
}

.calendar-container iframe { display: block; }

.calendar-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--texte-soft);
  margin-top: 1.25rem;
  line-height: 1.7;
}

.calendar-note svg {
  flex-shrink: 0;
  margin-top: 0.18rem;
  color: var(--bleu-mer);
}

/* ══════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════ */
.contact {
  padding: var(--section-pad) 0;
  background-color: var(--blanc-chaud);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 6rem;
  align-items: start;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--texte);
  margin-bottom: 1.5rem;
}

.contact-title em { font-style: italic; color: var(--bleu-mer); }

.contact-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--texte-soft);
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--texte-soft);
}

.contact-detail a:hover { color: var(--bleu-mer); }

.contact-detail-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background-color: var(--sable-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bleu-mer);
  flex-shrink: 0;
}

.contact-social { display: flex; gap: 1rem; }

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--texte-soft);
  transition: color 0.3s var(--ease-smooth);
}

.social-link:hover { color: var(--bleu-mer); }

/* Form wrapper */
.form-outer {
  background-color: var(--blanc-pur);
  border-radius: 3px;
  padding: 2.5rem;
  border: 1px solid rgba(232,220,200,0.48);
  box-shadow: 0 6px 40px rgba(26,46,59,0.04);
}

.form-inner { position: relative; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--texte-soft);
}

.form-input {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--texte);
  background-color: var(--blanc-chaud);
  border: 1px solid var(--sable);
  border-radius: 2px;
  padding: 0.72rem 0.95rem;
  outline: none;
  transition: border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder { color: var(--texte-xs); }

.form-input:focus {
  border-color: var(--bleu-mer);
  box-shadow: 0 0 0 3px rgba(91,143,168,0.13);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%231A2E3B' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.5rem;
  cursor: none;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.72;
}

.btn-submit { align-self: flex-start; margin-top: 0.25rem; }

.form-legal {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--texte-xs);
  line-height: 1.65;
  margin-top: 0.3rem;
}

.form-legal a {
  color: var(--bleu-mer);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.form-success.is-visible { display: flex; }

.form-success-icon {
  font-size: 2.2rem;
  color: var(--bleu-mer);
  width: 56px; height: 56px;
  border-radius: 50%;
  background-color: var(--sable-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--texte);
}

.form-success p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--texte-soft);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
  background-color: var(--texte);
  padding: 4.5rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  padding-bottom: 3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(253,250,245,0.07);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 300;
  color: var(--blanc-chaud);
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253,250,245,0.3);
}

.footer-nav,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a,
.footer-legal a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(253,250,245,0.48);
  transition: color 0.3s;
  letter-spacing: 0.02em;
}

.footer-nav a:hover,
.footer-legal a:hover { color: var(--blanc-chaud); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: rgba(253,250,245,0.22);
  letter-spacing: 0.04em;
}

.footer-craft {
  font-family: var(--font-serif);
  font-style: italic;
}

/* ══════════════════════════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

/* ── Large tablets ──────────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --gutter: 2rem; }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-layout { gap: 4rem; }
}

/* ── Tablets ────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root {
    --section-pad: 5.5rem;
    --gutter: 1.75rem;
  }

  /* Hide desktop nav, show hamburger */
  .nav-links, .nav-cta { display: none; }
  .hamburger           { display: flex; }

  .property-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .property-text { padding-right: 0; }

  .property-image-block {
    max-width: 520px;
    margin: 0 auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  /* Gallery: smaller items on tablet */
  .gallery-item { flex: 0 0 320px; height: auto; }
  .gallery-item--large { flex: 0 0 480px; }

  .hero-meta { display: none; }
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  :root {
    --section-pad: 4rem;
    --gutter: 1.25rem;
  }

  .property-features   { grid-template-columns: repeat(2, 1fr); }
  .property-image-accent { display: none; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .form-row { grid-template-columns: 1fr; }

  /* Gallery: smaller items on mobile */
  .gallery-item { flex: 0 0 260px; height: auto; }
  .gallery-item--large { flex: 0 0 380px; }

  .footer-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-title { font-size: clamp(2.8rem, 14vw, 4.2rem); }

  .lightbox-prev { left: 0.75rem; }
  .lightbox-next { right: 0.75rem; }
}
