/* ==========================================================================
   Le Bastidon des Oliviers — feuille de style
   Direction : couleurs du logo (vert olive, brun, brun foncé, crème), arrondis discrets.
   Mobile d'abord · points de rupture 700 / 900 / 1180 px
   ========================================================================== */

/* ---------- Polices (hébergées sur le site, aucun appel externe) ---------- */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

/* ---------- Jetons ---------- */
:root {
  /* Palette = couleurs du logo, plus une teinte claire de chaque */
  --c-olive-900: #3A352F;   /* brun foncé du logo : fonds sombres, pied de page */
  --c-olive-700: #4A443D;   /* surfaces sur fond sombre */
  --c-olive: #4A5D46;
  --c-sage: #E6E8E1;        /* teinte claire du vert : panneaux clairs */
  --c-sage-soft: #E6E8E1;
  --c-bg: #F5F3EF;          /* crème du logo */
  --c-card: #FCFBF8;
  --c-terra: #9C6B3B;       /* brun du logo : boutons d'action (AA avec le blanc) */
  --c-terra-dark: #84582F;
  --c-terra-soft: #EFE7DC;  /* teinte claire du brun */
  --c-ochre: #DCCBB2;       /* accent clair sur fond vert */
  --c-ink: #3A352F;         /* brun foncé du logo : textes et titres */
  --c-muted: #6B645B;
  --c-line: rgba(58, 53, 47, .12);
  --c-line-strong: rgba(58, 53, 47, .26);
  --c-white: #FFFFFF;
  --c-on-dark: #F5F3EF;
  --c-on-dark-muted: #D8D1C6;

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-hero: clamp(2.15rem, 1.45rem + 2.9vw, 3.7rem);
  --fs-h1: clamp(2rem, 1.45rem + 2.3vw, 3.3rem);
  --fs-h2: clamp(1.65rem, 1.3rem + 1.4vw, 2.4rem);
  --fs-h3: clamp(1.18rem, 1.1rem + .35vw, 1.4rem);
  --fs-lead: clamp(1.1rem, 1.02rem + .3vw, 1.25rem);
  --fs-small: .9rem;

  --section: clamp(3.25rem, 2.2rem + 4vw, 6rem);
  --gutter: clamp(1.15rem, .7rem + 2.2vw, 2.75rem);
  --edge: clamp(8px, 1.1vw, 16px);         /* marge des panneaux arrondis */
  --maxw: 1260px;
  --header-h: 64px;
  --header-top: var(--edge);

  --r-xl: clamp(12px, 1.2vw, 18px);
  --r-lg: clamp(10px, 1vw, 14px);
  --r-md: 10px;
  --r-sm: 6px;
  --pill: 8px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 22px 44px -26px rgba(58, 53, 47, .45);
  --shadow-soft: 0 10px 30px -18px rgba(58, 53, 47, .35);
}
@media (min-width: 900px) { :root { --header-h: 76px; --header-top: var(--edge); } }
:root { --top-gap: calc(var(--header-top) + var(--header-h) + var(--edge)); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--header-top) + 16px); scrollbar-color: var(--c-olive) var(--c-bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a, button, label, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(156,107,59,.14); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--c-terra-dark); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--f-display); font-weight: 560; line-height: 1.1; letter-spacing: -.015em;
  font-variation-settings: "SOFT" 100; font-optical-sizing: auto;
  margin: 0 0 .45em; color: var(--c-ink); text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: 1.15rem; }
strong, b { font-weight: 650; }
ul, ol { padding-left: 1.2em; }
::selection { background: var(--c-sage); color: var(--c-ink); }
:focus-visible { outline: 3px solid var(--c-terra); outline-offset: 3px; border-radius: 6px; }
.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 { position: fixed; left: 1rem; top: -4rem; z-index: 300; background: var(--c-olive-900); color: var(--c-white); padding: .7rem 1.1rem; border-radius: var(--pill); }
.skip:focus { top: 1rem; color: var(--c-white); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section + .section:not(.panel) { padding-top: calc(var(--section) * .35); }

/* Panneaux arrondis colorés : la signature de la mise en page */
.panel { margin-inline: var(--edge); border-radius: var(--r-xl); position: relative; overflow: hidden; }
.panel--olive { background: var(--c-olive-900); color: var(--c-on-dark); }
.panel--sage { background: var(--c-sage); }
.panel--soft { background: var(--c-sage-soft); }
.panel--terra { background: var(--c-terra-soft); }
.panel--olive h2, .panel--olive h3 { color: var(--c-white); }
.panel--olive a:hover { color: var(--c-ochre); }
.panel + .panel { margin-top: var(--edge); }

.lead { font-size: var(--fs-lead); line-height: 1.6; }
.muted { color: var(--c-muted); }
.panel--olive .muted { color: var(--c-on-dark-muted); }
.small { font-size: var(--fs-small); }
.center { text-align: center; }
.measure { max-width: 38rem; }
.measure-wide { max-width: 52rem; }
.center .measure, .center .measure-wide { margin-inline: auto; }

/* Rameau d'olivier décoratif en fond de panneau */
.panel__branch { position: absolute; width: clamp(220px, 30vw, 420px); height: auto; pointer-events: none; color: var(--c-olive); opacity: .14; }
.panel--olive .panel__branch { color: var(--c-ochre); opacity: .12; }
.panel__branch--tr { top: -30px; right: -40px; transform: rotate(8deg); }
.panel__branch--bl { bottom: -40px; left: -50px; transform: rotate(196deg); }

/* ---------- Icônes maison ---------- */
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico .f { fill: var(--ico-accent, var(--c-ochre)); stroke: none; }
.ico .s { stroke: var(--ico-accent, var(--c-ochre)); }
.badge { --size: 52px; display: inline-flex; align-items: center; justify-content: center; flex: none; width: var(--size); height: var(--size); border-radius: 50%; background: var(--c-sage); color: var(--c-olive); --ico-accent: var(--c-terra); }
.badge .ico { width: 54%; height: 54%; }
.badge--olive { background: var(--c-olive-900); color: var(--c-on-dark); --ico-accent: var(--c-ochre); }
.badge--terra { background: var(--c-terra); color: var(--c-white); --ico-accent: var(--c-ochre); }
.badge--light { background: var(--c-card); color: var(--c-olive); }
.badge--sm { --size: 42px; }
.badge--lg { --size: 64px; }
.panel--olive .badge { background: var(--c-olive-700); color: var(--c-on-dark); --ico-accent: var(--c-ochre); }

/* En-tête de section : icône + titre */
.head { display: grid; gap: .9rem; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.head > :last-child { margin-bottom: 0; }
.head h2 { margin: 0; }
.head p { margin: 0; max-width: 40rem; }
.head--center { justify-items: center; text-align: center; }
.head--center p { margin-inline: auto; }
.head--split { align-items: end; }
@media (min-width: 900px) {
  .head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 3rem; }
  .head--split > .badge, .head--split > h2 { grid-column: 1; }
  .head--split > p, .head--split > .head__side { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--c-terra); --fg: var(--c-white); --bd: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.6rem; border: 1.5px solid var(--bd); border-radius: var(--pill);
  background: var(--bg); color: var(--fg); font: 650 1rem/1.15 var(--f-body); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s, box-shadow .2s var(--ease);
}
.btn .ico { width: 20px; height: 20px; --ico-accent: currentColor; }
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { --bg: var(--c-terra-dark); }
.btn--olive { --bg: var(--c-olive-900); }
.btn--olive:hover { --bg: var(--c-olive-700); }
.btn--light { --bg: var(--c-card); --fg: var(--c-ink); }
.btn--light:hover { --bg: var(--c-white); }
.btn--outline { --bg: transparent; --fg: var(--c-ink); --bd: var(--c-line-strong); }
.btn--outline:hover { --bg: var(--c-olive-900); --fg: var(--c-white); --bd: var(--c-olive-900); }
.btn--outline-light { --bg: transparent; --fg: var(--c-white); --bd: rgba(255,255,255,.7); }
.btn--outline-light:hover { --bg: var(--c-white); --fg: var(--c-ink); --bd: var(--c-white); }
.btn--sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .95rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn-row--center, .center .btn-row { justify-content: center; }
.link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; color: var(--c-terra-dark); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em; }
.link:hover { color: var(--c-ink); }
.panel--olive .link { color: var(--c-ochre); }

