/* ═══════════════════════════════════════════════════════
   LA FERME DU GRAILLOU — STYLESHEET v2
   Design: Premium terroir, animations fluides, full-responsive
   Palette: Bordeaux #7B1517 | Or #C4965A | Crème #FAF7F2
═══════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────
   1. VARIABLES
────────────────────────────────────────────────────── */
:root {
  /* Couleurs */
  --rouge:        #7B1517;
  --rouge-dk:     #5A0F10;
  --rouge-lt:     #9B2527;
  --or:           #C4965A;
  /* Or lisible sur fond clair. #C4965A plafonne a 2,5:1 la ou AA exige
     4,5:1 ; celui-ci tient 5,8:1 sur creme. La variable etait utilisee
     par les pages du Carnet sans avoir jamais ete declaree : les
     surtitres s'affichaient en gris herite. */
  --or-txt:       #7E5A20;
  /* Or pose sur photo ou fond sombre. #D4A96A plafonnait a 2,5:1 sur
     les heros clairs : trop sombre pour du texte de 12 px. Eclairci
     jusqu'a passer AA sur les fonds les plus clairs du site, sans
     quitter la famille doree. */
  --or-lt:        #EBD3A3;
  --or-pale:      #EDD9B5;
  --creme:        #FAF7F2;
  --creme-dk:     #F0E5D4;
  --texte:        #2A2A2A;
  --texte-lt:     #5C5C5C;
  --noir:         #1A1A1A;
  --blanc:        #FFFFFF;

  /* Canaux des couleurs de marque, pour les usages semi-transparents.
     Sans eux, chaque rgba() reecrit les composantes a la main et finit
     par deriver : on avait trois noirs differents dans le seul voile
     du hero. */
  --noir-rgb:     26,26,26;
  --creme-rgb:    250,247,242;
  --blanc-rgb:    255,255,255;
  --gris:         #F4EEE5;

  /* Typographie */
  --f-head:   'Playfair Display', Georgia, serif;
  --f-body:   'Lato', 'Helvetica Neue', Arial, sans-serif;
  --f-script: 'Dancing Script', cursive;

  /* Espacement */
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  24px;
  --sp-lg:  40px;
  --sp-xl:  64px;
  --sp-2xl: 96px;

  /* Design */
  --radius:    10px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  /* Ombres chaudes, en couches : une ombre neutre sur un fond creme
     tire vers le gris. --ombre-rgb nomme ce noir brun pour qu'il ne
     soit plus un nombre magique reecrit a chaque usage. */
  --ombre-rgb: 26,16,10;
  --shadow-sm: 0 1px 2px rgba(var(--ombre-rgb),.05), 0 2px 8px rgba(var(--ombre-rgb),.05);
  --shadow:    0 1px 2px rgba(var(--ombre-rgb),.06), 0 4px 14px rgba(var(--ombre-rgb),.07),
               0 12px 34px rgba(var(--ombre-rgb),.06);
  --shadow-lg: 0 2px 4px rgba(var(--ombre-rgb),.06), 0 8px 24px rgba(var(--ombre-rgb),.09),
               0 24px 64px rgba(var(--ombre-rgb),.10);
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);

  --max-w: 1200px;
  --section-py: 132px;
  --mesure: 68ch;
}

/* ──────────────────────────────────────────────────────
   2. RESET & BASE
────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  /* scroll-behavior est declare plus bas sous prefers-reduced-motion:
     no-preference, pour ne pas l'imposer a qui demande moins d'animation.

     overflow-x: hidden a ete retire de html et de body : il masquait les
     debordements au lieu de les corriger, y compris aux tests automatises.
     Les douze pages ont ete mesurees sans lui a 375, 390 et 1280 px de
     large : scrollWidth egale innerWidth partout. Le menu coulissant, en
     position:fixed hors cadre, n'entre pas dans la largeur du document. */
  /* Hauteur reelle de l'obstacle fixe, mesuree au navigateur :
     en-tete 68 px + 16 px de respiration. Sans cela, la cible d'une
     ancre atterrit sous la barre. */
  scroll-padding-top: 84px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  color: var(--texte);
  background: var(--creme);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font-family: inherit; cursor: pointer; }

/* Le gras rouge applique a chaque mot-cle donnait au texte courant un
   aspect de bourrage de mots-cles. L'emphase se marque par la graisse. */
strong { font-weight: 700; color: inherit; }
em { font-style: italic; }
p { margin-bottom: .8rem; }
p:last-child { margin-bottom: 0; }

/* ──────────────────────────────────────────────────────
   3. SCROLL PROGRESS BAR
────────────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 9999;
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────
   4. ANIMATIONS AU SCROLL (état initial – GSAP prend le relais)
────────────────────────────────────────────────────── */
[data-animate] {
  /* Masqué par défaut ; GSAP anime vers opacity:1 via ScrollTrigger */
  opacity: 0;
}

/* ──────────────────────────────────────────────────────
   5. TYPOGRAPHIE FLUIDE
────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--f-head);
  line-height: 1.1;
  letter-spacing: -.018em;
  color: var(--texte);
  text-wrap: balance;        /* evite les veuves sur les titres courts */
}
p, li { text-wrap: pretty; }

.section-title {
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin-bottom: var(--sp-md);
}
.section-title--light { color: var(--creme); }

.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  /* --or (#C4965A) ne donne que 2,47:1 sur le creme : sous le seuil AA.
     --or-txt (#7E5A20) monte a 5,83:1 pour la meme famille de teinte. */
  color: var(--or-txt);
  margin-bottom: 12px;
}
.eyebrow--light { color: var(--or-lt); }

.lead-text {
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 300;
  color: var(--texte-lt);
}

.intro-text {
  font-size: clamp(.95rem, 1.8vw, 1.05rem);
  color: var(--texte-lt);
  max-width: 620px;
  margin: 0 auto;
}
.intro-text--light { color: rgba(250,247,242,.75); }

/* ──────────────────────────────────────────────────────
   6. LAYOUT UTILITAIRES
────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.container--narrow { max-width: 820px; }

.section { padding: var(--section-py) 0; }

.section-header-centered {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.d-none-sm { display: inline; }

/* ──────────────────────────────────────────────────────
   7. BOUTONS
────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: 100px;
  border: 2px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .2s var(--ease),
              box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0);    box-shadow: none; }

.btn-primary { background: var(--rouge); color: var(--blanc); border-color: var(--rouge); }
.btn-primary:hover { background: var(--rouge-dk); border-color: var(--rouge-dk); }

.btn-ghost { background: transparent; color: var(--blanc); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--blanc); }

.btn-secondary { background: var(--blanc); color: var(--rouge); border-color: var(--blanc); }
.btn-secondary:hover { background: var(--creme); border-color: var(--creme); }
.btn-outline-light { background: transparent; color: var(--blanc); border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: var(--blanc); }

/* ──────────────────────────────────────────────────────
   8. TAGS & PILLS
────────────────────────────────────────────────────── */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.tag {
  display: inline-block;
  background: var(--creme-dk);
  border: 1px solid var(--or-pale);
  color: var(--rouge);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
}

/* ──────────────────────────────────────────────────────
   9. IMAGES
────────────────────────────────────────────────────── */
.img-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.img-frame:hover img { transform: scale(1.04); }

.img-frame--tall img { aspect-ratio: 1/1; }

figcaption {
  font-size: .78rem;
  color: var(--texte-lt);
  font-style: italic;
  margin-top: 10px;
  text-align: center;
}

