/* =====================================================================
   Résidence Keur Antou — feuille de style principale
   ---------------------------------------------------------------------
   Direction artistique tirée du dépliant 3 volets :
   - vert sauge du logotype, vert olive du monogramme, fonds crème ;
   - titres en Barlow, grotesque d'inspiration DIN comme sur le dépliant ;
   - frise construite en répétant le monogramme du logo : ses arcs
     concentriques se rejoignent et dessinent des amandes ;
   - blocs olive qui chevauchent les photos, comme sur le dépliant.
   Mobile-first. Toutes les couleurs et mesures passent par les variables.
   ===================================================================== */

/* ---------- Polices auto-hébergées (aucune requête vers Google) ---------- */
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Jetons de design ---------- */
:root {
  /* Couleurs (contrastes vérifiés WCAG AA, voir README) */
  --encre: #26301f;        /* texte courant — 12.5:1 sur crème */
  --sauge: #5b6c57;        /* couleur du logotype — titres, boutons */
  --sauge-nuit: #3c4839;   /* fonds sombres (réservation, pied de page) */
  --olive: #96a725;        /* vert du monogramme — aplats, jamais pour du texte clair */
  --olive-clair: #c8d46a;  /* accents sur fond sombre */
  --lin: #dfe4c4;          /* frise, filets */
  --creme: #f5f5ec;        /* fond des panneaux, comme sur le dépliant */
  --blanc: #ffffff;
  --erreur: #9b2c1f;

  /* Typographie */
  /* Barlow (libre, inspirée du DIN). Si une licence web DIN est achetée,
     il suffit de placer son nom en tête de cette liste. */
  --f-titre: "Barlow", "DIN 2014", "DIN Next LT Pro", "D-DIN", Bahnschrift, "Arial Narrow", sans-serif;
  --f-texte: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --t-2xl: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem);
  --t-hero: clamp(2.4rem, 1.2rem + 5vw, 5.25rem);

  /* Espacements et gabarit */
  --gouttiere: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 2rem);
  --largeur: 78rem;
  --texte-max: 38rem;
  --rayon: 2px;
  --header-h: 5rem;

  /* Frise : le monogramme du logo répété (fichiers SVG, mis en cache) */
  --frise: url("../img/frise-claire.svg");
  --frise-sombre: url("../img/frise-sombre.svg");
  --frise-h: 64px;
  --frise-l: calc(var(--frise-h) * 82.07 / 105);   /* largeur d'un motif, proportions conservées */

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--encre);
  background: var(--blanc);
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--f-titre);
  font-weight: 400;
  line-height: 1.1;
  color: var(--olive);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
/* Comme sur le dépliant : titres de section en capitales espacées */
h2 {
  font-size: var(--t-2xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.15;
}
h3 { font-size: var(--t-xl); letter-spacing: 0.01em; }
p { margin: 0 0 1em; }

a { color: var(--sauge); text-underline-offset: 0.2em; }
a:hover { color: var(--encre); }

:focus-visible {
  outline: 3px solid var(--sauge-nuit);
  outline-offset: 3px;
  border-radius: var(--rayon);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--sauge-nuit);
  color: var(--blanc);
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.section { padding-block: var(--section); }
.section--creme { background: var(--creme); }

.intro { font-size: var(--t-lg); color: var(--olive); text-transform: uppercase; }

/* La frise : bande décorative utilisée comme couture entre les sections */
.frise {
  height: var(--frise-h);
  background: var(--frise) repeat-x center / var(--frise-l) var(--frise-h);
}
.frise--sombre { background-image: var(--frise-sombre); }
@media (min-width: 48em) { :root { --frise-h: 88px; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid var(--sauge);
  border-radius: var(--rayon);
  background: var(--sauge);
  color: var(--blanc);
  font: 600 1rem/1.2 var(--f-texte);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--sauge-nuit); border-color: var(--sauge-nuit); color: var(--blanc); }
.btn--clair { background: var(--blanc); border-color: var(--blanc); color: var(--sauge-nuit); }
.btn--clair:hover { background: var(--creme); border-color: var(--creme); color: var(--encre); }
.btn--contour { background: transparent; color: var(--blanc); border-color: rgb(255 255 255 / 0.8); }
.btn--contour:hover { background: rgb(255 255 255 / 0.12); border-color: var(--blanc); }
.btn--lien { background: transparent; color: var(--sauge); }
.btn--lien:hover { background: var(--sauge); color: var(--blanc); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- En-tête ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: rgb(255 255 255 / 0);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.header.is-solide {
  background: rgb(255 255 255 / 0.97);
  box-shadow: 0 1px 0 var(--lin);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}
.header__logo { display: block; width: 180px; flex-shrink: 0; }
.header__logo img { width: 100%; }
/* Logo blanc sur la photo, logo couleur une fois l'en-tête opaque */
.header__logo .logo-couleur { display: none; }
.header.is-solide .logo-couleur { display: block; }
.header.is-solide .logo-blanc { display: none; }

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blanc);
  cursor: pointer;
}
.header.is-solide .nav__toggle { color: var(--sauge); }
.nav__toggle svg { width: 28px; height: 28px; }

