:root {
  --cream: #F8EFE0;
  --cream-deep: #EFE2CC;
  --terracotta: #C77B5C;
  --terracotta-d: #A55D40;
  --ocre: #D9A867;
  --olive: #7C8F5A;
  --sea: #3A6E80;
  --sea-d: #264E5E;
  --ink: #3A2E25;
  --ink-light: #6B5849;
  --shadow: 0 4px 18px rgba(58, 46, 37, 0.10);
  --shadow-lg: 0 12px 36px rgba(58, 46, 37, 0.16);
}

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }

/* ====== NAV ====== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 28px;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.scrolled {
  background: rgba(248, 239, 224, 0.96); backdrop-filter: blur(10px);
  box-shadow: var(--shadow); padding: 10px 28px;
}
.nav-brand {
  font-family: 'Lora', serif; font-style: italic; font-weight: 600;
  font-size: 22px; color: var(--cream);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  transition: color 0.3s ease, text-shadow 0.3s ease;
  letter-spacing: 0.3px;
}
.nav.scrolled .nav-brand { color: var(--terracotta-d); text-shadow: none; }

.lang-switch {
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.16); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 4px;
  border: 1px solid rgba(255,255,255,0.3);
}
.nav.scrolled .lang-switch { background: rgba(58, 46, 37, 0.05); border-color: rgba(58, 46, 37, 0.10); }
.lang-btn {
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; background: transparent; border: none;
  cursor: pointer; padding: 6px 12px; border-radius: 999px;
  color: var(--cream); text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  transition: all 0.2s ease;
  text-decoration: none; display: inline-block;
}
.nav.scrolled .lang-btn { color: var(--ink-light); text-shadow: none; }
.lang-btn:hover { color: white; }
.nav.scrolled .lang-btn:hover { color: var(--terracotta-d); }
.lang-btn.active { background: var(--terracotta); color: white; text-shadow: none; }
.nav.scrolled .lang-btn.active { background: var(--terracotta-d); color: white; }

/* ====== HERO ====== */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  background: linear-gradient(180deg, rgba(38, 78, 94, 0.30) 0%, rgba(38, 78, 94, 0.55) 100%), url('/photos/vue_palmiers.jpg') center/cover no-repeat;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; color: var(--cream); padding: 0 24px;
}
.hero-eyebrow {
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 13px;
  letter-spacing: 0.32em; text-transform: uppercase;
  margin-bottom: 18px; opacity: 0.92;
}
.hero h1 {
  font-family: 'Lora', serif; font-style: italic; font-weight: 500;
  font-size: clamp(56px, 11vw, 124px); line-height: 1.0;
  letter-spacing: -0.01em; text-shadow: 0 6px 28px rgba(0,0,0,0.35);
  margin-bottom: 24px;
}
.hero-tagline {
  font-family: 'Poppins', sans-serif; font-weight: 300;
  font-size: clamp(15px, 2vw, 19px); max-width: 540px;
  opacity: 0.95; margin-bottom: 36px;
}
.hero-deco { width: 70px; height: 1px; background: var(--cream); opacity: 0.7; margin: 24px auto; }
.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px; border: 2px solid var(--cream);
  border-radius: 12px; opacity: 0.7;
}
.scroll-cue::after {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 8px; background: var(--cream); border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.4; }
}

/* ====== SECTIONS ====== */
section { padding: 100px 24px; position: relative; }
.container { max-width: 1080px; margin: 0 auto; }
.container-wide { max-width: 1180px; margin: 0 auto; }

.section-eyebrow {
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 12px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--terracotta-d); margin-bottom: 14px; text-align: center;
}
.section-title {
  font-family: 'Lora', serif; font-style: italic; font-weight: 500;
  font-size: clamp(36px, 5vw, 52px); line-height: 1.1;
  text-align: center; margin-bottom: 24px; color: var(--ink);
}
.section-divider { width: 56px; height: 2px; background: var(--ocre); margin: 0 auto 56px auto; }

/* ====== PRESENTATION ====== */
.presentation { background: var(--cream); }
.presentation-text {
  max-width: 720px; margin: 0 auto; text-align: center;
  font-size: 17px; color: var(--ink-light); line-height: 1.8;
}
.presentation-text p + p { margin-top: 18px; }
.presentation-text strong { color: var(--ink); font-weight: 500; }