/* ──────────────────────────────────────────────────────
   10. NAVIGATION
────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 8px 0;
  /* Avant defilement l'en-tete n'avait aucun fond : les liens blancs
     passaient directement sur la photo. Sur un hero clair (le ciel du
     sommaire du Carnet) le contraste tombait a 2,1:1. Ce voile, lisible
     comme une ombre naturelle sous la barre, ne change rien sur un hero
     sombre et sauve les heros clairs. */
  background: linear-gradient(to bottom,
    rgba(var(--noir-rgb), .74) 0%,
    rgba(var(--noir-rgb), .38) 62%,
    transparent 100%);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}

.site-header.is-scrolled {
  /* Le fond etait a rgba(26,26,26,.97) double d'un backdrop-filter:
     blur(12px). A 97 % d'opacite le flou est invisible, mais l'en-tete
     est position:fixed sur toute la largeur : le compositeur recalculait
     le flou du fond a chaque frame de defilement. Fond opaque, flou
     supprime : rendu identique, cout nul. */
  background: var(--noir);
  box-shadow: 0 2px 24px rgba(0,0,0,.28);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img {
  height: 52px;
  width: auto;
  transition: height .3s var(--ease);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}
.site-header.is-scrolled .nav-logo img { height: 42px; }

/* Desktop menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  padding: 9px 14px;
  border-radius: 100px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 14px; right: 14px;
  height: 2px;
  background: var(--or);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}

.nav-link:hover, .nav-link.is-active { color: var(--blanc); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--rouge) !important;
  color: var(--blanc) !important;
  margin-left: 8px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--rouge-dk) !important; }

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px; height: 38px;
  padding: 8px 5px;
  background: transparent;
  border: none;
  z-index: 901;
}

.burger-line {
  display: block;
  width: 100%; height: 2px;
  background: var(--blanc);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}

.nav-toggle.is-open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 899;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.nav-overlay.is-visible { opacity: 1; pointer-events: auto; }

/* ──────────────────────────────────────────────────────
   11. HERO
────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.05);
  animation: hero-zoom 14s ease-out forwards;
}

@keyframes hero-zoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Voile radial central en plus des degrades : sans lui le titre se
     posait directement sur les visages, sans separation lisible. */
  background:
    /* Trois couches empilees : un creux radial au centre pour detacher
       le titre, une remontee depuis le bas, un coin superieur gauche.
       Elles utilisaient trois noirs differents ecrits a la main
       (18,13,11 / 26,26,26 / 12,12,12) sans raison : meme role, meme
       base desormais, seules les opacites different. */
    radial-gradient(ellipse 92% 64% at 50% 44%, rgba(var(--noir-rgb),.60) 0%, transparent 74%),
    linear-gradient(to top, rgba(var(--noir-rgb),.88) 0%, rgba(var(--noir-rgb),.12) 56%),
    linear-gradient(165deg, rgba(var(--noir-rgb),.42) 0%, transparent 62%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--blanc);
  padding: 130px 24px 90px;
  max-width: 720px;
  width: 100%;
}

/* Stagger animation hero – géré par GSAP */
.hero-anim {
  opacity: 0; /* état initial ; GSAP anime via timeline */
}

.hero-eyebrow {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--or-lt);
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 700;
  line-height: 1.02;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
  margin-bottom: 12px;
  color: var(--blanc);
}

.hero-script {
  font-family: var(--f-script);
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  color: var(--blanc);
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: clamp(.9rem, 2vw, 1.05rem);
  font-weight: 300;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll cue – bobbing et fade-in gérés par GSAP */
.hero-scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0; /* état initial ; GSAP anime */
}

.scroll-mouse {
  display: block;
  width: 28px; height: 44px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 14px;
  position: relative;
  margin: 0 auto;
  transition: border-color .2s;
}

.scroll-mouse:hover { border-color: rgba(255,255,255,.9); }

.scroll-mouse span {
  display: block;
  width: 4px; height: 8px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  animation: mouse-scroll 2s ease-in-out infinite;
}

@keyframes mouse-scroll {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ──────────────────────────────────────────────────────
   12. STATS BAND
────────────────────────────────────────────────────── */
.stats-band {
  background: var(--rouge);
  padding: 48px 0;
  overflow: hidden;
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 48px;
  color: var(--blanc);
}

/* Le suffixe doit suivre le nombre sur la meme ligne. L'ancienne regle
   ciblait .stat-num lui-meme, pas un conteneur : le « % » tombait donc
   a la ligne en dessous du chiffre. */
.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.stat-num {
  font-family: var(--f-head);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
}

.stat-suffix {
  font-family: var(--f-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--or-lt);
}

.stat-label {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-top: 6px;
}

.stat-sep {
  width: 1px; height: 56px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────
   13. SPLIT LAYOUT (Histoire, Boutique)
────────────────────────────────────────────────────── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 80px);
  align-items: center;
}

.split-layout--dark { direction: rtl; }
.split-layout--dark > * { direction: ltr; }

.section-histoire { background: var(--creme); }
.section-boutique { background: var(--gris); }

/* ──────────────────────────────────────────────────────
   14. SECTION TROUPEAU
────────────────────────────────────────────────────── */
.section-troupeau {
  background: var(--noir);
  position: relative;
  overflow: hidden;
}

.section-troupeau::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(123,21,23,.25) 0%, transparent 65%);
  pointer-events: none;
}

.section-troupeau .container { position: relative; z-index: 1; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.feature-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  border-color: rgba(196,150,90,.3);
}

.feature-card-img {
  height: 210px;
  overflow: hidden;
}

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

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

.feature-card-body {
  padding: 24px 24px 28px;
}

.feature-num {
  display: block;
  font-family: var(--f-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--or-txt);
  line-height: 1;
  margin-bottom: 6px;
}

.feature-card-body h3 {
  font-size: 1.15rem;
  color: var(--creme);
  margin-bottom: 10px;
}

.feature-card-body p {
  font-size: .88rem;
  color: rgba(250,247,242,.65);
  margin: 0;
}

.feature-card-body strong { color: var(--or-lt); }

/* Panorama */
.pano-banner {
  position: relative;
  height: clamp(280px, 35vw, 420px);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.pano-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.pano-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(var(--noir-rgb),.8) 0%, rgba(var(--noir-rgb),.15) 65%);
}

.pano-quote {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 36px 48px;
  z-index: 1;
}

.pano-quote p {
  font-family: var(--f-head);
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--blanc);
  max-width: 580px;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
  margin: 0;
}

/* ──────────────────────────────────────────────────────
   15. SECTION PRODUITS
────────────────────────────────────────────────────── */
.section-produits { background: var(--creme-dk); }

.produit-bloc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 96px);
}

.produit-bloc:last-of-type { margin-bottom: 0; }

.produit-bloc--reverse .produit-img { order: 2; }
.produit-bloc--reverse .produit-content { order: 1; }

.produit-category {
  display: inline-block;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--or-txt);
  margin-bottom: 12px;
}

.produit-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--rouge-dk);
  line-height: 1.15;
  margin-bottom: 18px;
}

.produit-content > p {
  color: var(--texte-lt);
  margin-bottom: 24px;
}

.produit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}

.produit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  line-height: 1.5;
}

