@import url("fonts.css");

/* ============================================================
   SOLOGNE SPIRIT — Miss M Déco
   Design system : pierre, olive, crème, lumière dorée.
   ============================================================ */

/* --- 1. Jetons ------------------------------------------------ */
:root {
  /* Matières */
  --creme:        #F8F4ED;
  --creme-2:      #F1EBE0;
  --pierre:       #E0D8CA;
  --pierre-2:     #C6BCAA;
  --pierre-3:     #9B917F;
  --olive:        #6E7657;
  --olive-fonce:  #4C5339;
  --olive-clair:  #949B7F;
  --encre:        #24221D;
  --encre-2:      #555046;
  --nuit:         #131110;
  --dore:         #B08247;
  --flamme:       #DCA45E;

  /* Rôles */
  --fond:         var(--creme);
  --fond-alt:     var(--creme-2);
  --texte:        var(--encre);
  --texte-doux:   #6B6459;
  --trait:        rgba(36, 34, 29, .14);
  --trait-doux:   rgba(36, 34, 29, .08);
  --accent:       var(--olive);

  /* Typographie */
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  --t-geant:   clamp(3.4rem, 11vw, 12rem);
  --t-display: clamp(2.6rem, 6.4vw, 6.4rem);
  --t-titre:   clamp(2rem, 4.2vw, 3.8rem);
  --t-sous:    clamp(1.4rem, 2.2vw, 2.1rem);
  --t-corps:   clamp(1rem, .55vw + .88rem, 1.18rem);
  --t-petit:   .82rem;
  --t-micro:   .69rem;

  /* Rythme */
  --marge:      clamp(1.25rem, 5vw, 5.5rem);
  --section:    clamp(5.5rem, 13vh + 4rem, 12rem);
  --gouttiere:  clamp(1.25rem, 2.6vw, 2.75rem);
  --max:        1680px;
  --mesure:     62ch;

  /* Mouvement */
  --sortie: cubic-bezier(.22, 1, .36, 1);
  --doux:   cubic-bezier(.65, .05, .36, 1);
  --duree:  .8s;
}

/* --- 2. Réinitialisation -------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* compense l'en-tête fixe pour les ancres */
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--sans);
  font-size: var(--t-corps);
  font-weight: 300;
  line-height: 1.66;
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--olive); color: var(--creme); }

/* --- 3. Utilitaires ------------------------------------------- */
.enveloppe {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--marge);
}

.etroit { max-width: 78ch; }
.mesure { max-width: var(--mesure); }

.section { padding-block: var(--section); }
/* Quand plusieurs sections s'enchaînent sur le même sujet, on resserre. */
.section.serree { padding-block: clamp(3.5rem, 8vw, 7rem); }

.saut-contenu {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 200;
  padding: .8rem 1.4rem;
  background: var(--encre);
  color: var(--creme);
  border-radius: 2px;
  font-size: var(--t-petit);
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform .3s var(--sortie);
}
.saut-contenu:focus { transform: translateY(0); }

.invisible {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --- 4. Typographie ------------------------------------------- */
.display, .titre, .sur-titre-serif {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -.015em;
  line-height: .98;
  text-wrap: balance;
}

.display  { font-size: var(--t-display); }
.titre    { font-size: var(--t-titre); line-height: 1.04; }
.geant    { font-size: var(--t-geant); line-height: .9; letter-spacing: -.03em; }

.italique { font-style: italic; }

.surtitre {
  font-family: var(--sans);
  font-size: var(--t-micro);
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--texte-doux);
  display: flex;
  align-items: center;
  gap: .9rem;
}
.surtitre::before {
  content: "";
  width: clamp(1.5rem, 4vw, 3.25rem);
  height: 1px;
  background: currentColor;
  opacity: .5;
  flex: none;
}
.surtitre.sans-trait::before { display: none; }

.chapeau {
  font-size: clamp(1.12rem, 1.3vw + .8rem, 1.6rem);
  line-height: 1.55;
  font-weight: 300;
  color: var(--texte-doux);
  text-wrap: pretty;
}

.texte p + p { margin-top: 1.2em; }
.texte { color: var(--texte-doux); text-wrap: pretty; }

.legende {
  font-size: var(--t-petit);
  letter-spacing: .05em;
  color: var(--texte-doux);
  line-height: 1.5;
}

.prix {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0;
}
.prix .des {
  font-family: var(--sans);
  font-size: var(--t-micro);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--texte-doux);
  margin-right: .5rem;
}

/* --- 5. Liens & boutons --------------------------------------- */
.lien {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.lien::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform .5s var(--sortie);
}
.lien:hover::after, .lien:focus-visible::after {
  transform-origin: left;
  animation: trait-balayage .6s var(--sortie);
}
@keyframes trait-balayage {
  0%   { transform: scaleX(1); transform-origin: right; }
  49%  { transform: scaleX(0); transform-origin: right; }
  50%  { transform: scaleX(0); transform-origin: left;  }
  100% { transform: scaleX(1); transform-origin: left;  }
}

.bouton {
  --b-fond: var(--encre);
  --b-texte: var(--creme);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: 1.05rem 2rem;
  background: var(--b-fond);
  color: var(--b-texte);
  border: 1px solid var(--b-fond);
  border-radius: 999px;
  font-size: var(--t-petit);
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--sortie), border-color .45s var(--sortie);
}
.bouton::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--olive);
  transform: translateY(101%);
  transition: transform .55s var(--sortie);
}
.bouton:hover::before, .bouton:focus-visible::before { transform: translateY(0); }
.bouton:hover, .bouton:focus-visible { border-color: var(--olive); color: var(--creme); }

.bouton .fleche { transition: transform .5s var(--sortie); }
.bouton:hover .fleche { transform: translateX(4px); }

.bouton.creux {
  --b-fond: transparent;
  --b-texte: var(--encre);
  border-color: var(--trait);
}
.bouton.creux:hover, .bouton.creux:focus-visible { color: var(--creme); }

.bouton.clair {
  --b-fond: transparent;
  --b-texte: var(--creme);
  border-color: rgba(248, 244, 237, .35);
}

.bouton[disabled] { opacity: .4; cursor: not-allowed; }
.bouton[disabled]::before { transform: translateY(101%); }

/* Focus visible — homogène sur tout le site */
:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: 2px;
}
.sur-fond-sombre :focus-visible { outline-color: var(--flamme); }

