/* ============================================================
   LES NIDS DU LUBERON — design system + composants partages
   ============================================================ */

/* Variables ------------------------------------------------- */
:root {
  --cream:      #f4efe6;
  --cream-deep: #e9e0cf;
  --ink:        #2e2a22;
  --olive:      #5c6249;
  --olive-deep: #3f4433;
  --lavender:   #8b8aa6;
  --ochre:      #c08552;
  --ochre-deep: #a96f3e;
  --line:       #d8cdb8;
  --muted:      #5c564a;

  --display: 'Cormorant Garamond', Georgia, serif;
  --body:    'DM Sans', system-ui, sans-serif;

  --maxw: 1180px;
  --header-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.15; }

.eyebrow {
  font-family: var(--body);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ochre-deep);
  font-weight: 500;
}

/* Boutons ---------------------------------------------------- */
.btn {
  display: inline-block;
  padding: .9rem 1.9rem;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 2px; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s, background .3s, color .3s, border-color .3s;
  font-family: var(--body);
}
.btn-primary { background: var(--ochre); color: var(--cream); border-color: var(--ochre); }
.btn-primary:hover { background: var(--ochre-deep); border-color: var(--ochre-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(244,239,230,.7); }
.btn-ghost:hover { background: rgba(244,239,230,.12); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--olive-deep); border-color: var(--olive); }
.btn-outline:hover { background: var(--olive); color: var(--cream); }

/* Reveal au scroll ------------------------------------------ */
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.in { animation: rise .9s cubic-bezier(.22,.61,.36,1) forwards; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,239,230,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}
.brand { font-family: var(--display); font-size: 1.5rem; letter-spacing: .02em; white-space: nowrap; }
.brand span { color: var(--ochre-deep); }

.nav-main { flex: 1; display: flex; justify-content: center; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  position: relative; padding-bottom: 3px; white-space: nowrap;
  color: var(--ink);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--ochre);
  transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* Etat actif via [data-page] sur <body> */
body[data-page="home"]        .nav-links [data-nav="home"]::after,
body[data-page="gites"]       .nav-links [data-nav="gites"]::after,
body[data-page="luberon"]     .nav-links [data-nav="luberon"]::after,
body[data-page="contact"]     .nav-links [data-nav="contact"]::after,
body[data-page="galerie"]     .nav-links [data-nav="galerie"]::after,
body[data-page="piscine"]     .nav-links [data-nav="piscine"]::after { width: 100%; }
body[data-page="home"]        .nav-links [data-nav="home"],
body[data-page="gites"]       .nav-links [data-nav="gites"],
body[data-page="luberon"]     .nav-links [data-nav="luberon"],
body[data-page="galerie"]     .nav-links [data-nav="galerie"],
body[data-page="piscine"]     .nav-links [data-nav="piscine"],
body[data-page="contact"]     .nav-links [data-nav="contact"] { color: var(--ochre-deep); }

.nav-tools { display: flex; align-items: center; gap: 1rem; }
.nav-tel {
  font-size: .82rem; letter-spacing: .04em; color: var(--olive-deep);
  display: inline-flex; align-items: center; gap: .35rem;
}
.nav-tel:hover { color: var(--ochre-deep); }
/* Sélecteur de langue : <details> en forme de liste déroulante (fonctionne sans JavaScript) */
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--line); padding: .4rem .6rem; border-radius: 2px;
  color: var(--olive-deep); background: var(--cream);
  transition: border-color .3s;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after {
  content: ''; width: .38rem; height: .38rem; margin-top: -.2rem;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.lang-switch[open] summary::after { transform: rotate(-135deg); margin-top: .2rem; }
.lang-switch summary:hover, .lang-switch[open] summary { border-color: var(--olive-deep); }
.lang-switch summary:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + .4rem); z-index: 60;
  min-width: 9.5rem; list-style: none; padding: .35rem 0;
  background: var(--cream); border: 1px solid var(--line); border-radius: 3px;
  box-shadow: 0 10px 30px rgba(46,42,34,.12);
}
.lang-switch--up .lang-menu { top: auto; bottom: calc(100% + .4rem); }
.lang-menu a { display: block; padding: .6rem 1rem; font-size: .88rem; color: var(--ink); }
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--cream-deep); outline: 0; }
.lang-menu a[aria-current] { color: var(--ochre-deep); font-weight: 500; }
.lang-menu a[aria-current]::after { content: ' ✓'; }
/* Bouton « Réserver » : seule entrée vers la page Réservation, toujours visible. */
.nav-cta {
  background: var(--ochre); border: 1px solid var(--ochre); color: var(--cream);
  padding: .6rem 1.4rem;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  border-radius: 2px; white-space: nowrap;
  transition: background .3s, border-color .3s, transform .3s;
}
.nav-cta:hover { background: var(--ochre-deep); border-color: var(--ochre-deep); transform: translateY(-1px); }
body[data-page="reservation"] .nav-cta { background: var(--ochre-deep); border-color: var(--ochre-deep); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.burger-bar {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  margin: 5px 0; transition: transform .3s, opacity .3s;
}
.burger[aria-expanded="true"] .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile ----------------------------------------------- */
.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 2rem 2rem;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  z-index: 49;
}
.mobile-links { list-style: none; display: grid; gap: 1.2rem; }
.mobile-links a {
  font-family: var(--display); font-size: 1.7rem; color: var(--ink);
  display: block; padding: .25rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--olive-deep);
}
.mobile-foot .lang-switch summary { font-size: .8rem; padding: .55rem .8rem; }

