/* ==========================================================================
   Les Logis de l'Oumois — Feuille de style principale
   Refonte sans framework — vert forêt #12261d / or #c9a24b / crème
   Mobile-first, breakpoints : 640px / 900px / 1100px
   Les polices (Cormorant Garamond + Jost) sont déclarées dans fonts.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables (design tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs */
  --forest: #12261d;
  --forest-deep: #0b1710;
  --forest-soft: #1b3527;
  --forest-mid: #244633;
  --gold: #c9a24b;
  --gold-light: #e2c379;
  --gold-dark: #a9853a;
  --gold-soft: rgba(201, 162, 75, 0.14);
  --cream: #f6f1e5;
  --cream-2: #fdfbf5;
  --white: #ffffff;
  --ink: #232c25;
  --body-fg: #4b564d;
  --muted: #7d877a;
  --line: rgba(18, 38, 29, 0.14);
  --line-soft: rgba(18, 38, 29, 0.08);

  /* Polices */
  --font-head: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(18, 38, 29, 0.06);
  --shadow-md: 0 10px 30px rgba(18, 38, 29, 0.10);
  --shadow-lg: 0 24px 60px rgba(18, 38, 29, 0.18);
  --shadow-gold: 0 10px 30px rgba(201, 162, 75, 0.28);

  /* Rayons */
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 0.25s;
  --dur: 0.4s;
  --dur-slow: 0.7s;

  /* Divers */
  --container: 1200px;
  --container-narrow: 820px;
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
}

/* --------------------------------------------------------------------------
   2. Base & utilitaires
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.03rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--body-fg);
  background-color: var(--cream-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Verrouillage du défilement (préchargeur, menu mobile, lightbox) */
body.is-loading,
body.is-locked,
body.nav-open {
  overflow: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: var(--forest);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

button {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest);
}

p {
  margin: 0 0 1.2em;
}

ul, ol {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
}

::selection {
  background: var(--gold);
  color: var(--forest);
}

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

[hidden] {
  display: none !important;
}

/* Barre de défilement discrète */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--forest-mid);
  border-radius: var(--radius-pill);
  border: 2px solid var(--cream);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* Lien d'évitement */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10001;
  padding: 0.7em 1.4em;
  background: var(--gold);
  color: var(--forest);
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top var(--dur-fast) var(--ease);
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   3. Boutons & liens
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.9em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: transparent;
  transition:
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  border-color: var(--gold);
  color: var(--forest);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  box-shadow: 0 14px 34px rgba(201, 162, 75, 0.42);
  color: var(--forest-deep);
}

.btn--forest {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}

.btn--forest:hover {
  background: var(--forest-mid);
  color: var(--cream);
}

.btn--outline {
  border-color: var(--gold);
  color: var(--forest);
  background: transparent;
}

.btn--outline:hover {
  background: var(--gold-soft);
  color: var(--forest);
}

/* Variante claire, posée sur image sombre */
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--gold-light);
  color: var(--white);
}

.btn--text {
  border-color: transparent;
  color: var(--muted);
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none;
}

.btn--text:hover {
  color: var(--forest);
}

.btn--sm {
  padding: 0.55em 1.3em;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1em 2.3em;
  font-size: 1rem;
}

/* Sur fond crème (bannière cookies), la variante fantôme redevient lisible */
.cookie-banner .btn--ghost {
  border-color: var(--forest);
  color: var(--forest);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.cookie-banner .btn--ghost:hover {
  background: rgba(18, 38, 29, 0.06);
  color: var(--forest);
}

/* Lien fléché */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--gold-dark);
}

.link-arrow svg {
  transition: transform var(--dur-fast) var(--ease);
}

.link-arrow:hover {
  color: var(--gold);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.link-arrow--sm {
  font-size: 0.85rem;
}

/* Pastille */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25em 0.9em;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-soft);
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: var(--radius-pill);
}

.chip--locked {
  color: var(--muted);
  background: rgba(18, 38, 29, 0.05);
  border-color: var(--line);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   4. Préchargeur
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--forest-deep), var(--forest) 70%);
  color: var(--cream);
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
  /* Filet de sécurité : masquage automatique même sans JS */
  animation: preloaderAutoHide 0s 3.2s forwards;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes preloaderAutoHide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.preloader__mark {
  color: var(--gold);
  animation: preloaderBreath 1.8s ease-in-out infinite;
}

.preloader__leaf {
  width: 64px;
  height: 64px;
}

@keyframes preloaderBreath {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(-8px); opacity: 1; }
}

.preloader__name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cream);
}