/* --- 6. En-tête ----------------------------------------------- */
.entete {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-block: clamp(.9rem, 1.6vw, 1.5rem);
  color: var(--encre);
  transition: transform .6s var(--sortie), background-color .5s ease, color .5s ease, box-shadow .5s ease;
}
.entete::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--creme);
  opacity: 0;
  transition: opacity .5s ease;
  border-bottom: 1px solid var(--trait-doux);
}
.entete.est-fixee::before { opacity: 1; }
.entete.est-cachee { transform: translateY(-105%); }
.entete.sur-sombre { color: var(--creme); }
.entete.sur-sombre .bouton.creux {
  --b-texte: var(--creme);
  border-color: rgba(248, 244, 237, .38);
}
.entete.sur-sombre .bascule-menu { border-color: rgba(248, 244, 237, .38); }
/* Voile de lisibilité derrière l'en-tête, tant qu'il flotte sur un média */
.entete:not(.est-fixee)::after {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 190%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(19,17,16,.42), rgba(19,17,16,0));
  opacity: 0;
  transition: opacity .5s ease;
}
.entete.sur-sombre:not(.est-fixee)::after { opacity: 1; }

.entete__grille {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gouttiere);
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}
.marque__signe { width: 34px; height: auto; flex: none; }
.marque__mots { display: flex; flex-direction: column; line-height: 1; }
.marque__nom {
  font-family: var(--serif);
  font-size: 1.32rem;
  letter-spacing: .02em;
}
.marque__legende {
  font-size: var(--t-micro);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: currentColor;
  opacity: .62;
  margin-top: .28rem;
}

.nav__liste {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.6rem);
  font-size: var(--t-petit);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav__lien { position: relative; padding-block: .35rem; }
.nav__lien::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--sortie);
}
.nav__lien:hover::after,
.nav__lien:focus-visible::after,
.nav__lien[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.entete__actions { display: flex; align-items: center; gap: 1rem; }
.entete .bouton { padding: .78rem 1.5rem; }

.bascule-menu {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  background: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
}
.bascule-menu span {
  position: absolute;
  left: 50%;
  width: 17px; height: 1px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform .4s var(--sortie), opacity .3s ease;
}
.bascule-menu span:nth-child(1) { top: 19px; }
.bascule-menu span:nth-child(2) { top: 26px; }
[aria-expanded="true"].bascule-menu span:nth-child(1) { transform: translate(-50%, 3.5px) rotate(45deg); }
[aria-expanded="true"].bascule-menu span:nth-child(2) { transform: translate(-50%, -3.5px) rotate(-45deg); }

/* Panneau mobile */
.panneau {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--creme);
  color: var(--encre);
  padding: 7rem var(--marge) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .75s var(--sortie);
  visibility: hidden;
}
.panneau.est-ouvert { clip-path: inset(0 0 0 0); visibility: visible; }

.panneau__liste { display: flex; flex-direction: column; gap: .2rem; }
.panneau__lien {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 9vw, 3.4rem);
  line-height: 1.25;
  border-bottom: 1px solid var(--trait-doux);
  padding-block: .5rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--sortie), transform .6s var(--sortie);
}
.panneau.est-ouvert .panneau__lien { opacity: 1; transform: none; }
.panneau.est-ouvert .panneau__lien:nth-child(1) { transition-delay: .16s; }
.panneau.est-ouvert .panneau__lien:nth-child(2) { transition-delay: .22s; }
.panneau.est-ouvert .panneau__lien:nth-child(3) { transition-delay: .28s; }
.panneau.est-ouvert .panneau__lien:nth-child(4) { transition-delay: .34s; }
.panneau.est-ouvert .panneau__lien:nth-child(5) { transition-delay: .40s; }

.panneau__pied {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: end;
  font-size: var(--t-petit);
  color: var(--texte-doux);
  padding-top: 2rem;
}

body.menu-ouvert { overflow: hidden; }

/* --- 7. L'arrivée --------------------------------------------- */
.arrivee {
  position: relative;
  height: 270vh;              /* piste de défilement */
  background: var(--nuit);
}
.arrivee__scene {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--nuit);
}

.arrivee__media {
  position: absolute;
  inset: 0;
  --p: 0;                     /* piloté par le JS, 0 → 1 */
  /* La flamme se resserre en une fenêtre verticale, comme une bougie posée. */
  clip-path: inset(
    calc(var(--p) * 9vh) calc(var(--p) * 38vw) calc(var(--p) * 22vh) calc(var(--p) * 38vw)
    round calc(var(--p) * 2px)
  );
  will-change: clip-path;
}
/* Le halo se recentre dans la fenêtre : c'est l'image qui glisse, pas le cadre. */
.arrivee__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(calc(1 + var(--p) * .02));
}

/* Le voile creuse la gauche pour y loger le titre, et retient le halo. */
.arrivee__voile {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* --p est hérité de .arrivee__media, que le JS pilote. */
  opacity: calc(1 - var(--p) * .4);
  background:
    linear-gradient(to right,
      rgba(19,17,16,.90) 0%, rgba(19,17,16,.78) 22%,
      rgba(19,17,16,.42) 46%, rgba(19,17,16,.10) 68%, rgba(19,17,16,.34) 100%),
    linear-gradient(to bottom,
      rgba(19,17,16,.62) 0%, rgba(19,17,16,.05) 26%,
      rgba(19,17,16,.10) 62%, rgba(19,17,16,.72) 100%);
}

/* Grille de la scène */
.arrivee__grille {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--creme);
  padding-block: clamp(7rem, 16vh, 10rem) clamp(3.5rem, 9vh, 5.5rem);
}

.arrivee__contenu {
  max-width: min(100%, 46ch);
  margin-right: auto;
}
.js .arrivee__contenu {
  --p: 0;
  opacity: calc(1 - var(--p) * 2.6);
  transform: translateY(calc(var(--p) * -3rem));
}

.arrivee__surtitre {
  color: rgba(248, 244, 237, .74);
  flex-wrap: wrap;
  row-gap: .4rem;
  margin-bottom: clamp(1.1rem, 2.6vw, 1.9rem);
}
.arrivee__surtitre::before { background: var(--flamme); opacity: .95; }

.arrivee__titre {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.1rem, 10.5vw, 9.5rem);
  line-height: .9;
  letter-spacing: -.032em;
}
.arrivee__titre .ligne {
  display: block;
  overflow: hidden;
  padding: .1em .08em .22em 0;
  margin-bottom: -.16em;
}
.js .arrivee__titre .ligne > span {
  display: block;
  transform: translateY(140%);
  transition: transform 1.35s var(--sortie);
}
.arrivee.est-prete .arrivee__titre .ligne > span { transform: translateY(0); }
.arrivee.est-prete .arrivee__titre .ligne:nth-child(2) > span { transition-delay: .12s; }

