/* ===========================================================
   PAGES.CSS — Styles propres à chaque page
   Chargé après tokens.css et main.css.
   =========================================================== */

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
/* Le hero tient dans une hauteur d'écran, contenu centré verticalement.
   Le padding haut compense le header fixe ; le reste de l'espace est réparti
   automatiquement de part et d'autre par le centrage. */
.hero {
  position: relative;
  background: var(--vanille);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: var(--sp-md);
  overflow: hidden;
}
.hero > .container { width: 100%; }

/* Brandmark en filigrane — usage prévu par la charte. Ancré en bas à gauche et
   largement débordant hors cadre : il texture l'angle sans jamais passer
   derrière le titre, où il brouillait la lecture. */
.hero__watermark {
  position: absolute;
  bottom: -18%;
  left: -14%;
  width: clamp(280px, 34vw, 520px);
  height: auto;
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
}

.hero__text { min-width: 0; }
.hero__title { margin-bottom: var(--sp-sm); }

/* Mix prévu par la charte : mot d'accroche manuscrit puis reste du titre en
   Montserrat. Le manuscrit chevauche légèrement la ligne suivante pour lier
   les deux.
   La manuscrite a des ascendantes qui montent bien au-dessus de sa boîte de
   ligne : avec un line-height serré, le « L » de « L'art » remontait sur le
   sur-titre. Le padding-top compense exactement ce débordement, en em pour
   suivre la taille de police à toutes les largeurs. */
.hero__script {
  display: block;
  color: var(--noir);
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.8;
  padding-top: 0.4em;
  margin-bottom: -0.06em;
  margin-left: -0.03em;
}
.hero__titleMain {
  display: block;
  font-size: var(--fs-display);
  font-weight: var(--fw-light);
  line-height: 1.04;
  letter-spacing: var(--ls-tight);
  color: var(--noir);
}

.hero__tagline {
  font-size: var(--fs-lead);
  font-weight: var(--fw-light);
  /* Interligne resserré par rapport au corps courant : sur trois lignes dans
     un hero contraint en hauteur, le 1.9 mangeait trop de place. */
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 46ch;
  margin-bottom: var(--sp-md);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-xs); }

/* Repères qualitatifs : ils situent l'offre sans avancer de chiffre.
   Trois colonnes fixes plutôt qu'un flex qui repliait le troisième item
   seul sur une deuxième ligne. */
.hero__reperes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--line);
}
.hero__reperes li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hero__repereValeur {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
}
.hero__repereLabel {
  font-size: var(--fs-nano);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ─── Médias en arche ─── */
.hero__media {
  position: relative;
  min-width: 0;
  /* Une largeur explicite : sans elle, un enfant en width:100% dans une
     grille peut se réduire à zéro et l'image disparaît. */
  width: 100%;
  /* Le retrait à gauche dégage la place de la petite photo ; aucun retrait en
     bas, qui ne créait que du vide et poussait le hero hors de l'écran. */
  padding-left: clamp(28px, 5vw, 66px);
}
.hero__photo { margin: 0; overflow: hidden; background: var(--vanille-fonce); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* C'est la photo qui fixe la hauteur du hero : à ratio constant, sa hauteur
   suit la largeur de colonne et dépassait l'écran sur un portable. On la
   plafonne à l'espace réellement disponible ; la largeur suit d'elle-même. */
.hero__photo--principale {
  border-radius: var(--radius-arch);
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - var(--header-h) - var(--sp-2xl));
  width: auto;
  max-width: 100%;
  margin-left: auto;
  box-shadow: var(--shadow-md);
}
/* La seconde photo mord sur la première : elle crée la profondeur et montre
   d'emblée deux registres de décor différents. Elle chevauche le bas de
   l'arche plutôt que de flotter en dessous. */
/* Ronde plutôt que carrée : elle répond au médaillon du logo, et son cercle
   tranche avec la grande arche au lieu d'en répéter le motif. Pour la passer
   en mini-arche, remplacer border-radius par :
   50% 50% 0 0 / 50% 50% 0 0 */
.hero__photo--secondaire {
  position: absolute;
  left: 0;
  bottom: 4%;
  width: clamp(118px, 27%, 196px);
  aspect-ratio: 1;
  border: 7px solid var(--vanille);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

/* ─── Invitation à faire défiler ───────────────────────────────────────
   Placée à gauche, dans la colonne de texte : à droite elle se superposait
   à la photo, qui descend jusqu'au bas du cadre. Disposition horizontale
   pour tenir dans la bande de bas de page sans pousser le contenu. */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-sm);
  left: var(--gutter);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-faint);
  font-size: var(--fs-nano);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  transition: color var(--t-base) var(--ease);
}
.hero__scroll:hover { color: var(--noir); }
.hero__scrollLine {
  width: 46px; height: 1px;
  background: linear-gradient(to right, var(--sable), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scrollLine::after {
  content: '';
  position: absolute;
  top: 0; left: -46px;
  width: 46px; height: 1px;
  background: var(--sable-fonce);
  animation: scrollDot 2.4s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { transform: translateX(0); }
  100% { transform: translateX(92px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scrollLine::after { animation: none; }
}

/* ─── Écrans peu hauts ───────────────────────────────────────────────────
   Sur un portable 13 pouces (≈760 px utiles) ou un écran 16:10 bas, la
   composition dépassait la hauteur d'écran. On comprime l'échelle par
   paliers plutôt que de laisser le contenu déborder : le hero reste tenu
   dans une vue, sans jamais réduire le corps de texte sous 16 px. */
@media (min-width: 901px) and (max-height: 840px) {
  .hero__script    { font-size: clamp(44px, 5.6vw, 78px); }
  .hero__titleMain { font-size: clamp(32px, 4.4vw, 58px); }
  .hero__tagline   { font-size: var(--fs-body); margin-bottom: var(--sp-sm); }
  .hero__title     { margin-bottom: var(--sp-xs); }
  .hero__reperes   { margin-top: var(--sp-sm); padding-top: var(--sp-xs); gap: var(--sp-xs); }
  .hero__photo--principale { max-height: calc(100svh - var(--header-h) - var(--sp-xl)); }
}

@media (min-width: 901px) and (max-height: 730px) {
  /* Sous ce seuil, les repères passent en dessous de la ligne de flottaison :
     ils sont secondaires et repris ailleurs sur le site. */
  .hero__reperes { display: none; }
  .hero__script    { font-size: clamp(40px, 5vw, 66px); }
  .hero__titleMain { font-size: clamp(29px, 3.9vw, 50px); }
  .hero__scroll { display: none; }
}

@media (max-width: 900px) {
  /* En colonne unique, le contenu ne peut pas tenir dans une hauteur d'écran
     sans devenir minuscule : on rend la hauteur au flux naturel. */
  .hero {
    min-height: 0;
    display: block;
    padding-top: calc(var(--header-h-sm) + var(--sp-lg));
    padding-bottom: var(--sp-xl);
  }
  /* Le texte d'abord, les photos ensuite : l'ordre du document. Rien ne
     force donc l'ordre d'affichage — et ce que lit un lecteur d'écran suit
     ce qu'on voit. */
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .hero__media { max-width: 440px; margin-inline: auto; padding-left: clamp(24px, 8vw, 48px); }
  .hero__photo--principale { max-height: none; width: 100%; }
  .hero__scroll { display: none; }
  .hero__watermark { display: none; }
  .hero__tagline { font-size: var(--fs-body); max-width: none; }
  .hero__reperes { margin-top: var(--sp-lg); }
}

@media (max-width: 620px) {
  /* Trois colonnes deviennent illisibles sous 620 px : « Aucun décor rejoué
     deux fois » y tombait sur quatre lignes. On empile, et on met la valeur
     et son libellé sur une même ligne pour ne pas allonger la page. */
  .hero__reperes { grid-template-columns: 1fr; gap: var(--sp-xs); }
  .hero__reperes li {
    flex-direction: row;
    align-items: baseline;
    gap: var(--sp-2xs);
    flex-wrap: wrap;
  }
  .hero__repereValeur { flex: none; }
  .hero__repereLabel { letter-spacing: var(--ls-wide); }
}


/* ═══════════════════════════════════════════════════════════
   INTRO — texte + média en arche
   ═══════════════════════════════════════════════════════════ */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.intro-split__title { margin-bottom: var(--sp-md); }
.intro-split__text .lead { margin-bottom: var(--sp-md); }

/* Le conteneur du média porte une largeur explicite : sans elle, un enfant
   en width:100% dans une grille peut se réduire à zéro et l'image disparaît. */
.intro-split__media { margin: 0; width: 100%; min-width: 0; }

/* Cadre à filet décalé — alternative à l'arche, pour ne pas répéter le motif
   du hero d'une section à l'autre. Le filet sable se décale vers le bas et
   vers l'extérieur, ce qui donne de la profondeur sans ombre portée. */
.intro-split__media--cadre { position: relative; }
.intro-split__media--cadre::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--sp-sm));
  bottom: calc(-1 * var(--sp-sm));
  width: 100%;
  height: 100%;
  border: 1px solid var(--sable);
  pointer-events: none;
}
.intro-split__media--cadre .media { position: relative; z-index: 1; }

@media (max-width: 620px) {
  /* Le filet déborderait de la gouttière sur les très petits écrans. */
  .intro-split__media--cadre::before { left: calc(-1 * var(--sp-2xs)); bottom: calc(-1 * var(--sp-2xs)); }
}

.signature {
  margin: var(--sp-lg) 0 var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--line);
}
.signature__name {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
  margin-bottom: 6px;
}
.signature__role {
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-faint);
}

