/* ==========================================================================
   Domaine Graverolle — feuille de style principale
   Reprend la charte de l'ancien site (Elementor) sans aucune dépendance.
   Réalisation : mindev.pro
   ========================================================================== */

/* ---------- Polices (auto-hébergées, licence SIL OFL) ---------- */
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("../fonts/source-serif-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans"; src: url("../fonts/source-sans.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans"; src: url("../fonts/source-sans-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Castoro"; src: url("../fonts/castoro.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- Couleurs de la charte ---------- */
:root {
  --gold: #BA976F;
  --gold-soft: #DDC7AE;
  --beige: #EBE4DC;
  --cream: #F9F6F2;
  --sand: #E0DAD4;
  --mist: #EDEBEA;
  --paper: #FAFAFA;
  --light: #F2F2F2;
  --text: #7A7A7A;
  --text-dark: #54595F;
  --green: #66875E;
  --black: #000;
  --white: #fff;

  --font-title: "Playfair Display", Georgia, serif;
  --font-serif-it: "Source Serif", Georgia, serif;
  --font-sans: "Source Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-castoro: "Castoro", Georgia, serif;

  --container: 1140px;
  --shadow-card: 0 5px 10px rgba(0, 0, 0, .14);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--black); font-weight: 600; text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; text-wrap: balance; }
.subtitle, .card__note { text-wrap: balance; }
strong, b { font-weight: 700; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--gold); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 1008px; }
.center { text-align: center; }

/* ---------- Icônes ---------- */
.i { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Typographie commune ---------- */
.kicker {              /* « DOMAINE GRAVEROLLE » au-dessus des titres */
  display: block;
  margin: 0 0 14px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1em;
  letter-spacing: 3.8px;
  text-transform: uppercase;
}
.kicker a { color: inherit; font-weight: inherit; }
.title {               /* grands titres dorés (Bienvenue, L'Extérieur…) */
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.6;
}
.title--card {         /* titres des cartes (gîtes, chambres) */
  color: var(--text);
  font-size: 2em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.subtitle {
  margin: 0 0 12px;
  color: var(--text);
  font-family: var(--font-serif-it);
  font-size: 28px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5em;
}
.prose { font-size: 15px; line-height: 1.5em; }
.prose--small { font-size: 14px; }
.prose em, .em { font-style: italic; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 0;
  border-radius: 0;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover, .btn:focus-visible { background: var(--beige); color: var(--black); }
.btn--ghost { background: transparent; border: 1px solid var(--white); padding: 14px 32px; }
.btn--ghost:hover { background: rgba(255, 255, 255, .92); color: var(--black); }
.btn--block { display: flex; width: 100%; }
.btn .i { width: 14px; height: 14px; }
.btn-row { margin-top: 22px; }

/* ---------- Animations d'apparition (équivalent fadeInUp) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 1.1s ease, transform 1.1s ease; }
.js .reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 1.1s ease, transform 1.1s ease; }
.js .reveal-left.is-visible, .js .reveal-right.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-left, .js .reveal-right { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 100%);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 20px 18px;
}
.site-header__logo { flex: none; width: 230px; }
.site-header__logo img { width: 100%; }
.nav { display: flex; align-items: center; }
.nav__list { display: flex; flex-wrap: wrap; justify-content: flex-end; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 13px 11px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5em;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__link::after {          /* soulignement au survol */
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 6px;
  height: 2px;
  background: var(--light);
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .3s, transform .3s;
}
.nav__link:hover, .nav__link:focus-visible { color: var(--gold-soft); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-current > .nav__link::after { opacity: 1; transform: none; background: var(--cream); }
.nav__link[aria-current="page"] { color: var(--cream); }
.nav__caret { width: 10px; height: 10px; transition: transform .3s; }
.nav__sub {
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  margin: 0; padding: 6px 0;
  list-style: none;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.nav__item--has-sub:hover > .nav__sub,
.nav__item--has-sub:focus-within > .nav__sub,
.nav__item--has-sub.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__item--has-sub:hover .nav__caret, .nav__item--has-sub.is-open .nav__caret { transform: rotate(180deg); }
.nav__sub .nav__link { padding: 10px 18px; font-size: 11px; }
.nav__sub .nav__link::after { left: 18px; right: auto; width: 30px; bottom: 4px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .6);
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle .i { width: 20px; height: 20px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

@media (max-width: 1024px) {
  .site-header__inner { padding: 10px 16px; }
  .site-header__logo { width: 190px; }
  .nav-toggle { display: inline-flex; }
  .nav__list {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 8px 0 16px;
    background: rgba(30, 26, 22, .94);
  }
  .nav-open .nav__list { display: flex; }
  .nav__link { padding: 13px 24px; font-size: 12px; }
  .nav__link::after { left: 24px; right: auto; width: 34px; bottom: 6px; }
  .nav__link[aria-current="page"] { background: var(--gold); color: var(--cream); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__sub { position: static; display: none; min-width: 0; padding: 0 0 4px 16px; background: transparent; backdrop-filter: none; opacity: 1; visibility: visible; transform: none; }
  .nav__item--has-sub.is-open > .nav__sub { display: block; }
  .nav__item--has-sub:hover > .nav__sub { display: none; }
  .nav__item--has-sub.is-open:hover > .nav__sub { display: block; }
}

/* ==========================================================================
   Séparateurs inclinés (shape dividers « tilt » d'Elementor)
   ========================================================================== */
.divider { position: absolute; left: 0; right: 0; z-index: 2; line-height: 0; pointer-events: none; overflow: hidden; }
.divider svg { width: calc(100% + 2px); max-width: none; height: var(--divider-h, 40px); margin-left: -1px; }
.divider--bottom { bottom: -1px; }
.divider--top { top: -1px; transform: rotate(180deg); }
.divider path { fill: var(--divider-fill, var(--paper)); }

/* ==========================================================================
   Héros de l'accueil : diaporama plein écran avec effet Ken Burns
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: max(660px, 100svh);
  padding: 3em 3em 7em;
  overflow: hidden;
  background: #3b3530;
  color: var(--white);
  isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; z-index: -1; }
.hero__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity .5s linear;
}
.hero__slide.is-active { opacity: 1; animation: kenburns 4.5s linear forwards; }
.hero__slide.is-leaving { opacity: 0; transform: scale(1.3); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.05) 40%, rgba(0,0,0,.2)); }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .hero__slide.is-active { animation: none; } }
.hero .divider { --divider-fill: var(--light); --divider-h: 15px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding: 50px 0; }
.section--tall { padding: 7em 0 6em; }
.section--bg { isolation: isolate; overflow: hidden; }
.section__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.section__overlay { position: absolute; inset: 0; z-index: -1; }
.section--mist { background: #EFEBE8; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--light { background: var(--light); }

/* --- Accueil : présentation --- */
.intro { padding: 50px 0; background: var(--paper); }
.intro__inner { max-width: 1008px; margin: 0 auto; padding: 2em 4em 0; text-align: center; }
.intro__logo { width: 300px; margin: 0 auto 10px; }
.intro .prose p { margin-bottom: 1.3em; }

/* --- Accueil : cartes gîtes / chambres --- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.card { display: flex; flex-direction: column; background: var(--white); box-shadow: var(--shadow-card); }
.card__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; align-items: center; padding: 2em 1em 1em; text-align: center; }
.card__body .kicker { margin-bottom: 10px; }
.card__note { margin: 8px 0 0; font-size: 14px; font-style: italic; line-height: 1.5em; }
.card__price { margin: 8px 0 0; font-size: 15px; }
.card .btn { margin-top: auto; }
.card__foot { margin-top: auto; }

/* --- Listes d'atouts avec icônes --- */
.features { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.features li { display: inline-flex; align-items: center; gap: 7px; }
.features .i { color: var(--gold); width: 15px; height: 15px; }
.features--dark { font-size: 14px; color: var(--text-dark); }
.features--dark .i { color: var(--text); }
.features--column { flex-direction: column; align-items: flex-start; gap: 9px; }
.features--column li { align-items: flex-start; }
.features--column .i { margin-top: 3px; }

/* --- L'Extérieur --- */
.framed { border: 1px solid #8a8a8a; padding: 20px 2% 22px; text-align: center; }

/* --- Saint-Alban --- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0; }
.split--wide-left { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.boxed { background: var(--cream); padding: 4em 4em 3em; text-align: center; }
.video-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; background: #222; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- Avis clients --- */
.testimonial { padding: 0 6px; }
.testimonial__bubble {
  position: relative;
  padding: 20px;
  border-radius: 17px;
  background: var(--beige);
  color: var(--text-dark);
  font-family: var(--font-serif-it);
  font-size: 15px;
  font-style: italic;
  text-align: center;
}
.testimonial__bubble::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -9px;
  width: 18px; height: 18px;
  background: var(--beige);
  transform: translateX(-50%) rotate(45deg);
}
.testimonial__who { margin-top: 22px; text-align: center; font-size: 14px; }
.testimonial__name { display: block; color: var(--text); font-weight: 500; text-transform: uppercase; }
.testimonial__src { display: block; color: var(--gold); }

/* ==========================================================================
   Carrousels (images et avis)
   ========================================================================== */
.carousel { --per-view: 1; --gap: 0px; position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex;
  gap: var(--gap);
  margin: 0; padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view)); scroll-snap-align: start; }
.carousel__slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.carousel__slide a { display: block; }
.carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  margin-top: -20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}
.carousel__btn .i { width: 26px; height: 26px; stroke-width: 2; filter: drop-shadow(0 0 2px rgba(255,255,255,.7)); }
.carousel__btn--prev { left: -4px; }
.carousel__btn--next { right: -4px; }
.carousel--outside .carousel__btn--prev { left: -44px; }
.carousel--outside .carousel__btn--next { right: -44px; }
.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.carousel__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #c9c3bc; cursor: pointer; }
.carousel__dot[aria-current="true"] { background: var(--text-dark); }
.carousel--testimonials .carousel__slide { padding-bottom: 12px; }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */
.page-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 140px 20px 70px;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: #4a423b;
}
.page-banner__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.25)); }
.page-banner__title { color: var(--white); font-family: var(--font-title); font-size: clamp(34px, 5vw, 54px); font-weight: 600; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.page-banner .divider { --divider-h: 60px; }
.page-banner--short { min-height: 300px; }

.panel { background: var(--white); box-shadow: var(--shadow-card); padding: 3em 3em 2.5em; }
.panel--gradient { background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%); }
.panel--center { text-align: center; }

/* --- Pictos (icon boxes) --- */
.icon-boxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 16px; margin: 30px 0 10px; }
.icon-box { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.icon-box__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--beige); color: var(--gold); }
.icon-box__icon .i { width: 26px; height: 26px; }
.icon-box__label { margin: 0; color: var(--text-dark); font-family: var(--font-title); font-size: 17px; font-weight: 600; }

