/* ============================================================
   CIME — Retraite d'altitude & longévité
   Design system extrait de la référence : brumes froides,
   glassmorphism, serif italique (Cormorant) + Manrope,
   accent chaud "aube".  (Démo WOW — Site Nouvelle Génération)
   ============================================================ */

:root {
  /* Palette froide brumeuse */
  --paper: #f4f2ec;
  --paper-dim: rgba(244, 242, 236, .76);
  --paper-faint: rgba(244, 242, 236, .52);

  --mist-50: #eef3ef;
  --mist-100: #e2eae5;
  --mist-200: #cdd9d3;
  --mist-300: #b3c3bc;
  --sage: #8ba097;
  --teal: #5f7670;

  --ink: #1d2a26;
  --ink-soft: rgba(29, 42, 38, .78);
  --ink-faint: rgba(29, 42, 38, .42);
  --ink-line: rgba(29, 42, 38, .14);
  --deep: #131d1a;

  /* Accent chaud — première lumière sur la crête */
  --dawn: #e4be93;
  --dawn-warm: #d8a672;
  --dawn-deep: #b8854f;

  /* Verre */
  --glass: rgba(255, 255, 255, .12);
  --glass-2: rgba(255, 255, 255, .20);
  --glass-border: rgba(255, 255, 255, .32);
  --glass-dark: rgba(18, 28, 25, .30);
  --glass-dark-border: rgba(255, 255, 255, .14);

  --shadow-soft: 0 24px 60px -36px rgba(18, 32, 27, .55);
  --shadow-lift: 0 40px 90px -44px rgba(18, 32, 27, .68);

  --r: 20px;
  --r-lg: 28px;
  --r-pill: 100px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --container: 1280px;
  --pad-x: clamp(1.25rem, 5vw, 4rem);
  --sp-section: clamp(5rem, 12vh, 9.5rem);

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: linear-gradient(168deg, #e9efea 0%, #d6e0db 36%, #bfcdc7 70%, #aebeb7 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Couleur vivante qui dérive lentement derrière le verre */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(48vw 46vh at 80% 8%, rgba(228, 190, 147, .18), transparent 62%),
    radial-gradient(54vw 54vh at 8% 26%, rgba(139, 160, 151, .26), transparent 62%),
    radial-gradient(50vw 52vh at 64% 88%, rgba(95, 118, 112, .22), transparent 62%);
  animation: bgdrift 30s ease-in-out infinite alternate;
}
@keyframes bgdrift { to { transform: translate3d(0, -4%, 0) scale(1.06); } }

/* Grain — tue l'aplat numérique */
.grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--dawn); color: var(--deep); }

/* ---------- Typographie ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .26em;
  color: var(--teal);
}
.eyebrow--light { color: var(--dawn); }

.section__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
.section__title em,
h1 em, h2 em, h3 em, .accent {
  font-style: italic;
  color: var(--dawn-deep);
  font-weight: 500;
}

/* ---------- Layout ---------- */
.section {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--sp-section) var(--pad-x);
  position: relative;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-sans);
  font-weight: 600; font-size: .92rem;
  letter-spacing: .01em;
  padding: .95em 1.7em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn--solid { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn--solid:hover { background: var(--dawn); color: var(--deep); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.btn--ghost { background: var(--glass); color: var(--paper); border-color: var(--glass-border); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: var(--glass-2); transform: translateY(-2px); }
.btn--lg { font-size: 1.02rem; padding: 1.1em 2.2em; }
.btn--text { padding: .6em 0; color: var(--paper); position: relative; }
.btn--text .arrow { transition: transform .5s var(--ease); }
.btn--text:hover .arrow { transform: translateX(6px); }
.btn--text::after { content: ""; position: absolute; left: 0; bottom: .35em; width: 100%; height: 1px; background: currentColor; opacity: .4; transform: scaleX(.35); transform-origin: left; transition: transform .5s var(--ease), opacity .4s; }
.btn--text:hover::after { transform: scaleX(1); opacity: .8; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  transition: transform .5s var(--ease), background .5s var(--ease), backdrop-filter .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--container); margin-inline: auto;
  padding: clamp(1rem, 2.4vh, 1.6rem) var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav--solid {
  background: rgba(231, 238, 233, .72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--ink-line);
}
.nav--hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--paper); transition: color .5s var(--ease); }
.nav--solid .brand { color: var(--ink); }
.brand__mark { display: inline-flex; }
.brand__word {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.55rem;
  letter-spacing: .02em; line-height: 1;
}