.nav__menu {
  position: fixed;
  inset: var(--header-h) 0 auto;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 1rem var(--gouttiere) 2rem;
  list-style: none;
  background: var(--blanc);
  box-shadow: 0 12px 24px rgb(38 48 31 / 0.12);
}
.nav__menu.is-ouvert { display: flex; }
.nav__menu a:not(.btn) {
  display: block;
  padding: 0.75rem 0;
  color: var(--encre);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--lin);
}
.nav__menu .btn { margin-top: 1rem; width: 100%; }

@media (min-width: 60em) {
  :root { --header-h: 6.25rem; }
  .header__logo { width: 260px; }
  .nav__toggle { display: none; }
  .nav__menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .nav__menu a:not(.btn) {
    padding: 0.5rem 0;
    border: 0;
    color: var(--blanc);
    font-size: 0.95rem;
  }
  .nav__menu a:not(.btn):hover { text-decoration: underline; }
  .header.is-solide .nav__menu a:not(.btn) { color: var(--encre); }
  .nav__menu .btn { margin: 0; width: auto; min-height: 2.6rem; padding: 0.5rem 1.2rem; }
  .header:not(.is-solide) .nav__menu .btn { background: var(--blanc); border-color: var(--blanc); color: var(--sauge-nuit); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  color: var(--blanc);
  background: var(--sauge-nuit);
  overflow: hidden;
}
.hero__media, .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__media img { object-fit: cover; object-position: 50% 30%; }
/* Voile pour garantir la lisibilité du texte blanc sur la photo */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(38 48 31 / 0.6) 0%, rgb(38 48 31 / 0) 25%),
    linear-gradient(0deg, rgb(38 48 31 / 0.7) 0%, rgb(38 48 31 / 0.35) 45%, rgb(38 48 31 / 0.1) 80%),
    linear-gradient(90deg, rgb(38 48 31 / 0.72) 0%, rgb(38 48 31 / 0.45) 40%, rgb(38 48 31 / 0) 70%);
}
/* Texte centré verticalement dans l'espace libre (sous l'en-tête, au-dessus de la frise),
   légèrement remonté par le padding bas plus généreux */
.hero__contenu {
  position: relative;
  align-self: center;
  padding-block: calc(var(--header-h) + 2rem) calc(var(--frise-h) + 5rem);
}
.hero h1 {
  max-width: 16ch;
  margin-bottom: 1.25rem;
  font-size: var(--t-hero);
  font-weight: 300;
  color: var(--blanc);
  letter-spacing: 0.005em;
}
.hero__texte {
  max-width: 34rem;
  font-size: var(--t-lg);
  color: rgb(255 255 255 / 0.92);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
/* La frise du dépliant ferme la photo, comme sur la couverture imprimée */
.hero__frise {
  position: absolute;
  inset: auto 0 0;
  height: var(--frise-h);
  background: var(--creme) var(--frise) repeat-x center / var(--frise-l) var(--frise-h);
}

/* ---------- La résidence ---------- */
.residence__grille { display: grid; gap: 2.5rem; }
.residence__photo { position: relative; }
.residence__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* Bloc olive qui chevauche la photo, signature du dépliant */
.residence__panneau {
  position: relative;
  margin: -3rem 1rem 0;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--olive);
  color: var(--encre);
}
.residence__panneau h2 {
    color: #FFFFFF;
}
.residence_texte_blanc {
    color: #FFFFFF;
}

