/* ==========================================================================
   Rubriques & effets — lieu, galerie, programme, venir, hébergement, infos
   Principe : peu d’effets, mais soignés (ombres de feuillage, parallaxe douce,
   titres qui se dévoilent, frise qui se remplit, poussière de soleil).
   ========================================================================== */
:root {
  --font-script: 'Pinyon Script', 'Snell Roundhand', 'Apple Chancery', cursive;
  --gold-soft: #c9b27a;
  --shadow-card: 0 1px 0 var(--line), 0 22px 46px -32px rgba(75, 85, 48, 0.45);
}

/* --------------------------------------------------------------- socle */
.section { overflow: hidden; overflow: clip; }
.section__inner { position: relative; z-index: 1; }
.js .reveal { transition-delay: var(--d, 0ms); }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon .fill { fill: currentColor; stroke: none; }
.icon .dim { opacity: 0.4; }

.script-kicker {
  margin: 0 0 4px;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2rem, 7.5vw, 2.7rem);
  line-height: 1.15;
  color: var(--sage-deep);
}
.section-title--xl { font-size: clamp(2.9rem, 12vw, 4.8rem); }

.todo--confirm {
  background: rgba(127, 143, 105, 0.12);
  box-shadow: inset 0 0 0 1px rgba(127, 143, 105, 0.4);
  color: var(--sage-deep);
}

/* Titres dévoilés mot à mot */
[data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.06em 0.02em 0.12em;
  margin: -0.06em -0.02em -0.12em;
}
[data-split] .w > span {
  display: inline-block;
  transform: translate3d(0, 108%, 0) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 75ms + 80ms);
}
[data-split].is-visible .w > span { transform: none; }

/* Images qui s’ouvrent comme un rideau */
.js .reveal-mask {
  clip-path: inset(14% 8% 14% 8% round 28px);
  opacity: 0;
  transition: clip-path 1.4s var(--ease-out), opacity 0.9s ease;
}
.js .reveal-mask.is-visible { clip-path: inset(-12% -12% -12% -12% round 0px); opacity: 1; }
.js .reveal-mask--delay { transition-delay: 0.25s; }
.js .reveal-mask img { transform: scale(1.14); transition: transform 2s var(--ease-out); }
.js .reveal-mask.is-visible img { transform: scale(1); }

/* --------------------------------------------------------------- décor */
.leaf-shade {
  position: absolute;
  z-index: 0;
  top: -6%;
  left: -18%;
  right: -18%;
  height: 78%;
  pointer-events: none;
  background: url('/static/img/leaf-shadows-1600.webp') center top / cover no-repeat;
  opacity: 0.12;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
  transform-origin: 40% 0;
  animation: leaf-sway 17s ease-in-out infinite alternate;
  will-change: transform;
}
.leaf-shade--flip { animation-name: leaf-sway-flip; animation-duration: 19s; }
@keyframes leaf-sway {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) skewX(0deg); }
  50% { transform: translate3d(1.6%, 0.8%, 0) rotate(0.7deg) skewX(1.4deg); }
  100% { transform: translate3d(-1.2%, 1.6%, 0) rotate(-0.5deg) skewX(-1deg); }
}
@keyframes leaf-sway-flip {
  0% { transform: scaleX(-1) translate3d(0, 0, 0) rotate(0deg) skewX(0deg); }
  50% { transform: scaleX(-1) translate3d(1.4%, 1%, 0) rotate(-0.6deg) skewX(-1.2deg); }
  100% { transform: scaleX(-1) translate3d(-1%, 1.8%, 0) rotate(0.5deg) skewX(1deg); }
}

.deco {
  position: absolute;
  z-index: 0;
  height: auto;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  opacity: 0.5;
  will-change: transform;
}
.deco--olive { top: 28px; right: -18%; width: min(66vw, 520px); transform: translate3d(0, var(--py, 0px), 0) rotate(-9deg); }
.deco--olive-right { right: auto; left: -20%; transform: translate3d(0, var(--py, 0px), 0) scaleX(-1) rotate(-7deg); }
.deco--lavender { left: -46px; bottom: 5%; width: min(34vw, 220px); transform: translate3d(0, var(--py, 0px), 0) rotate(14deg); }
.deco--lavender-right { left: auto; right: -40px; top: 8%; bottom: auto; transform: translate3d(0, var(--py, 0px), 0) scaleX(-1) rotate(10deg); }
.deco--cicada { right: 5%; top: 54px; width: clamp(84px, 22vw, 130px); opacity: 0.6; transform: translate3d(0, var(--py, 0px), 0) rotate(-16deg); }