/* ============================================================
   HERO (Accueil)
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: flex-end;
  background-color: #6d7252;
  /* --bg : photo choisie au back-office (classe .bg-N, App\View\PageBackgrounds). */
  background-image:
    linear-gradient(rgba(46,42,34,.30), rgba(46,42,34,.55)),
    var(--bg, url('/assets/img/hero/hero-piscine.jpg'));
  /* Piscine et horizon du Luberon : cadrage un peu sous le centre, la piscine reste visible sur mobile. */
  background-size: cover; background-position: 62% 60%;
}
.hero-inner { padding-bottom: 5.5rem; color: var(--cream); }

/* Barre de recherche du hero (accueil), façon moteur de réservation */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.hero-search {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1.15fr 1.6fr 1.15fr auto; align-items: stretch;
  margin-top: 2.2rem; max-width: 1060px;
  background: var(--cream); color: var(--ink);
  border-radius: 4px; box-shadow: 0 18px 50px rgba(20,18,14,.35);
}
.hero-search > :first-child { border-radius: 4px 0 0 4px; }
.hs-field { display: flex; flex-direction: column; justify-content: center; gap: .2rem; padding: .75rem 1.1rem; border-right: 1px solid var(--line); min-width: 0; }
.hs-field label, .hs-label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-deep); font-weight: 500; }
.hs-field select, .hs-field input {
  width: 100%; border: 0; background: transparent; padding: .15rem 0;
  font-family: var(--body); font-size: .95rem; color: var(--ink); font-weight: 400;
}
.hs-field select:focus, .hs-field input:focus { outline: 0; }
.hs-field:focus-within { background: var(--cream-deep); }
.hs-submit { border-radius: 0 4px 4px 0; padding: 1rem 1.6rem; min-width: 10.5rem; white-space: nowrap; }

/* Champ Voyageurs : résumé cliquable + panneau avec compteurs */
.hs-guests { position: relative; }
.hs-guests-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  width: 100%; padding: .15rem 0; border: 0; background: none; cursor: pointer;
  font-family: var(--body); font-size: .95rem; color: var(--ink); text-align: left; white-space: nowrap;
}
.hs-guests-toggle::after {
  content: ''; flex: none; width: .4rem; height: .4rem; margin-top: -.25rem;
  border-right: 1.5px solid var(--olive-deep); border-bottom: 1.5px solid var(--olive-deep);
  transform: rotate(45deg); transition: transform .2s;
}
.hs-guests.is-open .hs-guests-toggle::after { transform: rotate(-135deg); margin-top: .2rem; }
.hs-guests-toggle:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
.hs-guests-panel { display: grid; gap: .5rem; margin-top: .3rem; }
.hs-guests.is-enhanced .hs-guests-panel {
  display: none; position: absolute; left: 0; top: calc(100% + .5rem); z-index: 20;
  width: max(100%, 19rem); margin: 0; padding: 1.1rem 1.2rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 18px 40px rgba(20,18,14,.25);
}
.hs-guests.is-enhanced.is-open .hs-guests-panel { display: grid; gap: .9rem; }
.hs-guest-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hs-guest-row label {
  font-size: .95rem; letter-spacing: normal; text-transform: none; color: var(--ink); font-weight: 500;
  display: flex; flex-direction: column; line-height: 1.3;
}
.hs-guest-row label small { font-size: .78rem; color: var(--muted); font-weight: 400; }
.hs-guest-row input { width: 3.2rem; text-align: center; border: 1px solid var(--line); border-radius: 3px; padding: .3rem; background: var(--cream-deep); }
.hero .hs-guests-cap { margin: 0; max-width: none; font-size: .8rem; color: var(--muted); text-shadow: none; }
/* Les paragraphes du hero ont une ombre et une largeur max : pas dans la barre de recherche. */
.hero .hero-search p { text-shadow: none; max-width: none; margin: 0; }
.hs-guests-done {
  justify-self: end; border: 0; background: none; cursor: pointer; padding: .3rem 0;
  font-family: var(--body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre-deep); font-weight: 500;
}

/* Calendrier de séjour (barre de recherche, formulaire de demande) */
.date-display {
  width: 100%; padding: .15rem 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--body); font-size: .95rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.date-display.is-empty { color: var(--muted); }
