/* ==========================================================================
   LE MAS DES GLYCINES — feuille de styles
   --------------------------------------------------------------------------
   Direction artistique : une maison d'hôtes de famille en Provence.
   Papier (calcaire), encre (chêne fumé), terre d'argile et vert d'olive.
   La photographie porte la page ; la typographie (Instrument Serif) la
   tient ; les règles de 1 px remplacent les cartes et les ombres.

   Sommaire
   01. Polices auto-hébergées
   02. Jetons de design (couleurs, typographie, espace, règles)
   03. Base & accessibilité
   04. Boutons et liens
   05. Header
   06. Hero
   07. Module de réservation
   08. La maison
   09. Les chambres
   10. Une journée au mas
   11. Galerie
   12. Avis
   13. Réserver (appel final)
   14. Footer
   15. Visiteur de photos & panneau d'informations
   16. Responsive
   17. Mouvement réduit & impression
   ========================================================================== */


/* ==========================================================================
   01. POLICES AUTO-HÉBERGÉES
   Instrument Serif (titres, romain + italique) et Manrope (texte).
   Les fichiers .woff2 ne sont chargés que s'ils servent.
   ========================================================================== */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==========================================================================
   02. JETONS DE DESIGN
   ========================================================================== */
:root {
  /* — Couleurs — */
  --papier:       #F3EEE3;   /* calcaire chaud : fond principal */
  --papier-profond:#EAE2D2;  /* papier des sections alternées */
  --craie:        #FBF8F2;   /* blanc cassé des panneaux */
  --encre:        #26221C;   /* chêne fumé : header, panneaux, texte */
  --encre-doux:   #55503F;   /* texte secondaire sur papier */
  --terre:        #8A4B24;   /* terre d'argile : accents, CTA */
  --terre-claire: #C08A5C;   /* sienne doré : survols, filets */
  --olive:        #4B5232;   /* olive : liens, détails */
  --filet:        #D2C6B0;   /* règles 1 px sur papier */
  --filet-encre:  rgba(243, 238, 227, .22);

  /* Couleurs sémantiques */
  --c-texte:      var(--encre);
  --c-texte-2:    var(--encre-doux);
  --c-accent:     var(--terre);
  --c-succes:     #3F5A34;
  --c-succes-fond:#EEF2E4;
  --c-erreur:     #97331F;
  --c-erreur-fond:#F8E9E1;

  /* — Typographie — */
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --txt-sm:   .875rem;
  --txt:      clamp(1rem, .96rem + .18vw, 1.0625rem);
  --txt-lg:   clamp(1.1rem, 1rem + .45vw, 1.3rem);
  --h3:       clamp(1.4rem, 1.25rem + .7vw, 1.85rem);
  --h2:       clamp(2.1rem, 1.45rem + 2.9vw, 3.8rem);
  --h1:       clamp(2.6rem, 1.5rem + 4.6vw, 5rem);
  --hero:     clamp(2.75rem, 1.55rem + 5vw, 5.4rem);
  --wordmark: clamp(2.6rem, 1.5rem + 4vw, 4.6rem);

  --lh-titre: 1.02;
  --lh-texte: 1.72;

  /* — Espacement (grille de 8 px) — */
  --s1: .25rem;  --s2: .5rem;   --s3: .75rem;  --s4: 1rem;
  --s5: 1.5rem;  --s6: 2rem;    --s7: 3rem;    --s8: 4rem;
  --s9: 6rem;    --s10: 8rem;

  --section:  clamp(4.5rem, 3rem + 7vw, 8rem);
  --largeur:  1320px;
  --gouttiere: clamp(1.25rem, .7rem + 2.6vw, 3.5rem);

  /* — Règles et formes : presque tout est carré. Les seuls arrondis sont
       fonctionnels (champs, boutons pleins) ou circulaires (logo, icônes). — */
  --r-champ: 2px;
  --r-pilule: 999px;
  --header-h: 76px;

  /* — Mouvement — */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --rapide: 180ms;
  --normal: 320ms;
  --lent: 640ms;
}


/* ==========================================================================
   03. BASE & ACCESSIBILITÉ
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Le défilement doux des ancres est géré en JS (compensation du header fixe
     et respect de prefers-reduced-motion) : pas de scroll-behavior ici, pour
     qu'un déplacement programmé « instant » le soit vraiment. */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--c-texte);
  font-family: var(--sans);
  font-size: var(--txt);
  font-weight: 400;
  line-height: var(--lh-texte);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: var(--lh-titre);
  letter-spacing: -.012em;
  color: var(--c-texte);
  text-wrap: balance;
}
h3 { font-size: var(--h3); line-height: 1.12; }

em {
  font-style: italic;
  font-family: inherit;
}

.nowrap { white-space: nowrap; }

a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }

button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }

ul, ol { margin: 0; padding: 0; list-style: none; }