/* --- Chambres (alternance texte / photos) --- */
.room { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.room + .room { margin-top: 70px; }
.room__text { text-align: center; }
.room__text .features { margin: 6px 0 16px; }
.room--reverse .room__media { order: -1; }

/* --- Notre histoire --- */
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 50px; align-items: center; }
.story h2 { margin-bottom: 16px; color: var(--gold); font-family: var(--font-title); font-size: 30px; }
.story--reverse > :first-child { order: 2; }
.stack-photos { position: relative; min-height: 520px; }
.stack-photos img { position: absolute; box-shadow: 0 10px 30px rgba(0,0,0,.18); object-fit: cover; will-change: transform; }
.stack-photos__a { top: 0; left: 0; width: 58%; aspect-ratio: 3 / 4; }
.stack-photos__b { right: 0; bottom: 0; width: 66%; aspect-ratio: 4 / 3; }
.cta-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.cta-tile { position: relative; overflow: hidden; aspect-ratio: 4 / 3; color: var(--white); }
.cta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.cta-tile:hover img { transform: scale(1.06); }
.cta-tile__label { position: absolute; inset: auto 0 0 0; padding: 40px 16px 16px; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); font-family: var(--font-title); font-size: 19px; font-weight: 600; line-height: 1.25; text-align: center; }
.logo-band { display: grid; place-items: center; padding: 70px 20px 90px; background: var(--light); }
.logo-band img { width: min(420px, 80%); }
.quote { color: var(--text-dark); font-family: var(--font-serif-it); font-size: 22px; font-style: italic; line-height: 1.5; }
.signature { margin-top: 1em; color: var(--gold); font-family: var(--font-serif-it); font-size: 19px; font-style: italic; }
.parallax { will-change: transform; }

