/* ==========================================================================
   Villa Lucie — Chaillevette, Charente-Maritime
   ========================================================================== */

:root{
  --bg: oklch(97% 0.014 80);
  --bg-alt: oklch(94.5% 0.022 75);
  --card: oklch(99% 0.006 85);
  --ink: oklch(23% 0.02 50);
  --ink-soft: oklch(43% 0.02 55);
  --line: oklch(88% 0.018 70);
  --accent: oklch(60% 0.14 68);
  --accent-dark: oklch(50% 0.135 66);
  --accent-soft: oklch(93% 0.05 78);
  --sage: oklch(56% 0.09 150);
  --sage-soft: oklch(93% 0.03 150);
  --white: oklch(99% 0.005 80);
  --ink-dark-panel: oklch(23% 0.02 50);
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Work Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  --container: 1200px;
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}

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

a{ color: var(--accent); text-decoration: none; }
a:hover{ color: var(--accent-dark); }
a:focus-visible, button:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, h3{ font-family: var(--font-serif); font-weight: 600; margin: 0; color: var(--ink); text-wrap: pretty; }

p{ margin: 0; line-height: 1.65; }

ul{ list-style: none; margin: 0; padding: 0; }

.skip-link{
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.eyebrow{
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Buttons */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  cursor: pointer; white-space: nowrap; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn-primary{
  background: var(--accent); color: var(--white); border-color: var(--accent);
  padding: 15px 40px; letter-spacing: .02em;
  box-shadow: 0 6px 18px -6px oklch(60% 0.14 68 / 0.55);
}
.btn-primary:hover{
  background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px oklch(50% 0.135 66 / 0.6);
}
.btn-primary:active{ transform: translateY(0); }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--ink); color: var(--ink); }

.icon{ width: 22px; height: 22px; flex-shrink: 0; }

.badge{
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink);
}

.section{ padding: 88px 0; }
.section-alt{ background: var(--bg-alt); }
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 38px); margin-top: 10px; }
.section-head p{ color: var(--ink-soft); margin-top: 14px; font-size: 16.5px; }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky; top: 0; z-index: 40;
  background: oklch(97% 0.014 80 / 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap{
  display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 128px;
}
.logo{ display: flex; align-items: center; line-height: 1; height: 100%; }
.logo-badge{
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border-radius: 14px; padding: 10px 20px;
  box-shadow: 0 1px 3px oklch(30% 0.02 50 / 0.12);
}
.logo-img{ height: 100px; width: auto; display: block; }
.logo-word{ font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 26px; color: var(--ink); }
.logo-place{ font-size: 10.5px; letter-spacing: .16em; font-weight: 600; color: var(--accent); margin-top: 3px; }
.footer-brand{ display: flex; flex-direction: column; align-items: flex-start; }
.logo-badge-footer{ padding: 14px 22px; }
.logo-img-footer{ height: 104px; width: auto; }

.nav-links{ display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 600; }
.nav-links a{ color: var(--ink); }
.nav-right{ display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.btn-label-short{ display: none; }

/* ---------- Hero ---------- */
.hero{
  position: relative; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden;
}
.hero img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, oklch(10% 0.015 50 / 0.72) 0%, oklch(10% 0.015 50 / 0.38) 38%, transparent 68%);
}
.hero .wrap{ position: relative; padding-top: 120px; padding-bottom: 56px; color: var(--white); width: 100%; }
.hero-content{ max-width: 620px; }
.hero-eyebrow{ color: oklch(95% 0.05 55); text-shadow: 0 1px 10px oklch(8% 0.01 50 / 0.85); }
.hero h1{ font-size: clamp(42px, 6vw, 68px); margin-top: 14px; color: var(--white); text-shadow: 0 3px 18px oklch(8% 0.01 50 / 0.8); }
.hero-lede{ font-size: clamp(17px, 2vw, 19.5px); margin-top: 18px; color: oklch(98% 0.005 80); max-width: 560px; text-shadow: 0 2px 12px oklch(8% 0.01 50 / 0.85); }