@media (max-width: 900px) {
  .intro-split { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .intro-split__media { max-width: 460px; margin-inline: auto; }
}


/* ═══════════════════════════════════════════════════════════
   NOS UNIVERS
   ═══════════════════════════════════════════════════════════ */
/* ─── Mosaïque des univers ───────────────────────────────────────────────
   Tuiles de tailles inégales, nom posé sur la photo. Le voile n'est présent
   qu'en bas de chaque image : il garantit la lisibilité du nom quelle que
   soit la photo, sans éteindre le décor. */
.univers-mosaique {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
}

.univers-tuile {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 0;
  background: var(--vanille-fonce);
}
.univers-tuile:nth-child(1) { grid-column: span 4; aspect-ratio: 16 / 10; }
/* Pas de ratio sur la tuile voisine : elle s'étire sur la hauteur de la
   rangée, que fixe la grande tuile. Deux ratios figés ne peuvent pas
   s'aligner ici — la grande couvre 4 colonnes ET 3 gouttières, la petite
   2 colonnes et 1 gouttière : leurs largeurs ne sont donc pas dans un rapport
   de 2 pour 1, et il manquait 13 px en bas de la petite. */
.univers-tuile:nth-child(2) { grid-column: span 2; }
.univers-tuile:nth-child(3),
.univers-tuile:nth-child(4),
.univers-tuile:nth-child(5) { grid-column: span 2; aspect-ratio: 4 / 5; }

.univers-tuile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease-out);
}
.univers-tuile:hover img { transform: scale(1.06); }

.univers-tuile__voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(27, 24, 21, 0.80) 0%,
    rgba(27, 24, 21, 0.32) 46%,
    rgba(27, 24, 21, 0.04) 100%);
}

.univers-tuile__corps {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(18px, 2vw, 30px);
  color: var(--vanille);
}
.univers-tuile__titre {
  display: block;
  font-size: clamp(19px, 2.1vw, 28px);
  font-weight: var(--fw-semi);
  line-height: var(--lh-snug);
}
/* La description se déplie au survol : au repos, seul le nom s'affiche, ce
   qui laisse le décor visible. */
.univers-tuile__texte {
  display: block;
  font-size: var(--fs-small);
  line-height: var(--lh-normal);
  color: rgba(241, 234, 218, 0.85);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--t-base) var(--ease),
              opacity var(--t-fast) var(--ease),
              margin-top var(--t-base) var(--ease);
}
.univers-tuile:hover .univers-tuile__texte,
.univers-tuile:focus-visible .univers-tuile__texte {
  max-height: 7em;
  opacity: 1;
  margin-top: 7px;
}

@media (max-width: 860px) {
  .univers-mosaique { grid-template-columns: repeat(2, 1fr); }
  .univers-tuile:nth-child(n) { grid-column: span 1; aspect-ratio: 4 / 5; }
  .univers-tuile:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 10; }
  /* Pas de survol au toucher : la description reste visible. */
  .univers-tuile__texte { max-height: 7em; opacity: 1; margin-top: 7px; }
}
@media (max-width: 480px) {
  .univers-mosaique { grid-template-columns: 1fr; }
  .univers-tuile:nth-child(n) { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* En mode édition, le survol ne doit pas masquer un texte modifiable. */
body[data-edit-mode="true"] .univers-tuile__texte {
  max-height: 7em;
  opacity: 1;
  margin-top: 7px;
}




/* ═══════════════════════════════════════════════════════════
   CE QUI NOUS DISTINGUE
   ═══════════════════════════════════════════════════════════ */
/* Manuscrite sur sa propre ligne, au-dessus du titre — même principe que le
   hero et le bandeau final. Côte à côte sur une ligne de base commune, les
   deux polices se confrontaient directement : une manuscrite penchée contre
   une géométrique droite, à taille comparable.
   Le padding-top compense les ascendantes, qui montent au-dessus de la boîte
   de ligne et remonteraient sinon sur le sur-titre. */
.valeurs__title { display: block; }
.valeurs__title .script {
  display: block;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 0.8;
  padding-top: 0.36em;
  margin-bottom: -0.04em;
  margin-left: -0.03em;
}
.valeurs__title > span:last-child { display: block; }

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 48px);
}
.valeur { padding-top: var(--sp-md); border-top: 1px solid var(--line); min-width: 0; }
.valeur__num {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  color: var(--sable-texte);
  margin-bottom: var(--sp-sm);
}
.valeur__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semi);
  margin-bottom: var(--sp-2xs);
}
.valeur__text { font-size: var(--fs-small); color: var(--text-soft); line-height: var(--lh-normal); }