/* ====== ATOUTS ====== */
.atouts { background: var(--cream-deep); }
.atouts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; max-width: 1000px; margin: 0 auto;
}
.atout {
  background: var(--cream); border-radius: 14px;
  padding: 36px 24px 30px; text-align: center; box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.atout:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.atout-icon {
  width: 64px; height: 64px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cream-deep) 0%, rgba(217, 168, 103, 0.25) 100%);
  border-radius: 50%; color: var(--sea);
}
.atout-icon svg { width: 32px; height: 32px; }
.atout-title {
  font-family: 'Lora', serif; font-weight: 600; font-size: 18px;
  color: var(--ink); margin-bottom: 6px;
}
.atout-desc { font-size: 14px; color: var(--ink-light); line-height: 1.55; }

/* ====== CHAMBRES (sleeping spaces) ====== */
.rooms { background: var(--cream); }
.rooms-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px; max-width: 1100px; margin: 0 auto;
}
.room-card {
  background: var(--cream); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.room-img { aspect-ratio: 4/3; overflow: hidden; background: var(--cream-deep); }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.room-card:hover .room-img img { transform: scale(1.05); }
.room-body { padding: 22px 22px 24px; flex: 1; }
.room-eyebrow {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracotta-d); margin-bottom: 6px;
}
.room-title {
  font-family: 'Lora', serif; font-weight: 600; font-size: 19px;
  color: var(--ink); margin-bottom: 8px;
}
.room-desc { font-size: 14px; color: var(--ink-light); line-height: 1.55; }

.rooms-summary {
  text-align: center; margin-top: 50px; font-family: 'Lora', serif;
  font-style: italic; font-size: 18px; color: var(--ink-light);
}
.rooms-summary strong {
  font-style: normal; color: var(--terracotta-d);
  font-family: 'Poppins', sans-serif; font-weight: 600;
}

/* ====== EQUIPEMENTS ====== */
.equipment { background: var(--cream-deep); }
.equipment-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px; max-width: 1080px; margin: 0 auto;
}
.equipment-group {
  background: var(--cream); border-radius: 14px;
  padding: 26px 24px 22px; box-shadow: var(--shadow);
}
.equipment-group-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--cream-deep);
}
.equipment-group-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--cream-deep) 0%, rgba(217, 168, 103, 0.25) 100%);
  color: var(--sea);
}
.equipment-group-icon svg { width: 20px; height: 20px; }
.equipment-group-title {
  font-family: 'Lora', serif; font-weight: 600; font-size: 16px; color: var(--ink);
}
.equipment-list { list-style: none; padding: 0; }
.equipment-list li {
  font-size: 14px; color: var(--ink-light); padding: 4px 0 4px 22px;
  position: relative; line-height: 1.5;
}
.equipment-list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px;
  background: var(--olive);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}

/* ====== GALLERY ====== */
.gallery { background: var(--cream); }
.gallery-grid {
  column-count: 3; column-gap: 12px;
  max-width: 1180px; margin: 0 auto;
}
.gallery-item {
  display: block; width: 100%;
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
  margin: 0 0 12px;
  position: relative; overflow: hidden; border-radius: 8px;
  cursor: pointer; background: var(--cream-deep);
}
.gallery-item img {
  display: block; width: 100%; height: auto;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}

@media (max-width: 900px) { .gallery-grid { column-count: 2; } }
@media (max-width: 520px) { .gallery-grid { column-count: 1; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(38, 46, 37, 0.92);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px; cursor: zoom-out;
  animation: fadeIn 0.3s ease;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 92%; max-height: 92vh; object-fit: contain;
  border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute; top: 28px; right: 28px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
  color: white; border-radius: 50%; cursor: pointer;
  font-size: 22px; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ====== ALENTOURS (around) ====== */
.around { background: var(--cream); }
.around-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px; max-width: 1080px; margin: 0 auto;
}
.around-card {
  background: var(--cream); border-radius: 14px;
  padding: 28px 24px; box-shadow: var(--shadow);
  border-top: 3px solid var(--ocre);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.around-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.around-card .badge {
  display: inline-block; font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 11px; letter-spacing: 0.08em;
  background: rgba(217, 168, 103, 0.2); color: var(--terracotta-d);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 12px;
}
.around-card h4 {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: 18px; color: var(--ink); margin-bottom: 8px;
}
.around-card p {
  font-size: 14px; color: var(--ink-light); line-height: 1.6;
}

.distances {
  margin-top: 50px;
  background: var(--cream-deep);
  border-radius: 14px;
  padding: 30px 28px;
  max-width: 800px; margin-left: auto; margin-right: auto;
  margin-top: 50px;
}
.distances-title {
  font-family: 'Lora', serif; font-weight: 600; font-size: 16px;
  color: var(--ink); text-align: center; margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.distances-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}
.distance-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--ink-light);
}
.distance-item strong { color: var(--ink); font-weight: 600; }
.distance-item .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ocre);
  flex-shrink: 0;
}