/* --- Réservation --- */
.booking-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.booking-choice { display: flex; flex-direction: column; background: var(--white); box-shadow: var(--shadow-card); text-align: center; }
.booking-choice img { aspect-ratio: 16 / 10; object-fit: cover; }
.booking-choice__body { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 6px; padding: 20px 18px 22px; }
.booking-choice__type { color: var(--text); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; }
.booking-choice__name { color: var(--text-dark); font-family: var(--font-title); font-size: 22px; }
.booking-choice__meta { margin: 0 0 12px; font-size: 14px; }
.booking-choice .btn { margin-top: auto; }
.rules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 30px 50px; align-items: start; text-align: left; }
.price-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 26px; }
.price-grid > .price { flex: 0 1 calc((100% - 48px) / 3); }
.price-grid--two { max-width: 820px; margin-left: auto; margin-right: auto; }
.price-grid--two > .price { flex-basis: calc((100% - 24px) / 2); }
.price-grid--single > .price { flex-basis: 100%; }
.price { display: flex; flex-direction: column; background: var(--white); box-shadow: var(--shadow-card); text-align: center; }
.price__head { padding: 20px 16px; background: var(--gold); color: var(--white); }
.price__heading { margin: 0; font-family: var(--font-title); font-size: 21px; font-weight: 600; }
.price__sub { margin: 4px 0 0; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; opacity: .9; }
.price__amount { padding: 22px 16px 14px; background: var(--cream); }
.price__value { display: block; color: var(--text-dark); font-family: var(--font-title); font-size: 46px; font-weight: 600; line-height: 1; }
.price__period { display: block; margin-top: 8px; font-size: 13px; }
.price__min { display: block; margin-top: 4px; color: var(--gold); font-size: 13px; font-style: italic; }
.price__list { flex: 1; margin: 0; padding: 18px 22px; list-style: none; font-size: 14px; text-align: left; }
.price__list li { display: flex; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--mist); }
.price__list li:last-child { border-bottom: 0; }
.price__list .i { margin-top: 3px; color: var(--gold); width: 14px; height: 14px; }
.price__list strong { color: var(--text-dark); }
.price__list--plain li { display: block; }
.price__foot { padding: 0 22px 22px; }
.price__foot .btn { width: 100%; }
.price__note { margin: 10px 0 0; font-size: 12px; font-style: italic; }