.arrivee__note {
  margin-top: clamp(1.3rem, 2.6vw, 2rem);
  max-width: 26ch;
  font-size: var(--t-petit);
  letter-spacing: .1em;
  line-height: 1.7;
  color: rgba(248, 244, 237, .7);
}
.js .arrivee__note {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s var(--sortie) .7s, transform 1s var(--sortie) .7s;
}
.arrivee.est-prete .arrivee__note { opacity: 1; transform: none; }

/* Le seuil : ce qui se révèle quand la flamme se resserre */
.arrivee__seuil {
  margin-top: auto;
  padding-top: clamp(2rem, 5vh, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  justify-content: space-between;
  align-items: end;
  pointer-events: none;
}
/* La mise en scène au défilement n'existe que si le JS pilote --p. */
.js .arrivee__seuil {
  --p: 0;
  opacity: clamp(0, calc((var(--p) - .38) * 3.2), 1);
  transform: translateY(calc((1 - clamp(0, calc((var(--p) - .38) * 3.2), 1)) * 1.6rem));
}
.arrivee__seuil p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.28;
  max-width: 31ch;
  margin: 0;
}
.arrivee__seuil dl { display: flex; gap: clamp(1.6rem, 4vw, 3.5rem); margin: 0; }
.arrivee__seuil dt {
  font-size: var(--t-micro);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(248, 244, 237, .55);
  margin-bottom: .4rem;
}
.arrivee__seuil dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1;
}

/* Invitation à descendre */
.arrivee__invite {
  position: absolute;
  left: 50%;
  bottom: clamp(1.4rem, 3.5vh, 2.6rem);
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  margin: 0;
  color: rgba(248, 244, 237, .62);
  font-size: var(--t-micro);
  letter-spacing: .26em;
  text-transform: uppercase;
}
.js .arrivee__invite { --p: 0; opacity: calc(1 - var(--p) * 4); }
.arrivee__fil {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, rgba(220,164,94,.9), rgba(220,164,94,0));
  transform-origin: top;
  animation: fil-descend 2.6s var(--doux) infinite;
}
@keyframes fil-descend {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  75%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(42px); opacity: 0; }
}

/* --- 8. Révélations au défilement ------------------------------ */
/* Les états masqués ne s'appliquent que si le JS a pris la main : sans lui,
   tout reste lisible (voir le filet de sécurité dans l'en-tête des pages). */
.js [data-reveler] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--sortie), transform 1s var(--sortie);
}
.js [data-reveler].est-visible { opacity: 1; transform: none; }
.js [data-reveler][data-delai="1"] { transition-delay: .09s; }
.js [data-reveler][data-delai="2"] { transition-delay: .18s; }
.js [data-reveler][data-delai="3"] { transition-delay: .27s; }
.js [data-reveler][data-delai="4"] { transition-delay: .36s; }
.js [data-reveler][data-delai="5"] { transition-delay: .45s; }

/* Révélation d'image : le cadre s'ouvre, l'image se dézoome */
.cadre {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--pierre);
}
.cadre picture { display: block; width: 100%; height: 100%; }
.cadre img { width: 100%; height: 100%; object-fit: cover; }

.js [data-reveler="image"] { opacity: 1; transform: none; }
.js [data-reveler="image"] .cadre { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--sortie); }
.js [data-reveler="image"] .cadre img { transform: scale(1.16); transition: transform 1.7s var(--sortie); }
.js [data-reveler="image"].est-visible .cadre { clip-path: inset(0 0 0 0); }
.js [data-reveler="image"].est-visible .cadre img { transform: scale(1); }

/* Titre révélé ligne par ligne — la fenêtre laisse passer hampes et jambages */
.lignes .ligne {
  display: block;
  overflow: hidden;
  padding: .1em .1em .2em 0;
  margin-bottom: -.14em;
}
.js .lignes .ligne > span {
  display: block;
  transform: translateY(140%);
  transition: transform 1.1s var(--sortie);
}
.lignes.est-visible .ligne > span { transform: translateY(0); }
.lignes .ligne:nth-child(2) > span { transition-delay: .08s; }
.lignes .ligne:nth-child(3) > span { transition-delay: .16s; }
.lignes .ligne:nth-child(4) > span { transition-delay: .24s; }

/* --- 9. Manifeste --------------------------------------------- */
.manifeste { background: var(--fond); }
.manifeste__grille {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gouttiere);
  align-items: start;
}
.manifeste__intro { grid-column: 1 / span 5; position: sticky; top: 8rem; }
.manifeste__corps  { grid-column: 7 / span 6; }

.manifeste__phrase {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.5rem);
  line-height: 1.32;
  font-weight: 300;
  text-wrap: pretty;
}
.manifeste__phrase + .texte { margin-top: 2.2rem; }

.socle {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(3.5rem, 8vw, 6rem);
  background: var(--trait-doux);
  border-block: 1px solid var(--trait-doux);
}
.socle__item { background: var(--fond); padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.8rem); }
.socle__nombre {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--olive);
  white-space: nowrap;
}
.socle__nom {
  margin-top: .7rem;
  font-size: var(--t-petit);
  letter-spacing: .1em;
  color: var(--texte-doux);
  text-wrap: pretty;
}

/* --- 10. Bande pleine largeur ---------------------------------- */
.bande { position: relative; overflow: hidden; }
.bande__image {
  position: relative;
  width: 100%;          /* explicite : sinon max-height rabote aussi la largeur */
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 72vh;
}
.bande__image img { width: 100%; height: 100%; object-fit: cover; }
.bande__legende {
  position: absolute;
  left: var(--marge); right: var(--marge);
  bottom: clamp(1.6rem, 4vw, 3rem);
  color: var(--creme);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  text-shadow: 0 1px 24px rgba(0,0,0,.45);
}
.bande::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(19,17,16,.78) 0%, rgba(19,17,16,.42) 22%, rgba(19,17,16,0) 52%);
  pointer-events: none;
}

/* --- 11. Collections ------------------------------------------- */
.collections { background: var(--fond-alt); }

.tete-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gouttiere);
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}
.tete-section__titre { grid-column: 1 / span 7; }
.tete-section__note  { grid-column: 9 / span 4; padding-bottom: .5rem; }

.rangee-collections {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gouttiere);
}