/* Large screens crop the same photo much wider (short, ultra-wide box) which pushes the
   patchy lawn on the left into frame and washes out the colors — recenter on the terrace/
   palm/flowers and add a light color boost so it reads as richly as the tall mobile crop. */
@media (min-width: 721px){
  .hero img{ object-position: 66% 32%; filter: saturate(1.18) contrast(1.04) brightness(1.02); }
}

/* ---------- Quick facts ---------- */
.facts{ background: var(--card); border-bottom: 1px solid var(--line); }
.facts-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px;
  padding: 36px 32px;
}
.fact{ display: flex; align-items: center; gap: 12px; min-width: 0; }
.fact svg{ color: var(--accent); }
.fact-value{ font-weight: 700; font-size: 17px; }
.fact-label{ font-size: 12.5px; color: var(--ink-soft); }

/* ---------- A propos ---------- */
.about-grid{ display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.about-text p{ color: var(--ink-soft); margin-top: 16px; font-size: 16.5px; }
.about-text p:first-of-type{ margin-top: 20px; }
.about-note{
  margin-top: 28px; padding: 20px 22px; background: var(--bg-alt);
  border-radius: 14px; border: 1px solid var(--line);
}
.about-note p{ font-size: 15px; color: var(--ink-soft); }
.about-signature{ font-family: var(--font-serif); font-style: italic; font-size: 16.5px; margin-top: 12px; color: var(--ink); }
.about-photo{ border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px -20px oklch(30% 0.03 50 / 0.35); min-width: 0; }
.about-photo img{ width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/5; }

/* ---------- Features ---------- */
.features-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.feature-card{ background: var(--card); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); min-width: 0; }
.feature-card img{ width: 100%; height: auto; max-width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-card-body{ padding: 24px; }
.feature-card-body h3{ font-size: 20px; }
.feature-card-body p{ color: var(--ink-soft); margin-top: 10px; font-size: 15.5px; }

/* ---------- Capacite ---------- */
.capacity-grid{ display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.capacity-text p{ color: var(--ink-soft); margin-top: 18px; font-size: 16px; }
.capacity-list{ display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.capacity-list li{ display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-soft); }
.capacity-list svg{ color: var(--sage); flex-shrink: 0; }
.stat-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat-card{ background: var(--bg-alt); border-radius: 16px; padding: 26px 22px; text-align: center; }
.stat-num{ font-family: var(--font-serif); font-size: 34px; color: var(--accent); }
.stat-label{ font-size: 14px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- Galerie ---------- */
.gallery-head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.gallery-head-sub{ margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.gallery-head-sub h2{ font-size: clamp(24px, 2.6vw, 30px); }
.gallery-head > div{ max-width: 640px; }
.gallery-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.gallery-grid figure{ margin: 0; border-radius: 16px; overflow: hidden; min-width: 0; }
.gallery-grid img{ width: 100%; height: auto; max-width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- Equipements ---------- */
.amenities-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px 32px; }
.amenity{ display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); min-width: 0; }
.amenity svg{ color: var(--accent); flex-shrink: 0; }
.amenity strong{ color: var(--ink); }

.nearby{
  margin-top: 56px; padding: 32px; background: var(--sage-soft); border-radius: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.nearby h3{ font-size: 19px; }
.nearby p{ color: var(--ink-soft); margin-top: 8px; font-size: 15px; }
.nearby-badges{ display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Video ---------- */
.video-wrap{ display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.video-frame{
  position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16/9; min-width: 0;
  background: oklch(15% 0.01 50); box-shadow: 0 20px 50px -20px oklch(30% 0.03 50 / 0.35);
}
.video-frame img{ width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-frame iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play{
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: oklch(15% 0.02 50 / 0.25); border: 0; cursor: pointer; width: 100%; padding: 0;
}
.video-play-circle{
  width: 76px; height: 76px; border-radius: 999px; background: var(--white);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px oklch(15% 0.02 50 / 0.35);
}
.video-play-circle svg{ width: 26px; height: 26px; color: var(--accent); margin-left: 4px; }
.video-caption{ margin-top: 14px; font-size: 13.5px; color: var(--ink-soft); }
.video-text p{ color: var(--ink-soft); margin-top: 16px; font-size: 16px; }

/* ---------- FAQ ---------- */
.faq-list{ max-width: 820px; }
.faq-item{ border-top: 1px solid var(--line); }
.faq-item:last-child{ border-bottom: 1px solid var(--line); }
.faq-item summary{
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; cursor: pointer; font-family: var(--font-serif); font-size: 18px;
  color: var(--ink); list-style: none;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary svg{ flex-shrink: 0; color: var(--accent); transition: transform .2s ease; }
.faq-item[open] summary svg{ transform: rotate(45deg); }
.faq-item p{ padding: 0 4px 22px; color: var(--ink-soft); font-size: 15.5px; max-width: 680px; }

/* ---------- Emplacement ---------- */
.map-frame{
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 20px 50px -20px oklch(30% 0.03 50 / 0.35);
}
.map-frame iframe{ width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Pages légales ---------- */
.legal-page{ max-width: 780px; margin: 0 auto; padding: 64px 0 100px; }
.legal-page .eyebrow{ display: block; margin-bottom: 10px; }
.legal-page h1{ font-size: clamp(30px, 4vw, 42px); }
.legal-page .legal-updated{ margin-top: 12px; color: var(--ink-soft); font-size: 14px; }
.legal-page .legal-intro{ margin-top: 28px; color: var(--ink-soft); font-size: 16px; }
.legal-page section{ margin-top: 40px; }
.legal-page h2{ font-size: 20px; margin-bottom: 12px; }
.legal-page p{ color: var(--ink-soft); font-size: 15.5px; margin-top: 12px; }
.legal-page p:first-of-type{ margin-top: 0; }
.legal-page strong{ color: var(--ink); }
.legal-page ul, .legal-page ol{ margin-top: 12px; padding-left: 22px; color: var(--ink-soft); font-size: 15.5px; }
.legal-page li{ margin-top: 8px; }
.legal-page ol{ list-style: decimal; }
.legal-page ul{ list-style: disc; }
.legal-page .legal-card{
  margin-top: 40px; padding: 24px 26px; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; font-size: 14.5px; color: var(--ink-soft);
}
.legal-page .legal-card p{ margin-top: 6px; }
.legal-page .legal-card a{ color: var(--accent); }
@media (max-width: 720px){ .map-frame iframe{ height: 320px; } }

/* ---------- Reserver ---------- */
.booking-grid{ display: flex; flex-direction: column; gap: 28px; }
.booking-card{
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px; max-width: 1040px; margin: 0 auto; width: 100%;
}
.smoobu-booking-tool-container{ display: flex; justify-content: center; }
.smoobu-booking-tool-container iframe{ width: 100%; border: 0; overflow: auto !important; }
.calendar-widget-shell{ margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); overflow-x: auto; }
.calendar-widget-shell > .calendar-widget-head > .badge{ background: var(--accent-soft); border-color: transparent; color: var(--accent-dark); }
.calendar-widget-head{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.calendarWidget{ font-family: var(--font-sans); min-width: 560px; }
.calendarWidget .container.multiCalendarWidget{ display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.calendarWidget .fullCalendar{ margin-bottom: 8px; flex: 1 1 260px; min-width: 260px; }
.calendarWidget .calendar.singleCalendarWidget{ margin: 0 !important; }
.calendarWidget table{ width: 100%; border-collapse: collapse; }
.calendarWidget td{ text-align: center; font-size: 13px; color: var(--ink-soft); }
.calendarWidget .current-day{ color: var(--accent); font-weight: 700; }
.calendarWidget .logo{ font-size: 11px; color: var(--ink-soft); margin-top: 10px; text-align: right; }

.booking-side{
  background: var(--ink-dark-panel); border-radius: 20px; padding: 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 32px; align-items: start;
}
.booking-side-title{ grid-column: 1 / -1; font-size: 22px; color: var(--white); font-family: var(--font-serif); }
.booking-side ul{ display: contents; }
.booking-side li{ display: flex; gap: 12px; font-size: 14.5px; color: oklch(88% 0.015 70); min-width: 0; }
.booking-side li svg{ color: var(--accent); flex-shrink: 0; width: 19px; height: 19px; }
.booking-side li strong{ color: var(--white); }
.booking-side-footer{
  grid-column: 1 / -1; margin-top: 8px; padding-top: 22px; border-top: 1px solid oklch(97% 0.01 75 / 0.18);
  font-size: 13px; color: oklch(75% 0.02 70);
}

/* ---------- Lightbox ---------- */
.lightbox-trigger{ cursor: zoom-in; transition: opacity .15s ease; }
.lightbox-trigger:hover{ opacity: .88; }
.lightbox{
  position: fixed; inset: 0; z-index: 100; background: oklch(10% 0.01 50 / 0.94);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden]{ display: none; }
.lightbox-img{ max-width: min(92vw, 1400px); max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lightbox-close, .lightbox-nav{
  position: absolute; background: oklch(97% 0.01 75 / 0.12); border: 1px solid oklch(97% 0.01 75 / 0.3);
  color: var(--white); border-radius: 999px; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox-close svg, .lightbox-nav svg{ width: 22px; height: 22px; }
.lightbox-close:hover, .lightbox-nav:hover{ background: oklch(97% 0.01 75 / 0.22); }
.lightbox-close{ top: 20px; right: 20px; }
.lightbox-prev{ left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next{ right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-count{ position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: oklch(90% 0.01 75); font-size: 13.5px; }
@media (max-width: 640px){
  .lightbox-prev{ left: 8px; } .lightbox-next{ right: 8px; }
  .lightbox-close{ top: 10px; right: 10px; }
  .lightbox-close, .lightbox-nav{ width: 40px; height: 40px; }
}

/* ---------- Footer ---------- */
.site-footer{ background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid{ display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p{ color: var(--ink-soft); margin-top: 14px; font-size: 14.5px; max-width: 280px; }
.footer-social{ display: flex; gap: 12px; margin-top: 20px; }
.footer-social a{
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.footer-social svg{ width: 17px; height: 17px; }
.footer-col-title{ font-weight: 700; font-size: 13.5px; letter-spacing: .05em; color: var(--ink); }
.footer-links{ display: flex; flex-direction: column; gap: 10px; margin-top: 16px; font-size: 14.5px; }
.footer-links a{ color: var(--ink-soft); }
.footer-contact{ display: flex; flex-direction: column; gap: 10px; margin-top: 16px; font-size: 14.5px; color: var(--ink-soft); }
.footer-bottom{ border-top: 1px solid var(--line); }
.footer-bottom .wrap{
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 22px 32px; font-size: 13px; color: var(--ink-soft);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .nav-links{ display: none; }
  .about-grid, .capacity-grid, .booking-grid, .video-wrap{ grid-template-columns: 1fr; }
  .capacity-grid > .stat-grid{ order: -1; }
}

@media (max-width: 720px){
  .wrap{ padding-left: 20px; padding-right: 20px; }
  .section{ padding: 56px 0; }
  .facts-grid{ padding: 28px 20px; gap: 20px; }
  .hero{ min-height: 560px; }
  .hero .wrap{ padding-top: 96px; padding-bottom: 40px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand{ grid-column: 1 / -1; }
  .nearby{ flex-direction: column; align-items: flex-start; }
  .site-header .wrap{ height: 100px; }
  .logo-img{ height: 76px; }
  .logo-badge{ padding: 8px 14px; border-radius: 12px; }
  .booking-card{ padding: 18px; border-radius: 14px; }
  .smoobu-booking-tool-container iframe{ height: 1950px !important; }
}

@media (max-width: 480px){
  .footer-grid{ grid-template-columns: 1fr; }
  .stat-grid{ grid-template-columns: 1fr 1fr; }
  .site-header .wrap{ height: 84px; }
  .logo-img{ height: 60px; }
  .logo-badge{ padding: 6px 12px; }
  .booking-card{ padding: 14px; }
  .smoobu-booking-tool-container iframe{ height: 2150px !important; }
  .site-header .btn-primary{ padding: 10px 20px; font-size: 13.5px; }
  .site-header .logo-word{ font-size: 21px; }
  .btn-label-full{ display: none; }
  .btn-label-short{ display: inline; }
}