.residence__panneau p:last-child { margin-bottom: 0; }

.hote {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--lin);
}
.hote img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hote h3 { font-size: var(--t-lg); margin-bottom: 0.4em; }
.hote p { margin: 0; }

@media (min-width: 60em) {
  .residence__grille {
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
    gap: 0 2rem;
  }
  .residence__photo { grid-column: 1 / 9; grid-row: 1; }
  .residence__panneau {
    grid-column: 7 / 13;
    grid-row: 1;
    margin: 18rem 0 0;
  }
  .residence__texte { grid-column: 1 / 7; grid-row: 2; margin-top: 3.5rem; }
  .residence__cote { grid-column: 8 / 13; grid-row: 2; margin-top: 3.5rem; }
  .hote { margin-top: 0; padding-top: 0; border: 0; }
}

/* ---------- Chambres et suites ---------- */
.chambres__tete { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.chambre {
  display: grid;
  gap: 1.75rem;
  padding-block: 2.5rem;
  border-top: 1px solid var(--lin);
}
.chambre:last-of-type { border-bottom: 1px solid var(--lin); }
.chambre__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.chambre__nombre { margin: 0 0 0.35rem; color: var(--sauge); font-weight: 600; }
.chambre h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 300; margin-bottom: 0.4em; }
.chambre__cles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-weight: 600;
}
.chambre__cles li { display: inline-flex; align-items: center; gap: 0.5rem; }
.equipements {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: 0.6rem 1.25rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.975rem;
}
.equipements li { display: flex; align-items: center; gap: 0.6rem; }
.icone { width: 22px; height: 22px; flex-shrink: 0; color: var(--olive); }
.chambre__prix {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}
.chambre__prix p { margin: 0; font-family: var(--f-titre); font-size: var(--t-lg); color: var(--sauge); }

.chambres__commun {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--creme);
  max-width: none;
}

@media (min-width: 52em) {
  .chambre {
    grid-template-columns: 7fr 5fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding-block: 3.5rem;
  }
  .chambre:nth-of-type(even) .chambre__photo { order: 2; }
  .chambre__photo--portrait img { aspect-ratio: 4 / 5; max-height: 38rem; }
}

/* ---------- Restaurant ---------- */
.restaurant { background: var(--creme); }
.restaurant__grille { display: grid; }
.restaurant__photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.restaurant__texte {
  padding: clamp(2.5rem, 6vw, 5rem) var(--gouttiere);
  align-self: center;
}
.restaurant__texte h2 { max-width: 22ch; }
.restaurant__horaires {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0.25rem 2rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--f-titre);
  font-size: var(--t-lg);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sauge);
}
@media (min-width: 60em) {
  .restaurant__grille { grid-template-columns: 1fr 1fr; min-height: 36rem; }
  .restaurant__photo img { aspect-ratio: auto; }
  .restaurant__texte { padding-inline: clamp(3rem, 6vw, 6rem); }
}

/* ---------- Services ---------- */
.services__grille { display: grid; gap: 2.5rem; }
.services__liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--lin);
}
.services__liste li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0.5rem 1.25rem 0;
  border-bottom: 1px solid var(--lin);
}
.services__liste .icone { width: 30px; height: 30px; margin-top: 0.1rem; }
.services__liste strong { display: block; font-weight: 600; }
.services__liste span { font-size: 0.95rem; color: var(--sauge); }
@media (min-width: 60em) {
  .services__grille { grid-template-columns: 4fr 8fr; gap: 4rem; }
}