.collection {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.collection__cadre {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--pierre);
}
.collection__cadre img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--sortie), filter .9s ease;
}
.collection:hover .collection__cadre img,
.collection:focus-within .collection__cadre img { transform: scale(1.055); }

.collection__index {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  font-size: var(--t-micro);
  letter-spacing: .2em;
  color: var(--creme);
  mix-blend-mode: difference;
}
/* Les descriptions n'ont pas toutes la même longueur : la note absorbe
   la différence pour que les cinq prix restent sur la même ligne. */
.collection__corps {
  padding-top: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.collection__nom {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.6vw, 1.72rem);
  line-height: 1.15;
}
.collection__note {
  margin-top: .5rem;
  font-size: var(--t-petit);
  color: var(--texte-doux);
  line-height: 1.55;
  text-wrap: pretty;
  flex: 1;
}
.collection__pied {
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--trait-doux);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: var(--t-petit);
}
.collection__prix { font-family: var(--serif); font-size: 1.15rem; }
.collection__lien::after { content: ""; position: absolute; inset: 0; z-index: 3; }

/* --- 12. Duo image / texte ------------------------------------- */
.duo {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gouttiere);
  align-items: center;
}
.duo__media { grid-column: 1 / span 6; }
.duo__texte { grid-column: 8 / span 4; }
.duo.inverse .duo__media { grid-column: 7 / span 6; grid-row: 1; }
.duo.inverse .duo__texte { grid-column: 2 / span 4; grid-row: 1; }

.duo__media .cadre { aspect-ratio: 3 / 4; max-height: 64vh; }
.duo__media.paysage .cadre { aspect-ratio: 16 / 9; max-height: 64vh; }

/* Trio décalé, composition asymétrique */
.trio {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gouttiere);
  align-items: start;
}
.trio__a { grid-column: 1 / span 5; }
.trio__b { grid-column: 7 / span 3; margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.trio__c { grid-column: 10 / span 3; }
.trio .cadre { aspect-ratio: 3 / 4; max-height: 54vh; }
.trio__b .cadre, .trio__c .cadre { aspect-ratio: 4 / 5; max-height: 46vh; }

/* --- 13. Citation ---------------------------------------------- */
.citation {
  text-align: center;
  margin-inline: auto;
}
.citation blockquote {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  line-height: 1.12;
  max-width: 17ch;
  margin-inline: auto;
  font-weight: 300;
  font-style: italic;
  text-wrap: balance;
}
.citation figcaption {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  font-size: var(--t-micro);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

/* --- 14. Bandeau défilant (senteurs) --------------------------- */
.ruban {
  border-block: 1px solid var(--trait-doux);
  padding-block: clamp(1.1rem, 2.4vw, 1.8rem);
  overflow: hidden;
  --vitesse: 46s;
}
.ruban__piste {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ruban-defile var(--vitesse) linear infinite;
}
.ruban:hover .ruban__piste { animation-play-state: paused; }
.ruban__groupe {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3.2rem);
  padding-right: clamp(1.5rem, 3.5vw, 3.2rem);
}
.ruban__mot {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  white-space: nowrap;
  color: var(--texte-doux);
}
.ruban__point { width: 4px; height: 4px; border-radius: 50%; background: var(--dore); flex: none; }
@keyframes ruban-defile { to { transform: translateX(-50%); } }

/* --- 15. Produits (grille catalogue) --------------------------- */
.catalogue {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gouttiere) var(--gouttiere);
}
.produit { position: relative; display: flex; flex-direction: column; }
.produit__cadre {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--pierre);
}
.produit__cadre img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--sortie); }
.produit:hover .produit__cadre img, .produit:focus-within .produit__cadre img { transform: scale(1.05); }
.produit__etiquette {
  position: absolute;
  top: .9rem; right: .9rem;
  z-index: 2;
  padding: .4rem .85rem;
  background: rgba(248,244,237,.94);
  border-radius: 999px;
  font-size: var(--t-micro);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.produit__corps { padding-top: 1.1rem; display: flex; flex-direction: column; flex: 1; }
.produit__nom { font-family: var(--serif); font-size: 1.4rem; line-height: 1.16; }
.produit__desc { margin-top: .55rem; font-size: var(--t-petit); color: var(--texte-doux); line-height: 1.6; flex: 1; }
.produit__meta {
  margin-top: 1.1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--trait-doux);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.produit__senteurs {
  margin-top: .85rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.jeton {
  font-size: var(--t-micro);
  letter-spacing: .06em;
  padding: .32rem .7rem;
  border: 1px solid var(--trait);
  border-radius: 999px;
  color: var(--texte-doux);
  white-space: nowrap;
}

/* --- 16. Formulaires ------------------------------------------- */
.champ { position: relative; display: flex; flex-direction: column; gap: .5rem; }
.champ label {
  font-size: var(--t-micro);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--texte-doux);
}
.champ input,
.champ textarea,
.champ select {
  width: 100%;
  padding: .95rem 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--trait);
  border-radius: 0;
  font-size: 1.05rem;
  font-weight: 300;
  transition: border-color .4s ease;
  -webkit-appearance: none;
  appearance: none;
}
.champ select {
  padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--texte-doux) 50%),
                    linear-gradient(135deg, var(--texte-doux) 50%, transparent 50%);
  background-position: right 8px center, right 3px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.champ textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
.champ input:focus, .champ textarea:focus, .champ select:focus { border-color: var(--olive); }
.champ input::placeholder, .champ textarea::placeholder { color: var(--pierre-3); }

.champ__erreur {
  font-size: var(--t-petit);
  color: #9C4A2F;
  min-height: 1.2em;
  letter-spacing: .02em;
}
.champ.est-invalide input,
.champ.est-invalide textarea,
.champ.est-invalide select { border-color: #9C4A2F; }

.formulaire { display: grid; gap: clamp(1.4rem, 3vw, 2.1rem); }
.formulaire__paire { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.1rem); }

.consentement {
  display: flex;
  gap: .85rem;
  align-items: start;
  font-size: var(--t-petit);
  color: var(--texte-doux);
  line-height: 1.55;
}
.consentement input {
  width: 18px; height: 18px;
  margin-top: .22rem;
  flex: none;
  accent-color: var(--olive);
  border-bottom: 0;
  padding: 0;
}

.message-etat {
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--trait);
  border-left: 2px solid var(--olive);
  background: var(--fond-alt);
  font-size: var(--t-petit);
  line-height: 1.6;
}
.message-etat[hidden] { display: none; }