/* Icônes en trait */
.icon {
  width: 1.15em; height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Focus clavier visible et contrasté partout */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--terre);
  outline-offset: 3px;
}
.site-header :focus-visible,
.hero :focus-visible,
.reserver :focus-visible,
.site-footer :focus-visible,
.viewer :focus-visible,
.sheet :focus-visible {
  outline-color: var(--terre-claire);
}
::selection { background: #E9C39F; color: var(--encre); }

.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: fixed;
  top: .75rem; left: .75rem;
  z-index: 1000;
  padding: .7rem 1.1rem;
  background: var(--encre);
  color: var(--papier);
  font-weight: 600;
  font-size: var(--txt-sm);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--normal) var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* Conteneur et repères de section */
.container {
  width: 100%;
  max-width: calc(var(--largeur) + var(--gouttiere) * 2);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.section { padding-block: var(--section); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4) var(--s7);
  padding-bottom: var(--s5);
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  border-bottom: 1px solid var(--filet);
}
.section__head--split > * { max-width: 56ch; }
.section__head--split .section__intro { max-width: 34ch; }
.section__intro {
  margin: 0;
  color: var(--c-texte-2);
  font-size: var(--txt-lg);
  line-height: 1.6;
  text-wrap: pretty;
}

/* Titres d'affichage */
.display { font-size: var(--h2); max-width: 20ch; }

/* — Apparition : une seule fois, à l'entrée dans l'écran. Appliquée à
     quelques blocs porteurs (data-reveal), pas à tout.
     Le mouvement est un simple fondu : une translation changerait la
     géométrie de la page (barre de défilement, position des sections) au
     moment où l'on saute vers une ancre. — */
.js [data-reveal] {
  opacity: 0;
  transition: opacity var(--lent) var(--ease);
}
.js [data-reveal].is-seen { opacity: 1; }


/* ==========================================================================
   04. BOUTONS ET LIENS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 1em 1.6em;
  border: 1px solid transparent;
  border-radius: var(--r-champ);
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .005em;
  text-decoration: none;
  text-align: center;
  transition:
    background-color var(--normal) var(--ease),
    color var(--normal) var(--ease),
    border-color var(--normal) var(--ease);
}

/* Argile : l'action principale (réservation) */
.btn--clay {
  background: var(--terre);
  color: var(--papier);
  border-color: var(--terre);
}
.btn--clay:hover { background: #743D1C; border-color: #743D1C; color: #FFF; }

/* Encre : l'action du module de réservation, posée sur papeterie */
.btn--ink {
  background: var(--encre);
  color: var(--papier);
  border-color: var(--encre);
}
.btn--ink:hover { background: #3A342B; border-color: #3A342B; color: var(--papier); }

/* Papier : le bouton du header encre */
.btn--paper {
  background: transparent;
  color: var(--papier);
  border-color: var(--ink-border, rgba(243, 238, 227, .45));
  padding: .68em 1.15em;
  font-size: var(--txt-sm);
}
.btn--paper:hover { background: var(--papier); color: var(--encre); border-color: var(--papier); }

.btn[disabled] { opacity: .7; cursor: default; }

/* Lien souligné : le second niveau d'action */
.link-underline {
  display: inline-block;
  padding-bottom: .2em;
  color: inherit;
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: border-color var(--normal) var(--ease), color var(--normal) var(--ease);
}
.link-underline:hover { color: var(--c-accent); }


/* ==========================================================================
   05. HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--encre);
  color: var(--papier);
  transition:
    background-color var(--normal) var(--ease),
    color var(--normal) var(--ease),
    height var(--normal) var(--ease),
    box-shadow var(--normal) var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
}

/* État au scroll : le header prend la couleur du papier, règle de 1 px */
.site-header.is-scrolled {
  height: 64px;
  background: var(--papier);
  color: var(--encre);
  box-shadow: inset 0 -1px 0 var(--filet);
}
.site-header.is-scrolled .btn--paper {
  color: var(--encre);
  border-color: #9C8F7A;
}
.site-header.is-scrolled .btn--paper:hover { background: var(--encre); color: var(--papier); border-color: var(--encre); }

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  flex: none;
}
.brand__mark { color: var(--terre-claire); transition: transform var(--lent) var(--ease); }
.site-header.is-scrolled .brand__mark { color: var(--terre); }
.brand:hover .brand__mark { transform: rotate(-12deg); }
.brand__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -.005em;
  white-space: nowrap;
}

/* Navigation */
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, -.4rem + 1.6vw, 1.75rem);
}
.nav__link {
  position: relative;
  display: inline-block;
  padding: .35rem .1rem;
  font-size: var(--txt-sm);
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  opacity: .82;
  transition: opacity var(--rapide) var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -.15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--normal) var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link.is-active,
.nav__link[aria-current="page"] { opacity: 1; }
.nav__footer { display: none; }

