/* =========================================================
   La Bouchonnière — Feuille de style
   Style champêtre / rustique · palette bois, sauge, crème
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  /* Palette */
  --c-cream:      #f7f2e9;  /* crème / blanc cassé (fond principal) */
  --c-cream-alt:  #efe7d7;  /* crème plus soutenu (sections alternées) */
  --c-sand:       #e4d7c1;  /* sable / lin */
  --c-wood:       #7a5c3e;  /* bois brun */
  --c-wood-dark:  #5b4530;  /* bois foncé (titres) */
  --c-terracotta: #c17a54;  /* terracotta (accents) */
  --c-terracotta-dark: #a9633f;
  --c-sage:       #8a9a6b;  /* vert sauge / olive */
  --c-sage-dark:  #6d7c50;
  --c-ink:        #40372c;  /* texte principal */
  --c-muted:      #5f4f3d;  /* texte secondaire (contraste renforcé) */
  --c-line:       #d8cab2;  /* filets / bordures */

  /* Typo */
  --font-title:  "Cormorant Garamond", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --font-body:   "Jost", "Segoe UI", system-ui, sans-serif;

  /* Divers */
  --radius:      14px;
  --radius-lg:   22px;
  --shadow:      0 10px 30px rgba(64, 55, 44, 0.10);
  --shadow-soft: 0 4px 16px rgba(64, 55, 44, 0.08);
  --maxw:        1140px;
  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Image du hero (fallback JPEG ; la version WebP est servie plus bas
     via image-set() pour les navigateurs qui la supportent) */
  --hero-image: url("photos/PHOTO-page-Accueil.jpg");
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--c-ink);
  background-color: var(--c-cream);
  /* Texture lin très légère générée en CSS (pas de dépendance externe) */
  background-image:
    radial-gradient(rgba(122, 92, 62, 0.035) 1px, transparent 1px),
    radial-gradient(rgba(122, 92, 62, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: 0 0, 11px 11px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--c-terracotta-dark); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--c-wood-dark); }

h1, h2, h3, h4 { font-family: var(--font-title); color: var(--c-wood-dark); font-weight: 600; line-height: 1.2; }