.date-display-range { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.date-display-range::after {
  content: ''; flex: none; width: .4rem; height: .4rem; margin-top: -.25rem;
  border-right: 1.5px solid var(--olive-deep); border-bottom: 1.5px solid var(--olive-deep); transform: rotate(45deg);
}
.dr-open .date-display-range::after { transform: rotate(-135deg); margin-top: .2rem; }
.date-display:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
.form .date-display { background: var(--cream-deep); border: 1px solid var(--line); border-radius: 2px; padding: .85rem 1rem; font-weight: 300; }
[data-daterange] { position: relative; }
.daterange {
  position: absolute; left: 0; top: calc(100% + .6rem); z-index: 30;
  width: min(44rem, calc(100vw - 2.6rem)); padding: 1.1rem 1.3rem 1rem;
  background: var(--cream); color: var(--ink); border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 22px 50px rgba(20,18,14,.28);
}
.hero-search .daterange { left: 18%; }
.hs-dates-inputs { display: flex; align-items: center; gap: .4rem; }
.hs-dates-inputs input { min-width: 0; }
.dr-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.dr-status { font-size: .9rem; color: var(--olive-deep); font-weight: 500; }
.dr-nav {
  width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--line); background: none;
  font-size: 1.3rem; line-height: 1; color: var(--olive-deep); cursor: pointer;
}
.dr-nav:hover { background: var(--cream-deep); }
.dr-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.6rem; }
.dr-title { text-align: center; font-family: var(--display); font-size: 1.15rem; text-transform: capitalize; margin-bottom: .5rem; }
.dr-weekdays, .dr-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.dr-weekdays span { text-align: center; font-size: .7rem; text-transform: uppercase; color: var(--muted); padding: .2rem 0; }
.dr-days .day {
  position: relative; aspect-ratio: 1; border: 0; background: none; cursor: pointer;
  font-family: var(--body); font-size: .88rem; color: var(--ink); border-radius: 50%;
}
.dr-days .day:hover:not(:disabled) { background: var(--cream-deep); }
.dr-days .day:focus-visible { outline: 2px solid var(--ochre); outline-offset: -2px; }
.dr-days .day.is-saturday:not(:disabled) { font-weight: 600; color: var(--olive-deep); }
.is-day-only .dr-days .day.is-saturday:not(:disabled) { font-weight: 400; color: var(--ink); }
.dr-days .day:disabled { color: rgba(46,42,34,.28); cursor: not-allowed; }
.dr-days .day.is-booked { text-decoration: line-through; text-decoration-color: rgba(169,111,62,.7); }
.dr-days .day.in-range { background: rgba(192,133,82,.16); border-radius: 0; }
.dr-days .day.is-start, .dr-days .day.is-end { background: var(--ochre-deep); color: var(--cream); font-weight: 600; }
.dr-days .day.is-preview { background: rgba(169,111,62,.55); }
.dr-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.dr-legend i { display: inline-block; width: .55rem; height: .55rem; margin-right: .4rem; border-radius: 50%; background: var(--olive-deep); vertical-align: middle; }
.dr-clear { border: 0; background: none; cursor: pointer; font-family: var(--body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre-deep); }
@media (max-width: 720px) {
  .daterange, .hero-search .daterange { left: 0; width: 100%; padding: .9rem; }
}

