/* =========================================================
   Le Balcon d'Aure — feuille de style
   Banniere en bleu nuit, sections claires, accents laiton.
   Ecrit en mobile d'abord.
   ========================================================= */

/* ---------- Polices (auto-hébergées, variables) ---------- */
@font-face {
  font-family: "Jost";
  src: url("fonts/Jost-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/CormorantGaramond-italic-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/CormorantGaramond-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --nuit: #071019;
  --nuit-2: #0d1b2a;
  --nuit-3: #142639;
  --jour: #f5f8fb;
  --jour-2: #e9f0f6;
  --encre: #0d2233;
  --encre-douce: #4e6a7d;
  --encre-tenue: #8299ab;
  --laiton: #c9a86a;
  --laiton-clair: #e0c894;
  --laiton-fonce: #8f6a1c;
  --clair: #eef4f9;
  --doux: #9db1c4;
  --tenu: #5f7488;
  --ligne-nuit: rgba(157, 177, 196, .16);
  --ligne-jour: rgba(13, 34, 51, .13);
  --rayon: 18px;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background: var(--jour);
  color: var(--encre);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; }

.enveloppe { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }
@media (min-width: 900px) { .enveloppe { padding: 0 40px; } }

/* ---------- Typographie ---------- */
.titre { font-size: clamp(38px, 11vw, 92px); line-height: .95; letter-spacing: -.035em; font-weight: 700; }
.titre em {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 500;
  letter-spacing: -.02em; color: var(--laiton-clair);
}
.titre-section { font-size: clamp(30px, 7.5vw, 56px); line-height: 1; letter-spacing: -.03em; font-weight: 700; }
.titre-section em {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 500;
  color: var(--laiton-fonce); letter-spacing: -.015em;
}
.sur-titre { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--laiton-fonce); font-weight: 600; }
.chapo { color: var(--encre-douce); font-size: clamp(15px, 4vw, 18px); max-width: 54ch; }

/* Variante sombre */
.ecran-nuit { background: var(--nuit); color: var(--clair); }
.ecran-nuit .titre-section em, .ecran-nuit .sur-titre { color: var(--laiton-clair); }
.ecran-nuit .chapo { color: var(--doux); }