.script { font-family: var(--font-script); font-weight: 400; color: var(--c-terracotta); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2.5rem); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}
.btn--primary {
  background: var(--c-terracotta);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: var(--c-terracotta-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--c-wood-dark);
  border-color: var(--c-wood);
}
.btn--ghost:hover { background: var(--c-wood); color: #fff; transform: translateY(-2px); }

/* =========================================================
   EN-TÊTE / NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--c-line);
}
/* Le fond flouté est porté par ce pseudo-élément : appliquer backdrop-filter
   directement sur .site-header en ferait le bloc conteneur du menu mobile
   (position: fixed), qui déborderait alors la page vers la droite. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(247, 242, 233, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem clamp(1.2rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-wood-dark);
  letter-spacing: 0.01em;
}
.nav__brand-script { font-family: var(--font-script); color: var(--c-terracotta); font-size: 1.7rem; margin-right: 2px; }

.nav__menu {
  list-style: none;
  display: flex;
  gap: 1.9rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav__menu a {
  color: var(--c-ink);
  font-weight: 400;
  font-size: 1rem;
  position: relative;
}
.nav__menu a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--c-terracotta);
  transition: width 0.25s var(--ease);
}
.nav__menu a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--c-sage);
  color: #fff !important;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.2s var(--ease);
}
.nav__cta:hover { background: var(--c-sage-dark); }

/* Burger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--c-wood-dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Voile derrière le menu mobile (affiché uniquement sous 720px) */
.nav__backdrop { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.2rem;
  color: #fff;
  overflow: hidden;
  /* Dégradé de secours si l'image n'est pas encore fournie */
  background:
    linear-gradient(rgba(50, 38, 26, 0.5), rgba(50, 38, 26, 0.55)),
    var(--hero-image),
    linear-gradient(135deg, #8a9a6b 0%, #7a5c3e 100%);
  background-size: cover;
  background-position: center;
}
/* Version WebP (~15 % plus légère). Les navigateurs qui ne comprennent pas
   image-set()/type() ignorent tout ce bloc et gardent le JPEG ci-dessus. */
@supports (background-image: image-set(url("x.webp") type("image/webp"))) {
  .hero {
    background-image:
      linear-gradient(rgba(50, 38, 26, 0.5), rgba(50, 38, 26, 0.55)),
      image-set(
        url("photos/PHOTO-page-Accueil.webp") type("image/webp"),
        url("photos/PHOTO-page-Accueil.jpg")  type("image/jpeg")
      ),
      linear-gradient(135deg, #8a9a6b 0%, #7a5c3e 100%);
  }
}
.hero__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(40, 30, 20, 0.35) 100%);
  pointer-events: none;
}
.hero__content { position: relative; max-width: 760px; }
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.9);
}
.hero__title {
  font-size: clamp(3rem, 9vw, 6rem);
  color: #fff;
  margin: 0 0 1.2rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.hero__title .script { color: #f0d3ba; }
.hero__tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 2.2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.hero__tagline strong { font-weight: 500; color: #f6e6d4; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.8); }
.hero .btn--ghost:hover { background: #fff; color: var(--c-wood-dark); }

.hero__scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
}
.hero__scroll span {
  display: block;
  width: 24px; height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  position: relative;
}
.hero__scroll span::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* =========================================================
   SECTIONS génériques
   ========================================================= */
.section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--alt { background: var(--c-cream-alt); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(1.8rem, 3.5vw, 2.4rem); }
.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--c-sage-dark);
  margin: 0 0 0.6rem;
}
.section__title { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin: 0 0 0.4rem; }
.section__intro { color: var(--c-muted); font-size: 1.08rem; margin: 1.2rem 0 0; }

.divider { color: var(--c-terracotta); margin: 0.8rem auto 0; line-height: 0; }

.fine-print { text-align: center; color: var(--c-muted); font-size: 1rem; font-style: italic; margin-top: 1.6rem; }

/* ---------- Point différenciant ---------- */
.highlight {
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--c-sage) 0%, var(--c-sage-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.8rem;
  margin: 0 auto clamp(1.8rem, 3.5vw, 2.4rem);
  max-width: 860px;
  box-shadow: var(--shadow);
}
.highlight__icon {
  flex-shrink: 0;
  width: 62px; height: 62px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
}
.highlight__title { color: #fff; font-size: 1.5rem; margin: 0 0 0.4rem; }
.highlight p { margin: 0; color: rgba(255, 255, 255, 0.94); }
.highlight strong { color: #fff; font-weight: 500; }

/* ---------- Grille de caractéristiques ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card__icon {
  width: 58px; height: 58px;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-sand);
  color: var(--c-wood);
}
.feature-card h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }
.feature-card p { margin: 0; color: var(--c-muted); font-size: 0.98rem; }

/* =========================================================
   GALERIE — Carrousel « grande boîte » + miniatures
   ========================================================= */
.carousel { margin: 0 auto; }

/* --- Grande boîte (photo mise en avant) --- */
.carousel__stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--c-sand);
  aspect-ratio: 16 / 9;
}
.carousel__viewport { position: absolute; inset: 0; }

/* Slides superposées : seule .is-active est visible (fondu enchaîné).
   Sans JS (pas de .is-enhanced), les figures s'affichent empilées. */
.carousel.is-enhanced .carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease);
}
.carousel.is-enhanced .carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
}
.carousel__slide { margin: 0; }
/* <picture> est inline par défaut : on le rend transparent pour la mise en page
   afin que l'image conserve les dimensions de la slide. */
.carousel__slide picture { display: block; width: 100%; height: 100%; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel.is-enhanced .carousel__slide img { cursor: zoom-in; }
.carousel__slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2rem 1.2rem 0.9rem;
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.3rem;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(40, 30, 20, 0.72));
}

/* --- Flèches & bouton loupe (masqués tant que JS n'a pas activé le carrousel) --- */
.carousel:not(.is-enhanced) .carousel__arrow,
.carousel:not(.is-enhanced) .carousel__zoom,
.carousel:not(.is-enhanced) .carousel__counter { display: none; }