.header__actions { display: flex; align-items: center; gap: .5rem; flex: none; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink-border, rgba(243, 238, 227, .45));
  border-radius: var(--r-champ);
  background: transparent;
  color: inherit;
  transition: border-color var(--normal), background-color var(--normal);
}
.site-header.is-scrolled .menu-toggle { border-color: #9C8F7A; }
.menu-toggle__bars {
  position: relative;
  display: block;
  width: 20px; height: 12px;
}
.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transition: top var(--normal) var(--ease), transform var(--normal) var(--ease);
}
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 10.5px; }
.menu-toggle[aria-expanded="true"] { border-color: currentColor; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(38, 34, 28, .45);
  opacity: 0;
  transition: opacity var(--normal) var(--ease);
}
.nav-backdrop.is-visible { opacity: 1; }


/* ==========================================================================
   06. HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--encre);
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 62%;
  /* Arrivée unique : la photo se pose au chargement, puis ne bouge plus. */
  animation: photo-arrive 1.6s var(--ease) both;
}
@keyframes photo-arrive {
  from { transform: scale(1.045); opacity: .7; }
  to   { transform: none; opacity: 1; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  padding-bottom: 0; /* le panneau touche le bas de la photo ; le module suit dessous */
}

/* Panneau d'encre immobilière : le seul bloc typographique du hero */
.hero__panel {
  width: min(590px, 100%);
  margin-left: calc(var(--gouttiere) * -1);
  padding: clamp(1.75rem, 1rem + 2.4vw, 3.25rem) clamp(1.5rem, 1rem + 2.6vw, 3.5rem);
  background: var(--encre);
  color: var(--papier);
}
.hero-strip { display: none; }
.hero__place {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: clamp(1rem, .8vw, 1.5rem);
  font-size: var(--txt-sm);
  font-weight: 600;
}
.hero__place .icon { width: 1rem; height: 1rem; color: var(--terre-claire); }
.hero__title {
  color: var(--papier);
  font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.015em;
  text-wrap: pretty;
}
.hero__text {
  margin-top: clamp(1rem, 1.2vw, 1.5rem);
  max-width: 38ch;
  color: rgba(243, 238, 227, .84);
  font-size: var(--txt);
  line-height: 1.66;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: clamp(1.5rem, 2vw, 2.25rem);
}
.hero__actions .link-underline { color: var(--papier); }
.hero__actions .link-underline:hover { color: #E2C4A4; }


/* ==========================================================================
   07. MODULE DE RÉSERVATION
   ========================================================================== */
.booking {
  background: var(--papier);
  border-bottom: 1px solid var(--filet);
  padding-top: clamp(1.5rem, 1vw + 1vh, 2.5rem);
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.booking__panel {
  border-top: 1px solid var(--encre);
  padding-top: var(--s5);
}
.booking__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .25rem 2rem;
  margin-bottom: var(--s5);
}
.booking__title { font-family: var(--serif); font-size: 1.75rem; }
.booking__note { margin: 0; font-size: var(--txt-sm); color: var(--c-texte-2); }
.booking__note a { color: var(--c-accent); }

/* Les champs sont des colonnes séparées par des règles, comme un registre */
.booking__fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
  padding: .35rem 1.1rem .35rem 0;
  border-right: 1px solid var(--filet);
}
.field + .field { padding-left: 1.1rem; }
.field--action { border-right: 0; padding-left: 1.1rem !important; padding-right: 0 !important; justify-content: flex-end; }

.field__label {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--encre-doux);
}

.field__input {
  width: 100%;
  height: 40px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--encre);
  /* Champs date : le format suit la langue du document (<html lang="fr">). */
  color-scheme: light;
  font-variant-numeric: tabular-nums;
  transition: border-color var(--normal) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.field__input:hover { border-bottom-color: var(--filet); }
.field__input:focus-visible {
  outline: none;
  border-bottom-color: var(--terre);
  box-shadow: 0 1px 0 var(--terre); /* le focus reste visible sans décaler la mise en page */
}
.field__input::-webkit-calendar-picker-indicator {
  width: 16px; height: 16px;
  cursor: pointer;
  opacity: .55;
}
.field__input::-webkit-calendar-picker-indicator:hover { opacity: 1; }
.field__input::-webkit-datetime-edit { color: var(--encre-doux); }
.field__input.has-value::-webkit-datetime-edit { color: var(--encre); }

.field__select-wrap { position: relative; }
.field__select { padding-right: 1.4rem; cursor: pointer; }
.field__chevron {
  position: absolute;
  right: 0; top: 50%;
  translate: 0 -50%;
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--encre-doux);
  pointer-events: none;
}

.field__error {
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-erreur);
}
.field__error:empty { display: none; }
.field.has-error .field__input { border-bottom-color: var(--c-erreur); color: var(--c-erreur); }

.booking__submit { height: 46px; padding-inline: 1.5em; margin-bottom: .35rem; }
.booking__submit.is-loading { opacity: .7; pointer-events: none; }