.preloader__bar {
  width: 160px;
  height: 2px;
  overflow: hidden;
  background: rgba(246, 241, 229, 0.16);
  border-radius: var(--radius-pill);
}

.preloader__bar span {
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: inherit;
  animation: preloaderBar 1.2s ease-in-out infinite;
}

@keyframes preloaderBar {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(240%); }
}

/* --------------------------------------------------------------------------
   5. En-tête & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream-2);
  transition: box-shadow var(--dur) var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

/* Bandeau supérieur */
.header-top {
  background: var(--forest);
  color: rgba(246, 241, 229, 0.85);
  font-size: 0.8rem;
  overflow: hidden;
  max-height: 60px;
  transition: max-height var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.site-header.is-scrolled .header-top {
  max-height: 0;
  opacity: 0;
}

.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  padding-block: 0.25rem;
}

.header-top__social {
  display: none;
  align-items: center;
  gap: 0.6rem;
}

.header-top__social a {
  display: inline-flex;
  color: rgba(246, 241, 229, 0.75);
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.header-top__social a:hover {
  color: var(--gold-light);
  transform: translateY(-1px);
}

.header-top__claim {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.header-top__contact {
  display: none;
  align-items: center;
  gap: 1rem;
}

.header-top__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: rgba(246, 241, 229, 0.85);
  transition: color var(--dur-fast) var(--ease);
}

.header-top__link:hover {
  color: var(--gold-light);
}

.header-top__link--mail {
  padding-left: 1rem;
  border-left: 1px solid rgba(246, 241, 229, 0.2);
}

/* Bande principal */
.header-main {
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 64px;
}

.site-header.is-scrolled .header-main__inner {
  min-height: 56px;
}

/* Logo */
/* Logo + nom + slogan */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  max-width: clamp(140px, 18vw, 180px);
  margin: 0 1.5rem 0 auto;
}

.brand__img {
  width: auto;
  height: 46px;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  min-width: 0;
}

.brand__text strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.02em;
  white-space: nowrap;

}

.brand__text small {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
  margin-top: 0.25rem;
}

/* Actions d'en-tête */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .btn {
  display: none;
}

/* Burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease);
}

.burger:hover {
  border-color: var(--gold);
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--forest);
  border-radius: var(--radius-pill);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

.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);
}

/* Barre de progression de défilement */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(201, 162, 75, 0.15);
}

.header-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transition: width 0.15s linear;
}

/* Navigation — panneau mobile */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  width: min(86vw, 360px);
  padding: 5rem 1.5rem 2rem;
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%);
  box-shadow: -20px 0 60px rgba(11, 23, 16, 0.45);
  overflow-y: auto;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
}

.nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.nav-list,
.nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  border-bottom: 1px solid rgba(246, 241, 229, 0.08);
}

.nav-list > li > a,
.nav .sub-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  padding: 0.9em 0.25em;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(246, 241, 229, 0.9);
  transition: color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}

.nav a:hover {
  color: var(--gold-light);
}

.nav-list > li.is-active > a {
  color: var(--gold);
}

/* Chevron du menu */
.caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur-fast) var(--ease);
}

.has-children[aria-expanded="true"] > a .caret {
  transform: rotate(-135deg) translateY(-2px);
}

/* Sous-menu (mobile : accordéon fermé par défaut) */
.nav .sub-menu {
  display: none;
  padding: 0.15rem 0 0.6rem 1rem;
}

.nav .has-children.is-open > .sub-menu {
  display: block;
}

.nav .sub-menu a {
  padding: 0.55em 0.25em;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(246, 241, 229, 0.72);
}

/* Voile derrière le panneau */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(11, 23, 16, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}

.nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   6. Fil d'Ariane
   -------------------------------------------------------------------------- */
.breadcrumb {
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.82rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.7rem 0;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.5rem;
  color: var(--gold);
}

.breadcrumb a {
  color: var(--body-fg);
}

.breadcrumb a:hover {
  color: var(--gold-dark);
}

.breadcrumb li[aria-current="page"] {
  color: var(--forest);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   7. Sections & en-têtes de section
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--section-pad);
}

.section--tight {
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.section--tint {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  border-block: 1px solid var(--line-soft);
}

.section--dark {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(201, 162, 75, 0.12), transparent 60%),
    linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: rgba(246, 241, 229, 0.85);
}

.section-foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}

.section-head__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.section-head__title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--forest);
}

.section-head__rule {
  display: block;
  width: 64px;
  height: 2px;
  margin: 0 auto 1.1rem;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: var(--radius-pill);
}

.section-head__lead {
  margin: 0 auto;
  max-width: 620px;
  color: var(--body-fg);
}