/* pastilles (puces d'information) */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; }
.chips li { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .8rem; border-radius: var(--pill); background: var(--c-sage-soft); color: var(--c-ink); font-size: .88rem; font-weight: 550; line-height: 1.25; }
.chips .ico { width: 17px; height: 17px; --ico-accent: var(--c-terra); }
.panel--sage .chips li { background: var(--c-card); }
.panel--olive .chips li { background: var(--c-olive-700); color: var(--c-on-dark); }

/* ---------- En-tête flottant ---------- */
.site-header { position: fixed; z-index: 100; top: var(--header-top); left: var(--edge); right: var(--edge); height: var(--header-h); pointer-events: none; }
.site-header__inner {
  pointer-events: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 8px 0 clamp(14px, 1.6vw, 24px);
  background: rgba(252, 251, 248, .96); border: 1px solid var(--c-line); border-radius: 12px;
  box-shadow: none; transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled .site-header__inner { box-shadow: 0 14px 34px -22px rgba(58, 53, 47, .5); }
.brand { display: block; flex: none; width: clamp(210px, 14vw + 120px, 370px); position: relative; z-index: 2; }
.brand img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(.5rem, 1.4vw, 1.6rem); }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.nav__list a { display: block; padding: .6rem .95rem; border-radius: var(--pill); text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--c-ink); transition: background-color .2s, color .2s; }
.nav__list a:hover { background: var(--c-sage-soft); color: var(--c-ink); }
.nav__list a[aria-current="page"] { background: var(--c-sage); }
.nav__extra { display: flex; align-items: center; gap: .5rem; }
.nav__lang { display: inline-flex; align-items: center; gap: .35rem; height: 44px; padding: 0 .9rem; border-left: 1px solid var(--c-line-strong); font-size: .9rem; font-weight: 650; letter-spacing: .06em; text-decoration: none; color: var(--c-ink); }
.nav__lang span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; text-decoration-color: var(--c-terra); }
.nav__lang:hover { color: var(--c-terra-dark); }
.nav__cta { min-height: 52px; }
.nav__phone { display: none; }
.burger { display: none; }

@media (max-width: 1179px) {
  .burger {
    display: inline-flex; align-items: center; gap: .6rem; height: 48px; padding: 0 1.1rem 0 1rem; border: 0; border-radius: var(--pill);
    background: var(--c-olive-900); color: var(--c-white); font: 650 .95rem/1 var(--f-body); cursor: pointer; position: relative; z-index: 2;
  }
  .burger i, .burger i::before, .burger i::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background-color .2s; }
  .burger i::before, .burger i::after { content: ""; position: absolute; left: 0; }
  .burger i::before { top: -6px; } .burger i::after { top: 6px; }
  .burger[aria-expanded="true"] i { background: transparent; }
  .burger[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1.8rem;
    padding: calc(var(--header-h) + var(--header-top) + 2rem) calc(var(--gutter) + var(--edge)) 2rem; background: var(--c-bg); overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
    pointer-events: auto;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: .35rem; }
  .nav__list a { font: 560 clamp(1.8rem, 7vw, 2.4rem)/1.15 var(--f-display); font-variation-settings: "SOFT" 100; padding: .6rem 1.1rem; background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-md); }
  .nav__list a[aria-current="page"] { background: var(--c-sage); border-color: var(--c-sage); }
  .nav__extra { gap: .75rem; }
  .nav__extra .nav__cta { flex: 1; }
  .nav__phone { display: flex; align-items: center; gap: .6rem; margin: 0; font-weight: 600; }
  .nav__phone .ico { color: var(--c-terra-dark); }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { left: 0; right: 0; top: 0; }
  .menu-open .site-header__inner { border-radius: 0; box-shadow: none; border-color: transparent; padding-inline: calc(var(--edge) + 18px) calc(var(--edge) + 12px); height: calc(var(--header-h) + var(--header-top)); padding-top: var(--header-top); }
}
@media (max-width: 1179px) and (min-width: 700px) { .nav { padding-inline: 12vw; } }
@media (max-width: 420px) { .burger span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .burger { padding: 0; width: 48px; justify-content: center; } }

