/* =========================================================
   Chalets Papillon — Feuille de style
   Palette : blanc cassé, encre, vert profond (rappel des
   intérieurs des chalets). Style épuré, éditorial.
   ========================================================= */

:root {
  --paper:      #FBFAF7;
  --paper-alt:  #F2F0EA;
  --ink:        #16181A;
  --ink-soft:   #5C5F5C;
  --line:       #E2DFD6;
  --green:      #1F3D34;
  --green-soft: #2F5A4C;
  --white:      #FFFFFF;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gut: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

/* L'attribut « hidden » doit toujours l'emporter : sans cette règle,
   une classe qui impose un display (.btn par exemple) le neutralise
   et laisse un bouton cliquable dans le vide. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
  font-variant-numeric: lining-nums;
}

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

section { padding-block: clamp(4.5rem, 11vw, 9rem); }

/* ---------- Petits éléments typographiques ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: .9rem;
}
.eyebrow::after {
  content: "";
  flex: 0 0 44px;
  height: 1px;
  background: var(--line);
}

.lead {
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

.section-title { font-size: clamp(2.25rem, 5vw, 3.5rem); text-wrap: balance; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-size: .93rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--green-soft); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--white); }

/* ---------- En-tête ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gut);
  background: rgba(251,250,247,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), padding .4s var(--ease), background .4s var(--ease);
}
.nav.is-solid {
  background: rgba(251,250,247,.96);
  border-bottom-color: var(--line);
  padding-block: .72rem;
}

.nav__brand {
  font-family: var(--serif);
  font-size: 1.22rem;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links a {
  color: var(--ink);
  text-decoration: none;
  font-size: .87rem;
  letter-spacing: .03em;
  opacity: .82;
  transition: opacity .25s var(--ease);
}
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .78rem;
  letter-spacing: .1em;
  padding: .38rem .8rem;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.lang button[aria-pressed="true"] { background: var(--green); color: var(--white); }

/* ---------- Hero ---------- */

.hero {
  background: var(--paper-alt);
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100svh;
  padding-top: 68px;
}
@media (min-width: 940px) {
  .hero { grid-template-columns: 1.04fr 1fr; }
}

.hero__text {
  display: flex;
  align-items: center;
  padding: clamp(2.75rem, 7vw, 5.5rem) var(--gut);
}
.hero__textInner { max-width: 34rem; margin-left: auto; width: 100%; }
@media (max-width: 939px) { .hero__textInner { margin-left: 0; } }

.hero__place {
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin: 0 0 1.6rem;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.9rem);
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.hero__sub {
  font-size: clamp(1.02rem, 1.5vw, 1.17rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 2.3rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__meta {
  margin: 2.6rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--ink-soft);
}

.hero__media {
  position: relative;
  min-height: 48svh;
  padding: 0 clamp(1rem, 3.4vw, 2.6rem) clamp(1rem, 3.4vw, 2.6rem) 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  opacity: .88;
  -webkit-mask-image:
    linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 20%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 14%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 20%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 14%);
  mask-composite: intersect;
}
@media (max-width: 939px) {
  .hero { padding-top: 62px; }
  .hero__media { padding: 0 var(--gut) var(--gut); order: -1; min-height: 44svh; }
  .hero__media img {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    -webkit-mask-composite: source-over;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    mask-composite: add;
  }
}

/* ---------- Intro + chiffres ---------- */

.intro__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: 1.05fr 1fr; align-items: start; }
}

.intro__figure { margin: 2.8rem 0 0; }
.intro__figure img {
  width: 100%;
  max-width: 27rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.fact { background: var(--paper); padding: 1.7rem 1.4rem; }
.fact strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.7rem;
  font-weight: 500;
  line-height: 1;
  color: var(--green);
  margin-bottom: .45rem;
}
.fact span { font-size: .87rem; color: var(--ink-soft); }

/* ---------- Chalets ---------- */