/* --- 17. Réservation d'atelier (parcours) ---------------------- */
.parcours {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gouttiere);
  align-items: start;
}
.parcours__etapes { grid-column: 1 / span 7; display: grid; gap: clamp(2rem, 4vw, 3.2rem); }
.parcours__recap  { grid-column: 9 / span 4; position: sticky; top: 7.5rem; }

.etape { border-top: 1px solid var(--trait); padding-top: 1.5rem; }
.etape__entete { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.4rem; }
.etape__num {
  font-size: var(--t-micro);
  letter-spacing: .22em;
  color: var(--olive);
}
.etape__titre { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.1; }

.choix { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.choix__option { position: relative; }
.choix__option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
  width: 100%; height: 100%;
}
.choix__corps {
  display: block;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--trait);
  background: var(--fond);
  cursor: pointer;
  transition: border-color .35s ease, background-color .35s ease, transform .35s var(--sortie);
}
.choix__option input:hover + .choix__corps { border-color: var(--pierre-2); }
.choix__option input:checked + .choix__corps {
  border-color: var(--olive);
  background: rgba(110, 118, 87, .07);
}
.choix__option input:focus-visible + .choix__corps { outline: 2px solid var(--olive); outline-offset: 3px; }
.choix__nom { font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; display: block; }
.choix__detail { display: block; margin-top: .4rem; font-size: var(--t-petit); color: var(--texte-doux); line-height: 1.5; }
.choix__prix { display: block; margin-top: .7rem; font-family: var(--serif); font-size: 1.1rem; }

.compteur { display: flex; align-items: center; gap: 1.2rem; }
.compteur__bouton {
  width: 46px; height: 46px;
  border: 1px solid var(--trait);
  border-radius: 999px;
  background: none;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: border-color .3s ease, background-color .3s ease;
}
.compteur__bouton:hover:not([disabled]) { border-color: var(--olive); background: rgba(110,118,87,.07); }
.compteur__bouton[disabled] { opacity: .35; cursor: not-allowed; }
.compteur__valeur { font-family: var(--serif); font-size: 1.9rem; min-width: 2ch; text-align: center; }

.recap {
  background: var(--fond-alt);
  border: 1px solid var(--trait-doux);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.recap__titre {
  font-size: var(--t-micro);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--texte-doux);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--trait-doux);
}
.recap__liste { display: grid; gap: .9rem; padding-block: 1.3rem; }
.recap__ligne { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--t-petit); }
.recap__ligne dt { color: var(--texte-doux); }
.recap__ligne dd { margin: 0; text-align: right; }
.recap__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--trait);
}
.recap__total dt { font-size: var(--t-micro); letter-spacing: .2em; text-transform: uppercase; color: var(--texte-doux); }
.recap__total dd { margin: 0; font-family: var(--serif); font-size: 2rem; line-height: 1; }
.recap .bouton { width: 100%; justify-content: center; margin-top: 1.5rem; }
.recap__mention { margin-top: 1rem; font-size: var(--t-micro); color: var(--texte-doux); line-height: 1.6; }

/* --- 18. Le lieu ----------------------------------------------- */
.lieu { background: var(--nuit); color: var(--creme); }
.lieu .surtitre, .lieu .texte, .lieu .legende { color: rgba(248,244,237,.66); }
.lieu .trait-fin { border-color: rgba(248,244,237,.16); }

.coordonnees { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.coordonnees dt {
  font-size: var(--t-micro);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(248,244,237,.5);
  margin-bottom: .7rem;
}
.coordonnees dd { margin: 0; font-size: 1.05rem; line-height: 1.7; }

/* Une section sombre en fin de page se prolonge dans le pied : inutile
   d'empiler deux marges là où l'œil ne voit qu'un seul aplat. */
main > .lieu:last-child { padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }

/* --- 19. Pied de page ------------------------------------------ */
.pied {
  background: var(--nuit);
  color: rgba(248, 244, 237, .72);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.6rem;
}
.pied a:hover { color: var(--creme); }
.pied__haut {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gouttiere);
  padding-bottom: clamp(2rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid rgba(248,244,237,.14);
}
.pied__marque { grid-column: 1 / span 4; color: var(--creme); }
.pied__col { grid-column: span 2; }
.pied__col:nth-of-type(2) { grid-column: 6 / span 2; }
.pied__col:nth-of-type(3) { grid-column: 8 / span 2; }
.pied__col:nth-of-type(4) { grid-column: 10 / span 3; }
.pied__titre {
  font-size: var(--t-micro);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(248,244,237,.45);
  margin-bottom: 1.2rem;
}
.pied__liste { display: grid; gap: .7rem; font-size: var(--t-petit); }
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1.3rem;
  font-size: var(--t-micro);
  letter-spacing: .06em;
  color: rgba(248,244,237,.45);
}
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 1.4rem; }

.signature-pied {
  font-family: var(--serif);
  font-size: clamp(2rem, 7.5vw, 6rem);
  line-height: .74;
  letter-spacing: -.03em;
  color: rgba(248,244,237,.085);
  margin-top: clamp(1.1rem, 2.5vw, 1.8rem);
  user-select: none;
  overflow: hidden;
  text-align: center;
}

/* --- 20. En-tête de page intérieure ---------------------------- */
.tete-page {
  padding-top: clamp(9rem, 17vh, 13rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  background: var(--fond);
}
.tete-page__grille {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gouttiere);
  align-items: end;
}
.tete-page__titre { grid-column: 1 / span 6; }
.tete-page__note  { grid-column: 8 / span 4; padding-bottom: .6rem; }

.fil {
  display: flex;
  gap: .6rem;
  align-items: center;
  font-size: var(--t-micro);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--texte-doux);
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}
.fil li + li::before { content: "/"; margin-right: .6rem; opacity: .5; }
.fil li { display: flex; align-items: center; }

/* --- 21. Divers ------------------------------------------------ */
.trait-fin { border: 0; border-top: 1px solid var(--trait-doux); margin: 0; }

.paire-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.8rem, 4vw, 3.2rem);
}
.note__titre {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin-bottom: .6rem;
  line-height: 1.2;
}

.liste-marquee { display: grid; gap: 1rem; }
.liste-marquee li {
  display: flex;
  gap: 1.1rem;
  align-items: baseline;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--trait-doux);
  font-size: clamp(1rem, .4vw + .92rem, 1.12rem);
  line-height: 1.6;
  color: var(--texte-doux);
}
/* Sur fond sombre, la liste porte la voix de la maison : on l'affirme. */
.lieu .liste-marquee li {
  font-size: clamp(1.05rem, .7vw + .9rem, 1.35rem);
  color: rgba(248, 244, 237, .84);
  border-bottom-color: rgba(248, 244, 237, .14);
  padding-bottom: 1.3rem;
}
.lieu .liste-marquee { gap: 1.3rem; }
.lieu .liste-marquee li::before { background: var(--flamme); }
.liste-marquee li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--olive);
  flex: none;
  transform: translateY(-3px);
}

