/* ==========================================================
   EASY VOYAGES — design system
   Nuit profonde + or du lever de soleil + neige.
   Titres : Fraunces (serif chaleureux). Interface : Hanken Grotesk.
   ========================================================== */

/* Polices hébergées sur le site (pas de dépendance à Google) */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/fraunces-opsz.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../fonts/fraunces-opsz-italic.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/hanken-grotesk.woff2") format("woff2"); }

:root {
  --nuit: #020f24;        /* bas du visuel logo */
  --nuit-2: #0a1d3d;
  --nuit-3: #12294f;
  --or: #e6b655;
  --or-doux: #c99a3e;
  --neige: #f3f6fb;
  --texte: #d3dcec;
  --glacier: #8dbde8;
  --pierre: #8f9db5;
  --trait: rgba(243, 246, 251, 0.14);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--nuit);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--or); color: var(--nuit); padding: .6rem 1rem; border-radius: 4px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem var(--gutter);
  transition: background .45s ease, padding .45s ease, box-shadow .45s ease;
}
.nav::before { /* voile haut pour garder le menu lisible sur le ciel */
  content: ""; position: absolute; inset: 0 0 -1.5rem 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(2, 15, 36, .62), rgba(2, 15, 36, 0));
  transition: opacity .45s ease; pointer-events: none;
}
.nav.is-solid {
  background: rgba(2, 15, 36, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding-block: .7rem;
  box-shadow: 0 1px 0 rgba(230, 182, 85, .22);
}
.nav.is-solid::before { opacity: 0; }

.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--neige);
  font-weight: 600; letter-spacing: .16em; font-size: .92rem;
  transition: opacity .45s ease;
}
.brand-medal { width: 46px; height: 46px; border-radius: 50%; transition: width .45s ease, height .45s ease; }
.nav.is-solid .brand-medal { width: 40px; height: 40px; }
.brand-medal--pied { width: 96px; height: 96px; }
/* Sur l'accueil, le logo est déjà dans le visuel : la marque n'apparaît qu'au défilement */
.nav--home:not(.is-solid) .brand { opacity: 0; pointer-events: none; }

.menu { display: flex; gap: clamp(1.4rem, 3.4vw, 3rem); list-style: none; padding: 0; }
.menu a {
  position: relative; text-decoration: none; color: var(--neige);
  font-size: .98rem; letter-spacing: .03em; padding: .4rem 0;
}
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--or); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }

.burger {
  display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer;
  position: relative; z-index: 70;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--neige);
  transition: transform .35s ease, top .35s ease;
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.nav.open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav.open .burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 760px) {
  .burger { display: block; }
  .nav--home:not(.is-solid):not(.open) .brand { opacity: 0; }
  .menu {
    position: fixed; inset: 0; z-index: 65;
    flex-direction: column; align-items: center; justify-content: center; gap: 2.2rem;
    background: var(--nuit);
    opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s;
  }
  .menu a { font-family: var(--serif); font-weight: 300; font-size: 2.2rem; }
  .nav.open .menu { opacity: 1; visibility: visible; }
  .nav.open .brand { position: relative; z-index: 70; opacity: 1; pointer-events: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--nuit);
  height: min(90svh, 56.25vw); min-height: 520px;
}
.hero img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
  transform-origin: 50% 70%;
  animation: settle 2.8s cubic-bezier(.16, .7, .2, 1) both;
}
.hero::after { /* l'image se fond dans la page */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(2, 15, 36, 0) 68%, var(--nuit) 100%);
}
@keyframes settle {
  from { transform: scale(1.09); opacity: 0; filter: brightness(.55); }
  to   { transform: scale(1);    opacity: 1; filter: none; }
}
@media (max-width: 760px) {
  /* le logo doit rester entier : on garde le ratio de l'image */
  .hero { height: auto; min-height: 0; }
  .hero img { width: 210%; max-width: none; height: auto; margin-left: -55%; }
}