@media (max-width: 980px) { .valeurs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .valeurs-grid { grid-template-columns: 1fr; } }


/* ═══════════════════════════════════════════════════════════
   CARROUSEL DE RÉALISATIONS
   Deux rangées en défilement continu, sens opposés, poussées par le
   défilement de la page. La position est écrite par le script en
   translate3d — jamais de propriété qui déclenche un recalcul de mise en page.
   ═══════════════════════════════════════════════════════════ */
.reals-carrousel {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 20px);
  margin-top: var(--sp-lg);
}

/* Débordement masqué : les rangées vont d'un bord à l'autre de la fenêtre,
   hors du conteneur, pour donner l'impression d'un ruban sans fin. */
.reals-ligne { overflow: hidden; width: 100%; }

.reals-piste {
  display: flex;
  width: max-content;
  will-change: transform;
}
.reals-jeu {
  display: flex;
  gap: clamp(12px, 1.4vw, 20px);
  padding-right: clamp(12px, 1.4vw, 20px);
}

.reals-item {
  position: relative;
  display: block;
  flex: none;
  width: clamp(230px, 26vw, 380px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--vanille-fonce);
}
.reals-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease-out);
}
.reals-item:hover img { transform: scale(1.06); }

.reals-item__voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(27, 24, 21, 0.72) 0%,
    rgba(27, 24, 21, 0.24) 44%,
    rgba(27, 24, 21, 0) 100%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.reals-item:hover .reals-item__voile,
.reals-item:focus-visible .reals-item__voile { opacity: 1; }

/* Le titre n'apparaît qu'au survol : au repos, le ruban ne montre que les
   décors, ce qui garde la section calme malgré le mouvement. */
.reals-item__corps {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(14px, 1.6vw, 22px);
  color: var(--vanille);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.reals-item:hover .reals-item__corps,
.reals-item:focus-visible .reals-item__corps { opacity: 1; transform: none; }

.reals-item__titre {
  display: block;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
}
.reals-item__lieu {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-nano);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(241, 234, 218, 0.72);
}

/* Sans JavaScript, le ruban reste consultable au doigt ou au trackpad. */
.reals-ligne { overflow-x: auto; scrollbar-width: none; }
.reals-ligne::-webkit-scrollbar { display: none; }
.js .reals-ligne { overflow-x: hidden; }

/* Mouvement réduit : plus aucun défilement automatique, la rangée redevient
   un simple ruban que l'on fait glisser soi-même. */
@media (prefers-reduced-motion: reduce) {
  .js .reals-ligne { overflow-x: auto; }
  .reals-piste { transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   MOSAÏQUE DE RÉALISATIONS
   ═══════════════════════════════════════════════════════════ */
.mosaique {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(12px, 1.4vw, 22px);
}
.mosaique__item { margin: 0; min-width: 0; }
.mosaique__item .media { height: 100%; }

/* Composition éditoriale : deux grands blocs et quatre plus petits,
   pour éviter la grille régulière qui fait « catalogue ». */
.mosaique__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaique__item:nth-child(1) .media { aspect-ratio: 3 / 4; }
.mosaique__item:nth-child(2) { grid-column: span 4; }
.mosaique__item:nth-child(2) .media { aspect-ratio: 16 / 7; }
.mosaique__item:nth-child(3),
.mosaique__item:nth-child(4) { grid-column: span 2; }
.mosaique__item:nth-child(3) .media,
.mosaique__item:nth-child(4) .media { aspect-ratio: 1 / 1; }
.mosaique__item:nth-child(5) { grid-column: span 3; }
.mosaique__item:nth-child(6) { grid-column: span 3; }
.mosaique__item:nth-child(5) .media,
.mosaique__item:nth-child(6) .media { aspect-ratio: 3 / 2; }

@media (max-width: 860px) {
  .mosaique { grid-template-columns: repeat(2, 1fr); }
  .mosaique__item:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .mosaique__item .media { aspect-ratio: 1 / 1 !important; }
  .mosaique__item:nth-child(2) { grid-column: span 2; }
  .mosaique__item:nth-child(2) .media { aspect-ratio: 16 / 9 !important; }
}


/* ═══════════════════════════════════════════════════════════
   PARTENAIRES
   ═══════════════════════════════════════════════════════════ */
.partenaires {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.partenaires__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: var(--sp-xs);
}
/* Les décors de NOEMA sont déjà très colorés : on désature les logos pour
   que cette bande reste un fond de scène et ne concurrence pas les photos.
   La couleur revient au survol. */
.partenaires__item img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.partenaires__item:hover img { filter: grayscale(0); opacity: 1; }

@media (max-width: 860px) { .partenaires { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .partenaires { grid-template-columns: repeat(2, 1fr); } }


/* ═══════════════════════════════════════════════════════════
   SECTEUR D'INTERVENTION
   ═══════════════════════════════════════════════════════════ */
.zone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}
.zone__text .title-1 { margin-bottom: var(--sp-md); }
.zone__text .lead { margin-bottom: var(--sp-md); }

/* Les villes en gros texte espacé : c'est un signal SEO local fort, mais
   traité comme un motif typographique plutôt que comme une liste. */
.zone__villes {
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: var(--fw-light);
  line-height: 1.95;
  color: var(--text-soft);
  letter-spacing: 0.01em;
  padding-left: clamp(0px, 3vw, 40px);
  border-left: 1px solid var(--sable);
}

@media (max-width: 880px) {
  .zone { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .zone__villes { padding-left: var(--sp-md); font-size: var(--fs-body); line-height: 1.9; }
}


/* ═══════════════════════════════════════════════════════════
   AVIS
   ═══════════════════════════════════════════════════════════ */
.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}
.avis {
  background: var(--blanc);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  min-width: 0;
}
.avis__stars { color: var(--sable-fonce); letter-spacing: 3px; font-size: 14px; }
.avis__text {
  margin: 0;
  font-size: var(--fs-small);
  line-height: var(--lh-normal);
  color: var(--text-soft);
  flex: 1;
}
/* Le portrait à gauche, le nom et la date empilés à droite : en colonne
   simple, la photo poussait le nom sur une ligne à elle seule. */
.avis__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 10px;
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--line);
}
.avis__portrait { grid-row: span 2; }
.avis__auteur { font-size: var(--fs-micro); font-weight: var(--fw-medium); letter-spacing: var(--ls-wide); align-self: end; }
.avis__date   { font-size: var(--fs-nano); color: var(--text-faint); letter-spacing: var(--ls-wide); text-transform: uppercase; align-self: start; }