/* --- 22. Adaptations ------------------------------------------- */
@media (max-width: 1180px) {
  .rangee-collections { grid-template-columns: repeat(3, 1fr); }
  .rangee-collections .collection:nth-child(4) { grid-column: 1 / span 1; }
}

@media (max-width: 1024px) {
  .nav, .entete__actions .bouton { display: none; }
  .bascule-menu { display: block; }

  .manifeste__intro { grid-column: 1 / -1; position: static; }
  .manifeste__corps { grid-column: 1 / -1; margin-top: 2rem; }

  .tete-section__titre, .tete-page__titre { grid-column: 1 / -1; }
  .tete-section__note, .tete-page__note { grid-column: 1 / -1; padding-bottom: 0; }

  .duo__media, .duo.inverse .duo__media { grid-column: 1 / -1; grid-row: auto; }
  .duo__texte, .duo.inverse .duo__texte { grid-column: 1 / -1; grid-row: auto; }

  .trio__a, .trio__b, .trio__c { grid-column: 1 / -1; margin-top: 0; }
  .trio__b, .trio__c { display: none; }

  .parcours__etapes, .parcours__recap { grid-column: 1 / -1; }
  .parcours__recap { position: static; margin-top: 1rem; }

  .pied__marque { grid-column: 1 / -1; margin-bottom: 2rem; }
  .pied__col, .pied__col:nth-of-type(2), .pied__col:nth-of-type(3), .pied__col:nth-of-type(4) { grid-column: span 4; }
}

@media (max-width: 720px) {
  .socle { grid-template-columns: repeat(2, 1fr); }
  .rangee-collections { grid-template-columns: repeat(2, 1fr); }
  .rangee-collections .collection:nth-child(5) { grid-column: 1 / -1; }
  .rangee-collections .collection:nth-child(5) .collection__cadre { aspect-ratio: 16 / 11; }

  .formulaire__paire { grid-template-columns: 1fr; }

  .arrivee { height: 240vh; }
  .arrivee__media {
    clip-path: inset(
      calc(var(--p) * 8vh) calc(var(--p) * 10vw) calc(var(--p) * 22vh) calc(var(--p) * 10vw)
      round calc(var(--p) * 2px));
  }
  .arrivee__media video { transform: scale(calc(1 + var(--p) * .05)); }
  .arrivee__seuil { flex-direction: column; align-items: start; }

  .bande__image { aspect-ratio: 4 / 5; }

  .pied__marque { margin-bottom: 1.5rem; }
  /* La promesse de marque est déjà dite dans la page : on ne la répète pas ici. */
  .pied__marque p { display: none; }
  .pied__col, .pied__col:nth-of-type(2), .pied__col:nth-of-type(3), .pied__col:nth-of-type(4) { grid-column: span 6; }
  .pied__haut { row-gap: 1.75rem; }
  .pied__liste { gap: .55rem; }
  .pied__titre { margin-bottom: .9rem; }
}

@media (max-width: 480px) {
  .catalogue { grid-template-columns: 1fr; }
  .rangee-collections { grid-template-columns: 1fr; }
  .rangee-collections .collection__cadre,
  .rangee-collections .collection:nth-child(5) .collection__cadre { aspect-ratio: 4 / 5; }
  .coordonnees { grid-template-columns: 1fr; }
}

/* --- 23. Mouvement réduit -------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveler],
  [data-reveler].est-visible { opacity: 1 !important; transform: none !important; }
  [data-reveler="image"] .cadre { clip-path: none !important; }
  [data-reveler="image"] .cadre img { transform: none !important; }
  .lignes .ligne > span,
  .arrivee__titre .ligne > span { transform: none !important; }
  .lignes .ligne, .arrivee__titre .ligne { overflow: visible; }
  .arrivee__note { opacity: 1 !important; transform: none !important; }

  /* L'arrivée devient une image fixe, lisible sans mouvement */
  .arrivee { height: auto; }
  .arrivee__scene { position: static; height: 100svh; }
  .arrivee__media { clip-path: none !important; transform: none !important; }
  .arrivee__contenu { opacity: 1 !important; transform: none !important; }
  .arrivee__seuil { opacity: 1 !important; transform: none !important; }
  .arrivee__invite { display: none; }
  .ruban__piste { animation: none; }
}

/* --- 24. Impression -------------------------------------------- */
@media print {
  .entete, .panneau, .arrivee__invite, .ruban, video { display: none !important; }
  body { background: #fff; color: #000; }
  .arrivee { height: auto; }
}

/* ============================================================
   25. Pages éditoriales et locales
   ============================================================ */

/* — « En bref » : le bloc que les moteurs et les IA extraient */
.en-bref {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.4rem, 2.6vw, 2rem) clamp(1.4rem, 2.6vw, 2.2rem);
  background: var(--fond-alt);
  border-left: 2px solid var(--olive);
  max-width: 78ch;
}
.en-bref__label {
  font-size: var(--t-micro);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: .7rem;
}
.en-bref__texte {
  font-size: clamp(1.05rem, .6vw + .9rem, 1.22rem);
  line-height: 1.62;
  color: var(--texte);
  text-wrap: pretty;
}

/* — Questions / réponses */
.liste-qr { display: grid; gap: 0; max-width: 82ch; }
.qr {
  padding-block: clamp(1.3rem, 2.4vw, 1.9rem);
  border-bottom: 1px solid var(--trait-doux);
}
.qr:first-child { border-top: 1px solid var(--trait-doux); }
.qr__q {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.5vw, 1.45rem);
  line-height: 1.25;
  margin-bottom: .6rem;
}
.qr__r { color: var(--texte-doux); line-height: 1.68; text-wrap: pretty; }

.lieu .qr { border-color: rgba(248, 244, 237, .14); }
.lieu .qr:first-child { border-top-color: rgba(248, 244, 237, .14); }
.lieu .qr__q { color: var(--creme); }

/* — Avis clients */
.avis-carrousel { position: relative; }

.avis-piste {
  display: flex;
  gap: var(--gouttiere);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Le débord permet aux cartes de venir jusqu'au bord sans être coupées. */
  padding-block: 2px;
}
.avis-piste::-webkit-scrollbar { display: none; }
.avis-piste:focus-visible { outline: 2px solid var(--olive); outline-offset: 6px; }