.nav__panel { display: flex; align-items: center; gap: 2.4rem; }
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-size: .9rem; font-weight: 500; color: var(--paper-dim);
  position: relative; transition: color .4s;
}
.nav--solid .nav__links a { color: var(--ink-soft); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -.4em; width: 100%; height: 1px; background: var(--dawn); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__links a:hover { color: var(--paper); }
.nav--solid .nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav--solid .btn--ghost { color: var(--ink); border-color: var(--ink-line); background: transparent; }
.nav--solid .btn--ghost:hover { background: var(--ink); color: var(--paper); }

.nav__burger { display: none; background: none; border: 0; cursor: pointer; width: 30px; height: 22px; position: relative; z-index: 1100; }
.nav__burger span { position: absolute; left: 0; width: 100%; height: 1.6px; background: var(--paper); transition: transform .4s var(--ease), opacity .3s, background .4s; }
.nav--solid .nav__burger span, body.menu-open .nav__burger span { background: var(--paper); }
.nav__burger span:nth-child(1) { top: 4px; }
.nav__burger span:nth-child(2) { bottom: 4px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad-x) clamp(3rem, 8vh, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -3;
  background: linear-gradient(170deg, #dfe6e0, #b9c8c1 60%, #9aaca5) center/cover no-repeat;
  background-image: linear-gradient(170deg, rgba(0,0,0,0), rgba(0,0,0,0)), url("img/hero.jpg");
  background-size: cover; background-position: center 35%;
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(to top, rgba(15,24,21,.82) 0%, rgba(15,24,21,.45) 26%, rgba(15,24,21,.06) 52%, transparent 70%),
    linear-gradient(to right, rgba(15,24,21,.42), transparent 55%);
}
.fog { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: .9; }

.hero__content { max-width: 1180px; margin-inline: auto; width: 100%; color: var(--paper); }
.hero__eyebrow { color: var(--dawn); margin-bottom: 1.4rem; }
.hero__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(3.4rem, 12.5vw, 11rem);
  line-height: .9; letter-spacing: -.02em;
  margin-bottom: 1.8rem;
}
.hero__title .line { display: block; }
.hero__title em { color: var(--dawn); font-style: italic; }
.hero__lead {
  max-width: 36ch; font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 300; color: var(--paper-dim); line-height: 1.62;
}
.hero__lead em { font-family: var(--font-serif); font-style: italic; font-size: 1.12em; color: var(--paper); }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; margin-top: 2.4rem; }

.hero__pills { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.8rem; }
.hero__pills li {
  font-size: .82rem; font-weight: 500; letter-spacing: .04em;
  padding: .55em 1.2em; border-radius: var(--r-pill);
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px); color: var(--paper);
}

.hero__scroll {
  position: absolute; right: var(--pad-x); bottom: clamp(3rem, 8vh, 6rem); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--paper-dim);
  writing-mode: vertical-rl;
}
.hero__scrollline { width: 1px; height: 70px; background: linear-gradient(var(--paper-dim), transparent); position: relative; overflow: hidden; }
.hero__scrollline::after { content: ""; position: absolute; top: -40%; left: 0; width: 100%; height: 40%; background: var(--dawn); animation: scrolldrop 2.4s var(--ease) infinite; }
@keyframes scrolldrop { to { top: 110%; } }

