/* ============================================================
   css/style.css
   Feuille de style globale — Le Clos des Cyprès de Provence
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --creme:      #f5f3ec;
  --creme-dark: #ede9df;
  --or:         #b89a5a;
  --or-light:   #d4b878;
  --teal:       #3d7d72;
  --teal-dark:  #2a5c53;
  --texte:      #1e1e1a;
  --texte-soft: #4a4840;
  --blanc:      #ffffff;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--creme);
  color: var(--texte);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ─── HEADER ──────────────────────────────────────────────── */

header {
  background: var(--creme);
  border-bottom: 1px solid var(--creme-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: hidden;
}

/* Logo */
.logo {
  text-decoration: none;
  flex-shrink: 1;
  display: block;
  min-width: 0;
}
.logo-img {
  height: 150px;
  width: auto;
  max-width: 100%;
  display: block;
}

@media (max-width: 820px) {
  .logo-img {
    height: 100px;
    max-width: calc(100vw - 80px); /* laisse de la place pour le hamburger */
  }
}

@media (max-width: 400px) {
  .logo-img {
    height: 80px;
  }
}

/* Navigation desktop */
nav.desktop {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
nav.desktop a {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texte-soft);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: 2px;
  transition: color 0.2s;
}
nav.desktop a:hover  { color: var(--teal); }
nav.desktop a.active { color: var(--teal); font-weight: 500; }

/* Drapeau langue */
.nav-flag {
  font-size: 1.1rem;
  padding: 0.4rem 0.5rem;
  text-decoration: none;
  transition: opacity 0.2s;
  opacity: 0.8;
}
.nav-flag:hover { opacity: 1; }
.nav-langue-lien {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-soft);
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-bottom: 1px solid var(--creme-dark);
  transition: background 0.15s, color 0.15s;
}
.nav-langue-lien:hover { background: var(--creme-dark); color: var(--teal); }

/* Bouton hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--texte);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Navigation mobile */
nav.mobile {
  display: none;
  flex-direction: column;
  background: var(--creme);
  border-top: 1px solid var(--creme-dark);
  padding: 1rem 0;
}
nav.mobile.open { display: flex; }
nav.mobile a {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-soft);
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-bottom: 1px solid var(--creme-dark);
  transition: background 0.15s, color 0.15s;
}
nav.mobile a:last-child  { border-bottom: none; }
nav.mobile a:hover       { background: var(--creme-dark); color: var(--teal); }
nav.mobile a.active      { background: var(--creme-dark); color: var(--teal); font-weight: 500; }

/* ─── MISE EN PAGE GÉNÉRALE ───────────────────────────────── */

.page-contenu {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.page-titre {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--texte);
  margin-bottom: 0.4rem;
}

.page-ornement {
  width: 48px;
  height: 1.5px;
  background: var(--or);
  margin-bottom: 1.5rem;
}

.page-intro {
  color: var(--texte-soft);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* ─── BOUTONS ─────────────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blanc);
  background: var(--teal);
  padding: 0.85rem 2.2rem;
  text-decoration: none;
  border-radius: 1px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--teal-dark); }
.btn-primary:disabled {
  background: #a0b8b4;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-secondary {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: 0.85rem 2.2rem;
  text-decoration: none;
  border-radius: 1px;
  background: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--teal); color: var(--blanc); }

/* ─── CARTES GÎTES ────────────────────────────────────────── */

.gites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gite-card {
  background: var(--blanc);
  border: 1px solid var(--creme-dark);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.gite-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }

.gite-img {
  width: 100%;
  height: 200px;
  background: var(--creme-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gite-img img { width: 100%; height: 100%; object-fit: cover; }
.gite-img-placeholder {
  font-size: 0.85rem;
  color: var(--texte-soft);
  letter-spacing: 0.1em;
  opacity: 0.5;
}

.gite-body    { padding: 1.5rem; }
.gite-tag     { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or); margin-bottom: 0.5rem; }
.gite-nom     { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: var(--texte); margin-bottom: 0.6rem; }
.gite-desc    { font-size: 0.88rem; color: var(--texte-soft); margin-bottom: 1.2rem; line-height: 1.6; }
.gite-cta     { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); text-decoration: none; border-bottom: 1px solid var(--teal); padding-bottom: 1px; transition: color 0.2s; }
.gite-cta:hover { color: var(--teal-dark); }