/* Poussière de soleil */
.sun-dust { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sun-dust span {
  position: absolute;
  bottom: -12px;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 240, 200, 0.95) 0%, rgba(214, 182, 112, 0.55) 45%, transparent 72%);
  opacity: 0;
  animation: dust-rise var(--t) linear var(--d) infinite;
  will-change: transform, opacity;
}
@keyframes dust-rise {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  12% { opacity: var(--o); }
  85% { opacity: var(--o); }
  100% { transform: translate3d(var(--x), var(--rise, -900px), 0); opacity: 0; }
}

/* --------------------------------------------------------------- compte à rebours (décor) */
.section--countdown .leaf-shade { opacity: 0.1; height: 90%; }

/* --------------------------------------------------------------- le lieu */
.section--estate {
  background: linear-gradient(to bottom, var(--ivory) 0%, var(--ivory-deep) 100%);
  padding-bottom: clamp(56px, 10vw, 96px);
}
.estate { display: grid; gap: clamp(48px, 9vw, 64px); }

.estate__media { position: relative; padding: 0 6% 20% 0; }
.estate__arch {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 20px 20px;
  overflow: hidden;
  background: var(--sage-light);
  box-shadow: 0 46px 80px -50px rgba(60, 50, 30, 0.7);
}
.estate__parallax { position: absolute; inset: -12% 0; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.estate__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.estate__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  border: 6px solid var(--ivory-card);
  box-shadow: 0 30px 60px -28px rgba(60, 50, 30, 0.6);
  rotate: 3deg;
}
.estate__inset img { width: 100%; height: 100%; object-fit: cover; display: block; }
.estate__stamp { position: absolute; left: -2%; bottom: 3%; width: clamp(96px, 26vw, 124px); height: auto; overflow: visible; }
.estate__stamp-bg { fill: var(--olive); }
.estate__stamp-ring { transform-origin: 60px 60px; animation: stamp-spin 38s linear infinite; }
.estate__stamp-ring text { fill: var(--ivory-deep); font-family: var(--font-sans); font-size: 9.6px; letter-spacing: 0.2em; text-transform: uppercase; }
.estate__stamp-big { fill: var(--ivory); font-family: var(--font-serif); font-size: 24px; font-style: italic; }
.estate__stamp-small { fill: #c9d3b6; font-family: var(--font-sans); font-size: 8px; letter-spacing: 0.24em; text-transform: uppercase; }
@keyframes stamp-spin { to { transform: rotate(360deg); } }

.estate__text { text-align: left; }
.estate__location {
  margin: 10px 0 0;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--olive-muted);
}
.estate__lead {
  margin: 26px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.32rem, 5vw, 1.6rem);
  line-height: 1.4;
  color: var(--olive);
}
.estate__body { margin: 16px 0 0; color: var(--olive-soft); max-width: 34em; }
.estate__note { margin: 20px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--sage); font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; }
.estate__note p { margin: 0; }
.estate__facts {
  list-style: none;
  margin: 30px 0 0;
  padding: 18px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.estate__facts li { display: grid; gap: 2px; padding: 0 10px; text-align: center; }
.estate__facts li + li { border-left: 1px solid var(--line); }
.estate__fact-value { font-family: var(--font-serif); font-size: clamp(1.5rem, 6vw, 1.9rem); line-height: 1.1; color: var(--olive); }
.estate__fact-label { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--olive-muted); line-height: 1.35; }
.estate__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

@media (min-width: 900px) {
  .estate { grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: clamp(56px, 7vw, 110px); }
  .estate__media { padding: 0 9% 16% 0; }
}

/* Galerie */
.gallery { position: relative; z-index: 1; margin-top: clamp(64px, 12vw, 110px); }
.gallery__track {
  list-style: none;
  margin: 0;
  padding: 4px 22px 14px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 22px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 78%; scroll-snap-align: center; }