/* Réponse du formulaire */
.booking__result { margin-top: var(--s5); animation: réponse .4s var(--ease) both; }
@keyframes réponse {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.notice {
  display: flex;
  gap: .9rem;
  padding: 1rem 1.15rem;
  border: 1px solid;
  border-left-width: 3px;
  font-size: .95rem;
  line-height: 1.55;
}
.notice__title { font-family: var(--sans); font-size: .95rem; font-weight: 700; line-height: 1.4; margin-bottom: .1rem; }
.notice--erreur { background: var(--c-erreur-fond); border-color: #E3B6A2; border-left-color: var(--c-erreur); color: #6B2414; }
.notice--erreur .notice__mark { color: var(--c-erreur); }

/* Confirmation : texte à gauche, estimatif en colonne de registre à droite */
.answer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  padding-top: var(--s5);
  border-top: 1px solid var(--encre);
}
.answer__status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .6rem;
  font-size: var(--txt-sm);
  font-weight: 700;
  color: var(--c-succes);
}
.answer__status svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.answer__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: .6rem; }
.answer__text { color: var(--c-texte-2); max-width: 46ch; }
.answer__text strong { color: var(--encre); font-weight: 600; }
.answer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: var(--s5); }

.estimate { font-size: .95rem; }
.estimate__room {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .6rem;
  margin-bottom: .4rem;
  border-bottom: 1px solid var(--filet);
  font-weight: 700;
}
.estimate__room span:last-child { font-weight: 400; color: var(--c-texte-2); }
.estimate__lines { display: grid; margin: 0; }
.estimate__lines div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .3rem 0;
  color: var(--c-texte-2);
}
.estimate__lines dt, .estimate__lines dd { margin: 0; }
.estimate__lines .reduction dd { color: var(--c-succes); }
.estimate__lines .total {
  margin-top: .35rem;
  padding-top: .6rem;
  border-top: 1px solid var(--encre);
  color: var(--encre);
  font-weight: 700;
}
.estimate__lines .total dd { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; line-height: 1; }
.estimate__note { margin-top: .6rem; font-size: .78rem; line-height: 1.5; color: var(--encre-doux); }


/* ==========================================================================
   08. LA MAISON
   ========================================================================== */
.maison__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 1rem + 6vw, 7rem);
  align-items: stretch;
}
.maison__col { display: flex; flex-direction: column; padding-top: .5rem; }
.maison__col .display { margin-bottom: var(--s5); }
.maison__lead {
  font-size: var(--txt-lg);
  line-height: 1.6;
  color: var(--encre);
  max-width: 46ch;
  margin-bottom: var(--s4);
}
.maison__text { color: var(--c-texte-2); max-width: 52ch; }

/* Services : une simple liste sur deux colonnes, séparée par des règles */
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  margin-top: auto; /* collé en bas de la colonne, aligné sur le haut du registre */
  padding-top: var(--s6);
  border-top: 1px solid var(--filet);
}
.features li {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--filet);
  font-weight: 600;
  font-size: .95rem;
}
.features .icon { color: var(--olive); width: 1.25rem; height: 1.25rem; }

.maison__aside {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}
.maison__figure {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin: 0;
  min-height: 0;
}
/* La photo prend la hauteur de la colonne de texte ; le cadrage reste sur la bâtisse. */
.maison__figure picture { display: block; flex: 1 1 auto; min-height: 280px; }
.maison__figure img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: 50% 80%;
}
.maison__figure figcaption {
  margin-top: .75rem;
  font-size: var(--txt-sm);
  color: var(--c-texte-2);
}

/* Chiffres de la maison : un registre, pas des cartes */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--encre);
}
.facts div {
  padding: .85rem .8rem 0 0;
  border-right: 1px solid var(--filet);
}
.facts div + div { padding-left: .8rem; }
.facts div:last-child { border-right: 0; }
.facts dt {
  font-size: var(--txt-sm);
  color: var(--c-texte-2);
  line-height: 1.3;
}
/* Le chiffre est l'information : il prend le corps de l'affichage */
.facts dd {
  margin-top: .25rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  line-height: 1;
}


/* ==========================================================================
   09. LES CHAMBRES
   ========================================================================== */
.rooms { border-top: 1px solid var(--filet); background: var(--papier); }

.rooms__list { display: grid; }
.room-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 1rem + 4vw, 5rem);
  align-items: center;
  padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  border-top: 1px solid var(--filet);
}
.room-row:first-child { border-top: 0; padding-top: 0; }

.room-row__photo { display: block; overflow: hidden; text-decoration: none; }
.room-row__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.room-row__photo:hover img { transform: scale(1.03); }

.room-row__body { display: grid; gap: var(--s3); }
.room-row__name { font-size: clamp(1.8rem, 1.5rem + 1.3vw, 2.6rem); }
.room-row__text { color: var(--c-texte-2); max-width: 44ch; }