/* ============================================================
   POURQUOI — cards en verre
   ============================================================ */
.why__head { max-width: 760px; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.why__head .eyebrow { margin-bottom: 1.1rem; }
.why__intro { margin-top: 1.6rem; font-size: 1.18rem; font-weight: 300; color: var(--ink-soft); max-width: 54ch; }
.why__intro, .process__intro, .repare__intro { line-height: 1.7; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 1.6vw, 1.4rem); align-items: start; }
.card {
  position: relative; overflow: hidden;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r); padding: clamp(1.5rem, 2vw, 2.1rem);
  backdrop-filter: blur(20px) saturate(125%);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.4);
  min-height: 232px; display: flex; flex-direction: column; justify-content: flex-end; gap: .8rem;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .5s, background .5s;
}
.card:nth-child(2) { margin-top: 2.4rem; }
.card:nth-child(3) { margin-top: 1rem; }
.card:nth-child(4) { margin-top: 3.4rem; }
.card--tall { min-height: 300px; }
.card h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.6rem; line-height: 1.05; color: var(--ink); }
.card p { font-size: .98rem; color: var(--ink-soft); }
.card:hover { transform: translateY(-8px); background: var(--glass-2); border-color: var(--dawn); box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255,255,255,.5); }

/* Sheen — reflet qui suit le curseur */
.sheen::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.5), transparent 42%);
  transition: opacity .5s var(--ease); mix-blend-mode: soft-light;
}
.sheen:hover::before { opacity: 1; }

/* ============================================================
   LE LIEU — feature image + carte
   ============================================================ */
.lieu__head { max-width: 720px; margin-bottom: clamp(2rem, 4vh, 3rem); }
.lieu__head .eyebrow { margin-bottom: 1.1rem; }
.lieu__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.lieu__img {
  aspect-ratio: 16 / 9; background: var(--mist-200);
  background-image: url("img/lodge.jpg"); background-size: cover; background-position: center 55%;
  will-change: transform; transform: scale(1.06);
}
.lieu__card {
  position: absolute; left: clamp(1rem, 3vw, 2.6rem); bottom: clamp(1rem, 3vw, 2.6rem);
  max-width: min(440px, 78%);
  background: var(--glass-dark); border: 1px solid var(--glass-dark-border);
  backdrop-filter: blur(22px) saturate(120%);
  border-radius: var(--r); padding: clamp(1.4rem, 2vw, 1.9rem);
  color: var(--paper); box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.lieu__card p { font-size: 1rem; color: var(--paper-dim); font-weight: 300; }
.lieu__stats { display: flex; gap: 1.8rem; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.16); }
.lieu__stats strong { display: block; font-family: var(--font-serif); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--paper); }
.lieu__stats span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-faint); margin-top: .4rem; display: block; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { overflow: hidden; padding: clamp(2rem, 5vh, 3.5rem) 0; border-block: 1px solid var(--ink-line); }
.marquee__track { display: flex; align-items: center; gap: 2.2rem; width: max-content; white-space: nowrap; will-change: transform; }
.marquee span { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.8rem, 4vw, 3rem); color: var(--ink); opacity: .82; }
.marquee .dot { color: var(--dawn-deep); font-style: normal; }

/* ============================================================
   PARCOURS — process horizontal
   ============================================================ */