.pl-dot {
  display: block;
  width: 8px; height: 8px;
  background: var(--or);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* CTA banner */
.produits-cta-banner,
.cta-banner {
  margin-top: clamp(48px, 7vw, 80px);
  margin-bottom: clamp(48px, 7vw, 80px);
  background: var(--rouge);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.produits-cta-banner p,
.cta-banner p {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.9);
  margin: 0;
  max-width: 500px;
}

.produits-cta-banner strong,
.cta-banner strong { color: var(--or-lt); }

.produits-cta-banner .btn-primary,
.cta-banner .btn-primary {
  background: var(--blanc);
  color: var(--rouge);
  border-color: var(--blanc);
  flex-shrink: 0;
}
.produits-cta-banner .btn-primary:hover,
.cta-banner .btn-primary:hover { background: var(--creme); border-color: var(--creme); }

/* ──────────────────────────────────────────────────────
   16. SECTION TRANSHUMANCE
────────────────────────────────────────────────────── */
.section-transhumance {
  background: linear-gradient(135deg, #1a0809 0%, #2d1111 50%, #1a0a0b 100%);
  position: relative;
  overflow: hidden;
}

.section-transhumance::before {
  content: '';
  position: absolute; inset: 0;
  background: url('images/opt/IMG-20250520-WA0040-1024.webp') center/cover no-repeat;
  opacity: .08;
  pointer-events: none;
}

.section-transhumance .container { position: relative; z-index: 1; }

/* Duo d'images */
.img-duo {
  position: relative;
  height: 500px;
  flex-shrink: 0;
}

.img-duo-main {
  position: absolute;
  top: 0; right: 0;
  width: 83%;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.img-duo-sec {
  position: absolute;
  bottom: 0; left: 0;
  width: 54%;
  height: 210px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--rouge);
}

.img-duo-main img,
.img-duo-sec img { width: 100%; height: 100%; object-fit: cover; }

.section-transhumance .split-text p { color: rgba(250,247,242,.8); }

/* ──────────────────────────────────────────────────────
   17. SECTION VALEURS
────────────────────────────────────────────────────── */
.section-valeurs { background: var(--gris); }

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.valeurs-grid--3 { grid-template-columns: repeat(3, 1fr); }

.valeur-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 36px 24px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.valeur-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--or);
}

.valeur-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  color: var(--rouge);
  display: flex;
  align-items: center;
  justify-content: center;
}

.valeur-icon svg { width: 100%; height: 100%; }

.valeur-card h3 {
  font-size: 1.1rem;
  color: var(--rouge);
  margin-bottom: 12px;
}

.valeur-card p { font-size: .88rem; color: var(--texte-lt); margin: 0; }

/* ──────────────────────────────────────────────────────
   18. SECTION BOUTIQUE
────────────────────────────────────────────────────── */
.boutique-infos {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0 32px;
}

.boutique-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.boutique-icon {
  width: 22px; height: 22px;
  fill: var(--rouge);
  flex-shrink: 0;
  margin-top: 1px;
}

.boutique-row div { display: flex; flex-direction: column; gap: 2px; }

.boutique-row strong {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rouge);
  font-weight: 700;
}

.boutique-row span, .boutique-row a {
  font-size: .92rem;
  color: var(--texte-lt);
}
.boutique-row a:hover { color: var(--rouge); text-decoration: underline; }

/* ──────────────────────────────────────────────────────
   19. SECTION FAQ
────────────────────────────────────────────────────── */
.section-faq { background: var(--creme); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--blanc);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.07);
  overflow: hidden;
  transition: box-shadow .2s;
}

.faq-item[open] { box-shadow: var(--shadow-sm); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--f-head);
  font-size: clamp(.95rem, 2vw, 1.05rem);
  font-weight: 600;
  color: var(--texte);
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: color .2s;
}

.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; }
.faq-item[open] .faq-q { color: var(--rouge); }

.faq-chevron {
  width: 20px; height: 20px;
  stroke: var(--or);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-a {
  padding: 0 24px 22px;
  font-size: .93rem;
  color: var(--texte-lt);
  line-height: 1.75;
  border-top: 1px solid var(--creme-dk);
  padding-top: 16px;
}

.faq-a p { margin-bottom: .6rem; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ul { padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 4px; }
.faq-a a { color: var(--rouge); text-decoration: underline; }

/* ──────────────────────────────────────────────────────
   20. SECTION GALERIE – BENTO GRID
────────────────────────────────────────────────────── */
.section-galerie { background: var(--noir); padding-bottom: 0; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 10px;
  padding: 10px;
  margin-top: 8px;
}

.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

.bento-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .3s;
  filter: brightness(.85);
}

.bento-item:hover img {
  transform: scale(1.07);
  filter: brightness(1);
}

.bento-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
  color: var(--blanc);
  font-size: .78rem;
  font-style: normal;
  padding: 24px 14px 12px;
  transform: translateY(100%);
  transition: transform .3s var(--ease);
  text-align: left;
}

.bento-item:hover figcaption { transform: none; }

/* Sur un ecran tactile il n'y a pas de :hover : les cinq legendes de la
   galerie etaient donc invisibles en permanence. On les affiche d'office
   la ou le survol n'existe pas. La galerie est pleine largeur a dessein
   (hors .container), mais le texte reste a 20 px du bord : 6 px de
   padding de grille plus 14 px de padding de legende. */
@media (hover: none) {
  .bento-item figcaption { transform: none; }
}

/* Positions bento */
.bento-a { grid-column: span 5; grid-row: span 2; }
.bento-b { grid-column: span 4; grid-row: span 1; }
.bento-c { grid-column: span 3; grid-row: span 1; }
.bento-d { grid-column: span 3; grid-row: span 1; }
.bento-e { grid-column: span 4; grid-row: span 1; }

/* ──────────────────────────────────────────────────────
   21. SECTION CONTACT
────────────────────────────────────────────────────── */
.section-contact { background: var(--rouge-dk); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-infos h3 {
  font-size: 1.25rem;
  color: var(--or-lt);
  margin-bottom: 28px;
}

.contact-address { display: flex; flex-direction: column; gap: 22px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: rgba(250,247,242,.8);
  font-size: .92rem;
  line-height: 1.6;
}

.contact-ico { width: 22px; height: 22px; color: var(--or); flex-shrink: 0; margin-top: 2px; }

.contact-item div { display: flex; flex-direction: column; gap: 2px; }

.contact-item strong {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--or-lt);
  font-weight: 700;
}

.contact-link { color: rgba(250,247,242,.8); transition: color .2s; }
.contact-link:hover { color: var(--or-lt); text-decoration: underline; }

.contact-social { margin-top: 32px; }

.contact-social-label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(250,247,242,.5);
  margin-bottom: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(250,247,242,.8);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 700;
  transition: background .2s, color .2s, border-color .2s;
}
.social-btn:hover { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }

.contact-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.map-link {
  display: block;
  background: rgba(255,255,255,.04);
  color: rgba(250,247,242,.5);
  text-align: center;
  padding: 12px;
  font-size: .78rem;
  transition: background .2s, color .2s;
}
.map-link:hover { background: rgba(255,255,255,.08); color: var(--or-lt); }

/* ──────────────────────────────────────────────────────
   22. FOOTER
────────────────────────────────────────────────────── */
.site-footer {
  background: var(--noir);
  border-top: 1px solid rgba(255,255,255,.05);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px clamp(16px, 4vw, 40px) 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
}

.footer-brand img { margin-bottom: 14px; }

.footer-script {
  font-family: var(--f-script);
  font-size: 1.4rem;
  color: var(--or-lt);
  margin-bottom: 6px;
}

.footer-sub { font-size: .8rem; color: rgba(250,247,242,.4); margin: 0; }

.footer-nav-title {
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 18px;
}

.footer-nav ul,
.footer-produits ul { display: flex; flex-direction: column; gap: 9px; }

.footer-nav a {
  font-size: .86rem;
  color: rgba(250,247,242,.55);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--or-lt); }