/* ---------- Texte d'accueil ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.intro { padding-top: clamp(2.5rem, 6vw, 5.5rem); }
.intro h1 {
  font-family: var(--serif); font-weight: 340; color: var(--neige);
  font-size: clamp(2.6rem, 7.6vw, 6.6rem); line-height: 1.02; letter-spacing: -.028em;
  font-variation-settings: "opsz" 144;
}
.intro h1 span { display: block; }

.lede {
  display: grid; grid-template-columns: repeat(12, 1fr);
  margin-top: clamp(2.2rem, 5vw, 4.5rem);
}
.lede p {
  grid-column: 5 / 13; max-width: 34em;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.65; color: var(--texte);
  font-variation-settings: "opsz" 30;
}
@media (max-width: 900px) { .lede p { grid-column: 1 / -1; } }

/* ---------- Profil d'altitude ---------- */
/* La section est haute : le contenu reste épinglé à l'écran pendant que le tracé progresse */
.trace { height: 240svh; margin-top: clamp(2rem, 5vw, 4rem); }
.trace-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-top: 3.5rem; }
.trace-in { width: 100%; }
@media (max-width: 700px) { .trace { height: 210svh; } }
@media (max-height: 560px) { .trace-pin { padding-top: 4.5rem; } .chart { height: 200px; } }
.trace-head { display: flex; align-items: baseline; gap: 1.2rem 2rem; flex-wrap: wrap; }
.trace-alt {
  font-family: var(--serif); font-weight: 340; color: var(--or);
  font-size: clamp(3rem, 8vw, 6rem); line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums lining-nums;
  min-width: 5.6ch;
}
.trace-alt small { font-size: .38em; color: var(--pierre); margin-left: .25em; letter-spacing: 0; }
.trace-place { font-size: 1.05rem; color: var(--neige); letter-spacing: .02em; }

.chart { position: relative; height: clamp(250px, 32vw, 400px); margin-top: 1.2rem; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart .grid line { stroke: var(--trait); stroke-width: 1; stroke-dasharray: 2 6; }
.chart .grid text { fill: var(--pierre); font: 400 11px var(--sans); letter-spacing: .04em; }
.chart .ghost { fill: none; stroke: rgba(243, 246, 251, .13); stroke-width: 1.5; }
.chart .line { fill: none; stroke: var(--or); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.chart .area { fill: url(#area-fill); }
.chart .head-ring { fill: rgba(230, 182, 85, .22); }
.chart .head-dot { fill: var(--or); }

.stop {
  position: absolute; transform: translate(-50%, 0);
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  text-align: center; white-space: nowrap; pointer-events: none;
  font-size: .82rem; line-height: 1.3; color: var(--pierre);
  transition: color .4s ease;
}
.stop b { font-weight: 500; }
.stop i { font-style: normal; font-size: .74rem; opacity: .8; }
.stop.is-passed { color: var(--neige); }
.stop.is-edge-left { transform: translate(-12%, 0); align-items: flex-start; text-align: left; }
.stop.is-edge-right { transform: translate(-88%, 0); align-items: flex-end; text-align: right; }

.trace-note { margin-top: 1.4rem; font-size: .9rem; color: var(--pierre); max-width: 46ch; }

@media (max-width: 700px) {
  .stop:not(.is-key) { display: none; }
}

/* ---------- Mission ---------- */
.mission { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 9vw, 8rem); }
.mission p:first-child {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2.4vw, 2rem); color: var(--or); margin-bottom: .9rem;
}
.mission p:last-child {
  font-family: var(--serif); font-weight: 340; color: var(--neige);
  font-size: clamp(2.1rem, 5.4vw, 4.6rem); line-height: 1.08; letter-spacing: -.02em;
  max-width: 17ch; text-wrap: balance;
  font-variation-settings: "opsz" 144;
}

/* ---------- Teaser destination ---------- */
.teaser { position: relative; display: block; text-decoration: none; color: var(--neige); background: var(--nuit); }
/* Photo à sa taille réelle (1280 px) : centrée, jamais agrandie, jamais recadrée */
.teaser-photo { display: block; width: 100%; max-width: 1280px; height: auto; margin-inline: auto; }
.teaser-in {
  max-width: var(--max); margin-inline: auto; padding: clamp(1.8rem, 4vw, 3rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem 3rem; align-items: end;
}
.teaser h2 {
  font-family: var(--serif); font-weight: 340; letter-spacing: -.02em; line-height: 1.05;
  font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 14ch; text-wrap: balance;
  font-variation-settings: "opsz" 144;
}
.teaser-side { display: flex; flex-direction: column; gap: 1.3rem; align-items: flex-start; }
.teaser p { max-width: 32em; font-size: 1.1rem; color: var(--texte); }
.teaser-in { max-width: 1280px; }
@media (min-width: 1408px) { .teaser-in { padding-inline: 0; } }
@media (max-width: 800px) { .teaser-in { grid-template-columns: 1fr; } }

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.6rem; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--or); color: var(--neige); background: rgba(2, 15, 36, .35);
  font-weight: 500; letter-spacing: .02em; cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.btn:hover, .teaser:hover .btn { background: var(--or); color: var(--nuit); }
.btn--plein { background: var(--or); color: var(--nuit); }
.btn--plein:hover { background: var(--or-doux); border-color: var(--or-doux); }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--trait); margin-top: 0; padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.foot .brand { margin-bottom: 1rem; }
.foot h2 { font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--neige); margin-bottom: .8rem; letter-spacing: .02em; }
.foot ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.foot a { text-decoration: none; color: var(--texte); }
.foot a:hover { color: var(--or); }
.foot-tag { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--pierre); max-width: 26ch; }
.partner {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--trait);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem;
  font-size: .9rem; color: var(--pierre);
}
.partner a { color: var(--neige); text-decoration-color: var(--or); text-underline-offset: 4px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero img { animation: none; }
  .btn, .menu a::after { transition: none; }
  .trace { height: auto; }
  .trace-pin { position: static; height: auto; padding-block: 4rem; }
}