/* ─── MESSAGES D'ALERTE ───────────────────────────────────── */

.alerte {
  padding: 1rem 1.25rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.alerte-succes { background: #eaf5f0; border: 1px solid #a8d8c2; color: #1e5c40; }
.alerte-erreur { background: #fdf0f0; border: 1px solid #e8b4b4; color: #7a1e1e; }
.alerte-info   { background: #eef4fb; border: 1px solid #b0cfe8; color: #1e3d5c; }

/* ─── FORMULAIRES ─────────────────────────────────────────── */

.form-groupe {
  margin-bottom: 1.25rem;
}
.form-groupe label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-soft);
  margin-bottom: 0.4rem;
}
.form-groupe input,
.form-groupe select,
.form-groupe textarea {
  width: 100%;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--texte);
  background: var(--blanc);
  border: 1px solid var(--creme-dark);
  border-radius: 1px;
  padding: 0.65rem 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-groupe input:focus,
.form-groupe select:focus,
.form-groupe textarea:focus {
  border-color: var(--teal);
}
.form-groupe textarea { resize: vertical; min-height: 120px; }

/* ─── PAGE D'ACCUEIL ──────────────────────────────────────── */

/* Hero */
.hero { position: relative; }
.hero-photo { position: relative; width: 100%; height: 520px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
}
.hero-eyebrow {
  font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: 0.72rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--or-light); margin-bottom: 1rem;
}
.hero-overlay h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.15;
  color: var(--blanc); margin-bottom: 0.75rem;
}
.hero-overlay h1 em { font-style: italic; color: var(--or-light); }
.hero-accroche {
  font-size: 1rem; color: rgba(255,255,255,0.85);
  margin-bottom: 2rem; letter-spacing: 0.05em;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.btn-secondary-hero {
  display: inline-block; font-family: 'Jost', sans-serif; font-weight: 400;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blanc); border: 1px solid rgba(255,255,255,0.7);
  padding: 0.85rem 2.2rem; text-decoration: none; border-radius: 1px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary-hero:hover { background: rgba(255,255,255,0.15); border-color: var(--blanc); }

/* Poème page d'accueil */
.accueil-poeme {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--teal-dark);
  text-align: center;
  margin: 1.5rem auto;
  max-width: 420px;
  position: relative;
  padding: 1.5rem 2rem;
}
.accueil-poeme::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--or);
  opacity: 0.6;
  position: absolute;
  top: -1rem;
  left: 0;
  line-height: 1;
  font-style: normal;
}
.accueil-poeme::after {
  content: '\201D';
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--or);
  opacity: 0.6;
  position: absolute;
  bottom: -2rem;
  right: 0;
  line-height: 1;
  font-style: normal;
}

/* Bienvenue */
.section-bienvenue { background: var(--blanc); border-bottom: 1px solid var(--creme-dark); }
.bienvenue-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 3rem; align-items: center;
}
.bienvenue-texte p { color: var(--texte-soft); }
.bienvenue-chiffres {
  display: flex; flex-direction: column; gap: 1.5rem;
  border-left: 1px solid var(--creme-dark); padding-left: 3rem;
}
.chiffre-item { text-align: center; }
.chiffre-nb {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: var(--teal); line-height: 1;
}
.chiffre-label {
  display: block; font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--texte-soft); margin-top: 0.25rem;
}

/* Section gîtes */
.section-gites { background: var(--creme); }

