/* ============================================================
   Sandoria — Tourrettes, Var
   ============================================================ */

:root {
  --creme: #faf7f0;
  --blanc: #fffdf9;
  --sable: #f1eadb;
  --pierre: #d9cfbc;
  --olive: #6e7f58;
  --olive-fonce: #47543a;
  --terracotta: #bf6b47;
  --terracotta-fonce: #a5552f;
  --encre: #2d2a24;
  --brun: #6f665a;
  --ok: #4a7c59;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", sans-serif;
  --shadow: 0 18px 50px -18px rgba(45, 42, 36, 0.25);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

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

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--encre);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Typographie ---------- */

h1, h2, h3, .brand-name { font-family: var(--serif); font-weight: 500; line-height: 1.12; }

.section-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 14px;
}

.section-title { font-size: clamp(32px, 4.2vw, 46px); margin-bottom: 26px; }
.sub-title { font-family: var(--serif); font-size: clamp(24px, 3vw, 30px); font-weight: 500; margin: 56px 0 22px; }

p.lead { font-size: 19px; }
p + p { margin-top: 1em; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--terracotta);
  padding: 13px 30px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.btn:hover { background: var(--terracotta-fonce); border-color: var(--terracotta-fonce); }

.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.75); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

.btn-outline { background: transparent; border-color: var(--encre); color: var(--encre); }
.btn-outline:hover { background: var(--encre); border-color: var(--encre); color: var(--creme); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.3s, box-shadow 0.3s;
  color: #fff;
}
.site-header.scrolled {
  background: rgba(250, 247, 240, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(45, 42, 36, 0.08), 0 10px 30px -18px rgba(45, 42, 36, 0.35);
  color: var(--encre);
}

.nav-row { display: flex; align-items: center; gap: 30px; height: var(--header-h); }

.brand { text-decoration: none; line-height: 1.1; margin-right: auto; }
.brand-name { display: block; font-size: 23px; letter-spacing: 0.02em; }
.brand-sub {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 2px;
}

.main-nav ul { display: flex; gap: 26px; list-style: none; }
.main-nav a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.92;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
}
.main-nav a:hover { opacity: 1; border-bottom-color: currentColor; }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.lang-switch { display: flex; gap: 2px; }
.lang-switch button {
  background: none;
  border: none;
  color: inherit;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 4px 7px;
  opacity: 0.6;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s;
}
.lang-switch button:hover { opacity: 1; }
.lang-switch button.active { opacity: 1; border-bottom-color: currentColor; font-weight: 500; }

/* ---------- Sélecteur de langue (menu déroulant) ---------- */

.lang-menu { position: relative; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  padding: 7px 11px;
  opacity: 0.75;
  transition: opacity 0.2s, background 0.2s;
}
.lang-toggle:hover, .lang-menu.open .lang-toggle { opacity: 1; }
.lang-toggle .lang-code {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
}
.lang-toggle svg { flex: none; }
.lang-chevron { transition: transform 0.25s; }
.lang-menu.open .lang-chevron { transform: rotate(180deg); }

.lang-drop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 178px;
  background: var(--blanc);
  border: 1px solid var(--pierre);
  box-shadow: 0 20px 44px -22px rgba(45, 42, 36, 0.5);
  padding: 6px;
  display: none;
  z-index: 70;
}
.lang-menu.open .lang-drop { display: block; }

.lang-drop button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  color: var(--encre);
  text-align: left;
  font-size: 15px;
  font-weight: 300;
  padding: 9px 12px;
  transition: background 0.15s;
}
.lang-drop button span {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--brun);
  width: 22px;
  flex: none;
}
.lang-drop button:hover { background: var(--sable); }
.lang-drop button.active { background: var(--olive-fonce); color: var(--creme); }
.lang-drop button.active span { color: rgba(250, 247, 240, 0.7); }

.btn-nav { padding: 10px 22px; font-size: 12.5px; }