.room-row__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--s2);
  border-top: 1px solid var(--filet);
}
.room-row__specs div { padding: .65rem .8rem .65rem 0; border-right: 1px solid var(--filet); }
.room-row__specs div + div { padding-left: .8rem; }
.room-row__specs div:last-child { border-right: 0; }
.room-row__specs dt { font-family: var(--serif); font-size: 1.05rem; color: var(--c-texte-2); line-height: 1.2; }
.room-row__specs dd { font-size: .875rem; font-weight: 600; margin-top: .15rem; line-height: 1.4; }

.room-row__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-top: var(--s2);
}
.room-row__price { font-size: var(--txt-sm); color: var(--c-texte-2); }
.room-row__price span {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--encre);
  margin-right: .25rem;
}


/* ==========================================================================
   10. UNE JOURNÉE AU MAS
   ========================================================================== */
.journee {
  background: var(--encre);
  color: var(--papier);
}
.journee h2, .journee h3 { color: var(--papier); }
.journee {
  /* La journée encre se fond dans le papier en bas, sans bord coupant */
  background: linear-gradient(180deg, var(--encre) 0%, var(--encre) 82%, #3A342B 100%);
  padding-bottom: calc(var(--section) * .75);
}
.journee .section__head { border-bottom-color: var(--filet-encre); }
.journee .section__intro { color: rgba(243, 238, 227, .72); }

/* La journée est une suite : l'heure structure la chronologie. */
.timeline { display: grid; }
.moment {
  display: grid;
  grid-template-columns: minmax(120px, .22fr) minmax(0, 1fr);
  gap: var(--s5) clamp(1.5rem, 1rem + 4vw, 4rem);
  padding-block: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  border-top: 1px solid var(--filet-encre);
}
.moment__time {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.9rem);
  line-height: 1;
  color: var(--terre-claire);
}
.moment__title { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); margin-bottom: .4rem; }
.moment p:not(.moment__time) { color: rgba(243, 238, 227, .74); max-width: 56ch; }


/* ==========================================================================
   11. GALERIE
   ========================================================================== */
.galerie__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(58px, 5vw, 76px); /* hauteur d'une rangée de base */
  gap: clamp(.5rem, .3rem + .7vw, 1rem);
}
.shot { min-width: 0; min-height: 0; }
/* Une grande photo, puis une colonne de deux : chaque tuile garde la
   proportion de son image plutôt que d'être recadrée au même format. */
.shot:nth-child(1) { grid-column: 1 / 5; grid-row: span 6; }   /* piscine, 3:2  */
.shot:nth-child(2) { grid-column: 5 / 7; grid-row: span 3; }   /* lavande, 3:2  */
.shot:nth-child(3) { grid-column: 5 / 7; grid-row: span 6; }   /* glycine, 3:5  */
.shot:nth-child(4) { grid-column: 1 / 3; grid-row: span 3; }   /* chambre, 3:2  */
.shot:nth-child(5) { grid-column: 3 / 5; grid-row: span 3; }   /* balcon, 3:2   */
.shot:nth-child(6) { grid-column: 1 / 4; grid-row: span 3; }   /* pergola, 3:2  */
.shot:nth-child(7) { grid-column: 4 / 7; grid-row: span 3; }   /* lin, 3:2      */

.shot__btn {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  background: var(--papier-profond);
  text-align: left;
  cursor: zoom-in;
  overflow: hidden;
}
.shot__btn picture, .shot__btn img { display: block; width: 100%; height: 100%; }
.shot__btn img {
  object-fit: cover;
  object-position: center;
  transition: transform 1s var(--ease), filter var(--lent) var(--ease);
  filter: saturate(.92);
}
.shot__btn:hover img { transform: scale(1.035); filter: saturate(1); }

/* Légende : un cartouche de papier posé sur la photo (lisible sans bandeau) */
.shot__caption {
  position: absolute;
  left: .6rem; bottom: .6rem;
  padding: .3rem .6rem;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.2;
  transition: background-color var(--normal) var(--ease);
}
.shot__btn:hover .shot__caption { background: var(--craie); }


/* ==========================================================================
   12. AVIS
   ========================================================================== */
.avis { border-top: 1px solid var(--filet); }
.avis__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 1rem + 6vw, 6.5rem);
  align-items: start;
}
.avis__summary { position: sticky; top: calc(64px + 2rem); }
.avis__score {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  margin-top: var(--s5);
  padding-top: var(--s5);
  border-top: 1px solid var(--encre);
}
.avis__score-num {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 3rem + 5vw, 7rem);
  line-height: .85;
  letter-spacing: -.03em;
}
.avis__score-detail {
  font-size: var(--txt-sm);
  line-height: 1.5;
  color: var(--c-texte-2);
  padding-bottom: .4rem;
}
.avis__rating { display: flex; gap: 3px; margin-top: var(--s3); color: var(--terre-claire); }
.star { width: 18px; height: 18px; fill: currentColor; }
.star--half { fill: currentColor; opacity: .9; }
.star--half path { fill: var(--terre-claire); opacity: .35; }