@media (max-width: 900px) { .avis-grid { grid-template-columns: 1fr; } }


/* ═══════════════════════════════════════════════════════════
   CTA DEVIS
   ═══════════════════════════════════════════════════════════ */
/* Le bloc est en .text-center : le sur-titre et ses deux filets sont déjà
   centrés par la règle commune de main.css. */
.cta-devis__title {
  font-size: var(--fs-h1);
  /* Sur fond sombre, le Light se délave : on garde la même graisse que les
     autres grands titres plutôt que de descendre encore. */
  font-weight: var(--fw-display);
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
/* Même compensation que dans le hero : les ascendantes de la manuscrite
   débordent au-dessus de sa boîte de ligne et remontaient sur le sur-titre. */
.cta-devis__script {
  color: var(--sable);
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 0.9;
  padding-top: 0.3em;
}
.cta-devis__text {
  font-size: var(--fs-lead);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-lg);
}
.cta-devis__actions { display: flex; flex-wrap: wrap; gap: var(--sp-xs); justify-content: center; }


/* ═══════════════════════════════════════════════════════════
   BANNIÈRE DES PAGES INTÉRIEURES
   ═══════════════════════════════════════════════════════════ */
/* Photo pleine largeur sans voile, bloc de titre blanc qui remonte dessus —
   comme une feuille posée sur un tirage. Le blanc se prolonge dans la section
   suivante : l'entrée de page et le premier contenu forment un seul bloc,
   détaché de la photo. Le texte reste en noir : lisible quelle que soit
   l'image, aucun réglage de voile à refaire quand la cliente en change. */
.pagehero { background: var(--blanc); }

.pagehero__carte {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}
.pagehero__inner {
  background: var(--blanc);
  max-width: 800px;
  padding: clamp(28px, 3.4vw, 54px) clamp(28px, 3.4vw, 54px) clamp(24px, 3vw, 44px) 0;
}
/* Le chevauchement : le bloc mord sur le bas de la photo. */
.pagehero:not(.pagehero--simple) .pagehero__carte {
  margin-top: clamp(-120px, -9vw, -64px);
}
.pagehero:not(.pagehero--simple) .pagehero__inner {
  padding-left: clamp(28px, 3.4vw, 54px);
  box-shadow: 0 -16px 44px rgba(27, 24, 21, 0.09);
}

.pagehero__fil { margin-bottom: var(--sp-sm); }
.pagehero__title { margin-bottom: var(--sp-sm); }
.pagehero__script {
  display: block;
  color: var(--sable-fonce);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.86;
  padding-top: 0.32em;
  margin-bottom: -0.04em;
  margin-left: -0.03em;
}
.pagehero__titleMain {
  display: block;
  font-size: var(--fs-h1);
  font-weight: var(--fw-display);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--noir);
}
.pagehero__tagline {
  font-size: var(--fs-lead);
  font-weight: var(--fw-light);
  line-height: var(--lh-loose);
  color: var(--text-soft);
  max-width: 58ch;
}

/* Bandeau panoramique, d'un bord à l'autre de la fenêtre. */
.pagehero__bandeau {
  margin: 0;
  width: 100%;
  aspect-ratio: 21 / 8;
  overflow: hidden;
  background: var(--vanille-fonce);
}
.pagehero__bandeau img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
@media (max-width: 900px) {
  .pagehero__bandeau { aspect-ratio: 16 / 10; }
  /* Le chevauchement mangerait une part trop grande d'une photo déjà réduite,
     et le bloc n'aurait plus de marge : on le pose simplement en dessous. */
  .pagehero:not(.pagehero--simple) .pagehero__carte { margin-top: 0; }
  .pagehero:not(.pagehero--simple) .pagehero__inner {
    padding-inline: 0;
    padding-top: var(--sp-lg);
    box-shadow: none;
    max-width: none;
  }
}

/* Variante sans photo, pour les pages utilitaires (légales, recherche, 404).
   Pas de chevauchement à compenser : le bloc part simplement sous le menu. */
.pagehero--simple { padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px)); }
.pagehero--simple .pagehero__inner {
  padding-left: 0;
  padding-top: 0;
  padding-bottom: clamp(24px, 3vw, 44px);
  box-shadow: none;
}
.pagehero--simple .pagehero__title { margin-bottom: var(--sp-xs); }

.pagehero--simple .recherche-form { margin-top: var(--sp-md); margin-bottom: 0; }
.pagehero--simple .recherche-count,
.pagehero--simple .recherche-hint { margin: var(--sp-sm) 0 0; }

/* ─── Bloc sur mesure (thématiques) ─── */
.sur-mesure__titre { display: block; margin-bottom: var(--sp-md); }
.sur-mesure__script {
  display: block;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 0.8;
  padding-top: 0.36em;
  margin-bottom: -0.04em;
}
.sur-mesure__texte { margin-bottom: var(--sp-lg); }

/* ─── Questions fréquentes (contact) ─── */
.faq { border-top: 1px solid var(--line); }
.faq__item { padding-block: var(--sp-md); border-bottom: 1px solid var(--line); }
.faq__question {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semi);
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-2xs);
}
.faq__reponse {
  font-size: var(--fs-small);
  line-height: var(--lh-normal);
  color: var(--text-soft);
  margin: 0; max-width: 68ch; }

.recherche-suggestions { max-width: 52ch; }
.recherche-suggestions .eyebrow { margin-bottom: var(--sp-md); }
.recherche-liens { display: flex; flex-direction: column; gap: var(--sp-sm); align-items: flex-start; }

/* ═══════════════════════════════════════════════════════════
   LISTE DE RÉALISATIONS
   ═══════════════════════════════════════════════════════════ */
.realisations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 46px);
}
@media (max-width: 1000px) { .realisations { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .realisations { grid-template-columns: 1fr; } }

.realisation { min-width: 0; }
.realisation__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--blanc);
  border: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
}
.realisation__link:hover {
  border-color: var(--sable);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.realisation__body {
  padding: clamp(20px, 2.2vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2xs);
  flex: 1;
}
.realisation__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  font-size: var(--fs-nano);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-faint);
}
.realisation__meta span + span::before { content: '· '; }
.realisation__titre {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semi);
  line-height: var(--lh-snug);
}
.realisation__excerpt {
  font-size: var(--fs-small);
  line-height: var(--lh-normal);
  color: var(--text-soft);
  margin: 0 0 var(--sp-2xs);
}
.realisation .link-arrow { margin-top: auto; }