/* ==========================================================
   Pages intérieures
   ========================================================== */
.page-head { padding-top: clamp(5.6rem, 8vw, 6.4rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.page-head h1 {
  font-family: var(--serif); font-weight: 340; color: var(--neige);
  font-size: clamp(3.2rem, 10vw, 8.4rem); line-height: .98; letter-spacing: -.03em;
  font-variation-settings: "opsz" 144;
}
.page-head .lede { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

.chip {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .9rem; letter-spacing: .02em; color: var(--neige);
}
.chip::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--or); }
.chip--soon { color: var(--pierre); }
.chip--soon::before { background: transparent; border: 1.5px solid var(--pierre); }

/* Destination en vedette */
.dest { padding-bottom: clamp(3rem, 7vw, 6rem); }
.dest-photo { position: relative; overflow: hidden; background: var(--nuit-2); }
.dest-photo img { width: 100%; height: auto; aspect-ratio: 4080 / 1884; object-fit: cover; }
.dest-body {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2rem; row-gap: 2.5rem;
  padding-top: clamp(2rem, 4vw, 3.5rem);
}
.dest-text { grid-column: 1 / 8; }
.dest-text h2 {
  font-family: var(--serif); font-weight: 340; color: var(--neige);
  font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.05; letter-spacing: -.02em; margin: .9rem 0 1.4rem;
  font-variation-settings: "opsz" 144; text-wrap: balance;
}
.dest-text p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.7; max-width: 36em; font-variation-settings: "opsz" 30; }
.dest-text .btn { margin-top: 2rem; }
.facts { grid-column: 9 / 13; align-self: start; }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--trait); }
.facts div:last-child { border-bottom: 1px solid var(--trait); }
.facts dt { color: var(--pierre); font-size: .95rem; }
.facts dd { font-family: var(--serif); font-size: 1.45rem; color: var(--neige); text-align: right; font-variant-numeric: lining-nums; }
.facts dd.long { font-size: 1.1rem; max-width: 14em; line-height: 1.35; }
.facts dd.tbd { font-family: var(--sans); font-size: .95rem; color: var(--pierre); font-style: italic; }
@media (max-width: 900px) {
  .dest-text, .facts { grid-column: 1 / -1; }
}

/* Destinations en préparation */
.soon-title { font-family: var(--serif); font-weight: 340; font-size: clamp(1.8rem, 3.6vw, 2.8rem); color: var(--neige); letter-spacing: -.015em; margin-bottom: 1.6rem; }
.soon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; padding-bottom: clamp(4rem, 9vw, 8rem); }
.soon-card {
  position: relative; padding: 2rem; border: 1px dashed rgba(230, 182, 85, .4); border-radius: 4px;
  display: flex; flex-direction: column; gap: 1rem; min-height: 260px; overflow: hidden;
}
.soon-card svg { position: absolute; right: 1.2rem; bottom: 1.2rem; width: 110px; height: auto; opacity: .55; pointer-events: none; }
.soon-card h3 { font-family: var(--serif); font-weight: 340; font-size: 1.7rem; color: var(--neige); line-height: 1.15; position: relative; }
.soon-card p { max-width: 28em; position: relative; }
.soon-card a { position: relative; margin-top: auto; color: var(--or); text-underline-offset: 4px; width: fit-content; }
.soon-card a:hover { color: var(--or-doux); }

