/* ==========================================================================
   Le Nid de Châtel — feuille de style unique
   1. Variables & reset      5. Couchages
   2. Éléments communs       6. Galerie & lightbox
   3. En-tête & navigation   7. Équipements, station, tarifs
   4. Hero & présentation    8. Contact, pied de page, responsive
   ========================================================================== */

/* ---------- 1. Variables & reset ---------------------------------------- */
:root {
  --wood:      #b07a4b;
  --wood-dark: #8a5c34;
  --mustard:   #f0a81e;
  --mustard-d: #d18f10;
  --red:       #b23a32;
  --cream:     #fbf7f1;
  --sand:      #f3ece1;
  --ink:       #1f1b18;
  --ink-soft:  #57504a;
  --line:      rgba(31, 27, 24, .12);

  --font-title: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shell: 1200px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(31, 27, 24, .07);
  --shadow-md: 0 14px 40px rgba(31, 27, 24, .12);
  --shadow-lg: 0 30px 70px rgba(31, 27, 24, .22);
  --header-h: 76px;
}

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

/* L'attribut `hidden` doit l'emporter : plusieurs composants déclarent
   display:flex ou grid, ce qui écraserait la règle par défaut du navigateur. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

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

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }

a { color: inherit; }

button { font: inherit; cursor: pointer; }

svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--cream); padding: .8rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 4px; }

/* ---------- 2. Éléments communs ----------------------------------------- */
.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-alt { background: var(--sand); }

.section-head { max-width: 46rem; margin-bottom: clamp(1.4rem, 2.4vw, 2rem); }
/* Un sur-titre seul n'a pas besoin d'autant d'air sous lui qu'un bloc titré. */
.section-head > .eyebrow:only-child { margin-bottom: 0; }

.eyebrow {
  font-size: .78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .18em; color: var(--wood-dark); margin-bottom: .9rem;
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--mustard); border-radius: 2px; }
.eyebrow.light { color: rgba(255, 255, 255, .88); }

.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 44rem; }

.center { text-align: center; }

.btn {
  --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd); border-radius: 999px;
  font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { --btn-bg: var(--mustard); --btn-fg: var(--ink); --btn-bd: var(--mustard); }
.btn-primary:hover { --btn-bg: var(--mustard-d); --btn-bd: var(--mustard-d); }

.btn-ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .55); }
.btn-ghost:hover { --btn-bg: rgba(255, 255, 255, .14); --btn-bd: #fff; }

.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn-outline:hover { --btn-bg: #fff; --btn-bd: var(--wood); }

.btn-sm { padding: .62rem 1.15rem; font-size: .88rem; }
.btn-block { width: 100%; }

.pill {
  display: inline-block; padding: .3rem .8rem; border-radius: 999px;
  background: var(--mustard); color: var(--ink);
  font-size: .76rem; font-weight: 600; letter-spacing: .02em;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 3. En-tête & navigation -------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-stuck {
  background: rgba(251, 247, 241, .93);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}

.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; margin-right: auto; }
.site-header.is-stuck .brand { color: var(--ink); }

.brand-mark { width: 34px; height: 34px; stroke: none; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--font-title); font-size: 1.08rem; font-weight: 600; }
.brand-text em { font-style: normal; font-size: .72rem; opacity: .72; white-space: nowrap; }
/* En écran intermédiaire la nav a besoin de toute la place disponible. */
@media (max-width: 1150px) { .brand-text em { display: none; } }

.site-nav { display: flex; gap: 1.5rem; }
.nav-contact { display: none; } /* visible seulement dans le menu mobile */
.site-nav a {
  position: relative; text-decoration: none; font-size: .93rem; font-weight: 500;
  color: rgba(255, 255, 255, .92); padding: .3rem 0;
}
.site-header.is-stuck .site-nav a { color: var(--ink-soft); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--mustard); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.site-header.is-stuck .site-nav a.is-current { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: .8rem; }

.lang-switch {
  display: flex; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 999px; overflow: hidden;
}
.site-header.is-stuck .lang-switch { border-color: var(--line); }
.lang-switch button {
  background: none; border: 0; padding: .4rem .7rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255, 255, 255, .85);
}
.site-header.is-stuck .lang-switch button { color: var(--ink-soft); }
.lang-switch button.is-active { background: var(--mustard); color: var(--ink); }

