:root {
  /* Couleurs — design system Au Lit On Dort (v3, 2026-10-31 : vert forêt / terracotta / crème) */
  --surface-100: #f7f1e6;
  --surface-200: #efe6d2;
  --ink: #2a2420;
  --ink-muted: #6b5f4f;
  --brand: #1f3b2f;
  --on-brand: #f7f1e6;
  --accent-text: #9a4f2d;
  --night: #16281f;
  --terracotta: #c17a54;
  --on-terracotta: #2a2420;
  --sand: #e7dcc3;
  --line: #d9cdb3;
  --control-border: #8a7e68;
  --focus: #1f3b2f;
  --danger: #a3321f;
  --success: #3f6b4a;

  /* Compat avec les anciens noms utilisés plus bas dans ce fichier */
  --navy: var(--brand);
  --navy-dark: var(--night);
  --cream: var(--surface-100);
  --cream-deep: var(--surface-200);
  --red-dash: var(--danger);
  --gold: var(--terracotta);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-width: 1180px;
  --radius-sm: 4px;
  --radius-pill: 999px;
  --radius-photo: 10px;

  /* Rythme vertical calé sur un rang de brique (brique + joint, cf. la façade réelle) —
     tout espacement de section est un multiple de cette unité plutôt qu'une valeur libre. */
  --course: 4.4rem;
  --dawn: #a85f3d;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  position: relative;
}
/* Le logo en filigrane, posé en surimpression fixe sur tout l'écran — visible en continu
   quel que soit le scroll (un fond simple derrière les sections serait masqué par leurs
   couleurs pleines). Opacité très faible pour ne jamais gêner la lecture du texte. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../images/logo.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(640px, 70vw);
  opacity: 0.045;
  filter: grayscale(1);
  pointer-events: none;
  z-index: 25;
}

h1, h2, h3, .display { font-family: var(--font-display); color: var(--brand); font-weight: 600; margin: 0 0 0.5rem; }
h1 { font-size: 3rem; line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: 2.1rem; line-height: 1.2; }
h3 { font-size: 1.3rem; }
p { margin: 0.8rem 0; }
a { color: var(--brand); }
em { font-family: var(--font-display); font-style: italic; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.75rem; }

/* Top strip */
.top-strip {
  background: var(--night);
  color: var(--surface-100);
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
}

/* Header — ligne d'étang en pied de bandeau plutôt qu'un filet droit, se tasse légèrement
   au scroll comme un rang de brique qui se pose (voir .is-scrolled, posé par js/main.js). */
header.site-header {
  background: var(--cream);
  border-bottom: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 10' preserveAspectRatio='none'%3E%3Cpath d='M0,5 Q150,1 300,6 T600,4 T900,7 T1200,3' fill='none' stroke='%23d9cdb3' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 7px;
  position: sticky;
  top: 0;
  z-index: 40; /* doit rester au-dessus des photos (z-index 26) quand une section défile
                  dessous, sans quoi une photo pouvait recouvrir le menu au scroll */
}
header.site-header .nav-wrap { transition: padding 0.25s ease; }
header.site-header.is-scrolled .nav-wrap { padding-top: 0.55rem; padding-bottom: 0.55rem; }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.75rem;
  gap: 1rem;
}
.brand-mark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark svg, .brand-mark img { width: 72px; height: 72px; flex-shrink: 0; border-radius: 3px; object-fit: cover; background: var(--surface-100); border: 1px solid var(--line); }
.brand-mark .brand-text { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--brand); line-height: 1.1; }
.brand-mark .brand-text small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-top: 0.15rem; }

