/* === dayco.css === */
:root {

  --encre:            #0d0d0d;
  --encre-alt:        #141414;
  --surface:          #1a1a1a;
  --surface-haut:     #222222;
  --trait:            #2a2a2a;

  --or:               #cda043;
  --or-clair:         #eaca80;
  --or-sombre:        #a68132;

  --or-texte:         var(--or);
  --or-texte-fonce:   #916e27;

  --creme:            #f5f0e8;
  --creme-doux:       #b8b0a4;

  --blanc:            #ffffff;
  --surface-claire:   #fcfbf9;
  --texte-sombre:     #1a1a1a;
  --texte-doux:       #666666;
  --trait-clair:      #eaeaea;

  --trait-champ:      #918a78;

  --erreur:           #bd3b25;

  --or-06:  rgba(205, 160, 67, .06);
  --or-10:  rgba(205, 160, 67, .10);
  --or-18:  rgba(205, 160, 67, .18);
  --or-32:  rgba(205, 160, 67, .32);
  --or-55:  rgba(205, 160, 67, .55);

  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --t-display: clamp(2.75rem, 6vw, 5rem);
  --t-h1:      clamp(2.5rem, 5.5vw, 4rem);
  --t-h2:      clamp(2rem, 4vw, 3rem);
  --t-h3:      clamp(1.35rem, 2.2vw, 1.75rem);
  --t-h4:      1.125rem;
  --t-corps-l: 1.125rem;
  --t-corps:   1rem;
  --t-petit:   .9rem;
  --t-mention: .8rem;
  --t-label:   .75rem;

  --e-1: 4px;   --e-2: 8px;   --e-3: 12px;  --e-4: 16px;
  --e-5: 24px;  --e-6: 32px;  --e-7: 40px;  --e-8: 56px;
  --e-9: 72px;  --e-10: 96px; --e-11: 120px; --e-12: 160px;

  --section-y: clamp(72px, 9vw, 120px);
  --section-y-large: clamp(96px, 12vw, 160px);

  --r-xs: 4px;  --r-s: 6px;  --r-m: 8px;  --r-l: 12px;  --r-xl: 20px;

  --ombre-douce: 0 10px 30px rgba(0, 0, 0, .05);
  --ombre-carte: 0 20px 60px rgba(0, 0, 0, .40);
  --ombre-or:    0 12px 40px rgba(205, 160, 67, .28);

  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --transition-lente: .6s cubic-bezier(.16, 1, .3, 1);

  --header-h: 80px;
  --max-l: 1200px;
  --max-xl: 1440px;
  --max-texte: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;

  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--encre);
  color: var(--creme);
  font-family: var(--sans);
  font-size: var(--t-corps);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -.01em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:focus-visible {

  outline: 2px solid var(--or-texte);
  outline-offset: 3px;
  border-radius: 2px;
}

.saut-contenu {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--or);
  color: var(--encre);
  padding: 14px 22px;
  font-weight: 600;
  border-radius: 0 0 var(--r-s) 0;
}
.saut-contenu:focus { left: 0; }

.uniquement-lecteur {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.zone {
  width: 100%;
  max-width: var(--max-l);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.zone--large { max-width: var(--max-xl); }
.zone--etroite { max-width: 860px; }

.pleine-largeur {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

section { position: relative; }

.sur-encre  { background: var(--encre); color: var(--creme); }
.sur-encre-alt { background: var(--encre-alt); color: var(--creme); }
.sur-blanc  { background: var(--blanc); color: var(--texte-sombre); }
.sur-creme  { background: var(--surface-claire); color: var(--texte-sombre); }

.sur-blanc, .sur-creme { --or-texte: var(--or-texte-fonce); }

.bloc     { padding-block: var(--section-y); }
.bloc--l  { padding-block: var(--section-y-large); }
.bloc--court { padding-block: clamp(48px, 6vw, 80px); }

.etiquette {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--or-texte);
  margin-bottom: var(--e-4);
}
.etiquette::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--or-texte);
  flex: 0 0 32px;
}
.etiquette--sans-trait::before { display: none; }

.titre-section { font-size: var(--t-h2); margin-bottom: var(--e-5); }
.titre-display { font-size: var(--t-display); }
.titre-3 { font-size: var(--t-h3); }

.chapo {
  font-size: var(--t-corps-l);
  line-height: 1.8;
  max-width: var(--max-texte);
  color: var(--creme-doux);
}
.sur-blanc .chapo, .sur-creme .chapo { color: var(--texte-doux); }

.texte { line-height: 1.85; max-width: var(--max-texte); color: var(--creme-doux); }
.sur-blanc .texte, .sur-creme .texte { color: var(--texte-doux); }
.texte + .texte { margin-top: var(--e-5); }
.texte strong { color: var(--creme); font-weight: 500; }
.sur-blanc .texte strong, .sur-creme .texte strong { color: var(--texte-sombre); }

.filet-or {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--or-texte), transparent);
  margin-block: var(--e-6);
  border: 0;
}

.exergue {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.4;
  font-weight: 400;
  max-width: 22ch;
}

.lien-or {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--or-texte);
  font-size: var(--t-petit);
  font-weight: 500;
  letter-spacing: .3px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--or-32);
  transition: border-color var(--transition), gap var(--transition);
}
.lien-or:hover { border-bottom-color: var(--or-texte); gap: 12px; }
.lien-or svg { width: 16px; height: 16px; flex: 0 0 16px; }

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--r-xs);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .5px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
}
.bouton svg { width: 18px; height: 18px; flex: 0 0 18px; }

.bouton--or {
  background: var(--or);
  color: var(--encre);
}
.bouton--or:hover { background: var(--or-clair); box-shadow: var(--ombre-or); }

.bouton--fantome {
  color: var(--or-texte);
  border-color: var(--or-32);
  font-weight: 500;
}
.bouton--fantome:hover { border-color: var(--or-texte); background: var(--or-06); }

.sur-blanc .bouton--fantome,
.sur-creme .bouton--fantome {
  color: var(--texte-sombre);
  border-color: rgba(26, 26, 26, .22);
}
.sur-blanc .bouton--fantome:hover,
.sur-creme .bouton--fantome:hover {
  border-color: var(--texte-sombre);
  background: transparent;
}

.bouton--large { width: 100%; }

.groupe-boutons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--e-4);
  margin-top: var(--e-7);
}

.carte {
  background: var(--surface);
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
  padding: var(--e-7) var(--e-6);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.carte:hover { border-color: var(--or-32); background: var(--surface-haut); }

.carte.carte--plan { padding: 0; aspect-ratio: 4 / 3; min-height: 340px; width: 100%; min-width: 0; }
.carte.carte--plan:hover { border-color: var(--trait); background: var(--surface); }
.carte.carte--plan iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 720px) { .carte.carte--plan { aspect-ratio: auto; min-height: 0; height: 260px; } }

#formulaire .duo > .rv-2 > .carte:last-child { margin-top: var(--e-5); }

@media (min-width: 1000px) {
  #formulaire .duo { align-items: stretch; }
  #formulaire .duo > .rv-2 { display: flex; flex-direction: column; }
  #formulaire .duo > .rv-2 > .carte:last-child {
    margin-top: auto;
    margin-bottom: 109px;
  }
}

.sur-blanc .carte, .sur-creme .carte {
  background: var(--surface-claire);
  border-color: var(--trait-clair);
}
.sur-blanc .carte:hover, .sur-creme .carte:hover {
  border-color: var(--or-32);
  box-shadow: var(--ombre-douce);
  background: var(--blanc);
}

.carte__titre { font-size: var(--t-h4); font-family: var(--serif); margin-bottom: var(--e-3); }
.carte__texte { font-size: var(--t-petit); line-height: 1.75; color: var(--creme-doux); }
.sur-blanc .carte__texte, .sur-creme .carte__texte { color: var(--texte-doux); }