/* ====== LOCALISATION ====== */
.location { background: var(--sea-d); color: var(--cream); }
.location .section-eyebrow { color: var(--ocre); }
.location .section-title { color: var(--cream); }
.location .section-divider { background: var(--ocre); }
.location-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; max-width: 1000px; margin: 0 auto;
}
.location-text { color: rgba(248, 239, 224, 0.88); font-size: 16px; line-height: 1.8; }
.location-text h3 {
  font-family: 'Lora', serif; font-style: italic; font-weight: 500;
  font-size: 28px; color: var(--cream); margin-bottom: 14px;
}
.location-text p + p { margin-top: 14px; }
.location-text .highlight {
  display: inline-block; background: rgba(217, 168, 103, 0.18); color: var(--ocre);
  padding: 2px 10px; border-radius: 999px; font-weight: 500;
  font-size: 14px; margin-right: 6px; margin-top: 8px;
}
.map-frame {
  position: relative; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--cream);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) {
  .location-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ====== CONTACT ====== */
.contact { background: var(--cream); padding-bottom: 60px; }
.contact-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px; max-width: 880px; margin: 0 auto;
}
.contact-card {
  background: var(--cream-deep); border-radius: 14px;
  padding: 32px 24px; text-align: center; text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex; flex-direction: column; align-items: center;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); background: var(--cream); }