.avis__quotes { display: grid; }
.quote-hole {
  display: grid;
  gap: var(--s4);
  padding-block: var(--s6);
  border-top: 1px solid var(--filet);
}
.quote-hole:first-child { border-top: 1px solid var(--encre); padding-top: var(--s5); }
.quote-hole blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem);
  line-height: 1.28;
  color: var(--encre);
  text-wrap: pretty;
}
.quote-hole figcaption {
  font-weight: 600;
  font-size: .95rem;
}
.quote-hole__meta {
  font-weight: 400;
  font-size: var(--txt-sm);
  color: var(--c-texte-2);
  margin-left: .5rem;
}


/* ==========================================================================
   13. RÉSERVER — appel final
   ========================================================================== */
.reserver {
  position: relative;
  min-height: clamp(520px, 60vh, 680px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--encre);
  color: var(--papier);
}
.reserver__photo { position: absolute; inset: 0; }
.reserver__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(.62) saturate(.85);
}
.reserver::after {
  /* Dégradé de lisibilité vers le bas, pas une vignette décorative */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 34, 28, .94) 0%, rgba(38, 34, 28, .45) 55%, rgba(38, 34, 28, .1) 100%);
}
.reserver__panel {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - var(--gouttiere) * 2));
  margin: 0 auto 0 max(var(--gouttiere), calc((100vw - var(--largeur)) / 2 + var(--gouttiere)));
  padding: clamp(1.75rem, 1rem + 2.4vw, 3.25rem);
  background: var(--encre);
}
.reserver__title { color: var(--papier); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); }
.reserver__title em { color: #E2C4A4; }
.reserver__text {
  margin-top: var(--s4);
  color: rgba(243, 238, 227, .82);
  max-width: 44ch;
}
.reserver__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: var(--s5);
}
.link-underline--light { color: var(--papier); }
.link-underline--light:hover { color: #E2C4A4; }


/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--encre);
  color: rgba(243, 238, 227, .78);
  padding-top: clamp(3rem, 2rem + 4vw, 5rem);
  border-top: 1px solid var(--filet-encre);
  font-size: .9375rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  padding-bottom: var(--s7);
}
.footer__wordmark {
  font-family: var(--serif);
  font-size: var(--wordmark);
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--papier);
  max-width: 10ch;
}
.footer__address {
  margin-top: var(--s4);
  font-style: normal;
  line-height: 1.8;
}
.footer__address a, .site-footer a { color: rgba(243, 238, 227, .9); }
.footer__address a:hover, .site-footer a:hover { color: #E2C4A4; }
.footer__hours { margin-top: .75rem; font-size: var(--txt-sm); opacity: .8; }

.social { display: flex; gap: .5rem; margin-top: var(--s5); }
.social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--filet-encre);
  border-radius: 50%;
  transition: border-color var(--normal), background-color var(--normal), color var(--normal);
}
.social a:hover { border-color: var(--terre-claire); background: var(--terre); color: var(--papier); }
.social svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.footer__title {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--papier);
  margin-bottom: var(--s4);
}
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a, .footer__sheet {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: inherit;
  color: rgba(243, 238, 227, .9);
  text-decoration: none;
  text-align: left;
}
.footer__col a:hover, .footer__sheet:hover { color: #E2C4A4; text-decoration: underline; text-underline-offset: .25em; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 2rem;
  padding-block: var(--s5);
  border-top: 1px solid var(--filet-encre);
  font-size: .8125rem;
  opacity: .75;
}
.footer__bottom p { margin: 0; }
.footer__bottom code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .95em; }


/* ==========================================================================
   15. VISITEUR DE PHOTOS & PANNEAU D'INFORMATIONS
   ========================================================================== */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem) clamp(3.5rem, 7vw, 6rem);
  color: var(--papier);
}
.viewer[hidden] { display: none; }
.viewer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 21, 17, .94);
  animation: fondu .3s var(--ease) both;
}
.viewer__frame { position: relative; display: grid; gap: .85rem; justify-items: center; animation: photo-ouvre .45s var(--ease) both; }
@keyframes photo-ouvre { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
.viewer__img {
  max-width: 100%;
  max-height: min(76vh, 760px);
  object-fit: contain;
  transition: opacity var(--normal) var(--ease);
}
.viewer.is-loading .viewer__img { opacity: .45; }
.viewer__caption {
  font-family: var(--serif);
  font-size: 1.15rem;
  text-align: center;
}
.viewer__count { font-family: var(--sans); font-size: var(--txt-sm); opacity: .6; margin-left: .4rem; }

.viewer__close, .viewer__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(243, 238, 227, .3);
  border-radius: 50%;
  background: transparent;
  color: var(--papier);
  translate: 0 -50%;
  transition: background-color var(--normal), color var(--normal), border-color var(--normal);
}
.viewer__close:hover, .viewer__nav:hover { background: var(--papier); color: var(--encre); border-color: var(--papier); }
.viewer__close svg, .viewer__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.viewer__nav--prev { left: clamp(.5rem, 2vw, 2rem); }
.viewer__nav--next { right: clamp(.5rem, 2vw, 2rem); }
.viewer__close { top: 1.25rem; right: 1.25rem; translate: none; }