/* Bandeau piscine */
.bandeau-piscine { background: var(--teal); padding: 3rem 2rem; }
.bandeau-piscine-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.bandeau-piscine-texte h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2rem); color: var(--blanc); margin-bottom: 0.5rem;
}
.bandeau-piscine-texte p { font-size: 0.9rem; color: rgba(255,255,255,0.82); max-width: 500px; }
.btn-primary-light {
  display: inline-block; font-family: 'Jost', sans-serif; font-weight: 400;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); background: var(--blanc);
  padding: 0.85rem 2.2rem; text-decoration: none; border-radius: 1px;
  white-space: nowrap; transition: background 0.2s;
  border: none; cursor: pointer;
}
.btn-primary-light:hover { background: var(--creme); }

/* Atouts */
.section-atouts { background: var(--creme-dark); }
.atouts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; margin-top: 1rem;
}
.atout { text-align: center; padding: 1.5rem 1rem; }
.atout-icon { font-size: 1.4rem; color: var(--or); margin-bottom: 0.75rem; }
.atout-titre {
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
  font-weight: 400; color: var(--texte); margin-bottom: 0.4rem;
}
.atout-texte { font-size: 0.85rem; color: var(--texte-soft); line-height: 1.6; }

/* Responsive accueil */
@media (max-width: 820px) {
  .bienvenue-inner { grid-template-columns: 1fr; }
  .bienvenue-chiffres {
    flex-direction: row; border-left: none;
    border-top: 1px solid var(--creme-dark);
    padding-left: 0; padding-top: 1.5rem; justify-content: space-around;
  }
  .bandeau-piscine-inner { flex-direction: column; text-align: center; }
  .bandeau-piscine-texte p { margin: 0 auto; }
}

/* ─── EN-TÊTE DE PAGE (pages intérieures) ────────────────── */

.page-header {
  background: var(--creme-dark);
  border-bottom: 2px solid var(--or-light);
  padding: 3rem 0 2rem;
}

/* ─── PAGE À DÉCOUVRIR ────────────────────────────────────── */

.decouvrir-section { background: var(--blanc); padding: 3rem 0; }
.decouvrir-section-alt { background: var(--creme); }

.decouvrir-titre {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 1.6rem;
  color: var(--texte); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.decouvrir-icone { color: var(--or); font-size: 1.3rem; }

.decouvrir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.decouvrir-card {
  background: var(--creme);
  border: 1px solid var(--creme-dark);
  border-radius: 2px;
  padding: 1.25rem 1.5rem;
  transition: box-shadow 0.2s;
}
.decouvrir-section-alt .decouvrir-card { background: var(--blanc); }
.decouvrir-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.decouvrir-card-header {
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 1rem;
  margin-bottom: 0.6rem; flex-wrap: wrap;
}
.decouvrir-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400; color: var(--texte);
}
.decouvrir-distance {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--or); white-space: nowrap; flex-shrink: 0;
}
.decouvrir-card p { font-size: 0.88rem; color: var(--texte-soft); line-height: 1.6; }

/* ─── PAGE ACCÈS ──────────────────────────────────────────── */

.acces-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem; align-items: start;
}
.acces-infos { display: flex; flex-direction: column; gap: 2rem; }
.acces-bloc-titre {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400;
  color: var(--texte); margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--creme-dark);
}
.acces-adresse {
  font-style: normal; font-size: 0.95rem;
  color: var(--texte-soft); line-height: 1.8;
}
.acces-liste {
  list-style: none; display: flex; flex-direction: column; gap: 0.75rem;
}
.acces-liste li {
  font-size: 0.88rem; color: var(--texte-soft);
  line-height: 1.6; padding-left: 1rem;
  border-left: 2px solid var(--or-light);
}
.acces-liste li strong { color: var(--texte); }
.acces-carte {
  position: sticky; top: 100px;
  height: 480px; border-radius: 2px;
  overflow: hidden; border: 1px solid var(--creme-dark);
  display: flex; flex-direction: column;
}
.acces-carte iframe { flex: 1; }
.acces-carte-note {
  padding: 0.75rem 1rem; font-size: 0.8rem;
  color: var(--texte-soft); background: var(--creme-dark);
  border-top: 1px solid var(--creme-dark);
}