/* --- Formulaires --- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { color: var(--text-dark); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.field label .req { color: var(--gold); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e3e3e3;
  border-radius: 0;
  background: var(--white);
  color: var(--text-dark);
  font: 15px/1.4 var(--font-sans);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #aaa; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(186, 151, 111, .18); }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.5em; margin: 0; font-size: 14px; }
.form__status.is-ok { color: var(--green); }
.form__status.is-error { color: #b0412e; }
.form__legal { margin: 0; font-size: 12px; }

/* --- Contact --- */
.contact-hero { position: relative; padding: 150px 0 80px; overflow: hidden; isolation: isolate; background: #5a524a; }
.yt-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.yt-bg iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); border: 0; transform: translate(-50%, -50%); }
.yt-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .18); }
.contact-card { max-width: 760px; background: var(--white); padding: 3em 3em 2.6em; }
.contact-infos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding: 60px 0; text-align: center; }
.contact-info { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 15px; }
.contact-info .icon-box__icon { width: 54px; height: 54px; }
.contact-info a { color: var(--text-dark); font-weight: 400; }
.contact-info a:hover { color: var(--gold); }
.contact-info small { display: block; margin-top: 4px; color: var(--text); font-size: 13px; }
.map-frame { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.15); }

/* --- Livre d'or --- */
.guestbook { max-width: 760px; margin: 0 auto; }
.guestbook__entries { margin-top: 50px; }
.guestbook__entry { padding: 22px 0; border-top: 1px solid var(--sand); }
.guestbook__meta { margin: 0 0 8px; color: var(--gold); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.guestbook__text { color: var(--text-dark); font-family: var(--font-serif-it); font-size: 17px; font-style: italic; white-space: pre-line; }
.guestbook__empty { color: var(--text); font-style: italic; text-align: center; }
.toggle-form { margin-bottom: 26px; }

/* --- Mentions légales et pages de texte --- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { margin: 2em 0 .6em; color: var(--gold); font-family: var(--font-title); font-size: 24px; }
.legal h2:first-child { margin-top: 0; }
.legal a { color: var(--gold); font-weight: 600; }
.legal ul { padding-left: 1.2em; }
.todo { padding: 1px 6px; background: #fff2cc; color: #8a6d00; font-style: normal; }

/* --- Gîtes : galerie --- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gallery a, .gallery img { display: block; width: 100%; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .3s; }
.gallery a:hover img { opacity: .85; }

/* --- Région --- */
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.place { padding: 26px 22px; background: var(--white); box-shadow: var(--shadow-card); text-align: center; }
.place .icon-box__icon { margin: 0 auto 12px; }
.place h3 { color: var(--text-dark); font-family: var(--font-title); font-size: 20px; }

/* ==========================================================================
   Visionneuse d'images (lightbox)
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 50px 60px; background: rgba(15, 12, 10, .92); }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 14px; color: #ddd; font-size: 14px; text-align: center; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.lightbox__btn .i { width: 30px; height: 30px; }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: 8px; top: 50%; margin-top: -23px; }
.lightbox__next { right: 8px; top: 50%; margin-top: -23px; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer__contact { position: relative; padding: 20px 0; isolation: isolate; background: var(--gold); }
.site-footer__contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); opacity: .91; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); align-items: stretch; max-width: 1400px; margin: 0 auto; }
.footer-card { padding: 16px 20px 18px; background: var(--light); }
.footer-card .kicker { color: var(--gold); margin-top: 12px; }
.footer-card__title { margin: 0 0 16px; color: var(--gold); font-family: var(--font-castoro); font-size: 1.7em; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-list { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.85; }
.footer-list li { display: flex; gap: 10px; padding: 2px 0 2px 14px; }
.footer-list .i { margin-top: 6px; color: var(--green); width: 14px; height: 14px; }
.footer-list a { color: var(--text); font-weight: 400; }
.footer-list a:hover { color: var(--gold); }
.footer-map { min-height: 260px; }
.footer-map iframe { width: 100%; height: 100%; min-height: 260px; border: 0; }
.site-footer__bottom { padding: 14px 20px 18px; background: var(--paper); text-align: center; font-size: 12px; }
.site-footer__bottom p { margin: 0 0 2px; }
.site-footer__bottom .heart { display: inline-block; width: 13px; height: 13px; margin: 0 3px; vertical-align: -1px; fill: #d0021b; stroke: none; }
.site-footer__bottom .made-by { color: var(--black); font-style: italic; font-weight: 700; }
.site-footer__legal { display: inline-block; margin-top: 14px; color: var(--black); font-size: 16px; font-weight: 300; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .title { font-size: 34px; }
  .subtitle { font-size: 24px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .boxed { max-width: 640px; margin: 0 auto; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .story--reverse > :first-child { order: 0; }
  .stack-photos { max-width: 560px; width: 100%; margin: 0 auto; }
  .price-grid > .price { flex-basis: calc((100% - 24px) / 2); }
  .booking-choices { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
  .carousel--outside .carousel__btn--prev { left: -4px; }
  .carousel--outside .carousel__btn--next { right: -4px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  .title { font-size: 30px; line-height: 1.35; }
  .subtitle { font-size: 21px; }
  .intro__inner { padding: 1em 0 0; }
  .intro__logo { width: 230px; }
  .hero { padding: 2em 1em 6em; }
  .section--tall { padding: 4em 0; }
  .price-grid > .price, .price-grid--two > .price { flex-basis: 100%; }
  .cards, .room, .rules, .cta-tiles, .contact-infos, .gallery, .places, .form__row { grid-template-columns: minmax(0, 1fr); }
  .room { gap: 22px; }
  .room--reverse .room__media { order: 0; }
  .room__media { order: -1; }
  .room + .room { margin-top: 50px; }
  .boxed, .panel, .contact-card { padding: 2.2em 1.4em 2em; }
  .icon-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack-photos { min-height: 400px; }
  .page-banner { min-height: 300px; padding: 120px 16px 60px; }
  .page-banner .divider { --divider-h: 30px; }
  .contact-hero { padding: 120px 0 50px; }
  .lightbox { padding: 50px 10px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Contact sans formulaire : téléphone et e-mail */
.contact-card__texte { margin: 0 0 22px; }
.contact-card__actions { display: grid; gap: 12px; }
.contact-card__actions .btn { justify-content: center; gap: 10px; }