/* Compteurs − / + (barre de recherche, demande de réservation, tunnel) */
.stepper { display: inline-flex; align-items: center; gap: .55rem; }
.stepper input[type="number"] {
  width: 2.6rem; padding: .25rem 0; text-align: center; border: 0; background: transparent;
  font-family: var(--body); font-size: 1rem; font-weight: 500; color: var(--ink);
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input[type="number"]::-webkit-inner-spin-button,
.stepper input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-btn {
  flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: inline-grid; place-items: center; cursor: pointer;
  border: 1px solid var(--olive); background: transparent; color: var(--olive-deep);
  font-size: 1.2rem; line-height: 1; transition: background .2s, color .2s, opacity .2s;
}
.stepper-btn:hover:not(:disabled) { background: var(--olive-deep); color: var(--cream); }
.stepper-btn:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }
.stepper-btn:disabled { opacity: .3; cursor: not-allowed; }
.form .stepper { display: flex; justify-content: space-between; background: var(--cream-deep); border: 1px solid var(--line); border-radius: 2px; padding: .35rem .5rem; }
.form .stepper input[type="number"] { width: 3rem; padding: .3rem 0; background: transparent; border: 0; }
.hero-search-note { margin-top: .9rem; max-width: none; font-size: .85rem; color: #e7d6bf; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
@media (min-width: 720px) { .hero-search-note { white-space: nowrap; } }
.hero .eyebrow { color: #e7d6bf; }
.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 400;
  margin: .8rem 0 1.2rem;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.hero h1 em { font-style: italic; color: #ecd9bd; }
.hero p {
  max-width: 32rem; font-size: 1.05rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.hero-actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Page hero (plus court, pour les pages internes) */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex; align-items: flex-end;
  background-color: #6d7252;
  background-image: linear-gradient(rgba(46,42,34,.25), rgba(46,42,34,.6)), var(--bg, none);
  background-size: cover; background-position: center;
  color: var(--cream);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(rgba(46,42,34,.25), rgba(46,42,34,.6));
}
.page-hero-inner { position: relative; padding: 6rem 0 3.5rem; }
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: .6rem 0 .8rem;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.page-hero p { max-width: 38rem; font-size: 1rem; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.page-hero .eyebrow { color: #e7d6bf; }

/* ============================================================
   INTRO (Accueil)
   ============================================================ */
.intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4.5rem; align-items: center;
  padding: 7rem 0;
}
.intro-img {
  background-image: var(--bg, none);
  background-size: cover; background-position: center;
  aspect-ratio: 4/5;
  border-radius: 3px;
  position: relative;
}
.intro-img::after {
  content: ''; position: absolute; inset: 14px;
  border: 1px solid rgba(244,239,230,.6);
  border-radius: 2px; pointer-events: none;
}
.intro h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 1rem 0 1.4rem; }
.intro p + p { margin-top: 1.1rem; }
.intro .sign {
  margin-top: 1.8rem; font-family: var(--display);
  font-style: italic; font-size: 1.3rem; color: var(--olive-deep);
}

/* ============================================================
   SECTIONS GENERIQUES
   ============================================================ */
.section-head { text-align: center; max-width: 38rem; margin: 0 auto 4rem; }
.section-head h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-top: .8rem; }
.section-head p { margin-top: 1rem; color: var(--muted); }
.section-head.left { text-align: left; margin-left: 0; }

.section-pad { padding: 7rem 0; }
.section-pad-sm { padding: 5rem 0; }
.section-alt { background: var(--cream-deep); }

/* ============================================================
   GÎTES — apercu accueil
   ============================================================ */
.gite-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.gite-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
  display: flex; flex-direction: column;
}
.gite-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -22px rgba(46,42,34,.35);
}
.gite-photo {
  aspect-ratio: 3/2;
  background-image: var(--bg, none);
  background-size: cover; background-position: center;
}
.gite-body { padding: 2rem 2.2rem 2.4rem; flex: 1; display: flex; flex-direction: column; }
.stars { color: var(--ochre); letter-spacing: .25em; font-size: .8rem; }
.gite-body h3 { font-size: 1.9rem; margin: .5rem 0 .7rem; }
.gite-body p { color: var(--muted); font-size: .96rem; }
.gite-feats {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 1.3rem 0;
}
.gite-feats li {
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  padding: .35rem .8rem; border-radius: 2px;
}
.gite-link {
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ochre-deep); border-bottom: 1px solid var(--ochre);
  padding-bottom: 2px;
  align-self: flex-start;
  margin-top: auto;
}
.gite-link:hover { color: var(--ochre); }

/* ============================================================
   GÎTES — page detail
   ============================================================ */
.gite-detail {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem;
  align-items: start;
  padding: 5.5rem 0;
}
.gite-detail.flip { grid-template-columns: 1fr 1.2fr; }
.gite-detail.flip .gallery { order: 2; }
.gite-detail.flip .gite-info { order: 1; }
.gite-detail + .gite-detail { border-top: 1px solid var(--line); }

.gite-info h2 { font-size: clamp(2.1rem, 4vw, 3rem); margin: .8rem 0 1.2rem; }
.gite-info .lead { font-size: 1.05rem; color: var(--muted); }
.gite-info p + p { margin-top: 1rem; }

.spec-list {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: .8rem 2rem; margin: 1.8rem 0;
}
.spec-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .65rem 0; border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.spec-list .k { color: var(--muted); }
.spec-list .v { color: var(--ink); font-weight: 500; }

.feat-list {
  list-style: none; display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem 1.5rem; margin: 1.5rem 0 2rem;
}
.feat-list li {
  font-size: .92rem; padding-left: 1.4rem; position: relative; color: var(--ink);
}
.feat-list li::before {
  content: ''; position: absolute; left: 0; top: .65em;
  width: 6px; height: 6px; background: var(--ochre); border-radius: 50%;
}

.gallery { display: grid; gap: .8rem; }
.gallery-main {
  aspect-ratio: 4/3; background-image: var(--bg, none); background-size: cover; background-position: center;
  border-radius: 3px; cursor: zoom-in;
}
.gallery-thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem;
}
.gallery-thumb {
  aspect-ratio: 1/1; background-image: var(--bg, none); background-size: cover; background-position: center;
  border-radius: 2px; cursor: pointer; opacity: .85;
  transition: opacity .3s, transform .3s;
}
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; transform: translateY(-2px); }