.contact-card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; margin-bottom: 14px; color: white;
}
.contact-card-icon.email { background: var(--sea); }
.contact-card-icon.phone { background: var(--olive); }
.contact-card-icon.insta { background: linear-gradient(135deg, #C77B5C, #A55D40 60%, #7C5A8F); }
.contact-card-icon svg { width: 24px; height: 24px; }
.contact-card-label {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-light); margin-bottom: 6px;
}
.contact-card-value {
  font-family: 'Lora', serif; font-weight: 600; font-size: 17px;
  color: var(--ink); word-break: break-word;
}

/* ====== FOOTER ====== */
.footer {
  background: var(--ink); color: rgba(248, 239, 224, 0.7);
  text-align: center; padding: 36px 24px; font-size: 13px;
}
.footer-brand {
  font-family: 'Lora', serif; font-style: italic; font-size: 18px;
  color: var(--cream); margin-bottom: 6px;
}

/* ====== SCROLL FADE-IN ====== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ====== CALENDRIER ====== */
.calendar { background: var(--cream-deep, #EDE3CB); }
.calendar-intro {
  text-align: center; max-width: 720px; margin: 0 auto 24px;
  color: var(--ink); font-size: 15px; line-height: 1.7;
}
.calendar-legend {
  display: flex; justify-content: center; gap: 22px; flex-wrap: wrap;
  margin-bottom: 22px; font-size: 13px; color: var(--ink-light);
}
.legend-item { display: flex; align-items: center; gap: 8px; }
.legend-dot {
  width: 12px; height: 12px; border-radius: 3px;
  display: inline-block; border: 1px solid rgba(0,0,0,0.08);
}
.dot-avail   { background: #DCEAD2; }
.dot-taken   { background: #E8A89E; }
.dot-option  { background: #F0D27A; }
.dot-selected{ background: var(--terracotta-d); }

.calendar-nav {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-bottom: 18px;
}
.cal-nav-btn {
  background: white; border: 1px solid rgba(58, 46, 37, 0.15);
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 18px; cursor: pointer; color: var(--terracotta-d, #BD5734);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.cal-nav-btn:hover:not(:disabled) { background: var(--terracotta-d, #BD5734); color: white; }
.cal-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-month-label {
  font-family: 'Lora', serif; font-size: 22px; font-weight: 600;
  color: var(--terracotta-d, #BD5734); min-width: 220px; text-align: center;
  text-transform: capitalize;
}

/* Grille mensuelle */
.cal-grid-wrap { max-width: 720px; margin: 0 auto; }
.cal-dow-row, .cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-dow-row { margin-bottom: 6px; }
.cal-dow {
  text-align: center; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--ink-light); padding: 6px 0;
}
.cal-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  background: white; border-radius: 6px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 6px; font-size: 13px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  border: 1px solid transparent;
}
.cal-cell.empty { background: transparent; cursor: default; pointer-events: none; }
.cal-cell.libre   { background: #DCEAD2; }
.cal-cell.option  { background: #F0D27A; }
.cal-cell.reserve { background: #E8A89E; cursor: not-allowed; opacity: 0.55; }
.cal-cell.past    { background: #F0EAD9; color: #B5A892; cursor: not-allowed; pointer-events: none; }
.cal-cell.libre:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.08); }

.cal-cell.start, .cal-cell.end {
  background: var(--terracotta-d) !important;
  color: white;
  border-color: var(--terracotta-d);
}
.cal-cell.range {
  background: var(--terracotta) !important;
  color: white;
}
.cal-cell.start .cal-price, .cal-cell.end .cal-price, .cal-cell.range .cal-price { color: rgba(255,255,255,0.85); }

.cal-day-num {
  font-family: 'Lora', serif; font-size: 16px; font-weight: 600; line-height: 1;
}
.cal-price {
  font-size: 11px; color: var(--ink-light);
  text-align: right; line-height: 1;
}

/* Carte récapitulative */
.cal-summary {
  max-width: 720px; margin: 22px auto 0;
  background: white; border-radius: 10px;
  padding: 18px 22px; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: none;
}
.cal-summary.active { display: block; }
.cal-summary-header { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cal-summary-dates {
  font-family: 'Lora', serif; font-size: 16px; color: var(--ink);
}
.cal-summary-dates strong { color: var(--terracotta-d); }
.cal-summary-total {
  font-family: 'Lora', serif; font-size: 22px; font-weight: 600;
  color: var(--terracotta-d);
}
.cal-summary-total small { font-size: 12px; color: var(--ink-light); font-weight: 400; }
.cal-summary-action {
  background: var(--terracotta-d); color: white; text-decoration: none;
  padding: 11px 22px; border-radius: 6px; font-size: 14px; font-weight: 500;
  letter-spacing: 0.5px; transition: background 0.2s ease;
}
.cal-summary-action:hover { background: var(--terracotta); }
.cal-summary-warning {
  margin-top: 12px; font-size: 13px; color: #B85432;
  background: #FBE6E0; padding: 10px 14px; border-radius: 6px;
}
.cal-summary-reset {
  display: inline-block; margin-top: 10px; font-size: 13px;
  color: var(--ink-light); cursor: pointer; text-decoration: underline;
  background: none; border: none; padding: 0;
}
.cal-help {
  text-align: center; max-width: 720px; margin: 14px auto 0;
  font-size: 13px; color: var(--ink-light); font-style: italic;
}
.calendar-loading, .calendar-empty {
  text-align: center; color: var(--ink-light); padding: 32px;
}
.calendar-empty { font-style: italic; }

@media (max-width: 640px) {
  .cal-grid, .cal-dow-row { gap: 3px; }
  .cal-cell { padding: 4px; font-size: 11px; }
  .cal-day-num { font-size: 13px; }
  .cal-price { font-size: 9px; }
  .cal-dow { font-size: 9px; padding: 4px 0; }
  .cal-month-label { min-width: 0; font-size: 18px; }
  .calendar-legend { gap: 12px; font-size: 12px; }
  .cal-summary { padding: 14px 16px; }
  .cal-summary-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cal-summary-action { width: 100%; text-align: center; }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 600px) {
  section { padding: 70px 20px; }
  .nav { padding: 12px 18px; }
  .nav.scrolled { padding: 10px 18px; }
}
