/* ============================================================
   LES ACACIAS — feuille de style
   Direction artistique : boutique provençale haut de gamme,
   éditoriale — vert profond, pierre, off-white, noir.
   Typographie : Fraunces (serif d'affichage) + Inter (sans).
   ============================================================ */

:root {
  /* Palette */
  --paper: #f5f3ed;        /* off-white, fond principal */
  --paper-deep: #ebe8df;   /* off-white plus dense (sections) */
  --stone: #a49e8f;        /* pierre — accents discrets */
  --pine: #1c2b21;         /* vert profond — sections sombres */
  --pine-deep: #141f18;    /* vert quasi noir — footer, overlays */
  --moss: #44614e;         /* vert mousse — liens, accents */
  --ink: #141813;          /* texte principal */
  --ink-soft: #5a5f55;     /* texte secondaire */
  --cream: #ece8db;        /* texte clair sur fond sombre */
  --cream-soft: rgba(236, 232, 219, 0.66);
  --line: rgba(20, 26, 21, 0.16);        /* filets hairline */
  --line-light: rgba(236, 232, 219, 0.22);

  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  --measure: 42rem;        /* largeur de lecture */
  --frame: 1320px;         /* largeur maxi du contenu */
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 350;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  color: inherit;
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }

p { margin: 0 0 1.2em; color: var(--ink-soft); }

a {
  color: var(--moss);
  text-decoration: none;
  transition: color .25s ease, opacity .25s ease;
}
a:hover { color: var(--ink); }

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

::selection { background: var(--pine); color: var(--cream); }

/* Étiquette éditoriale — petites capitales espacées */
.eyebrow {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 1.5rem;
}

/* ============================================================
   Apparitions au défilement
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s cubic-bezier(.22, .61, .36, 1),
              transform .9s cubic-bezier(.22, .61, .36, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Boutons — rectangulaires, capitales espacées
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.05rem 2.2rem;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn-primary {
  background: var(--pine);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--moss);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
}
.btn-small { padding: .7rem 1.4rem; }

/* ============================================================
   En-tête
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 243, 237, 0.9);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(245, 243, 237, 0.98); }
}
.header-inner {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: .01em;
}
.brand-sub {
  font-size: .62rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: .2rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav > a {
  color: var(--ink);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav > a:hover { color: var(--moss); }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  overflow: hidden;
}
.lang-btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: .4rem .75rem;
  font: inherit;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.lang-btn.active {
  background: var(--pine);
  color: var(--cream);
}

/* ============================================================
   Héros — image pleine page, texte posé dessus
   ============================================================ */
.hero {
  position: relative;
  min-height: min(92vh, 960px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('photos/hero.jpg') center/cover no-repeat,
              linear-gradient(165deg, #2c4033, var(--pine-deep));
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(20, 31, 24, 0.34) 0%,
              rgba(20, 31, 24, 0.06) 40%,
              rgba(20, 31, 24, 0.62) 100%);
}
.hero-content {
  position: relative;
  width: 100%;
  max-width: var(--frame);
  margin: 0 auto;
  padding: 7rem var(--gutter) clamp(3rem, 7vh, 5.5rem);
}
.hero .eyebrow { color: var(--cream-soft); }
.hero h1 {
  color: #fff;
  max-width: 17ch;
  margin-bottom: 1.75rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}
.hero-features {
  list-style: none;
  padding: 1.4rem 0 0;
  margin: 0;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 3rem;
}
.hero-features li {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-soft);
}

/* ============================================================
   Intro éditoriale
   ============================================================ */
.intro {
  max-width: 54rem;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8.5rem) var(--gutter);
  text-align: center;
}
.intro-lede {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.5;
  font-weight: 350;
  color: var(--ink);
  margin: 0;
}

/* ============================================================
   Sections — gabarit commun
   ============================================================ */
section { scroll-margin-top: 84px; }
.section-head {
  max-width: 46rem;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  padding: 0 var(--gutter);
}
.section-head p { max-width: var(--measure); margin-left: auto; margin-right: auto; }

/* ============================================================
   Les appartements — cartes éditoriales, photo d'abord
   ============================================================ */