.sheet { position: fixed; inset: 0; z-index: 310; display: flex; justify-content: flex-end; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(24, 21, 17, .55); animation: fondu .3s var(--ease) both; }
.sheet__panel {
  position: relative;
  width: min(540px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  background: var(--papier);
  color: var(--encre);
  box-shadow: -24px 0 60px -30px rgba(0, 0, 0, .5);
  animation: panneau-entre .45s var(--ease) both;
}
@keyframes panneau-entre { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__close {
  position: absolute;
  top: 1rem; right: 1rem;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid #9C8F7A;
  border-radius: 50%;
  background: transparent;
  color: var(--encre);
  transition: background-color var(--normal);
}
.sheet__close:hover { background: var(--papier-profond); }
.sheet__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.sheet__title { font-size: 2.3rem; margin-bottom: var(--s5); max-width: 14ch; }
.sheet__body { display: grid; gap: 1rem; color: var(--c-texte-2); line-height: 1.7; }
.sheet__body h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--encre); margin-top: .5rem; }
.sheet__body a { color: var(--c-accent); }
.sheet__body ul { list-style: none; display: grid; gap: .4rem; }
.sheet__body li { padding-left: 1rem; position: relative; }
.sheet__body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: var(--terre); }
.sheet__body strong { color: var(--encre); }


/* ==========================================================================
   16. RESPONSIVE
   ========================================================================== */

/* Tablette large : le module passe sur deux rangées */
@media (max-width: 1080px) {
  .booking__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s4); }
  .field:nth-child(2n) { border-right: 0; padding-right: 0; }
  .field:nth-child(odd) { padding-left: 0; }
  .field:nth-child(2n) { padding-left: 1.1rem; }
  .field:nth-child(odd) { border-right: 1px solid var(--filet); }
  .field--action { grid-column: 1 / -1; border-right: 0; padding-left: 0 !important; padding-top: var(--s3); }
  .booking__submit { width: 100%; }

  .avis__grid { grid-template-columns: 1fr; }
  .avis__summary { position: static; }
  .avis__quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; }
  .quote-hole { border-top: 1px solid var(--encre); }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Navigation en tiroir */
@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .menu-toggle { display: inline-flex; }
  .header__cta { display: none; }
  .site-header { z-index: 96; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 95;
    width: min(400px, 88vw);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--header-h) + 2rem) 1.75rem 2rem;
    background: var(--encre);
    color: var(--papier);
    overflow-y: auto;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform .45s var(--ease), visibility 0s linear .45s;
  }
  .nav.is-open {
    transform: none;
    visibility: visible;
    transition: transform .45s var(--ease), visibility 0s;
  }
  /* Le logo et le bouton ✕ passent au-dessus du tiroir */
  .site-header .brand,
  .site-header .menu-toggle { position: relative; z-index: 100; }
  .site-header.is-open,
  .site-header.is-open.is-scrolled {
    background: var(--encre);
    color: var(--papier);
    box-shadow: inset 0 -1px 0 var(--filet-encre);
  }
  .site-header.is-open .brand,
  .site-header.is-open .menu-toggle { color: var(--papier); }
  .site-header.is-open .brand__mark { color: var(--terre-claire); }
  .site-header.is-open .menu-toggle { border-color: var(--filet-encre); }

  .nav__list { display: grid; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--filet-encre); }
  .nav__link,
  .site-header .nav__link {
    display: block;
    padding: .85rem 0;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    opacity: 1;
    color: var(--papier);
  }
  .nav__link::after { display: none; }
  .nav__link.is-active,
  .nav__link[aria-current="page"] { color: #E2C4A4; }
  .nav__footer { display: block; margin-top: var(--s6); }
  .nav__aside { display: grid; gap: .25rem; font-size: var(--txt-sm); color: rgba(243, 238, 227, .7); }
  .nav__aside a { color: var(--papier); }

  .maison__grid { grid-template-columns: 1fr; }
  .maison__aside { max-width: 620px; }
  .maison__figure { flex: none; }
  .maison__figure picture, .maison__figure img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }

  .room-row { grid-template-columns: 1fr; gap: var(--s5); }
  .room-row__photo img { aspect-ratio: 16 / 10; }

  .moment { grid-template-columns: 1fr; gap: .5rem; }

  .avis__quotes { grid-template-columns: 1fr; }
  .quote-hole { border-top: 1px solid var(--filet); }
  .quote-hole:first-child { border-top-color: var(--encre); }

  .reserver__panel { margin-inline: auto; width: min(640px, calc(100% - var(--gouttiere) * 2)); }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Téléphone */