.icone {
  width: 44px;
  height: 44px;
  color: var(--or-texte);
  margin-bottom: var(--e-5);
}
.icone svg { width: 100%; height: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--or-32);
  border-radius: 999px;
  font-size: var(--t-mention);
  letter-spacing: .4px;
  color: var(--or-texte);
  background: var(--or-06);
}
.badge--sobre {
  border-color: var(--trait);
  color: var(--creme-doux);
  background: transparent;
}
.sur-blanc .badge--sobre, .sur-creme .badge--sobre {
  border-color: var(--trait-clair);
  color: var(--texte-doux);
}
.rangee-badges { display: flex; flex-wrap: wrap; gap: var(--e-2); }

.a-fournir {
  display: inline-block;
  padding: 2px 10px;
  border: 1px dashed var(--or-texte);
  border-radius: var(--r-xs);
  font-family: var(--sans);
  font-size: var(--t-mention);
  font-weight: 500;
  letter-spacing: .4px;
  color: var(--or-texte);
  background: var(--or-06);
  white-space: nowrap;
}

.grille { display: grid; gap: var(--e-5); }
.grille--2 { grid-template-columns: repeat(2, 1fr); }
.grille--3 { grid-template-columns: repeat(3, 1fr); }
.grille--4 { grid-template-columns: repeat(4, 1fr); }
.grille--large { gap: var(--e-7); }

.duo > * { min-width: 0; }

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.duo--texte-large { grid-template-columns: 1.15fr .85fr; }
.duo--visuel-large { grid-template-columns: .85fr 1.15fr; }
.duo--haut { align-items: start; }
.duo--inverse > :first-child { order: 2; }

.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1),
              transform .7s cubic-bezier(.16, 1, .3, 1);
}
.rv.vu { opacity: 1; transform: none; }
.rv-2 { transition-delay: .08s; }
.rv-3 { transition-delay: .16s; }
.rv-4 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1024px) {
  .grille--4 { grid-template-columns: repeat(2, 1fr); }
  .grille--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .duo, .duo--texte-large, .duo--visuel-large { grid-template-columns: 1fr; }
  .duo--inverse > :first-child { order: 0; }
  .grille--2, .grille--3, .grille--4 { grid-template-columns: 1fr; }
  .carte { padding: var(--e-6) var(--e-5); }
  .groupe-boutons { gap: var(--e-3); }
  .groupe-boutons .bouton { flex: 1 1 100%; }
}

/* === composants.css === */
.entete {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
}
.entete::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(13, 13, 13, .94);
  border-bottom: 1px solid var(--or-10);
  transition: background var(--transition), border-color var(--transition);
}
.entete.est-defile::before {
  background: rgba(13, 13, 13, .82);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--or-18);
}
.entete__zone {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--e-5);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--or-texte);
  flex: 0 0 auto;
}
.logo svg, .logo img { height: 42px; width: auto; }
.logo__mot { line-height: 1; }

.nav { display: flex; align-items: center; gap: var(--e-6); }
.nav__lien {
  font-size: var(--t-petit);
  color: var(--creme);
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav__lien:hover, .nav__lien[aria-current="page"] { color: var(--or-texte); }
.nav__lien[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--or);
}

.nav__bouton-espace {
  border: 1px solid var(--or);
  color: var(--or-texte);
  border-radius: var(--r-xs);
  padding: 9px 20px;
  font-size: var(--t-mention);
  font-weight: 500;
  letter-spacing: .4px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav__bouton-espace:hover { background: var(--or); color: var(--encre); }

.megamenu-hote { position: relative; }

.megamenu-declencheur {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-petit);
  color: var(--creme);
  padding: 8px 0;
  transition: color var(--transition);
}
.megamenu-declencheur:hover,
.megamenu-declencheur[aria-expanded="true"] { color: var(--or-texte); }
.megamenu-declencheur svg {
  width: 12px; height: 12px;
  transition: transform var(--transition);
}
.megamenu-declencheur[aria-expanded="true"] svg { transform: rotate(180deg); }

.megamenu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--encre-alt);
  border-bottom: 1px solid var(--or-18);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 999;
}
.megamenu.est-ouvert { opacity: 1; visibility: visible; transform: none; }

.megamenu__grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr) .9fr;
  gap: var(--e-7);
  padding-block: var(--e-8);
}
.megamenu__famille-titre {
  font-family: var(--sans);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--or-texte);
  margin-bottom: var(--e-4);
  padding-bottom: var(--e-3);
  border-bottom: 1px solid var(--trait);
}
.megamenu__liste { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.megamenu__lien {
  display: block;
  font-size: var(--t-petit);
  color: var(--creme-doux);
  padding: 7px 10px;
  margin-left: -10px;
  border-radius: var(--r-xs);
  transition: var(--transition);
}
.megamenu__lien:hover { color: var(--creme); background: var(--or-06); }
.megamenu__lien--parent { color: var(--creme); font-weight: 500; }

.megamenu__promo {
  background: var(--surface);
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
  padding: var(--e-6);
  display: flex;
  flex-direction: column;
  gap: var(--e-3);
}
.megamenu__promo-titre { font-family: var(--serif); font-size: 1.1rem; }
.megamenu__promo-texte { font-size: var(--t-mention); color: var(--creme-doux); line-height: 1.7; }

.bascule-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;

  position: relative;
  z-index: 1001;
}
.bascule-menu span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--creme);
  transition: var(--transition);
}
.bascule-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.bascule-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bascule-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .bascule-menu { display: flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--encre);
    padding: var(--e-6) clamp(20px, 5vw, 40px) var(--e-10);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.16, 1, .3, 1);
    visibility: hidden;
    z-index: 1000;
  }
  .nav.est-ouvert { transform: none; visibility: visible; }

  .nav__lien, .megamenu-declencheur {
    padding: var(--e-4) 0;
    border-bottom: 1px solid var(--trait);
    font-size: 1.05rem;
    justify-content: space-between;
    width: 100%;
  }
  .nav__bouton-espace { margin-top: var(--e-6); text-align: center; }

  .megamenu-hote { width: 100%; }
  .megamenu {
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .megamenu.est-ouvert { display: block; }
  .megamenu__grille {
    grid-template-columns: 1fr;
    gap: var(--e-5);
    padding-block: var(--e-5);
  }
  .megamenu .zone { padding-inline: 0; }

  /* Le bloc promo reste masqué ici : son lien vers /catalogue/ est repris au
     premier niveau du volet (voir .nav__lien--catalogue), car déplié au fond
     du mégamenu il arrivait à 1 300 px de haut, sous dix-huit services. */
  .megamenu__promo { display: none; }

  /* `.nav` en préfixe : la règle de base qui masque ce lien est déclarée plus
     bas dans le fichier et l'emporterait à spécificité égale. */
  .nav .nav__lien--catalogue { display: flex; }
}

/* Le catalogue n'existe dans la navigation qu'à l'intérieur du mégamenu, dans
   un bloc promotionnel masqué sur mobile : la page n'était donc atteignable au
   téléphone que par le pied de page. Ce lien le remonte au premier niveau du
   volet mobile, et reste masqué sur grand écran où le mégamenu le porte déjà. */
.nav__lien--catalogue { display: none; }

.heros {
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 120px));
  padding-bottom: clamp(56px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}

.heros__fil {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: var(--t-mention);
  color: var(--creme-doux);
  margin-bottom: var(--e-6);
  list-style: none;
}
.sur-blanc .heros__fil, .sur-creme .heros__fil { color: var(--texte-doux); }
.heros__fil li { display: flex; align-items: center; gap: 8px; }
.heros__fil li + li::before { content: "/"; opacity: .45; }
.heros__fil a:hover { color: var(--or-texte); }
.heros__fil [aria-current] { color: var(--or-texte); }