.burger { display: none; background: none; border: 0; padding: .4rem; }
.burger span {
  display: block; width: 24px; height: 2px; margin: 5px 0;
  background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease;
}
.site-header.is-stuck .burger span { background: var(--ink); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 4. Hero & présentation --------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 16, 13, .62) 0%, rgba(20, 16, 13, .28) 38%, rgba(20, 16, 13, .78) 100%),
    linear-gradient(90deg, rgba(20, 16, 13, .5) 0%, transparent 62%);
}
.hero-inner { position: relative; color: #fff; max-width: 40rem; }
.hero-inner h1 { color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-sub { font-size: 1.14rem; color: rgba(255, 255, 255, .92); max-width: 34rem; }

.hero-badges {
  list-style: none; display: flex; flex-wrap: wrap; gap: .6rem;
  margin: 1.8rem 0; padding: 0;
}
.hero-badges li {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px);
  font-size: .87rem; font-weight: 500; color: #fff;
}
.hero-badges svg { width: 17px; height: 17px; stroke: var(--mustard); flex: none; }

.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255, 255, 255, .72); text-decoration: none;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .2em;
}
.hero-scroll svg { width: 18px; height: 18px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-text p { color: var(--ink-soft); }

.stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin: 2.4rem 0 0; padding: 0; }
.stats li { display: flex; flex-direction: column; gap: .15rem; border-left: 3px solid var(--mustard); padding-left: .95rem; }
.stats strong { font-family: var(--font-title); font-size: 2.1rem; font-weight: 600; line-height: 1; }
.stats span { font-size: .84rem; color: var(--ink-soft); }

.about-media { display: grid; gap: 1.1rem; }
.about-media figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-tall img { aspect-ratio: 5 / 4; }
.media-wide { margin-left: clamp(1rem, 4vw, 3rem) !important; }

/* ---------- 5. Couchages -------------------------------------------------- */
.sleep-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.sleep-card {
  background: var(--cream); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.sleep-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.sleep-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sleep-body { padding: 1.4rem 1.5rem 1.7rem; }
.sleep-body h3 { margin: .8rem 0 .25rem; }
.sleep-beds { font-size: .85rem; font-weight: 600; color: var(--wood-dark); margin-bottom: .7rem; }
.sleep-body p:last-child { font-size: .93rem; color: var(--ink-soft); margin: 0; }

.sleep-total {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  margin: 2.5rem 0 0; font-family: var(--font-title); font-size: 1.25rem; font-weight: 600;
}
.sleep-total svg { width: 22px; height: 22px; stroke: var(--mustard); stroke-width: 2.6; }

/* ---------- 6. Galerie & lightbox ---------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.filter {
  padding: .5rem 1.1rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent;
  font-size: .87rem; font-weight: 500; color: var(--ink-soft);
  transition: all .18s ease;
}
.filter:hover { border-color: var(--wood); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.gallery-item {
  position: relative; margin: 0; grid-column: span 4;
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  background: var(--sand); box-shadow: var(--shadow-sm);
}
.gallery-item.is-wide { grid-column: span 6; }
.gallery-grid.is-filtered .gallery-item.is-wide { grid-column: span 4; }
.gallery-item img {
  width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20, 16, 13, .35), transparent 45%);
  opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item[hidden] { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14, 11, 9, .94);
  padding: clamp(1rem, 4vw, 3rem);
  animation: fade .25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.lb-stage { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; gap: .9rem; }
.lb-stage img {
  max-width: 100%; max-height: calc(100svh - 10rem);
  width: auto; margin-inline: auto; object-fit: contain;
  border-radius: 10px; box-shadow: var(--shadow-lg);
}
.lb-stage figcaption {
  display: flex; align-items: center; justify-content: center; gap: .9rem; flex-wrap: wrap;
  color: rgba(255, 255, 255, .85); font-size: .9rem; text-align: center;
}
.lb-count { color: rgba(255, 255, 255, .5); font-variant-numeric: tabular-nums; }

.lb-close, .lb-nav {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; backdrop-filter: blur(6px);
  transition: background .2s ease, transform .2s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .26); transform: scale(1.06); }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; stroke-width: 2; }
.lb-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lb-prev { left: clamp(.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }

/* ---------- 7. Équipements, station, tarifs ------------------------------ */
.amenity-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.amenity-card { background: var(--cream); border-radius: var(--radius-lg); padding: 2rem 1.9rem; box-shadow: var(--shadow-sm); }
.amenity-icon { width: 30px; height: 30px; stroke: var(--wood); margin-bottom: 1rem; }
.amenity-card h3 { margin-bottom: 1rem; }
.amenity-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.amenity-card li { position: relative; padding-left: 1.5rem; font-size: .94rem; color: var(--ink-soft); }
.amenity-card li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--mustard);
}
.amenity-note { margin-top: 2rem; font-size: .93rem; color: var(--ink-soft); font-style: italic; }