/* Version sur fond sombre */
.section-head--light .section-head__eyebrow {
  color: var(--gold-light);
}

.section-head--light .section-head__title {
  color: var(--cream);
}

/* Réglages locaux : filet aligné à gauche */
.split__body .section-head__rule,
.contact-info .section-head__rule,
.contact-form-wrap .section-head__rule {
  margin-inline: 0;
}

/* Paragraphe d'introduction */
.lead {
  margin: 0 0 2rem;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--forest-mid);
}

/* --------------------------------------------------------------------------
   8. Révélations au scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* --------------------------------------------------------------------------
   9. Hero (slideshow d'accueil)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 88vh;
  min-height: clamp(540px, 88svh, 880px);
  overflow: hidden;
  background: var(--forest-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Variante de repli : une image seule directement dans .hero__media */
.hero__media > img.hero__slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(11, 23, 16, 0.35) 0%, rgba(11, 23, 16, 0.15) 40%, rgba(11, 23, 16, 0.78) 100%),
    linear-gradient(90deg, rgba(11, 23, 16, 0.45) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-block: clamp(5rem, 12vh, 8rem) clamp(5rem, 10vh, 7rem);
  color: var(--cream);
}

.hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero__title {
  max-width: 15ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--cream);
}

.hero__title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}

.hero__lead {
  max-width: 54ch;
  margin: 0 0 2rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(246, 241, 229, 0.88);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

/* Points de navigation du slider */
.hero__dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(246, 241, 229, 0.6);
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  transition: width var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.hero__dot:hover {
  border-color: var(--gold-light);
}

.hero__dot.is-active {
  width: 30px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-color: var(--gold);
}

/* Légende dynamique */
.hero__caption {
  position: absolute;
  right: clamp(1.15rem, 4vw, 2.5rem);
  bottom: clamp(1.25rem, 4vh, 2.5rem);
  z-index: 3;
  max-width: 40vw;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(246, 241, 229, 0.75);
  text-align: right;
  pointer-events: none;
}

.hero__caption:empty {
  display: none;
}

/* Invite à faire défiler */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  z-index: 3;
  display: none;
  width: 26px;
  height: 44px;
  border: 1.5px solid rgba(246, 241, 229, 0.55);
  border-radius: var(--radius-pill);
  transform: translateX(-50%);
}

.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--gold-light);
  border-radius: var(--radius-pill);
  animation: heroScrollDot 1.8s ease-in-out infinite;
}

@keyframes heroScrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* --------------------------------------------------------------------------
   10. Bandeau de faits (compteurs)
   -------------------------------------------------------------------------- */
.fact-strip {
  background: var(--forest);
  border-block: 1px solid rgba(201, 162, 75, 0.25);
}

.fact-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1rem;
  padding-block: clamp(2rem, 5vw, 3rem);
}

.fact {
  text-align: center;
}

.fact__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.fact__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, 0.72);
}

/* --------------------------------------------------------------------------
   11. Grilles de cartes
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: 1fr;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 162, 75, 0.45);
}

a.card:hover,
.card--link:hover {
  color: inherit;
}

.card--link {
  cursor: pointer;
}

.card__media {
  overflow: hidden;
  aspect-ratio: 8 / 5.6;
  background: var(--cream);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.06);
}

.card__icon {
  display: grid;
  place-items: center;
  padding: 1.75rem 1rem 0;
}

.card__icon span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  font-size: 1.8rem;
  background: var(--gold-soft);
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: var(--radius-pill);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.card__title {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  color: var(--forest);
}

.card__text {
  margin: 0 0 0.5rem;
  color: var(--body-fg);
  font-size: 0.96rem;
}

.card__text p {
  margin: 0 0 0.7em;
}

.card__text p:last-child {
  margin-bottom: 0;
}

.card__body .link-arrow {
  margin-top: auto;
  padding-top: 0.5rem;
}

.child-grid {
  margin-top: 3rem;
}

/* --------------------------------------------------------------------------
   12. Grille hébergements (offres)
   -------------------------------------------------------------------------- */
.offer-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: 1fr;
}

.offer {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.offer:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 162, 75, 0.5);
  color: inherit;
}

.offer__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--cream);
}

.offer__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.offer:hover .offer__media img {
  transform: scale(1.07);
}

.offer__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: clamp(1.15rem, 3vw, 1.6rem);
}

.offer__title {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.2;
}

.offer__desc {
  font-size: 0.93rem;
  color: var(--body-fg);
}

.offer__more {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  transition: color var(--dur-fast) var(--ease);
}