/* ---------- Galerie ---------- */
.galerie__grille {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 9rem;
  grid-auto-flow: dense;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.galerie__grille li { position: relative; }
.galerie__grille .grand { grid-column: span 2; grid-row: span 2; }
.galerie__grille .haut { grid-row: span 2; }
.galerie__btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--lin);
  cursor: zoom-in;
  overflow: hidden;
}
.galerie__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.3s;
}
.galerie__btn:hover img { transform: scale(1.04); }
@media (min-width: 48em) {
  .galerie__grille { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 12rem; }
}
@media (min-width: 75em) {
  .galerie__grille { grid-auto-rows: 14rem; }
}

/* Visionneuse (élément <dialog> natif : focus piégé et Échap gérés par le navigateur) */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100svh;
  max-height: 100svh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(26 32 22 / 0.96);
  color: var(--blanc);
}
.lightbox::backdrop { background: rgb(26 32 22 / 0.9); }
.lightbox__figure {
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  height: 100%;
  margin: 0;
  padding: 4.5rem 1rem 1.5rem;
}
.lightbox__figure img { max-height: 100%; width: auto; object-fit: contain; }
.lightbox__figure figcaption { padding-top: 1rem; text-align: center; }
.lightbox__btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 50%;
  background: rgb(26 32 22 / 0.6);
  color: var(--blanc);
  cursor: pointer;
}
.lightbox__btn:hover { background: var(--sauge); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__fermer { top: 1rem; right: 1rem; }
.lightbox__prec { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__suiv { right: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__compteur { position: absolute; top: 1.6rem; left: 1.25rem; font-size: var(--t-sm); }

/* ---------- Accès ---------- */
.acces__grille { display: grid; gap: 2.5rem; }
.acces__adresse {
  font-style: normal;
  font-family: var(--f-titre);
  font-size: var(--t-xl);
  line-height: 1.3;
  color: var(--sauge);
  margin-bottom: 2rem;
}
.distances { margin: 0; }
.distances div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--lin);
}
.distances div:first-child { border-top: 1px solid var(--lin); }
.distances dt { font-weight: 600; }
.distances dd { margin: 0; text-align: right; color: var(--sauge); }
.carte {
  position: relative;
  min-height: 22rem;
  background: var(--lin);
}
.carte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.carte__lien { margin-top: 0.75rem; font-size: var(--t-sm); }
@media (min-width: 60em) {
  .acces__grille { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: stretch; }
  .carte { min-height: 30rem; }
}

/* ---------- Réservation / contact ---------- */
.reserver {
  background: var(--sauge-nuit);
  color: var(--blanc);
}
.reserver h2 { color: var(--blanc); }
.reserver .intro { color: rgb(255 255 255 / 0.88); }
.reserver a { color: var(--olive-clair); }
.reserver__grille { display: grid; gap: 3rem; }
.reserver__coordonnees {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.reserver__coordonnees li { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; }
.reserver__coordonnees .icone { color: var(--olive-clair); }
.reserver__coordonnees a { color: var(--blanc); font-size: var(--t-lg); text-decoration: none; }
.reserver__coordonnees a:hover { text-decoration: underline; }

.formulaire {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--blanc);
  color: var(--encre);
}
.formulaire__ligne { display: grid; gap: 0 1.25rem; }
@media (min-width: 40em) {
  .formulaire__ligne--2 { grid-template-columns: 1fr 1fr; }
  .formulaire__ligne--3 { grid-template-columns: 1fr 1fr 1fr; }
}
.champ { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.champ label { margin-bottom: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.champ .optionnel { font-weight: 400; color: var(--sauge); }
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #8c9888;       /* 3.1:1 sur blanc : bordure perceptible */
  border-radius: var(--rayon);
  background: var(--blanc);
  color: var(--encre);
  font: inherit;
}
.champ textarea { min-height: 8rem; resize: vertical; }
.champ input:focus-visible,
.champ select:focus-visible,
.champ textarea:focus-visible { border-color: var(--sauge-nuit); outline-offset: 1px; }
.champ [aria-invalid="true"] { border-color: var(--erreur); }
.champ__erreur { min-height: 1.25rem; margin: 0.3rem 0 0; font-size: var(--t-sm); color: var(--erreur); }
.champ__erreur:empty { min-height: 0; margin: 0; }

.consentement { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; margin-bottom: 1.25rem; font-size: 0.95rem; }
.consentement input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--sauge); }
.consentement .champ__erreur { grid-column: 2; }