.apartments {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(5rem, 9vw, 8rem);
}
.apt-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.apt-card {
  display: block;
  color: var(--ink);
}
.apt-card:hover { color: var(--ink); }
.apt-card-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep) center/cover no-repeat;
  background-image: var(--cover);
  transition: opacity .4s ease;
}
.apt-card:hover .apt-card-photo { opacity: .92; }
.apt-card-body {
  padding: 1.6rem 0 0;
}
.apt-index {
  display: block;
  font-size: .68rem;
  letter-spacing: .32em;
  color: var(--stone);
  margin-bottom: .9rem;
}
.apt-card-body h3 { margin-bottom: .4rem; }
.apt-meta {
  font-size: .72rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .18em;
  margin: 0 0 1rem;
}
.apt-card-body > p { font-size: .95rem; }
.apt-price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 1.1rem;
}
.apt-card-link {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: .3rem;
  transition: color .25s ease, border-color .25s ease;
}
.apt-card:hover .apt-card-link { color: var(--moss); border-color: var(--moss); }

/* ============================================================
   Le domaine — section sombre
   ============================================================ */
.property {
  background: var(--pine);
  color: var(--cream);
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
}
.property-inner { max-width: var(--frame); margin: 0 auto; }
.property .section-head { text-align: left; margin-left: 0; padding: 0; }
.property h2 { color: var(--cream); }
.property p { color: var(--cream-soft); }
.property .eyebrow { color: rgba(236, 232, 219, 0.45); }
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  margin: 3rem 0 3.5rem;
}
.property-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--pine-deep) center/cover no-repeat;
  background-image: var(--cover);
}
.property-tile span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2rem 1.25rem 1rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgba(20, 31, 24, 0.8));
}

/* Équipements — liste éditoriale à filets */
.facilities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 3rem;
}
.facilities li {
  border-top: 1px solid var(--line-light);
  padding: .85rem 0;
  font-size: .92rem;
  color: var(--cream);
}
/* …la même liste sur fond clair (pages appartement) */
.detail .facilities li {
  border-top-color: var(--line);
  color: var(--ink);
}

/* ============================================================
   Le lieu
   ============================================================ */
.location {
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
  background: var(--paper);
}
.location-inner {
  max-width: var(--frame);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.loc-photo {
  aspect-ratio: 4 / 5;
  background: url('photos/location.jpg') center/cover no-repeat,
              linear-gradient(160deg, var(--paper-deep), var(--stone));
}
.distances {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.distances li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: .8rem 0;
  font-size: .95rem;
  color: var(--ink);
}
.distances li:last-child { border-bottom: 1px solid var(--line); }
.distances li span { color: var(--ink-soft); }

/* Bandeau de photos (Caveirac) */
.strip-wrap {
  max-width: var(--frame);
  margin: clamp(3rem, 6vw, 5rem) auto 0;
}
.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .5rem;
  margin-top: 1.25rem;
}
.photo-strip button {
  appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper-deep);
}
.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .35s ease;
}
.photo-strip button:hover img { opacity: .85; }

/* ============================================================
   Réserver — section sombre + formulaire
   ============================================================ */
.reserve {
  background: var(--pine-deep);
  color: var(--cream);
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
}
.reserve-inner { max-width: 52rem; margin: 0 auto; text-align: center; }
.reserve h2 { color: var(--cream); }
.reserve > .reserve-inner > p { color: var(--cream-soft); }
.reserve .eyebrow { color: rgba(236, 232, 219, 0.45); }
.reserve-note {
  font-size: .85rem;
  color: rgba(236, 232, 219, 0.5);
  margin: 1.5rem 0 0;
}

.booking {
  border: 1px solid var(--line-light);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin: 3rem 0 0;
  text-align: left;
}
.booking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.field-wide { grid-column: 1 / -1; }
.field-label {
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 600;
  color: var(--cream-soft);
}
.booking input,
.booking select,
.booking textarea {
  font: inherit;
  font-size: .95rem;
  padding: .8rem .9rem;
  border: 1px solid var(--line-light);
  border-radius: 0;
  background: rgba(236, 232, 219, 0.06);
  color: var(--cream);
  width: 100%;
  transition: border-color .25s ease, background .25s ease;
}
.booking select { appearance: none; }
.booking select option { color: var(--ink); background: var(--paper); }
.booking textarea { resize: vertical; }
.booking input:focus,
.booking select:focus,
.booking textarea:focus {
  outline: none;
  border-color: var(--cream);
  background: rgba(236, 232, 219, 0.1);
}
.booking input::placeholder,
.booking textarea::placeholder { color: rgba(236, 232, 219, 0.35); }
/* Icônes natives (calendrier) lisibles sur fond sombre */
.booking input::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .7; }