.offer:hover .offer__more {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   13. Bloc « split » (image + texte)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.split__badge {
  position: absolute;
  left: 1.25rem;
  bottom: -1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 116px;
  text-align: center;
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
  color: var(--forest);
  border: 3px solid var(--cream-2);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold);
}

.split__badge strong {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.split__badge span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.split__body .section-head__title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

/* Liste à cocher */
.check-list {
  list-style: none;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.9em;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  display: grid;
  place-items: center;
  width: 1.3em;
  height: 1.3em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--forest);
  background: var(--gold-soft);
  border: 1px solid rgba(201, 162, 75, 0.45);
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   14. Témoignages
   -------------------------------------------------------------------------- */
.testi-carousel {
  position: relative;
}

.testi-carousel .carousel__nav[disabled] {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.testi-track {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  padding: 0.5rem clamp(1rem, 5vw, 3.5rem) 1.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: clamp(1rem, 5vw, 3.5rem);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testi-track::-webkit-scrollbar {
  display: none;
}

.testi-track:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.testi {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: clamp(260px, 30vw, 350px);
  margin: 0;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background: rgba(246, 241, 229, 0.06);
  border: 1px solid rgba(201, 162, 75, 0.28);
  border-radius: var(--radius);
  scroll-snap-align: start;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.testi:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 75, 0.6);
}

.testi__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.testi__date {
  flex: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, 0.55);
  white-space: nowrap;
}

.testi__toggle {
  align-self: flex-start;
  margin: -0.15rem 0 0;
  padding: 0;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(201, 162, 75, 0.5);
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.testi__toggle:hover {
  color: var(--cream);
  border-color: var(--cream);
}

.testi__toggle[hidden] {
  display: none;
}

.testi__stars {
  display: flex;
  gap: 0.2rem;
  color: var(--gold-light);
}

.testi__text {
  position: relative;
  max-height: calc(var(--testi-lines, 10) * 1.55em);
  margin: 0;
  overflow: hidden;
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-style: italic;
  line-height: 1.55;
  color: rgba(246, 241, 229, 0.92);
}

.testi__text > :first-child {
  margin-top: 0;
}

.testi__text > :last-child {
  margin-bottom: 0;
}

.testi__text p {
  margin: 0 0 0.75em;
}

.testi.is-expanded .testi__text {
  max-height: none;
}

.testi__author {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.testi__source {
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(246, 241, 229, 0.7);
}

.testi__source a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.testi-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  max-width: 760px;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.25rem, 3vw, 2rem);
  background: rgba(201, 162, 75, 0.08);
  border: 1px solid rgba(201, 162, 75, 0.32);
  border-radius: var(--radius);
  text-align: center;
}

.testi-summary__score {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  margin: 0;
  font-family: var(--font-head);
  color: var(--gold-light);
}

.testi-summary__value {
  font-size: clamp(2.1rem, 5vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
}

.testi-summary__max {
  font-size: 1.05rem;
  color: rgba(246, 241, 229, 0.7);
}

.testi-summary__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
}

.testi-summary__count {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246, 241, 229, 0.78);
}

.testi-summary__cta {
  margin: 0;
}

.testi__via {
  display: inline-block;
  margin-left: 0.55rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(246, 241, 229, 0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 241, 229, 0.25);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.testi__via:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   15. Cartes d'actualités
   -------------------------------------------------------------------------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.post-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--cream);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.post-card:hover .post-card__media img {
  transform: scale(1.06);
}

.post-card__cat {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.25em 0.95em;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: var(--radius-pill);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
  padding: clamp(1.15rem, 3vw, 1.6rem);
}

.post-card__date {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-card__title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.25;
}

.post-card__title a {
  color: var(--forest);
}

.post-card__title a:hover {
  color: var(--gold-dark);
}

.post-card__excerpt {
  margin: 0 0 0.6rem;
  font-size: 0.93rem;
  color: var(--body-fg);
}

.post-card__body .link-arrow {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   16. Bandeau appel à l'action
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
}

.cta-band__bg {
  position: absolute;
  inset: 0;
}

.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.cta-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 23, 16, 0.88) 15%, rgba(18, 38, 29, 0.6) 100%);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 10vw, 7rem);
  text-align: center;
}

.cta-band__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--cream);
}

.cta-band__lead {
  max-width: 58ch;
  margin: 0 auto;
  color: rgba(246, 241, 229, 0.85);
}

.cta-band .hero__cta {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   17. Héros de page (page-hero)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(280px, 42vh, 420px);
  overflow: hidden;
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-deep) 100%);
}