/* Lightbox */
/* Page Galerie : vignettes en grille, ouvertes dans la visionneuse */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 45%), 1fr)); gap: .8rem; margin-top: 2rem; }
.photo-grid a { display: block; overflow: hidden; border-radius: 3px; aspect-ratio: 3 / 2; background: var(--cream-deep); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-grid a:hover img, .photo-grid a:focus-visible img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(20,17,12,.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 3px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: none; border: 0; cursor: pointer;
  color: var(--cream); font-size: 2rem; padding: 1rem;
  font-family: var(--display);
}
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev  { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Bandeau equipements communs */
.common-feats { background: var(--cream-deep); padding: 5.5rem 0; }
.common-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  margin-top: 2.5rem;
}
.common-item { text-align: center; padding: 0 .5rem; }
.common-item .icon {
  font-size: 2rem; color: var(--ochre-deep);
  font-family: var(--display); margin-bottom: .5rem;
}
.common-item h4 { font-size: 1.3rem; margin-bottom: .4rem; }
.common-item p { font-size: .9rem; color: var(--muted); }

/* Page d'un gîte */
.gite-crumbs { padding-top: 1.6rem; font-size: .9rem; }
.gite-info h2 a { color: inherit; }

/* Questions fréquentes (accueil) */
.faq-wrap { max-width: 860px; }
.faq { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: 1.3rem; color: var(--olive-deep);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: none; font-family: var(--body); font-size: 1.4rem; color: var(--ochre-deep); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--ochre); outline-offset: 4px; }
.faq-answer { padding: 0 0 1.3rem; color: var(--muted); }

/* Page piscine */
.pool-photos { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .pool-photos { grid-template-columns: repeat(2, 1fr); } }
.pool-request { align-items: start; }
.pool-request .reserv-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 900px) { .pool-request .reserv-side { position: static; } }
@media (max-width: 540px) {
  .sticky-cta-inner { gap: .6rem; }
  .sticky-cta p { flex-direction: column; gap: 0; min-width: 0; }
  .sticky-cta strong { font-size: 1.05rem; white-space: nowrap; }
  .sticky-cta span { font-size: .8rem; }
  .sticky-cta .btn { padding: .7rem .75rem; font-size: .7rem; letter-spacing: .06em; }
}
.pool-request .form-card-title { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 1.2rem; }
.pool-request .booking-dates .date-display { white-space: nowrap; }
.pool-request .daterange { left: auto; right: 0; }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--cream); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(20,18,14,.12);
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .8rem; padding-bottom: .8rem; }
.sticky-cta p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; }
.sticky-cta strong { font-family: var(--display); font-size: 1.3rem; font-weight: 500; color: var(--olive-deep); }
.sticky-cta span { color: var(--muted); font-size: .9rem; }
.sticky-cta .btn { flex: none; }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
.pool-day-price { font-family: var(--display); font-size: 1.5rem; color: var(--olive-deep); margin-top: 1rem; }

/* ============================================================
   VILLAGES (Accueil + page Luberon)
   ============================================================ */
.village-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem;
  margin-top: 3.5rem;
}
.village {
  position: relative; aspect-ratio: 3/4; border-radius: 3px;
  overflow: hidden; cursor: pointer;
  background-color: var(--olive-deep);
  background-image: var(--bg, linear-gradient(180deg, #7c8264, var(--olive-deep)));
  background-size: cover; background-position: center;
}
.village::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(46,42,34,.78));
  transition: background .3s;
}
.village:hover::before { background: linear-gradient(transparent 20%, rgba(46,42,34,.85)); }
.village span {
  position: absolute; bottom: 1rem; left: 0; right: 0;
  text-align: center; color: var(--cream);
  font-family: var(--display); font-size: 1.35rem;
  transition: transform .3s;
}
.village:hover span { transform: translateY(-4px); }

/* Page Luberon — fiches village detaillees */
.village-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.village-card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 3px; overflow: hidden; display: flex; flex-direction: column;
}
.village-card .photo {
  aspect-ratio: 16/10; background-image: var(--bg, none); background-size: cover; background-position: center;
}
.village-card .body { padding: 1.6rem 1.8rem 1.8rem; }
.village-card h3 { font-size: 1.6rem; margin-bottom: .35rem; }
.village-card .distance {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ochre-deep); margin-bottom: .9rem;
}
.village-card p { font-size: .95rem; color: var(--muted); }

/* Liste a puces stylee pour activites */
.activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
.activity h3 {
  font-size: 1.4rem; margin-bottom: .4rem;
  padding-left: 1.4rem; position: relative;
}
.activity h3::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; background: var(--ochre); border-radius: 50%;
}
.activity p { color: var(--muted); padding-left: 1.4rem; }

/* ============================================================
   RESERVATION
   ============================================================ */
.promise-bar {
  background: var(--cream-deep); padding: 3rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.promise-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  text-align: center;
}
.promise h3 { font-size: 1.2rem; color: var(--olive-deep); margin-bottom: .25rem; }
.promise p { font-size: .9rem; color: var(--muted); }

.tarif-table {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: var(--cream);
}
.tarif-row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  border-top: 1px solid var(--line);
}
.tarif-row:first-child {
  border-top: 0;
  background: var(--olive-deep); color: var(--cream);
}
.tarif-row > div {
  padding: 1rem 1.2rem; font-size: .92rem;
  border-left: 1px solid var(--line);
}
.tarif-row > div:first-child { border-left: 0; }
.tarif-row.head > div {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500;
  border-color: rgba(244,239,230,.18);
}
.tarif-note { margin-top: 1rem; font-size: .85rem; color: var(--muted); font-style: italic; }