.heros__titre { font-size: var(--t-h1); margin-bottom: var(--e-5); max-width: 16ch; }
.heros__titre--long { max-width: 20ch; }
.heros__chapo { font-size: var(--t-corps-l); line-height: 1.8; max-width: 56ch; color: var(--creme-doux); }
.sur-blanc .heros__chapo, .sur-creme .heros__chapo { color: var(--texte-doux); }

.heros__aparte { align-self: center; }

.heros__aparte-image {
  margin: 0 0 var(--e-6);
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--trait);
}
.sur-blanc .heros__aparte-image, .sur-creme .heros__aparte-image { border-color: var(--trait-clair); }
.heros__aparte-image picture, .heros__aparte-image img { display: block; width: 100%; }

.heros__position {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--or-texte);
  margin-top: var(--e-6);
  padding-left: var(--e-5);
  border-left: 2px solid var(--or-32);
  max-width: 46ch;
}

.heros__reperes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--e-6) var(--e-8);
  margin-top: var(--e-8);
  padding-top: var(--e-6);
  border-top: 1px solid var(--trait);
}
.sur-blanc .heros__reperes, .sur-creme .heros__reperes { border-top-color: var(--trait-clair); }
.repere__cle {
  display: block;
  font-size: var(--t-label);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--or-texte);
  margin-bottom: 6px;
}
.repere__valeur { font-family: var(--serif); font-size: 1.05rem; }

.heros__duo {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.heros__visuel {
  position: relative;
  border-radius: var(--r-l);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
}
.heros__visuel img { width: 100%; height: 100%; object-fit: cover; }

.heros__visuel--cale { aspect-ratio: auto; height: 100%; min-height: 420px; }
.heros__visuel--cale > picture,
.heros__visuel--cale > .emplacement-photo { position: absolute; inset: 0; }
.heros__visuel--cale > picture { display: block; }

@media (max-width: 900px) {
  .heros__duo { grid-template-columns: 1fr; }
  .heros__visuel { aspect-ratio: 3 / 2; }

  .heros__visuel--cale { height: auto; aspect-ratio: 3 / 2; min-height: 0; }
}

.ancres {
  position: sticky;
  top: var(--header-h);
  z-index: 900;
  background: rgba(13, 13, 13, .9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-block: 1px solid var(--trait);
}
.ancres__piste {
  display: flex;
  gap: var(--e-6);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}
.ancres__piste::-webkit-scrollbar { display: none; }
.ancres__lien {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 18px 0;
  font-size: var(--t-mention);
  letter-spacing: .4px;
  color: var(--creme-doux);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.ancres__lien:hover { color: var(--creme); }
.ancres__lien.est-actif { color: var(--or-texte); border-bottom-color: var(--or-texte); }

@media (max-width: 760px) {
  .ancres .zone { padding-inline: 0; }
  .ancres__piste { padding-inline: 20px; gap: var(--e-5); }
}

.collant {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.collant--inverse { grid-template-columns: 1.08fr .92fr; }
.collant--inverse .collant__ancre { order: 2; }

:root { --h-ancres: 0px; }
body:has(.ancres) { --h-ancres: 62px; }

.collant__ancre {
  position: sticky;
  top: calc(var(--header-h) + var(--h-ancres) + var(--e-5));
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.collant--visuel .collant__ancre {
  top: calc(var(--header-h) + var(--h-ancres));
  height: calc(100dvh - var(--header-h) - var(--h-ancres));
  padding-block: var(--e-5);
}

.collant--visuel .collant__ancre > .collant__visuel,
.collant--visuel .collant__ancre > .pile-visuels {
  max-height: 100%;
}

.collant__panneaux { display: flex; flex-direction: column; gap: clamp(48px, 8vw, 112px); }
.collant__panneau { scroll-margin-top: calc(var(--header-h) + 120px); }

.collant--visuel .collant__panneaux { gap: 0; }
.collant--visuel .collant__panneau {
  min-height: calc(100dvh - var(--header-h) - var(--h-ancres));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.collant__panneau-num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--or-texte);
  display: block;
  margin-bottom: var(--e-3);
}
.collant__panneau h3 { font-size: var(--t-h3); margin-bottom: var(--e-4); }

.collant__visuel {
  border-radius: var(--r-l);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--surface);
  border: 1px solid var(--trait);
}
.collant__visuel img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .collant, .collant--inverse { grid-template-columns: 1fr; gap: var(--e-7); }
  .collant--inverse .collant__ancre { order: 0; }

  .collant__ancre,
  .collant--visuel .collant__ancre {
    position: static;
    height: auto;
    min-height: 0;
    padding-block: 0;
  }
  .collant__visuel { aspect-ratio: 16 / 10; }
  .collant__panneaux { gap: var(--e-8); }

  .collant--visuel .collant__panneaux { gap: var(--e-8); }
  .collant--visuel .collant__panneau { min-height: 0; display: block; }
}

.pile-visuels { position: relative; width: 100%; aspect-ratio: var(--ratio-pile, 3 / 4); }
.pile-visuels__item {
  position: absolute;
  inset: 0;
  border-radius: var(--r-l);
  overflow: hidden;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .5s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
}
.pile-visuels__item.est-actif { opacity: 1; transform: none; }
.pile-visuels__item img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .pile-visuels { aspect-ratio: var(--ratio-pile-mobile, 16 / 10); }

}

.panneau__visuel-mobile { display: none; }
@media (max-width: 900px) {
  .panneau__visuel-mobile {
    display: block;
    border-radius: var(--r-m);
    overflow: hidden;
    aspect-ratio: var(--ratio-pile-mobile, 16 / 10);
    margin-bottom: var(--e-5);
    background: var(--surface);
  }
  .panneau__visuel-mobile img { width: 100%; height: 100%; object-fit: cover; }
  .pile-visuels { display: none; }
}

.tableau-hote {
  overflow-x: auto;
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
  -webkit-overflow-scrolling: touch;
}
.sur-blanc .tableau-hote, .sur-creme .tableau-hote { border-color: var(--trait-clair); }

.tableau {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: var(--t-petit);
}
.tableau caption {
  text-align: left;
  padding: var(--e-5) var(--e-5) 0;
  font-size: var(--t-mention);
  color: var(--creme-doux);
}
.sur-blanc .tableau caption, .sur-creme .tableau caption { color: var(--texte-doux); }
.tableau th, .tableau td {
  padding: var(--e-4) var(--e-5);
  text-align: left;
  border-bottom: 1px solid var(--trait);
  vertical-align: top;
}
.sur-blanc .tableau th, .sur-blanc .tableau td,
.sur-creme .tableau th, .sur-creme .tableau td { border-bottom-color: var(--trait-clair); }
.tableau thead th {
  font-family: var(--sans);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--or-texte);
  white-space: nowrap;
}
.tableau tbody th {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--creme);
  white-space: nowrap;
}
.sur-blanc .tableau tbody th, .sur-creme .tableau tbody th { color: var(--texte-sombre); }
.tableau td { color: var(--creme-doux); }
.sur-blanc .tableau td, .sur-creme .tableau td { color: var(--texte-doux); }
.tableau tbody tr:last-child th, .tableau tbody tr:last-child td { border-bottom: 0; }
.tableau tbody tr:hover { background: var(--or-06); }

.tableau-note {
  font-size: var(--t-mention);
  color: var(--creme-doux);
  margin-top: var(--e-3);
}
.sur-blanc .tableau-note, .sur-creme .tableau-note { color: var(--texte-doux); }

.accordeon { border-top: 1px solid var(--trait); }
.sur-blanc .accordeon, .sur-creme .accordeon { border-top-color: var(--trait-clair); }

.accordeon__item { border-bottom: 1px solid var(--trait); }
.sur-blanc .accordeon__item, .sur-creme .accordeon__item { border-bottom-color: var(--trait-clair); }