.footer-produits li {
  font-size: .86rem;
  color: rgba(250,247,242,.45);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px clamp(16px, 4vw, 40px);
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.footer-bottom p {
  font-size: .76rem;
  color: rgba(250,247,242,.3);
  margin-bottom: 4px;
}

/* ──────────────────────────────────────────────────────
   23. RESPONSIVE — TABLETTE PAYSAGE (≤ 1100px)
────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --section-py: 100px; }

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

  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 220px);
  }
  .bento-a { grid-column: span 4; grid-row: span 2; }
  .bento-b { grid-column: span 2; grid-row: span 1; }
  .bento-c { grid-column: span 2; grid-row: span 1; }
  .bento-d { grid-column: span 3; grid-row: span 1; }
  .bento-e { grid-column: span 3; grid-row: span 1; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-produits { grid-column: 1 / -1; }

  .stat-item { padding: 16px 32px; }
}

/* ──────────────────────────────────────────────────────
   24. RESPONSIVE — TABLETTE PORTRAIT (≤ 900px)
────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --section-py: 76px; }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(440px, 100vw);
    height: 100vh;
    height: 100dvh;
    /* Fond opaque : a 98,5 % d'opacite le blur(24px) d'origine etait
       invisible, et un flou de 24 px sur un panneau plein ecran est l'un
       des paints les plus chers sur mobile d'entree de gamme. */
    background: var(--noir);
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 132px clamp(32px, 8vw, 52px) 64px;
    gap: 10px;
    transition: right .42s var(--ease);
    z-index: 900;
    border-left: 1px solid rgba(255,255,255,.06);
  }

  .nav-menu.is-open { right: 0; }
  .nav-overlay { display: block; }

  .nav-menu li { width: 100%; }

  .nav-link {
    display: block;
    font-size: 1.24rem;
    letter-spacing: .015em;
    padding: 22px 4px;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.09);
    transition: color .2s, padding-left .2s;
  }
  .nav-link:hover,
  .nav-link:focus-visible { padding-left: 12px; }

  .nav-cta {
    margin-top: 40px;
    padding: 20px 24px;
    text-align: center;
    justify-content: center;
    border-bottom: none;
    border-radius: 999px;
  }
  .nav-cta:hover,
  .nav-cta:focus-visible { padding-left: 24px; }

  .split-layout,
  .split-layout--dark {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }
  .split-layout--dark .produit-bloc--reverse > * { order: unset; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .features-grid .feature-card:last-child { grid-column: span 2; }

  .produit-bloc,
  .produit-bloc--reverse { grid-template-columns: 1fr; gap: 32px; }
  .produit-bloc--reverse .produit-img { order: unset; }
  .produit-bloc--reverse .produit-content { order: unset; }

  .img-frame--tall img { aspect-ratio: 16/9; }

  .img-duo { height: 380px; }
  .img-duo-main { width: 88%; height: 300px; }
  .img-duo-sec { width: 52%; height: 170px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-map iframe { height: 300px; }

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

  .stats-inner { flex-wrap: wrap; gap: 0; justify-content: center; }
  .stats-band { padding: 36px 0; }
  .stat-sep { width: 1px; height: 40px; margin: 0 4px; }
  .stat-item { padding: 14px 28px; min-width: 160px; }
}

/* ──────────────────────────────────────────────────────
   25. RESPONSIVE — MOBILE (≤ 600px)
────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  :root { --section-py: 44px; }

  .d-none-sm { display: none; }

  .hero-content { padding: 110px 20px 80px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }

  .features-grid { grid-template-columns: 1fr; }
  .features-grid .feature-card:last-child { grid-column: span 1; }

  .valeurs-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .valeur-card { padding: 24px 18px; }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .bento-a, .bento-b, .bento-c, .bento-d, .bento-e {
    grid-column: span 1;
    grid-row: span 1;
    height: 180px;
  }
  /* full → pair → pair */
  .bento-a { grid-column: span 2; height: 220px; }

  .produits-cta-banner,
  .cta-banner {
    flex-direction: column;
    text-align: center;
  }
  .produits-cta-banner .btn,
  .cta-banner .btn { align-self: center; }

  .pano-quote { padding: 24px; }
  .pano-quote p { font-size: .95rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-produits { grid-column: span 1; }

  .img-duo { height: 300px; }
  .img-duo-main { width: 90%; height: 240px; }
  .img-duo-sec { width: 58%; height: 140px; }

  .faq-q { padding: 16px 20px; }
  .faq-a { padding: 14px 20px 18px; }

  .contact-map iframe { height: 260px; }

  /* Stats band : grille 2×2 sur mobile, sans séparateurs ni fond
     translucide pour éviter toute bande visible. */
  .stats-band { padding: 28px 0; }
  .stats-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: transparent;
    padding: 0;
    max-width: 100%;
  }
  .stat-sep { display: none; }
  .stat-item {
    padding: 22px 12px;
    background: transparent;
    min-width: unset;
    flex: unset;
  }

  /* Split layout : réduire le gap */
  .split-layout,
  .split-layout--dark { gap: 28px; }

  /* CTAs en bas de page */
  .hero-ctas { flex-direction: column; align-items: center; gap: 14px; }
  .hero-ctas .btn { width: 100%; max-width: 320px; text-align: center; }

  /* Horaires table */
  .horaires-table td:first-child { width: 90px; font-size: 0.88rem; }
  .horaires-table td { padding: 6px 2px; font-size: 0.88rem; }

  /* Page hero taille */
  .page-hero { min-height: clamp(260px, 55vw, 340px); padding: 88px 0 40px; }

  /* Breadcrumb compact */
  .breadcrumb-inner { font-size: 0.76rem; }

  /* Section header centré */
  .section-header-centered { margin-bottom: 32px; }
}

/* ──────────────────────────────────────────────────────
   26. RESPONSIVE — PETIT MOBILE (≤ 400px)
────────────────────────────────────────────────────── */
@media (max-width: 400px) {
  .bento-a, .bento-e { height: 180px; }
  .bento-grid { gap: 6px; padding: 6px; }
  .stat-item { padding: 10px 12px; min-width: calc(50% - 1px); }
  .valeurs-grid { grid-template-columns: 1fr; }
}

/* Les dossiers du Carnet empilent une seconde barre collante sous
   l'en-tete : 68 px + 47 px d'ancres + 16 px = 131 px. :has() permet de
   cibler ces pages sans classe sur <body> ; les navigateurs qui ne le
   connaissent pas gardent la valeur de base, qui degage deja l'en-tete. */
html:has(.bl-ancres) { scroll-padding-top: 131px; }

/* ──────────────────────────────────────────────────────
   27. ACCESSIBILITÉ
────────────────────────────────────────────────────── */
/* Repere de focus clavier, defini une seule fois. Il doit se voir
   aussi bien sur le creme des sections que sur le noir de l'en-tete et
   du pied : l'anneau sombre travaille sur fond clair, le halo creme
   prend le relais sur fond sombre. */
:focus-visible {
  outline: 3px solid var(--or-txt);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(var(--creme-rgb), .55);
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-animate], .hero-anim, .page-hero-eyebrow, .page-hero-title, .page-hero-sub, .hero-scroll-cue {
    opacity: 1 !important; transform: none !important;
  }
  .hero-img { animation: none; transform: none; }
}