.burger {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
  color: inherit;
}
.burger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1.6px;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s, top 0.3s;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19.5px; }
.burger span:nth-child(3) { top: 26px; }
body.nav-open .burger span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { top: 19.5px; transform: rotate(-45deg); }

/* ---------- Hero (diaporama en fondu enchaîné) ---------- */

.hero {
  position: relative;
  /* Le héros occupe exactement le premier écran, quel que soit l'appareil.
     100vh = repli pour les vieux navigateurs ; 100svh tient compte de la
     barre d'adresse des mobiles (sinon le bas du héros passe dessous). */
  height: 100vh;
  height: 100svh;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.6s ease-in-out; }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

/* Le zoom doit continuer pendant le fondu de sortie.
   Sans la classe « leaving », la photo sortante perdrait son animation
   en même temps que « on » et reviendrait d'un coup à sa taille initiale :
   un à-coup très visible au milieu de la transition. */
.hero-slide.on img,
.hero-slide.leaving img { animation: heroZoom 9s linear both; }

/* 9 s pour 7,1 s à l'écran (5,5 s affichée + 1,6 s de fondu) :
   le zoom ne se fige jamais avant la fin du fondu. */
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.on img { animation: none; }
}

.hero-dots {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.4s, transform 0.4s;
}
.hero-dots button:hover { background: rgba(255, 255, 255, 0.75); }
.hero-dots button.on { background: #fff; transform: scale(1.3); }

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 24, 20, 0.38) 0%, rgba(25, 24, 20, 0.05) 38%, rgba(25, 24, 20, 0.62) 100%);
}
/* Le texte se cale dans le bas de l'image, à une distance proportionnelle
   à la hauteur de l'écran (jamais collé aux points du diaporama). */
.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(74px, 12vh, 130px);
  text-align: center;
}
.hero-kicker {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(46px, 8vw, 92px);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 25px);
  max-width: 640px;
  margin: 16px auto 34px;
  opacity: 0.95;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section.alt { background: var(--sable); }

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.framed { position: relative; }
.framed img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.framed::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--pierre);
  z-index: -1;
}
.framed.frame-left::before { inset: 22px 22px -22px -22px; }
.framed.landscape img { aspect-ratio: 4 / 3; }

/* ---------- Stats ---------- */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 44px;
  border-top: 1px solid var(--pierre);
  text-align: center;
}
.stats-strip strong {
  display: block;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  color: var(--olive-fonce);
  line-height: 1;
  margin-bottom: 8px;
}
.stats-strip span {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brun);
}

/* ---------- Équipements ---------- */

.amenities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.amenity {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--blanc);
  border: 1px solid rgba(217, 207, 188, 0.6);
  padding: 16px 18px;
  font-size: 14.5px;
  font-weight: 400;
}
.amenity svg { flex: none; color: var(--olive); }

/* ---------- Équipements regroupés par thème ---------- */

.villa-text { columns: 2; column-gap: 60px; margin-bottom: 8px; }
.villa-text p { break-inside: avoid; margin-bottom: 1em; }
.villa-text p:first-child { margin-top: 0; }

.amen-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.amen-group {
  background: var(--blanc);
  border: 1px solid rgba(217, 207, 188, 0.6);
  padding: 24px 26px 26px;
}
.amen-group h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 14px;
}
.amen-group ul { list-style: none; }
.amen-group li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 15px;
  line-height: 1.5;
}
.amen-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 1px;
  background: var(--terracotta);
}

.rooms-note {
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--brun);
  font-style: italic;
}

/* ---------- Chambres ---------- */

.rooms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.room-card { background: var(--blanc); box-shadow: 0 10px 30px -18px rgba(45, 42, 36, 0.28); }
.room-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.room-card .room-body { padding: 18px 20px 22px; }
.room-card h4 { font-family: var(--serif); font-size: 21px; font-weight: 500; margin-bottom: 4px; }
.room-card p { font-size: 14px; color: var(--brun); }

/* ---------- Plans ---------- */