.avis {
  /* Environ deux cartes visibles : la troisième dépasse, donc ça défile
     — et le carrousel gardera du sens quand les avis seront plus nombreux. */
  flex: 0 0 clamp(258px, 46%, 545px);
  scroll-snap-align: start;
  margin: 0;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--fond-alt);
  border: 1px solid var(--trait-doux);
  display: flex;
  flex-direction: column;
}
.avis__etoiles { color: var(--dore); letter-spacing: .18em; font-size: .95rem; }
.avis__texte {
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.2vw, 1.28rem);
  line-height: 1.45;
  font-style: italic;
  flex: 1;
  text-wrap: pretty;
}
.avis__signature {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--trait-doux);
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.avis__auteur { font-size: var(--t-petit); letter-spacing: .06em; }
.avis__source { font-size: var(--t-micro); letter-spacing: .1em; color: var(--texte-doux); }

/* — Commandes : révélées par le JS seulement si la piste déborde */
.avis-commandes { display: flex; gap: .6rem; margin-top: clamp(1.4rem, 2.6vw, 2rem); }
.avis-commandes[hidden] { display: none; }
.avis-fleche {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--trait);
  border-radius: 999px;
  color: var(--texte);
  cursor: pointer;
  transition: border-color .3s ease, background-color .3s ease, opacity .3s ease;
}
.avis-fleche:hover:not([disabled]) { border-color: var(--olive); background: rgba(110, 118, 87, .07); }
.avis-fleche[disabled] { opacity: .3; cursor: default; }

.lieu .avis { background: rgba(248, 244, 237, .05); border-color: rgba(248, 244, 237, .14); }
.lieu .avis__signature { border-top-color: rgba(248, 244, 237, .14); }
.lieu .avis-fleche { border-color: rgba(248, 244, 237, .28); color: var(--creme); }

/* — Maillage départemental */
.liste-departements {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem .5rem;
}
.liste-departements a {
  display: inline-block;
  padding: .45rem .95rem;
  border: 1px solid rgba(248, 244, 237, .22);
  border-radius: 999px;
  font-size: var(--t-petit);
  transition: border-color .35s ease, background-color .35s ease;
}
.liste-departements a::after { display: none; }
.liste-departements a:hover,
.liste-departements a:focus-visible {
  border-color: var(--flamme);
  background: rgba(220, 164, 94, .1);
}

/* — Bandeau départements du pied de page */
.pied__zone {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1.1rem;
  padding-top: 1.5rem;
  font-size: var(--t-petit);
}
.pied__zone-label { color: rgba(248, 244, 237, .45); font-size: var(--t-micro); letter-spacing: .12em; text-transform: uppercase; }
.pied__zone ul { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }

@media (max-width: 720px) {
  .avis { flex-basis: min(84%, 340px); }
  .en-bref { padding-inline: 1.1rem; }
}

/* ============================================================
   26. Journal, glossaire, sommaire
   ============================================================ */

.sommaire { margin-top: clamp(1.8rem, 3vw, 2.6rem); }
.sommaire ul { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.sommaire a { font-size: var(--t-petit); letter-spacing: .08em; }

.grille-glossaire {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.grille-glossaire .qr:first-child { border-top: 1px solid var(--trait-doux); }
@media (min-width: 760px) {
  .grille-glossaire .qr:nth-child(2) { border-top: 1px solid var(--trait-doux); }
}

/* — Billets du journal */
.grille-billets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: clamp(1.8rem, 3.4vw, 2.8rem) var(--gouttiere);
}
.grille-billets--duo { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.billet { position: relative; }
.billet__lien { display: block; }
.billet__cadre { aspect-ratio: 1; overflow: hidden; background: var(--pierre); }
.billet__cadre img { transition: transform 1s var(--sortie); }
.billet__lien:hover .billet__cadre img,
.billet__lien:focus-visible .billet__cadre img { transform: scale(1.05); }

.billet__meta {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1rem;
  font-size: var(--t-micro);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--texte-doux);
}
.billet__cat { color: var(--olive); }
.billet__cat::after { content: "·"; margin-left: .8rem; opacity: .5; }

.billet__titre {
  margin-top: .55rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.5vw, 1.55rem);
  line-height: 1.2;
  text-wrap: pretty;
}
.billet__extrait {
  margin-top: .6rem;
  font-size: var(--t-petit);
  line-height: 1.6;
  color: var(--texte-doux);
  text-wrap: pretty;
}

/* — Page article */
.article__entete h1 { max-width: 18ch; }
.article__signature {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
  margin-top: 1.4rem;
  font-size: var(--t-petit);
  letter-spacing: .08em;
  color: var(--texte-doux);
}
.article__figure {
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  max-width: 820px;          /* la colonne de texte fait ~790 px : léger débord, pas un mur */
}
.article__figure .cadre { aspect-ratio: 3 / 2; }

.article__corps {
  max-width: 72ch;
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem);
}
.article__section + .article__section { margin-top: clamp(2.2rem, 4.5vw, 3.4rem); }
.article__h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.18;
  margin-bottom: 1rem;
  text-wrap: pretty;
}
.article__corps .texte p { font-size: clamp(1.02rem, .5vw + .9rem, 1.16rem); line-height: 1.75; }

.article__aussi {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--fond-alt);
}
.article__pied {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(1.6rem, 3vw, 2.2rem);
  border-top: 1px solid var(--trait);
}
.article__auteur { color: var(--texte-doux); line-height: 1.7; max-width: 60ch; }

@media (max-width: 600px) {
  .grille-billets { grid-template-columns: 1fr; gap: 1.6rem; }
  /* En liste, la vignette passe à gauche : on lit les titres, pas des affiches. */
  .billet__lien {
    display: grid;
    grid-template-columns: 38% 1fr;
    column-gap: 1rem;
    align-items: start;
  }
  /* La vignette tient les deux rangées ; le texte reste dans la colonne de droite. */
  .billet__cadre { grid-row: 1 / span 2; }
  .billet__meta  { grid-column: 2; margin-top: 0; }
  .billet__titre { grid-column: 2; }
  .billet__titre { font-size: 1.12rem; }
  .billet__extrait { display: none; }
  .article__entete h1 { max-width: none; }
}
.qr__lien { margin-top: .7rem; font-size: var(--t-petit); }

/* ============================================================
   27. Invitation à l'inscription (fenêtre de sortie)
   ============================================================ */