/* ---------- Navigation flottante ---------- */
.nav {
  position: fixed; z-index: 90; left: 50%; transform: translateX(-50%) translateY(-120%);
  top: 14px; width: calc(100% - 28px); max-width: 1080px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 9px 9px 18px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--ligne-jour);
  border-radius: 100px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(13, 34, 51, .10);
  transition: transform .55s cubic-bezier(.22,.61,.36,1), opacity .55s;
  opacity: 0;
}
.nav.montree { transform: translateX(-50%) translateY(0); opacity: 1; }
.nav-marque {
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 17px; color: var(--encre);
  text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
@media (min-width: 600px) { .nav-marque { font-size: 19px; } }
.nav-liens { display: none; gap: 26px; }
@media (min-width: 940px) { .nav-liens { display: flex; } }
.nav-liens a { color: var(--encre-douce); text-decoration: none; font-size: 14px; position: relative; padding: 4px 0; transition: color .3s; }
.nav-liens a:hover, .nav-liens a.actif { color: var(--encre); }
.nav-liens a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--laiton-fonce); transition: width .35s; }
.nav-liens a:hover::after, .nav-liens a.actif::after { width: 100%; }
.nav-droite { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
@media (max-width: 599px) {
  .nav { padding: 7px 7px 7px 14px; gap: 8px; }
  .nav-droite { gap: 6px; }
  .nav-droite .pastille { padding: 9px 14px; font-size: 13px; }
  .langues button { padding: 7px 9px; font-size: 10px; }
}

.pastille {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 18px; border-radius: 100px; font-size: 14px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.pastille-pleine { background: var(--laiton-fonce); color: #fff; }
.pastille-pleine:hover { background: #7d5c16; transform: translateY(-2px); }
.ecran-nuit .pastille-pleine, .banniere .pastille-pleine { background: var(--laiton); color: #14100a; }
.ecran-nuit .pastille-pleine:hover, .banniere .pastille-pleine:hover { background: var(--laiton-clair); }
.pastille-claire { background: var(--clair); color: var(--nuit); }
.pastille-claire:hover { transform: translateY(-2px); }
.pastille-vide { border-color: rgba(238,244,249,.3); color: var(--clair); background: transparent; }
.pastille-vide:hover { border-color: var(--laiton); color: var(--laiton-clair); transform: translateY(-2px); }
.pastille:focus-visible { outline: 2px solid var(--laiton-fonce); outline-offset: 3px; }

.langues { display: flex; border: 1px solid var(--ligne-jour); border-radius: 100px; overflow: hidden; }
.langues button {
  border: 0; background: transparent; color: var(--encre-tenue); cursor: pointer;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 8px 11px; transition: .3s;
}
.langues button.actif { background: var(--laiton-fonce); color: #fff; }

/* ---------- Sections ---------- */
.ecran {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 0 72px; scroll-snap-align: start;
}
@media (min-width: 900px) { .ecran { padding: 110px 0 90px; } }
.ecran-jour-2 { background: var(--jour-2); }

/* Profil de la vallee d'Aure au bas des sections claires */
.ecran:not(.ecran-nuit)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 170px;
  pointer-events: none; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 190' preserveAspectRatio='none'%3E%3Cpath d='M0 120 L120 58 L210 100 L330 28 L390 62 L450 95 L560 52 L690 110 L820 42 L890 78 L950 100 L1080 62 L1200 105 L1320 68 L1400 100 L1400 190 L0 190 Z' fill='%230d2233' fill-opacity='.045'/%3E%3Cpath d='M0 150 L160 108 L300 140 L470 98 L640 145 L800 112 L980 150 L1150 118 L1290 142 L1400 126 L1400 190 L0 190 Z' fill='%230d2233' fill-opacity='.07'/%3E%3C/svg%3E") bottom center / 1400px 170px repeat-x;
}
@media (max-width: 700px) { .ecran:not(.ecran-nuit)::after { height: 110px; background-size: 900px 110px; } }

/* Variante Neouvielle et ses lacs pour les sections bleutees */
.ecran-jour-2::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 190' preserveAspectRatio='none'%3E%3Cpath d='M0 96 L150 44 L215 70 L280 84 L420 30 L490 62 L560 88 L700 48 L840 92 L980 40 L1050 68 L1120 86 L1260 56 L1400 82 L1400 190 L0 190 Z' fill='%230d2233' fill-opacity='.04'/%3E%3Cpath d='M60 152 Q700 116 1340 152 Q700 186 60 152 Z' fill='%230d2233' fill-opacity='.055'/%3E%3Cpath d='M330 150 h200 M740 159 h150 M480 165 h90 M900 148 h120' stroke='%230d2233' stroke-opacity='.10' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M420 152 L470 176 L370 176 Z M980 152 L1025 172 L935 172 Z' fill='%230d2233' fill-opacity='.03'/%3E%3C/svg%3E") bottom center / 1400px 170px repeat-x;
}

/* ---------- Banniere ---------- */
.banniere { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; scroll-snap-align: start; background: var(--nuit); color: var(--clair); }
.fonds { position: absolute; inset: 0; }
.fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.1s ease-in-out, transform 7s linear; }
.fond.actif { opacity: .84; transform: scale(1); }
.voile { position: absolute; inset: 0; background: linear-gradient(to top, var(--nuit) 2%, rgba(7,16,25,.70) 38%, rgba(7,16,25,.26) 72%, rgba(7,16,25,.58) 100%); }
.banniere-contenu { position: relative; z-index: 2; width: 100%; padding: 0 0 92px; }
.banniere .chapo { color: var(--doux); margin: 20px 0 30px; }
.etiquette {
  display: inline-block; padding: 7px 16px; border: 1px solid rgba(201,168,106,.35);
  border-radius: 100px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--laiton-clair); margin-bottom: 22px; backdrop-filter: blur(6px);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.puces { position: absolute; right: 22px; bottom: 92px; z-index: 3; display: flex; flex-direction: column; gap: 9px; }
.puce { width: 3px; height: 26px; padding: 0; border: 0; border-radius: 3px; background: rgba(238,244,249,.28); cursor: pointer; transition: background .4s, height .4s; }
.puce.actif { background: var(--laiton); height: 40px; }
.puce:focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; }

.molette { position: absolute; left: 22px; bottom: 34px; z-index: 3; display: flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--tenu); }
.molette i { display: block; width: 44px; height: 1px; background: var(--laiton); transform-origin: left; animation: glisse 2.4s infinite; }
@keyframes glisse { 0% { transform: scaleX(0); opacity: 0; } 40% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* ---------- Ruban d'accroches ---------- */
.ruban { background: var(--nuit-2); border-top: 1px solid var(--ligne-nuit); border-bottom: 1px solid var(--ligne-nuit); overflow: hidden; padding: 13px 0; }
.ruban-piste { display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; animation: defile 32s linear infinite; will-change: transform; }
.ruban-piste span { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--laiton-clair); }
.ruban-piste i { color: rgba(201,168,106,.5); font-style: normal; font-size: 9px; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ruban:hover .ruban-piste { animation-play-state: paused; }
body.lang-fr .ruban-piste[data-en], body.lang-en .ruban-piste[data-fr] { display: none; }
@media (prefers-reduced-motion: reduce) { .ruban-piste { animation: none; } }

/* ---------- Barre mobile flottante ---------- */
.barre-mobile {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
  display: none; gap: 9px;
  padding: 9px; border-radius: 100px;
  background: rgba(13, 27, 42, .92); border: 1px solid var(--ligne-nuit);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(7,16,25,.45);
  transform: translateY(130%); opacity: 0;
  transition: transform .5s cubic-bezier(.22,.61,.36,1), opacity .5s;
}
.barre-mobile.montree { transform: none; opacity: 1; }
.barre-mobile .pastille { flex: 1; }
.barre-mobile .pastille-pleine { background: var(--laiton); color: #14100a; }
.barre-mobile .pastille-ligne { background: transparent; border-color: var(--ligne-nuit); color: var(--clair); }
@media (max-width: 700px) { .barre-mobile { display: flex; } footer { padding-bottom: 88px; } }

.actions-avis { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Chiffres cles ---------- */
.cles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ligne-jour); border: 1px solid var(--ligne-jour); border-radius: var(--rayon); overflow: hidden; }
@media (min-width: 760px) { .cles { grid-template-columns: repeat(4, 1fr); } }
.cle { background: var(--jour); padding: 22px 16px; text-align: center; transition: background .4s; }
.cle:hover { background: #fff; }
.ecran-jour-2 .cle { background: var(--jour-2); }
.ecran-jour-2 .cle:hover { background: #fff; }
.cle-nombre { font-size: clamp(30px, 8vw, 42px); line-height: 1; font-weight: 700; letter-spacing: -.03em; display: flex; align-items: baseline; justify-content: center; gap: 3px; }
.cle-unite { font-size: .44em; color: var(--laiton-fonce); font-weight: 600; }
.cle-label { margin-top: 9px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-tenue); }

/* ---------- Carte de situation ---------- */
.situation { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; }
@media (min-width: 900px) { .situation { grid-template-columns: 1.05fr .95fr; gap: 44px; } }
.plan { border: 1px solid var(--ligne-jour); border-radius: var(--rayon); background: #fff; padding: 14px; }
.plan svg { width: 100%; height: auto; display: block; }

/* ---------- Teaser video ---------- */
.teaser { margin-bottom: 20px; border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--ligne-nuit); background: var(--nuit-2); }
.teaser video { display: block; width: 100%; height: auto; }

/* ---------- Galerie ---------- */
.mosaique { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .mosaique { gap: 20px; } }
@media (min-width: 900px) { .mosaique { grid-template-columns: repeat(4, 1fr); } }
.vignette { position: relative; border-radius: var(--rayon); overflow: hidden; background: var(--nuit-3); aspect-ratio: 3 / 4; }
.vignette img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.22,.61,.36,1); }
.vignette:hover img { transform: scale(1.06); }
.vignette::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,16,25,.55), transparent 55%); pointer-events: none; }
@media (min-width: 760px) { .vignette-decalee { transform: translateY(38px); } }
.vignette-legende { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }

/* ---------- Listes ---------- */
.duo-colonnes { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 880px) { .duo-colonnes { grid-template-columns: 1fr 1fr; gap: 56px; } }
.liste { list-style: none; }
.liste li { display: flex; align-items: baseline; gap: 11px; padding: 8px 0; border-bottom: 1px solid var(--ligne-jour); font-size: 14.5px; }
@media (min-width: 880px) { .liste li { padding: 11px 0; font-size: 15px; } }
.liste li::before { content: ""; flex: 0 0 5px; height: 5px; border-radius: 50%; background: var(--laiton-fonce); transform: translateY(-2px); }
.ecran-nuit .liste li { border-color: var(--ligne-nuit); }
.ecran-nuit .liste li::before { background: var(--laiton); }

.encart { margin-top: 18px; padding: 15px 17px; border-left: 2px solid var(--laiton-fonce); background: rgba(143,106,28,.07); border-radius: 0 var(--rayon) var(--rayon) 0; }
.encart strong { color: var(--laiton-fonce); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.encart p { font-size: 13.5px; color: var(--encre-douce); margin-top: 6px; }

/* ---------- Tarifs ---------- */
.grille-tarifs { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 820px) { .grille-tarifs { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.tarif { position: relative; padding: 26px 22px; border: 1px solid var(--ligne-jour); border-radius: var(--rayon); background: #fff; transition: transform .5s cubic-bezier(.22,.61,.36,1), border-color .5s, box-shadow .5s; }
.tarif:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(13,34,51,.10); }
.tarif-phare { border-color: var(--laiton-fonce); }
.tarif-ruban { position: absolute; top: 16px; right: 16px; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--laiton-fonce); border: 1px solid rgba(143,106,28,.4); padding: 4px 10px; border-radius: 100px; }
.tarif-saison { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-tenue); }
.tarif-prix { font-size: clamp(38px, 9vw, 48px); line-height: 1; font-weight: 700; letter-spacing: -.035em; margin: 12px 0 4px; }
.tarif-prix span { font-size: .42em; color: var(--laiton-fonce); font-weight: 600; }
.tarif-detail { font-size: 14px; color: var(--encre-douce); }

.frais { margin-top: 20px; display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--ligne-jour); border: 1px solid var(--ligne-jour); border-radius: var(--rayon); overflow: hidden; }
@media (min-width: 700px) { .frais { grid-template-columns: repeat(3, 1fr); } }
.frais div { background: #fff; padding: 15px 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.frais dt { font-size: 13.5px; color: var(--encre-douce); }
.frais dd { font-size: 15px; font-weight: 600; color: var(--laiton-fonce); }

/* ---------- Selecteur de saison ---------- */
.saisons { display: inline-flex; padding: 4px; border: 1px solid var(--ligne-nuit); border-radius: 100px; margin-bottom: 26px; background: rgba(255,255,255,.04); }
.saison-btn {
  border: 0; background: transparent; color: var(--doux); cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 9px 20px; border-radius: 100px;
  transition: background .35s, color .35s;
}
.saison-btn.actif { background: var(--laiton); color: #14100a; }
.saison-btn:focus-visible { outline: 2px solid var(--laiton); outline-offset: 2px; }

/* ---------- Cartes services et randonnees ---------- */
.grille-services { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 820px) { .grille-services { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.service { padding: 24px 22px; border: 1px solid var(--ligne-nuit); border-radius: var(--rayon); background: var(--nuit-2); display: flex; flex-direction: column; transition: transform .5s cubic-bezier(.22,.61,.36,1), border-color .5s; }
.service:hover { transform: translateY(-6px); border-color: rgba(201,168,106,.4); }
.service-numero { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 26px; color: var(--laiton); line-height: 1; }
.service h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 10px 0 7px; color: var(--clair); }
.service p { font-size: 14px; color: var(--doux); flex: 1; margin-bottom: 16px; }
.service-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.service-meta span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--laiton-clair); border: 1px solid rgba(201,168,106,.3); padding: 3px 9px; border-radius: 100px; }
.service-lien { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--laiton-clair); text-decoration: none; border-top: 1px solid var(--ligne-nuit); padding-top: 14px; transition: gap .3s, color .3s; }
.service-lien:hover { gap: 14px; color: #fff; }
.service-lien.attente { color: var(--tenu); cursor: default; }
.avantage { display: inline-block; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--laiton-clair); border: 1px solid rgba(201,168,106,.3); padding: 4px 10px; border-radius: 100px; margin-bottom: 12px; }
.avantage[hidden] { display: none; }