.gallery__button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: var(--sage-light);
  box-shadow: 0 26px 50px -34px rgba(60, 50, 30, 0.7);
  cursor: zoom-in;
}
.gallery__button img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease-out); }
.gallery__button::after {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(30, 32, 20, 0.55));
  pointer-events: none;
}
.gallery__caption {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
@media (hover: hover) { .gallery__button:hover img { transform: scale(1.05); } }
.gallery__hint {
  margin: 6px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive-muted);
}
.gallery__hint span { width: 26px; height: 1px; background: currentColor; opacity: 0.5; }

@media (min-width: 900px) {
  .gallery__track {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 18px;
    overflow: visible;
  }
  .gallery__item { min-width: 0; }
  .gallery__item--1 { grid-row: 1 / span 2; grid-column: 1; }
  .gallery__item--2 { grid-row: 1; grid-column: 2; }
  .gallery__item--3 { grid-row: 1 / span 2; grid-column: 3; }
  .gallery__item--4 { grid-row: 2; grid-column: 2; }
  .gallery__button { aspect-ratio: auto; }
  .gallery__hint { display: none; }
}

/* Visionneuse */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(26, 28, 18, 0.94);
  color: #fff;
}
.lightbox::backdrop { background: rgba(26, 28, 18, 0.5); }
.lightbox[open] { display: grid; place-items: center; animation: lb-in 0.35s ease both; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 14px; padding: 64px 14px 40px; }
.lightbox__img {
  max-width: min(92vw, 1100px);
  max-height: 76vh;
  max-height: 76dvh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.45s ease, transform 0.6s var(--ease-out);
}
.lightbox__img.is-in { opacity: 1; transform: none; }
.lightbox__caption { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: #eee6cf; }
.lightbox__btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.25s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__btn--close { top: calc(14px + var(--safe-top)); right: 14px; }
.lightbox__btn--prev { left: 12px; top: 50%; margin-top: -24px; }
.lightbox__btn--next { right: 12px; top: 50%; margin-top: -24px; }
html.lightbox-open, html.lightbox-open body { overflow: hidden; }

/* --------------------------------------------------------------- bandeau défilant */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  background: var(--olive);
  color: var(--ivory-deep);
}
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item {
  padding: 0 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.45rem, 5.4vw, 2.2rem);
  white-space: nowrap;
}
.marquee__star { color: var(--gold-soft); font-size: 0.85rem; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* --------------------------------------------------------------- interlude photo */
.interlude {
  position: relative;
  height: clamp(440px, 88vh, 840px);
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}
.interlude__media { position: absolute; inset: -14% 0; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.interlude__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.interlude__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--ivory) 0%, rgba(250, 246, 238, 0) 16%, rgba(250, 246, 238, 0) 84%, var(--ivory) 100%),
    radial-gradient(70% 55% at 50% 50%, rgba(30, 34, 20, 0.42), rgba(30, 34, 20, 0.18));
}
.interlude__text { position: relative; margin: 0; padding: 0 22px; display: grid; gap: 6px; }
.interlude__line {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 10.5vw, 5.4rem);
  line-height: 1;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.interlude__script {
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 8.6vw, 4rem);
  line-height: 1.1;
  color: #f3ead2;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* --------------------------------------------------------------- programme */
.section--program { background: var(--ivory); }
.section__inner--program { max-width: 900px; }
.timeline-wrap { position: relative; }
.timeline__rail {
  position: absolute;
  left: 21px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  border-radius: 2px;
  background: rgba(159, 174, 138, 0.25);
  overflow: hidden;
}
.timeline__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--sage), var(--sage-deep));
  transform-origin: 50% 0;
  transform: scaleY(var(--p, 0));
}
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.timeline__item { position: relative; padding-left: 62px; }
.timeline__date { display: none; }
.timeline__dot {
  position: absolute;
  left: 0;
  top: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ivory-card);
  color: var(--sage-deep);
  box-shadow: inset 0 0 0 1px var(--sage), 0 0 0 7px var(--ivory);
  transition: background 0.6s ease, color 0.6s ease, box-shadow 0.6s ease;
}
.timeline__dot .icon { width: 22px; height: 22px; }
.timeline__item.is-active .timeline__dot {
  background: var(--olive);
  color: var(--ivory);
  box-shadow: inset 0 0 0 1px var(--olive), 0 0 0 7px var(--ivory), 0 0 0 9px rgba(159, 174, 138, 0.45);
}