.liste-vide {
  text-align: center;
  font-size: var(--fs-lead);
  color: var(--text-soft);
  padding-block: var(--sp-xl);
  max-width: 52ch;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════════
   DÉTAIL D'UNE RÉALISATION
   ═══════════════════════════════════════════════════════════ */
.fil {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-md);
}
.fil a { transition: color var(--t-fast) var(--ease); }
.fil a:hover { color: var(--noir); }

.detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm) var(--sp-lg);
  margin-top: var(--sp-md);
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--line);
}
.detail__meta li { display: flex; flex-direction: column; gap: 4px; }
.detail__metaLabel {
  font-size: var(--fs-nano);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-faint);
}
.detail__meta li > span:last-child { font-size: var(--fs-small); }
.detail__themes { display: flex; gap: 10px; flex-wrap: wrap; }
.detail__themes a {
  font-size: var(--fs-small);
  border-bottom: 1px solid var(--sable);
  transition: border-color var(--t-fast) var(--ease);
}
.detail__themes a:hover { border-color: var(--noir); }

.detail__intro {
  font-size: var(--fs-lead);
  line-height: var(--lh-loose);
  color: var(--text-soft);
  /* Largeur de lecture confortable, mais alignée à gauche comme le titre. */
  max-width: 64ch;
  /* Le récit est saisi dans une zone de texte : on garde ses retours à la
     ligne (crédits fleuriste, traiteur…) au lieu de tout fondre en un bloc. */
  white-space: pre-line;
}

/* Galerie en colonnes maçonnées : les photos gardent leur format d'origine,
   sans recadrage — c'est le décor qui compte, pas une grille régulière.

   Les colonnes sont composées par le serveur (repartirGalerie), et non par
   `columns:` en CSS : le navigateur remplit ses colonnes gloutonnement, dans
   l'ordre, et abandonne l'équilibrage dès que les blocs sont hauts et
   insécables. Sept photos tombaient ainsi en 3/3/1, la dernière colonne vide
   sur les deux tiers de la hauteur. */
.galerie {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1.4vw, 20px);
}
.galerie__col {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 20px);
  /* Sans base nulle ni min-width, une colonne se dimensionne sur sa plus
     grande image et les trois cessent d'être égales. */
  flex: 1 1 0;
  min-width: 0;
}
.galerie__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}

/* Sous 900 px, la répartition en trois colonnes n'a plus de sens : les
   conteneurs s'effacent et les photos reprennent leur ordre d'origine, porté
   par « order ». */
@media (max-width: 900px) {
  .galerie { flex-direction: column; align-items: stretch; }
  .galerie__col { display: contents; }
}

.realisations--3 { margin-bottom: var(--sp-xl); }

.detail__nav {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--line);
}
.detail__navLink { display: flex; flex-direction: column; gap: 5px; min-width: 0; max-width: 46%; }
.detail__navLink--next { text-align: right; align-items: flex-end; }
.detail__navLabel {
  font-size: var(--fs-nano);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-faint);
}
.detail__navTitre {
  font-size: var(--fs-small);
  transition: color var(--t-fast) var(--ease);
}
.detail__navLink:hover .detail__navTitre { color: var(--sable-fonce); }

/* ═══════════════════════════════════════════════════════════
   VISIONNEUSE
   ═══════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 24, 21, 0.94);
  padding: clamp(16px, 5vw, 60px);
}
.lightbox[hidden] { display: none; }
.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 88svh;
}
.lightbox__img {
  max-width: 100%;
  max-height: 88svh;
  width: auto;
  object-fit: contain;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  color: var(--vanille);
  background: rgba(241, 234, 218, 0.1);
  border: 1px solid rgba(241, 234, 218, 0.2);
  border-radius: var(--radius-pill);
  line-height: 1;
  transition: background var(--t-fast) var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(241, 234, 218, 0.26); }
.lightbox__close {
  top: clamp(14px, 3vw, 30px);
  right: clamp(14px, 3vw, 30px);
  width: 44px; height: 44px;
  font-size: 26px;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  font-size: 30px;
  padding-bottom: 4px;
}
.lightbox__nav--prev { left: clamp(10px, 2.4vw, 28px); }
.lightbox__nav--next { right: clamp(10px, 2.4vw, 28px); }
.lightbox__count {
  position: absolute;
  bottom: clamp(14px, 3vw, 28px);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-wide);
  color: rgba(241, 234, 218, 0.7);
}
body.has-lightbox { overflow: hidden; }

/* ═══════════════════════════════════════════════════════════
   THÉMATIQUES
   ═══════════════════════════════════════════════════════════ */
.themes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.2vw, 32px);
}
@media (max-width: 1000px) { .themes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .themes { grid-template-columns: repeat(2, 1fr); } }

.theme { min-width: 0; }
.theme__link { display: block; }
.theme__media { background: var(--vanille-fonce); }
.theme__link:hover .theme__nom { color: var(--sable-fonce); }

/* Un thème sans photo affiche son initiale plutôt qu'un cadre vide : la
   grille reste régulière tant que la cliente n'a pas fourni ses visuels. */
.theme__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-script);
  font-size: clamp(52px, 6vw, 82px);
  color: var(--sable);
  background: var(--vanille-fonce);
}
.theme.is-empty .theme__media { opacity: 0.72; }
.theme.is-empty .theme__count { color: var(--text-faint); font-style: italic; }

.theme__body { padding-top: var(--sp-xs); }
.theme__nom {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semi);
  margin-bottom: 3px;
  transition: color var(--t-fast) var(--ease);
}
.theme__count {
  margin: 0;
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-wide);
  color: var(--text-soft);
}

.theme-detail__vide {
  text-align: center;
  padding-block: var(--sp-xl);
  max-width: 52ch;
  margin-inline: auto;
}
.theme-detail__vide .lead { margin-bottom: var(--sp-md); }
.theme-detail__retour { margin-top: var(--sp-xl); text-align: center; }

/* ═══════════════════════════════════════════════════════════
   À PROPOS
   ═══════════════════════════════════════════════════════════ */
/* Disposition inversée : la photo passe à gauche. Les proportions suivent,
   sinon c'est elle qui hérite de la colonne large destinée au texte. */
.intro-split--reverse { grid-template-columns: 0.82fr 1fr; }
.intro-split--reverse .intro-split__media { order: -1; }
@media (max-width: 900px) {
  .intro-split--reverse { grid-template-columns: 1fr; }
  .intro-split--reverse .intro-split__media { order: 0; }
}