.process__head { max-width: 760px; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.process__head .eyebrow { margin-bottom: 1.1rem; }
.process__intro { margin-top: 1.4rem; font-size: 1.12rem; color: var(--ink-soft); max-width: 50ch; }

.process__scroller {
  display: flex; gap: clamp(1rem, 1.8vw, 1.6rem);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 1rem 0 1.6rem;
  margin-inline: calc(var(--pad-x) * -1); padding-inline: var(--pad-x);
  scrollbar-width: none; cursor: grab;
}
.process__scroller::-webkit-scrollbar { display: none; }
.process__scroller.dragging { cursor: grabbing; scroll-snap-type: none; }
.step {
  position: relative; flex: 0 0 min(80vw, 340px); scroll-snap-align: start;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r); padding: 2rem clamp(1.4rem, 1.8vw, 1.9rem) 1.8rem;
  backdrop-filter: blur(18px) saturate(120%);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.36);
  min-height: 340px; display: flex; flex-direction: column; overflow: hidden;
  transition: transform .6s var(--ease), border-color .5s, background .5s;
}
.step:hover { border-color: var(--dawn); background: var(--glass-2); }
.step__num {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(5rem, 10vw, 8rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(29,42,38,.32);
  margin-bottom: auto; will-change: transform;
}
.step__title { font-family: var(--font-serif); font-weight: 600; font-size: 1.7rem; color: var(--ink); margin: 1.6rem 0 .7rem; }
.step p { font-size: .96rem; color: var(--ink-soft); }
.step--ghost { opacity: .62; }

/* ============================================================
   RESPIRATION — breather plein cadre
   ============================================================ */
.breather { position: relative; min-height: 78svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.breather__bg {
  position: absolute; inset: 0; z-index: -2;
  background: var(--deep) url("img/ridge.jpg") center 30%/cover no-repeat;
  will-change: transform; transform: scale(1.12);
}
.breather__veil { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 50%, transparent 30%, rgba(15,22,20,.55)); }
.breather__line {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.7rem, 4.4vw, 3.6rem); line-height: 1.2;
  color: var(--paper); text-align: center; max-width: 18ch;
  padding: 0 var(--pad-x); text-wrap: balance;
  text-shadow: 0 2px 40px rgba(0,0,0,.4);
}
.breather__line em { color: var(--dawn); font-style: italic; }

/* ============================================================
   PROGRAMMES — colonnes
   ============================================================ */
.repare__head { max-width: 760px; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.repare__head .eyebrow { margin-bottom: 1.1rem; }
.repare__intro { margin-top: 1.4rem; font-size: 1.12rem; color: var(--ink-soft); }
.columns { display: grid; grid-template-columns: repeat(5, 1fr); }
.col { padding: 0 clamp(1rem, 1.6vw, 1.7rem); border-left: 1px solid var(--ink-line); }
.col:first-child { border-left: 0; padding-left: 0; }
.col h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.32rem; line-height: 1.12; color: var(--ink); margin-bottom: .8rem; }
.col p { font-size: .93rem; color: var(--ink-soft); }

/* ============================================================
   MANIFESTE — section sombre immersive
   ============================================================ */
.manifesto { position: relative; overflow: hidden; isolation: isolate; color: var(--paper); }
.manifesto__bg {
  position: absolute; inset: 0; z-index: -2;
  background: var(--deep) url("img/lake.jpg") center/cover no-repeat;
  will-change: transform; transform: scale(1.1);
}
.manifesto__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(11,18,16,.86), rgba(11,18,16,.62) 60%, rgba(11,18,16,.4)); }
.manifesto__inner {
  max-width: var(--container); margin-inline: auto; padding: clamp(5rem, 13vh, 9rem) var(--pad-x);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.manifesto__left .eyebrow { margin-bottom: 1.2rem; }
.manifesto__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -.01em;
  color: var(--paper); text-wrap: balance; margin-bottom: 2.2rem;
}
.manifesto__title em { color: var(--dawn); font-style: italic; }
.manifesto__list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.manifesto__list li { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: baseline; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.manifesto__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.manifesto__n { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--dawn); }
.manifesto__list p { font-size: 1.06rem; color: var(--paper-dim); font-weight: 300; }

/* ============================================================
   CTA finale
   ============================================================ */