/* Page Réservation : réserver en ligne (action principale) et consulter les tarifs */
.cta-duo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: stretch; }
.cta-card { padding: 2.4rem; border: 1px solid var(--line); border-radius: 3px; background: var(--cream); }
.cta-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: .6rem 0 1rem; }
.cta-card p { color: var(--muted); }
.cta-card-primary { background: var(--cream-deep); border-color: var(--ochre); }
.cta-card-action { margin-top: 1.5rem; }
.cta-card-note { margin-top: .8rem; font-size: .9rem; }

.reserv-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; }
.reserv-side h2 { font-size: clamp(1.9rem, 3.3vw, 2.6rem); margin: .8rem 0 1.2rem; }
.reserv-side ul.bullets { list-style: none; margin: 1.4rem 0; display: grid; gap: .7rem; }
.reserv-side ul.bullets li {
  padding-left: 1.6rem; position: relative;
}
.reserv-side ul.bullets li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--ochre); font-weight: 600;
}

/* ============================================================
   FORMULAIRES
   ============================================================ */
.form-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2.2rem 2.4rem;
}
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.form label {
  display: block;
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--olive-deep); margin-bottom: .35rem; font-weight: 500;
}
.form input, .form select, .form textarea {
  width: 100%;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  color: var(--ink); padding: .85rem 1rem;
  font-family: var(--body); font-size: .95rem; border-radius: 2px;
  font-weight: 300;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(46,42,34,.45); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 0; border-color: var(--ochre); background: var(--cream);
}
.form textarea { min-height: 130px; resize: vertical; }

.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--muted); }
/* La case de consentement est un <label> : pas le style majuscule des libellés de champ. */
.form .form-consent { font-size: .85rem; letter-spacing: normal; text-transform: none; font-weight: 400; color: var(--muted); line-height: 1.55; cursor: pointer; }
.form-consent input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .1rem; accent-color: var(--ochre-deep); cursor: pointer; }

.form button[type="submit"] {
  justify-self: start;
  background: var(--ochre); color: var(--cream);
  border: 0; padding: .95rem 2.2rem;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 2px; cursor: pointer;
  transition: background .3s, transform .25s;
  font-family: var(--body);
}
.form button[type="submit"]:hover { background: var(--ochre-deep); transform: translateY(-2px); }