.accordeon__bouton {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--e-5);
  padding: var(--e-5) 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: inherit;
  transition: color var(--transition);
}
.accordeon__bouton:hover { color: var(--or-texte); }
.accordeon__signe {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  position: relative;
  margin-top: 4px;
}
.accordeon__signe::before, .accordeon__signe::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: var(--or-texte);
  transition: transform var(--transition);
}
.accordeon__signe::after { transform: rotate(90deg); }
.accordeon__bouton[aria-expanded="true"] .accordeon__signe::after { transform: rotate(0); }

.accordeon__panneau {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .34s cubic-bezier(.4, 0, .2, 1);
}
.accordeon__panneau.est-ouvert { grid-template-rows: 1fr; }
.accordeon__contenu { overflow: hidden; }
.accordeon__contenu > * { padding-bottom: var(--e-5); }
.accordeon__contenu p {
  font-size: var(--t-petit);
  line-height: 1.85;
  color: var(--creme-doux);
  max-width: var(--max-texte);
}
.sur-blanc .accordeon__contenu p, .sur-creme .accordeon__contenu p { color: var(--texte-doux); }

.liste-cochee { list-style: none; display: flex; flex-direction: column; gap: var(--e-4); }
.liste-cochee li {
  display: flex;
  align-items: flex-start;
  gap: var(--e-3);
  font-size: var(--t-petit);
  line-height: 1.7;
  color: var(--creme-doux);
}
.sur-blanc .liste-cochee li, .sur-creme .liste-cochee li { color: var(--texte-doux); }
.liste-cochee svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--or-texte); margin-top: 3px; }

.liste-indications { list-style: none; display: grid; gap: 0; }
.liste-indications li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--e-5);
  padding: var(--e-5) 0;
  border-bottom: 1px solid var(--trait);
  align-items: baseline;
}
.sur-blanc .liste-indications li, .sur-creme .liste-indications li { border-bottom-color: var(--trait-clair); }
.liste-indications li:first-child { border-top: 1px solid var(--trait); }
.sur-blanc .liste-indications li:first-child, .sur-creme .liste-indications li:first-child { border-top-color: var(--trait-clair); }
.liste-indications__cle { font-family: var(--serif); color: var(--or-texte); font-size: .95rem; }
.liste-indications__titre { font-family: var(--serif); font-size: 1.05rem; margin-bottom: 6px; display: block; }
.liste-indications__texte { font-size: var(--t-petit); line-height: 1.75; color: var(--creme-doux); }
.sur-blanc .liste-indications__texte, .sur-creme .liste-indications__texte { color: var(--texte-doux); }

.liste-indications--intitules li { grid-template-columns: minmax(0, 15rem) 1fr; }

@media (max-width: 560px) {
  .liste-indications li,
  .liste-indications--intitules li { grid-template-columns: 1fr; gap: var(--e-2); }
}

.cas-usage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--trait);
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
  overflow: hidden;
}
.sur-blanc .cas-usage, .sur-creme .cas-usage { background: var(--trait-clair); border-color: var(--trait-clair); }

.cas-usage__item {
  background: var(--encre);
  padding: var(--e-7) var(--e-6);
  display: flex;
  flex-direction: column;
  gap: var(--e-4);
}
.sur-blanc .cas-usage__item, .sur-creme .cas-usage__item { background: var(--blanc); }

.cas-usage__num {
  font-family: var(--serif);
  font-size: .9rem;
  letter-spacing: 2px;
  color: var(--or-texte);
}
.cas-usage__titre { font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; }
.cas-usage__ligne { display: flex; flex-direction: column; gap: 4px; }
.cas-usage__cle {
  font-size: var(--t-label);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--or-texte);
}
.cas-usage__val { font-size: var(--t-petit); line-height: 1.7; color: var(--creme-doux); }
.sur-blanc .cas-usage__val, .sur-creme .cas-usage__val { color: var(--texte-doux); }

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

.galerie { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--e-4); }
.galerie__item {
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--surface);
  position: relative;
}
.galerie__item img { width: 100%; height: 100%; object-fit: cover; }
.galerie__item--large { grid-column: span 8; aspect-ratio: 16 / 10; }
.galerie__item--petit { grid-column: span 4; aspect-ratio: 4 / 5; }
.galerie__item--tiers { grid-column: span 4; aspect-ratio: 1; }
.galerie__legende {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--e-5);
  background: linear-gradient(transparent, rgba(13, 13, 13, .88));
  font-size: var(--t-mention);
  color: var(--creme);
}
@media (max-width: 760px) {
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .galerie__item--large, .galerie__item--petit, .galerie__item--tiers {
    grid-column: span 2; aspect-ratio: 16 / 10;
  }
}

.emplacement-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--e-3);
  text-align: center;
  padding: var(--e-6);
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 180px;
  background:
    repeating-linear-gradient(-45deg,
      var(--or-06) 0 10px, transparent 10px 20px),
    var(--surface);
  border: 1px dashed var(--or-32);
  border-radius: var(--r-m);
  color: var(--creme-doux);
}
.sur-blanc .emplacement-photo, .sur-creme .emplacement-photo {
  background:
    repeating-linear-gradient(-45deg,
      var(--or-06) 0 10px, transparent 10px 20px),
    var(--surface-claire);
  color: var(--texte-doux);
}
.emplacement-photo__cle {
  font-size: var(--t-label);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--or-texte);
}
.emplacement-photo__texte { font-size: var(--t-mention); line-height: 1.6; max-width: 34ch; }

.avant-apres {
  position: relative;
  border-radius: var(--r-l);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface);
  touch-action: pan-y;
  user-select: none;
}
.avant-apres__couche { position: absolute; inset: 0; }
.avant-apres__couche img { width: 100%; height: 100%; object-fit: cover; }
.avant-apres__couche--apres { clip-path: inset(0 0 0 var(--position, 50%)); }
.avant-apres__poignee {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--position, 50%);
  width: 2px;
  background: var(--or);
  cursor: ew-resize;
}
.avant-apres__poignee::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--or);
  box-shadow: var(--ombre-or);
}
.avant-apres__etiquette {
  position: absolute;
  top: var(--e-4);
  padding: 4px 12px;
  border-radius: var(--r-xs);
  background: rgba(13, 13, 13, .75);
  font-size: var(--t-label);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--creme);
}
.avant-apres__etiquette--avant { left: var(--e-4); }
.avant-apres__etiquette--apres { right: var(--e-4); }
.avant-apres input[type="range"] {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  opacity: 0;
  height: 100%;
  cursor: ew-resize;
  margin: 0;
}

.appel {
  border: 1px solid var(--or-18);
  border-radius: var(--r-l);
  padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(120% 140% at 100% 0%, var(--or-10), transparent 62%),
    var(--surface);
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.sur-blanc .appel, .sur-creme .appel {
  background:
    radial-gradient(120% 140% at 100% 0%, var(--or-10), transparent 62%),
    var(--surface-claire);
}
.appel__titre { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: var(--e-4); }
.appel__actions { display: flex; flex-direction: column; gap: var(--e-3); }

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

.formulaire { display: flex; flex-direction: column; gap: var(--e-5); }
.formulaire__rangee { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e-5); }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ__etiquette {
  font-size: var(--t-label);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--texte-doux);
}
.sur-encre .champ__etiquette { color: var(--creme-doux); }
.champ__aide { font-size: var(--t-mention); color: var(--texte-doux); }
.champ input, .champ textarea, .champ select {
  padding: 14px 18px;
  border-radius: var(--r-s);
  border: 1px solid var(--trait-champ);
  background: var(--surface-claire);
  color: var(--texte-sombre);
  font-size: .95rem;
  transition: var(--transition);
  width: 100%;
}
.sur-encre .champ input, .sur-encre .champ textarea, .sur-encre .champ select {
  background: var(--surface);
  border-color: var(--trait);
  color: var(--creme);
}
.champ input:focus, .champ textarea:focus, .champ select:focus {
  outline: none;
  border-color: var(--or-texte);
  box-shadow: 0 0 0 3px var(--or-10);
}
.champ textarea { min-height: 150px; resize: vertical; }
.champ[data-erreur="oui"] input,
.champ[data-erreur="oui"] textarea,
.champ[data-erreur="oui"] select { border-color: var(--erreur); border-width: 2px; }
.champ__erreur { font-size: var(--t-mention); color: var(--erreur); }