.chalet { border-top: 1px solid var(--line); }
.chalet__head { display: grid; gap: 1.6rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
@media (min-width: 860px) {
  .chalet__head { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
}
.chalet__title { font-size: clamp(2.2rem, 4.3vw, 3.1rem); margin-bottom: .8rem; }

.specs { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.specs li {
  font-size: .8rem;
  letter-spacing: .03em;
  padding: .42rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--white);
}

/* ---------- Carrousel en couronne ----------
   La photo du centre est nette et pleinement opaque.
   Celles qui l'entourent reculent, pâlissent et se floutent
   légèrement, comme si elles passaient derrière. */

/* Les photos de côté dépassent volontairement du centre ; on les
   rogne ici pour que la page ne devienne jamais plus large que l'écran. */
.carousel { position: relative; overflow: hidden; }

.carousel__track {
  position: relative;
  height: clamp(320px, 44vw, 540px);
  perspective: 1600px;
  transform-style: preserve-3d;
}
.carousel__track { touch-action: pan-y; user-select: none; }
.carousel__track:focus-visible { outline: 2px solid var(--green); outline-offset: 8px; }

.slide {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  aspect-ratio: 3 / 4;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper-alt);
  cursor: pointer;
  box-shadow: 0 22px 60px rgba(22,24,26,.18);
  transform: translate(-50%, -50%);
  transform-origin: center center;
  backface-visibility: hidden;
  transition: transform .85s var(--ease), opacity .85s var(--ease), filter .85s var(--ease);
  will-change: transform, opacity, filter;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.slide[data-pos="0"] { cursor: zoom-in; }

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(251,250,247,.92);
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.carousel__nav:hover { background: var(--white); }
.carousel__nav--prev { left: 4px; }
.carousel__nav--next { right: 4px; }

.carousel__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 1.4rem;
}
.carousel__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.carousel__dots button[aria-selected="true"] { background: var(--green); transform: scale(1.35); }

/* Bouton pause / lecture, discret, sous les points */
.carousel__pause {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: .9rem auto 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.carousel__pause:hover { color: var(--green); border-color: var(--green); background: var(--white); }
/* Deux barres : pause */
.carousel__pause::before {
  content: "";
  width: 8px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  box-sizing: border-box;
}
/* Triangle : lecture */
.carousel__pause.is-paused::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-left: 9px solid currentColor;
  border-right: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ---------- Grilles de cartes ----------
   Le nombre de colonnes est fixé par palier plutôt que laissé à
   « auto-fit » : sinon la dernière rangée reste incomplète. */

.section--alt { background: var(--paper-alt); }

.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
}
/* 9 cartes → 3 x 3 */
@media (min-width: 760px) { .grid-cards--wide { grid-template-columns: repeat(3, 1fr); } }
/* 6 cartes → 2 x 3 ou 3 x 2 */
@media (min-width: 560px) { .grid-cards--six { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-cards--six { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--paper); padding: 1.9rem 1.6rem; transition: background .35s var(--ease); }
/* Carte occupant toute la largeur : complète la dernière rangée. */
.card--wide { grid-column: 1 / -1; }
.section--alt .card { background: var(--paper-alt); }
.card:hover { background: var(--white); }
.card__icon { color: var(--green); margin-bottom: 1rem; display: block; }
.card h3 { font-size: 1.32rem; margin-bottom: .45rem; }
.card p { margin: 0; font-size: .92rem; color: var(--ink-soft); line-height: 1.6; }

/* Titre de carte cliquable : ouvre la galerie de l'activité */
.card__link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--green);
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(31,61,52,.32);
  transition: text-decoration-color .3s var(--ease);
}
.card__link:hover { text-decoration-color: currentColor; }
.card__link::after {
  content: "";
  display: inline-block;
  width: .42em;
  height: .42em;
  margin-left: .5em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-.1em);
  opacity: .55;
}

/* ---------- Listes ---------- */

.tick-list {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: .1rem 2.4rem;
}
.tick-list li {
  padding: .78rem 0 .78rem 1.75rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: .96rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.32rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.callout {
  margin: 2.6rem 0 0;
  padding: 1.25rem 1.6rem;
  border-left: 3px solid var(--green);
  background: rgba(255,255,255,.62);
  font-size: 1.04rem;
  max-width: 62ch;
}
.callout strong { font-family: var(--serif); font-weight: 400; }

/* « Un peu plus loin » : les destinations de la région élargie */
.region { margin-top: clamp(2.6rem, 5vw, 3.6rem); }
.region__title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: .7rem; }
.region__intro { color: var(--ink-soft); max-width: 62ch; margin: 0; font-size: 1rem; }
.region__list {
  margin: 1.9rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 720px) { .region__list { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; } }
.region__list > div { padding: 1rem 0; border-top: 1px solid var(--line); }
.region__list dt {
  font-family: var(--serif);
  font-size: 1.08rem;
  margin-bottom: .25rem;
  display: flex;
  align-items: baseline;
  gap: .7rem;
  flex-wrap: wrap;
}
.region__pays {
  font-family: var(--sans);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .15rem .6rem;
  background: var(--white);
}
.region__list dd { margin: 0; font-size: .93rem; color: var(--ink-soft); line-height: 1.6; }

/* Renvoi vers l'office de tourisme, sous les excursions */
.plus {
  margin: 2.2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .9rem;
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.plus a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(31,61,52,.32);
  transition: text-decoration-color .3s var(--ease);
}
.plus a:hover { text-decoration-color: currentColor; }

/* Réponse de FAQ pas encore rédigée — visible d'un coup d'œil */
.faq .todo {
  color: var(--green-soft);
  font-style: italic;
  background: rgba(47,90,76,.07);
  border-left: 2px solid var(--green-soft);
  padding: .55rem .9rem;
  display: inline-block;
}

/* Liste des itinéraires de randonnée, dans la vue activité */
.pistes { list-style: none; margin: 2rem 0 0; padding: 0; }
.pistes li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.pistes h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  margin: 0 0 .35rem;
}
.pistes p { margin: 0 0 .5rem; color: var(--ink-soft); font-size: .94rem; }
.pistes .meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.pistes .meta span {
  font-size: .76rem;
  letter-spacing: .04em;
  padding: .3rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--white);
}