/* Variante sans image : dégradé + pointillés dorés */
.page-hero--plain {
  background:
    radial-gradient(circle at 88% 18%, rgba(201, 162, 75, 0.16), transparent 42%),
    radial-gradient(circle at 8% 90%, rgba(201, 162, 75, 0.10), transparent 45%),
    linear-gradient(150deg, var(--forest) 0%, var(--forest-deep) 100%);
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 23, 16, 0.25) 0%, rgba(11, 23, 16, 0.8) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(3.5rem, 9vh, 5.5rem);
}

.page-hero__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.page-hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--cream);
}

.page-hero__lead {
  max-width: 60ch;
  margin: 0.9rem 0 0;
  color: rgba(246, 241, 229, 0.82);
}

/* --------------------------------------------------------------------------
   18. Contenu éditorial (prose)
   -------------------------------------------------------------------------- */
.prose {
  color: var(--body-fg);
}

.prose > *:first-child {
  margin-top: 0;
}

.prose > *:last-child {
  margin-bottom: 0;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.prose h3 {
  margin-top: 1.8em;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}

.prose h4 {
  margin-top: 1.5em;
  font-size: 1.15rem;
}

.prose a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--gold);
}

.prose img,
.prose figure {
  margin: 1.75rem auto;
  border-radius: var(--radius);
}

.prose figure img {
  margin: 0;
  box-shadow: var(--shadow-md);
}

.prose figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
}

.prose blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--forest-mid);
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.prose table {
  width: 100%;
  margin: 1.75rem 0;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  padding: 0.7em 0.9em;
  border: 1px solid var(--line);
  text-align: left;
}

.prose th {
  background: var(--cream);
  color: var(--forest);
}

.prose hr {
  height: 1px;
  margin: 2.5rem 0;
  border: 0;
  background: var(--line);
}

.prose--article {
  font-size: 1.06rem;
}

/* Navigation entre pages « sœurs » */
.sibling-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin: 2.5rem 0;
  padding: 1.1rem 1.35rem;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.sibling-nav__label {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--forest-mid);
}

.sibling-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sibling-nav a {
  display: inline-flex;
  padding: 0.3em 1em;
  font-size: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--body-fg);
  transition: all var(--dur-fast) var(--ease);
}

.sibling-nav a:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--forest);
}

.prose-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 3rem;
}

/* --------------------------------------------------------------------------
   18.b Carrousel de page (galerie d'images extraite du contenu)
   -------------------------------------------------------------------------- */
.page-gallery {
  padding-block: clamp(2.5rem, 6vw, 4rem) 0;
}

.page-gallery .container {
  max-width: 1000px;
}

.carousel {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.carousel__viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.carousel__track {
  position: absolute;
  inset: 0;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}

.carousel__slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  z-index: 1;
}

.carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  color: var(--cream);
  background: rgba(11, 23, 16, 0.5);
  border: 1px solid rgba(246, 241, 229, 0.35);
  border-radius: var(--radius-pill);
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
}

.carousel__nav:hover {
  color: var(--forest);
  background: var(--gold);
  border-color: var(--gold);
}

.carousel__nav--prev {
  left: clamp(0.75rem, 2vw, 1.25rem);
}

.carousel__nav--next {
  right: clamp(0.75rem, 2vw, 1.25rem);
}

.carousel__dots {
  position: absolute;
  left: 50%;
  bottom: clamp(0.85rem, 2.5vw, 1.4rem);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(246, 241, 229, 0.7);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: width var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.carousel__dot:hover {
  border-color: var(--gold-light);
}

.carousel__dot.is-active {
  width: 26px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-color: var(--gold);
}

.carousel__count {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.1rem);
  right: clamp(0.75rem, 2vw, 1.1rem);
  z-index: 3;
  margin: 0;
  padding: 0.2em 0.8em;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  background: rgba(11, 23, 16, 0.55);
  border-radius: var(--radius-pill);
}

@media (max-width: 639px) {
  .carousel__viewport {
    aspect-ratio: 4 / 3;
  }
}

/* --------------------------------------------------------------------------
   19. Page contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  align-items: start;
}

.contact-info,
.contact-form-wrap {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-info__title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.contact-list {
  display: grid;
  gap: 1.25rem;
  margin: 1.75rem 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.contact-list__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--gold-dark);
  background: var(--gold-soft);
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: var(--radius-pill);
}

.contact-list strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--forest);
}

.contact-list span,
.contact-list a {
  display: block;
  font-size: 0.95rem;
}

.contact-list a:hover {
  color: var(--gold-dark);
}

.contact-list .link-arrow {
  display: inline-flex;
  margin-top: 0.3rem;
}

.contact-quote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.contact-quote p {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--forest-mid);
}

.contact-quote cite {
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.contact-langs {
  margin-bottom: 1.75rem;
}

.contact-langs > strong {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--forest);
}

.flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.flag {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--forest);
  background: var(--cream);
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
}

.contact-map {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

/* Alertes */
.alert {
  margin: 0 0 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.alert ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2em;
}