/* ─── PAGE CONTACT ────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem; align-items: start;
}
.form-ligne-double {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.form-obligatoire { color: var(--teal); font-weight: 500; }
.form-mention { font-size: 0.78rem; color: var(--texte-soft); margin-bottom: 1.25rem; }

/* Honeypot anti-spam : complètement invisible pour les humains */
.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.contact-infos { display: flex; flex-direction: column; gap: 2rem; padding-top: 0.5rem; }
.contact-info-bloc p { font-size: 0.9rem; color: var(--texte-soft); line-height: 1.7; }
.contact-lien { color: var(--teal); text-decoration: none; }
.contact-lien:hover { text-decoration: underline; }

/* Responsive pages intérieures */
@media (max-width: 820px) {
  .acces-layout        { grid-template-columns: 1fr; }
  .acces-carte         { position: static; height: 350px; }
  .contact-layout      { grid-template-columns: 1fr; }
  .form-ligne-double   { grid-template-columns: 1fr; }
  .contact-infos       { padding-top: 0; border-top: 1px solid var(--creme-dark); padding-top: 2rem; }
}

/* ─── PAGE GÎTES ──────────────────────────────────────────── */

/* Introduction */
.gites-intro { background: var(--blanc); border-bottom: 1px solid var(--creme-dark); }
.intro-layout {
  display: grid; grid-template-columns: 1fr auto;
  gap: 3rem; align-items: start;
}
.intro-texte p { color: var(--texte-soft); line-height: 1.75; }
.intro-distances {
  background: var(--creme);
  border: 1px solid var(--creme-dark);
  border-radius: 2px;
  padding: 1.25rem 1.5rem;
  min-width: 240px;
  flex-shrink: 0;
}
.distances-titre {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 400;
  color: var(--texte); margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}
.distances-liste { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.distances-liste li {
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 1rem;
  font-size: 0.85rem; padding: 0.3rem 0;
  border-bottom: 1px dashed var(--creme-dark);
}
.distances-liste li:last-child { border-bottom: none; }
.dist-lieu { color: var(--texte-soft); }
.dist-km   { color: var(--teal); font-weight: 500; white-space: nowrap; }

/* Offset ancres pour compenser le header sticky */
#mas, #bastide, #ensemble {
  scroll-margin-top: 180px;
}

/* Sections gîtes */
.gite-section     { background: var(--blanc); padding: 3rem 0; border-top: 2px solid var(--creme-dark); }
.gite-section-alt { background: var(--creme); }

.gite-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1rem;
  margin-bottom: 2rem; flex-wrap: wrap;
}
.gite-section-titre {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400; color: var(--texte);
}

/* Layout photo + infos */
.gite-detail-layout {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem; align-items: start; margin-bottom: 2rem;
}
.gite-detail-photo {
  border-radius: 2px; overflow: hidden;
  background: var(--creme-dark);
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
}
.gite-detail-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.gite-img-manquante::after {
  content: 'Photo à venir';
  font-size: 0.85rem; color: var(--texte-soft); opacity: 0.5;
}

/* Blocs d'infos */
.gite-bloc { margin-bottom: 1.5rem; }
.gite-bloc-titre {
  font-family: 'Jost', sans-serif; font-weight: 400;
  font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--or);
  margin-bottom: 0.6rem;
}
.gite-detail-infos p { font-size: 0.9rem; color: var(--texte-soft); line-height: 1.7; }

/* Capacité */
.gite-capacite-grid {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
}
.cap-item { text-align: center; }
.cap-nb {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; color: var(--teal); line-height: 1;
}
.cap-label {
  display: block; font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--texte-soft); margin-top: 0.2rem;
}

/* Tarifs */
.gite-tarifs { display: flex; flex-direction: column; gap: 0.5rem; }
.tarif-ligne {
  display: flex; justify-content: space-between;
  align-items: center; gap: 1rem;
  padding: 0.6rem 0.9rem;
  background: var(--creme); border-radius: 2px;
  font-size: 0.88rem; flex-wrap: wrap;
}
.gite-section-alt .tarif-ligne { background: var(--blanc); }
.tarif-periode { color: var(--texte-soft); }
.tarif-prix    { color: var(--teal); font-weight: 500; white-space: nowrap; }