/* ---------- Page itinéraire (trek jour par jour) ---------- */
.crumb { font-size: .9rem; color: var(--pierre); margin-bottom: 1.2rem; letter-spacing: .02em; }
.crumb a { color: var(--or); text-underline-offset: 4px; }
.page-head--trek h1 { max-width: 18em; }

.recap { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.recap h2, .stages h2 { font-family: var(--serif); font-weight: 340; font-size: clamp(1.8rem, 3.6vw, 2.8rem); color: var(--neige); letter-spacing: -.015em; margin-bottom: 1.6rem; }
.recap-list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 2.5rem; }
.recap-list div { padding: 1.1rem 0; border-top: 1px solid var(--trait); }
.recap-list dt { color: var(--pierre); font-size: .9rem; margin-bottom: .35rem; }
.recap-list dd { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--neige); font-variant-numeric: lining-nums; line-height: 1.2; }
.recap-note { margin-top: 1.2rem; color: var(--pierre); font-size: .9rem; max-width: 46em; }

.stages { padding-bottom: clamp(3rem, 7vw, 6rem); }
.stage-list { list-style: none; padding: 0; margin: 0; }
.stage { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.5rem; position: relative; padding-bottom: clamp(2rem, 4vw, 3rem); }
.stage::before { content: ""; position: absolute; left: 2.2rem; top: 4.2rem; bottom: .6rem; width: 1px; background: linear-gradient(var(--or-doux), var(--trait)); opacity: .55; }
.stage:last-child::before { display: none; }
.stage-day { display: flex; flex-direction: column; align-items: center; text-align: center; width: 4.4rem; }
.stage-word { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pierre); }
.stage-num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--or); font-variant-numeric: lining-nums; }
.stage-body { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.2rem, 3vw, 2.5rem); padding-top: .2rem; border-top: 1px solid var(--trait); padding-top: 1.4rem; }
.stage-fig { margin: 0; }
.stage-fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; background: var(--nuit-2); }
.stage-fig figcaption { margin-top: .4rem; font-size: .7rem; line-height: 1.4; color: var(--pierre); }
.stage-fig figcaption a { color: inherit; text-underline-offset: 3px; }
.stage-text h3 { font-family: var(--serif); font-weight: 340; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--neige); line-height: 1.2; }
.stage-sub { margin-top: .3rem; color: var(--glacier); font-size: .95rem; }
.stage-data { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.2rem 2.5rem; margin-top: 1.1rem; }
.stage-data dt { color: var(--pierre); font-size: .8rem; margin-bottom: .15rem; }
.stage-data dd { font-family: var(--serif); font-size: 1.2rem; color: var(--neige); font-variant-numeric: lining-nums; }
.stage-note { margin-top: 1rem; font-size: .92rem; color: var(--pierre); max-width: 38em; }
.photo-note { margin-top: 1rem; font-size: .8rem; color: var(--pierre); max-width: 46em; }

.cta { padding-bottom: clamp(4rem, 9vw, 8rem); text-align: left; }
.cta h2 { font-family: var(--serif); font-weight: 340; font-size: clamp(1.8rem, 3.6vw, 2.8rem); color: var(--neige); margin-bottom: 1rem; }
.cta p { max-width: 36em; margin-bottom: 1.6rem; }

@media (max-width: 900px) {
  .recap-list { grid-template-columns: repeat(2, 1fr); }
  .stage-body { grid-template-columns: 1fr; }
  .stage-fig { max-width: 320px; }
}
@media (max-width: 560px) {
  .recap-list { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 3.4rem 1fr; gap: 1rem; }
  .stage::before { left: 1.7rem; }
  .stage-day { width: 3.4rem; }
  .stage-num { font-size: 2rem; }
  .stage-data { grid-template-columns: repeat(2, auto); }
}

/* Niveau de difficulté (chaussures de randonnée) */
.boots { display: inline-flex; gap: .3rem; vertical-align: middle; }
.boot { width: 1.9rem; height: 1.9rem; color: var(--or); }
.boot.off { color: var(--neige); opacity: .2; }
.recap-list dd .boots { margin-top: .1rem; }