/* ──────────────────────────────────────────────────────
   28. PAGE HERO (sous-pages)
────────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  /* min-height et non height : le hero porte desormais des boutons
     d'action, et une hauteur figee faisait deborder le contenu par le
     haut, jusqu'a passer sous l'en-tete fixe. Le padding haut reserve
     la place de cet en-tete. */
  min-height: clamp(380px, 48vw, 520px);
  padding: 96px 0 48px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: hero-zoom 14s ease-out forwards;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  /* Le haut etait a 50 % d'opacite : sur une photo claire l'eyebrow
     dore tombait a 2,2:1. Renforce en haut, inchange en bas. */
  background: linear-gradient(to bottom,
    rgba(var(--noir-rgb), 0.64) 0%,
    rgba(var(--noir-rgb), 0.74) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--blanc);
  padding: 0 var(--sp-lg);
  max-width: 860px;
}
.page-hero-eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  /* Pose sur une photo : on prend l or clair, comme .eyebrow--light
     et .bl-hero .eyebrow le font deja. */
  color: var(--or-lt);
  margin-bottom: var(--sp-sm);
  opacity: 0;
  animation: hero-in .8s var(--ease-out) .3s forwards;
}
.page-hero-title {
  font-family: var(--f-head);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--blanc);
  margin: 0 0 var(--sp-sm);
  opacity: 0;
  animation: hero-in .9s var(--ease-out) .5s forwards;
}
.page-hero-sub {
  font-family: var(--f-body);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,.82);
  margin: 0;
  opacity: 0;
  animation: hero-in .9s var(--ease-out) .7s forwards;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--creme-dk);
  padding: 12px 0;
  border-bottom: 1px solid var(--or-pale);
}
.breadcrumb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 40px);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--texte-lt);
}
.breadcrumb-inner a {
  color: var(--rouge);
  text-decoration: none;
  font-weight: 600;
}
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--or-txt); font-size: 0.7rem; }

/* ──────────────────────────────────────────────────────
   29. FORMULAIRE DE CONTACT
────────────────────────────────────────────────────── */
.contact-form-section {
  background: var(--creme);
}
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group--full { grid-column: 1 / -1; }
.form-label {
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--texte-lt);
}
.form-input,
.form-textarea {
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--texte);
  background: var(--blanc);
  border: 1.5px solid var(--creme-dk);
  border-radius: var(--radius);
  padding: 12px 16px;
  width: 100%;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  outline: none;
  box-sizing: border-box;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--rouge);
  box-shadow: 0 0 0 3px rgba(123,21,23,.12);
}
.form-textarea {
  resize: vertical;
  min-height: 150px;
}
.form-submit {
  margin-top: var(--sp-sm);
}
.form-note {
  font-size: 0.82rem;
  color: var(--texte-lt);
  margin-top: var(--sp-sm);
  text-align: center;
}

/* Horaires tableau */
.horaires-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-top: var(--sp-sm);
}
.horaires-table tr {
  border-bottom: 1px solid var(--creme-dk);
}
.horaires-table tr:last-child { border-bottom: none; }
.horaires-table td {
  padding: 8px 4px;
  color: var(--texte);
}
.horaires-table td:first-child {
  font-weight: 700;
  color: var(--rouge);
  width: 120px;
}
.horaires-table td:last-child {
  text-align: right;
  color: var(--texte-lt);
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: clamp(280px, 60vw, 380px); padding: 92px 0 44px; }
  .page-hero-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
}

/* ──────────────────────────────────────────────────────
   30. PRINT
────────────────────────────────────────────────────── */
@media print {
  .site-header, .hero-scroll-cue, .nav-toggle, .scroll-progress { display: none; }
  .hero { min-height: auto; page-break-after: always; }
  .section { page-break-inside: avoid; }
}

/* ══════════════════════════════════════════════════════
   LE CARNET — pages editoriales du blog
══════════════════════════════════════════════════════ */

/* — Fil d'Ariane — */
.bl-fil { font-size: .8rem; color: var(--texte-lt); margin-bottom: 18px; }
.bl-hero .bl-fil { color: rgba(250,247,242,.8); }
.bl-hero .bl-fil a { color: var(--or-lt); }
.bl-fil a { color: var(--or-txt); }
.bl-fil a:hover { text-decoration: underline; }
.bl-fil span[aria-current] { color: var(--texte-lt); }
/* Dans le hero le fil est pose sur une photo sombre. La regle ci-dessus
   a une specificite de (0,2,1) et l'emportait sur .bl-hero .bl-fil
   (0,2,0) : la page courante s'affichait en gris fonce sur fond fonce,
   a 2,05:1. On remonte la specificite du cas clair. */
.bl-hero .bl-fil span[aria-current] { color: rgba(var(--creme-rgb), .82); }

/* — Hero d'article — */
.bl-hero { position: relative; min-height: clamp(460px, 60vh, 640px); display: flex; align-items: flex-end; overflow: hidden; }
.bl-hero-media { position: absolute; inset: 0; }
.bl-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.bl-hero-voile {
  position: absolute; inset: 0;
  background:
    /* Quatrieme noir approximatif du fichier (20,14,12) : ramene sur la
       base commune. Le palier median passe de .45 a .62 : le chapeau du
       dossier s'y trouve et tombait a 4,0:1 sur les photos claires. */
    linear-gradient(to top, rgba(var(--noir-rgb),.93) 0%, rgba(var(--noir-rgb),.80) 45%, rgba(var(--noir-rgb),.60) 100%);
}
/* Le header est fixe : sans reserve en haut, le fil d'Ariane passait dessous. */
.bl-hero-inner { position: relative; z-index: 2; width: 100%; padding: clamp(96px, 12vw, 128px) 0 clamp(32px, 5vw, 56px); color: var(--creme); }
.bl-hero .eyebrow { color: var(--or-lt); }
.bl-hero h1 {
  color: var(--creme);
  font-size: clamp(1.95rem, 4.4vw, 3.15rem);
  line-height: 1.08; letter-spacing: -.02em;
  max-width: 20ch; margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.bl-hero-sous { font-size: clamp(1rem, 1.9vw, 1.16rem); color: var(--creme); max-width: 60ch; line-height: 1.6; }
.bl-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* — Bandeau de reassurance — */
.bl-preuves { background: var(--rouge); color: var(--blanc); }
.bl-preuves ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.16); }
.bl-preuves li { background: var(--rouge); padding: 22px 20px; text-align: center; }
.bl-preuves b { display: block; font-family: var(--f-head); font-size: 1.28rem; margin-bottom: 3px; }
.bl-preuves span { font-size: .8rem; color: rgba(255,255,255,.85); line-height: 1.45; }

/* — Barre d'ancres — */
/* Barre d'ancres : sticky sur des articles de 2 600 mots, donc
   recomposee a chaque frame sur toute la hauteur du defilement. Le
   blur(10px) etait pose derriere un fond a 97 % d'opacite : invisible. */
.bl-ancres { position: sticky; top: 64px; z-index: 40; background: var(--creme); border-bottom: 1px solid var(--creme-dk); }
.bl-ancres ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 9px 0; }
.bl-ancres ul::-webkit-scrollbar { display: none; }
.bl-ancres a {
  white-space: nowrap; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--texte-lt); padding: 8px 14px; border-radius: 100px;
  transition: background .2s, color .2s;
}
.bl-ancres a:hover { background: var(--creme-dk); color: var(--rouge); }