.alert--success {
  color: #1d5c33;
  background: rgba(38, 122, 66, 0.10);
  border: 1px solid rgba(38, 122, 66, 0.35);
}

.alert--error {
  color: #8c2f23;
  background: rgba(180, 60, 45, 0.09);
  border: 1px solid rgba(180, 60, 45, 0.35);
}

/* Formulaire */
.form {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.form-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.8em 1em;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.18);
}

/* Case à cocher personnalisée */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--body-fg);
  cursor: pointer;
}

.checkbox input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.2em;
  accent-color: var(--gold);
  cursor: pointer;
}

.checkbox a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Champ pot de miel (honeypot) : hors écran */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   20. Galerie
   -------------------------------------------------------------------------- */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.55em 1.3em;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--body-fg);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}

.gallery-tab:hover {
  border-color: var(--gold);
  color: var(--forest);
}

.gallery-tab.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.gallery-tab__count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 0.4em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--gold-soft);
  border-radius: var(--radius-pill);
}

.gallery-tab.is-active .gallery-tab__count {
  background: var(--gold);
}

.gallery-panel.is-active {
  display: block;
}

/* Masonry en colonnes CSS */
.masonry {
  columns: 1;
  column-gap: 1.15rem;
}

.masonry__item {
  position: relative;
  break-inside: avoid;
  margin: 0 0 1.15rem;
}

.masonry__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--cream);
  border: 0;
  border-radius: var(--radius);
  cursor: zoom-in;
}

.masonry__btn img {
  width: 100%;
  height: auto;
  transition: transform 0.9s var(--ease);
}

.masonry__btn:hover img {
  transform: scale(1.05);
}

.masonry__zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.masonry__btn:hover .masonry__zoom,
.masonry__btn:focus-visible .masonry__zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.masonry__item figcaption {
  margin-top: 0.5rem;
  font-size: 0.83rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1rem;
  background: rgba(9, 18, 13, 0.94);
  animation: lightboxIn 0.3s var(--ease);
}

@keyframes lightboxIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox__figure {
  margin: 0;
  max-width: min(1100px, 94vw);
  text-align: center;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.lightbox__figure figcaption {
  margin-top: 1rem;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(246, 241, 229, 0.85);
}

.lightbox__close {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 162, 75, 0.45);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.lightbox__close:hover {
  background: var(--gold);
  color: var(--forest);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 162, 75, 0.45);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.lightbox__nav:hover {
  background: var(--gold);
  color: var(--forest);
}

.lightbox__nav--prev { left: 0.85rem; }
.lightbox__nav--next { right: 0.85rem; }

/* --------------------------------------------------------------------------
   21. Article & partage
   -------------------------------------------------------------------------- */
.article {
  background: var(--cream-2);
}

.article__hero {
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
}

.article__hero img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding: 1.1rem 1.35rem;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.share__label {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--forest-mid);
}

.share__btn {
  display: inline-flex;
  padding: 0.35em 1.15em;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--body-fg);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}

.share__btn:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--forest);
}

.related {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}

.related .section-head__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 1.5rem;
}

.back-link {
  margin-top: clamp(2rem, 5vw, 3rem);
}

/* --------------------------------------------------------------------------
   22. Pagination
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 0.4em 0.95em;
  font-size: 0.9rem;
  color: var(--body-fg);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  transition: all var(--dur-fast) var(--ease);
}

.pagination__item:hover {
  border-color: var(--gold);
  color: var(--forest);
}

.pagination__item.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.pagination__gap {
  padding-inline: 0.35em;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   23. Page 404
   -------------------------------------------------------------------------- */
.notfound {
  display: flex;
  align-items: center;
  min-height: 70vh;
  padding-block: var(--section-pad);
  background:
    radial-gradient(700px 320px at 80% 10%, rgba(201, 162, 75, 0.10), transparent 60%),
    var(--cream-2);
}

.notfound__inner {
  text-align: center;
}

.notfound__code {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(6rem, 20vw, 13rem);
  font-weight: 700;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
  opacity: 0.85;
}