/* ---------- Héros (accueil) ---------- */
.hero { position: relative; margin: var(--top-gap) var(--edge) var(--edge); border-radius: var(--r-xl); overflow: hidden; background: var(--c-olive-900); color: var(--c-white); min-height: calc(100svh - var(--top-gap) - var(--edge)); display: grid; grid-template-rows: 1fr auto; }
.hero__media, .hero__media figure, .hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.hero__media video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__media video.is-playing { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(28,26,22,.5) 0%, rgba(28,26,22,.1) 55%, rgba(28,26,22,0) 75%), linear-gradient(180deg, rgba(28,26,22,.3) 0%, rgba(28,26,22,0) 28%, rgba(28,26,22,.1) 50%, rgba(28,26,22,.7) 100%); }
.hero__content { position: relative; z-index: 2; align-self: end; padding-top: 3rem; padding-bottom: clamp(1.5rem, 4vh, 2.5rem); }
.hero h1 { font-size: var(--fs-hero); color: var(--c-white); max-width: 17ch; margin-bottom: 1.1rem; text-shadow: 0 2px 28px rgba(0,0,0,.25); }
.hero__sub { max-width: 35rem; font-size: var(--fs-lead); color: rgba(255,255,255,.92); margin-bottom: 1.6rem; text-shadow: 0 1px 14px rgba(0,0,0,.3); }
.hero .rating { margin-top: 1.5rem; }
.hero__facts { position: relative; z-index: 2; padding-bottom: clamp(.75rem, 2vw, 1.5rem); }
.facts-card { list-style: none; margin: 0; padding: .6rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; background: var(--c-card); color: var(--c-ink); border-radius: calc(var(--r-lg) + 4px); box-shadow: var(--shadow); }
.facts-card li { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: var(--r-md); }
.facts-card li + li { background: none; }
.facts-card strong { display: block; font: 600 1.12rem/1.15 var(--f-display); font-variation-settings: "SOFT" 100; color: var(--c-ink); }
.facts-card div span { display: block; font-size: .86rem; color: var(--c-muted); line-height: 1.35; }
@media (min-width: 900px) { .facts-card { grid-template-columns: repeat(4, minmax(0, 1fr)); } .facts-card li:not(:first-child) { box-shadow: -1px 0 0 var(--c-line); border-radius: 0; } }
@media (max-width: 559px) { .facts-card .badge { --size: 40px; } .facts-card li { padding: .55rem .5rem; gap: .6rem; } .facts-card strong { font-size: 1rem; } }

/* entrée orchestrée du héros et des bannières de page (seules animations non déclenchées par l'utilisateur) */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > *, .hero__facts, .banner__content > * { animation: rise .9s var(--ease) both; }
  .hero__content > :nth-child(2), .banner__content > :nth-child(2) { animation-delay: .12s; }
  .hero__content > :nth-child(3), .banner__content > :nth-child(3) { animation-delay: .24s; }
  .hero__content > :nth-child(4) { animation-delay: .36s; }
  .hero__facts { animation-delay: .5s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* note voyageurs */
.rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .35rem .75rem; padding: .5rem 1rem .5rem .55rem; border-radius: var(--pill); background: var(--c-card); color: var(--c-ink); font-size: .92rem; line-height: 1.3; }
.rating b { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .5rem; border-radius: var(--pill); background: var(--c-olive-900); color: var(--c-white); font: 600 1.15rem/1 var(--f-display); }
.stars { display: inline-flex; gap: 2px; color: var(--c-terra-dark); }
.stars svg { width: 17px; height: 17px; fill: currentColor; }
.rating__txt { color: var(--c-muted); }
.rating .stars { margin-left: .35rem; }
.rating__txt strong { color: var(--c-ink); }

/* ---------- Bannière des pages intérieures ---------- */
.banner { position: relative; margin: var(--top-gap) var(--edge) var(--edge); border-radius: var(--r-xl); overflow: hidden; min-height: clamp(400px, 58svh, 600px); display: grid; align-items: end; color: var(--c-white); background: var(--c-olive-900); }
.banner--short { min-height: clamp(380px, 50svh, 520px); }
.banner > .media { position: absolute; inset: 0; margin: 0; border-radius: 0; }
.banner > .media img { width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,26,22,.3) 0%, rgba(28,26,22,0) 35%, rgba(28,26,22,.75) 100%); }
.banner__content { position: relative; z-index: 2; padding-top: 3rem; padding-bottom: clamp(2rem, 5vh, 3.5rem); }
.banner h1 { color: var(--c-white); max-width: 17ch; margin-bottom: .7rem; text-shadow: 0 2px 22px rgba(0,0,0,.25); }
.banner p { max-width: 38rem; color: rgba(255,255,255,.92); font-size: var(--fs-lead); margin: 0; text-shadow: 0 1px 14px rgba(0,0,0,.3); }

/* fil d'Ariane */
.crumbs ol { list-style: none; margin: 0 auto; padding: .4rem var(--gutter) 0; max-width: var(--maxw); display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .88rem; color: var(--c-muted); }
.crumbs li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--c-terra); margin-right: .45rem; vertical-align: middle; }
.crumbs a { text-decoration: none; font-weight: 600; color: var(--c-olive); }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--c-ink); }