.invitation {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: var(--marge);
}
.invitation[hidden] { display: none; }

.invitation__fond {
  position: absolute;
  inset: 0;
  background: rgba(19, 17, 16, .58);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .45s var(--sortie);
}
.invitation.est-ouverte .invitation__fond { opacity: 1; }

.invitation__panneau {
  position: relative;
  width: min(100%, 460px);
  max-height: calc(100svh - 2 * var(--marge));
  overflow-y: auto;
  background: var(--fond);
  border: 1px solid var(--trait-doux);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  text-align: left;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--sortie), transform .5s var(--sortie);
}
.invitation.est-ouverte .invitation__panneau { opacity: 1; transform: none; }

.invitation__croix {
  position: absolute;
  top: .9rem; right: .9rem;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--trait-doux);
  border-radius: 999px;
  color: var(--texte-doux);
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease;
}
.invitation__croix:hover { border-color: var(--olive); color: var(--texte); }

.invitation__surtitre { margin-bottom: 1rem; }
.invitation__titre {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.4vw, 1.95rem);
  line-height: 1.16;
  text-wrap: balance;
}
.invitation__texte {
  margin-top: .9rem;
  font-size: var(--t-petit);
  line-height: 1.65;
  color: var(--texte-doux);
  text-wrap: pretty;
}
.invitation__form { display: grid; gap: 1.2rem; margin-top: 1.6rem; }
.invitation__form .bouton { justify-content: center; }
.invitation__merci[hidden] { display: none; }

.invitation__refus {
  display: block;
  margin: 1.2rem auto 0;
  padding: .3rem .2rem;
  background: none;
  border: 0;
  font-size: var(--t-micro);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--texte-doux);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.invitation__refus:hover { color: var(--texte); }

body.invitation-ouverte { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .invitation__fond, .invitation__panneau { transition: none; opacity: 1; transform: none; }
}

/* — FAQ en fin d'article */
.article__faq { margin-top: clamp(2.6rem, 5vw, 3.8rem); }
.article__faq .liste-qr { max-width: none; }
.article__faq .qr__q { font-size: clamp(1.08rem, 1.3vw, 1.24rem); }
.article__faq-note {
  margin-top: 1.4rem;
  font-size: var(--t-petit);
  color: var(--texte-doux);
}

/* ============================================================
   28. Occasions d'atelier
   ============================================================ */
.rangee-occasions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
}
.occasion { position: relative; display: flex; flex-direction: column; }
.occasion__cadre { aspect-ratio: 4 / 3; overflow: hidden; background: var(--pierre); }
.occasion__cadre img { transition: transform 1s var(--sortie); }
.occasion:hover .occasion__cadre img,
.occasion:focus-within .occasion__cadre img { transform: scale(1.05); }

.occasion__corps { padding-top: 1.15rem; display: flex; flex-direction: column; flex: 1; }
.occasion__titre {
  margin-top: .7rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.7vw, 1.7rem);
  line-height: 1.16;
  text-wrap: pretty;
}
.occasion__lien::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.occasion__note {
  margin-top: .6rem;
  font-size: var(--t-petit);
  line-height: 1.6;
  color: var(--texte-doux);
  flex: 1;
  text-wrap: pretty;
}
.occasion__action {
  margin-top: 1.1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--trait-doux);
  font-size: var(--t-petit);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.occasion:hover .occasion__action .fleche { transform: translateX(4px); }
.occasion__action .fleche { transition: transform .5s var(--sortie); }

@media (max-width: 900px) {
  .rangee-occasions { grid-template-columns: 1fr; }
  .occasion__cadre { aspect-ratio: 16 / 9; }
}

/* --- 25. Pied à quatre colonnes (octobre 2026) ----------------- */
.pied__marque { grid-column: 1 / span 3; }
.pied__col:nth-of-type(2) { grid-column: 4 / span 2; }
.pied__col:nth-of-type(3) { grid-column: 6 / span 2; }
.pied__col:nth-of-type(4) { grid-column: 8 / span 2; }
.pied__col:nth-of-type(5) { grid-column: 10 / span 3; }
@media (max-width: 1024px) {
  .pied__marque { grid-column: 1 / -1; }
  .pied__col:nth-of-type(n) { grid-column: span 6; }
}

/* --- 26. Fiche produit ------------------------------------------ */
.fiche {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gouttiere);
  margin-top: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
}
.fiche__galerie {
  grid-column: 1 / span 7;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
}
.fiche__galerie .cadre { aspect-ratio: 1; }
.fiche__galerie > :first-child { grid-column: 1 / -1; }
.fiche__infos { grid-column: 9 / span 4; position: sticky; top: 6.5rem; }
.fiche__h1 { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.06; font-weight: 400; }
.fiche__accroche { margin-top: 1.2rem; color: var(--texte-doux); line-height: 1.65; }
.fiche__achat {
  margin-top: 1.6rem;
  padding-block: 1.2rem;
  border-block: 1px solid var(--trait);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem 1.2rem;
}
.fiche__prix { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.fiche__dispo { font-size: var(--t-micro); letter-spacing: .16em; text-transform: uppercase; color: var(--olive-fonce); }
.fiche__dispo::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .5rem; border-radius: 50%; background: currentColor; vertical-align: .05rem; }
.fiche__dispo.rupture { color: var(--texte-doux); }
.fiche__senteurs { margin-top: 1.3rem; }
.fiche__senteurs .produit__senteurs { margin-top: .6rem; }
.fiche__cta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.fiche__mention { margin-top: 1rem; font-size: var(--t-micro); color: var(--texte-doux); line-height: 1.7; }
.fiche__carac { margin-top: 1.6rem; display: grid; gap: 0; }
.fiche__carac div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .62rem; border-bottom: 1px solid var(--trait-doux); font-size: var(--t-petit); }
.fiche__carac dt { color: var(--texte-doux); }
.fiche__carac dd { margin: 0; text-align: right; }
@media (max-width: 1024px) {
  .fiche__galerie, .fiche__infos { grid-column: 1 / -1; }
  .fiche__infos { position: static; }
}
@media (max-width: 480px) {
  .fiche__galerie { grid-template-columns: repeat(2, 1fr); }
  .fiche__galerie > :nth-child(4) { display: none; }
}

/* --- 27. Contrastes (Lighthouse, octobre 2026) ------------------ */
.pied__titre { color: rgba(248,244,237,.66); }
.pied__zone-label { color: rgba(248,244,237,.62); }
.etape__num { color: var(--olive-fonce); }