.carousel__arrow,
.carousel__zoom {
  position: absolute;
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  color: var(--c-wood-dark);
  background: rgba(247, 242, 233, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(2px);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.carousel__arrow { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; }
.carousel__arrow--prev { left: 0.9rem; }
.carousel__arrow--next { right: 0.9rem; }
.carousel__arrow:hover,
.carousel__zoom:hover { background: #fff; color: var(--c-terracotta-dark); }
.carousel__arrow:hover { transform: translateY(-50%) scale(1.06); }
.carousel__zoom {
  top: 0.9rem; right: 0.9rem;
  width: 44px; height: 44px;
  border-radius: 50%;
}
.carousel__arrow:focus-visible,
.carousel__zoom:focus-visible {
  outline: 2px solid var(--c-terracotta);
  outline-offset: 2px;
}

.carousel__counter {
  position: absolute;
  bottom: 0.9rem; right: 0.9rem;
  margin: 0;
  padding: 0.25rem 0.7rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: #fff;
  background: rgba(40, 30, 20, 0.55);
  border-radius: 999px;
}

/* --- Bande de miniatures --- */
.carousel__thumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
}
.carousel__thumbs:empty { display: none; }
.carousel__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--c-sand);
  line-height: 0;
  opacity: 0.65;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.carousel__thumb img { width: 96px; height: 68px; object-fit: cover; }
.carousel__thumb:hover { opacity: 1; transform: translateY(-2px); }
.carousel__thumb.is-active { opacity: 1; border-color: var(--c-terracotta); }
.carousel__thumb:focus-visible { outline: 2px solid var(--c-terracotta); outline-offset: 2px; }

/* =========================================================
   LIGHTBOX — Affichage plein écran
   ========================================================= */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(40, 30, 20, 0.92);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox__figure {
  margin: 0;
  max-width: 92vw;
  text-align: center;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__caption {
  margin-top: 1rem;
  color: #f7f2e9;
  font-family: var(--font-title);
  font-size: 1.35rem;
}
.lightbox__close,
.lightbox__arrow {
  position: absolute;
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.lightbox__close:hover,
.lightbox__arrow:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__close { top: 1.1rem; right: 1.1rem; width: 48px; height: 48px; }
.lightbox__arrow { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; }
.lightbox__arrow:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__arrow--prev { left: clamp(0.6rem, 3vw, 2rem); }
.lightbox__arrow--next { right: clamp(0.6rem, 3vw, 2rem); }
.lightbox__close:focus-visible,
.lightbox__arrow:focus-visible { outline: 2px solid var(--c-terracotta); outline-offset: 2px; }
.lightbox__counter {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(247, 242, 233, 0.8);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

@media (prefers-reduced-motion: reduce) {
  .carousel.is-enhanced .carousel__slide,
  .lightbox { transition: none; }
}

/* =========================================================
   TARIFS
   ========================================================= */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  max-width: 820px;
  margin: 0 auto;
  align-items: start;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.price-card__name { font-size: 1.7rem; margin: 0 0 0.3rem; }
.price-card__meta { color: var(--c-muted); font-size: 1rem; margin: 0 0 1rem; }
.price-card__amount {
  font-family: var(--font-title);
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--c-terracotta-dark);
  margin: 0 0 1.2rem;
  line-height: 1;
}
.price-card__amount span { font-size: 1.6rem; }
.price-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  text-align: left;
}
.price-card__list li {
  padding: 0.55rem 0 0.55rem 1.7rem;
  position: relative;
  border-bottom: 1px dashed var(--c-line);
  font-size: 0.97rem;
  color: var(--c-ink);
}
.price-card__list li:last-child { border-bottom: none; }
.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.05rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c-sage);
}
.price-card__list strong { color: var(--c-wood-dark); font-weight: 600; }
.price-card__btn { width: 100%; }

.deposit-note {
  display: flex;
  align-items: flex-start; /* l'icône reste sur la première ligne quand le texte passe à la ligne */
  justify-content: center;
  gap: 0.55rem;
  max-width: 820px;
  margin: 2rem auto 0;
  padding: 1rem 1.4rem;
  background: var(--c-sand);
  border-radius: var(--radius);
  color: var(--c-wood-dark);
  font-size: 0.98rem;
  text-align: center;
}
.deposit-note svg { color: var(--c-sage-dark); flex-shrink: 0; margin-top: 0.22em; }
.deposit-note strong { white-space: nowrap; } /* « 250 € » ne se coupe jamais en fin de ligne */

/* =========================================================
   ACCÈS
   ========================================================= */
.access {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: stretch;
}
.access__info h3 { font-size: 1.6rem; margin: 0 0 0.6rem; }
.access__info address { font-style: normal; font-size: 1.1rem; color: var(--c-ink); margin-bottom: 1.6rem; }
.access__list { list-style: none; padding: 0; margin: 0; }
.access__list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink);
}
.access__list li:last-child { border-bottom: none; }
.access__list svg { color: var(--c-terracotta); flex-shrink: 0; }
.access__list strong { color: var(--c-wood-dark); font-weight: 600; }

.access__info h3 + .access__directions,
.access__list + h3 { margin-top: 1.6rem; }
.access__directions { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.access__directions li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.4rem;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink);
  line-height: 1.5;
}
.access__directions li:last-child { border-bottom: none; }
.access__directions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--c-terracotta);
}
.access__directions strong { color: var(--c-wood-dark); font-weight: 600; }