/* Équipements */
.gite-equipements { margin-bottom: 2rem; }
.equip-liste {
  list-style: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.4rem 2rem; margin-top: 0.5rem;
}
.equip-liste li {
  font-size: 0.87rem; color: var(--texte-soft);
  padding: 0.3rem 0 0.3rem 1.1rem;
  border-bottom: 1px solid var(--creme-dark);
  position: relative;
}
.equip-liste li::before {
  content: '·'; color: var(--or);
  position: absolute; left: 0; font-size: 1.1rem; line-height: 1.4;
}

/* Ensemble du clos */
.ensemble-texte {
  background: var(--creme-dark); border-left: 3px solid var(--or);
  padding: 1rem 1.25rem; border-radius: 0 2px 2px 0;
  font-size: 0.92rem; color: var(--texte-soft); line-height: 1.7;
}

/* ── Calendrier ───────────────────────────────────────────── */

.gite-calendrier { margin-top: 1rem; }

.cal-legende {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1rem; align-items: center;
}
.cal-leg-item {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; color: var(--texte-soft);
}
.cal-leg-item::before {
  content: ''; display: inline-block;
  width: 14px; height: 14px; border-radius: 2px;
}
.cal-leg-libre::before  { background: #c8e6c9; border: 1px solid #81c784; }
.cal-leg-reserve::before { background: #ffcdd2; border: 1px solid #e57373; }
.cal-leg-bloque::before { background: #cfd8dc; border: 1px solid #90a4ae; }
.cal-leg-passe::before  { background: var(--creme-dark); border: 1px solid #c8c2b4; }

.cal-nav {
  display: flex; align-items: flex-start;
  gap: 0.5rem; justify-content: center;
}
.cal-btn-prev, .cal-btn-next {
  background: none; border: 1px solid var(--creme-dark);
  color: var(--texte-soft); font-size: 1.6rem; line-height: 1;
  width: 36px; height: 36px; cursor: pointer;
  border-radius: 2px; flex-shrink: 0; margin-top: 2px;
  transition: border-color 0.2s, color 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.cal-btn-prev:hover, .cal-btn-next:hover {
  border-color: var(--teal); color: var(--teal);
}
.cal-affichage { flex: 0 0 min(340px, 100%); max-width: 340px; }

.cal-mois { width: 100%; max-width: 340px; }

@media (max-width: 500px) {
  .cal-mois { max-width: 100%; }
  .cal-affichage { flex: 1; min-width: 0; max-width: 100%; }
  .cal-case { min-height: 28px; }
  .cal-prix { display: none; }
  .resa-cal-wrap {
    padding: 0.75rem 0;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    overflow: hidden;
  }
  .resa-cal-nav { gap: 0.25rem; width: 100%; }
  .cal-btn-prev, .cal-btn-next { flex-shrink: 0; width: 28px; min-width: 28px; padding: 0; }
}
.cal-entete {
  text-align: center; margin-bottom: 0.4rem;
}
.cal-nom-mois {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem; font-weight: 400; color: var(--texte);
  letter-spacing: 0.05em;
}
.cal-grille {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-jour-titre {
  text-align: center; font-size: 0.58rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--texte-soft); padding: 0.15rem 0;
}
.cal-case {
  aspect-ratio: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-radius: 2px; padding: 1px;
  min-height: 34px;
}
.cal-vide    { background: transparent; }
.cal-passe   { background: var(--creme-dark); opacity: 0.5; }
.cal-libre   { background: #c8e6c9; border: 1px solid #81c784; cursor: pointer; }
.cal-reserve { background: #ffcdd2; border: 1px solid #e57373; }
.cal-bloque  { background: #cfd8dc; border: 1px solid #90a4ae; }

.cal-num {
  font-size: 0.72rem; font-weight: 500;
  color: var(--texte); line-height: 1;
}
.cal-passe .cal-num, .cal-indispo .cal-num { color: var(--texte-soft); }
.cal-reserve .cal-num { color: #c62828; }
.cal-bloque .cal-num  { color: #546e7a; }
.cal-libre .cal-num   { color: #2e7d32; }

.cal-prix {
  font-size: 0.58rem; color: #2e7d32;
  line-height: 1; margin-top: 1px; font-weight: 700;
}

/* Masquer le prix sur mobile */
@media (max-width: 600px) {
  .cal-prix { display: none; }
  .cal-case { min-height: 36px; }
  .cal-num  { font-size: 0.72rem; }
}

/* Responsive gîtes */
@media (max-width: 900px) {
  .intro-layout      { grid-template-columns: 1fr; }
  .gite-detail-layout { grid-template-columns: 1fr; }
  .gite-header       { flex-direction: column; }
}

/* ── Calendrier réservation ───────────────────────────────── */

.resa-cal-wrap {
  background: var(--creme);
  border: 1px solid var(--creme-dark);
  border-radius: 2px;
  padding: 1.25rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.resa-cal-legende {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 0.75rem; align-items: center;
}
.resa-cal-instruction {
  font-size: 0.85rem; color: var(--teal);
  font-weight: 500; margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #eaf5f0; border-radius: 2px;
  border-left: 3px solid var(--teal);
}

/* Info séjour minimum */
.resa-mini-info {
  font-size: 0.85rem; color: #1e3d5c;
  background: #eef4fb; border: 1px solid #b0cfe8;
  border-radius: 2px; padding: 0.6rem 0.9rem;
  margin-bottom: 0.75rem;
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.resa-mini-info ul {
  list-style: none; margin: 0.2rem 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.resa-mini-info li { font-size: 0.83rem; }
.resa-mini-icone { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.resa-cal-nav {
  display: flex; align-items: flex-start;
  gap: 0.5rem; justify-content: center;
  max-width: 100%;
  overflow: hidden;
}

/* Cases sélectionnées */
.cal-case.cal-sel-debut,
.cal-case.cal-sel-fin {
  background: var(--teal) !important;
  border-color: var(--teal-dark) !important;
}
.cal-case.cal-sel-debut .cal-num,
.cal-case.cal-sel-fin .cal-num { color: var(--blanc) !important; }
.cal-case.cal-sel-debut .cal-prix,
.cal-case.cal-sel-fin .cal-prix { color: rgba(255,255,255,0.85) !important; }

.cal-case.cal-sel-milieu {
  background: #9fd4c8 !important;
  border-color: #6bbdb0 !important;
}
.cal-case.cal-sel-milieu .cal-num { color: var(--teal-dark) !important; }
.cal-case.cal-sel-milieu .cal-prix { color: var(--teal-dark) !important; }

/* Curseur pointer sur les cases libres du calendrier de résa */
.resa-cal-nav .cal-libre { cursor: pointer; }
.cal-leg-selectionne::before { background: var(--teal); border: 1px solid var(--teal-dark); }

/* ── PAGE RÉSERVATION ────────────────────────────────────── */

.resa-layout {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 3rem; align-items: start; padding-top: 2rem;
}
.resa-etape-titre {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400; color: var(--texte);
  margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem;
}
.resa-etape-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal); color: var(--blanc);
  font-family: 'Jost', sans-serif; font-size: 0.85rem; font-weight: 500;
  flex-shrink: 0;
}

/* Récap prix */
.resa-recap-prix {
  background: #eaf5f0; border: 1px solid #a8d8c2;
  border-radius: 2px; padding: 0.9rem 1.1rem;
  margin-top: 0.75rem; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.resa-recap-erreur {
  background: #fdf0f0; border: 1px solid #e8b4b4;
  color: #7a1e1e; font-size: 0.88rem;
  border-radius: 2px; padding: 0.9rem 1.1rem;
  margin-top: 0.75rem;
}
.recap-montant { font-weight: 500; color: var(--teal); font-size: 1.1rem; }
.recap-mini    { font-size: 0.8rem; color: #7a1e1e; width: 100%; }

/* Récap séjour étape 2 */
.resa-recap-sejour { margin-bottom: 1.5rem; }
.recap-sejour-inner {
  background: var(--creme-dark); border: 1px solid var(--or-light);
  border-radius: 2px; padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
}
.recap-sejour-titre  { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--texte); }
.recap-sejour-detail { font-size: 0.85rem; color: var(--texte-soft); }
.recap-sejour-montant { font-weight: 500; color: var(--teal); font-size: 1.1rem; }

/* RGPD checkboxes */
.resa-rgpd { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
.resa-checkbox {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.85rem; color: var(--texte-soft); cursor: pointer; line-height: 1.5;
}
.resa-checkbox input { margin-top: 0.15rem; flex-shrink: 0; accent-color: var(--teal); }

/* Boutons navigation */
.resa-boutons { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }

/* Infos droite */
.resa-infos { display: flex; flex-direction: column; gap: 1.5rem; }
.resa-info-bloc {
  background: var(--blanc); border: 1px solid var(--creme-dark);
  border-radius: 2px; padding: 1.1rem 1.25rem;
}
.resa-info-titre {
  font-family: 'Cormorant Garamond', serif; font-size: 1rem;
  font-weight: 400; color: var(--texte); margin-bottom: 0.4rem;
}
.resa-info-bloc p { font-size: 0.85rem; color: var(--texte-soft); line-height: 1.65; }

/* ─── PAGE MERCI ──────────────────────────────────────────── */

.merci-layout {
  max-width: 680px; text-align: center; padding-top: 3rem; padding-bottom: 3rem;
}
.merci-icone {
  width: 64px; height: 64px; border-radius: 50%;
  background: #eaf5f0; border: 2px solid #81c784;
  color: #2e7d32; font-size: 1.8rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.merci-icone-info { background: #eef4fb; border-color: #b0cfe8; color: #1e3d5c; }
.merci-titre {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--texte); margin-bottom: 1rem;
}
.merci-intro { font-size: 0.95rem; color: var(--texte-soft); line-height: 1.75; margin-bottom: 2rem; }

.merci-recap {
  background: var(--blanc); border: 1px solid var(--creme-dark);
  border-radius: 2px; padding: 1.5rem; margin-bottom: 1.5rem; text-align: left;
}
.merci-recap-titre {
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem;
  font-weight: 400; color: var(--texte); margin-bottom: 1rem;
}
.merci-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.merci-table td { padding: 0.5rem 0; border-bottom: 1px solid var(--creme-dark); color: var(--texte-soft); }
.merci-table td:last-child { text-align: right; color: var(--texte); }
.merci-table tr:last-child td { border-bottom: none; }

.merci-infos { text-align: left; margin-bottom: 2rem; }
.merci-liste { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; padding: 0; margin-top: 0.75rem; }
.merci-liste li { font-size: 0.88rem; color: var(--texte-soft); padding-left: 1.1rem; position: relative; }
.merci-liste li::before { content: '·'; color: var(--or); position: absolute; left: 0; font-size: 1.1rem; line-height: 1.4; }

.merci-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Responsive réservation */
@media (max-width: 820px) {
  .resa-layout { grid-template-columns: 1fr; }
  .resa-infos  { order: -1; }
}

/* ─── PAGES LÉGALES (RGPD, Remboursements) ────────────────── */

.legal-contenu { max-width: 800px; }

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--creme-dark);
}
.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400;
  color: var(--texte); margin-bottom: 0.75rem;
}
.legal-section p {
  font-size: 0.92rem; color: var(--texte-soft);
  line-height: 1.75;
}
.legal-section ul {
  margin: 0.75rem 0 0 1.25rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.legal-section ul li {
  font-size: 0.92rem; color: var(--texte-soft);
  line-height: 1.65;
}
.legal-section strong { color: var(--texte); font-weight: 500; }

.legal-note {
  background: var(--creme-dark);
  border-left: 3px solid var(--or);
  padding: 1rem 1.25rem;
  border-radius: 0 2px 2px 0;
  margin-top: 1rem;
}
.legal-note p { font-size: 0.88rem; color: var(--texte-soft); line-height: 1.65; }

/* ─── GALERIE PHOTOS ──────────────────────────────────────── */

.galerie-grille {
  columns: 3 280px;
  column-gap: 1rem;
  margin-top: 1rem;
}
.galerie-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2px;
}
.galerie-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.galerie-item:hover img { transform: scale(1.03); }

.galerie-overlay {
  position: absolute; inset: 0;
  background: rgba(30, 30, 26, 0);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.galerie-item:hover .galerie-overlay { background: rgba(30, 30, 26, 0.3); }
.galerie-zoom {
  font-size: 2rem; color: var(--blanc);
  opacity: 0; transition: opacity 0.3s;
  font-weight: 300; line-height: 1;
}
.galerie-item:hover .galerie-zoom { opacity: 1; }

/* ─── LIGHTBOX ────────────────────────────────────────────── */

.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }

.lightbox-fond {
  position: absolute; inset: 0;
  background: rgba(10, 10, 8, 0.92);
  cursor: pointer;
}
.lightbox-contenu {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center;
  width: 100%; max-width: 1100px;
  padding: 1rem 2rem;
  max-height: 100vh;
}
.lightbox-barre {
  width: 100%; display: flex;
  justify-content: space-between; align-items: center;
  margin-bottom: 0.75rem;
}
.lightbox-compteur {
  font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: 0.85rem; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
}
.lightbox-fermer {
  font-family: 'Jost', sans-serif; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); background: none;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.35rem 0.9rem; cursor: pointer;
  border-radius: 1px; transition: color 0.2s, border-color 0.2s;
}
.lightbox-fermer:hover { color: var(--blanc); border-color: var(--blanc); }

.lightbox-photo-wrap {
  position: relative; display: flex;
  align-items: center; justify-content: center;
  width: 100%;
}
.lightbox-img {
  max-width: 100%; max-height: 75vh;
  object-fit: contain; display: block;
  border-radius: 1px;
}
.lightbox-fleche {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: var(--blanc); font-size: 2.5rem; line-height: 1;
  width: 52px; height: 52px; cursor: pointer; border-radius: 1px;
  transition: background 0.2s; display: flex; align-items: center; justify-content: center;
  font-weight: 300;
}
.lightbox-fleche:hover { background: rgba(255,255,255,0.18); }
.lightbox-fleche-gauche { left: 0; }
.lightbox-fleche-droite { right: 0; }

.lightbox-legende {
  margin-top: 0.75rem; font-size: 0.85rem;
  color: rgba(255,255,255,0.6); letter-spacing: 0.08em;
  font-family: 'Jost', sans-serif; font-weight: 300;
}

/* Responsive galerie */
@media (max-width: 600px) {
  .galerie-grille { columns: 2 140px; }
  .lightbox-fleche { width: 40px; height: 40px; font-size: 1.8rem; }
  .lightbox-contenu { padding: 0.75rem 0.5rem; }
}

/* ─── FOOTER ──────────────────────────────────────────────── */

footer {
  background: var(--creme-dark);
  border-top: 1px solid #d9d4c7;
  padding: 1.5rem 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.78rem; color: var(--teal); text-decoration: none; letter-spacing: 0.04em; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy  { font-size: 0.75rem; color: var(--texte-soft); }

/* ─── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 820px) {
  nav.desktop  { display: none; }
  .hamburger   { display: flex; }
  .page-contenu { padding: 2rem 1.25rem; }
  .hero-photo { height: 480px; }
}

@media (max-width: 500px) {
  .header-inner { padding: 0.75rem 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-photo { height: 380px; }
  .hero-overlay { padding: 1.25rem 1rem; }
  .hero-btns { flex-direction: column; align-items: center; gap: 0.6rem; }
  .hero-accroche { margin-bottom: 1rem; font-size: 0.9rem; }
}