/* Champ piège pour robots : hors écran, ignoré des lecteurs d'écran */
.pot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.cf-turnstile { min-height: 65px; margin-bottom: 1.25rem; }

.formulaire__statut {
  margin: 1.25rem 0 0;
  padding: 0;
  max-width: none;
  font-weight: 600;
}
.formulaire__statut.is-succes { padding: 1rem 1.25rem; background: #eef2d8; color: var(--encre); }
.formulaire__statut.is-erreur { padding: 1rem 1.25rem; background: #f7e4e0; color: var(--erreur); }
.formulaire__mention { margin: 1rem 0 0; font-size: var(--t-sm); color: var(--sauge); max-width: none; }

@media (min-width: 60em) {
  .reserver__grille { grid-template-columns: 4fr 7fr; gap: 5rem; align-items: start; }
}

/* ---------- Pied de page ---------- */
.footer {
  background: var(--sauge-nuit);
  color: rgb(255 255 255 / 0.9);
  font-size: 0.95rem;
}
.footer__frise { background-color: var(--sauge-nuit); }
.footer__grille {
  display: grid;
  gap: 2rem;
  padding-block: 3.5rem 2rem;
}
/* Remplace les styles en ligne, bloqués par la politique de sécurité (CSP) */
.footer__bas--haut { padding-bottom: 0; }
.footer__grille--serre { padding-top: 10px; }
.footer__logo { width: 280px; max-width: 100%; }
.footer address { font-style: normal; }
.footer a { color: var(--blanc); }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-bottom: 0.4rem; }
.footer__social { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer .icone { color: var(--olive-clair); }
.footer__bas {
  padding-block: 1.5rem 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.15);
  font-size: var(--t-sm);
  color: rgb(255 255 255 / 0.75);
}
@media (min-width: 48em) {
  .footer__grille { grid-template-columns: 2fr 1.5fr 1fr 1fr; align-items: start; }
}

/* ---------- Pages légales ---------- */
.legal { padding-block: calc(var(--header-h) + 3rem) var(--section); }
.legal h1 { font-size: var(--t-2xl); }
.legal h2 { font-size: var(--t-xl); margin-top: 2.5rem; }
.legal .a-completer { background: #fff4c2; padding: 0 0.2em; }
.header--page { background: var(--blanc); box-shadow: 0 1px 0 var(--lin); }

/* ---------- Mouvement ----------
   Un seul moment orchestré à l'ouverture (photo + titre du hero),
   puis une apparition discrète des photos au défilement. */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: hero-zoom 2.4s cubic-bezier(.2,.7,.2,1) both; }
  .hero__contenu > * { animation: hero-monte 1s cubic-bezier(.2,.7,.2,1) both; }
  .hero__contenu > :nth-child(2) { animation-delay: 0.15s; }
  .hero__contenu > :nth-child(3) { animation-delay: 0.3s; }

  .js .apparait { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1); }
  .js .apparait.est-visible { opacity: 1; transform: none; }
}
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes hero-monte { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Impression ---------- */
@media print {
  .header, .hero__frise, .frise, .galerie, .carte, .formulaire, .nav__toggle { display: none !important; }
  .hero { min-height: auto; color: var(--encre); background: none; }
  .hero__media { display: none; }
  .hero h1, .hero__texte { color: var(--encre); }
}
