/* ============================================================
   Le Chalet du Lac — feuille de style
   Palette : charbon, bois chaud, vert forêt, terracotta, crème
   ============================================================ */

/* Défilement fluide Lenis (classes ajoutées automatiquement sur <html>) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

:root {
  --charbon:   #21231f;
  --charbon-2: #2e312b;
  --creme:     #f6f3ec;
  --creme-2:   #ece7db;
  --vert:      #55684d;
  --vert-fonce:#3c4a37;
  --terra:     #bd5a35;
  --bois:      #a9814f;
  --texte:     #2c2e29;
  --texte-doux:#5c5f56;
  --blanc:     #ffffff;
  --ombre:     0 18px 50px rgba(20, 22, 18, .16);
  --rayon:     14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;
  --nav-h: 74px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--sans);
  color: var(--texte);
  background: var(--creme);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Utilitaires ---------- */
.section { padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 6vw, 6rem); }
.section__eyebrow {
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--terra); font-weight: 600; margin-bottom: 1rem;
}
.section__eyebrow.light { color: #e8c9ad; }
.section__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.1;
  color: var(--charbon); margin-bottom: 1.4rem; letter-spacing: .5px;
}
.section__title.light { color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 500;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 1rem 2rem; border-radius: 100px; cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  border: 1.5px solid transparent; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--terra); color: #fff; }
.btn--solid:hover { background: #a94c2b; box-shadow: 0 12px 30px rgba(189, 90, 53, .35); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--dark { background: var(--charbon); color: var(--creme); }
.btn--dark:hover { background: var(--charbon-2); }
.btn--block { width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  transition: background .35s ease, box-shadow .35s ease;
}
.nav__inner {
  height: 100%; max-width: 1300px; margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  display: flex; align-items: center; gap: .55rem; white-space: nowrap;
  font-family: var(--serif); font-size: 1.35rem; color: #fff;
  font-weight: 600; letter-spacing: .5px; transition: color .35s ease;
}
.nav__logo-mark { color: var(--terra); font-size: 1rem; }
.nav__links { display: flex; align-items: center; gap: 1.5rem; }
.nav__links a {
  color: #fff; font-size: .84rem; font-weight: 400; letter-spacing: .04em;
  transition: color .25s ease, opacity .25s ease; opacity: .92;
}
.nav__links a:hover { opacity: 1; color: #f0d3bc; }
.nav__cta {
  border: 1.5px solid rgba(255,255,255,.6); border-radius: 100px;
  padding: .55rem 1.3rem !important; text-transform: uppercase;
  font-size: .74rem !important; letter-spacing: .1em; font-weight: 500 !important;
}
.nav__cta:hover { background: var(--terra); border-color: var(--terra); color: #fff !important; }

/* état "scrolled" */
.nav.is-scrolled { background: var(--creme); box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav.is-scrolled .nav__logo { color: var(--charbon); }
.nav.is-scrolled .nav__links a { color: var(--texte); }
.nav.is-scrolled .nav__cta { border-color: var(--charbon); }
.nav.is-scrolled .nav__cta:hover { color: #fff !important; border-color: var(--terra); }
.nav.is-scrolled .nav__burger span { background: var(--charbon); }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav__burger span {
  width: 26px; height: 2px; background: #fff; transition: .3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  color: #fff;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,18,.55) 0%, rgba(20,22,18,.30) 40%, rgba(20,22,18,.7) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 0 1.5rem; max-width: 900px; }
.hero__eyebrow {
  font-size: .85rem; letter-spacing: .3em; text-transform: uppercase;
  margin-bottom: 1.4rem; color: #f0d9c6; font-weight: 500;
}
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: .5px;
  color: #f4ece3; text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
/* Ligne « à vendre » — élément vedette, le plus gros du hero */
.hero__forsale {
  display: inline-block; margin: 0 auto 1.1rem;
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(1.3rem, 3.4vw, 2.4rem); line-height: 1.2; letter-spacing: .2px;
  color: #fff; background: rgba(198,93,59,.95);
  padding: .55em .95em; border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.hero__forsale .hero__amount {
  white-space: nowrap; font-weight: 800; margin-left: .2em;
}
/* Localisation sous le titre (ancien style « eyebrow ») */
.hero__loc { margin-top: 1.4rem; margin-bottom: 0; }
.hero__actions {
  margin-top: 2.4rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}
/* ============================================================
   FAITS SAILLANTS — cartes translucides posées en bas du hero
   ============================================================ */
.hero__facts {
  position: absolute; left: 0; right: 0; bottom: clamp(1.4rem, 4vh, 2.6rem);
  z-index: 2; padding: 0 clamp(1.25rem, 5vw, 3rem);
}
.facts__grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.6rem, 1.4vw, 1.1rem);
}
.fact {
  background: rgba(255,255,255,.10);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--rayon);
  text-align: center; padding: clamp(.9rem, 2vw, 1.5rem) .6rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.20);
}
.fact:hover { transform: translateY(-4px); background: rgba(255,255,255,.17); }
.fact__num {
  display: block; font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  color: #fff; font-weight: 600; line-height: 1;
}
.fact__lbl {
  display: block; margin-top: .35rem; font-size: clamp(.92rem, 1.4vw, 1.02rem);
  font-weight: 600; color: #fff;
}
.fact__sub {
  display: block; margin-top: .2rem; font-size: .76rem; color: rgba(255,255,255,.82);
}

/* ============================================================
   INTRO
   ============================================================ */
.intro { max-width: 1000px; margin: 0 auto; }
.intro__head { text-align: center; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.intro__tagline {
  margin-top: .7rem; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--terra); font-weight: 600;
}
.intro__media { margin: 0 auto clamp(2rem, 4vw, 3rem); }
.intro__media img {
  width: 100%; height: auto; max-height: 520px; object-fit: cover;
  border-radius: var(--rayon); box-shadow: var(--ombre); display: block;
}
.intro__prose { max-width: 68ch; margin: 0 auto; }
.intro__prose p { color: var(--texte-doux); margin-bottom: 1.1rem; }
.intro__prose strong { color: var(--charbon); font-weight: 600; }
.intro__prose .intro__lead {
  font-size: 1.15rem; line-height: 1.6; color: var(--charbon); font-weight: 400;
}
.intro__sub {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 600; color: var(--charbon); margin: 2rem 0 .7rem;
}
.intro__prose .intro__punch { font-size: 1.08rem; color: var(--charbon); font-weight: 500; }
.intro__prose .intro__signature {
  font-family: var(--serif); font-style: italic; font-size: 1.3rem;
  color: var(--charbon); margin-top: 1.8rem; margin-bottom: 0;
}
.intro__signature span { color: var(--terra); font-style: normal; }
.intro__specs {
  list-style: none; margin: 2.2rem 0; border-top: 1px solid var(--creme-2);
}
.intro__specs li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .85rem 0; border-bottom: 1px solid var(--creme-2); font-size: .95rem;
}
.intro__specs strong { font-weight: 500; color: var(--charbon); }
.intro__specs span { color: var(--texte-doux); text-align: right; }

/* Zoom doux au survol des photos (feature simple + intro), comme le reste du site */
.intro__media,
.feature__media:not(.feature__media--split) {
  overflow: hidden; border-radius: var(--rayon);
}
.intro__media img,
.feature__media:not(.feature__media--split) img {
  transition: transform .6s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform;
}
.intro__media:hover img,
.feature__media:not(.feature__media--split):hover img { transform: scale(1.06); }
/* Les deux photos côte à côte zooment individuellement */
.feature__media--split img { transition: transform .6s cubic-bezier(0.4, 0, 0.2, 1); }
.feature__media--split img:hover { transform: scale(1.05); position: relative; z-index: 1; }

/* ============================================================
   ATOUTS / FEATURES
   ============================================================ */
.atouts { background: var(--creme-2); }
.feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center; max-width: 1200px; margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
}
.feature:last-child { margin-bottom: 0; }
.feature--reverse .feature__media { order: 2; }
.feature__media img {
  width: 100%; height: 440px; object-fit: cover;
  border-radius: var(--rayon); box-shadow: var(--ombre);
}
/* Deux photos côte à côte, moitié-moitié (coin feu + gazebo) */
.feature__media--split {
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
}
.feature__media--split img { height: 440px; }
.feature__text h3 {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 500; color: var(--charbon); margin-bottom: 1rem;
}
.feature__text p { color: var(--texte-doux); max-width: 44ch; }

/* Petits « plus » du chalet (fibre optique, aqueduc, spa) */
.atouts__plus {
  max-width: 1200px; margin: clamp(3rem, 6vw, 5rem) auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem);
}
.plus {
  background: var(--creme); border-radius: var(--rayon);
  border: 1px solid rgba(20,22,18,.08); border-top: 3px solid var(--terra);
  padding: clamp(1.7rem, 3vw, 2.3rem); text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s cubic-bezier(.2,.7,.2,1);
}
.plus:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(20,22,18,.14); }
.plus__icone { font-size: 2.3rem; line-height: 1; margin-bottom: .9rem; }
.plus h4 {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  color: var(--charbon); margin-bottom: .5rem;
}
.plus p { color: var(--texte-doux); font-size: .95rem; line-height: 1.55; }