.chiffres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  text-align: center;
}
.chiffre { display: flex; flex-direction: column; gap: 7px; }
.chiffre__valeur {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: var(--fw-light);
  line-height: 1;
  letter-spacing: -0.02em;
}
.chiffre__label {
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-soft);
}
@media (max-width: 620px) { .chiffres { grid-template-columns: 1fr; gap: var(--sp-lg); } }

/* ═══════════════════════════════════════════════════════════
   LOCATION
   ═══════════════════════════════════════════════════════════ */
.etapes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
@media (max-width: 760px) { .etapes { grid-template-columns: 1fr; } }
.etape { padding-top: var(--sp-md); border-top: 1px solid var(--line); }
.etape__num {
  display: block;
  font-size: var(--fs-micro);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  color: var(--sable-texte);
  margin-bottom: var(--sp-sm);
}
.etape__titre { font-size: var(--fs-h4); font-weight: var(--fw-semi); margin-bottom: var(--sp-2xs); }
.etape__texte { font-size: var(--fs-small); color: var(--text-soft); line-height: var(--lh-normal); }

/* Onglets */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--line);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;   /* cible tactile : 38 px se ratait au pouce */
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--blanc);
  font-size: var(--fs-micro);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.tab:hover { border-color: var(--line-strong); }
.tab.is-active { background: var(--noir); color: var(--vanille); border-color: var(--noir); }
.tab__n {
  font-size: var(--fs-nano);
  opacity: 0.62;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(27, 24, 21, 0.07);
}
.tab.is-active .tab__n { background: rgba(241, 234, 218, 0.18); }

.catalogue-groupe { margin-bottom: var(--sp-2xl); }
.catalogue-groupe[hidden] { display: none; }
.catalogue-groupe:last-child { margin-bottom: 0; }
.catalogue-groupe__head { margin-bottom: var(--sp-lg); max-width: 62ch; }
.catalogue-groupe__titre {
  font-size: var(--fs-h2);
  font-weight: var(--fw-display);
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-2xs);
}
.catalogue-groupe__desc { font-size: var(--fs-body); color: var(--text-soft); margin: 0; }

/* Sous-catégories : des filtres au-dessus de la grille de la catégorie. */
.sous-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: calc(var(--sp-lg) * -0.5) 0 var(--sp-lg);
}
.sous-cats__lien {
  padding: 6px 14px;
  border: 1px solid var(--sable);
  font-size: 13px;
  color: var(--noir);
  background: none;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.sous-cats__lien span { color: var(--text-soft); margin-left: 4px; }
.sous-cats__lien:hover { background: var(--blanc); border-color: var(--noir); }
.sous-cats__lien.is-active { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.sous-cats__lien.is-active span { color: inherit; opacity: .7; }
/* .produit est en flex : sans cette règle, l'attribut hidden du filtre
   n'aurait aucun effet. */
.produit[hidden] { display: none; }
.produit__sous {
  margin: 0 0 2px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* Pièces */
.produits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.2vw, 32px);
}
@media (max-width: 1080px) { .produits { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .produits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .produits { grid-template-columns: 1fr; } }

.produit {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--blanc);
  border: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.produit:hover { border-color: var(--sable); box-shadow: var(--shadow-sm); }
.produit__media { width: 100%; }

/* Pièce à plusieurs photos : la vignette ouvre la visionneuse, et un badge
   discret annonce qu'il y a plus à voir. */
.produit__galerie {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}
.produit__galerie:hover .media--zoom img { transform: scale(1.05); }
.produit__galerie:focus-visible { outline: 2px solid var(--noir); outline-offset: 2px; }
.produit__nbPhotos {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--noir);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  pointer-events: none;
}

/* Pièce sans photo : plutôt qu'un cadre vide, l'initiale en manuscrite et une
   mention explicite. La grille reste régulière en attendant les visuels. */
.produit__placeholder {
  position: relative;
  aspect-ratio: 3 / 4;   /* même format que les photos de pièces */
  background: var(--vanille-clair);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.produit__initiale {
  font-family: var(--font-script);
  font-size: clamp(46px, 5vw, 64px);
  line-height: 1;
  color: var(--sable-fonce);
  opacity: 0.6;
}
.produit__aVenir {
  font-size: var(--fs-nano);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-faint);
}

.produit__body {
  padding: clamp(16px, 1.8vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  flex: 1;
}
.produit__nom { font-size: var(--fs-h4); font-weight: var(--fw-semi); }
.produit__desc {
  font-size: var(--fs-small);
  line-height: var(--lh-normal);
  color: var(--text-soft);
  margin: 0;
  flex: 1;
}
.produit__prix {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--noir);
}
.produit__add { margin-top: var(--sp-2xs); }
.produit__add.is-added {
  background: var(--noir);
  color: var(--vanille);
  border-color: var(--noir);
}

/* Panneau de sélection */
.panier {
  position: fixed;
  right: clamp(14px, 2.5vw, 28px);
  bottom: clamp(14px, 2.5vw, 28px);
  z-index: var(--z-header);
  width: min(330px, calc(100vw - 28px));
  background: var(--noir);
  color: var(--vanille);
  box-shadow: var(--shadow-lg);
}
.panier[hidden] { display: none; }
.panier__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 15px 20px;
  color: var(--vanille);
  font-size: var(--fs-micro);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}
.panier__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px; height: 24px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  background: var(--sable);
  color: var(--noir);
  font-size: var(--fs-micro);
}
.panier__body {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid rgba(241, 234, 218, 0.16);
}
.panier.is-open .panier__body { display: block; }
.panier__liste { max-height: 40svh; overflow-y: auto; margin-block: var(--sp-xs); }
.panier__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(241, 234, 218, 0.1);
  font-size: var(--fs-small);
}
.panier__item button {
  flex: none;
  width: 24px; height: 24px;
  border-radius: var(--radius-pill);
  background: rgba(241, 234, 218, 0.12);
  color: var(--vanille);
  font-size: 15px;
  line-height: 1;
  transition: background var(--t-fast) var(--ease);
}
.panier__item button:hover { background: rgba(241, 234, 218, 0.3); }
/* « Demander un devis pour cette sélection » ne tient pas sur une ligne dans
   un panneau de 330 px : les boutons sont en nowrap par défaut, ce qui faisait
   déborder le texte hors du cadre. Ici on autorise le retour à la ligne. */
.panier__cta {
  width: 100%;
  margin-top: var(--sp-xs);
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  padding-block: 14px;
}
.panier__cta.btn--primary { background: var(--sable); color: var(--noir); border-color: var(--sable); }
.panier__cta.btn--primary:hover { background: var(--vanille); border-color: var(--vanille); }