nav.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; padding: 0; }
nav.main-nav a {
  color: var(--ink);
  font-size: 0.88rem;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
nav.main-nav a.current, nav.main-nav a:hover { color: var(--brand); border-bottom-color: var(--terracotta); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.menu-toggle span { display: block; width: 100%; height: 1px; background: var(--brand); transition: transform 0.25s ease, opacity 0.2s ease; }
/* Hamburger → croix, posée comme un angle de brique qui pivote */
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-wrap { flex-wrap: wrap; }
  .menu-toggle { display: flex; }
  nav.main-nav { width: 100%; max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
  nav.main-nav.open { max-height: 480px; }
  nav.main-nav ul { flex-direction: column; gap: 0.2rem; padding: 0.6rem 0 1rem; }
  /* Chaque lien se pose à son tour, comme les mots du titre de hero */
  nav.main-nav ul li { opacity: 0; transform: translateY(8px); transition: opacity 0.3s ease, transform 0.3s ease; transition-delay: calc(var(--i, 0) * 40ms); }
  nav.main-nav.open ul li { opacity: 1; transform: none; }
}

/* Séparateur « ligne d'étang » : silhouette de rive solognote plutôt qu'un filet droit.
   Remplace l'ancien .dashed-divider (même classe, même usage en <hr> dans le HTML). */
.dashed-divider {
  border: none;
  max-width: 100%;
  margin: var(--course) 0;
  height: 14px;
  opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath d='M0,12 Q150,3 300,13 T600,9 T900,15 T1200,8' fill='none' stroke='%23d9cdb3' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
section.block.navy .dashed-divider {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath d='M0,12 Q150,3 300,13 T600,9 T900,15 T1200,8' fill='none' stroke='rgba(247,241,230,0.35)' stroke-width='1.4'/%3E%3C/svg%3E");
}
.dashed-divider.left { margin: var(--course) 0; }

/* ---------------------------------------------------------------------- */
/* Ghost type : grand titre fantôme en fond perdu, décor pur              */
/* ---------------------------------------------------------------------- */
.ghost-wrap { position: relative; }
.ghost {
  position: absolute;
  top: -0.3em;
  left: -0.02em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 13vw, 11rem);
  line-height: 1;
  color: var(--brand);
  opacity: 0.08;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  margin: 0;
}
section.block.navy .ghost { color: var(--surface-100); opacity: 0.09; }
/* z-index 26 (pas 1) : ce wrapper crée son propre contexte d'empilement, qui plafonnerait
   sinon les photos posées dedans (ex. carrousels) sous le filigrane de fond (z-index 25). */
.ghost-wrap > *:not(.ghost) { position: relative; z-index: 26; }

/* Historique en affiches : galerie de vraies affiches passées, légendées */
.affiches-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--course); margin: var(--course) 0; }
.affiches-grid figure { margin: 0; min-width: 0; }
.affiches-grid img { width: 100%; height: auto; display: block; border: 3px solid var(--ink); }
.affiches-grid figcaption { margin-top: 0.5rem; font-size: 0.82rem; }
.affiches-grid figcaption .date { display: block; text-transform: uppercase; letter-spacing: 0.08em; color: var(--terracotta); font-weight: 500; font-size: 0.74rem; margin-bottom: 0.15rem; }

/* Intro en deux colonnes : photo plus petite à côté du texte, au lieu d'une photo pleine largeur */
.intro-split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: calc(var(--course) * 1.4); align-items: center; margin: var(--course) 0; }
.intro-split img { width: 100%; height: auto; display: block; margin: 0; border-radius: var(--radius-photo); box-shadow: 0 4px 16px rgba(22, 40, 31, 0.14); position: relative; z-index: 26; }
.intro-split .lead { margin: 0; }
@media (max-width: 760px) { .intro-split { grid-template-columns: 1fr; } }

.fb-link { display: inline-flex; align-items: center; gap: 0.55rem; }

/* Chiffre clé, traité en typo plutôt qu'en compteur */
.figure { display: inline-flex; align-items: baseline; gap: 0.5rem; }
.figure .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: var(--accent-text); }
.figure .label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); max-width: 9em; }

/* ---------------------------------------------------------------------- */
/* Hero — asymétrique : texte à gauche, photo qui déborde à droite        */
/* ---------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--night);
  color: var(--surface-100);
  padding: 5rem 0 0;
  overflow: hidden;
}
/* Page d'accueil seulement : le ciel du hero passe de l'aube au soir au fil du scroll,
   en écho au rythme réel du lieu (café à 7h30, bar qui s'anime le soir). --hero-light
   est mis à jour par js/main.js ; sans JS ou sur navigateur ancien, le hero reste --night
   comme avant (dégradation silencieuse, aucune dépendance bloquante). */
.hero[data-daylight], .hero[data-daylight-static] { background: color-mix(in srgb, var(--dawn) calc(var(--hero-light, 0) * 42%), var(--night)); }

/* Titres de hero : chaque mot se pose au scroll, comme un rang de brique qu'on pose un à
   un. Les .word n'existent que si le JS a pu tourner — sans JS, le h1 reste du texte
   normal, toujours lisible (aucune dépendance pour le contenu, juste pour l'animation). */