.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.plan-card {
  background: #fff;
  border: 1px solid var(--pierre);
  padding: 18px;
  cursor: zoom-in;
  text-align: center;
}
.plan-card img { width: 100%; }
.plan-card figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brun);
}

/* ---------- Bande photo ---------- */

.band {
  height: 420px;
  background-image: url("../img/large/piscine-vue.jpg");
  background-size: cover;
  background-position: center 60%;
}
@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  .band { background-attachment: fixed; }
}

/* ---------- Galerie ---------- */

.g-item {
  position: relative;
  border: none;
  padding: 0;
  overflow: hidden;
  background: var(--pierre);
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.g-item:hover img { transform: scale(1.05); }
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45, 42, 36, 0);
  transition: background 0.3s;
}
.g-item:hover::after { background: rgba(45, 42, 36, 0.14); }
.gal-more { text-align: center; margin-top: 40px; }

/* ---------- Galerie en ruban (page d'accueil) ---------- */

.gal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.gal-head .section-title { margin-bottom: 0; }

.gal-arrows { display: flex; gap: 10px; }
.gal-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid var(--pierre);
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  transition: background 0.2s, opacity 0.2s;
}
.gal-arrow:hover:not(:disabled) { background: var(--sable); }
.gal-arrow:disabled { opacity: 0.3; cursor: default; }

.gal-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: 28px;
  scroll-behavior: smooth;
  padding: 34px 28px 26px;
  scrollbar-width: thin;
  scrollbar-color: var(--pierre) transparent;
}
.gal-strip::-webkit-scrollbar { height: 8px; }
.gal-strip::-webkit-scrollbar-thumb { background: var(--pierre); }
.gal-strip .g-item {
  flex: 0 0 auto;
  width: min(430px, 76vw);
  height: 310px;
  scroll-snap-align: start;
  box-shadow: 0 12px 34px -20px rgba(45, 42, 36, 0.5);
}
.gal-strip .g-item img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .gal-strip { scroll-behavior: auto; }
}

/* ---------- Région ---------- */

.distances { margin-top: 60px; }
.distances-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.dist-item {
  background: var(--blanc);
  border: 1px solid rgba(217, 207, 188, 0.6);
  padding: 14px 16px;
}
.dist-item strong { display: block; font-weight: 400; font-size: 14.5px; }
.dist-item span { font-size: 13px; color: var(--terracotta-fonce); letter-spacing: 0.06em; }

/* ---------- Calendrier ---------- */

.cal-note { max-width: 640px; color: var(--brun); margin-bottom: 40px; }

.cal-wrap { max-width: 880px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-nav {
  width: 42px;
  height: 42px;
  border: 1px solid var(--pierre);
  background: var(--blanc);
  color: var(--encre);
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s;
}
.cal-nav:hover:not(:disabled) { background: var(--sable); }
.cal-nav:disabled { opacity: 0.35; cursor: default; }

.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cal-month { background: var(--blanc); border: 1px solid rgba(217, 207, 188, 0.6); padding: 22px 22px 26px; }
.cal-month h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 14px;
  text-transform: capitalize;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brun);
  padding-bottom: 6px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 50%;
}
.cal-day.past { color: rgba(111, 102, 90, 0.4); }
.cal-day.reserve {
  background: rgba(191, 107, 71, 0.16);
  color: var(--terracotta-fonce);
  text-decoration: line-through;
}