/* Fenêtre « être prévenu » */
.soon-link { background: none; border: 0; padding: 0; font: inherit; position: relative; margin-top: auto; color: var(--or); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; width: fit-content; text-align: left; }
.soon-link:hover { color: var(--or-doux); }
.modal { border: 1px solid var(--trait); border-radius: 6px; background: var(--nuit-2); color: var(--texte); padding: 0; width: min(92vw, 440px); margin: auto; }
.modal::backdrop { background: rgba(2, 15, 36, .78); backdrop-filter: blur(3px); }
.modal-form { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 2.2rem 2rem 2rem; }
.modal-close { position: absolute; top: .6rem; right: .8rem; background: none; border: 0; color: var(--pierre); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: .3rem .5rem; }
.modal-close:hover { color: var(--neige); }
.modal-kicker { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.modal h2 { font-family: var(--serif); font-weight: 340; font-size: 1.8rem; color: var(--neige); line-height: 1.15; }
.modal-dest { color: var(--glacier); }
.modal label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; color: var(--pierre); }
.modal input[type=text], .modal input[type=email] { font: inherit; font-size: 1rem; padding: .75rem .9rem; border-radius: 4px; border: 1px solid var(--trait); background: var(--nuit); color: var(--neige); }
.modal input:focus-visible { outline: 2px solid var(--or); outline-offset: 1px; }
.modal .hp { position: absolute; left: -9999px; }
.modal-legal { font-size: .8rem; color: var(--pierre); }
.modal-msg { font-size: .92rem; min-height: 1.2em; color: var(--glacier); }
.modal-msg.err { color: #f2a19a; }
.modal .btn { align-self: flex-start; cursor: pointer; }

/* Profil d'altitude : un cran de défilement = une étape */
html.has-trace { scroll-snap-type: y proximity; }
.trace-snap { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; pointer-events: none; }

/* ---------- Page Expériences : galerie ---------- */
.exp { padding-bottom: clamp(4rem, 9vw, 8rem); }
.exp-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.exp-head .chip { flex-basis: 100%; }
.exp-head h2 { font-family: var(--serif); font-weight: 340; font-size: clamp(2rem, 4.6vw, 3.6rem); color: var(--neige); letter-spacing: -.02em; line-height: 1.05; }
.exp-count { color: var(--pierre); }
.gal { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 1rem; }
@media (min-width: 640px) { .gal { columns: 2; } }
@media (min-width: 768px) { .gal { columns: 3; } }
@media (min-width: 1024px) { .gal { columns: 4; } }
.gal-item { break-inside: avoid; margin: 0 0 1rem; }
.gal-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--nuit-2); border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.gal-btn img { display: block; width: 100%; height: auto; border-radius: 12px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.gal-btn::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.1); opacity: 0; transition: opacity .2s; pointer-events: none; border-radius: 12px; }
.gal-btn:hover img { transform: scale(.98); }
.gal-btn:active img { transform: scale(.95); }
.gal-btn:hover::after { opacity: 1; }
.gal-btn:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.lb-bg { position: absolute; inset: 0; background: rgba(2, 15, 36, .8); -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px); }
.lb-stage { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 2.6rem; cursor: zoom-out; touch-action: none; }
.lb-img { display: block; max-width: none; border-radius: 12px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.6); transform-origin: center; will-change: transform; user-select: none; -webkit-user-drag: none; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 1rem; text-align: center; color: var(--texte); font-family: var(--serif); font-size: 1.05rem; padding-inline: 4.5rem; pointer-events: none; }
.lb-count { position: absolute; top: 1.7rem; left: 1.6rem; color: var(--pierre); font-size: .9rem; letter-spacing: .08em; pointer-events: none; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 0; color: #fff; width: 2.75rem; height: 2.75rem; border-radius: 50%; font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 .15rem; transition: background-color .2s; z-index: 2; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.lb-close { top: 1.5rem; right: 1.5rem; }
.lb-prev, .lb-next { top: 50%; margin-top: -1.4rem; }
.lb-prev { left: 1rem; } .lb-next { right: 1rem; }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: .8rem; margin: 0; } .lb-cap { padding-inline: 4rem; font-size: 1rem; } }