/* Variante sombre (utilisee dans la section contact de l'accueil) */
.form.on-dark input, .form.on-dark select, .form.on-dark textarea {
  background: rgba(244,239,230,.08);
  border-color: rgba(244,239,230,.28);
  color: var(--cream);
}
.form.on-dark input::placeholder, .form.on-dark textarea::placeholder {
  color: rgba(244,239,230,.55);
}
.form.on-dark label { color: #d9c7a8; }
.form.on-dark .form-consent { color: #d9c7a8; }

/* Bandeaux retour formulaire */
.flash {
  padding: 1rem 1.3rem; border-radius: 2px; margin-bottom: 1.5rem;
  font-size: .92rem;
}
.flash-ok  { background: #e8efd8; color: var(--olive-deep); border-left: 3px solid var(--olive); }
.flash-err { background: #f2dcc6; color: var(--ochre-deep); border-left: 3px solid var(--ochre); }

/* ============================================================
   CONTACT — section accueil
   ============================================================ */
.contact-block { background: var(--olive-deep); color: var(--cream); padding: 7rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; }
.contact-block .eyebrow { color: #d9c7a8; }
.contact-block h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 1rem 0 1.4rem; }
.contact-info { margin-top: 2rem; display: grid; gap: 1.2rem; }
.contact-info div { display: flex; gap: 1rem; align-items: baseline; }
.contact-info .label {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: #d9c7a8; min-width: 92px;
}

/* Page Contact ----------------------------------------------- */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; }
.contact-coords {
  display: grid; gap: 1.3rem; margin: 1.8rem 0 2.2rem;
}
.contact-coords .row {
  display: grid; grid-template-columns: 110px 1fr; gap: 1rem; align-items: baseline;
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--line);
}
.contact-coords .label {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ochre-deep);
}
.contact-map iframe {
  width: 100%; aspect-ratio: 4/3; border: 0; border-radius: 3px;
  margin-top: 2.5rem;
}
.routes { display: grid; gap: 1.2rem; margin-top: 2rem; }
.routes h4 { font-size: 1.1rem; color: var(--olive-deep); margin-bottom: .2rem; }
.routes p { font-size: .92rem; color: var(--muted); }

/* ============================================================
   MENTIONS LEGALES
   ============================================================ */
.legal { padding: 5rem 0; }
.legal-wrap { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin: 2rem 0 .8rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { font-size: .96rem; color: var(--ink); }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: .8rem; }
.legal ul { margin-left: 1.2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #cabfa9; padding: 4.5rem 0 2.5rem; }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(202,191,169,.18);
}
.foot-col .brand { color: var(--cream); font-size: 1.4rem; display: inline-block; margin-bottom: 1rem; }
.foot-tag { font-size: .9rem; line-height: 1.6; }
.foot-label {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ochre); margin-bottom: .6rem;
}
.foot-label-spaced { margin-top: 1.4rem; }
.foot-col address { font-style: normal; font-size: .92rem; line-height: 1.7; margin-bottom: 1.2rem; }
.foot-col a:hover { color: var(--cream); }
.foot-links, .foot-social { list-style: none; display: grid; gap: .5rem; font-size: .92rem; }
.foot-partners { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.partner-badge {
  display: inline-block; font-size: .7rem; letter-spacing: .08em;
  text-transform: uppercase; padding: .35rem .7rem;
  border: 1px solid rgba(202,191,169,.35); border-radius: 2px;
}
.foot-base {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; padding-top: 2rem;
}
.foot-base small { font-size: .8rem; opacity: .75; }

/* Numéros de téléphone : zone tactile confortable sur mobile sans changer la mise en page. */
:where(a[href^="tel:"]) { display: inline-block; padding-block: .35rem; }
.foot-legal { list-style: none; display: flex; gap: 1.4rem; }
.foot-legal a { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

/* ============================================================
   BANDEAU COOKIES
   ============================================================ */
.cookies {
  position: fixed; left: 1.5rem; right: 1.5rem; bottom: 1.5rem;
  background: var(--ink); color: var(--cream);
  padding: 1.2rem 1.5rem; border-radius: 3px;
  z-index: 60;
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.4);
  max-width: 720px; margin: 0 auto;
  font-size: .88rem;
}
.cookies[hidden] { display: none; }
.cookies .actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookies button {
  background: transparent; border: 1px solid rgba(244,239,230,.4); color: var(--cream);
  padding: .5rem 1rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 2px; cursor: pointer; font-family: var(--body);
}
.cookies button.primary { background: var(--ochre); border-color: var(--ochre); }
.cookies button.primary:hover { background: var(--ochre-deep); border-color: var(--ochre-deep); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* En-tête : 5 liens, 2 langues et le bouton Réserver. Le téléphone (repris dans
   le pied de page et le menu mobile) disparaît d'abord, puis le menu passe en burger. */
@media (max-width: 1320px) {
  .nav-tel { display: none; }
  .nav-links { gap: 1.5rem; }
}
@media (max-width: 1080px) {
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hs-gite { border-bottom: 1px solid var(--line); border-radius: 4px 0 0 0; }
  .hs-dates { border-bottom: 1px solid var(--line); border-right: 0; }
  .hs-submit { border-radius: 0 0 4px 0; }
  .hero-search .daterange { left: 0; }
  .nav-main, .nav-tools > .lang-switch { display: none; }
  .burger { display: block; }
  .nav-tools { gap: .5rem; }
}
@media (max-width: 900px) {

  .intro, .gite-grid, .contact-grid, .contact-page-grid,
  .reserv-grid, .village-cards, .activity-grid, .cta-duo,
  .promise-grid, .common-grid {
    grid-template-columns: 1fr; gap: 2.5rem;
  }
  .village-grid { grid-template-columns: repeat(2, 1fr); }
  .gite-detail, .gite-detail.flip { grid-template-columns: 1fr; gap: 2.5rem; }
  .gite-detail.flip .gallery, .gite-detail.flip .gite-info { order: initial; }

  .intro { padding: 4.5rem 0; }
  .section-pad { padding: 4.5rem 0; }
  .section-pad-sm { padding: 3.5rem 0; }
  .common-feats, .contact-block { padding: 4.5rem 0; }

  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .foot-base { flex-direction: column; align-items: flex-start; }

  .tarif-row { grid-template-columns: 1.4fr 1fr 1fr 1fr; font-size: .82rem; }
  .form-row { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .feat-list { grid-template-columns: 1fr; }

  .cookies { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  /* Marges latérales seulement : .wrap est souvent combiné avec .section-pad,
     .page-hero-inner ou .foot-grid, dont les marges verticales doivent rester. */
  .wrap { padding-left: 1.3rem; padding-right: 1.3rem; }
  .form-card, .cta-card { padding: 1.6rem 1.3rem; }
  .village-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .brand { font-size: 1.3rem; }
  .hero-inner { padding-bottom: 3.5rem; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { padding-top: 3rem; padding-bottom: 3rem; }
  .hero-search { grid-template-columns: 1fr 1fr; margin-top: 1.6rem; }
  .hero-search { grid-template-columns: 1fr; }
  .hs-field { padding: .6rem .9rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .hs-gite { border-radius: 4px 4px 0 0; }
  .hs-submit { border-radius: 0 0 4px 4px; }
  .hs-guests.is-enhanced .hs-guests-panel { width: 100%; }
  .tarif-row { grid-template-columns: 1.2fr 1fr; }
  .tarif-row > div:nth-child(3), .tarif-row > div:nth-child(4) { display: none; }
}
@media (max-width: 400px) {
  .brand { font-size: 1.1rem; }
  .nav-cta { padding: .45rem .65rem; font-size: .72rem; letter-spacing: .05em; }
  .nav, .nav-tools { gap: .3rem; }
}

/* ============================================================
   Utilitaires (remplacent les attributs style="", interdits par la CSP)
   ============================================================ */
.link-underline { text-decoration: underline; }
.feat-title { font-size: 1.1rem; margin: 1.4rem 0 .6rem; color: var(--olive-deep); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.cta-center { text-align: center; margin-top: 3rem; }
.cta-center--wide { margin-top: 4rem; }
.section-pad.cta-center { margin-top: 0; }
.contact-title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-top: .6rem; }
.eyebrow-spaced { margin-top: 2rem; }
.map-link { font-size: .82rem; color: var(--muted); margin-top: .6rem; }
.form-card > .eyebrow { margin-bottom: .8rem; }
.form-card-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.5rem; }
.muted-note { font-size: .9rem; color: var(--muted); }
.social-box { margin-top: 2rem; padding: 1.5rem 1.8rem; border-left: 3px solid var(--ochre); background: var(--cream-deep); }
.social-links { margin-top: .6rem; display: flex; gap: 1.5rem; font-size: .9rem; }
.social-links a { border-bottom: 1px solid var(--ochre); padding-bottom: 2px; }
.reserv-urgent { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.reserv-phone { margin-top: .4rem; font-family: var(--display); font-size: 1.5rem; color: var(--olive-deep); }
.legal-title { font-size: clamp(2rem, 4vw, 2.8rem); margin: .6rem 0 2.5rem; }

/* Bouton « Modifier cette page » : administrateur connecté uniquement (main.js). */
.admin-edit {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 90;
  padding: .6rem 1rem; border-radius: 3px;
  background: var(--olive-deep); color: var(--cream);
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(20,18,14,.3);
}
.admin-edit:hover, .admin-edit:focus-visible { background: var(--ochre-deep); color: var(--cream); }
.admin-edit[hidden] { display: none; }

/* ============================================================
   Avis clients vérifiés
   ============================================================ */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 1.6rem; margin-top: 2rem; }
.review-card { display: flex; flex-direction: column; gap: .9rem; padding: 1.8rem; background: var(--cream); border: 1px solid var(--line); border-radius: 3px; }
.section-alt .review-card { background: var(--cream); }
.review-stars { color: var(--ochre); letter-spacing: .15em; font-size: 1.05rem; }
.review-stars .is-empty { color: var(--line); }
.review-card blockquote { margin: 0; font-family: var(--display); font-size: 1.15rem; line-height: 1.5; color: var(--ink); }
.review-meta { margin-top: auto; font-size: .85rem; color: var(--muted); display: grid; gap: .2rem; }
.review-meta strong { color: var(--ink); font-weight: 500; }
.review-verified { color: var(--olive-deep); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.review-reply { padding: .9rem 1rem; border-left: 3px solid var(--ochre); background: var(--cream-deep); font-size: .9rem; }
.review-reply-label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre-deep); margin-bottom: .3rem; }
.review-summary { font-size: 1.05rem; color: var(--olive-deep); }
.section-head .review-summary { margin-top: .6rem; }
.review-method h2 { margin: .6rem 0 1rem; }
.review-method p, .review-method ul { margin-top: .9rem; color: var(--muted); }
.review-method ul { padding-left: 1.2rem; list-style: disc; }

/* Formulaire d'avis : étoiles cliquables (5 → 1 dans le code, affichées 1 → 5). */
.review-form { max-width: 720px; }
.rating-input { border: 0; padding: 0; margin: 0; }
.form .rating-input legend { font-family: var(--body); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-deep); font-weight: 500; margin-bottom: .35rem; }
/* row-reverse : « flex-end » cale les étoiles à gauche. */
.rating-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; }
.rating-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .rating-stars label { margin: 0; letter-spacing: 0; text-transform: none; font-size: 2.2rem; line-height: 1; color: var(--line); cursor: pointer; transition: color .15s; }
.rating-stars label:hover, .rating-stars label:hover ~ label,
.rating-stars input:checked ~ label { color: var(--ochre); }
.rating-stars input:focus-visible + label { outline: 2px solid var(--ochre-deep); outline-offset: 2px; border-radius: 2px; }

/* Page de maintenance (site fermé au back-office) */
.maintenance-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; background: var(--cream); }
.maintenance { max-width: 34rem; text-align: center; display: grid; gap: 1.2rem; }
.maintenance .brand { font-size: 1.6rem; justify-self: center; }
.maintenance h1 { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--olive-deep); }
.maintenance-message { font-size: 1.05rem; }
.maintenance-contact { color: var(--muted); font-size: .95rem; }
.maintenance-contact a { color: var(--ochre-deep); }