/* ---------- Bons plans ---------- */
.activites { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
@media (min-width: 760px) { .activites { grid-template-columns: repeat(3, 1fr); } }
.activite {
  display: block; position: relative; padding: 15px 17px; background: var(--nuit-2);
  border: 1px solid var(--ligne-nuit); border-radius: 14px; text-decoration: none;
  transition: border-color .4s, transform .4s;
}
.activite:hover { border-color: rgba(201,168,106,.45); transform: translateY(-3px); }
.activite b { display: block; font-size: 13.5px; color: var(--clair); font-weight: 600; padding-right: 20px; }
.activite > span { display: block; font-size: 12px; color: var(--tenu); margin-top: 2px; }
.activite::after { content: "→"; position: absolute; top: 14px; right: 15px; color: var(--laiton); font-size: 13px; opacity: 0; transform: translateX(-4px); transition: .3s; }
.activite:hover::after { opacity: 1; transform: none; }
.activite-reduc {
  display: inline-block; margin-top: 9px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--laiton-clair); border: 1px solid rgba(201,168,106,.35); padding: 3px 9px; border-radius: 100px;
}
.activite-mot {
  display: block; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--ligne-nuit);
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 15px; color: var(--laiton-clair); line-height: 1.5;
}
.sejour-extra { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
@media (min-width: 820px) { .sejour-extra { grid-template-columns: 1fr 1fr; gap: 18px; } }
a.service { text-decoration: none; }
.service-or { border-color: rgba(201,168,106,.45); }
.service-or .avantage { align-self: flex-start; }

/* ---------- Livre d'or ---------- */
.grille-avis { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 820px) { .grille-avis { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.carte-avis {
  background: #fff; border: 1px solid var(--ligne-jour); border-radius: var(--rayon);
  padding: 22px 20px; display: flex; flex-direction: column; gap: 10px;
}
.avis-etoiles { color: var(--laiton-fonce); font-size: 14px; letter-spacing: 3px; }
.carte-avis blockquote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 18px; color: var(--encre); line-height: 1.55; flex: 1; }
.avis-pied { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.avis-auteur { font-size: 13px; font-weight: 600; color: var(--encre-douce); }
.avis-cible { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--laiton-fonce); border: 1px solid rgba(143,106,28,.35); padding: 3px 9px; border-radius: 100px; }
.avis-vide { color: var(--encre-tenue); font-size: 14.5px; border: 1px dashed var(--ligne-jour); border-radius: var(--rayon); padding: 26px; text-align: center; grid-column: 1 / -1; }

.lieux { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 18px; background: var(--ligne-nuit); border: 1px solid var(--ligne-nuit); border-radius: var(--rayon); overflow: hidden; }
@media (min-width: 760px) { .lieux { grid-template-columns: repeat(3, 1fr); } }
.lieux div { background: var(--nuit-2); padding: 14px 16px; }
.lieux b { display: block; font-size: 13px; color: var(--laiton-clair); font-weight: 600; }
.lieux span { font-size: 12px; color: var(--tenu); }

/* ---------- Calendrier de disponibilites ---------- */
.calendrier { border: 1px solid var(--ligne-jour); border-radius: var(--rayon); background: #fff; padding: 18px; }
@media (min-width: 820px) { .calendrier { padding: 26px; } }

.cal-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.cal-nav {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--ligne-jour);
  background: #fff; color: var(--encre); font-size: 15px; cursor: pointer; transition: border-color .3s, color .3s;
}
.cal-nav:hover:not(:disabled) { border-color: var(--laiton-fonce); color: var(--laiton-fonce); }
.cal-nav:disabled { opacity: .25; cursor: default; }
.cal-nav:focus-visible { outline: 2px solid var(--laiton-fonce); outline-offset: 2px; }

.cal-legende { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; }
.cal-legende > span { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-tenue); }
.cal-puce { display: inline-block; width: 12px; height: 12px; border-radius: 4px; }
.cal-puce-libre { border: 1px solid var(--ligne-jour); background: var(--jour); }
.cal-puce-option { background: repeating-linear-gradient(45deg, rgba(201,168,106,.55) 0 3px, rgba(201,168,106,.18) 3px 6px); }
.cal-puce-reserve { background: var(--encre); }

.cal-mois-grille { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 820px) { .cal-mois-grille { grid-template-columns: 1fr 1fr; gap: 34px; } }
.cal-mois-nom { text-align: center; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 20px; color: var(--encre); margin-bottom: 10px; text-transform: capitalize; }
.cal-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-jsem { text-align: center; font-size: 10px; letter-spacing: .1em; color: var(--encre-tenue); text-transform: uppercase; padding-bottom: 4px; }

.cal-jour {
  position: relative; aspect-ratio: 1; border: 0; border-radius: 9px; background: var(--jour);
  font-size: 13px; font-weight: 500; color: var(--encre); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  transition: background .25s, color .25s, transform .25s;
}
.cal-prix { font-size: 8.5px; font-weight: 600; color: var(--encre-tenue); line-height: 1; }
.cal-jour.est-debut .cal-prix, .cal-jour.est-fin .cal-prix { color: rgba(255,255,255,.85); }
.cal-jour.est-entre .cal-prix { color: var(--laiton-fonce); }
.cal-jour:hover:not(:disabled):not(.est-reserve):not(.est-option) { background: #fff; box-shadow: inset 0 0 0 1px var(--laiton-fonce); transform: translateY(-1px); }
.cal-jour:focus-visible { outline: 2px solid var(--laiton-fonce); outline-offset: 1px; }
.cal-jour.est-passe { background: transparent; color: var(--encre-tenue); opacity: .38; cursor: default; }
.cal-jour.est-reserve { background: var(--encre); color: rgba(238,244,249,.55); text-decoration: line-through; }
.cal-jour.est-option { background: repeating-linear-gradient(45deg, rgba(201,168,106,.5) 0 4px, rgba(201,168,106,.16) 4px 8px); color: var(--laiton-fonce); }
.cal-jour.est-entre { background: rgba(201,168,106,.22); }
.cal-jour.est-debut, .cal-jour.est-fin { background: var(--laiton-fonce); color: #fff; font-weight: 700; text-decoration: none; }

.cal-bilan {
  margin-top: 18px; padding: 15px 17px; border: 1px dashed rgba(143,106,28,.45); border-radius: 13px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(143,106,28,.05);
}
.cal-bilan-texte { font-size: 14.5px; font-weight: 600; color: var(--encre); }
.cal-bilan-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.pastille-ligne { border-color: var(--ligne-jour); color: var(--encre-douce); background: #fff; }
.pastille-ligne:hover { border-color: var(--laiton-fonce); color: var(--laiton-fonce); transform: translateY(-2px); }
.cal-note { margin-top: 13px; font-size: 12.5px; color: var(--encre-tenue); text-align: center; min-height: 1.4em; }

@media (max-width: 879px) {
  .cal-legende > span { font-size: 10px; }
  .cal-bilan { padding: 13px 14px; }
  .cal-bilan .pastille { width: 100%; }
  .cal-bilan-actions { width: 100%; flex-direction: column-reverse; }
}

/* ---------- Contact ---------- */
.grille-contact { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 900px) { .grille-contact { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.contacts-directs { display: grid; gap: 12px; margin-top: 24px; }
.contact-direct { display: flex; align-items: center; gap: 14px; padding: 15px 17px; border: 1px solid var(--ligne-jour); border-radius: var(--rayon); text-decoration: none; color: var(--encre); background: #fff; transition: border-color .4s, transform .4s, box-shadow .4s; }
.contact-direct:hover { border-color: var(--laiton-fonce); transform: translateX(5px); box-shadow: 0 10px 26px rgba(13,34,51,.09); }
.contact-direct svg { flex: 0 0 auto; color: var(--laiton-fonce); }
.contact-direct b { display: block; font-size: 16px; font-weight: 600; }
.contact-direct span { font-size: 12px; color: var(--encre-tenue); letter-spacing: .1em; text-transform: uppercase; }

form { border: 1px solid var(--ligne-jour); border-radius: var(--rayon); padding: 22px; background: #fff; }
.champ { margin-bottom: 13px; }
.champ label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-tenue); margin-bottom: 7px; }
.champ input, .champ textarea {
  width: 100%; padding: 12px 14px; border-radius: 11px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--ligne-jour); background: var(--jour); color: var(--encre); transition: border-color .3s, background .3s;
}
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--laiton-fonce); background: #fff; }
.champ textarea { min-height: 84px; resize: vertical; }
.duo { display: grid; grid-template-columns: 1fr; gap: 13px; }
@media (min-width: 560px) { .duo { grid-template-columns: 1fr 1fr; } }
form .pastille { width: 100%; margin-top: 4px; }
.note-form { font-size: 13px; color: var(--encre-douce); margin-top: 12px; text-align: center; }

/* ---------- Panorama des sommets ---------- */
.panorama { background: var(--nuit); padding: 44px 0 0; }
.panorama .sur-titre { text-align: center; color: var(--laiton-clair); margin-bottom: 18px; }
.panorama-defile { overflow-x: auto; scrollbar-width: none; }
.panorama-defile::-webkit-scrollbar { display: none; }
.panorama svg { display: block; width: 100%; min-width: 1000px; height: auto; }

/* ---------- Pied ---------- */
footer { background: var(--nuit-3); color: var(--tenu); padding: 26px 0; }
footer .enveloppe { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; font-size: 12.5px; }

/* ---------- Compactage mobile ---------- */
@media (max-width: 879px) {
  .ecran { padding: 78px 0 54px; }
  .cle { padding: 17px 12px; }
  .service { padding: 19px 17px; }
  .service h3 { font-size: 18px; }
  .service p { font-size: 13.5px; margin-bottom: 13px; }
  .grille-services { gap: 11px; }
  .tarif { padding: 20px 18px; }
  .grille-tarifs { gap: 11px; }
  .frais div { padding: 12px 16px; }
  .lieux div { padding: 11px 13px; }
  .lieux span { display: none; }
  .grille-contact { gap: 22px; }
  .contacts-directs { margin-top: 16px; gap: 9px; }
  .contact-direct { padding: 13px 15px; }
  form { padding: 18px; }
  .champ { margin-bottom: 11px; }
  .champ textarea { min-height: 70px; }
  .mosaique { gap: 10px; }
  .saisons { margin-bottom: 20px; }
  .saison-btn { padding: 8px 16px; font-size: 12.5px; }
}

/* ---------- Apparitions ---------- */
.surgit { opacity: 0; transform: translateY(22px); transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1); }
.surgit.vu { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .surgit { opacity: 1; transform: none; transition: none; }
  .fond { transition: opacity .4s; transform: none; }
  .fond.actif { transform: none; }
  .molette i { animation: none; }
  .nav { transition: none; }
}

/* ---------- Bascules langue et saison ---------- */
body.lang-fr [data-en] { display: none !important; }
body.lang-en [data-fr] { display: none !important; }
body.saison-hiver [data-ete] { display: none !important; }
body.saison-ete [data-hiver] { display: none !important; }

/* =========================================================
   Transitions cinematographiques entre sections
   Chaque section recule et s estompe en sortant, la suivante
   monte au premier plan. Utilise les animations pilotees par
   le defilement : si le navigateur ne les gere pas, la page
   se comporte exactement comme avant.
   ========================================================= */
@keyframes entree-ecran {
  from { opacity: .45; transform: translateY(3.5%) scale(.965); }
  to   { opacity: 1;   transform: none; }
}
@keyframes sortie-ecran {
  from { opacity: 1;   transform: none; }
  to   { opacity: .28; transform: translateY(-2.5%) scale(.935); }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ecran {
      animation: entree-ecran linear both, sortie-ecran linear both;
      animation-timeline: view(), view();
      animation-range: entry 5% entry 65%, exit 20% exit 100%;
      transform-origin: center 30%;
      will-change: transform, opacity;
    }
    .banniere {
      animation: sortie-ecran linear both;
      animation-timeline: view();
      animation-range: exit 20% exit 100%;
      transform-origin: center 30%;
      will-change: transform, opacity;
    }
  }
}

/* ---------- Indicateur de progression ---------- */
.jalons {
  position: fixed; z-index: 80; right: 18px; top: 50%; transform: translateY(-50%) translateX(14px);
  display: none; flex-direction: column; align-items: flex-end; gap: 12px;
  opacity: 0; transition: opacity .5s, transform .5s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
@media (min-width: 1000px) { .jalons { display: flex; } }
.jalons.montres { opacity: 1; transform: translateY(-50%) translateX(0); pointer-events: auto; }

.jalon {
  display: flex; align-items: center; gap: 10px;
  background: none; border: 0; padding: 3px 0; cursor: pointer;
}
.jalon-nom {
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--encre-tenue); opacity: 0; transform: translateX(6px);
  transition: opacity .35s, transform .35s, color .35s; white-space: nowrap;
}
.jalon-trait {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: rgba(13, 34, 51, .28); transition: width .45s cubic-bezier(.22,.61,.36,1), background .45s;
}
.jalon:hover .jalon-nom, .jalon.actif .jalon-nom { opacity: 1; transform: none; }
.jalon:hover .jalon-trait { background: var(--laiton-fonce); width: 26px; }
.jalon.actif .jalon-trait { width: 34px; background: var(--laiton-fonce); }
.jalon:focus-visible { outline: 2px solid var(--laiton-fonce); outline-offset: 4px; border-radius: 4px; }

/* Sur fond sombre, l indicateur s eclaircit */
.jalons.sur-nuit .jalon-nom { color: var(--tenu); }
.jalons.sur-nuit .jalon-trait { background: rgba(238, 244, 249, .3); }
.jalons.sur-nuit .jalon:hover .jalon-trait,
.jalons.sur-nuit .jalon.actif .jalon-trait { background: var(--laiton); }

@media (prefers-reduced-motion: reduce) {
  .jalons { transition: none; }
  .jalon-trait, .jalon-nom { transition: none; }
}

/* ---------- Escapade : la vallee voisine ---------- */
.escapade { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--ligne-nuit); }
.escapade-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; margin-bottom: 8px; }
.escapade-tete h3 { font-size: clamp(22px, 5vw, 30px); font-weight: 700; letter-spacing: -.025em; color: var(--clair); }
.escapade-tete .distance {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--laiton-clair);
  border: 1px solid rgba(201, 168, 106, .3); padding: 4px 11px; border-radius: 100px;
}
.escapade > p { font-size: 14.5px; color: var(--doux); max-width: 62ch; margin-bottom: 16px; }
.escapade .service-lien { display: inline-flex; margin-top: 14px; border-top: 0; padding-top: 0; }
@media (max-width: 879px) {
  .escapade { margin-top: 20px; padding-top: 18px; }
  .escapade > p { font-size: 13.5px; margin-bottom: 13px; }
}

/* ---------- Bande photos des espaces communs ---------- */
.bande { margin-top: 26px; }
.bande-titre { margin-bottom: 12px; }
.bande-photos {
  display: grid; gap: 12px;
  grid-auto-flow: column; grid-auto-columns: 74%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.bande-photos::-webkit-scrollbar { display: none; }
@media (min-width: 880px) {
  .bande-photos {
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto;
    overflow: visible; scroll-snap-type: none; gap: 14px;
  }
}
.bande-photo {
  position: relative; border-radius: var(--rayon); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--nuit-3); scroll-snap-align: start;
}
.bande-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.22,.61,.36,1); }
.bande-photo:hover img { transform: scale(1.06); }
.bande-photo figcaption {
  position: absolute; left: 12px; bottom: 10px; z-index: 2;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 6px rgba(7,16,25,.8);
}
.bande-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(7,16,25,.55), transparent 55%);
}