/* vidéo dans la galerie */
.lb-stage > * { grid-area: 1 / 1; }
.lb-video { display: block; border-radius: 12px; background: #000; box-shadow: 0 25px 50px -12px rgba(0,0,0,.6); }
.gal-btn.is-video::before { content: ""; position: absolute; left: 50%; top: 50%; width: 3.6rem; height: 3.6rem; margin: -1.8rem 0 0 -1.8rem; border-radius: 50%; background: rgba(2,15,36,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 1.7rem no-repeat; z-index: 1; pointer-events: none; }

/* ---------- Page Expériences : cartes ---------- */
.xp-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(4rem, 9vw, 8rem); }
.xp { display: flex; flex-direction: column; gap: 1.1rem; color: inherit; text-decoration: none; }
.xp-item { display: flex; flex-direction: column; gap: 1.1rem; }
.xp-note { font-size: .78rem; line-height: 1.55; color: var(--pierre); max-width: 44em; }
.xp-note strong { color: var(--texte); font-weight: 500; }
.xp-note a { color: var(--glacier); text-underline-offset: 3px; }
.xp-photo { overflow: hidden; border-radius: 12px; background: var(--nuit-2); }
.xp-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.xp:hover .xp-photo img { transform: scale(1.04); }
.xp h2 { font-family: var(--serif); font-weight: 340; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; color: var(--neige); letter-spacing: -.015em; }
.xp p { max-width: 34em; }
.xp-foot { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1.6rem; }
.xp-meta { color: var(--pierre); font-size: .9rem; }
.xp-go { color: var(--or); text-underline-offset: 4px; text-decoration: underline; width: fit-content; }
.xp:hover .xp-go { color: var(--or-doux); }
.xp:focus-visible { outline: 2px solid var(--or); outline-offset: 6px; border-radius: 12px; }
.exp-desc { flex-basis: 100%; max-width: 44em; margin-top: .4rem; }
.exp-facts { flex-basis: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem 2rem; margin: 1.4rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--trait); }
.exp-facts dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin-bottom: .3rem; }
.exp-facts dd { margin: 0; color: var(--neige); line-height: 1.45; }
.exp-back { padding-bottom: clamp(4rem, 9vw, 8rem); display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.exp-back a { color: var(--or); text-underline-offset: 4px; }
@media (max-width: 800px) { .xp-list { grid-template-columns: 1fr; } }
.page-head--long h1 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); max-width: 16em; }

/* Cases à cocher des formulaires */
.check { flex-direction: row !important; align-items: flex-start; gap: .6rem !important; font-size: .85rem !important; }
.check input { margin-top: .2rem; accent-color: var(--or); flex: none; }

/* ---------- Page Notre Esprit ---------- */
.esprit, #faq, .contact { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.esprit-txt { max-width: 44em; display: grid; gap: 1rem; font-size: 1.1rem; }
.esprit-liste { list-style: none; padding: 0; margin: clamp(1.8rem, 4vw, 3rem) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.2rem; }
.esprit-liste li { border-top: 1px solid var(--or); padding-top: 1rem; }
.esprit-liste h2 { font-family: var(--serif); font-weight: 340; font-size: 1.35rem; color: var(--neige); margin-bottom: .4rem; }
.esprit-partner { margin-top: 2rem; color: var(--pierre); }
.esprit-partner a { color: var(--or); }
.sec-t { font-family: var(--serif); font-weight: 340; font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--neige); margin-bottom: 1.4rem; }
.faq { max-width: 44em; border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); padding: 1rem 0; }
.faq summary { cursor: pointer; color: var(--neige); font-size: 1.05rem; }
.faq summary:hover { color: var(--or); }
.faq details p { margin-top: .7rem; color: var(--texte); }
.contact-form { max-width: 44em; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; color: var(--pierre); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form select, .contact-form textarea { font: inherit; font-size: 1rem; padding: .75rem .9rem; border-radius: 4px; border: 1px solid var(--trait); background: var(--nuit-2); color: var(--neige); }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--or); outline-offset: 1px; }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form .btn { justify-self: start; cursor: pointer; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; }
@media (max-width: 640px) { .contact-form { grid-template-columns: 1fr; } }