.access__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  background: var(--c-sand);
}
.access__map-frame {
  position: relative;
  flex: 1;
  min-height: 300px;
  overflow: hidden; /* rogne le bandeau OSM (liens superflus) ancré en bas de l'iframe */
}
.access__map-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  /* dépasse pour pousser le bandeau OSM hors du cadre visible ;
     ce bandeau passe sur 2 lignes en dessous de ~480px de large, d'où le surplus plus grand */
  height: calc(100% + 60px);
  border: 0;
}
@media (min-width: 480px) {
  .access__map-frame iframe { height: calc(100% + 24px); }
}
.access__map-attribution {
  margin: 0;
  padding: 0.45rem 0.7rem;
  background: #fff;
  text-align: center;
  font-size: 0.88rem;
  color: var(--c-muted);
}
.access__map-attribution a { color: var(--c-muted); text-decoration: underline; }
.access__map-attribution a:hover { color: var(--c-wood-dark); }
.access__map-link {
  display: block;
  text-align: center;
  padding: 0.7rem;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

/* =========================================================
   CONTACT (email uniquement)
   ========================================================= */
.contact-cta {
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.2rem);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.contact-cta__person {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--c-wood-dark);
  margin: 0 0 1.1rem;
}
.contact-cta__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0.5rem 0;
  font-size: 1.05rem;
}
.contact-cta__ico {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-sand);
  color: var(--c-wood);
}
.contact-cta__row a { color: var(--c-wood-dark); font-weight: 500; }
.contact-cta__row a:hover { color: var(--c-terracotta); }
.contact-cta__btn { margin-top: 1.3rem; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.site-footer {
  background: var(--c-wood-dark);
  color: rgba(247, 242, 233, 0.85);
  padding-top: 2.2rem;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 1.8rem;
}
.site-footer__name { font-family: var(--font-title); font-size: 1.7rem; color: var(--c-cream); margin: 0 0 0.5rem; }
.site-footer__name .script { color: #f0d3ba; }
.site-footer__addr { font-size: 0.95rem; margin: 0; max-width: 260px; }
.site-footer__col h4 { color: var(--c-cream); font-size: 1.1rem; margin: 0 0 0.9rem; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: 0.5rem; }
.site-footer__col a { color: rgba(247, 242, 233, 0.85); }
.site-footer__col a:hover { color: #fff; }
.site-footer__legal {
  border-top: 1px solid rgba(247, 242, 233, 0.15);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.85rem;
  /* 0.75 minimum : en dessous, le contraste sur le bois foncé passe sous 4.5:1 */
  color: rgba(247, 242, 233, 0.75);
}
.site-footer__legal p { margin: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 860px) {
  .access { grid-template-columns: 1fr; }
  .carousel__stage { aspect-ratio: 3 / 2; }
  .carousel__slide figcaption { font-size: 1.15rem; }
}

@media (max-width: 720px) {
  /* Menu mobile */
  /* Le burger reste au-dessus du panneau ouvert : les deux sont dans le
     contexte d'empilement de .site-header, il lui faut donc un z-index > 90. */
  .nav__toggle { display: flex; position: relative; z-index: 95; }
  /* Le panneau part du haut et passe sous l'en-tête (z-index inférieur) :
     aucune dépendance à la hauteur exacte de l'en-tête, donc pas de bande vide. */
  .nav__menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 90;
    /* top/bottom plutôt qu'une hauteur en vh : toujours exactement la hauteur
       visible, y compris avec la barre d'URL mobile qui apparaît/disparaît. */
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 6rem 2rem 2rem; /* dégage la zone de l'en-tête */
    overflow-y: auto;
    background: var(--c-cream);
    border-left: 1px solid var(--c-line);
    box-shadow: -12px 0 30px rgba(64, 55, 44, 0.12);
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
  }
  .nav__menu.is-open { transform: translateX(0); }

  .nav__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(64, 55, 44, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s var(--ease), visibility 0.32s var(--ease);
  }
  .nav__backdrop.is-open { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav__menu a { font-size: 1.15rem; }
  .nav__cta { display: inline-block; }

  .highlight { flex-direction: column; text-align: center; align-items: center; }

  /* Sur plusieurs lignes, le texte aligné à gauche se lit mieux à côté de l'icône */
  .deposit-note { text-align: left; }

  /* Pied de page : les 3 colonnes serrées rendaient l'adresse et l'e-mail
     illisibles (mots coupés au milieu). On empile tout sur une colonne. */
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  .site-footer__addr { max-width: none; font-size: 1rem; line-height: 1.65; }
  .site-footer__col h4 { margin-bottom: 0.7rem; }
  /* Liens en bloc : cible tactile plus large et jamais tronqués */
  .site-footer__col li { margin-bottom: 0.25rem; }
  .site-footer__col a { display: inline-block; padding: 0.35rem 0; overflow-wrap: anywhere; }
  .site-footer__legal { font-size: 0.9rem; padding: 1.3rem 0; }
}

@media (max-width: 460px) {
  .carousel__stage { aspect-ratio: 4 / 3; }
  .carousel__arrow { width: 40px; height: 40px; }
  .carousel__arrow--prev { left: 0.5rem; }
  .carousel__arrow--next { right: 0.5rem; }
  /* Miniatures en défilement horizontal pour gagner de la hauteur */
  .carousel__thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.3rem;
  }
  .carousel__thumb { flex: 0 0 auto; }
  .carousel__thumb img { width: 78px; height: 56px; }
  .hero__actions .btn { width: 100%; }
}

/* Respect des préférences de réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