.notfound__title {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.notfound__text {
  max-width: 56ch;
  margin: 0 auto 2rem;
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.notfound__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.notfound__links a {
  display: inline-flex;
  padding: 0.35em 1.1em;
  font-size: 0.88rem;
  color: var(--body-fg);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  transition: all var(--dur-fast) var(--ease);
}

.notfound__links a:hover {
  border-color: var(--gold);
  color: var(--forest);
}

/* --------------------------------------------------------------------------
   24. Plan du site
   -------------------------------------------------------------------------- */
.sitemap-tree {
  font-size: 0.98rem;
}

.sitemap-list {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  list-style: none;
}

.sitemap-list li {
  position: relative;
  padding: 0.28rem 0 0.28rem 0.9em;
  border-left: 1px solid var(--line);
}

.sitemap-list li::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 1.15em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: var(--radius-pill);
}

.sitemap-list a {
  color: var(--body-fg);
}

.sitemap-list a:hover {
  color: var(--gold-dark);
}

.sitemap-list--root {
  padding-left: 0;
  border-left: 0;
}

.sitemap-list--root > li {
  padding-left: 0;
  border-left: 0;
  font-weight: 500;
}

.sitemap-list--root > li::before {
  display: none;
}

.sitemap-list--root > li > a {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--forest);
}

.sitemap-section {
  margin-top: clamp(2rem, 5vw, 3rem);
}

/* --------------------------------------------------------------------------
   25. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: rgba(246, 241, 229, 0.78);
}

.footer-wave {
  display: block;
  line-height: 0;
  color: var(--cream-2);
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: clamp(36px, 6vw, 90px);
}

.footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.footer-col {
  min-width: 0;
}

.footer-col--brand {
  max-width: 440px;
}

.footer-logo {
  height: auto;
  width: 160px;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.footer-blurb {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(246, 241, 229, 0.72);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.social-chip {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--cream);
  background: rgba(246, 241, 229, 0.08);
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: var(--radius-pill);
  transition: all var(--dur-fast) var(--ease);
}

.social-chip:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest);
  transform: translateY(-2px);
}

.footer-title {
  margin: 0 0 1.1rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  position: relative;
  padding-left: 1em;
  font-size: 0.92rem;
  color: rgba(246, 241, 229, 0.78);
}

.footer-links a::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.7;
  transition: transform var(--dur-fast) var(--ease);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-links a:hover::before {
  transform: translateX(3px);
}

.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.footer-contact li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: 0.92rem;
}

.footer-contact svg {
  margin-top: 0.25em;
  color: var(--gold);
}

.footer-contact a {
  color: rgba(246, 241, 229, 0.78);
}

.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(246, 241, 229, 0.1);
  background: rgba(11, 23, 16, 0.55);
}

.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-block: 1.1rem;
  font-size: 0.82rem;
  color: rgba(246, 241, 229, 0.6);
  text-align: center;
}

.footer-bottom__inner p {
  margin: 0;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom__links a {
  color: rgba(246, 241, 229, 0.6);
}

.footer-bottom__links a:hover {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   26. Bouton retour en haut & contact rapide
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--cream);
  background: var(--forest);
  border: 1px solid rgba(201, 162, 75, 0.55);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity var(--dur) var(--ease),
    visibility var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    background-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--gold);
  color: var(--forest);
}

.quick-contact {
  position: fixed;
  right: 1.15rem;
  bottom: 5.25rem;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.quick-contact__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--forest);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.quick-contact__btn--mail {
  background: var(--forest);
  color: var(--cream);
  border-color: rgba(201, 162, 75, 0.55);
}

.quick-contact__btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 14px 32px rgba(201, 162, 75, 0.45);
}

/* --------------------------------------------------------------------------
   27. Bannière cookies (RGPD)
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 260;
  width: min(1120px, calc(100% - 2rem));
  transform: translateX(-50%);
  background: var(--cream-2);
  border: 1px solid rgba(201, 162, 75, 0.5);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: cookieIn 0.5s var(--ease);
}

@keyframes cookieIn {
  from { opacity: 0; transform: translate(-50%, 24px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Transition « choix enregistré » avant masquage */