.hero .hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px) rotate(0.6deg);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: calc(var(--i, 0) * 55ms);
}
.hero .hero-title.in-view .word { opacity: 1; transform: translateY(0) rotate(0deg); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 2rem;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.76rem; color: var(--terracotta); font-weight: 500; }
/* SEO (2026-11-07) : le H1 porte désormais l'expression-clé de la page, au format de
   l'ancien sur-titre (petites capitales terracotta) ; l'accroche poétique garde le grand
   format d'affichage en <p class="hero-title">, rendu strictement identique à l'ancien h1. */
.hero h1.hero-kicker { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8rem; line-height: 1.6; color: #e0a283; font-weight: 600; margin: 0; max-width: 560px; }
.hero .hero-title { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; color: var(--surface-100); margin: 0.6rem 0 1.2rem; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.hero .tagline { font-size: 1.1rem; color: var(--surface-100); opacity: 0.82; max-width: 480px; }
.hero-text { padding-bottom: 3.5rem; }
.hero-photo {
  position: relative;
  z-index: 26; /* au-dessus du filigrane (body::before, z-index 25) : une vraie photo doit
                  toujours le recouvrir, jamais se faire ternir par un lion grisé dessus */
}
.hero-photo.filled .photo {
  height: 460px;
  margin: 0;
}
@media (max-width: 900px) { .hero-photo.filled .photo { height: 320px; } }
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; position: relative; z-index: 1; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: 2px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 500;
  font-size: 0.92rem;
  border: 1px solid var(--brand);
  cursor: pointer;
  text-decoration: none;
  transition: clip-path 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
/* Coin cassé façon brique ébréchée au survol, plutôt qu'un simple changement de couleur */
.btn:hover { background: var(--night); border-color: var(--night); text-decoration: none; clip-path: polygon(0 0, 100% 0, 100% 100%, 7px 100%, 0 calc(100% - 7px)); }
.btn.secondary { background: transparent; color: #fff; border-color: rgba(247,241,230,0.55); }
.btn.secondary:hover { background: rgba(247,241,230,0.1); }
.btn.on-light { background: var(--brand); border-color: var(--brand); }
.btn.on-light:hover { background: var(--night); border-color: var(--night); }
.btn.on-light.secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn.on-light.secondary:hover { background: var(--brand); color: var(--on-brand); }

/* Sections — padding calé sur le rang de brique (--course) */
section.block { padding: calc(var(--course) * 1.14) 0; }
section.block.cream-deep { background: var(--surface-200); }
section.block.navy { background: var(--night); color: var(--surface-100); }
section.block.navy h2, section.block.navy h3 { color: var(--surface-100); }
section.block.navy .lead { color: rgba(247,241,230,0.82); }
section.block.navy .lead a { color: var(--terracotta); }
section.block.sage { background: var(--sand); }

.section-head { max-width: 640px; margin-bottom: 2.2rem; }
.section-head .eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem; color: var(--accent-text); font-weight: 500; }
section.block.navy .section-head .eyebrow { color: var(--terracotta); }

/* Stat row — chiffres posés simplement, sans carte ni icône */
.stat-row { display: flex; flex-wrap: wrap; gap: 3rem; margin: 2.4rem 0; }
.stat { min-width: 120px; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--accent-text); display: block; line-height: 1; }
section.block.navy .stat .num { color: var(--terracotta); }
.stat .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); }
section.block.navy .stat .label { color: rgba(247,241,230,0.65); }

/* Pillars — séparés par un filet, pas une carte à ombre */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 2.2rem; border-top: 1px solid var(--line); }
@media (max-width: 980px) { .pillars { grid-template-columns: repeat(2, 1fr); } .pillar:nth-child(2) { border-right: none; } }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: 2rem 1.4rem 2rem 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 200' preserveAspectRatio='none'%3E%3Cpath d='M5,0 Q1,50 6,100 T4,200' fill='none' stroke='%23d9cdb3' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 10px 100%;
}
.pillar:last-child { background-image: none; }
@media (max-width: 820px) {
  .pillar { background-image: none !important; border-bottom: 1px solid var(--line); padding: 2rem 0; }
  .pillar:last-child { border-bottom: none; }
}
section.block.navy .pillar {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 200' preserveAspectRatio='none'%3E%3Cpath d='M5,0 Q1,50 6,100 T4,200' fill='none' stroke='rgba(247,241,230,0.22)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 10px 100%;
}
section.block.navy .pillar:last-child { background-image: none; }
.pillar .icon-circle { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.3rem; color: var(--terracotta); margin-bottom: 0.9rem; }
.pillar, .pillar h3, .pillar p, .pillar a { color: var(--ink); }
.pillar a { color: var(--brand); font-size: 0.88rem; }
section.block.navy .pillar, section.block.navy .pillar h3, section.block.navy .pillar p { color: var(--surface-100); }
section.block.navy .pillar a { color: var(--terracotta); }