/* Prochaines dates et pré-réservation */
.dates { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.dates-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 2rem; }
.dates-prix { color: var(--texte); font-size: 1.05rem; }
.dates-prix span { color: var(--or); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin-right: .8rem; }
.dates-prix strong { font-family: var(--serif); font-weight: 340; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--neige); font-variant-numeric: lining-nums; }
.dates-liste { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--trait); }
.dates-liste li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--trait); }
.dates-d { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.7rem); color: var(--neige); }
.dates-n { color: var(--pierre); font-size: .88rem; margin-top: .2rem; }
.dates-note { margin-top: 1.2rem; color: var(--glacier); max-width: 44em; }
.pre-rassure { max-width: 44em; margin-bottom: 1.8rem; padding: 1rem 1.2rem; border-left: 3px solid var(--or); background: var(--nuit-2); font-size: 1.05rem; }
.pre-rassure strong { color: var(--neige); }
.contact-form input[readonly] { color: var(--pierre); }

.dates-pp { color: var(--pierre) !important; text-transform: none !important; letter-spacing: 0 !important; font-size: .95rem !important; margin-left: .2rem !important; }
.tarif { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.tarif-cols { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(1.5rem, 4vw, 4rem); }
.tarif-cols h3 { font-family: var(--serif); font-weight: 340; font-size: 1.4rem; color: var(--neige); margin-bottom: .8rem; padding-bottom: .6rem; border-bottom: 1px solid var(--trait); }
.tarif-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.tarif-liste li { position: relative; padding-left: 1.5rem; }
.tarif-liste li::before { content: ""; position: absolute; left: 0; top: .6em; width: .7rem; height: 2px; background: var(--or); }
.tarif-non li::before { background: var(--pierre); }
.tarif-note { margin-top: 1.8rem; max-width: 44em; color: var(--glacier); font-family: var(--serif); font-size: 1.15rem; }
@media (max-width: 760px) { .tarif-cols { grid-template-columns: 1fr; } }

.stage-body--simple { grid-template-columns: 1fr; }

.stage-legs { display: grid; gap: .35rem; }
.stage-legs .leg { display: flex; align-items: center; gap: .5rem; }
.boot--leg { width: 1.4rem; height: 1.4rem; flex: none; }

.dates-infos { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; max-width: 44em; }
.dates-infos li { position: relative; padding-left: 1.5rem; }
.dates-infos li::before { content: ""; position: absolute; left: 0; top: .6em; width: .7rem; height: 2px; background: var(--or); }
.dates-infos strong { color: var(--neige); font-weight: 500; }
.dates-infos + .dates-note { margin-top: 1.2rem; }

/* Bouton WhatsApp flottant */
.wa { position: fixed; right: clamp(.9rem, 2.5vw, 1.6rem); bottom: clamp(.9rem, 2.5vw, 1.6rem); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; }
.wa-btn { position: relative; display: grid; place-items: center; width: 3.7rem; height: 3.7rem; border-radius: 50%; background: #25d366; color: #25d366; box-shadow: 0 6px 22px rgba(0, 0, 0, .45); transition: transform .2s; }
.wa-btn:hover { transform: scale(1.08); }
.wa-btn:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.wa-btn svg { width: 2.1rem; height: 2.1rem; }
.wa-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: wa-pulse 2.4s ease-out infinite; }
.wa-bulle { position: relative; margin: 0; max-width: 17rem; padding: .85rem 2rem .85rem 1rem; border-radius: 12px 12px 2px 12px; background: var(--neige); color: var(--nuit); font-size: .92rem; line-height: 1.4; box-shadow: 0 6px 22px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(8px) scale(.96); transform-origin: bottom right; transition: opacity .3s, transform .3s; }
.wa-bulle.on { opacity: 1; transform: none; }
.wa-bulle[hidden] { display: none; }
.wa-x { position: absolute; top: .25rem; right: .35rem; background: none; border: 0; color: var(--nuit-2); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: .2rem .35rem; opacity: .7; }
.wa-x:hover { opacity: 1; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-btn::before { animation: none; } .wa-bulle { transition: none; } }

.soon-actions { position: relative; margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.soon-actions .soon-link, .soon-actions a { margin-top: 0; }
.soon-actions a { color: var(--glacier); text-decoration: underline; text-underline-offset: 4px; }
.soon-actions a:hover { color: var(--neige); }

/* Champs masqués dans le formulaire de contact */
.contact-form [hidden] { display: none; }

/* Titre d'accroche en haut à gauche de l'accueil */
.hero-titre {
  position: absolute; z-index: 61; pointer-events: none; top: calc(41px - .56em); left: var(--gutter);
  max-width: none; margin: 0;
  font-family: var(--serif); font-weight: 300; line-height: 1.12; letter-spacing: -.01em;
  font-size: clamp(1.9rem, 3vw, 2.9rem); color: var(--neige); white-space: nowrap;
  text-shadow: 0 2px 22px rgba(2, 15, 36, .75), 0 1px 3px rgba(2, 15, 36, .6);
  animation: titre-in 1.6s .9s cubic-bezier(.16, .7, .2, 1) backwards;
}
.hero-titre em { display: block; font-style: normal; font-weight: 700; color: #f4bc60; /* jaune doré du logo */ }
@keyframes titre-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .hero-titre { font-size: min(1.4rem, 4.3vw); }
}
@media (prefers-reduced-motion: reduce) { .hero-titre { animation: none; } }
/* le titre s'efface quand la barre de menu devient pleine au défilement */
.hero-titre { transition: opacity .3s ease; }
body:has(.nav.is-solid) .hero-titre { opacity: 0; }

/* Seuil de 8 inscrits */
.dates-seuil { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.6rem; max-width: 44em; padding: 1.1rem 1.3rem; border: 1px solid var(--or); border-radius: 6px; background: var(--nuit-2); }
.dates-seuil p { margin: 0; }
.dates-seuil strong { color: var(--neige); font-weight: 600; }
.dates-seuil-n { flex: none; font-family: var(--serif); font-weight: 340; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--or); font-variant-numeric: lining-nums; }

/* Les vols */
.route { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.route-intro { max-width: 44em; margin-bottom: 1.4rem; }
.route-rows { display: grid; gap: 1.6rem; }
.route-row h3 { font-family: var(--serif); font-weight: 340; font-size: 1.25rem; color: var(--neige); margin-bottom: .7rem; }
.route-row ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 0; align-items: stretch; }
.route-row li { position: relative; display: flex; flex-wrap: wrap; align-items: center; align-content: center; white-space: nowrap; padding: .7rem 1.1rem; border: 1px solid var(--trait); background: var(--nuit-2); color: var(--neige); }
.route-row li + li { margin-left: 1.6rem; }
.route-row li + li::before { content: "\2192"; position: absolute; left: -1.5rem; top: 50%; transform: translateY(-50%); width: 1.4rem; text-align: center; color: var(--or); }
.route-row li em { color: var(--pierre); font-style: normal; font-size: .85rem; margin: 0 .3rem; }
.route-row li small { flex-basis: 100%; color: var(--glacier); font-size: .8rem; margin-top: .15rem; }
.route-row li:first-child { border-color: var(--or); }
@media (max-width: 760px) {
  .route-row ol { flex-direction: column; gap: 1.4rem; }
  .route-row li + li { margin-left: 0; }
  .route-row li + li::before { content: "\2193"; left: 1.1rem; top: -1.4rem; transform: none; height: 1.4rem; line-height: 1.4rem; }
}

/* Bien se préparer */
.prep { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.prep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.5rem); }
.prep-grid article { padding: 1.4rem 1.5rem; border-top: 2px solid var(--or); background: var(--nuit-2); }
.prep-grid h3 { font-family: var(--serif); font-weight: 340; font-size: 1.4rem; color: var(--neige); margin-bottom: .8rem; }
.prep-grid p + p { margin-top: .8rem; }
.prep-grid strong { color: var(--neige); font-weight: 600; }
.prep-note { color: var(--pierre); font-size: .92rem; }
@media (max-width: 760px) { .prep-grid { grid-template-columns: 1fr; } }

/* Mentions légales */
.legal { max-width: 52rem; padding-bottom: 3rem; }
.legal article { margin-top: 2.2rem; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--neige); margin-bottom: .7rem; }
.legal p { margin: 0 0 .9rem; max-width: 46em; }
.legal ul { list-style: none; padding: 0; margin: .4rem 0 0; }
.legal li { padding: .35rem 0; border-top: 1px solid var(--trait); }
.legal li:last-child { border-bottom: 1px solid var(--trait); }
.legal a { color: var(--or); text-underline-offset: 4px; }
.partner { flex-wrap: wrap; gap: .5rem 1.5rem; }

/* Menu mobile : le flou du bandeau empêchait le menu plein écran de couvrir la page */
@media (max-width: 760px) {
  .nav.open { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Galerie « Qui suis-je ? » : photo mise en avant sur toute la largeur */
.gal-item--large { column-span: all; max-width: 760px; margin: 0 auto 1.4rem; }
.gal-item--large .gal-btn img { max-height: 70vh; object-fit: cover; }