/* — Corps d'article — */
.bl-corps { padding: clamp(44px, 6vw, 76px) 0; }
.bl-grille { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.bl-texte { max-width: 72ch; min-width: 0; font-size: 1.04rem; line-height: 1.78; }
.bl-texte > section { scroll-margin-top: 130px; }
.bl-texte h2 {
  font-size: clamp(1.55rem, 3vw, 2.12rem); line-height: 1.16;
  margin: clamp(40px, 5vw, 62px) 0 18px; padding-top: 22px;
  border-top: 1px solid var(--creme-dk);
}
.bl-texte > section:first-child h2 { margin-top: 0; border-top: 0; padding-top: 0; }
.bl-texte h3 { font-size: clamp(1.12rem, 2vw, 1.34rem); margin: 30px 0 10px; }
.bl-texte p { margin-bottom: 1.05rem; color: var(--texte); }
.bl-texte ul, .bl-texte ol { margin: 0 0 1.2rem; padding-left: 0; }
.bl-texte li { position: relative; padding-left: 26px; margin-bottom: .58rem; }
.bl-texte ul > li::before {
  content: ""; position: absolute; left: 6px; top: .72em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--or); 
}
.bl-texte ol { counter-reset: n; }
.bl-texte ol > li { counter-increment: n; }
.bl-texte ol > li::before {
  content: counter(n); position: absolute; left: 0; top: .1em;
  font-family: var(--f-head); font-weight: 700; color: var(--or-txt); font-size: .95rem;
}
.bl-texte a:not(.btn) { color: var(--rouge); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bl-texte a:not(.btn):hover { color: var(--rouge-lt); }

/* — Encadres — */
.bl-encadre {
  background: var(--gris); border-left: 3px solid var(--or);
  padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0;
}
.bl-encadre p:last-child { margin-bottom: 0; }
.bl-encadre .bl-encadre-titre {
  font-family: var(--f-body); font-size: .72rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--or-txt); margin-bottom: 10px;
}

/* — Tableau — */
.bl-tableau { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: .94rem; }
.bl-tableau caption { text-align: left; font-size: .82rem; color: var(--texte-lt); padding-bottom: 10px; }
.bl-tableau th, .bl-tableau td { text-align: left; padding: 13px 15px; border-bottom: 1px solid var(--creme-dk); vertical-align: top; }
.bl-tableau thead th { background: var(--gris); font-family: var(--f-body); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-lt); }
.bl-tableau tbody th { font-weight: 700; color: var(--texte); }

/* — Appel a l'action intercalaire — */
.bl-cta {
  background: var(--noir); color: var(--creme); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 38px); margin: 38px 0; text-align: center;
}
.bl-cta p { color: rgba(250,247,242,.88); margin-bottom: 20px; max-width: 52ch; margin-inline: auto; }
.bl-cta .bl-cta-titre { font-family: var(--f-head); font-size: clamp(1.25rem,2.4vw,1.6rem); color: var(--creme); margin-bottom: 10px; }
.bl-cta-boutons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* — Colonne laterale — */
.bl-aside { position: sticky; top: 132px; display: flex; flex-direction: column; gap: 18px; }
.bl-carte { background: var(--blanc); border: 1px solid var(--creme-dk); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.bl-carte h2, .bl-carte .bl-carte-titre {
  font-family: var(--f-body); font-size: .72rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--or-txt); margin: 0 0 14px; border: 0; padding: 0;
}
.bl-carte dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .9rem; }
.bl-carte dt { color: var(--texte-lt); }
.bl-carte dd { font-weight: 700; }
.bl-carte .btn { width: 100%; margin-top: 16px; }
.bl-carte ul { display: flex; flex-direction: column; gap: 9px; font-size: .92rem; }
.bl-carte ul a { color: var(--rouge); text-decoration: underline; text-underline-offset: 3px; }

/* — FAQ — */
.bl-faq { border-top: 1px solid var(--creme-dk); }
.bl-faq details { border-bottom: 1px solid var(--creme-dk); }
.bl-faq summary {
  list-style: none; cursor: pointer; padding: 19px 44px 19px 0; position: relative;
  font-family: var(--f-head); font-size: 1.06rem; font-weight: 600; line-height: 1.4;
}
.bl-faq summary::-webkit-details-marker { display: none; }
.bl-faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 300; color: var(--or-txt); line-height: 1;
}
.bl-faq details[open] summary::after { content: "–"; }
.bl-faq details > div { padding: 0 0 20px; color: var(--texte-lt); }
.bl-faq details > div p:last-child { margin-bottom: 0; }

/* — Articles lies — */
.bl-lies { background: var(--gris); }
.bl-lies-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 18px; }
.bl-vignette {
  background: var(--blanc); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.bl-vignette:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bl-vignette img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.bl-vignette-corps { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.bl-vignette h3 { font-size: 1.14rem; line-height: 1.3; margin-bottom: 8px; }
.bl-vignette p { font-size: .9rem; color: var(--texte-lt); line-height: 1.55; margin-bottom: 15px; flex: 1; }
.bl-vignette .bl-lire { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rouge); }

/* — Sommaire du carnet — */
.bl-sommaire-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }

/* — Responsive — */
@media (max-width: 1024px) {
  /* minmax(0,1fr) et non 1fr : une piste 1fr a un min-width auto,
     qu'un tableau large fait eclater — le debordement etait ensuite
     masque par body { overflow-x: hidden }, donc invisible au test. */
  .bl-grille { grid-template-columns: minmax(0, 1fr); }
  .bl-aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .bl-aside > * { flex: 1 1 280px; }
  .bl-preuves ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bl-ancres { top: 58px; }
  .bl-texte { font-size: 1rem; }
  .bl-hero-actions .btn { width: 100%; }
  .bl-preuves ul { grid-template-columns: 1fr 1fr; }
  .bl-tableau, .bl-tableau tbody, .bl-tableau tr, .bl-tableau td, .bl-tableau th,
  .bl-tableau caption { display: block; }
  .bl-tableau { width: 100%; max-width: 100%; }
  .bl-tableau thead { display: none; }
  .bl-tableau tr { border-bottom: 2px solid var(--creme-dk); padding: 10px 0; }
  .bl-tableau td, .bl-tableau th { border: 0; padding: 5px 0; }
  .bl-tableau td::before { content: attr(data-col) " : "; font-weight: 700; color: var(--texte-lt); }
}