.day-card {
  position: relative;
  padding: 26px 22px;
  border-radius: 22px;
  background: var(--ivory-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
}
@media (hover: hover) {
  .day-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 30px 60px -34px rgba(75, 85, 48, 0.55); }
}
.day-card__num {
  position: absolute;
  right: 14px;
  top: 2px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 5.4rem;
  line-height: 1;
  color: rgba(159, 174, 138, 0.2);
  pointer-events: none;
}
.day-card__header { position: relative; }
.day-card__label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.day-card__title {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 7.4vw, 2.4rem);
  line-height: 1.08;
}
.day-card__intro { margin: 14px 0 0; color: var(--olive-soft); }
.day-card__block { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.day-card__subtitle {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive-muted);
}
.moments { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.moment { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: baseline; }
.moment__time { font-family: var(--font-serif); font-size: 1.25rem; color: var(--sage-deep); }
.moment__body { display: grid; }
.moment__body strong { font-weight: 500; }
.moment__body span { color: var(--olive-soft); font-size: 0.95rem; }
.place { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.place__icon .icon { color: var(--sage-deep); margin-top: 3px; }
.place__body { display: grid; gap: 4px; justify-items: start; }
.place__name { margin: 0; font-weight: 500; }
.place__address, .place__note { margin: 0; color: var(--olive-soft); font-size: 0.95rem; }
.place .btn { margin-top: 10px; }

@media (min-width: 820px) {
  .timeline__rail { left: 181px; }
  .timeline__item { padding-left: 0; display: grid; grid-template-columns: 150px 64px 1fr; align-items: start; }
  .timeline__date {
    display: grid;
    justify-items: end;
    padding: 18px 10px 0 0;
    text-align: right;
    line-height: 1;
  }
  .timeline__weekday { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage-deep); }
  .timeline__num { margin-top: 6px; font-family: var(--font-serif); font-size: 4.2rem; font-weight: 500; color: var(--olive); }
  .timeline__month { margin-top: 4px; font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--olive-soft); }
  .timeline__dot { position: relative; left: auto; top: 22px; justify-self: center; }
  .day-card { padding: 32px 36px; }
  .day-card__num { display: none; }
}

/* --------------------------------------------------------------- dress code (raccord) */
.section--dress { background: linear-gradient(to bottom, var(--ivory) 0%, var(--sage-mist) 55%, var(--ivory-deep) 100%); }