.card-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.4rem; margin-top: 1.8rem; }
@media (max-width: 760px) { .card-list { grid-template-columns: 1fr; } }
/* Calepinage : la 2e colonne est décalée, comme le rang de photos de .stagger-grid */
.card-list > :nth-child(2n) { margin-top: calc(var(--course) * 0.35); }
@media (max-width: 760px) { .card-list > :nth-child(2n) { margin-top: 0; } }
.card {
  padding: 1.6rem 0;
  border-top: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 10' preserveAspectRatio='none'%3E%3Cpath d='M0,5 Q150,1 300,6 T600,4 T900,7 T1200,3' fill='none' stroke='%23d9cdb3' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 6px;
  color: var(--ink);
}
.card h3, .card p, .card a { color: var(--ink); }
.card a { color: var(--brand); }
.card .tag { display: inline-block; color: var(--accent-text); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; margin-bottom: 0.5rem; }

/* Photo frames (placeholder for real photography) */
.photo-frame {
  padding: 3rem 1.5rem;
  text-align: center;
  font-style: italic;
  color: var(--ink-muted);
  background: repeating-linear-gradient(135deg, var(--surface-200), var(--surface-200) 14px, var(--surface-100) 14px, var(--surface-100) 28px);
  border: 1px solid var(--line);
  margin: 1.4rem 0;
}
.photo-frame.tall { padding: 5rem 1.5rem; }
.map-embed { display: block; width: 100%; height: 360px; border: 0; margin: 1.4rem 0; filter: sepia(12%) saturate(85%); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin: 1.4rem 0; }
@media (max-width: 760px) { .photo-grid { grid-template-columns: 1fr 1fr; } }
.photo-grid .photo-frame { margin: 0; padding: 2.2rem 0.8rem; }

/* Real photography — coins légèrement arrondis et ombre douce pour un rendu plus soigné
   (retour utilisateur du 2026-11-07 : les angles vifs faisaient trop agressif) ; position
   relative + z-index au-dessus du filigrane de fond (body::before, z-index 25), qui sinon
   ternissait toutes les photos d'un voile grisé. */
.photo {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-photo);
  box-shadow: 0 4px 16px rgba(22, 40, 31, 0.14);
  margin: 1.4rem 0;
  position: relative;
  z-index: 26;
}
.photo.tall { height: 460px; }

/* Vidéo mise en avant (2026-11-07) : même traitement visuel que .photo (coins arrondis,
   ombre, au-dessus du filigrane) mais en 16:9 natif — pas de recadrage puisque le cadre
   correspond exactement au ratio d'une vidéo tournée en paysage. */
.video-feature {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-photo);
  box-shadow: 0 4px 16px rgba(22, 40, 31, 0.14);
  margin: 1.4rem 0;
  position: relative;
  z-index: 26;
  background: var(--surface-200);
}
.photo-grid .photo { height: 240px; margin: 0; }

/* Galerie photo : grille propre et alignée, rythme discret par alternance de hauteur
   PAR RANG (pas par photo) — tout un rang de 3 partage la même hauteur, le rang suivant
   en a une autre. Plus de décalage horizontal ni de hauteurs individuelles chaotiques :
   priorité à des photos nettement alignées entre elles (retour utilisateur du 2026-10-31). */
.stagger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin: calc(var(--course) * 0.6) 0;
  align-items: stretch;
}
@media (max-width: 760px) { .stagger-grid { grid-template-columns: 1fr 1fr; } }
.stagger-grid .photo { margin: 0; height: 100%; min-height: 300px; }
.stagger-grid { grid-auto-rows: 320px; }
@media (max-width: 760px) { .stagger-grid { grid-auto-rows: 260px; } }

/* Carrousel photo : une image à la fois, flèches précédent/suivant, swipe au doigt sur
   mobile. Pas de défilement automatique (accessibilité — un carrousel qui tourne seul n'a
   pas de bouton pause et peut couper la lecture de quelqu'un) ; dégrade silencieusement sans
   JS (le scroll-snap et le swipe fonctionnent déjà en CSS pur, seules les flèches ont besoin
   du script pour avancer d'une photo exacte). */