/* ══════════════════════════════════════════════════════
   FORMULAIRE — piege a robots et retours d'envoi
══════════════════════════════════════════════════════ */
.form-pot {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.form-status {
  margin: 18px auto 0;
  max-width: 62ch;
  font-size: .92rem;
  line-height: 1.55;
  padding: 13px 18px;
  border-radius: var(--radius);
  border-left: 3px solid currentColor;
  text-align: left;
}
.form-status--ok      { color: #1B6337; background: rgba(27,99,55,.09); }
.form-status--erreur  { color: var(--rouge); background: rgba(123,21,23,.09); }
.form-status--attente { color: var(--or-txt); background: rgba(126,90,32,.11); }

/* ══════════════════════════════════════════════════════
   CONFORT DE LECTURE ET DE TOUCHER SUR MOBILE
   Les micro-libelles tombaient entre 11,2 et 11,8 px, sous le
   seuil de confort de 12 px ; les liens de contact isoles
   faisaient moins de 24 px de haut au doigt.
══════════════════════════════════════════════════════ */
.eyebrow,
.hero-eyebrow,
.page-hero-eyebrow,
.produit-category,
.footer-nav-title,
.contact-social-label,
.breadcrumb-sep,
.bl-encadre .bl-encadre-titre,
.bl-carte .bl-carte-titre,
.bl-carte h2 { font-size: max(.72rem, 12px); }

.tag { font-size: max(.72rem, 12px); }

.bl-tableau thead th { font-size: max(.74rem, 12px); }

/* Liens de contact isoles : surface tactile suffisante */
.contact-link,
.bl-carte dd a,
.bl-carte ul a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

/* Liens de listes isoles (pied de page, colonne laterale, vignettes) */
.footer-nav ul a,
.footer-produits ul a,
.bl-carte ul a,
.bl-vignette .bl-lire { display: inline-flex; align-items: center; min-height: 24px; }

/* Derniers ecarts au seuil tactile de 24 px */
.breadcrumb-inner a,
.bl-vignette-corps h3 a { display: inline-flex; align-items: center; min-height: 24px; }

/* ══════════════════════════════════════════════════════
   BOUTONS SUR ECRAN ETROIT
   .btn porte white-space: nowrap : un libelle long sortait de
   l'ecran, et body { overflow-x: hidden } le rendait inatteignable.
══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .btn {
    white-space: normal;
    max-width: 100%;
    text-align: center;
    hyphens: auto;
  }
  .bl-cta-boutons .btn,
  .bl-hero-actions .btn { width: 100%; }
}

/* ══════════════════════════════════════════════════════
   REPLI SI GSAP NE SE CHARGE PAS
   Pose par le script de page lorsque le CDN est injoignable.
══════════════════════════════════════════════════════ */
.sans-gsap [data-animate],
.sans-gsap .hero-anim,
.sans-gsap .page-hero-eyebrow,
.sans-gsap .page-hero-title,
.sans-gsap .page-hero-sub,
.sans-gsap .hero-scroll-cue {
  opacity: 1 !important;
  transform: none !important;
}

/* ══════════════════════════════════════════════════════
   AVIS CLIENTS — cartes dans l'esprit des fiches Google
   Volontairement sans balisage aggregateRating : la regle de
   Google sur les avis « auto-promotionnels » vise precisement
   une entreprise qui balise sur son propre site des avis la
   concernant.
══════════════════════════════════════════════════════ */
.section-avis { background: var(--gris); }

.avis-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 18px;
  align-items: start;
}

.avis-carte {
  background: var(--blanc);
  border: 1px solid color-mix(in oklab, var(--texte) 10%, transparent);
  border-radius: 14px;
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
@media (hover: hover) {
  .avis-carte:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
}

/* — En-tete : pastille, identite, provenance — */
.avis-tete { display: flex; align-items: center; gap: 12px; }

.avis-pastille {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teinte, var(--rouge));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--f-body);
  font-size: 1.05rem; font-weight: 700;
  line-height: 1;
  user-select: none;
}

.avis-identite { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.avis-nom {
  font-family: var(--f-body);
  font-size: .95rem; font-weight: 700; color: var(--texte);
  line-height: 1.25;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.avis-quand { font-size: .78rem; color: var(--texte-lt); line-height: 1.3; }

.avis-g { flex: 0 0 auto; width: 18px; height: 18px; margin-left: auto; opacity: .9; }

/* — Etoiles — */
.avis-etoiles { display: flex; gap: 2px; }
.avis-etoiles svg { width: 16px; height: 16px; fill: #F4B400; }

/* — Corps — */
.avis-texte {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--texte);
  margin: 0;
}

.avis-lien { display: flex; justify-content: center; margin-top: 40px; }

@media (max-width: 640px) {
  .avis-grille { grid-template-columns: 1fr; gap: 14px; }
  .avis-carte { padding: 20px; }
}

/* ══════════════════════════════════════════════════════
   FINITION — details qui separent un site correct
   d'un site soigne
══════════════════════════════════════════════════════ */

html {
  color-scheme: light;
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Playfair a un dessin fin : on laisse le moteur ajuster l'oeil
   selon la taille, et on active les ligatures et chiffres elzeviriens
   la ou ils servent le propos. */
h1, h2, h3, h4 {
  font-optical-sizing: auto;
  font-feature-settings: "liga" 1, "kern" 1;
}
.stat-num, .feature-num {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "tnum" 1;
}

.btn:focus-visible,
.nav-cta:focus-visible { outline-color: var(--creme); outline-offset: 4px; }

::selection { background: var(--or-pale); color: var(--noir); }

/* Ombres : trois couches courtes valent mieux qu'une large et molle.
   Le regard lit une elevation, pas un halo. */

/* Liens dans le texte courant : soulignement discret plutot que
   couleur seule, qui exclut les daltoniens. */
.split-text a:not(.btn),
.produit-content a:not(.btn),
.intro-text a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-thickness: from-font;
  text-decoration-color: color-mix(in oklab, currentColor 35%, transparent);
  transition: text-decoration-color .2s var(--ease);
}
.split-text a:not(.btn):hover,
.produit-content a:not(.btn):hover,
.intro-text a:not(.btn):hover { text-decoration-color: currentColor; }

/* Petites capitales : a cette taille, l'approche doit s'ouvrir pour
   rester lisible, et la graisse se retenir. */
.eyebrow, .produit-category, .footer-nav-title, .hero-eyebrow {
  font-weight: 700;
  letter-spacing: .24em;
}

/* Les etiquettes passaient a la ligne en orpheline. */
.tag { white-space: nowrap; }

/* Survol : un deplacement court se lit comme une reponse,
   un deplacement long comme un effet. */
.feature-card, .valeur-card, .bl-vignette, .avis-carte {
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
@media (hover: hover) {
  .feature-card:hover, .valeur-card:hover { transform: translateY(-3px); }
}

/* ══════════════════════════════════════════════════════
   BARRE D'ACTION MOBILE
   Sur telephone, le visiteur n'a souvent aucun bouton a portee
   au milieu d'une page longue. Cette barre garde les trois
   actions reelles de la ferme a un pouce de distance.
   Il n'y a ni devis ni panier ici : on appelle, on vient, on ecrit.
══════════════════════════════════════════════════════ */
.barre-action { display: none; }

@media (max-width: 900px) {
  .barre-action {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 950;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    background: var(--noir);
    border-top: 1px solid rgba(250,247,242,.14);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2px 18px rgba(0,0,0,.22);
  }
  .barre-action a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 58px;
    padding: 9px 6px;
    color: var(--creme);
    font-family: var(--f-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    transition: background .2s var(--ease);
  }
  .barre-action a + a { border-left: 1px solid rgba(250,247,242,.14); }
  .barre-action a:active { background: rgba(250,247,242,.1); }
  .barre-action .ba-principal { background: var(--rouge); }
  .barre-action .ba-principal:active { background: var(--rouge-lt); }
  .barre-action svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; }

  /* La barre ne doit jamais masquer la fin du contenu. */
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .site-footer { margin-bottom: 0; }

  /* Menu ouvert : la barre passe dessous, sinon elle flotte par-dessus. */
  body.menu-open .barre-action { z-index: 1; }
}


/* ──────────────────────────────────────────────────────
   28. PLAN DU SITE
   Une liste n'a pas besoin d'etre aride : chaque entree
   porte une ligne de contexte, pour que la page serve
   aussi a quelqu'un qui ne sait pas encore ce qu'il
   cherche.
────────────────────────────────────────────────────── */
.plan-intro { max-width: var(--mesure); margin: 0 auto; }
.plan-intro a { color: var(--rouge); text-decoration: underline; text-underline-offset: 3px; }

.plan-bloc { margin-top: 56px; }
.plan-bloc:first-of-type { margin-top: 40px; }

.plan-titre {
  font-family: var(--f-titre);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--creme-dk);
}

.plan-chapeau {
  margin-top: 10px;
  color: var(--texte-lt);
  font-size: .95rem;
}

.plan-liste { list-style: none; margin-top: 20px; display: grid; gap: 4px; }

.plan-item {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: background .2s var(--ease);
}
.plan-item:hover { background: var(--creme-dk); }

.plan-item > a {
  font-weight: 600;
  color: var(--rouge);
  text-decoration: underline;
  text-underline-offset: 3px;
  /* cible tactile confortable sans etirer le soulignement */
  justify-self: start;
  padding: 2px 0;
}

.plan-desc { color: var(--texte-lt); font-size: .92rem; line-height: 1.6; }

@media (max-width: 600px) {
  .plan-bloc { margin-top: 40px; }
  .plan-item { padding: 12px 12px; }
}


/* ──────────────────────────────────────────────────────
   29. APPELS A L'ACTION DANS LES HEROS
   Les heros des pages interieures n'en portaient aucun :
   le visiteur arrivait sur la page sans action proposee
   avant d'avoir fait defiler. Sans boutique en ligne,
   l'action utile est l'appel.
────────────────────────────────────────────────────── */
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: var(--sp-md);
}
.page-hero-actions .btn { min-height: 48px; }
.page-hero-actions .btn-secondary {
  /* Le bouton secondaire de base a un fond clair : pose sur une photo
     avec un texte creme, il devenait creme sur creme. Sur le hero on le
     veut detoure, pas rempli. */
  background: transparent;
  color: var(--creme);
  border-color: rgba(var(--creme-rgb), .75);
}
.page-hero-actions .btn-secondary:hover {
  background: var(--creme);
  border-color: var(--creme);
  color: var(--noir);
}