.location { position: relative; color: #fff; overflow: hidden; }
.location-media { position: absolute; inset: 0; }
.location-media img { width: 100%; height: 100%; object-fit: cover; }
.location-veil {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20, 16, 13, .9) 0%, rgba(20, 16, 13, .72) 48%, rgba(20, 16, 13, .35) 100%);
}
.location-inner { position: relative; max-width: 56rem; }
.location-inner h2 { color: #fff; }
.location-inner > p { color: rgba(255, 255, 255, .84); max-width: 42rem; }

/* Teinte du voile et couleur d'accent, pilotées par la saison active */
.location { --season-accent: var(--mustard); }
.location.is-winter { --season-accent: #93c8e8; }
.location.is-summer { --season-accent: #f0c14a; }

.location-veil { transition: background .6s ease; }
.location.is-winter .location-veil {
  background: linear-gradient(105deg, rgba(9, 20, 36, .93) 0%, rgba(16, 38, 64, .8) 48%, rgba(22, 54, 86, .44) 100%);
}
.location.is-summer .location-veil {
  background: linear-gradient(105deg, rgba(22, 18, 10, .92) 0%, rgba(38, 46, 18, .76) 48%, rgba(62, 74, 24, .4) 100%);
}

/* Chiffres clés du domaine */
.dom-stats {
  list-style: none; display: flex; flex-wrap: wrap; gap: 2.4rem;
  margin: 2rem 0 2.6rem; padding: 1.4rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.dom-stats li { display: flex; flex-direction: column; }
.dom-stats strong {
  font-family: var(--font-title); font-size: 2.3rem; font-weight: 600; line-height: 1;
  color: var(--season-accent); transition: color .6s ease;
}
.dom-stats span { font-size: .8rem; color: rgba(255, 255, 255, .68); margin-top: .25rem; }

/* Onglets de saison */
.season-tabs {
  display: inline-flex; gap: .3rem; padding: .3rem;
  border-radius: 999px; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px);
  margin-bottom: 2.2rem;
}
.season-tabs button {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.4rem; border: 0; border-radius: 999px;
  background: transparent; color: rgba(255, 255, 255, .75);
  font-size: .92rem; font-weight: 600;
  transition: background .25s ease, color .25s ease;
}
.season-tabs button svg { width: 17px; height: 17px; }
.season-tabs button:hover { color: #fff; }
.season-tabs button[aria-selected="true"] { background: var(--season-accent); color: var(--ink); }

/* Panneaux de saison */
.season-panel[hidden] { display: none; }
.season-panel { animation: seasonIn .45s ease; }
@keyframes seasonIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.season-lede {
  font-size: 1.06rem; color: rgba(255, 255, 255, .88);
  max-width: 44rem; margin-bottom: 2rem;
}

.season-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.season-grid article {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius); background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.season-grid article:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3);
}
.season-grid svg {
  width: 26px; height: 26px; stroke: var(--season-accent);
  margin-bottom: .8rem; transition: stroke .6s ease;
}
.season-grid h3 { font-size: 1.04rem; color: #fff; margin-bottom: .35rem; }
.season-grid p { font-size: .89rem; line-height: 1.55; color: rgba(255, 255, 255, .74); margin: 0; }

.location .btn-ghost { margin-top: 2.4rem; }

/* Liens vers le site de l'office de tourisme */
.loc-links-title {
  margin: 2.4rem 0 .9rem; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .72);
}
.loc-links { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.loc-link {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.1rem; text-decoration: none;
  border-radius: var(--radius); background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.loc-link:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .34);
}
.loc-link > svg:first-child {
  width: 24px; height: 24px; flex: none;
  stroke: var(--season-accent); transition: stroke .6s ease;
}
.loc-link-text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.loc-link-text strong { font-size: .97rem; font-weight: 600; color: #fff; }
.loc-link-text em { font-style: normal; font-size: .81rem; color: rgba(255, 255, 255, .66); }
.loc-link-arrow {
  width: 17px; height: 17px; flex: none; margin-left: auto;
  stroke: rgba(255, 255, 255, .5); transition: stroke .2s ease, transform .2s ease;
}
.loc-link:hover .loc-link-arrow { stroke: #fff; transform: translate(2px, -2px); }

.loc-links-hint {
  margin: .9rem 0 0; font-size: .78rem; color: rgba(255, 255, 255, .5);
}

.price-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.price-card {
  position: relative; background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem 1.7rem; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.price-card.is-featured { border-color: var(--mustard); box-shadow: var(--shadow-md); }
.price-flag {
  position: absolute; top: -.75rem; left: 50%; transform: translateX(-50%);
  padding: .28rem .85rem; border-radius: 999px; background: var(--mustard);
  font-size: .72rem; font-weight: 600; white-space: nowrap;
}
.price-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.price-season { font-size: .84rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.price-amount { font-family: var(--font-title); font-size: 2.2rem; font-weight: 600; line-height: 1; }
.price-unit { display: block; font-size: .8rem; color: var(--ink-soft); margin-top: .35rem; }
.price-per-person {
  margin: .6rem 0 0; font-size: .78rem; color: var(--wood-dark); font-weight: 500;
}

/* Calendrier détaillé */
.calendar-block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.calendar-block h3 { text-align: center; font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: .4rem; }
.calendar-intro {
  text-align: center; font-size: .92rem; color: var(--ink-soft);
  max-width: 38rem; margin: 0 auto 2rem;
}

.calendar-tables { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.calendar-table {
  background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem 1.5rem;
}
.calendar-table h4 {
  margin: 0 0 1rem; font-family: var(--font-title); font-size: 1.05rem; font-weight: 600;
  display: flex; align-items: center; gap: .6rem;
}
.calendar-table h4::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.calendar-table table { width: 100%; border-collapse: collapse; font-size: .89rem; }
.calendar-table thead th {
  text-align: left; padding: 0 0 .6rem; font-size: .71rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
/* Seule la colonne des prix s'aligne à droite — et elle n'existe pas toujours. */
.calendar-table thead th:nth-child(3) { text-align: right; }
.calendar-table tbody th {
  text-align: left; font-weight: 600; padding: .7rem .6rem .7rem 0;
}
.calendar-table tbody td { padding: .7rem .6rem .7rem 0; color: var(--ink-soft); }
.calendar-table tbody tr + tr th,
.calendar-table tbody tr + tr td { border-top: 1px solid var(--line); }
.cal-price { text-align: right; font-weight: 600; color: var(--ink) !important; white-space: nowrap; padding-right: 0 !important; }

.calendar-table tr.is-peak th,
.calendar-table tr.is-peak td { background: rgba(240, 168, 30, .13); }
.calendar-table tr.is-peak th { border-left: 3px solid var(--mustard); padding-left: .6rem; }

.price-note { margin: 2rem auto 1.8rem; max-width: 42rem; text-align: center; font-size: .88rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- 8. Contact, pied de page, responsive -------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
/* Sans formulaire, la deuxième colonne serait vide : on repasse sur une seule. */
.contact-grid.is-soon { grid-template-columns: 1fr; }
.contact-grid.is-soon .soon-inline { max-width: 34rem; }

.contact-direct-label {
  margin: 2.2rem 0 .9rem; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft);
}
.contact-buttons { display: flex; flex-wrap: wrap; gap: .7rem; }

.contact-form { background: var(--cream); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem; }
.field label { display: block; font-size: .83rem; font-weight: 600; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem;
  font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--mustard); box-shadow: 0 0 0 3px rgba(240, 168, 30, .22);
}
.field input:user-invalid { border-color: var(--red); }
.form-hint { margin: .9rem 0 0; font-size: .8rem; color: var(--ink-soft); text-align: center; }

.site-footer { background: var(--ink); color: rgba(251, 247, 241, .78); padding: 2.6rem 0; font-size: .87rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.footer-inner > div:first-child { display: flex; flex-direction: column; margin-right: auto; }
.footer-inner strong { font-family: var(--font-title); color: var(--cream); font-size: 1.05rem; font-weight: 600; }
.footer-meta { display: flex; flex-direction: column; gap: .2rem; font-size: .8rem; opacity: .75; }
.footer-top { text-decoration: none; border-bottom: 1px solid rgba(251, 247, 241, .35); padding-bottom: 2px; }
.footer-top:hover { color: var(--mustard); border-color: var(--mustard); }

@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .media-wide { margin-left: 0 !important; }
  .about-media { grid-template-columns: 1fr 1fr; }
  .gallery-item, .gallery-item.is-wide { grid-column: span 6; }
}

@media (max-width: 860px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--cream); padding: 1rem 1.25rem 1.6rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .3s cubic-bezier(.2, .8, .3, 1);
  }
  .site-nav.is-open { transform: none; }
  .site-nav a { color: var(--ink) !important; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .nav-contact { display: block; }
  .burger { display: block; }
  .header-actions .btn { display: none; }
  .brand-text em { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .brand-text strong { font-size: .97rem; white-space: nowrap; }
  .brand-mark { width: 28px; height: 28px; }
  .hero { min-height: 92svh; padding-top: calc(var(--header-h) + 1.5rem); }
  .hero-sub { font-size: 1.02rem; }
  .hero-badges { gap: .45rem; margin: 1.4rem 0; }
  .hero-badges li { padding: .38rem .75rem; font-size: .78rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-scroll { display: none; }
  .stats { gap: 1.2rem; }
  .about-media { grid-template-columns: 1fr; }
  .gallery-grid { gap: .7rem; }
  .gallery-item, .gallery-item.is-wide { grid-column: span 12; }
  .field-row { grid-template-columns: 1fr; }
  .lb-close, .lb-nav { width: 42px; height: 42px; }
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Écrans très étroits : vieux mobiles, fenêtre réduite, zoom navigateur élevé.
   Sans ce palier, l'en-tête (logo + langues + burger) déborde horizontalement. */
@media (max-width: 340px) {
  .shell { width: min(100% - 1.4rem, var(--shell)); }
  .brand-text { display: none; }
  .lang-switch button { padding: .35rem .5rem; font-size: .7rem; }
  .season-tabs button { padding: .55rem 1rem; font-size: .86rem; }
  .dom-stats { gap: 1.4rem; }
}

/* ---------- 9. Plan du logement ------------------------------------------- */
.plan-grid {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 760px; margin-inline: auto;
}
.plan-figure { margin: 0; text-align: center; }
.plan-figure figcaption {
  font-size: .76rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: var(--wood-dark); margin-bottom: 1rem;
}
.plan-figure svg { width: 100%; height: auto; max-height: 62vh; overflow: visible; }

/* Murs et pièces */
.pl-shell { fill: none; stroke: var(--ink); stroke-width: 6; }
.pl-room  { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.pl-fixture { fill: var(--sand); stroke: var(--ink-soft); stroke-width: 1.5; }
.pl-outside { fill: var(--sand); stroke: var(--line); stroke-width: 2; stroke-dasharray: 7 6; }

/* Niveau inférieur rappelé en filigrane sous les mezzanines */
.pl-ghost { fill: var(--sand); stroke: var(--line); stroke-width: 3; }
.pl-ghost-line { stroke: var(--line); stroke-width: 2; }

/* Mezzanines : en surplomb, d'où le trait discontinu */
.pl-mezz {
  fill: rgba(240, 168, 30, .22); stroke: var(--mustard-d);
  stroke-width: 3; stroke-dasharray: 10 7;
}

/* Couchages */
.pl-bed { fill: var(--cream); stroke: var(--wood-dark); stroke-width: 2.5; }
.pl-pillow { fill: var(--sand); stroke: var(--wood); stroke-width: 1.5; }

/* Escaliers */
.pl-stair rect { fill: #fff; stroke: var(--wood-dark); stroke-width: 2.5; }
.pl-stair line { stroke: var(--wood-dark); stroke-width: 1.5; }

/* Textes du plan */
.pl-label, .pl-sub, .pl-cap, .pl-dim {
  text-anchor: middle; font-family: var(--font-body); fill: var(--ink);
}
.pl-label { font-size: 21px; font-weight: 600; }
.pl-sub   { font-size: 17px; fill: var(--ink-soft); }
.pl-cap   { font-size: 17px; font-weight: 600; fill: var(--wood-dark); }
.pl-cap-light { fill: var(--ink-soft); font-weight: 500; }
.pl-dim   { font-size: 15px; fill: var(--ink-soft); letter-spacing: .04em; }
.pl-outside-label { font-size: 17px; fill: var(--ink-soft); font-weight: 500; }

/* Mention placée sous le sur-titre, avant le dessin qu'elle qualifie. */
.plan-note {
  margin: .5rem 0 0; font-size: .82rem;
  color: var(--ink-soft); font-style: italic;
}

@media (max-width: 560px) {
  .plan-figure svg { max-height: none; }
  .pl-label { font-size: 24px; }
  .pl-sub, .pl-cap { font-size: 20px; }
}

/* ---------- 10. « Bientôt disponible » ------------------------------------ */
.soon-panel {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .5rem; padding: clamp(2.2rem, 5vw, 3.4rem) 1.5rem;
  background: var(--sand); border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg); max-width: 34rem; margin-inline: auto;
}
.soon-panel[hidden], .soon-card[hidden] { display: none; }
.soon-panel > svg { width: 34px; height: 34px; stroke: var(--wood); margin-bottom: .3rem; }
.soon-panel .btn { margin-top: .9rem; }

.soon-title {
  margin: 0; font-family: var(--font-title); font-size: 1.25rem; font-weight: 600;
  color: var(--ink);
}
.soon-text { margin: 0; font-size: .92rem; color: var(--ink-soft); max-width: 26rem; }

/* Dans la colonne de gauche du contact, le panneau s'aligne sur le texte. */
.soon-inline { align-items: flex-start; text-align: left; margin-inline: 0; margin-top: 1.5rem; }
.soon-inline .soon-text { max-width: none; }

.soon-card { justify-content: flex-start; }
.soon-card .soon-title { font-size: 1.05rem; margin-top: .3rem; }
.soon-card .soon-text { font-size: .88rem; margin-top: .35rem; }

/* ---------- 11. Infos pratiques ------------------------------------------- */
.practical-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.practical-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.8rem; display: flex; flex-direction: column;
}
.practical-icon { width: 28px; height: 28px; stroke: var(--wood); margin-bottom: .9rem; }
.practical-card h3 { margin-bottom: 1.2rem; }

.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.fact-list li { display: flex; flex-direction: column; gap: .1rem; font-size: .93rem; line-height: 1.45; }
.fact-list li[hidden] { display: none; }
.fact-list strong { font-weight: 600; color: var(--ink); }
/* Les valeurs chiffrées ressortent : c'est ce que le visiteur cherche. */
.fact-list strong[data-fact] { font-family: var(--font-title); font-size: 1.22rem; color: var(--wood-dark); }
.fact-list em { font-style: normal; font-size: .83rem; color: var(--ink-soft); }

.fact-map {
  margin-top: auto; padding-top: 1.3rem;
  font-size: .85rem; font-weight: 500; color: var(--wood-dark);
  text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
}
.fact-map::before { content: "\2197"; font-size: .9em; }
.fact-map:hover { color: var(--ink); text-decoration: underline; }

.cancel-block {
  margin-top: 1.5rem; background: var(--sand);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem);
}
.cancel-block h3 { font-size: 1.1rem; margin-bottom: 1.1rem; }
/* Trois colonnes : sur une ligne pleine largeur, l'œil perdait le lien
   entre la période et sa conséquence. */
.cancel-scale {
  list-style: none; margin: 0 0 1.1rem; padding: 0;
  display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.cancel-scale li {
  display: flex; flex-direction: column; gap: .3rem;
  padding: .9rem 1rem; background: #fff; border-radius: 10px;
  border-left: 3px solid var(--mustard); font-size: .9rem;
}
.cancel-scale span { color: var(--ink-soft); font-size: .84rem; }
.cancel-note { margin: 0; font-size: .85rem; color: var(--ink-soft); font-style: italic; }

@media (max-width: 640px) {
  .practical-card { padding: 1.6rem 1.4rem; }
}