/* ---------- Médias ---------- */
.media { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--c-sage); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media figcaption { position: absolute; left: .6rem; bottom: .6rem; max-width: calc(100% - 1.2rem); padding: .3rem .65rem; border-radius: 6px; background: rgba(252,251,248,.92); color: var(--c-ink); font-size: .8rem; font-weight: 550; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.media__credit { position: absolute; right: .5rem; bottom: .35rem; z-index: 3; max-width: 60%; font-size: .66rem; line-height: 1.2; color: rgba(255,255,255,.85); text-shadow: 0 1px 3px rgba(0,0,0,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.media:has(figcaption) .media__credit { bottom: auto; top: .4rem; }
.media .zoom { display: block; height: 100%; cursor: zoom-in; }
@media (hover: hover) { .media .zoom img { transition: transform .8s var(--ease); } .media .zoom:hover img { transform: scale(1.035); } }
.ratio-portrait img { aspect-ratio: 4 / 5; }
.ratio-land img { aspect-ratio: 4 / 3; }
.ratio-wide img { aspect-ratio: 16 / 10; }
.ratio-square img { aspect-ratio: 1; }
.arch, .arch img { border-radius: var(--r-lg); }
@media (prefers-reduced-motion: no-preference) {
  .media img { transition: opacity .6s var(--ease); }
  .js .media img[loading="lazy"]:not(.is-loaded) { opacity: 0; }
}

/* ---------- Mises en page ---------- */
.split { display: grid; gap: clamp(1.8rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 1.2fr 1fr; }
  .split--wide-text { grid-template-columns: 1fr 1.15fr; }
  .split--flip > :first-child { order: 2; }
  .split--top { align-items: start; }
}
.duo { position: relative; padding-bottom: 14%; }
.duo .media:nth-child(2) { position: absolute; width: 46%; right: -2%; bottom: 0; border: 8px solid var(--c-bg); border-radius: calc(var(--r-lg) + 8px); box-shadow: var(--shadow); }
.panel--sage .duo .media:nth-child(2) { border-color: var(--c-sage); }
.panel--soft .duo .media:nth-child(2) { border-color: var(--c-sage-soft); }
@media (max-width: 699px) { .duo { padding-bottom: 0; } .duo .media:nth-child(2) { display: none; } }

.quote-hand { font: 500 clamp(1.3rem, 1.1rem + .8vw, 1.75rem)/1.35 var(--f-display); font-variation-settings: "SOFT" 100; color: var(--c-olive); margin: 1.4rem 0; padding-left: 1.1rem; box-shadow: inset 3px 0 0 var(--c-ochre); }

/* ---------- Avis ---------- */
.reviews-band .head { margin-bottom: 1.6rem; }
.reviews { position: relative; }
.reviews__track { list-style: none; margin: 0; padding: .25rem 0 1.2rem; display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .reviews__track { grid-auto-columns: calc(50% - .5rem); } }
@media (min-width: 1100px) { .reviews__track { grid-auto-columns: calc(33.333% - .67rem); } }
.review { scroll-snap-align: start; }
.review figure { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 1.2rem; padding: clamp(1.4rem, 2.6vw, 2rem); background: var(--c-card); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { font-size: 1.02rem; line-height: 1.65; margin: 0; }
.review figcaption { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .8rem; font-size: .86rem; color: var(--c-muted); }
.review__avatar { grid-row: span 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--c-sage); color: var(--c-olive-900); font: 600 1.2rem/1 var(--f-display); }
.review figcaption strong { color: var(--c-ink); font-size: 1rem; }
.review .stars { margin-bottom: -.4rem; }
.review__tr { font-size: .76rem; font-style: italic; }
.reviews__nav { display: flex; gap: .5rem; justify-content: flex-end; }
.round-btn { width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--c-olive-900); color: var(--c-white); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { background: var(--c-terra); transform: translateY(-2px); }

/* ---------- Bento « pourquoi le Bastidon » ---------- */
.bento { display: grid; gap: clamp(.6rem, 1vw, 1rem); }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(1.3rem, 2.4vw, 2rem); display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem; min-height: 260px; background: var(--c-sage); }
.tile h3 { margin: 0; font-size: clamp(1.4rem, 1.2rem + .8vw, 2rem); }
.tile p { margin: 0; max-width: 30rem; }
.tile .badge { margin-bottom: auto; }
.tile--img { color: var(--c-white); background: var(--c-olive-900); }
.tile--img > .media { position: absolute; inset: 0; border-radius: 0; }
.tile--img > .media img { height: 100%; }
.tile--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,26,22,0) 35%, rgba(28,26,22,.78) 100%); }
.tile--img > :not(.media) { position: relative; z-index: 2; }
.tile--img h3 { color: var(--c-white); }
.tile--img p { color: rgba(255,255,255,.92); }
.tile--img .badge { background: var(--c-card); }
.tile--olive { background: var(--c-olive-900); color: var(--c-on-dark); }
.tile--olive h3 { color: var(--c-white); }
.tile--olive .badge { background: var(--c-terra); color: var(--c-white); --ico-accent: var(--c-ochre); }
.tile--terra { background: var(--c-terra-soft); }
.tile--wide { display: grid; gap: 1.4rem; padding: clamp(.75rem, 1.2vw, 1rem); background: var(--c-card); box-shadow: var(--shadow-soft); }
.tile--wide > .media { min-height: 240px; border-radius: calc(var(--r-lg) - 6px); }
.tile--wide__body { padding: .5rem clamp(.5rem, 1.5vw, 1.5rem) 1rem; display: grid; gap: .8rem; align-content: center; }
.tile--wide__body .badge { margin: 0; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile--a, .tile--wide { grid-column: 1 / -1; } .tile--wide { grid-template-columns: 1fr 1.1fr; } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(250px, auto); }
  .tile--a { grid-column: 1 / 7; grid-row: 1 / 3; min-height: 560px; }
  .tile--b { grid-column: 7 / 13; }
  .tile--c { grid-column: 7 / 10; }
  .tile--d { grid-column: 10 / 13; }
  .tile--wide { grid-column: 1 / 13; grid-template-columns: 1fr 1.25fr; }
  .tile--c h3 { font-size: 1.45rem; }
}

/* ---------- Mosaïque photos (extérieurs) ---------- */
.mosaic { display: grid; gap: clamp(.5rem, .9vw, .9rem); grid-template-columns: repeat(2, 1fr); }
.mosaic .media img { aspect-ratio: 1; height: 100%; }
.mosaic .media:first-child { grid-column: 1 / -1; }
.mosaic .media:first-child img { aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .mosaic .media:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
  .mosaic .media:first-child img { aspect-ratio: auto; }
  .mosaic .media img { aspect-ratio: 4 / 3.4; }
}
.mosaic--3 { grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .mosaic--3 { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; } .mosaic--3 .media:first-child { grid-column: 1; grid-row: 1 / 3; } }