/* ============================================================
   GALERIE
   ============================================================ */
.galerie__filtres {
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
  margin-bottom: 2.5rem;
}
.chip {
  font-family: var(--sans); font-size: .78rem; letter-spacing: .08em;
  padding: .55rem 1.2rem; border-radius: 100px; cursor: pointer;
  border: 1.5px solid var(--creme-2); background: transparent; color: var(--texte-doux);
  text-transform: uppercase; font-weight: 500; transition: .25s;
}
.chip:hover { border-color: var(--charbon); color: var(--charbon); }
.chip.is-active { background: var(--charbon); border-color: var(--charbon); color: #fff; }

.galerie__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem; max-width: 1300px; margin: 0 auto;
}
.tuile {
  position: relative; overflow: hidden; border-radius: 10px; cursor: pointer;
  aspect-ratio: 4 / 3; background: var(--creme-2);
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s cubic-bezier(.2,.7,.2,1);
}
.tuile:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(20,22,18,.18); }
.tuile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform; backface-visibility: hidden;
}
.tuile:hover img { transform: scale(1.06); }
.tuile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1rem .9rem; color: #fff; font-size: .85rem; font-weight: 400;
  background: linear-gradient(0deg, rgba(20,22,18,.8), transparent);
  transform: translateY(8px); opacity: 0; transition: .35s;
}
.tuile:hover figcaption { transform: translateY(0); opacity: 1; }
.tuile.is-hidden { display: none; }
.tuile.is-clamped { display: none; }