/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact-split {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
@media (max-width: 940px) { .contact-split { grid-template-columns: 1fr; } }

.contact__titre { margin-bottom: var(--sp-sm); }
.contact__intro { margin-bottom: var(--sp-lg); }

.form__selection {
  padding: var(--sp-sm) var(--sp-md);
  background: var(--blanc);
  border-left: 2px solid var(--sable);
}
.form__selection[hidden] { display: none; }
.form__selectionTitre {
  font-size: var(--fs-micro);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: var(--sp-2xs);
}
.form__selectionListe { margin-bottom: var(--sp-2xs); }
.form__selectionListe li {
  font-size: var(--fs-small);
  padding-left: 15px;
  position: relative;
}
.form__selectionListe li::before {
  content: '·';
  position: absolute;
  left: 3px;
  color: var(--sable-fonce);
}
.form__selectionClear {
  font-size: var(--fs-micro);
  color: var(--text-faint);
  text-decoration: underline;
  transition: color var(--t-fast) var(--ease);
}
.form__selectionClear:hover { color: var(--noir); }

.contact-split__infos { display: flex; flex-direction: column; gap: var(--sp-lg); }
.infobloc { padding-top: var(--sp-sm); border-top: 1px solid var(--line); }
.infobloc__titre {
  font-size: var(--fs-nano);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-2xs);
}
.infobloc__lien {
  /* Bloc pour que l'email et le téléphone restent l'un sous l'autre, mais
     largeur ajustée au texte : en bloc simple, le soulignement filait jusqu'au
     bord de la colonne, bien après la fin de l'adresse. */
  display: block;
  width: fit-content;
  max-width: 100%;
  font-size: var(--fs-body);
  margin-bottom: 5px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color var(--t-fast) var(--ease);
}
.infobloc__lien:hover { border-color: var(--noir); }
.infobloc__texte { font-size: var(--fs-small); color: var(--text-soft); line-height: var(--lh-normal); margin: 0; max-width: 58ch; }
.infobloc__socials { display: flex; gap: var(--sp-xs); }
.infobloc__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.infobloc__socials a:hover { background: var(--noir); color: var(--vanille); }
.infobloc__socials svg { width: 16px; height: 16px; fill: currentColor; }

/* ═══════════════════════════════════════════════════════════
   PAGE D'ATTENTE
   ═══════════════════════════════════════════════════════════ */
.soon {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--noir-doux);
}
.soon__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  z-index: 0;
}
/* La colonne de texte occupe toute la hauteur à gauche : le voile y est plus
   franc que sur la page d'accueil, car aucune autre section ne vient soutenir
   la lecture. */
.soon__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,
      rgba(27, 24, 21, 0.93) 0%,
      rgba(27, 24, 21, 0.86) 28%,
      rgba(27, 24, 21, 0.58) 52%,
      rgba(27, 24, 21, 0.28) 78%,
      rgba(27, 24, 21, 0.14) 100%),
    linear-gradient(to top,
      rgba(27, 24, 21, 0.5) 0%,
      rgba(27, 24, 21, 0) 45%);
}
.soon__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--sp-2xl);
  color: var(--vanille);
}
.soon__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.soon__brand { width: clamp(150px, 17vw, 210px); margin-bottom: var(--sp-xl); }
.soon__logo { color: var(--vanille); }
.soon__logo path { fill: currentColor; }

/* 18ch cassait le titre en quatre lignes étroites : on laisse la ligne
   respirer, le voile gère la lisibilité. */
.soon__title { margin-bottom: var(--sp-md); max-width: 26ch; }
.soon__script {
  display: block;
  color: var(--sable);
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.85;
  padding-top: 0.34em;
  margin-bottom: -0.04em;
  margin-left: -0.03em;
}
.soon__titleMain {
  display: block;
  font-size: var(--fs-display);
  font-weight: var(--fw-light);
  line-height: 1.06;
  letter-spacing: var(--ls-tight);
  color: var(--vanille);
}
.soon__text {
  font-size: var(--fs-lead);
  font-weight: var(--fw-light);
  line-height: var(--lh-loose);
  color: rgba(241, 234, 218, 0.86);
  max-width: 52ch;
  margin-bottom: var(--sp-lg);
}

.soon__contactDirect { display: flex; align-items: center; gap: var(--sp-md); flex-wrap: wrap; }
.soon__mail {
  font-size: var(--fs-body);
  color: var(--vanille);
  border-bottom: 1px solid rgba(241, 234, 218, 0.45);
  padding-bottom: 4px;
  transition: border-color var(--t-base) var(--ease);
}
.soon__mail:hover { border-color: var(--vanille); }
.soon__socials { display: flex; gap: var(--sp-xs); }
.soon__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(241, 234, 218, 0.28);
  border-radius: var(--radius-pill);
  color: var(--vanille);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.soon__socials a:hover { background: var(--vanille); color: var(--noir); }
.soon__socials svg { width: 17px; height: 17px; fill: currentColor; }

/* Bloc formulaire, sous la bannière */
.soon-form { background: var(--vanille); padding-block: var(--section-y); }
.soon-form .section__head { margin-bottom: var(--sp-lg); }

.soon-news {
  margin-top: var(--sp-xl);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--line);
}
.soon-news__label { font-size: var(--fs-small); color: var(--text-soft); margin-bottom: var(--sp-xs); }
.soon-news__form {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 9px;
  transition: border-color var(--t-base) var(--ease);
}
.soon-news__form:focus-within { border-color: var(--noir); }
.soon-news__form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  padding: 5px 0;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
}
.soon-news__form input:focus { outline: none; }
.soon-news__form button {
  flex: none;
  font-size: var(--fs-nano);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  transition: opacity var(--t-fast) var(--ease);
}
.soon-news__form button:hover { opacity: 0.65; }
.soon-form .newsletter__msg { font-size: var(--fs-micro); margin-top: 9px; min-height: 1.2em; }
.soon-form .newsletter__msg.is-ok    { color: #2f5a3c; }
.soon-form .newsletter__msg.is-error { color: #b5533f; }

.soon-legal {
  margin-top: var(--sp-xl);
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  font-size: var(--fs-micro);
  color: var(--text-faint);
}
.soon-legal a { transition: color var(--t-fast) var(--ease); }
.soon-legal a:hover { color: var(--noir); }

@media (max-width: 780px) {
  .soon__overlay {
    background:
      linear-gradient(to top,
        rgba(27, 24, 21, 0.9) 0%,
        rgba(27, 24, 21, 0.76) 40%,
        rgba(27, 24, 21, 0.55) 75%,
        rgba(27, 24, 21, 0.42) 100%);
  }
  .soon__brand { margin-bottom: var(--sp-lg); }
  .soon__text { font-size: var(--fs-body); }
}

/* ═══════════════════════════════════════════════════════════
   PAGES SIMPLES (recherche, mentions légales)
   ═══════════════════════════════════════════════════════════ */
.page-simple {
  padding-top: calc(var(--header-h) + var(--section-y-tight));
  padding-bottom: var(--section-y);
}
.page-simple__titre {
  font-size: var(--fs-h1);
  font-weight: var(--fw-display);
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-md);
}
.page-simple__intro { margin-bottom: var(--sp-lg); }

/* ─── Recherche ─── */
.recherche-form {
  display: flex;
  gap: var(--sp-xs);
  flex-wrap: wrap;
  max-width: 640px;
  margin-bottom: var(--sp-lg);
}
.recherche-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  background: var(--blanc);
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  transition: border-color var(--t-fast) var(--ease);
}
.recherche-form input:focus { outline: none; border-color: var(--noir); }
.recherche-hint { font-size: var(--fs-small); color: var(--text-faint); }