.carousel { position: relative; margin: calc(var(--course) * 0.6) 0; }
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  height: min(60vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-200);
  border-radius: var(--radius-photo);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(22, 40, 31, 0.14);
  position: relative;
  z-index: 26; /* au-dessus du filigrane de fond, voir .photo */
}
/* Fond flouté (2026-11-07) : le plein cadre (object-fit: cover) zoomait trop sur les photos
   très verticales dans ce cadre large et peu haut — jusqu'à 75% de la photo disparaissait.
   Retour à la photo entière (object-fit: contain, jamais de recadrage), avec la même image
   floutée et agrandie en fond pour combler l'espace autour plutôt qu'une bande plate. */
/* Performance (2026-11-07) : un background-image en style inline se télécharge tout de
   suite, même pour une diapo hors écran — ça annulait le loading="lazy" des photos (toutes
   les galeries partaient au chargement, 7,6 Mo sur La Salle). Le fond reste neutralisé ici
   et js/main.js le réactive diapo par diapo, une fois la photo elle-même chargée (même
   fichier, déjà en cache : aucun second téléchargement). */
.carousel-slide .fond { background-image: none !important; }
.carousel-slide .fond {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: blur(22px) saturate(1.15) brightness(0.8); transform: scale(1.15);
}
.carousel-slide img {
  position: relative; max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; display: block; margin: 0;
}
@media (max-width: 760px) { .carousel-slide { height: min(52vh, 400px); } }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  background: var(--night);
  color: var(--surface-100);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 27; /* au-dessus de .carousel-slide (26), sans quoi la photo recouvrait les flèches */
  opacity: 0.82;
  transition: opacity 0.2s ease, clip-path 0.2s ease;
}
.carousel-btn:hover, .carousel-btn:focus-visible { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 100%, 5px 100%, 0 calc(100% - 5px)); }
.carousel-btn.prev { left: 0.6rem; }
.carousel-btn.next { right: 0.6rem; }
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.7rem; }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: var(--line); cursor: pointer; }
.carousel-dots button.active { background: var(--brand); }
@media (prefers-reduced-motion: reduce) { .carousel-track { scroll-behavior: auto; } }

/* Bandeau à défilement horizontal (évènements, soirées, chambres) */
.scroll-strip {
  display: flex;
  gap: 1.8rem;
  overflow-x: auto;
  margin: 2.2rem -1.75rem 0;
  padding: 0 1.75rem 1rem;
  scroll-snap-type: x proximity;
}
.scroll-strip::-webkit-scrollbar { height: 6px; }
.scroll-strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.scroll-strip-item {
  flex: 0 0 260px;
  scroll-snap-align: start;
}
.scroll-strip-item .photo { height: 340px; margin-bottom: 0.9rem; }
.scroll-strip-item .eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--accent-text); font-weight: 500; }
.scroll-strip-item h3 { margin: 0.3rem 0 0.4rem; font-size: 1.15rem; }
.scroll-strip-item p { font-size: 0.92rem; color: var(--ink-muted); margin: 0 0 0.6rem; }
.scroll-strip-item a { font-size: 0.86rem; }
/* Variante sans photo : la ligne d'étang en tête de carte tient lieu d'image */
.scroll-strip-item.no-photo {
  flex-basis: 300px;
  padding-top: 1.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 10' preserveAspectRatio='none'%3E%3Cpath d='M0,5 Q150,1 300,6 T600,4 T900,7 T1200,3' fill='none' stroke='%23d9cdb3' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 7px;
}
.scroll-strip-track { position: relative; margin: 0.6rem 0 var(--course); }
.scroll-strip-progress { height: 2px; background: var(--line); margin-top: 0.4rem; }
.scroll-strip-progress > span { display: block; height: 100%; width: 0%; background: var(--terracotta); transition: width 0.15s ease; }

/* Bandeau de progression de page, fixé en tête, qui glisse de l'aube à la nuit comme le
   ciel du hero de l'accueil — généralise ce motif à toutes les pages sans le dupliquer. */
.page-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 30; pointer-events: none; }
.page-progress > span {
  display: block;
  height: 100%;
  width: calc(var(--scroll-progress, 0) * 100%);
  background: color-mix(in srgb, var(--dawn) calc(var(--scroll-progress, 0) * 42%), var(--night));
}

/* Pastille plate (date, info courte) posée sur l'angle d'une photo */
.badge-flat {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--surface-100);
  color: var(--ink);
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.photo-tag { position: relative; }