.formulaire__succes {
  display: none;
  padding: var(--e-4) var(--e-5);
  border: 1px solid var(--or-32);
  border-radius: var(--r-s);
  background: var(--or-06);
  color: var(--or-texte);
  font-size: var(--t-petit);
}
.formulaire__succes.est-visible { display: block; }

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

.filtres { display: flex; flex-wrap: wrap; gap: var(--e-2); }
.filtre {
  padding: 8px 18px;
  border: 1px solid var(--trait);
  border-radius: 999px;
  font-size: var(--t-mention);
  color: var(--creme-doux);
  transition: var(--transition);
}
.sur-blanc .filtre, .sur-creme .filtre { border-color: var(--trait-clair); color: var(--texte-doux); }
.filtre:hover { border-color: var(--or-32); color: var(--or-texte); }
.filtre[aria-pressed="true"] { background: var(--or); border-color: var(--or-texte); color: var(--encre); font-weight: 500; }

.pied { background: var(--encre); border-top: 1px solid var(--trait); padding-block: var(--e-10) var(--e-6); }
.pied__grille {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--e-7);
  padding-bottom: var(--e-8);
  border-bottom: 1px solid var(--trait);
}
.pied__titre {
  font-family: var(--sans);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--or-texte);
  margin-bottom: var(--e-5);
}
.pied__liste { list-style: none; display: flex; flex-direction: column; gap: var(--e-3); }
.pied__liste a, .pied__liste span { font-size: var(--t-petit); color: var(--creme-doux); transition: color var(--transition); }
.pied__liste a { display: inline-block; padding-block: 4px; }
.pied__liste a:hover { color: var(--or-texte); }
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--e-4);
  padding-top: var(--e-6);
  font-size: var(--t-mention);
  color: var(--creme-doux);
}
.pied__bas a:hover { color: var(--or-texte); }

@media (max-width: 900px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied__grille { grid-template-columns: 1fr; gap: var(--e-6); } }

.tchat-whatsapp {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 900;
}

.tchat-whatsapp__declencheur {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 999px;

  background: linear-gradient(155deg, var(--surface-haut) 0%, var(--encre-alt) 55%, var(--encre) 100%);
  color: var(--or-clair);
  border: 1px solid rgba(205, 160, 67, .38);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: box-shadow var(--transition), transform var(--transition);
}
.tchat-whatsapp__declencheur:hover,
.tchat-whatsapp__declencheur:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
}
.tchat-whatsapp__icone-fermer {
  position: absolute;
  opacity: 0;
  transform: scale(.6) rotate(-90deg);
  transition: var(--transition);
}

.tchat-whatsapp__icone-ouvrir { display: flex; transition: var(--transition); color: #25d366; }
.tchat-whatsapp__declencheur[aria-expanded="true"] .tchat-whatsapp__icone-ouvrir {
  opacity: 0;
  transform: scale(.6) rotate(90deg);
}
.tchat-whatsapp__declencheur[aria-expanded="true"] .tchat-whatsapp__icone-fermer {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.tchat-whatsapp__panneau {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(300px, calc(100vw - 40px));
  background: var(--surface);
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(8px) scale(.97);
  transition: opacity var(--transition), transform var(--transition);
}
.tchat-whatsapp__panneau[hidden] { display: block; pointer-events: none; }
.tchat-whatsapp__panneau.est-ouvert {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.tchat-whatsapp__entete {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px var(--e-5);
  background: linear-gradient(135deg, var(--encre-alt) 0%, var(--encre) 100%);
  color: var(--creme);
  border-bottom: 1px solid rgba(205, 160, 67, .3);
}
.tchat-whatsapp__avatar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: rgba(234, 202, 128, .16);
  overflow: hidden;
}
.tchat-whatsapp__avatar svg { width: 16px; height: 16px; }
.tchat-whatsapp__avatar img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 4px;
}
.tchat-whatsapp__nom { font-family: var(--sans); font-weight: 600; font-size: .85rem; line-height: 1.3; }
.tchat-whatsapp__statut {
  font-size: .75rem;
  color: rgba(245, 240, 232, .68);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tchat-whatsapp__fermer {
  margin-left: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  color: #fff;
  opacity: .85;
  transition: background var(--transition), opacity var(--transition);
}
.tchat-whatsapp__fermer:hover,
.tchat-whatsapp__fermer:focus-visible { background: rgba(205, 160, 67, .22); opacity: 1; }

.tchat-whatsapp__corps { padding: var(--e-4) var(--e-4) 10px; background: var(--surface); }
.tchat-whatsapp__message {
  font-size: .82rem;
  line-height: 1.6;
  color: var(--creme-doux);
  background: var(--encre-alt);
  border-radius: var(--r-s) var(--r-s) var(--r-s) 3px;
  padding: 10px 12px;
}

.tchat-whatsapp__compositeur {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 var(--e-4) 8px;
  background: var(--encre);
  border: 1px solid var(--trait);
  border-radius: 14px;
  padding: 6px 6px 6px 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.tchat-whatsapp__compositeur:focus-within {
  border-color: var(--or);
  box-shadow: 0 0 0 3px rgba(205, 160, 67, .16);
}

.tchat-whatsapp__saisie {
  flex: 1 1 auto;
  resize: none;
  overflow: hidden;
  background: transparent;
  border: 0;
  color: var(--creme);
  font-family: var(--sans);
  font-size: .82rem;
  line-height: 1.5;
  padding: 6px 0;
}
.tchat-whatsapp__saisie::placeholder { color: var(--creme-doux); }
.tchat-whatsapp__saisie:focus { outline: none; }

.tchat-whatsapp__envoyer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  margin-bottom: 1px;
  border-radius: 999px;
  background: linear-gradient(155deg, var(--or-clair) 0%, var(--or) 55%, var(--or-sombre) 100%);
  color: var(--encre);
  box-shadow: 0 3px 10px rgba(205, 160, 67, .35);
  transition: filter var(--transition), transform var(--transition);
}
.tchat-whatsapp__envoyer svg { width: 15px; height: 15px; transform: translateX(-1px); }
.tchat-whatsapp__envoyer:hover,
.tchat-whatsapp__envoyer:focus-visible { filter: brightness(1.08); transform: translateY(-1px); }

.tchat-whatsapp__note {
  text-align: center;
  font-size: .75rem;
  letter-spacing: .1px;
  color: var(--creme-doux);
  opacity: .75;
  padding: 0 var(--e-4) 12px;
}

@media (max-width: 560px) {
  .tchat-whatsapp__declencheur { width: 52px; height: 52px; }
  .tchat-whatsapp__panneau { right: -4px; }
}

.duo--dossier { grid-template-columns: .82fr 1.18fr; align-items: start; gap: clamp(32px, 4vw, 64px); }

.carte.carte--dossier {
  background: var(--encre-alt);
  border: 1px solid var(--trait);
  border-radius: var(--r-l);
  padding: clamp(22px, 2.4vw, 34px);
  overflow: visible;

  --or-texte: var(--or);
}

.carte.carte--dossier:hover {
  background: var(--encre-alt);
  border-color: var(--trait);
  box-shadow: none;
}

.carte--accuse { text-align: center; padding: clamp(40px, 6vw, 72px); }
.carte--accuse .icone { margin-inline: auto; }
.carte--accuse .texte { max-width: 60ch; margin-inline: auto; }
.carte--accuse .groupe-boutons { justify-content: center; }

.pot-de-miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.etapes__fil {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  padding: 0 0 var(--e-5);
  margin: 0 0 var(--e-5);
  border-bottom: 1px solid var(--trait);
}
.etapes__pas {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  font-size: var(--t-label);
  letter-spacing: .2px;
  color: #8d8880;
  transition: var(--transition);
}
.etapes__num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #4a463f;
  font-size: .75rem;
  font-weight: 600;
  flex: 0 0 auto;
}
.etapes__pas.est-actif { color: var(--encre); background: var(--or); }
.etapes__pas.est-actif .etapes__num { border-color: rgba(13,13,13,.35); background: rgba(13,13,13,.12); color: var(--encre); }
.etapes__pas.est-fait { color: var(--or); }
.etapes__pas.est-fait .etapes__num { border-color: var(--or-55); color: var(--or); }
@media (max-width: 760px) {
  .etapes__pas:not(.est-actif) .etapes__nom { display: none; }
  .etapes__pas:not(.est-actif) { padding-right: 4px; }
}

.etape {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--e-5);
}
.formulaire--dossier { gap: var(--e-5); }
.formulaire--dossier.par-etapes .etape { display: none; }
.formulaire--dossier.par-etapes .etape.est-actif { display: flex; }