/* ---------- Fond photo sur une moitié de page ----------
   Deux variantes en miroir : la photo naît du beige au centre
   et s'éteint en haut comme en bas. Les cartes deviennent
   translucides pour laisser l'image continuer derrière elles. */

.section--photo { position: relative; overflow: hidden; isolation: isolate; }
.section--photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  background-size: cover;
  opacity: .5;
  pointer-events: none;
}

/* Variante droite — les excursions */
.section--photo--right::before {
  inset: 0 0 0 46%;
  background-image: url("images/kayak.jpg");
  background-position: center 45%;
  -webkit-mask-image:
    linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 34%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 34%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}

/* Variante gauche — le domaine.
   Le titre et le chapeau occupent le haut à gauche : la photo ne
   commence qu'en dessous, pour ne pas gêner la lecture. */
.section--photo--left::before {
  inset: 0 54% 0 0;
  background-image: url("images/activites/plaine-1.jpg");
  background-position: center 40%;
  opacity: .46;
  -webkit-mask-image:
    linear-gradient(to left, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 34%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,1) 46%, rgba(0,0,0,1) 86%, rgba(0,0,0,0) 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to left, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 34%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,1) 46%, rgba(0,0,0,1) 86%, rgba(0,0,0,0) 100%);
}

.section--photo .grid-cards {
  background: rgba(226, 223, 214, .7);
  border-color: rgba(226, 223, 214, .85);
}
.section--photo .card {
  background: rgba(251, 250, 247, .84);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}
.section--photo.section--alt .card { background: rgba(242, 240, 234, .84); }
.section--photo .card:hover { background: rgba(255, 255, 255, .94); }

@media (max-width: 900px) {
  .section--photo::before {
    inset: 0 !important;
    opacity: .2;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 38%) !important;
            mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 38%) !important;
  }
}

/* ---------- Bande verte ---------- */

.band { background: var(--green); color: var(--white); }
.band .wrap { text-align: center; }
.band h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 22ch; margin-inline: auto; }
.band p { color: rgba(255,255,255,.82); max-width: 54ch; margin: 1.3rem auto 0; }

/* ---------- FAQ ---------- */

.faq { margin-top: clamp(2.2rem, 5vw, 3.2rem); border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 3rem 1.25rem 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: .6rem;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -6px;
  border-right: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--green); }
.faq p {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: .98rem;
  max-width: 68ch;
}

/* ---------- Contact ---------- */

.contact__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); margin-top: clamp(2rem, 5vw, 3rem); }
@media (min-width: 880px) { .contact__grid { grid-template-columns: 1fr 1fr; } }

.contact-lines { list-style: none; margin: 0 0 2.2rem; padding: 0; }
.contact-lines li { padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.contact-lines .k {
  display: block;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .3rem;
}
.contact-lines .v {
  font-family: var(--serif);
  font-size: 1.55rem;
  text-decoration: none;
  color: var(--ink);
}
.contact-lines .v:hover { color: var(--green); }
.contact-lines a.v { overflow-wrap: anywhere; }
.contact-lines .hint {
  display: block;
  margin-top: .45rem;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.contact__cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.note {
  font-size: .84rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--line);
  padding-left: 1.1rem;
  margin-top: 2rem;
}

/* ---------- Pied de page ---------- */

footer { border-top: 1px solid var(--line); padding-block: 3rem; font-size: .85rem; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
footer a { color: var(--green); }

/* ---------- Visionneuse plein écran ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12,14,13,.96);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-btn {
  position: absolute;
  appearance: none;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.06);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .3s var(--ease);
}
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 1.4rem; right: 1.4rem; }
.lb-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  letter-spacing: .12em;
}

/* ---------- Vue activité (panneau plein écran) ---------- */

.panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(22,24,26,.52);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  display: none;
  justify-content: flex-end;
}
.panel.is-open { display: flex; }

.panel__sheet {
  position: relative;
  width: min(760px, 100%);
  height: 100%;
  overflow-y: auto;
  background: var(--paper);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3.4rem) 4rem;
  animation: sheetIn .45s var(--ease);
}
@keyframes sheetIn {
  from { transform: translateX(3%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.panel__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .3s var(--ease);
}
.panel__close:hover { background: var(--paper-alt); }

.panel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 2.2rem;
}
@media (min-width: 620px) { .panel__grid { grid-template-columns: repeat(2, 1fr); } }
.panel__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.panel__grid img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
/* Photos panoramiques : pleine largeur, sans recadrage brutal. */
.panel__grid--pano img,
.panel__grid--pano img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 5; }

#panel-link { margin-top: 2rem; }

/* ---------- Apparition au défilement ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide img { transition: none; }
  .carousel__track { scroll-behavior: auto; }
  .panel__sheet { animation: none; }
}

/* ---------- Mobile ---------- */

@media (max-width: 860px) {
  .nav__links a[data-nav] { display: none; }
  .nav { gap: .6rem; }
}

/* Bouton de réservation en ligne sous la description d'un chalet */
.chalet__book { margin-top: 1.6rem; }