/* ---------- Grille des pièces (accueil) ---------- */
.rooms-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(.7rem, 1.2vw, 1.1rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .rooms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.room-tile { display: block; height: 100%; text-decoration: none; background: var(--c-card); border-radius: var(--r-lg); padding: .5rem .5rem .9rem; box-shadow: var(--shadow-soft); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.room-tile .media { border-radius: calc(var(--r-lg) - 6px); }
.room-tile .media img { aspect-ratio: 4 / 3; }
.room-tile h3 { font-size: clamp(1.08rem, 1rem + .4vw, 1.35rem); margin: .85rem .6rem .15rem; }
.room-tile p { margin: 0 .6rem; font-size: .9rem; color: var(--c-muted); line-height: 1.4; }

/* ---------- Fiche « en bref » ---------- */
.factsheet { display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
@media (min-width: 900px) { .factsheet { grid-template-columns: .8fr 1.4fr; } }
.factsheet__media .media img { aspect-ratio: 4 / 5; }
.factsheet dl { margin: 0; display: grid; gap: .6rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .factsheet dl { grid-template-columns: 1fr 1fr; } }
.factsheet dl > div { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .85rem; padding: .85rem 1rem; background: var(--c-card); border-radius: var(--r-md); }
.factsheet dt { display: contents; }
.factsheet dt > span:last-child { grid-column: 2; align-self: end; font-size: .82rem; font-weight: 600; color: var(--c-muted); letter-spacing: .01em; }
.factsheet dd { margin: 0; grid-column: 2; align-self: start; font-weight: 600; line-height: 1.35; color: var(--c-ink); }
.factsheet .badge { grid-row: span 2; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; }
.faq__item { background: var(--c-card); border-radius: var(--r-md); border: 1px solid var(--c-line); transition: border-color .2s; }
.faq__item[open] { border-color: var(--c-olive); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 1.1rem 1.05rem 1.3rem; font: 600 1.1rem/1.35 var(--f-display); font-variation-settings: "SOFT" 100; color: var(--c-ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--c-sage); transition: background-color .2s, transform .3s var(--ease); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 11px; top: 17px; width: 14px; height: 2px; border-radius: 2px; background: var(--c-olive-900); }
.faq__item summary i::after { transform: rotate(90deg); transition: transform .25s var(--ease); }
.faq__item[open] summary i { background: var(--c-terra); }
.faq__item[open] summary i::before, .faq__item[open] summary i::after { background: var(--c-white); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item summary:hover { color: var(--c-terra-dark); }
.faq__a { padding: 0 1.3rem 1.2rem; max-width: 46rem; color: var(--c-ink); }
.faq__a p { margin: 0; }
.contact-card { display: grid; gap: .8rem; margin-top: 1.6rem; padding: 1.4rem; border-radius: var(--r-lg); background: var(--c-card); border: 1px solid var(--c-line); }
.contact-card p { margin: 0; }

/* ---------- Panorama ---------- */
.panorama { position: relative; margin: var(--edge); border-radius: var(--r-xl); overflow: hidden; min-height: clamp(360px, 62svh, 640px); display: grid; place-items: center; text-align: center; color: var(--c-white); background: var(--c-olive-900); }
.panorama > .media { position: absolute; inset: 0; border-radius: 0; }
.panorama > .media img { width: 100%; height: 100%; object-fit: cover; }
.panorama::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(28,26,22,.5), rgba(28,26,22,.12) 72%); }
.panorama__quote { position: relative; z-index: 2; max-width: 20ch; font: 560 clamp(1.6rem, 1.2rem + 1.8vw, 2.7rem)/1.15 var(--f-display); font-variation-settings: "SOFT" 100; margin: 0 auto; padding-inline: var(--gutter); text-shadow: 0 2px 24px rgba(0,0,0,.3); text-wrap: balance; }
.panorama__quote small { display: block; margin-top: 1rem; font: 600 .95rem/1.4 var(--f-body); opacity: .9; }

/* ---------- CTA final ---------- */
.cta-band { position: relative; margin: var(--edge); border-radius: var(--r-xl); overflow: hidden; text-align: center; color: var(--c-white); padding-block: clamp(4rem, 9vw, 7rem); background: var(--c-olive-900); }
.cta-band > .media { position: absolute; inset: 0; margin: 0; border-radius: 0; }
.cta-band > .media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(28,26,22,.58); }
.cta-band .container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta-band h2 { color: var(--c-white); max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 36rem; margin: 0 auto 1.8rem; color: rgba(255,255,255,.92); font-size: var(--fs-lead); }
.cta-band .btn-row { justify-content: center; }
.cta-band .badge { margin-bottom: 1.1rem; background: var(--c-card); }

/* ---------- Page Le Bastidon ---------- */
.video-frame { position: relative; background: var(--c-olive-900); aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.video-frame > .media { position: absolute; inset: 0; border-radius: 0; }
.video-frame video, .video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-frame__play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; border: 0; background: rgba(28,26,22,.18); color: var(--c-white); cursor: pointer; transition: background-color .25s; }
.video-frame__play span { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--c-terra); box-shadow: 0 0 0 10px rgba(255,255,255,.22); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.video-frame__play svg { width: 28px; height: 28px; fill: currentColor; margin-left: 5px; }
.video-frame__play:hover span { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(255,255,255,.28); }
.video-frame__play em { position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .9rem; border-radius: var(--pill); background: rgba(252,251,248,.94); color: var(--c-ink); font: 600 .88rem/1 var(--f-body); font-style: normal; }
.video-frame.is-playing .video-frame__play, .video-frame.is-playing .media { display: none; }

.room-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(.8rem, 1.4vw, 1.2rem); counter-reset: room; }
@media (min-width: 760px) { .room-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .room-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.room { display: flex; flex-direction: column; background: var(--c-card); border-radius: var(--r-lg); padding: .55rem; box-shadow: var(--shadow-soft); }
.room .media img { aspect-ratio: 4 / 3; }
.room .media { border-radius: calc(var(--r-lg) - 6px); }
.room__body { padding: 1rem .75rem .6rem; display: grid; gap: .55rem; flex: 1; align-content: start; }
.room__title { display: flex; align-items: center; gap: .7rem; }
.room__title h3 { margin: 0; }
.room__n { counter-increment: room; display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--c-terra); color: var(--c-white); font: 650 .95rem/1 var(--f-body); }
.room__n::before { content: counter(room); }
.room p { margin: 0; color: var(--c-ink); font-size: .98rem; }
.room .chips { margin-top: .2rem; }

.sleep { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
@media (min-width: 760px) { .sleep { grid-template-columns: repeat(3, 1fr); } }
.sleep li { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; background: var(--c-card); border-radius: var(--r-md); }
.sleep h3 { font-size: 1.15rem; margin: 0 0 .15rem; }
.sleep p { margin: 0; font-size: .92rem; color: var(--c-muted); line-height: 1.4; }
.note { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-md); background: var(--c-terra-soft); font-size: .95rem; }
.note .ico { color: var(--c-terra-dark); margin-top: .1rem; }

.amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .55rem; }
.amenities li { display: flex; gap: .85rem; align-items: center; padding: .7rem .9rem .7rem .7rem; background: var(--c-card); border-radius: var(--r-md); }
.amenities b { display: block; font-weight: 650; color: var(--c-ink); line-height: 1.3; }
.amenities small { color: var(--c-muted); font-size: .85rem; line-height: 1.4; display: block; }
.equip { display: grid; gap: .55rem; }
.equip > .media img { aspect-ratio: 16 / 10; }
@media (min-width: 1000px) {
  .equip { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: .55rem; align-items: stretch; }
  .equip > .media img { aspect-ratio: auto; height: 100%; position: absolute; inset: 0; }
  .equip .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Galerie + filtres */
.filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.filters button { min-height: 46px; padding: .55rem 1.15rem; border: 1.5px solid var(--c-line-strong); border-radius: var(--pill); background: var(--c-card); color: var(--c-ink); font: 600 .95rem/1 var(--f-body); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--c-olive-900); }
.filters button[aria-pressed="true"] { background: var(--c-olive-900); color: var(--c-white); border-color: var(--c-olive-900); }
.gallery { columns: 2 180px; column-gap: .7rem; }
@media (min-width: 1025px) { .gallery { columns: 3; column-gap: 1rem; } }
.gallery > div { break-inside: avoid; margin-bottom: .7rem; }
@media (min-width: 1025px) { .gallery > div { margin-bottom: 1rem; } }
.gallery .media { border-radius: var(--r-md); }
.gallery .media figcaption { opacity: 0; transition: opacity .25s; }
.gallery .media:hover figcaption, .gallery .media:focus-within figcaption { opacity: 1; }
@media (hover: none) { .gallery .media figcaption { display: none; } }