/* Quote block */
.quote-block {
  border-left: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 400' preserveAspectRatio='none'%3E%3Cpath d='M5,0 Q1,100 6,200 T4,400' fill='none' stroke='%23c17a54' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 6px 100%;
  padding: 0.3rem 0 0.3rem 1.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--brand);
  margin: 2.4rem 0;
}
.quote-block cite {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Tables */
table.tarifs { width: 100%; border-collapse: collapse; margin: 1.4rem 0; background: transparent; }
table.tarifs th, table.tarifs td {
  border-bottom: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 6' preserveAspectRatio='none'%3E%3Cpath d='M0,3 Q150,0.5 300,3.5 T600,2.5 T900,4 T1200,1.5' fill='none' stroke='%23d9cdb3' stroke-width='0.9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 4px;
  padding: calc(var(--course) * 0.18) 0.4rem;
  text-align: left;
}
table.tarifs th { color: var(--accent-text); font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* Form */
form.devis-form { display: flex; flex-direction: column; gap: 1.1rem; max-width: 600px; background: transparent; padding: 0; }
form.devis-form label { font-weight: 500; font-size: 0.85rem; color: var(--brand); text-transform: uppercase; letter-spacing: 0.05em; }
form.devis-form input, form.devis-form select, form.devis-form textarea {
  width: 100%;
  padding: 0.7rem 0;
  border: none;
  border-bottom: 1px solid var(--control-border);
  border-radius: 0;
  font-family: inherit;
  font-size: 1rem;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 6' preserveAspectRatio='none'%3E%3Cpath d='M0,3 Q75,0.4 150,3.6 T300,2.2' fill='none' stroke='%231f3b2f' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 0% 6px;
  transition: background-size 0.35s ease;
  color: var(--ink);
}
form.devis-form input:focus, form.devis-form select:focus, form.devis-form textarea:focus {
  outline: none;
  border-bottom-color: transparent;
  background-size: 100% 6px;
}
form.devis-form > div { transition: transform 0.25s ease; }
form.devis-form > div:focus-within label { color: var(--accent-text); }
form.devis-form > div:focus-within { transform: translateY(-2px); }
.rgpd-notice { background: var(--surface-200); border: none; border-radius: 0; padding: 1.2rem; font-size: 0.86rem; }
.rgpd-notice label { display: flex; align-items: flex-start; gap: 0.5rem; font-weight: normal; text-transform: none; letter-spacing: 0; color: var(--ink); }
.rgpd-notice input[type="checkbox"] { width: auto; margin-top: 0.2rem; }

/* Footer — même ligne d'étang en tête, pour border la page comme une rive plutôt qu'un
   bloc sombre qui tombe sans transition. */
footer.site-footer {
  background: var(--night);
  color: var(--surface-100);
  padding: 3.5rem 0 1.8rem;
  margin-top: 4rem;
  font-size: 0.92rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 14' preserveAspectRatio='none'%3E%3Cpath d='M0,7 Q150,2 300,8 T600,5 T900,9 T1200,4' fill='none' stroke='rgba(247,241,230,0.3)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 10px;
}
footer.site-footer, footer.site-footer .legal-line { color: rgba(247,241,230,0.8); }
footer.site-footer a { color: var(--surface-100); text-decoration: underline; }
footer.site-footer .footer-cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
footer.site-footer .footer-logo { width: 100px; height: 100px; border-radius: 3px; object-fit: cover; display: block; margin-bottom: 1rem; border: 1px solid rgba(247,241,230,0.3); }

.logo-seal { text-align: center; margin: 3rem 0; }
.logo-seal img { width: 170px; height: 170px; border-radius: 3px; object-fit: cover; border: 1px solid var(--line); }
.logo-seal p { font-family: var(--font-display); font-style: italic; color: var(--ink-muted); margin-top: 0.9rem; font-size: 0.95rem; }
footer.site-footer .footer-brand { font-family: var(--font-display); font-size: 1.3rem; color: var(--surface-100); }
footer.site-footer .legal-line { margin-top: 2rem; opacity: 0.7; font-size: 0.8rem; }

.confirm-flag { color: var(--red-dash); font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--ink-muted); max-width: 680px; }

/* Prochaine soirée : affiche + texte côte à côte, empilés sur mobile */
.card.prochaine-soiree { display: flex; gap: 1.4rem; align-items: center; max-width: 620px; }
.card.prochaine-soiree img { width: 200px; height: auto; flex: none; display: block; border: 3px solid var(--ink); }
.card.prochaine-soiree p { margin-bottom: 0; }
@media (max-width: 560px) { .card.prochaine-soiree { flex-direction: column; align-items: flex-start; } .card.prochaine-soiree img { width: 100%; max-width: 320px; } }