.cal-legend { display: flex; gap: 26px; margin-top: 20px; font-size: 14px; align-items: center; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.dot-libre { background: var(--blanc); border: 1px solid var(--pierre); }
.dot-reserve { background: rgba(191, 107, 71, 0.55); }
.cal-status { margin-top: 14px; font-size: 14px; color: var(--brun); font-style: italic; }

/* ---------- Tarifs ---------- */

.rates-card { background: var(--blanc); box-shadow: var(--shadow); max-width: 780px; padding: 14px 40px 34px; }
.rates-card table { width: 100%; border-collapse: collapse; }
.rates-card td { padding: 22px 8px; border-bottom: 1px solid rgba(217, 207, 188, 0.55); vertical-align: middle; }
.rates-card tr:last-child td { border-bottom: none; }
.rate-season { font-family: var(--serif); font-size: 23px; font-weight: 500; }
.rate-period { color: var(--brun); font-size: 14.5px; }
.rate-price { text-align: right; font-weight: 400; font-size: 17px; white-space: nowrap; }

.rates-notes { list-style: none; max-width: 780px; margin-top: 26px; }
.rates-notes li { padding-left: 22px; position: relative; font-size: 15px; color: var(--brun); margin-bottom: 6px; }
.rates-notes li::before { content: "•"; position: absolute; left: 0; color: var(--olive); }

.rates-badge {
  display: inline-block;
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: 0.08em;
  border: 1px solid var(--olive);
  color: var(--olive-fonce);
  padding: 8px 16px;
}

/* ---------- Séjour : tarifs, calendrier et formulaire regroupés ---------- */

.block-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 18px;
}

/* Les trois saisons, en cartes */
.tarif-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tarif-card {
  background: var(--blanc);
  border: 1px solid rgba(217, 207, 188, 0.7);
  border-top: 3px solid var(--terracotta);
  box-shadow: 0 16px 38px -28px rgba(45, 42, 36, 0.6);
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tarif-saison { font-family: var(--serif); font-size: 27px; line-height: 1.15; }
.tarif-periode { font-size: 14px; color: var(--brun); }
.tarif-prix {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.2;
  color: var(--olive-fonce);
}

.tarif-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 40px;
  flex-wrap: wrap;
  margin: 28px 0 66px;
}
.tarif-foot .rates-notes { margin-top: 0; }

/* Calendrier + formulaire côte à côte */
.sejour-cols {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 62px;
  align-items: start;
}
.sejour-cols .resa-card { max-width: none; padding: 38px 34px; }
.sejour-cols .resa-intro { max-width: none; margin-bottom: 26px; }

/* Calendrier : un seul mois, cases plus lisibles */
.cal-wrap { max-width: none; }
.cal-title {
  flex: 1;
  text-align: center;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.1;
  text-transform: capitalize;
}
.sejour-cols .cal-months { grid-template-columns: 1fr; }
.sejour-cols .cal-month { padding: 24px 24px 28px; }
.sejour-cols .cal-grid { gap: 6px; }
.sejour-cols .cal-day {
  border-radius: 5px;
  background: var(--sable);
  font-size: 15px;
}
.sejour-cols .cal-day.past { background: transparent; }

/* Samedis pouvant démarrer un séjour : la villa se loue du samedi au samedi */
.sejour-cols .cal-day.arrivee {
  background: var(--blanc);
  border: 1px solid var(--olive);
  color: var(--olive-fonce);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.sejour-cols .cal-day.arrivee:hover,
.sejour-cols .cal-day.arrivee:focus-visible {
  background: var(--olive-fonce);
  border-color: var(--olive-fonce);
  color: var(--creme);
  outline: none;
}
.dot-arrivee { background: var(--blanc); border: 1px solid var(--olive); }

/* Récapitulatif du séjour choisi, sous les deux listes déroulantes */
.resa-resume {
  margin: 0;
  padding: 11px 16px;
  background: var(--sable);
  border-left: 2px solid var(--olive);
  font-size: 15px;
  line-height: 1.5;
}
.resa-resume:empty { display: none; }
.field.full:has(.resa-resume:empty) { display: none; }
.sejour-cols .cal-day.reserve { background: rgba(191, 107, 71, 0.2); }
.sejour-cols .cal-legend { justify-content: center; }

/* Bon à savoir, en grille d'icônes */
.info-block { margin-top: 72px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--blanc);
  border: 1px solid rgba(217, 207, 188, 0.6);
  padding: 22px 24px;
}
.info-card svg { width: 26px; height: 26px; flex: none; color: var(--olive); margin-top: 3px; }
.info-card .info-k {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brun);
  margin-bottom: 4px;
}
.info-card .info-v { display: block; font-size: 15.5px; line-height: 1.5; }