/* --------------------------------------------------------------- venir */
.section--access { background: var(--ivory-deep); }
.access { display: grid; gap: 20px; }
.access__map {
  position: relative;
  margin: 0;
  padding: 10px;
  border-radius: 26px;
  background-color: #f7f1e3;
  background-image: var(--grain);
  background-size: 220px 220px;
  box-shadow: var(--shadow-card);
}
.access__map-note { margin: 6px 0 4px; text-align: center; font-size: 0.75rem; color: var(--olive-muted); }
.map { display: block; width: 100%; height: auto; overflow: visible; }
.map__river { fill: none; stroke: #bccdc6; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; opacity: 0.75; }
.map__river--thin { stroke-width: 4.5; }
.map__river-label { font-family: var(--font-serif); font-style: italic; font-size: 14px; fill: #84a098; }
.map__area { font-family: var(--font-serif); font-style: italic; font-size: 14px; fill: var(--olive-muted); text-anchor: middle; }
.map__ring { fill: none; stroke: var(--sage-deep); stroke-opacity: 0.4; stroke-width: 1.2; stroke-dasharray: 3 6; }
.map__ring-label { font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; fill: var(--sage-deep); }
.map__route { fill: none; stroke: var(--olive); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.55; }
.access__map.is-visible .map__route { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s cubic-bezier(0.5, 0, 0.2, 1) 0.6s; }
.js .map__ring-group { opacity: 0; transform-origin: 50% 50%; transform-box: fill-box; transform: scale(0.85); transition: opacity 1s ease, transform 1.2s var(--ease-out); transition-delay: calc(0.5s + var(--i) * 0.18s); }
.access__map.is-visible .map__ring-group { opacity: 1; transform: none; }
.map__place circle { fill: var(--olive-soft); }
.map__place rect { fill: #7f9b93; }
.map__place path { fill: var(--sage-deep); }
.map__place text { font-family: var(--font-sans); font-size: 13px; fill: var(--olive); paint-order: stroke; stroke: #f7f1e3; stroke-width: 4px; stroke-linejoin: round; }
.map__place--city text { font-size: 15px; font-weight: 500; }
.map__place--station text, .map__place--abbey text { font-size: 12px; fill: var(--olive-soft); font-style: italic; }
.map__glow { opacity: 0.9; }
.map__venue-dot { fill: var(--olive); }
.map__venue-house { fill: var(--ivory); }
.map__pulse { fill: var(--sage); opacity: 0; transform-box: fill-box; transform-origin: center; animation: map-pulse 3s ease-out infinite; }
.map__pulse--late { animation-delay: 1.5s; }
@keyframes map-pulse { 0% { transform: scale(0.45); opacity: 0.6; } 100% { transform: scale(2.3); opacity: 0; } }
.map__venue-label rect { fill: var(--olive); }
.map__venue-label text { fill: var(--ivory); font-family: var(--font-serif); font-style: italic; font-size: 15px; }
.map__compass circle { fill: var(--ivory-card); stroke: var(--line); }
.map__compass path { fill: var(--sage); }
.map__compass .map__compass-n { fill: var(--olive); }
.map__compass text { font-family: var(--font-sans); font-size: 10px; font-weight: 500; fill: var(--olive); }

.access__side { display: grid; gap: 16px; align-content: start; }
.address-card {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 28px 24px 24px;
  border-radius: 24px;
  font-style: normal;
  background: var(--olive);
  color: var(--ivory);
  overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(40, 45, 25, 0.8);
}
.address-card::before {
  content: '';
  position: absolute;
  right: -70px;
  top: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 238, 0.12);
  box-shadow: 0 0 0 26px rgba(250, 246, 238, 0.03), 0 0 0 52px rgba(250, 246, 238, 0.02);
}
.address-card__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(250, 246, 238, 0.12); margin-bottom: 12px; }
.address-card__name { font-family: var(--font-serif); font-size: 2rem; line-height: 1.1; }
.address-card__line { color: #dfe4d2; }
.address-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(250, 246, 238, 0.12);
  color: var(--ivory);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.chip .icon { width: 17px; height: 17px; }
.chip:hover { background: rgba(250, 246, 238, 0.22); }
.chip--ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(250, 246, 238, 0.3); }
.chip.is-copied { background: var(--sage-light); color: var(--olive); box-shadow: none; }
.address-card__warning { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: 0.86rem; line-height: 1.5; color: #e9dfbf; }
.address-card__warning .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--gold-soft); }

.parking-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 20px;
  border-radius: 20px;
  background: var(--ivory-card);
  box-shadow: var(--shadow-card);
}
.parking-card__icon { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--sage-light); color: var(--olive); }
.parking-card__title { margin: 0 0 4px; font-family: var(--font-serif); font-weight: 500; font-size: 1.45rem; }
.parking-card p { margin: 0; color: var(--olive-soft); font-size: 0.95rem; }
.parking-card .is-empty { margin-top: 10px; }

.modes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.mode-card { padding: 24px 22px; border-radius: 20px; background: var(--ivory-card); box-shadow: var(--shadow-card); }
.mode-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sage-light), var(--sage-mist));
  color: var(--olive);
}
.mode-card__icon .icon { width: 24px; height: 24px; }
.mode-card__title { margin: 14px 0 10px; font-family: var(--font-serif); font-weight: 500; font-size: 1.55rem; }
.mode-card__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mode-card__lines li { position: relative; padding-left: 16px; font-size: 0.94rem; color: var(--olive-soft); line-height: 1.55; }
.mode-card__lines li::before { content: ''; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }

@media (min-width: 640px) { .modes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .access { grid-template-columns: 1.15fr 0.85fr; gap: 26px; align-items: start; }
  .access__side { gap: 22px; }
}
@media (min-width: 1100px) { .modes { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* --------------------------------------------------------------- hébergement */
.section--stay { background: linear-gradient(to bottom, var(--ivory-deep) 0%, var(--sage-mist) 40%, var(--ivory) 100%); }
.stay-onsite {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 720px;
  margin: 0 auto 30px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.75);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.95rem;
  color: var(--olive-soft);
}
.stay-onsite .icon { color: var(--sage-deep); margin-top: 2px; }

.picks { display: grid; gap: 14px; margin-bottom: 34px; }
.pick {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: 22px;
  background: var(--ivory-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.pick::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(159, 174, 138, 0.22), transparent);
}
.pick__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: var(--ivory); }
.pick__icon .icon { width: 22px; height: 22px; }
.pick__kicker { margin: 16px 0 0; font-family: var(--font-script); font-size: 1.6rem; line-height: 1; color: var(--sage-deep); }
.pick__title { margin: 6px 0 8px; font-family: var(--font-serif); font-weight: 500; font-size: 1.55rem; line-height: 1.15; }
.pick__text { margin: 0; font-size: 0.95rem; color: var(--olive-soft); }
@media (min-width: 820px) { .picks { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.stays { padding: 22px 14px 20px; border-radius: 26px; background: var(--ivory-card); box-shadow: var(--shadow-card); }
.stays__head { display: grid; gap: 14px; margin-bottom: 18px; }
.stays__count { margin: 0; text-align: center; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive-muted); }
.stays__count strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.7rem; letter-spacing: 0; color: var(--olive); margin-right: 4px; }
.tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: var(--sage-mist);
}
.tabs__tab {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  min-height: 52px;
  padding: 8px 4px;
  border-radius: 12px;
  text-align: center;
  transition: color 0.35s ease;
}
.tabs__label { font-weight: 500; font-size: 0.9rem; line-height: 1.2; }
.tabs__sub { font-size: 0.68rem; color: var(--olive-muted); transition: color 0.35s ease; }
.tabs__tab[aria-selected='true'] { color: var(--ivory); }
.tabs__tab[aria-selected='true'] .tabs__sub { color: rgba(250, 246, 238, 0.75); }
.tabs__tab:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 2px; }
.tabs__indicator {
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 12px;
  background: var(--olive);
  box-shadow: 0 8px 18px -10px rgba(40, 45, 25, 0.8);
  transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out);
}
.stays__panel:focus-visible { outline: 2px solid var(--sage); outline-offset: 4px; border-radius: 12px; }
.stays__panel.is-entering .stay { animation: stay-in 0.55s var(--ease-out) both; }
.stays__panel.is-entering .stay:nth-child(2) { animation-delay: 40ms; }
.stays__panel.is-entering .stay:nth-child(3) { animation-delay: 80ms; }
.stays__panel.is-entering .stay:nth-child(4) { animation-delay: 120ms; }
.stays__panel.is-entering .stay:nth-child(5) { animation-delay: 160ms; }
.stays__panel.is-entering .stay:nth-child(n + 6) { animation-delay: 200ms; }
@keyframes stay-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.stays__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stay {
  display: grid;
  gap: 5px;
  align-content: start;
  padding: 16px 16px 10px;
  border-radius: 16px;
  background: var(--ivory);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
@media (hover: hover) {
  .stay:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(127, 143, 105, 0.45), 0 16px 32px -24px rgba(75, 85, 48, 0.55); }
}
.stay__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.stay__name { margin: 0; font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; line-height: 1.15; }
.stay__distance { flex: none; padding: 2px 9px; border-radius: 999px; background: var(--sage-light); color: var(--olive); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em; }
.stay__meta { margin: 0; font-size: 0.86rem; color: var(--olive-muted); }
.stay__tags { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 2px 9px; border-radius: 999px; background: rgba(176, 122, 42, 0.1); color: #8a6224; font-size: 0.72rem; font-weight: 500; }
.stay__note { margin: 0; font-size: 0.83rem; font-style: italic; color: var(--olive-soft); }
.stay__actions { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }
.stay__action { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 0.86rem; color: var(--olive); text-decoration: none; }
.stay__action .icon { width: 16px; height: 16px; color: var(--sage-deep); }
.stay__action:hover span { text-decoration: underline; text-underline-offset: 3px; }
.stays__footnote { margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--sage-mist); font-size: 0.9rem; color: var(--olive-soft); }
.stays__footnote a { color: var(--olive); font-weight: 500; text-underline-offset: 3px; white-space: nowrap; }
.stays__footnote .icon { width: 13px; height: 13px; vertical-align: -1px; }
.stays__legal { margin: 18px 0 0; text-align: center; font-size: 0.78rem; color: var(--olive-muted); }