@media (max-width: 600px) {
  .page-hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .page-hero-actions .btn { width: 100%; max-width: 320px; text-align: center; justify-content: center; }
}


/* ──────────────────────────────────────────────────────
   30. TEMOIGNAGE AU PLUS PRES DE L'ACTION
   Les huit avis Google vivaient sur la seule page
   d'accueil. Un avis ne sert nulle part autant qu'a
   cote du bouton : on met ici une version compacte,
   un seul avis, adjacent au CTA de la page.
────────────────────────────────────────────────────── */
/* La section hote applique --section-py (132 px) en haut et en bas :
   beaucoup trop pour une carte compacte dont tout l'interet est d'etre
   collee au bouton. On resserre. */
.section--temoignage { padding: 36px 0 12px; }

.temoignage {
  max-width: var(--mesure);
  margin: 0 auto;
  padding: 22px 24px;
  background: var(--blanc);
  border: 1px solid var(--creme-dk);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.temoignage-tete {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.temoignage-etoiles { display: inline-flex; gap: 2px; }
.temoignage-etoiles svg { width: 15px; height: 15px; fill: #F5A623; }

.temoignage-g { width: 16px; height: 16px; margin-left: auto; flex-shrink: 0; }

.temoignage-texte {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--texte);
  margin: 0;
}

.temoignage-signature {
  margin-top: 12px;
  font-size: .84rem;
  color: var(--texte-lt);
}
.temoignage-signature strong { font-weight: 700; color: var(--texte); }

@media (max-width: 600px) {
  .temoignage { padding: 18px 16px; }
  .temoignage-texte { font-size: .97rem; }
}


/* ──────────────────────────────────────────────────────
   31. ERREURS DE FORMULAIRE
   Le message vit sous son champ, relie par aria-describedby,
   et ne compte pas uniquement sur la couleur : un signe
   le precede, pour qui ne distingue pas le rouge.
────────────────────────────────────────────────────── */
.form-erreur {
  display: block;
  margin-top: 6px;
  font-size: .85rem;
  line-height: 1.45;
  color: var(--rouge);
}
.form-erreur::before {
  content: "\26A0\FE0E";
  margin-right: 6px;
  font-weight: 700;
}
.form-erreur[hidden] { display: none; }

.form-input--erreur {
  border-color: var(--rouge);
  background: rgba(123, 21, 23, .035);
}
.form-input--erreur:focus-visible { outline-color: var(--rouge); }

/* Le statut recoit le focus apres envoi : il ne doit pas afficher
   d'anneau permanent, mais rester reperable au clavier. */
.form-status:focus { outline: none; }
.form-status:focus-visible { outline: 3px solid var(--or-txt); outline-offset: 3px; }


/* ──────────────────────────────────────────────────────
   32. DONNEES CHIFFREES
   Tableaux et graphique de la page des chiffres cles.
   Regle de lecture : la source est dans le tableau, pas
   en note de bas de page. Un chiffre sans sa source ne
   vaut rien.
────────────────────────────────────────────────────── */
.donnees {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 10px;
  font-size: .94rem;
  /* minmax implicite : sans min-width, une cellule large fait deborder
     le tableau hors de son conteneur sur petit ecran. */
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.donnees caption {
  display: block;
  text-align: left;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 10px;
}
.donnees th,
.donnees td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--creme-dk);
}
.donnees thead th {
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--texte-lt);
  border-bottom-width: 2px;
}
.donnees tbody tr:last-child td { border-bottom: 0; }
.donnees tbody td:nth-child(2) { font-variant-numeric: lining-nums tabular-nums; font-weight: 600; }
.donnees a { color: var(--rouge); text-decoration: underline; text-underline-offset: 2px; }

.donnees-source { font-size: .85rem; color: var(--texte-lt); margin-top: 4px; }

/* ── Graphique ── */
.graphe { margin: 32px 0 8px; }
.graphe-titre { font-weight: 700; font-size: 1.02rem; color: var(--texte); }
.graphe-sous { font-size: .9rem; color: var(--texte-lt); margin: 4px 0 14px; }
.graphe-svg { width: 100%; height: auto; display: block; overflow: visible; }

/* Grille et axes : traits pleins d'un cheveu, une nuance au-dessus du
   fond. Jamais de pointilles, qui se lisent comme un seuil. */
.graphe-grille line { stroke: var(--creme-dk); stroke-width: 1; }
.graphe-axe-y text { font-size: 11px; fill: var(--texte-lt); text-anchor: end; }
.graphe-axe-x text { font-size: 12px; fill: var(--texte-lt); text-anchor: middle; }

/* Une seule serie : une seule couleur, et pas de legende — le titre
   nomme la serie. #9B2527 a ete valide contre le fond creme. */
.graphe-ligne {
  fill: none;
  stroke: var(--rouge-lt);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.graphe-points circle {
  fill: var(--rouge-lt);
  stroke: var(--creme);
  stroke-width: 2;          /* anneau de surface, pas un contour decoratif */
  transition: r .15s var(--ease);
}
.graphe-points circle:hover,
.graphe-points circle:focus-visible { r: 7; }

/* Etiquettes directes sur trois points seulement : depart, creux,
   arrivee. Une valeur sur chaque point serait illisible. */
.graphe-etiq text {
  font-size: 12px;
  font-weight: 700;
  fill: var(--texte);
  text-anchor: middle;
  font-variant-numeric: lining-nums tabular-nums;
}

.graphe-rupture { stroke: var(--texte-lt); stroke-width: 1; opacity: .35; }
.graphe-rupture-txt { font-size: 10px; fill: var(--texte-lt); }

.graphe { position: relative; }
.graphe-bulle {
  position: absolute;
  transform: translate(-50%, -100%);
  background: var(--noir);
  color: var(--creme);
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
  font-variant-numeric: lining-nums tabular-nums;
}
.graphe-bulle[hidden] { display: none; }

.graphe-note {
  font-size: .85rem;
  color: var(--texte-lt);
  line-height: 1.6;
  margin-top: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--creme-dk);
}

@media (max-width: 600px) {
  .donnees { font-size: .88rem; }
  .donnees th, .donnees td { padding: 9px 10px; }
  .graphe-axe-x text { font-size: 13px; }
}