/* Visionneuse : l'image tient toujours dans l'écran */
.lightbox { position: fixed; inset: 0; z-index: 400; overscroll-behavior: contain; background: rgba(22,26,16,.96); display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 4.25rem .75rem .5rem; color: var(--c-white); }
.lightbox[hidden] { display: none; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; min-width: 0; overflow: hidden; }
.lightbox__stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-md); }
.lightbox__cap { text-align: center; font-size: .92rem; color: #DCDDCB; padding: .8rem 3.5rem; margin: 0; min-height: 2.8rem; }
.lightbox button { position: absolute; z-index: 2; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(252,251,248,.14); color: var(--c-white); display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.lightbox button:hover { background: var(--c-terra); }
.lightbox button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lightbox__close { top: .75rem; right: .75rem; }
.lightbox__prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: .75rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 1.35rem; left: 1.25rem; font-size: .85rem; font-weight: 600; letter-spacing: .06em; }
@media (min-width: 900px) { .lightbox { padding: 4.5rem 5.5rem .75rem; } .lightbox__prev { left: 1.25rem; } .lightbox__next { right: 1.25rem; } }
@media (max-width: 899px) { .lightbox__prev, .lightbox__next { top: auto; bottom: .5rem; transform: none; } .lightbox { padding-bottom: 4rem; } .lightbox__cap { padding-inline: 1rem; } }

/* ---------- Page Le Domaine ---------- */
.stat { display: flex; align-items: flex-end; gap: 1rem; margin-bottom: 1.4rem; }
.stat__n { font: 600 clamp(5rem, 3.5rem + 6vw, 8.5rem)/.9 var(--f-display); font-variation-settings: "SOFT" 100; color: var(--c-terra-dark); letter-spacing: -.03em; }
.stat__l { font: 560 clamp(1.3rem, 1.1rem + .9vw, 1.9rem)/1.25 var(--f-display); font-variation-settings: "SOFT" 100; color: var(--c-ink); padding-bottom: .5rem; max-width: 12ch; }
.day { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(.8rem, 1.4vw, 1.2rem); }
@media (min-width: 900px) { .day { grid-template-columns: repeat(3, 1fr); } }
.day li { background: var(--c-card); border-radius: var(--r-lg); padding: .55rem .55rem 1.2rem; box-shadow: var(--shadow-soft); }
.day .media { border-radius: calc(var(--r-lg) - 6px); }
.day .media img { aspect-ratio: 4 / 3; }
.day .day__time { display: flex; align-items: center; gap: .45rem; margin: 1.1rem .7rem .35rem; padding: 0; font-weight: 650; font-size: .88rem; letter-spacing: .02em; color: var(--c-terra-dark); }
.day__time .ico { width: 18px; height: 18px; color: var(--c-terra-dark); --ico-accent: var(--c-terra); }
.day h3 { margin: 0 .7rem .3rem; }
.day p { margin: 0 .7rem; color: var(--c-muted); font-size: .97rem; }

/* ---------- Page Le Luberon ---------- */
.places { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
@media (min-width: 700px) { .places { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .places { grid-template-columns: repeat(3, 1fr); } }
.place { background: var(--c-card); border-radius: var(--r-md); padding: 1.2rem 1.3rem 1.3rem; transition: transform .2s var(--ease), box-shadow .2s; }
.place:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.place header { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-bottom: .5rem; }
.place h3 { font-size: 1.3rem; margin: 0; }
.place .dist { flex: none; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem .3rem .45rem; border-radius: var(--pill); background: var(--c-sage); font-size: .85rem; font-weight: 650; color: var(--c-ink); white-space: nowrap; }
.place .dist .ico { width: 18px; height: 18px; --ico-accent: var(--c-terra); }
.place p { margin: 0; color: var(--c-ink); font-size: .97rem; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.features li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.features h3 { font-size: 1.25rem; margin: .3rem 0 .25rem; }
.features p { margin: 0; color: var(--c-ink); }
.seasons { list-style: none; margin: 1.2rem 0 1.4rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.seasons li { padding: .85rem 1rem; border-radius: var(--r-md); background: var(--c-card); font-size: .94rem; line-height: 1.45; }
.seasons b { display: block; font: 600 1.1rem/1.2 var(--f-display); font-variation-settings: "SOFT" 100; color: var(--c-ink); margin-bottom: .2rem; }

/* Venir au Bastidon */
.access { display: grid; gap: clamp(1.6rem, 3vw, 3rem); align-items: center; }
@media (min-width: 1000px) { .access { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); } }
.routes { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .routes { grid-template-columns: 1fr 1fr; } }
.route { display: grid; gap: .5rem; padding: 1.2rem 1.25rem 1.3rem; border-radius: var(--r-lg); background: var(--c-olive-700); }
.route__top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.route__time { font: 600 clamp(1.7rem, 1.4rem + 1vw, 2.2rem)/1 var(--f-display); font-variation-settings: "SOFT" 100; color: var(--c-white); }
.route h3 { font-family: var(--f-body); font-size: 1.02rem; font-weight: 700; letter-spacing: 0; margin: .2rem 0 0; color: var(--c-ochre) !important; }
.route p { margin: 0; font-size: .93rem; color: var(--c-on-dark-muted); line-height: 1.45; }
.route .badge { background: var(--c-olive-900); }

/* ---------- Page Réservation ---------- */
.booking { display: grid; gap: clamp(1.8rem, 3.5vw, 3rem); align-items: start; }
.booking > * { min-width: 0; }
@media (min-width: 1025px) { .booking { grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); } .booking__aside { position: sticky; top: calc(var(--header-h) + var(--header-top) + 1.5rem); } }
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem; padding: .3rem; background: var(--c-sage); border-radius: var(--pill); margin-bottom: 1.6rem; }
.tabs button { min-height: 50px; border: 0; border-radius: var(--pill); background: transparent; color: var(--c-ink); font: 650 1rem/1.2 var(--f-body); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; padding: .5rem .8rem; }
@media (max-width: 359px) { .tabs button { font-size: .92rem; padding: .5rem .5rem; } }
.tabs button[aria-selected="true"] { background: var(--c-card); box-shadow: var(--shadow-soft); }
.tabs button:not([aria-selected="true"]):hover { background: rgba(252,251,248,.5); }

.cal { background: var(--c-card); border-radius: var(--r-lg); padding: clamp(1rem, 2.5vw, 1.8rem); margin-bottom: 1.6rem; box-shadow: var(--shadow-soft); }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cal__head h2 { margin: 0; font-size: 1.4rem; }
.cal__head .btn-row { flex-direction: row; flex-wrap: nowrap; flex-shrink: 0; width: auto; }
.cal__head .btn-row .round-btn { width: 44px; height: 44px; }
.cal__months { display: grid; gap: 1.8rem; }
@media (min-width: 700px) { .cal__months { grid-template-columns: 1fr 1fr; } }
.cal__month h4 { text-align: center; font-size: 1.2rem; margin: 0 0 .8rem; text-transform: capitalize; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal__months > * { min-width: 0; }
@media (max-width: 374px) { .cal { padding: .75rem .6rem; } .cal__grid { gap: 2px; } .cal__day { min-height: 34px; font-size: .86rem; } }
.cal__dow { text-align: center; font-size: .75rem; font-weight: 700; color: var(--c-muted); padding: .3rem 0; text-transform: uppercase; }
.cal__day { position: relative; aspect-ratio: 1; min-height: 38px; border: 0; background: transparent; color: var(--c-ink); font: 600 .92rem/1 var(--f-body); cursor: pointer; border-radius: 10px; transition: background-color .12s, color .12s;  font-variant-numeric: tabular-nums; }
.cal__day:hover:not(:disabled) { background: var(--c-sage); }
.cal__day:disabled { cursor: not-allowed; }
.cal__day.is-past { color: #B9B2A6; font-weight: 400; }
.cal__day.is-booked { color: #A0988B; font-weight: 400; background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(46,42,36,.08) 4px 5px); text-decoration: line-through; text-decoration-color: rgba(46,42,36,.35); }
.cal__day.is-checkout-only { background: linear-gradient(135deg, transparent 50%, rgba(46,42,36,.1) 50%); }
.cal__day.is-free::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--c-olive); }
.cal__day.in-range { background: var(--c-terra-soft); border-radius: 0; }
.cal__day.is-start, .cal__day.is-end { background: var(--c-terra); color: var(--c-white); border-radius: 10px; }
.cal__day.is-start::after, .cal__day.is-end::after { display: none; }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--c-olive); }
.cal__legend { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--c-line); font-size: .85rem; color: var(--c-muted); }
.cal__legend span { display: inline-flex; align-items: center; gap: .5rem; }
.cal__legend i { width: 15px; height: 15px; border-radius: 5px; display: inline-block; }
.lg-free { background: var(--c-card); border: 1.5px solid var(--c-olive); }
.lg-booked { background: repeating-linear-gradient(135deg, var(--c-card) 0 3px, rgba(46,42,36,.25) 3px 4px); border: 1px solid var(--c-line); }
.lg-sel { background: var(--c-terra); }
.badge-free { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: var(--pill); background: var(--c-olive); color: var(--c-white); font-size: .8rem; font-weight: 650; }
.cal__status { min-height: 1.6em; margin: 1rem 0 0; font-size: .95rem; }
.cal__status.is-error { color: #9A2F1F; }
.cal__loading { display: grid; place-items: center; min-height: 280px; color: var(--c-muted); font-size: .95rem; }

/* Formulaires */
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } .form__row--3 { grid-template-columns: repeat(3, 1fr); } }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-size: .92rem; font-weight: 650; color: var(--c-ink); }
.field .opt { font-weight: 400; color: var(--c-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1.5px solid var(--c-line-strong); border-radius: var(--r-sm);
  background: var(--c-white); color: var(--c-ink); font: 400 1rem/1.4 var(--f-body); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-terra); box-shadow: 0 0 0 4px rgba(156,107,59,.16); }