.booking-estimate {
  margin-top: 1.75rem;
  font-size: .95rem;
  color: var(--cream);
}
.booking-estimate .est-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line-light);
}
.booking-estimate .est-total {
  font-family: var(--serif);
  font-size: 1.25rem;
  border-bottom: 0;
  padding-top: .8rem;
}
.booking-estimate .est-note,
.est-note {
  font-size: .8rem;
  color: rgba(236, 232, 219, 0.5);
  margin: .7rem 0 0;
}
.booking-error {
  color: #e8a894;
  font-size: .9rem;
  margin: 1.25rem 0 0;
}
.booking-availability {
  font-size: .85rem;
  letter-spacing: .06em;
  margin: 1rem 0 0;
  min-height: 1.2em;
  color: var(--cream-soft);
}
.booking-availability.ok { color: #a9c9a4; }
.booking-availability.ko { color: #e8a894; }
.booking-submit { margin-top: 1.75rem; width: 100%; }
.reserve .btn-primary {
  background: var(--cream);
  color: var(--pine-deep);
}
.reserve .btn-primary:hover {
  background: #fff;
  color: var(--pine-deep);
}

/* ============================================================
   Bon à savoir — règles de la maison
   ============================================================ */
.rules {
  background: var(--paper-deep);
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
}
.rules-inner { max-width: var(--frame); margin: 0 auto; }
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.rules-block h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.rules-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rules-block li {
  border-top: 1px solid var(--line);
  padding: .8rem 0;
  font-size: .92rem;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .rules-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact { padding: clamp(5rem, 9vw, 8rem) var(--gutter); }
.contact-inner { max-width: var(--frame); margin: 0 auto; text-align: center; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}
.contact-block {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: center;
}
.contact-block a,
.contact-block span {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
}
.contact-block a:hover { color: var(--moss); }
.contact-label {
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .64rem;
  color: var(--stone);
  font-weight: 600;
}

/* ============================================================
   Pied de page
   ============================================================ */
.site-footer {
  background: var(--pine-deep);
  color: rgba(236, 232, 219, 0.55);
  padding: 2.5rem var(--gutter);
  text-align: center;
  font-size: .8rem;
  letter-spacing: .08em;
}
.site-footer p { margin: 0; color: inherit; }

/* ============================================================
   Page appartement — colonne de lecture éditoriale
   ============================================================ */
.detail {
  --reading: 60rem;
  max-width: var(--frame);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(4rem, 8vw, 7rem);
}
.detail > .detail-head,
.detail > .detail-sub,
.detail > .facilities,
.detail > .back-link {
  max-width: var(--reading);
  margin-left: auto;
  margin-right: auto;
}
.back-link {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  color: var(--ink-soft);
}
.back-link:hover { color: var(--moss); }
.detail-head { margin-bottom: 1rem; }
.detail-head h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); margin-bottom: .75rem; }
.detail-head > p:not(.apt-meta) { max-width: var(--measure); font-size: 1.05rem; }
.detail-head .apt-price { margin: .25rem 0 1.25rem; }
.detail-head .btn { margin-top: 1rem; }
.detail-sub {
  margin: clamp(3rem, 6vw, 4.5rem) auto 1.5rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}
.detail .facilities { grid-template-columns: repeat(3, 1fr); }
.detail .apt-gallery { margin-top: .5rem; }

.apt-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}
.apt-gallery button {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: var(--paper-deep);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.apt-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .35s ease;
}
.apt-gallery button:hover img { opacity: .85; }

/* ============================================================
   Calendrier de disponibilités (pages appartement)
   ============================================================ */
.cal-section {
  max-width: 60rem;
  margin: 0 auto;
}
.cal-section[hidden] { display: none; }
.availability-cal { position: relative; }
.cal-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: .5rem;
}
.cal-nav button {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.cal-nav button:hover:not(:disabled) { background: var(--pine); color: var(--cream); }
.cal-nav button:disabled { opacity: .3; cursor: default; }
.cal-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.cal-month-label {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 1rem;
  text-transform: capitalize;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
  font-size: .82rem;
}
.cal-dayname {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--stone);
  padding: .3rem 0;
}
.cal-day {
  padding: .45rem 0;
  background: rgba(68, 97, 78, 0.08);
  color: var(--ink);
}
.cal-day.busy {
  background: var(--paper-deep);
  color: var(--stone);
  text-decoration: line-through;
}
.cal-day.past {
  background: transparent;
  color: var(--stone);
}
.cal-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  font-size: .8rem;
  color: var(--ink-soft);
  margin: 1.25rem 0 0;
}
.cal-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: rgba(68, 97, 78, 0.25);
}
.cal-dot.busy { background: var(--paper-deep); border: 1px solid var(--line); }
.cal-legend-note { flex-basis: 100%; color: var(--stone); }