@media (min-width: 640px) {
  .stays { padding: 28px 26px 24px; }
  .stays__head { grid-template-columns: auto 1fr; align-items: center; }
  .stays__count { text-align: left; }
  .stays__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (min-width: 1000px) {
  .stays__grid { grid-template-columns: repeat(3, 1fr); }
  .tabs { max-width: 560px; justify-self: end; width: 100%; }
}

/* --------------------------------------------------------------- infos */
.section--infos { background: var(--ivory); }
.tips { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 12px; }
.tip { position: relative; padding: 24px 22px; border-radius: 20px; background: var(--ivory-card); box-shadow: var(--shadow-card); }
.tip__icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--sage-light), var(--sage-mist));
  color: var(--olive);
}
.tip__icon .icon { width: 23px; height: 23px; }
.tip__title { margin: 0 0 6px; font-family: var(--font-serif); font-weight: 500; font-size: 1.45rem; line-height: 1.15; }
.tip__text { margin: 0; font-size: 0.94rem; color: var(--olive-soft); }
@media (min-width: 640px) { .tips { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .tips { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.infos-bottom { display: grid; gap: 20px; max-width: 760px; margin: 0 auto; }
.infos-bottom .contact-card { margin-top: 0; }
.contact-card__venue { margin: 14px 0 0; font-size: 0.86rem; color: var(--olive-soft); }
.contact-card__venue a { color: var(--olive); font-weight: 500; text-underline-offset: 3px; }

/* --------------------------------------------------------------- pied de page */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 88px 22px calc(48px + var(--safe-bottom));
  text-align: center;
  background: var(--olive);
  color: var(--ivory-deep);
}
html.is-sealed .site-footer,
html.is-opening .site-footer { visibility: hidden; }
.site-footer__glow {
  position: absolute;
  left: 50%;
  top: -55%;
  width: 140%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(201, 211, 182, 0.2), transparent 70%);
  pointer-events: none;
}
.site-footer__medal {
  position: relative;
  z-index: 1;
  width: 128px;
  height: 128px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ivory);
  box-shadow: 0 0 0 8px rgba(250, 246, 238, 0.08), 0 0 0 18px rgba(250, 246, 238, 0.04), 0 24px 40px -18px rgba(0, 0, 0, 0.45);
}
.site-footer__medal img { width: 96px; height: auto; animation: cicada-float 6s ease-in-out infinite; }
@keyframes cicada-float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-4px) rotate(-2deg); }
}
.site-footer__script { position: relative; z-index: 1; margin: 0; font-family: var(--font-script); font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1.1; color: #ece5cd; }
.site-footer__dates { position: relative; z-index: 1; margin: 14px 0 0; font-size: 0.78rem; letter-spacing: 0.26em; text-transform: uppercase; }
.site-footer__venue { position: relative; z-index: 1; margin: 6px 0 0; font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: #d7dcc8; }
.site-footer__nav { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 30px auto 26px; max-width: 520px; }
.site-footer__nav a { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: #c9d0b8; text-decoration: none; padding: 6px 0; }
.site-footer__nav a:hover { color: var(--ivory); }
.site-footer .link-button { position: relative; z-index: 1; color: #c9d0b8; text-decoration-color: rgba(201, 208, 184, 0.4); }

/* --------------------------------------------------------------- mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  .leaf-shade, .marquee__track, .estate__stamp-ring, .map__pulse, .site-footer__medal img { animation: none; }
  [data-split] .w > span { transform: none; transition: none; }
  .js .reveal-mask { clip-path: none; opacity: 1; transition: none; }
  .js .reveal-mask img { transform: none; }
  .map__route { stroke-dashoffset: 0; }
  .js .map__ring-group { opacity: 1; transform: none; }
}

/* Onglets compacts sur petit écran */
@media (max-width: 420px) {
  .tabs__label { font-size: 0.8rem; white-space: nowrap; }
  .tabs__sub { font-size: 0.62rem; }
}