/* Bouton « Voir plus de photos » */
.galerie__voir { text-align: center; margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.galerie__voir button[hidden] { display: none; }

/* ============================================================
   LE MILIEU (parallax band)
   ============================================================ */
.milieu {
  position: relative;
  background-position: center; background-size: cover;
  background-attachment: fixed; background-repeat: no-repeat;
  padding: clamp(5rem, 12vw, 10rem) clamp(1.25rem, 6vw, 6rem);
  color: #fff; text-align: center;
}
.milieu__overlay { position: absolute; inset: 0; background: rgba(20,22,18,.55); }
.milieu__content { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.milieu__content p { color: #e8e5db; margin-bottom: 2rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--creme); }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 5rem);
  max-width: 1150px; margin: 0 auto; align-items: start;
}
.contact__intro p { color: var(--texte-doux); max-width: 42ch; }
.contact__coord { list-style: none; margin-top: 2rem; }
.contact__coord li { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; font-size: 1rem; }
.contact__ico {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--charbon); color: var(--terra);
  font-size: 1rem;
}
.contact__coord a:hover { color: var(--terra); }

.form {
  background: #fff; padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: var(--rayon);
  box-shadow: var(--ombre);
}
.form__row { margin-bottom: 1.15rem; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label {
  display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 500; color: var(--texte); margin-bottom: .45rem;
}
.form input, .form textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--creme-2);
  border-radius: 8px; font-family: var(--sans); font-size: .95rem; font-weight: 300;
  color: var(--texte); background: var(--creme); transition: border .2s, background .2s;
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--terra); background: #fff;
}
.form textarea { resize: vertical; }
.form__hp { position: absolute; left: -9999px; }
.form__note { margin-top: 1rem; font-size: .9rem; text-align: center; min-height: 1.2em; }
.form__note.is-ok { color: var(--vert-fonce); font-weight: 500; }
.form__note.is-err { color: #b23c22; font-weight: 500; }
#submitBtn[disabled] { opacity: .6; cursor: default; transform: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--charbon); color: #cfd2c6; text-align: center; padding: 3rem 1.5rem; }
.footer__brand { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin-bottom: .8rem; }
.footer__note { font-size: .92rem; margin-bottom: .8rem; line-height: 1.8; }
.footer__note a:hover { color: var(--terra); }
.footer__copy { font-size: .78rem; color: #8b8e82; letter-spacing: .04em; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(15,16,13,.94);
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__figure { max-width: 90vw; max-height: 88vh; text-align: center; }
.lightbox__figure img {
  max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__figure figcaption { color: #ddd; margin-top: 1rem; font-size: .95rem; letter-spacing: .04em; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0;
  cursor: pointer; border-radius: 50%; display: grid; place-items: center;
  transition: background .25s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 22px; right: 26px; width: 46px; height: 46px; font-size: 1.8rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2.2rem; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* ============================================================
   ACTIVITÉS (4 saisons)
   ============================================================ */
.activites { background: var(--creme-2); }
.saisons {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
  max-width: 1200px; margin: 0 auto;
}
.saison {
  background: #fff; border-radius: var(--rayon); padding: 1.8rem 1.5rem;
  box-shadow: 0 6px 22px rgba(20,22,18,.07);
  border-top: 4px solid var(--vert);
  transition: transform .3s ease, box-shadow .3s ease;
}
.saison:nth-child(1) { border-top-color: var(--terra); }   /* Été */
.saison:nth-child(2) { border-top-color: var(--bois); }    /* Automne */
.saison:nth-child(3) { border-top-color: #6f8aa6; }        /* Hiver */
.saison:nth-child(4) { border-top-color: var(--vert); }    /* Printemps */
.saison:hover { transform: translateY(-5px); box-shadow: var(--ombre); }
.saison__tete { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.saison__icone { font-size: 1.5rem; line-height: 1; }
.saison__nom {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--charbon);
}
.saison__liste { list-style: none; }
.saison__liste li {
  position: relative; padding: .4rem 0 .4rem 1.4rem; font-size: .95rem;
  color: var(--texte-doux); border-bottom: 1px solid var(--creme-2);
}
.saison__liste li:last-child { border-bottom: 0; }
.saison__liste li::before {
  content: "›"; position: absolute; left: .2rem; color: var(--terra); font-weight: 600;
}

/* ============================================================
   COÛTS (tableau des dépenses)
   ============================================================ */
.couts { background: var(--creme); }
.couts__carte {
  max-width: 760px; margin: 0 auto;
  background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre);
  padding: clamp(1.2rem, 3vw, 2.2rem); overflow: hidden;
}
.couts__eval {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; flex-wrap: wrap;
  margin: 0 0 1.3rem; padding-bottom: 1.1rem;
  border-bottom: 2px solid var(--creme-2);
}
.couts__eval-lbl {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: var(--charbon);
}
.couts__eval-val {
  font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  color: var(--terra); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.couts__scroll { overflow-x: auto; }
.couts__table { width: 100%; border-collapse: collapse; min-width: 420px; }
.couts__table th, .couts__table td { padding: .95rem 1rem; text-align: left; }
.couts__table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.couts__table thead th {
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--texte-doux); font-weight: 600; border-bottom: 2px solid var(--charbon);
}
.couts__table tbody td { border-bottom: 1px solid var(--creme-2); color: var(--texte); font-size: .98rem; }
.couts__table tbody tr:hover td { background: var(--creme); }
.couts__table tfoot td {
  font-weight: 600; color: var(--charbon); font-size: 1.05rem;
  border-top: 2px solid var(--charbon); padding-top: 1.1rem;
}
.couts__table tfoot .num { color: var(--terra); }
.couts__note {
  margin-top: 1.2rem; font-size: .82rem; color: var(--texte-doux);
  font-style: italic; text-align: center;
}

/* ============================================================
   LOCALISATION
   ============================================================ */
.localisation__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}
.localisation__carte {
  display: block; position: relative; overflow: hidden; border-radius: var(--rayon);
  box-shadow: var(--ombre); min-height: 420px; background: var(--creme-2); cursor: pointer;
}
.localisation__carte img {
  width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform;
}
.localisation__carte:hover img { transform: scale(1.06); }
/* Épingle qui marque l'emplacement du chalet */
.localisation__pin {
  position: absolute; top: 43%; left: 60%; z-index: 2;
  transform: translate(-50%, -100%); font-size: 2.6rem; line-height: 1;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.55)); pointer-events: none;
}
.localisation__badge {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  background: rgba(20,22,18,.82); color: #fff;
  font-size: .8rem; font-weight: 500; letter-spacing: .02em;
  padding: .55rem .9rem; border-radius: 100px;
  transition: background .25s ease, transform .25s ease;
}
.localisation__carte:hover .localisation__badge { background: var(--terra); transform: translateY(-1px); }
.localisation__info { display: flex; flex-direction: column; justify-content: center; }
.localisation__adresse {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--charbon); line-height: 1.3; margin: .2rem 0 1rem;
}
.localisation__txt { color: var(--texte-doux); margin-bottom: 1.6rem; max-width: 42ch; }
.localisation__info .btn { align-self: flex-start; }