.recherche-count {
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-md);
}
.recherche-vide { max-width: 56ch; }
.recherche-vide p { color: var(--text-soft); }
.recherche-vide__actions { display: flex; gap: var(--sp-xs); flex-wrap: wrap; margin-top: var(--sp-md); }

.resultats { border-top: 1px solid var(--line); }
.resultat { border-bottom: 1px solid var(--line); }
.resultat__link {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-sm) 0;
  transition: padding-left var(--t-base) var(--ease);
}
.resultat__link:hover { padding-left: var(--sp-xs); }
.resultat__thumb {
  flex: none;
  width: 108px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--vanille-fonce);
}
.resultat__thumb img { width: 100%; height: 100%; object-fit: cover; }
.resultat__body { min-width: 0; }
.resultat__type {
  font-size: var(--fs-nano);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--sable-texte);
  margin-bottom: 3px;
}
.resultat__titre { font-size: var(--fs-h4); font-weight: var(--fw-semi); margin-bottom: 3px; }
.resultat__extrait { font-size: var(--fs-small); color: var(--text-soft); margin: 0; max-width: 68ch; }

@media (max-width: 560px) {
  .resultat__thumb { width: 78px; }
}

/* ─── Pages légales ─── */
.legal { max-width: 68ch; }
.legal__section { margin-bottom: var(--sp-xl); }
.legal__titre {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semi);
  margin-bottom: var(--sp-sm);
  padding-bottom: var(--sp-2xs);
  border-bottom: 1px solid var(--line);
}
.legal__corps { font-size: var(--fs-body); line-height: var(--lh-loose); color: var(--text-soft); }
.legal__corps p { margin-bottom: 1em; }
.legal__corps ul { list-style: none; margin: 0 0 1em; padding: 0; }
.legal__corps li { position: relative; padding-left: 20px; margin-bottom: 7px; }
.legal__corps li::before {
  content: '';
  position: absolute;
  left: 4px; top: 0.72em;
  width: 5px; height: 1px;
  background: var(--sable);
}
.legal__corps a {
  color: var(--noir);
  border-bottom: 1px solid var(--sable);
  transition: border-color var(--t-fast) var(--ease);
}
.legal__corps a:hover { border-color: var(--noir); }
.legal__corps strong { font-weight: var(--fw-medium); color: var(--text-default); }

/* Information restant à fournir par la cliente : visible sans être criarde. */
.legal__corps mark.a-completer,
mark.a-completer {
  background: #fdf2d0;
  border-bottom: 1px dashed #c8a94e;
  color: #7a6420;
  padding: 1px 5px;
  font-style: italic;
}

.legal__maj {
  font-size: var(--fs-micro);
  color: var(--text-faint);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--line);
}
.legal__nav {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-top: var(--sp-lg);
  font-size: var(--fs-small);
}
.legal__nav a {
  color: var(--text-soft);
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.legal__nav a:hover { color: var(--noir); border-color: var(--sable); }

/* ═══════════════════════════════════════════════════════════
   404
   ═══════════════════════════════════════════════════════════ */
.page-404__code {
  font-family: var(--font-script);
  font-size: clamp(76px, 12vw, 150px);
  line-height: 0.85;
  color: var(--sable-fonce);
  margin-bottom: var(--sp-2xs);
}
.page-404__actions { display: flex; gap: var(--sp-xs); flex-wrap: wrap; margin-top: var(--sp-md); }
.page-404__liens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-md) var(--sp-lg);
  max-width: 900px;
  margin-inline: auto;
}
.page-404__liens li { display: flex; }

/* ═══════════════════════════════════════════════════════════
   SCEAU DE MARQUE
   ═══════════════════════════════════════════════════════════ */
/* Le médaillon que la cliente appose sur ses supports. Il ferme un bloc de
   texte comme un cachet : aligné à droite, à distance du paragraphe, jamais
   trop grand — sa typographie fine devient illisible sous 130 px. */
.sceau {
  width: clamp(132px, 13vw, 168px);
  height: auto;
  margin: var(--sp-lg) 0 0 auto;
  opacity: 0.9;
}
@media (max-width: 900px) {
  /* Empilé, le bloc n'a plus de bord droit à longer : on le centre. */
  .sceau { margin-inline: auto; }
}

/* ─── Modèles d'une pièce ────────────────────────────────────────────────
   Un même article peut exister en plusieurs modèles. Ils s'affichent en
   pastilles sous la description : c'est plus direct qu'une liste déroulante,
   et la visiteuse voit d'emblée combien de choix elle a. */
.modeles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--sp-2xs);
}
.modele {
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--blanc);
  font-size: var(--fs-micro);
  line-height: 1.2;
  color: var(--text-soft);
  transition: border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.modele:hover { border-color: var(--line-strong); color: var(--noir); }
.modele.is-active {
  background: var(--noir);
  border-color: var(--noir);
  color: var(--vanille);
}
/* Sur écran tactile, la pastille doit rester attrapable sans viser. */
@media (max-width: 900px) {
  .modele { min-height: 40px; padding-inline: 15px; }
}

/* ─── Note globale et source des avis ────────────────────────────────────
   La note chiffrée compte autant que les avis eux-mêmes : c'est elle qu'on
   lit en premier. Elle se place sous le titre, avant la grille. */
.avis-note {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--sp-sm);
}
.avis-note__valeur {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: var(--fw-display);
  letter-spacing: -0.02em;
  line-height: 1;
}
.avis-note__total {
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-soft);
}
/* Le portrait vient de Google : rond, petit, et jamais déformé. */
.avis__portrait {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.avis-source { margin-top: var(--sp-lg); text-align: center; }
.avis-source .link-arrow { justify-content: center; }