/* ---------- Réservation ---------- */

.resa-intro { max-width: 640px; margin-bottom: 44px; }

.resa-card { background: var(--blanc); box-shadow: var(--shadow); padding: 48px; max-width: 880px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brun);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-weight: 300;
  color: var(--encre);
  background: var(--creme);
  border: 1px solid var(--pierre);
  padding: 12px 14px;
  border-radius: 0;
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--olive);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }

.hp-field { position: absolute; left: -6000px; top: -6000px; }

.resa-actions { margin-top: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.resa-actions .btn { border: none; }
.resa-actions .btn:disabled { opacity: 0.55; cursor: default; }

.form-msg { margin-top: 22px; font-size: 15px; display: none; }
.form-msg.show { display: block; }
.form-msg.error { color: #a4442c; }
.form-msg.info { color: var(--brun); font-style: italic; }

.resa-success {
  display: none;
  text-align: center;
  padding: 30px 10px 10px;
}
.resa-success.show { display: block; }
.resa-success svg { color: var(--ok); margin: 0 auto 18px; }
.resa-success h3 { font-family: var(--serif); font-size: 30px; margin-bottom: 8px; }
.resa-success p { color: var(--brun); max-width: 460px; margin: 0 auto; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 26px; align-items: stretch; }

.host-card {
  background: var(--blanc);
  border: 1px solid rgba(217, 207, 188, 0.6);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.host-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 4px;
}
.host-card h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin-bottom: 14px; }
.host-line { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 16px; }
.host-line svg { color: var(--olive); flex: none; }
.host-line a { text-decoration: none; border-bottom: 1px solid var(--pierre); transition: border-color 0.2s; }
.host-line a:hover { border-bottom-color: var(--terracotta); }
.host-langs { margin-top: 16px; font-size: 13.5px; letter-spacing: 0.1em; color: var(--brun); }
.host-access { margin-top: auto; padding-top: 22px; font-size: 14px; color: var(--brun); }

.map-card { background: var(--blanc); border: 1px solid rgba(217, 207, 188, 0.6); display: flex; flex-direction: column; }
.map-card iframe { width: 100%; flex: 1; min-height: 320px; border: none; }
.map-meta {
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  align-items: baseline;
  font-size: 14px;
  color: var(--brun);
}
.map-meta strong { font-weight: 400; color: var(--encre); }
.map-meta a { color: var(--terracotta-fonce); }

/* ---------- Footer ---------- */

.site-footer { background: var(--olive-fonce); color: rgba(250, 247, 240, 0.85); padding: 64px 0 40px; }
.footer-brand { font-family: var(--serif); font-size: 30px; color: var(--creme); }
.footer-tag { margin-top: 6px; font-size: 14px; opacity: 0.8; }
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a {
  color: inherit;
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; align-items: baseline; }
.footer-legal a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(250, 247, 240, 0.35); }
.footer-legal a:hover { border-bottom-color: currentColor; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(250, 247, 240, 0.18);
  font-size: 13px;
  opacity: 0.7;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(24, 22, 18, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1500px);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lb-btn {
  position: absolute;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s, transform 0.2s;
}
.lb-btn:hover { color: #fff; }
.lb-close { top: 22px; right: 28px; font-size: 40px; line-height: 1; }
.lb-prev, .lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  font-family: var(--serif);
  padding: 20px;
  user-select: none;
}
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  letter-spacing: 0.14em;
}
.lightbox.single .lb-prev,
.lightbox.single .lb-next,
.lightbox.single .lb-counter { display: none; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .btn-nav { display: none; }
  .burger { display: block; }

  body.nav-open .main-nav {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--creme);
    color: var(--encre);
    padding: 40px 32px;
    overflow: auto;
  }
  body.nav-open .main-nav ul { flex-direction: column; gap: 8px; }
  body.nav-open .main-nav a {
    display: block;
    font-family: var(--serif);
    font-size: 30px;
    text-transform: none;
    letter-spacing: 0.01em;
    padding: 10px 0;
    border-bottom: 1px solid rgba(217, 207, 188, 0.5);
  }
  body.nav-open .site-header { background: var(--creme); color: var(--encre); }

  /* Le sélecteur de langue est déplacé dans le menu sur petit écran :
     plus de pastille déroulante, la liste s'affiche à plat. */
  .main-nav .lang-menu { margin-top: 30px; }
  .main-nav .lang-menu .lang-toggle { display: none; }
  .main-nav .lang-menu .lang-drop {
    display: block;
    position: static;
    min-width: 0;
    box-shadow: none;
    background: none;
    border: none;
    padding: 0;
  }
  .main-nav .lang-drop button {
    font-family: var(--serif);
    font-size: 22px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(217, 207, 188, 0.5);
  }
  .main-nav .lang-drop button:hover { background: none; font-style: italic; }
  .main-nav .lang-drop button.active { background: none; color: var(--terracotta-fonce); }
  .main-nav .lang-drop button.active span { color: var(--terracotta); }

  body.nav-open .main-nav .lang-switch { margin-top: 30px; gap: 8px; flex-wrap: wrap; }
  body.nav-open .main-nav .lang-switch button {
    font-size: 14px;
    letter-spacing: 0.14em;
    padding: 9px 14px;
    opacity: 0.75;
    border: 1px solid var(--pierre);
  }
  body.nav-open .main-nav .lang-switch button.active {
    opacity: 1;
    background: var(--olive-fonce);
    border-color: var(--olive-fonce);
    color: var(--creme);
  }

  .amenities { grid-template-columns: repeat(3, 1fr); }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .distances-grid { grid-template-columns: repeat(3, 1fr); }
  .amen-groups { grid-template-columns: repeat(2, 1fr); }
  .sejour-cols { grid-template-columns: 1fr; gap: 56px; }
  .villa-text { columns: 1; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .two-col { grid-template-columns: 1fr; gap: 44px; }
  .framed { max-width: 480px; }
  .framed::before { display: none; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .cal-months { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .resa-card { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .rates-card { padding: 6px 22px 24px; }
  .rate-season { font-size: 20px; }
  .rate-period { display: block; }
  .band { height: 280px; }
  .hero { min-height: 420px; }
  .amen-groups { grid-template-columns: 1fr; }
  .gal-strip { padding: 26px 20px 22px; }
  .gal-strip .g-item { height: 230px; }
  .gal-arrows { display: none; }
  .sejour-cols .resa-card { padding: 28px 22px; }
  .tarif-cards { grid-template-columns: 1fr; gap: 14px; }
  .tarif-card { padding: 24px 22px 26px; }
  .tarif-foot { margin: 24px 0 52px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-block { margin-top: 56px; }
  .sejour-cols .cal-month { padding: 18px 14px 22px; }
  .sejour-cols .cal-grid { gap: 4px; }
}

@media (max-width: 560px) {
  .distances-grid { grid-template-columns: repeat(2, 1fr); }
  .rooms-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 20px; }
}

/* Écran très bas (téléphone tenu à l'horizontale, petit portable) :
   on resserre le héros pour que le titre et les boutons tiennent
   dans l'écran au lieu de le faire déborder. */
@media (max-height: 620px) {
  .hero { min-height: 0; }
  .hero-kicker { font-size: 11px; letter-spacing: 0.26em; margin-bottom: 10px; }
  .hero h1 { font-size: clamp(30px, 6.5vw, 54px); }
  .hero-tagline { font-size: 16.5px; margin: 10px auto 20px; }
  .hero-ctas { gap: 12px; }
  .hero-ctas .btn { padding: 10px 20px; font-size: 12.5px; }
  .hero-content { padding-bottom: 54px; }
  .hero-dots { bottom: 16px; }
}