@media (max-width: 720px) {
  .brand__name { font-size: 1.3rem; }
  .brand__mark { width: 28px; height: 28px; }

  /* Hero : la photo en haut, le panneau d'encre posé dessous, plein bord */
  .hero { min-height: 0; display: block; padding-top: 0; }
  .hero__photo { position: relative; inset: auto; height: 58svh; min-height: 340px; }
  .hero__photo img { object-position: 58% center; }
  .hero__inner { padding-inline: 0; padding-bottom: 0; }
  .hero__panel {
    width: 100%;
    margin: 0;
    padding: 1.75rem var(--gouttiere) 2.25rem;
  }
  .hero__title { max-width: none; font-size: clamp(2.1rem, 1rem + 7.4vw, 3rem); }
  .hero__title br { display: none; }
  .hero__actions { gap: .9rem 1.5rem; }
  .hero__actions .link-underline { display: none; }

  /* Barre d'action en bas d'écran : le module de réservation reste à un
     pouce de distance dès le premier écran, sans bloquer quarante champs. */
  .hero-strip {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem var(--gouttiere) calc(.65rem + env(safe-area-inset-bottom, 0px));
    background: var(--encre);
    color: var(--papier);
    box-shadow: 0 -1px 0 var(--filet-encre);
    transform: translateY(110%);
    transition: transform var(--normal) var(--ease);
  }
  .hero-strip.is-visible { transform: none; }
  body.is-locked .hero-strip { transform: translateY(110%); }
  .hero-strip__link {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem .55rem .55rem .9rem;
    border: 1px solid var(--filet-encre);
    color: var(--papier);
    text-decoration: none;
  }
  .hero-strip__price { font-family: var(--serif); font-size: 1.1rem; line-height: 1.2; }
  .hero-strip__action {
    flex: none;
    padding: .7em 1em;
    background: var(--terre);
    font-size: .875rem;
    font-weight: 600;
  }

  .booking__head { margin-bottom: var(--s4); }
  .booking__fields { grid-template-columns: 1fr; row-gap: 0; }
  .field, .field:nth-child(odd), .field:nth-child(2n) {
    border-right: 0;
    padding: .5rem 0 .75rem;
    border-bottom: 1px solid var(--filet);
  }
  .field--action { border-bottom: 0; padding-top: var(--s4); }
  .field__input { height: 44px; font-size: 1.05rem; }
  /* 16 px minimum sur iOS pour éviter le zoom automatique */
  .field__select { font-size: 1rem; }

  .answer { grid-template-columns: 1fr; }

  .section__head { flex-direction: column; align-items: flex-start; }
  .section__head--split .section__intro { max-width: none; }

  .features { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .room-row__specs { grid-template-columns: 1fr 1fr; }
  .room-row__specs div:nth-child(2) { border-right: 0; }
  .room-row__specs div:nth-child(n+3) { padding-left: 0; border-top: 1px solid var(--filet); }
  .room-row__foot { flex-direction: column; align-items: flex-start; }

  /* Galerie : deux colonnes simples, légendes toujours visibles */
  .galerie__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .shot:nth-child(n) { grid-column: auto; grid-row: auto; }
  .shot:nth-child(1),
  .shot:nth-child(3),
  .shot:nth-child(6),
  .shot:nth-child(7) { grid-column: span 2; }
  .shot__btn img { aspect-ratio: 4 / 3; height: auto; }
  .shot:nth-child(3) .shot__btn img { aspect-ratio: 4 / 5; }
  .shot__caption { font-size: .95rem; padding: .5rem .6rem; }

  .viewer { padding: 1rem; place-items: center; }
  .viewer__nav { top: auto; bottom: 1rem; translate: none; }
  .viewer__nav--prev { left: calc(50% - 3.25rem); }
  .viewer__nav--next { right: calc(50% - 3.25rem); }
  .viewer__frame { padding-bottom: 4.5rem; }

  .footer__wordmark { font-size: 3rem; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 400px) {
  .facts { grid-template-columns: 1fr; }
  .facts div { border-right: 0; border-bottom: 1px solid var(--filet); padding: .6rem 0; }
  .facts div + div { padding-left: 0; }
  .room-row__specs { grid-template-columns: 1fr; }
  .room-row__specs div { border-right: 0 !important; padding-left: 0 !important; }
}


/* ==========================================================================
   17. MOUVEMENT RÉDUIT & IMPRESSION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .room-row__photo:hover img,
  .shot__btn:hover img,
  .brand:hover .brand__mark { transform: none; }
}

@media (hover: none) {
  .room-row__photo:hover img,
  .shot__btn:hover img { transform: none; }
}

@media print {
  .site-header, .nav-backdrop, .viewer, .sheet, .booking__submit { display: none !important; }
  body { background: #fff; }
  .hero, .journee, .reserver, .site-footer { background: #fff !important; color: #000 !important; }
  .hero__panel, .reserver__panel { background: #fff !important; color: #000 !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