.cta { position: relative; min-height: 92svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; color: var(--paper); }
.cta__bg {
  position: absolute; inset: 0; z-index: -3;
  background: var(--deep) url("img/valley.jpg") center/cover no-repeat;
  will-change: transform; transform: scale(1.1);
}
.cta__veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(to top, rgba(13,20,18,.8), rgba(13,20,18,.42) 50%, rgba(13,20,18,.6)); }
.fog--cta { z-index: -1; opacity: .75; }
.cta__content { max-width: 760px; padding: 0 var(--pad-x); }
.cta__content .eyebrow { margin-bottom: 1.4rem; }
.cta__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 6.4rem); line-height: .98; letter-spacing: -.015em;
  color: var(--paper); margin-bottom: 1.8rem; text-wrap: balance;
}
.cta__title em { color: var(--dawn); font-style: italic; }
.cta__lead { font-size: 1.16rem; font-weight: 300; color: var(--paper-dim); max-width: 44ch; margin: 0 auto 2.6rem; line-height: 1.62; }
.cta__note { margin-top: 1.6rem; font-size: .82rem; letter-spacing: .04em; color: var(--paper-faint); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--deep); color: var(--paper); padding: clamp(3.5rem, 8vh, 6rem) var(--pad-x) 2.5rem; }
.footer__top { max-width: var(--container); margin-inline: auto; display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__word { font-size: 2.6rem; color: var(--paper); }
.footer__brand p { margin-top: 1rem; color: var(--paper-faint); font-weight: 300; font-size: .95rem; line-height: 1.6; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__cols h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .18em; color: var(--dawn); margin-bottom: 1.1rem; font-weight: 600; }
.footer__cols a { display: block; color: var(--paper-dim); font-size: .95rem; font-weight: 300; padding: .35rem 0; transition: color .3s, padding-left .3s; }
.footer__cols a:hover { color: var(--paper); padding-left: .4rem; }
.footer__legal { max-width: var(--container); margin: 1.8rem auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8rem; color: var(--paper-faint); }
.footer__credit a { color: var(--dawn); }
.footer__legal a:hover { color: var(--paper); }

/* ============================================================
   REVEAL — progressive enhancement (gated .js + motion ok)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] { opacity: 0; }
  html.js .hero__content { opacity: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .manifesto__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .columns { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
  .col:nth-child(odd) { border-left: 0; padding-left: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 880px) {
  .nav__burger { display: block; }
  .nav__panel {
    position: fixed; inset: 0; z-index: 1050;
    flex-direction: column; justify-content: center; align-items: center; gap: 2.4rem;
    background: rgba(13, 20, 18, .92);
    backdrop-filter: blur(24px);
    transform: translateY(-100%); transition: transform .6s var(--ease);
    pointer-events: none;
  }
  body.menu-open .nav__panel { transform: none; pointer-events: auto; }
  .nav__links { flex-direction: column; align-items: center; gap: 1.6rem; }
  .nav__links a { font-family: var(--font-serif); font-size: 2rem; color: var(--paper); }
  .nav--solid .nav__links a { color: var(--paper); }
  .nav__cta { color: var(--paper); border-color: var(--glass-border); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card:nth-child(n) { margin-top: 0; }
  .card--tall { min-height: 232px; }
}

@media (max-width: 700px) {
  .process__scroller {
    flex-direction: column; overflow: visible; scroll-snap-type: none;
    margin-inline: 0; padding-inline: 0; cursor: default;
  }
  .step { flex: 1 1 auto; min-height: 0; }
}

@media (max-width: 560px) {
  :root { --sp-section: clamp(3.5rem, 9vh, 5rem); }
  .cards { grid-template-columns: 1fr; }
  .columns { grid-template-columns: 1fr; }
  .col:nth-child(n) { border-left: 0; padding-left: 0; padding-bottom: 1.6rem; }
  .lieu__card { position: static; max-width: none; border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .lieu__frame { box-shadow: var(--shadow-soft); }
  .lieu__img { aspect-ratio: 4 / 3; }
  .hero__lead { max-width: none; }
  .hero__scroll { display: none; }
  .lieu__stats { gap: 1.2rem; }
  .lieu__stats strong { font-size: 1.6rem; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__bg, .breather__bg, .manifesto__bg, .cta__bg, .lieu__img { transform: none !important; }
}

/* ============================================================
   CORRECTIONS AUDIT (review UX + code) — 2026-06-25
   ============================================================ */

html { scroll-behavior: smooth; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* Images en WebP (fallback JPG automatique via cascade) */
.hero__bg { background-image: image-set(url("img/hero.webp") type("image/webp"), url("img/hero.jpg") type("image/jpeg")); }
.lieu__img { background-image: image-set(url("img/lodge.webp") type("image/webp"), url("img/lodge.jpg") type("image/jpeg")); }
.breather__bg { background-image: image-set(url("img/ridge.webp") type("image/webp"), url("img/ridge.jpg") type("image/jpeg")); }
.manifesto__bg { background-image: image-set(url("img/lake.webp") type("image/webp"), url("img/lake.jpg") type("image/jpeg")); }
.cta__bg { background-image: image-set(url("img/valley.webp") type("image/webp"), url("img/valley.jpg") type("image/jpeg")); }

/* Lien d'évitement (skip link) */
.skip-link {
  position: fixed; top: 0; left: 0; z-index: 2000;
  transform: translateY(-130%);
  background: var(--deep); color: var(--paper); font-weight: 600; font-size: .9rem;
  padding: .85rem 1.3rem; border-radius: 0 0 12px 0;
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* Focus clavier visible — cohérent DA, clair ET sombre */
:focus-visible { outline: 2px solid var(--dawn-deep); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .manifesto :focus-visible, .cta :focus-visible, .breather :focus-visible,
.footer :focus-visible, .lieu__card :focus-visible, .nav:not(.nav--solid) :focus-visible,
body.menu-open .nav__panel :focus-visible { outline-color: var(--dawn); }

/* NAV — scrim haut (lisibilité sur hero clair) + liens plus clairs + cibles 44px */
.nav__inner { position: relative; }
.nav::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 150px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(15, 24, 21, .6), rgba(15, 24, 21, 0));
  opacity: 1; transition: opacity .5s var(--ease);
}
.nav--solid::before { opacity: 0; }
.nav__links a { color: var(--paper); min-height: 44px; display: inline-flex; align-items: center; padding-inline: .15rem; }
.nav--solid .nav__links a { color: var(--ink-soft); }
.nav__links a.is-active { color: var(--paper); }
.nav--solid .nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { transform: scaleX(1); }
.nav--solid .nav__burger span { background: var(--ink); }
body.menu-open .nav__burger span { background: var(--paper); }

/* MENU MOBILE fermé : réellement masqué (fix bouton « Réserver » fantôme) */
@media (max-width: 880px) {
  .nav__panel {
    visibility: hidden; opacity: 0; height: 100svh;
    transition: transform .55s var(--ease), opacity .4s var(--ease), visibility .55s;
  }
  body.menu-open .nav__panel { visibility: visible; opacity: 1; }
}

/* LISIBILITÉ — corps de texte un peu plus grand sur fond clair */
.card p, .step p { font-size: 1rem; }
.col p { font-size: .95rem; line-height: 1.62; }
.col h3 { font-size: 1.3rem; }

/* POURQUOI — étagement adouci (moins « toboggan ») */
.card:nth-child(2) { margin-top: 1.6rem; }
.card:nth-child(3) { margin-top: .8rem; }
.card:nth-child(4) { margin-top: 2.4rem; }

/* PARCOURS — chiffres un peu plus présents + liste native */
.step__num { -webkit-text-stroke: 1.2px rgba(29, 42, 38, .42); }
.process__scroller { list-style: none; margin-block: 0; outline-offset: -4px; }
.btn--text::after { opacity: .55; }

/* PARCOURS — affordance de défilement (barre + flèches) */
.process__wrap { position: relative; }
.process__controls {
  display: flex; align-items: center; gap: 1.4rem;
  margin-top: 1.4rem; padding-inline: 2px;
}
.process__progress { position: relative; flex: 1; height: 2px; background: var(--ink-line); border-radius: 2px; overflow: hidden; }
.process__progress span { position: absolute; left: 0; top: 0; height: 100%; width: 28%; background: var(--dawn-deep); border-radius: 2px; transition: width .15s linear, transform .15s linear; }
.process__hint { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
.process__arrows { display: flex; gap: .5rem; }
.process__arrow {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--glass); border: 1px solid var(--ink-line); color: var(--ink);
  font-size: 1.4rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px); transition: background .3s, border-color .3s, transform .3s var(--ease), opacity .3s;
}
.process__arrow:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.process__arrow[disabled] { opacity: .35; cursor: default; transform: none; }
@media (max-width: 700px) { .process__controls { display: none; } }

/* ============================================================
   SOUS-PAGES (réservation, légales, confirmation, 404)
   ============================================================ */
body.subpage { min-height: 100vh; display: flex; flex-direction: column; }
body.subpage main { flex: 1; }
.subpage .nav { position: sticky; }
.page {
  max-width: 800px; margin-inline: auto; width: 100%;
  padding: calc(clamp(5.5rem, 12vh, 8rem)) var(--pad-x) clamp(4rem, 10vh, 7rem);
}
.page--wide { max-width: 1160px; }
.page__head { margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.page__eyebrow { margin-bottom: 1rem; }
.page__title {
  font-family: var(--font-serif); font-weight: 500; letter-spacing: -.01em;
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; color: var(--ink); text-wrap: balance;
}
.page__title em { font-style: italic; color: var(--dawn-deep); }
.page__lead { margin-top: 1.4rem; font-size: 1.15rem; font-weight: 300; color: var(--ink-soft); max-width: 56ch; line-height: 1.62; }
.back-link { display: inline-flex; align-items: center; gap: .5em; margin-bottom: 2rem; color: var(--ink-soft); font-size: .9rem; font-weight: 500; }
.back-link:hover { color: var(--ink); }
.back-link .arrow { transition: transform .4s var(--ease); }
.back-link:hover .arrow { transform: translateX(-4px); }

/* Prose (mentions légales, CGV, confidentialité) */
.prose { color: var(--ink-soft); font-size: 1rem; line-height: 1.75; }
.prose h2 { font-family: var(--font-serif); font-weight: 600; font-size: 1.7rem; color: var(--ink); margin: 2.4rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.02rem; color: var(--ink); margin: 1.6rem 0 .5rem; letter-spacing: .01em; }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--dawn-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.demo-note {
  display: flex; gap: .8rem; align-items: flex-start;
  background: rgba(228, 190, 147, .16); border: 1px solid rgba(184, 133, 79, .3);
  border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 2.4rem;
  font-size: .9rem; color: var(--ink); line-height: 1.55;
}
.demo-note strong { color: var(--dawn-deep); }

/* ============================================================
   FORMULAIRE DE RÉSERVATION
   ============================================================ */
.reserve { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.reserve__aside h2 { font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem; color: var(--ink); margin: 1.8rem 0 .6rem; }
.reserve__aside p { color: var(--ink-soft); margin-bottom: 1rem; }
.reserve__list { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: .9rem; }
.reserve__list li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-size: .96rem; color: var(--ink-soft); }
.reserve__list .tick { color: var(--dawn-deep); font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; line-height: 1.2; }

.form-card {
  background: rgba(255, 255, 255, .58); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(120%);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-soft);
}
.form { display: grid; gap: 1.3rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .reserve { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.field .req { color: var(--dawn-deep); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
  background: rgba(255, 255, 255, .85); border: 1px solid var(--ink-line); border-radius: 12px;
  padding: .85rem 1rem; transition: border-color .3s, box-shadow .3s, background .3s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--dawn-deep); background: #fff;
  box-shadow: 0 0 0 3px rgba(184, 133, 79, .18);
}
.field[aria-invalid="true"] input, .field[aria-invalid="true"] select, .field[aria-invalid="true"] textarea,
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #b4452f; box-shadow: 0 0 0 3px rgba(180, 69, 47, .14);
}
.field__error { font-size: .8rem; color: #9c3a26; min-height: 1em; font-weight: 500; }
.field__error:empty { display: none; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--dawn-deep); flex: 0 0 auto; }
.consent label { font-size: .88rem; font-weight: 400; color: var(--ink-soft); line-height: 1.5; letter-spacing: 0; }
.consent a { color: var(--dawn-deep); text-decoration: underline; text-underline-offset: 2px; }

/* honeypot anti-spam */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: .4rem; }
.form__note { font-size: .82rem; color: var(--ink-faint); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.form-status { font-size: .9rem; font-weight: 500; }
.form-status[data-state="error"] { color: #9c3a26; }

/* Panneau de succès (remplace le formulaire) */
.form-success {
  text-align: center; padding: clamp(1.5rem, 4vw, 3rem) 0;
}
.form-success__mark {
  width: 64px; height: 64px; margin: 0 auto 1.4rem; border-radius: 50%;
  display: grid; place-items: center; color: var(--dawn-deep);
  background: rgba(228, 190, 147, .2); border: 1px solid rgba(184, 133, 79, .35);
  font-size: 1.8rem;
}
.form-success h2 { font-family: var(--font-serif); font-weight: 600; font-size: 1.9rem; color: var(--ink); margin-bottom: .8rem; }
.form-success p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 1.6rem; }
[hidden] { display: none !important; }

/* ============================================================
   PAGE 404
   ============================================================ */
.error-page {
  min-height: 100vh; display: grid; place-items: center; text-align: center;
  position: relative; overflow: hidden; color: var(--paper); padding: 6rem var(--pad-x);
}
.error-page__bg {
  position: absolute; inset: 0; z-index: -2;
  background: var(--deep) image-set(url("img/ridge.webp") type("image/webp"), url("img/ridge.jpg") type("image/jpeg")) center 30%/cover no-repeat;
}
.error-page__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(13,20,18,.82), rgba(13,20,18,.5)); }
.error-page__code { font-family: var(--font-serif); font-style: italic; font-size: clamp(4rem, 14vw, 9rem); color: var(--dawn); line-height: 1; }
.error-page h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.8rem, 5vw, 3rem); color: var(--paper); margin: .6rem 0 1.2rem; text-wrap: balance; }
.error-page p { color: var(--paper-dim); max-width: 40ch; margin: 0 auto 2rem; }

/* Footer compact (sous-pages) */
.footer--compact .footer__top { grid-template-columns: 1fr; padding-bottom: 2rem; }
.footer--compact .footer__legal { margin-top: 1.4rem; }

/* ============================================================
   V2 — retours Cécile
   ============================================================ */

/* « Le lieu » : carte déplacée à droite pour ne plus masquer le pavillon */
.lieu__card { left: auto; right: clamp(1rem, 3vw, 2.6rem); }

/* « Parcours » : scroll horizontal piloté par le scroll vertical (pin).
   .process__wrap = fenêtre FIXE qui rogne · .process__scroller = piste TRANSLATÉE.
   Classe posée par le JS en desktop + motion uniquement. */
.process--pinned .process__wrap { overflow: hidden; }
.process--pinned .process__scroller {
  overflow: visible; margin-inline: 0; width: max-content;
  padding-inline: 0 var(--pad-x); scroll-snap-type: none; cursor: default;
}
.process--pinned .step { scroll-snap-align: none; }
.process--pinned .process__controls { display: none; }