/* ============================================================
   APPARITION AU DÉFILEMENT
   ============================================================ */
/* On anime la propriété `translate` (indépendante de `transform`) : les effets
   de survol basés sur `transform` (zoom, soulèvement) ne sont donc jamais écrasés. */
.js .intro,
.js .feature,
.js .couts__carte,
.js .contact__grid,
.js .localisation__inner,
.js .section__head {
  opacity: 0; translate: 0 32px;
  transition: opacity .9s cubic-bezier(.16,.68,.32,1), translate .9s cubic-bezier(.16,.68,.32,1);
}
.js .fact {
  opacity: 0; translate: 0 32px;
  transition: opacity .9s cubic-bezier(.16,.68,.32,1), translate .9s cubic-bezier(.16,.68,.32,1),
              transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s cubic-bezier(.2,.7,.2,1);
}
/* Éléments qui ont AUSSI un survol animé : on conserve leur transition transform/box-shadow */
.js .saison {
  opacity: 0; translate: 0 32px;
  transition: opacity .9s cubic-bezier(.16,.68,.32,1), translate .9s cubic-bezier(.16,.68,.32,1),
              transform .3s ease, box-shadow .3s ease;
}
.js .tuile {
  opacity: 0; translate: 0 32px;
  transition: opacity .9s cubic-bezier(.16,.68,.32,1), translate .9s cubic-bezier(.16,.68,.32,1),
              transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s cubic-bezier(.2,.7,.2,1);
}
.js .plus {
  opacity: 0; translate: 0 32px;
  transition: opacity .9s cubic-bezier(.16,.68,.32,1), translate .9s cubic-bezier(.16,.68,.32,1),
              transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s cubic-bezier(.2,.7,.2,1);
}
.js .in-view { opacity: 1; translate: 0 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .intro, .feature, .contact__grid { grid-template-columns: 1fr; }
  .saisons { grid-template-columns: repeat(2, 1fr); }
  .atouts__plus { grid-template-columns: 1fr; }
  .localisation__inner { grid-template-columns: 1fr; }
  .localisation__carte, .localisation__carte iframe { min-height: 340px; }
  .feature--reverse .feature__media { order: 0; }
  .intro__media { order: -1; }
  .feature__media img { height: 300px; }

  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column;
    background: var(--creme); padding: 1.5rem 2rem 2rem; gap: 1.2rem;
    box-shadow: 0 20px 30px rgba(0,0,0,.12); transform: translateY(-130%);
    transition: transform .35s ease; align-items: flex-start;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { color: var(--texte) !important; font-size: 1rem; }
  .nav__cta { border-color: var(--charbon) !important; }
  .nav__burger { display: flex; }
  /* Le fond mobile du menu est clair : forcer le logo lisible quand le menu est ouvert */
  .nav.menu-open { background: var(--creme); box-shadow: 0 2px 20px rgba(0,0,0,.08); }
  .nav.menu-open .nav__logo { color: var(--charbon); }
  .nav.menu-open .nav__burger span { background: var(--charbon); }

  .milieu { background-attachment: scroll; }
}

/* Petit écran : les cartes passent en flux (sous le contenu) pour éviter tout chevauchement */
@media (max-width: 700px) {
  /* On réserve la hauteur de la barre de nav fixe pour que le contenu
     centré ne remonte jamais par-dessus le logo / le menu. */
  .hero { flex-direction: column; align-items: stretch; padding-top: var(--nav-h); }
  .hero__content { flex: 1; display: flex; flex-direction: column; justify-content: center;
    padding-top: 1.2rem; padding-bottom: 1.2rem; }
  .hero__forsale { font-size: clamp(1.15rem, 5.4vw, 1.6rem); }
  .hero__facts { position: static; padding-bottom: clamp(1.2rem, 4vh, 2rem); }
}

@media (max-width: 520px) {
  .form__row--2 { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .saisons { grid-template-columns: 1fr; }
}

/* Réduction des animations si l'utilisateur le demande */
/* Les effets (zoom au survol, apparitions au défilement, défilement fluide Lenis)
   restent volontairement actifs même lorsque le système est réglé sur
   « réduire les animations », afin de conserver le rendu souhaité — comme le
   fait le site de référence. Pour respecter ce réglage d'accessibilité, il
   suffirait de neutraliser ici les transitions des éléments animés. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