.cookie-banner.is-saved {
  opacity: 0;
  transform: translate(-50%, 26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.cookie-banner__inner {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.15rem, 3vw, 1.75rem);
}

.cookie-banner__title {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  color: var(--forest);
}

.cookie-banner__title svg {
  color: var(--gold-dark);
  flex: none;
}

.cookie-banner__text p {
  margin: 0;
  font-size: 0.92rem;
}

.cookie-banner__more {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.cookie-panel {
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
  animation: cookiePanelIn 0.35s var(--ease);
}

@keyframes cookiePanelIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.cookie-panel__list {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.cookie-item {
  padding: 0.9rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}

.cookie-item--locked {
  background: rgba(18, 38, 29, 0.03);
}

.cookie-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.cookie-item__desc {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.cookie-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Interrupteur */
.switch {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  user-select: none;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.switch__track {
  position: relative;
  flex: none;
  width: 42px;
  height: 24px;
  background: rgba(18, 38, 29, 0.18);
  border-radius: var(--radius-pill);
  transition: background-color var(--dur-fast) var(--ease);
}

.switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease);
}

.switch input:checked + .switch__track {
  background: var(--gold);
}

.switch input:checked + .switch__track::after {
  transform: translateX(18px);
}

.switch input:focus-visible + .switch__track {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.switch__label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--forest);
}

/* Bouton de réouverture */
.cookie-reopen {
  position: fixed;
  left: 1.15rem;
  bottom: 1.15rem;
  z-index: 250;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--gold-dark);
  background: var(--cream-2);
  border: 1px solid rgba(201, 162, 75, 0.55);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.cookie-reopen:hover {
  background: var(--gold);
  color: var(--forest);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   28. Points d'arrêt — tablette ≥ 640px
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .masonry {
    columns: 2;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .fact-strip__grid {
    gap: 2rem;
  }

  .footer-bottom__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .hero__scroll {
    display: block;
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .cookie-banner__actions {
    justify-content: flex-end;
  }

  .cookie-panel {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------------------
   29. Points d'arrêt — desktop ≥ 900px (fin du menu panneau)
   -------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .header-top__social,
  .header-top__contact {
    display: flex;
  }

  .brand__img {
    height: 58px;
  }

  .header-main__inner {
    min-height: 76px;
  }

  .site-header.is-scrolled .header-main__inner {
    min-height: 62px;
  }

  .burger {
    display: none;
  }

  .header-actions .btn {
    display: inline-flex;
  }

  /* Navigation horizontale + dropdowns */
  .nav {
    position: static;
    width: auto;
    padding: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
    transform: none;
    visibility: visible;
    transition: none;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: clamp(0.25rem, 1.2vw, 1rem);
  }

  .nav-list > li {
    position: relative;
    border-bottom: 0;
  }

  .nav-list > li > a {
    padding: 0.65em 0.7em;
    color: var(--forest);
    font-size: 0.93rem;
  }

  .nav-list > li > a:hover {
    color: var(--gold-dark);
  }

  .nav-list > li.is-active > a {
    color: var(--gold-dark);
  }

  /* Filet doré sous l'élément actif */
  .nav-list > li.is-active > a::after,
  .nav-list > li > a:hover::after {
    content: "";
    position: absolute;
    left: 0.7em;
    right: 0.7em;
    bottom: 0.15em;
    height: 1.5px;
    background: var(--gold);
  }

  .nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 130;
    display: block;
    min-width: 240px;
    padding: 0.6rem 0;
    background: var(--cream-2);
    border: 1px solid var(--line-soft);
    border-top: 2px solid var(--gold);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--dur-fast) var(--ease), visibility var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  }

  .nav .sub-menu a {
    padding: 0.5em 1.25em;
    color: var(--body-fg);
    font-size: 0.9rem;
  }

  .nav .sub-menu a:hover {
    color: var(--gold-dark);
    background: var(--gold-soft);
  }

  /* Ouverture au survol, au focus clavier ou via aria-expanded */
  .nav-list > li.has-children:hover > .sub-menu,
  .nav-list > li.has-children:focus-within > .sub-menu,
  .nav-list > li.has-children.is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* Sous-niveaux : ouverture latérale */
  .nav .sub-menu .sub-menu {
    top: -0.65rem;
    left: 100%;
    border-radius: 0 var(--radius) var(--radius) 0;
  }

  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split .check-list {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }

  .masonry {
    columns: 3;
  }

  .fact-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   30. Points d'arrêt — large ≥ 1100px
   -------------------------------------------------------------------------- */
@media (min-width: 1100px) {
  .brand__text {
    display: flex;
  }

  .brand__img {
    height: 64px;
  }

  .nav-list > li > a {
    font-size: 0.97rem;
    padding: 0.65em 0.85em;
  }

  .hero__caption {
    max-width: 30vw;
  }
}

/* --------------------------------------------------------------------------
   31. Accessibilité — mouvement réduit
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Le préchargeur se masque sans transition (durée d'animation = 0) */
  .preloader {
    animation-delay: 10ms !important;
  }

  .hero__scroll span {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   32. Impression
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .to-top,
  .quick-contact,
  .cookie-banner,
  .cookie-reopen,
  .preloader,
  .hero__dots,
  .hero__scroll,
  .nav-overlay {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