.field input[readonly] { background: var(--c-bg); cursor: pointer; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #9A2F1F; }
.field__err { font-size: .86rem; color: #9A2F1F; min-height: 0; }
.field__hint { font-size: .88rem; color: var(--c-muted); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem; }
.radios label { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem; border: 1.5px solid var(--c-line-strong); border-radius: var(--pill); background: var(--c-white); font-size: .95rem; font-weight: 550; cursor: pointer; }
.radios input { width: 18px; height: 18px; min-height: 0; accent-color: var(--c-terra); }
.radios label:has(input:checked) { border-color: var(--c-terra); background: var(--c-terra-soft); }
.stepper { display: grid; grid-template-columns: 52px 1fr 52px; border: 1.5px solid var(--c-line-strong); border-radius: var(--pill); background: var(--c-white); overflow: hidden; }
.stepper button { border: 0; background: transparent; font-size: 1.35rem; color: var(--c-ink); cursor: pointer; min-height: 50px; }
.stepper button:hover:not(:disabled) { background: var(--c-sage); }
.stepper button:disabled { color: #C2BBB2; cursor: not-allowed; }
.stepper input { border: 0 !important; text-align: center; min-height: 50px; box-shadow: none !important; -moz-appearance: textfield; background: transparent; font-weight: 650; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; line-height: 1.55; font-weight: 400 !important; }
.check input { flex: none; width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--c-terra); }
.check a { color: var(--c-terra-dark); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__msg { padding: 1rem 1.2rem; border-radius: var(--r-md); font-size: .98rem; }
.form__msg.is-success { background: var(--c-sage); color: var(--c-olive-900); border: 1px solid rgba(74,93,70,.35); }
.form__msg.is-error { background: #F6E1D8; color: #7A2416; border: 1px solid #DDB1A6; }
.form .btn[type="submit"] { width: 100%; min-height: 58px; font-size: 1.05rem; }
@media (min-width: 640px) { .form .btn[type="submit"] { width: auto; } }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.summary { background: var(--c-olive-900); color: var(--c-on-dark); padding: clamp(1.5rem, 3vw, 2.1rem); border-radius: var(--r-lg); }
.summary h2 { color: var(--c-white); font-size: 1.6rem; margin-bottom: 1rem; }
.summary dl { margin: 0; }
.summary dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .95rem; }
.summary dt { color: var(--c-on-dark-muted); }
.summary dd { font-variant-numeric: tabular-nums; margin: 0; text-align: right; color: var(--c-white); font-weight: 600; }
.summary .summary__total { border-bottom: 0; padding-top: 1rem; font-size: 1.05rem; align-items: baseline; }
.summary .summary__total dd { font: 600 1.9rem/1 var(--f-display); color: var(--c-ochre); }
.summary__note { font-size: .85rem; color: var(--c-on-dark-muted); margin: 1rem 0 0; }
.summary__empty { color: var(--c-on-dark-muted); font-size: .98rem; margin: 0; }
.human { margin-top: 1rem; padding: 1.4rem; border-radius: var(--r-lg); background: var(--c-sage); }
.human p { margin: 0; }
.human .badge { margin-bottom: .8rem; }
.human__title { font: 600 1.3rem/1.2 var(--f-display); font-variation-settings: "SOFT" 100; color: var(--c-ink); margin-bottom: .6rem !important; }
.human__tel { display: flex; align-items: center; gap: .7rem; margin-top: 1rem !important; padding-top: 1rem; border-top: 1px solid var(--c-line-strong); font-weight: 650; }
.human__tel .ico { color: var(--c-terra-dark); }
.human__tel a { color: var(--c-terra-dark); }

.info-grid { display: grid; gap: .7rem; }
@media (min-width: 700px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .info-grid { grid-template-columns: repeat(4, 1fr); } }
.info-grid > div { background: var(--c-card); padding: 1.4rem; border-radius: var(--r-lg); }
.info-grid .badge { margin-bottom: .9rem; }
.info-grid h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.info-grid p, .info-grid li { font-size: .96rem; color: var(--c-ink); }
.info-grid ul { margin: 0; padding-left: 1rem; }
.info-grid p:last-child { margin: 0; }

/* ---------- Pages légales ---------- */
.legal-crumbs { padding-top: calc(var(--top-gap) + .4rem); }
.legal { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: var(--section); }
.legal h1 { margin-bottom: .6rem; }
.legal h2 { font-size: 1.6rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--c-line); }
.legal h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.legal p, .legal li { color: var(--c-ink); }
.legal .updated { color: var(--c-muted); font-size: .92rem; }
.legal address { font-style: normal; }
.legal a { color: var(--c-terra-dark); }

/* ---------- 404 ---------- */
.notfound { position: relative; margin: var(--top-gap) var(--edge) var(--edge); border-radius: var(--r-xl); overflow: hidden; min-height: calc(100svh - var(--top-gap) - var(--edge)); display: grid; place-items: center; text-align: center; color: var(--c-white); padding: 3rem var(--gutter); background: var(--c-olive-900); }
.notfound > .media, .notfound__bg { position: absolute; inset: 0; margin: 0; border-radius: 0; }
.notfound > .media img { width: 100%; height: 100%; object-fit: cover; }
.notfound::after { content: ""; position: absolute; inset: 0; background: rgba(28,26,22,.62); }
.notfound__box { position: relative; z-index: 2; max-width: 36rem; }
.notfound h1 { color: var(--c-white); }
.notfound p { color: rgba(255,255,255,.92); }
.notfound .notfound__en { font-size: .95rem; opacity: .85; }
.notfound .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Pied de page ---------- */
.site-footer { margin: var(--edge); margin-top: 0; border-radius: var(--r-xl); background: var(--c-olive-900); color: var(--c-on-dark-muted); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .97rem; position: relative; overflow: hidden; }
.site-footer a { text-decoration: none; color: var(--c-on-dark); }
.site-footer a:hover { color: var(--c-ochre); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.2rem; padding-bottom: 2.6rem; position: relative; z-index: 1; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer__logo { display: block; width: min(300px, 100%); margin-bottom: 1.2rem; }
.site-footer__brand p { max-width: 24rem; }
.site-footer__cta { margin-top: 1.2rem; }
.site-footer__cta.btn { color: var(--c-white); text-decoration: none !important; }
.site-footer__h { font: 600 1.15rem/1.2 var(--f-display); font-variation-settings: "SOFT" 100; color: var(--c-white); margin: 0 0 1rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
@media (pointer: coarse) { .site-footer ul { gap: 0; } .site-footer li a { display: inline-block; padding: .55rem 0; } }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.3rem; font-size: .88rem; position: relative; z-index: 1; }
.site-footer__bottom p { margin: 0; }
main { display: block; }
main > :last-child { margin-bottom: var(--edge); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .site-footer, .hero__media, .reviews__nav, .cta-band { display: none !important; }
  body { background: #fff; }
}
@media (max-width: 559px) { .hero .rating { display: none; } }
/* crédits photo des grandes images : en haut à droite, sous l'en-tête */
.banner > .media .media__credit, .hero__media .media__credit { top: .5rem; bottom: auto; right: .8rem; }
.legal-crumbs .crumbs ol { max-width: 880px; }