.formulaire--dossier:not(.par-etapes) .etape + .etape {
  border-top: 1px solid var(--trait);
  padding-top: var(--e-6);
}
.formulaire--dossier:not(.par-etapes) .etapes__fil { display: none; }

.etape__legende { display: flex; flex-direction: column; gap: 9px; }
.etape__compteur {
  font-size: .75rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--or);
}
.etape__titre { font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.25; color: var(--creme); }
.etape__resume { font-size: var(--t-mention); line-height: 1.6; color: #a09a91; max-width: 60ch; }

.etape__sous-titre {
  font-size: .75rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--creme-doux);
  margin: var(--e-3) 0 calc(var(--e-5) - 10px);
  padding-top: var(--e-3);
  border-top: 1px solid var(--trait);
}
.etape__sous-titre + .etape__note { margin-top: calc(var(--e-5) * -1 + 2px); }
.etape__note { font-size: var(--t-mention); color: #a09a91; margin: 0 0 calc(var(--e-5) - 12px); }

.carte--dossier .champ { gap: 7px; }
.carte--dossier .champ__etiquette {
  font-size: .75rem;
  letter-spacing: 1.4px;
  color: var(--creme-doux);
}
.carte--dossier .champ__aide { font-size: .78rem; line-height: 1.55; color: #98928a; }

.carte--dossier .champ input,
.carte--dossier .champ select,
.carte--dossier .champ textarea {
  padding: 11px 14px;
  font-size: .875rem;
  border-radius: var(--r-s);
  border: 1px solid transparent;
  background: var(--blanc);
  color: var(--texte-sombre);
}
.carte--dossier .champ textarea { min-height: 92px; line-height: 1.6; }
.carte--dossier .champ input::placeholder,
.carte--dossier .champ textarea::placeholder { color: #7d776e; opacity: 1; }
.carte--dossier .champ input:focus,
.carte--dossier .champ select:focus,
.carte--dossier .champ textarea:focus {
  border-color: var(--or);
  box-shadow: 0 0 0 3px var(--or-32);
}
.carte--dossier .champ[data-erreur="oui"] input,
.carte--dossier .champ[data-erreur="oui"] select,
.carte--dossier .champ[data-erreur="oui"] textarea { border-color: #e8837a; border-width: 2px; }
.carte--dossier .champ__erreur { font-size: .78rem; color: #e8837a; }

.formulaire__rangee--3 { grid-template-columns: repeat(3, 1fr); }
.carte--dossier .formulaire__rangee { gap: var(--e-4); }
@media (max-width: 900px) { .formulaire__rangee--3 { grid-template-columns: 1fr; } }

.cases { display: grid; gap: 8px; margin-top: 6px; }

.carte--dossier .champ__etiquette + .cases,
.carte--dossier .champ > span.champ__etiquette + .cases { margin-top: 10px; }
.carte--dossier .champ__aide + .cases { margin-top: 8px; }
.cases--3 { grid-template-columns: repeat(2, 1fr); }
.cases--4 { grid-template-columns: repeat(4, 1fr); }
.cases--serrees { gap: 6px; }
@media (min-width: 940px) { .cases--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 580px) {
  .cases--3 { grid-template-columns: 1fr; }

  .cases--4, .cases--serrees { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 360px) { .cases--4, .cases--serrees { grid-template-columns: 1fr; } }

.case {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid #4a463f;
  border-radius: var(--r-s);
  background: rgba(255,255,255,.02);
  cursor: pointer;
  transition: var(--transition);
}
.case--simple { padding: 8px 11px; align-items: center; }
.case--pleine { width: 100%; }
.case:hover { border-color: var(--or-55); background: rgba(255,255,255,.05); }
.case input { position: absolute; opacity: 0; width: 0; height: 0; }

.case__marque {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1.5px solid #6b655a;
  border-radius: 3px;
  background: transparent;
  transition: var(--transition);
  position: relative;
}
.case--simple .case__marque { margin-top: 0; }
.case__marque--rond { border-radius: 50%; }
.case__marque::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--encre);
  border-bottom: 2px solid var(--encre);
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
  transition: var(--transition);
}
.case__marque--rond::after {
  width: 6px; height: 6px; border: 0; border-radius: 50%;
  background: var(--encre); transform: none;
}
.case input:checked + .case__marque { background: var(--or); border-color: var(--or); }
.case input:checked + .case__marque::after { opacity: 1; }
.case:has(input:checked) { border-color: var(--or); background: var(--or-10); }
.case input:focus-visible + .case__marque { box-shadow: 0 0 0 3px var(--or-32); }

.case__texte { display: flex; flex-direction: column; gap: 2px; font-size: .84rem; line-height: 1.4; color: var(--creme); }
.case__texte strong { font-weight: 500; }
.case__aide { font-size: .76rem; color: #a09a91; line-height: 1.45; }
.case--engagement { align-items: flex-start; padding: 12px 14px; }
.carte--dossier .champ[data-erreur="oui"] .case { border-color: #e8837a; }

.repli { border: 1px solid var(--trait); border-radius: var(--r-s); background: rgba(255,255,255,.02); }
.repli__titre {
  padding: 11px 14px;
  font-size: .82rem;
  color: var(--or);
  cursor: pointer;
  list-style: none;
}
.repli__titre::-webkit-details-marker { display: none; }
.repli__titre::before { content: "+ "; font-weight: 600; }
.repli[open] .repli__titre::before { content: "– "; }
.repli__corps {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: var(--e-4);
  border-top: 1px solid var(--trait);
}
.repli__corps .etape__sous-titre { border-top: 0; padding-top: 0; margin: 0 0 -6px; }

.etapes__pied {
  display: flex;
  flex-wrap: wrap;
  gap: var(--e-3);
  align-items: center;
  padding-top: var(--e-4);
  border-top: 1px solid var(--trait);
}

.etapes__pied .bouton[hidden] { display: none; }
.etapes__pied .bouton { flex: 0 0 auto; }

.carte--dossier .bouton--fantome {
  color: var(--creme);
  border-color: rgba(245, 240, 232, .28);
}
.carte--dossier .bouton--fantome:hover {
  color: var(--or);
  border-color: var(--or-55);
  background: var(--or-06);
}

.carte--dossier .tableau-note { font-size: .76rem; color: #8d8880; }
.carte--dossier .tableau-note a { color: var(--or); }

.formulaire__echec {
  padding: var(--e-4);
  border: 1px solid #e8837a;
  border-radius: var(--r-s);
  background: rgba(232, 131, 122, .08);
  color: #e8837a;
  font-size: var(--t-mention);
}
.carte--dossier .formulaire__succes {
  border-color: var(--or-55);
  background: var(--or-10);
  color: var(--creme);
  font-size: var(--t-petit);
}

@media (max-width: 1020px) { .duo--dossier { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .carte--dossier { padding: 20px 16px; } }

.champ input::placeholder,
.champ textarea::placeholder { color: var(--texte-doux); opacity: 1; }

.fenetre {
  border-radius: var(--r-m);
  overflow: hidden;
  border: 1px solid var(--trait);
  background: var(--encre-alt);
  position: relative;
}
.fenetre__barre {
  display: flex;
  align-items: center;
  gap: var(--e-3);
  padding: 10px 14px;
  background: var(--surface-haut);
  border-bottom: 1px solid var(--trait);
}
.fenetre__points { display: flex; gap: 6px; flex: 0 0 auto; }
.fenetre__points i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.fenetre__points i:nth-child(1) { background: #e5533d; }
.fenetre__points i:nth-child(2) { background: #e5b93d; }
.fenetre__points i:nth-child(3) { background: #3dbd6f; }
.fenetre__adresse {
  flex: 1;
  font-family: var(--sans);
  font-size: .72rem;
  color: var(--creme-doux);
  background: var(--encre);
  border: 1px solid var(--trait);
  border-radius: 999px;
  padding: 5px 12px;
  text-align: center;
  letter-spacing: .2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fenetre__lecture {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--encre);
  cursor: pointer;
  aspect-ratio: 16 / 9;
}
.fenetre__lecture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition);
}
.fenetre__bouton {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--or);
  color: var(--encre);
  box-shadow: var(--ombre-or);
  transition: transform var(--transition), background var(--transition);
}
.fenetre__bouton svg { margin-left: 3px; }
.fenetre__duree {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-family: var(--sans);
  font-size: var(--t-mention);
  color: var(--creme);
  background: rgba(13, 13, 13, .78);
  border-radius: var(--r-xs);
  padding: 4px 9px;
}
.fenetre__lecture:hover .fenetre__bouton,
.fenetre__lecture:focus-visible .fenetre__bouton { transform: scale(1.07); background: var(--or-clair); }
.fenetre__lecture:hover img { opacity: .82; }
.fenetre__lecture:focus-visible { outline: 2px solid var(--or); outline-offset: -2px; }
.fenetre__video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--encre); }
.fenetre__legende {
  margin-top: var(--e-4);
  text-align: center;
  font-family: var(--sans);
  font-size: .78rem;
  color: var(--texte-doux);
}
.sur-encre .fenetre__legende { color: var(--creme-doux); }
@media (prefers-reduced-motion: reduce) {
  .fenetre__bouton, .fenetre__lecture img { transition: none; }
}

.heros__fil a,
.heros__fil span,
.pied__bas a { display: inline-block; padding-block: 3px; }

/* ═══════════════════════════════════════════════════════════════════════
   Bandeau de consentement aux traceurs
   Refuser doit etre aussi simple qu'accepter : les deux boutons sont au
   meme niveau, de meme taille, et aucun n'est mis en avant par rapport a
   l'autre. Aucun traceur n'est depose avant le choix du visiteur.
   ═══════════════════════════════════════════════════════════════════════ */
.cnst {
  position: fixed;
  z-index: 9000;
  left: var(--e-5);
  right: var(--e-5);
  bottom: var(--e-5);
  max-width: 560px;
  background: var(--blanc);
  border: 1px solid var(--trait-clair);
  border-top: 2px solid var(--or);
  border-radius: var(--r-xs);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .14);
  padding: var(--e-6);
  font-family: var(--sans);
  color: var(--texte-sombre);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s cubic-bezier(.16, 1, .3, 1),
              transform .4s cubic-bezier(.16, 1, .3, 1);
}
.cnst[hidden] { display: none; }
.cnst.cnst--vu { opacity: 1; transform: none; }

.cnst__titre {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 var(--e-3);
  color: var(--texte-sombre);
}
.cnst__texte {
  font-size: var(--t-petit);
  line-height: 1.6;
  color: var(--texte-doux);
  margin: 0 0 var(--e-5);
}
.cnst__texte a { color: var(--or-texte-fonce); text-decoration: underline; }

.cnst__actions { display: flex; flex-wrap: wrap; gap: var(--e-3); }
.cnst__actions .bouton { flex: 1 1 auto; min-width: 136px; padding: 13px 22px; }

/* Le bandeau est pose sur fond blanc : le bouton fantome reprend le meme
   traitement que partout ailleurs sur fond clair. L'or sur blanc ne donne
   qu'un rapport de contraste de 2,4, insuffisant pour etre lisible. */
.cnst .bouton--fantome {
  color: var(--texte-sombre);
  border-color: rgba(26, 26, 26, .22);
}
.cnst .bouton--fantome:hover {
  border-color: var(--texte-sombre);
  background: transparent;
}

.cnst__lien {
  display: inline-block;
  margin-top: var(--e-4);
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: var(--t-mention);
  color: var(--texte-doux);
  text-decoration: underline;
  cursor: pointer;
}
.cnst__lien:hover { color: var(--texte-sombre); }

/* Le detail par finalite */
.cnst__detail {
  margin: var(--e-5) 0 0;
  border-top: 1px solid var(--trait-clair);
  padding-top: var(--e-5);
}
.cnst__detail[hidden] { display: none; }
.cnst__choix {
  display: flex;
  gap: var(--e-4);
  align-items: flex-start;
  padding: var(--e-4) 0;
  border-bottom: 1px solid var(--trait-clair);
}
.cnst__choix:last-of-type { border-bottom: 0; }
.cnst__choix h4 {
  font-size: var(--t-corps);
  font-weight: 600;
  margin: 0 0 var(--e-1);
  color: var(--texte-sombre);
}
.cnst__choix p { font-size: var(--t-mention); line-height: 1.55; color: var(--texte-doux); margin: 0; }

/* Interrupteur : non coche par defaut, comme l'exige le consentement prealable */
.cnst__bascule {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 24px;
  margin-top: 2px;
}
.cnst__bascule input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.cnst__bascule span {
  position: absolute;
  inset: 0;
  background: #d9d6d0;
  border-radius: 999px;
  transition: background var(--transition);
  pointer-events: none;
}
.cnst__bascule span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--blanc);
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.cnst__bascule input:checked + span { background: var(--or); }
.cnst__bascule input:checked + span::after { transform: translateX(20px); }
.cnst__bascule input:focus-visible + span { outline: 2px solid var(--or-texte-fonce); outline-offset: 2px; }

@media (max-width: 560px) {
  .cnst { left: var(--e-3); right: var(--e-3); bottom: var(--e-3); padding: var(--e-5); }
  .cnst__actions .bouton { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cnst { transition: none; opacity: 1; transform: none; }
}
.stf__parent {
  position: relative;
  display: block;
  box-sizing: border-box;
  transform: translateZ(0);

  -ms-touch-action: pan-y;
  touch-action: pan-y;
}

.sft__wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.stf__parent canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.stf__block {
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  perspective: 2000px;
}

.stf__item {
  display: none;
  position: absolute;
  transform-style: preserve-3d;
}

.stf__outerShadow {
  position: absolute;
  left: 0;
  top: 0;
}

.stf__innerShadow {
  position: absolute;
  left: 0;
  top: 0;
}

.stf__hardShadow {
  position: absolute;
  left: 0;
  top: 0;
}

.stf__hardInnerShadow {
  position: absolute;
  left: 0;
  top: 0;
}
/* ═══════════════════════════════════════════════════════════════════════
   Le catalogue à feuilleter
   La liseuse est posée sur fond encre, au milieu de la page, entre l'en-tête
   du site et le bloc d'appel. Le pliage lui-même est calculé par page-flip,
   dont la feuille de style est reprise juste au-dessus.
   ═══════════════════════════════════════════════════════════════════════ */
.cat__tete{display:grid;grid-template-columns:1.4fr .6fr;gap:var(--e-7);align-items:end}
.cat__actions{display:flex;flex-wrap:wrap;gap:var(--e-3);justify-content:flex-end}

.cat__bloc{padding-top:var(--e-8);padding-bottom:var(--e-8)}
.cat__liseuse{position:relative;display:flex;align-items:center;justify-content:center;
  min-height:62vh;padding:0 56px}
/* Halo blanc. L'ombre portee etait noire sur un fond noir : le catalogue se
   fondait dans la page. On garde drop-shadow et non box-shadow, car le
   filtre epouse la silhouette reellement visible : sur la couverture, qui
   est seule, le halo ne deborde donc pas sur la demi-page vide.
   Deux couches seulement, un liseré net puis une diffusion douce : le
   canevas est repeint a chaque image pendant que la page tourne, chaque
   couche supplementaire se paie en fluidite. */
#cat-livre{filter:drop-shadow(0 0 1px rgba(255,255,255,.52))
    drop-shadow(0 0 20px rgba(255,255,255,.15));
  transition:transform .45s cubic-bezier(.22,1,.36,1)}

/* La couverture est seule : la bibliothèque la pose à droite et laisse la
   place de gauche vide. On décale donc le livre d'une demi-page pour la
   ramener au centre, et un cache de la couleur du fond masque le vide. */
.cat__liseuse--couverture #cat-livre{transform:translateX(-25%)}
.cat__liseuse--fin #cat-livre{transform:translateX(25%)}

.stf__item{cursor:grab}
.stf__item:active{cursor:grabbing}

.cat__fleche{position:absolute;top:50%;transform:translateY(-50%);z-index:4;
  width:42px;height:64px;border:1px solid var(--or-32);background:rgba(13,13,13,.6);
  color:var(--creme);font-size:20px;line-height:1;cursor:pointer;border-radius:var(--r-xs);
  display:flex;align-items:center;justify-content:center;transition:var(--transition)}
.cat__fleche:hover{border-color:var(--or);color:var(--or);background:rgba(13,13,13,.86)}
.cat__fleche--p{left:0}
.cat__fleche--s{right:0}

.cat__aide{position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);
  font-size:var(--t-label);letter-spacing:.11em;text-transform:uppercase;
  color:var(--creme-doux);margin:0;pointer-events:none;transition:opacity .5s}
.cat__aide.efface{opacity:0}

.cat__barre{display:flex;align-items:center;gap:var(--e-5);margin-top:var(--e-7);
  padding-top:var(--e-5);border-top:1px solid rgba(245,240,232,.16)}
.cat__folio{font-size:var(--t-petit);color:var(--creme-doux);min-width:72px;
  font-variant-numeric:tabular-nums}
.cat__folio b{color:var(--or)}
.cat__piste{flex:1 1 auto;height:3px;background:rgba(245,240,232,.16);position:relative;
  cursor:pointer;border-radius:2px}
.cat__piste i{position:absolute;inset:0 auto 0 0;background:var(--or);width:0;
  transition:width .3s;border-radius:2px}
.cat__bt{background:none;border:1px solid var(--or-32);color:var(--creme);
  font-family:var(--sans);font-size:var(--t-label);letter-spacing:.1em;text-transform:uppercase;
  padding:9px 14px;border-radius:var(--r-xs);cursor:pointer;white-space:nowrap;
  transition:var(--transition)}
.cat__bt:hover{border-color:var(--or);color:var(--or)}

.cat__chapitres{display:flex;flex-wrap:wrap;gap:var(--e-2);margin-top:var(--e-5)}
.cat__chapitres button{background:none;border:0;color:var(--creme-doux);font-family:var(--sans);
  font-size:var(--t-label);letter-spacing:.09em;text-transform:uppercase;cursor:pointer;
  padding:6px 9px;border-radius:var(--r-xs);transition:var(--transition)}
.cat__chapitres button:hover{color:var(--or)}
.cat__chapitres button[aria-current="true"]{color:var(--encre);background:var(--or)}

/* la planche de toutes les pages */
.cat__vol{position:fixed;inset:0;z-index:900;background:rgba(13,13,13,.97);overflow-y:auto;
  padding:var(--e-7)}
.cat__vol[hidden]{display:none}
.cat__vol-tete{display:flex;align-items:center;justify-content:space-between;
  max-width:var(--max-l);margin:0 auto var(--e-6)}
.cat__grille{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));
  gap:var(--e-4);max-width:var(--max-l);margin:0 auto}
.cat__vign{background:none;border:0;padding:0;cursor:pointer}
.cat__vign img{width:100%;display:block;border:1px solid rgba(245,240,232,.18);
  transition:var(--transition)}
.cat__vign:hover img{border-color:var(--or)}
.cat__vign[aria-current="true"] img{border-color:var(--or);box-shadow:0 0 0 2px var(--or)}
.cat__vign span{display:block;font-size:var(--t-label);color:var(--creme-doux);
  text-align:center;margin-top:var(--e-1)}

@media (max-width:900px){
  .cat__tete{grid-template-columns:1fr;gap:var(--e-5)}
  .cat__actions{justify-content:flex-start}
  .cat__liseuse{padding:0 44px;min-height:54vh}
  .cat__aide{display:none}
  .cat__chapitres{display:none}
  .cat__barre{flex-wrap:wrap;gap:var(--e-3)}
}

/* ── impression : le catalogue entier, une page par feuille ──────────── */
@media print{
  body > header, body > footer, .cat__barre, .cat__chapitres, .cat__actions,
  .cat__fleche, .cat__aide, .cat__vol, .bloc-appel, .tchat-whatsapp,
  .cnst, .fil-visible{display:none !important}
  .cat__bloc{background:#fff !important;padding:0 !important}
  .cat__liseuse{display:block;min-height:0;padding:0}
  #cat-livre{display:none}
  .cat__impression{display:block !important}
  .cat__impression img{width:100%;height:auto;display:block;page-break-after:always;
    break-after:page}
  .cat__impression img:last-child{page-break-after:auto;break-after:auto}
  @page{size:A4 portrait;margin:0}
}
.cat__impression{display:none}

/* Les pages du catalogue, posées en HTML pour permettre leur chargement
   différé. L'image remplit la page sans jamais être étirée. */
.cat__page{background:var(--creme-doux)}
.cat__page img{width:100%;height:100%;object-fit:contain;display:block;
  background:var(--blanc);user-select:none;-webkit-user-drag:none}

/* ── le catalogue en plein écran ──────────────────────────────────────────
   La page entière passe en plein écran, et cette classe déploie la liseuse
   sur tout l'espace en effaçant le reste. Mettre la liseuse seule en plein
   écran la sortirait de son contexte de mise en page. */
.catalogue-plein body > header,
.catalogue-plein body > footer,
.catalogue-plein .heros,
.catalogue-plein .bloc-appel,
.catalogue-plein .tchat-whatsapp,
.catalogue-plein .cnst{display:none !important}
.catalogue-plein,
.catalogue-plein body{height:100%;overflow:hidden;background:var(--encre)}
.catalogue-plein .cat__bloc{position:fixed;inset:0;padding:0;display:flex;
  align-items:stretch;background:var(--encre);z-index:800}
.catalogue-plein .cat__bloc > .zone{display:flex;flex-direction:column;width:100%;
  max-width:none;padding:14px 20px 12px}
.catalogue-plein .cat__liseuse{flex:1 1 auto;min-height:0;padding:0 56px}
.catalogue-plein .cat__barre{margin-top:10px;padding-top:10px}
.catalogue-plein .cat__chapitres{margin-top:8px}
.catalogue-plein .cat__aide{display:none}

/* === Catalogue : les familles, en clair ====================================
   Les six sections de famille étaient en noir et blanc alternés, ce qui
   fatiguait la lecture sur une page aussi longue. Elles sont désormais toutes
   claires, blanc puis crème. Mais #ffffff et #fcfbf9 ne se distinguent
   pratiquement pas : sans repère, les six sections se colleraient. Un filet
   d'un pixel marque la limite, sans ramener de bloc sombre. */
.bloc[id^="famille-"],
.bloc#par-besoin {
  border-top: 1px solid var(--trait-clair);
}