@media (max-width: 720px) {
  .cal-months { grid-template-columns: 1fr; }
  .cal-months .cal-month:last-child { display: none; }
}

/* ============================================================
   Pages Événements & Piscine
   ============================================================ */
.exp-cards { grid-template-columns: 1fr 1fr; }
.exp-cards .apt-card-photo { aspect-ratio: 16 / 10; }
.experiences { padding-top: clamp(5rem, 9vw, 8rem); }
.pool-photo {
  aspect-ratio: 21 / 9;
  background: url('photos/hero.jpg') center/cover no-repeat,
              linear-gradient(160deg, var(--paper-deep), var(--stone));
  margin-top: 2rem;
}
.detail .property-grid { margin: 3rem 0 0; }

@media (max-width: 960px) {
  .exp-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   Mode édition (admins connectés uniquement — voir edit.js)
   ============================================================ */
.edit-toolbar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  background: var(--pine-deep);
  color: var(--cream);
  padding: .7rem .9rem;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  font-size: .8rem;
  max-width: min(92vw, 460px);
}
.edit-toolbar button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-size: .74rem;
  letter-spacing: .08em;
  padding: .5rem .95rem;
  cursor: pointer;
  transition: background .2s ease;
}
.edit-toolbar button:hover { background: rgba(255, 255, 255, 0.12); }
.edit-toolbar .et-save {
  background: var(--cream);
  color: var(--pine-deep);
  border-color: var(--cream);
  font-weight: 600;
}
.edit-toolbar .et-admin { color: var(--cream-soft); font-size: .72rem; }
.edit-toolbar .et-admin:hover { color: #fff; }
.edit-toolbar .et-status {
  flex-basis: 100%;
  font-size: .72rem;
  line-height: 1.45;
  color: var(--cream-soft);
}

.acacias-editing [data-i18n] {
  outline: 1px dashed rgba(179, 87, 63, 0.75);
  outline-offset: 2px;
  cursor: text;
}
.acacias-editing [data-photo] {
  outline: 2px dashed rgba(179, 87, 63, 0.85);
  outline-offset: -2px;
  cursor: pointer;
}
.acacias-editing .lang-toggle { pointer-events: none; opacity: .35; }
.acacias-editing .cal-day:not(.past) { cursor: pointer; }
.acacias-editing .cal-day:not(.past):not(.busy):hover { box-shadow: inset 0 0 0 2px var(--moss); }

/* Jour bloqué manuellement (distinct des réservations Airbnb/Booking) */
.cal-day.manual { box-shadow: inset 0 0 0 1px var(--stone); }

/* ============================================================
   Visionneuse (lightbox)
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 18, 14, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  transition: background .2s ease, border-color .2s ease;
  line-height: 1;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev  { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .apt-cards { grid-template-columns: 1fr; gap: 3.5rem; }
  .apt-card-photo { aspect-ratio: 4 / 3; }
  .property-grid { grid-template-columns: 1fr; }
  .facilities,
  .detail .facilities { grid-template-columns: 1fr 1fr; }
  .location-inner { grid-template-columns: 1fr; }
  .loc-photo { aspect-ratio: 4 / 3; order: -1; }
}

@media (max-width: 720px) {
  .nav > a { display: none; }
  .nav { gap: .75rem; }
  .hero { min-height: 78vh; }
  .hero-features { flex-direction: column; gap: .4rem; }
  .booking-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .apt-gallery { grid-template-columns: repeat(2, 1fr); }
  .lightbox { padding: 1rem; }
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next { width: 40px; height: 40px; font-size: 1.3rem; }
  .lightbox-close { top: .75rem; right: .75rem; }
  .lightbox-prev  { left: .5rem; }
  .lightbox-next  { right: .5rem; }
}

@media (max-width: 480px) {
  .facilities,
  .detail .facilities { grid-template-columns: 1fr; }
}
