/* ==========================================================================
   Le Tiroir aux Photos  ·  images-souvenirs.fr
   Feuille de style unique. Aucune ressource externe, aucune police chargée.
   Metaphore visuelle : la chambre noire et la planche contact.
   ========================================================================== */

/* --- 1. Remise a zero -------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol, table {
  margin: 0;
  padding: 0;
}

ul[class], ol[class] { list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }

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

/* --- 2. Jetons --------------------------------------------------------- */

:root {
  /* Couleurs nees du sujet : lampe inactinique, papier baryte, cuve de bain */
  --nuit:        #15171e;
  --nuit-2:      #1e2230;
  --nuit-3:      #2b3142;
  --baryte:      #f8f3e8;
  --baryte-2:    #efe7d8;
  --baryte-3:    #e5dbc8;
  --ambre:       #b8481a;
  --ambre-vif:   #e08a3c;
  --vertdeau:    #2a6157;
  --sepia:       #6f6353;
  --argent:      #dcd4c3;

  /* Rythme vertical : une seule echelle, partout */
  --r1: .375rem;
  --r2: .75rem;
  --r3: 1.25rem;
  --r4: 2rem;
  --r5: 3.25rem;
  --r6: 5rem;
  --r7: 7.5rem;

  --largeur:  72rem;   /* enveloppe generale */
  --mesure:   40rem;   /* longueur de ligne confortable */
  --rayon:    3px;     /* coins presque droits : c'est du papier, pas une app */
  --rayon-l:  6px;

  --serif: ui-serif, Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:  ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --ombre-basse: 0 1px 2px rgba(21, 23, 30, .06), 0 6px 18px -12px rgba(21, 23, 30, .35);
  --ombre-haute: 0 2px 4px rgba(21, 23, 30, .08), 0 22px 44px -26px rgba(21, 23, 30, .55);
}

/* --- 3. Socle typographique -------------------------------------------- */

body {
  background: var(--baryte);
  color: var(--nuit);
  font-family: var(--sans);
  font-size: clamp(1.02rem, .985rem + .19vw, 1.14rem);
  line-height: 1.68;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.014em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 1.32rem + 3.5vw, 4.05rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.55vw, 2.35rem); line-height: 1.14; }
h3 { font-size: clamp(1.18rem, 1.08rem + .5vw, 1.45rem); line-height: 1.24; }
h4 { font-size: 1.02rem; line-height: 1.3; }

a { color: var(--ambre); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--nuit); }

strong { font-weight: 650; }

/* Deux paragraphes qui se suivent respirent, meme hors bloc de texte long */
p + p { margin-top: var(--r3); }

::selection { background: var(--ambre-vif); color: var(--nuit); }

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

/* --- 4. Ossature ------------------------------------------------------- */

.enveloppe {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, .55rem + 2.6vw, 3rem);
}

.enveloppe--etroite { max-width: 54rem; }

.rubrique { padding-block: clamp(var(--r5), 4vw, var(--r7)); }
.rubrique--serree { padding-block: var(--r5); }

.saut-contenu {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ambre);
  color: var(--baryte);
  padding: var(--r2) var(--r3);
  z-index: 99;
  text-decoration: none;
}
.saut-contenu:focus { left: var(--r2); top: var(--r2); }

[id] { scroll-margin-top: 5.5rem; }

/* Titre de rubrique : une barre ambre courte, puis le titre */
.titre-rubrique {
  display: flex;
  flex-direction: column;
  gap: var(--r2);
  margin-bottom: var(--r4);
  max-width: 34rem;
}
.titre-rubrique p {
  color: var(--sepia);
  font-size: .98rem;
  max-width: var(--mesure);
}
.titre-rubrique--large { max-width: none; }

.surtitre {
  font-family: var(--sans);
  font-size: .715rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ambre);
  display: flex;
  align-items: center;
  gap: .6em;
}
.surtitre::before {
  content: "";
  width: 1.6em;
  height: 2px;
  background: currentColor;
  flex: none;
}
.surtitre--pale { color: var(--ambre-vif); }

/* Filet perfore : les trous d'entrainement d'un film 35 mm */
.filet-perfore {
  border: 0;
  height: 12px;
  margin-block: var(--r5);
  background-image: radial-gradient(circle at 50% 50%, var(--argent) 0 2.4px, transparent 3px);
  background-size: 15px 12px;
  background-repeat: repeat-x;
  background-origin: content-box;
  background-clip: content-box;
}
.filet-perfore--sombre {
  background-image: radial-gradient(circle at 50% 50%, rgba(248, 243, 232, .3) 0 2.4px, transparent 3px);
}

.filet {
  border: 0;
  border-top: 1px solid var(--argent);
  margin-block: var(--r4);
}

/* --- 5. Enseigne et sommaire ------------------------------------------- */

.enseigne {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--nuit);
  color: var(--baryte);
  border-bottom: 1px solid rgba(248, 243, 232, .1);
}

.enseigne__barre {
  display: flex;
  align-items: center;
  gap: var(--r3);
  min-height: 4.2rem;
  padding-block: var(--r2);
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--baryte);
  text-decoration: none;
  flex: none;
}
.marque:hover { color: var(--baryte); }

.marque__pastille {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  flex: none;
  background: radial-gradient(circle at 32% 30%, var(--ambre-vif), var(--ambre) 62%, #7d2f0f);
  box-shadow: 0 0 0 3px rgba(224, 138, 60, .16), 0 0 14px rgba(224, 138, 60, .5);
}

.marque__mot {
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.06;
  letter-spacing: -.01em;
}
.marque__mot em {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: .58rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(248, 243, 232, .55);
  margin-top: .28em;
}

.sommaire {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(.85rem, .3rem + 1.5vw, 1.9rem);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: .45rem;
}
.sommaire::-webkit-scrollbar { display: none; }

.sommaire a {
  color: rgba(248, 243, 232, .82);
  text-decoration: none;
  font-size: .88rem;
  white-space: nowrap;
  padding-bottom: .2rem;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.sommaire a:hover { color: var(--baryte); border-bottom-color: rgba(224, 138, 60, .55); }
.sommaire a[aria-current="page"] { color: var(--baryte); border-bottom-color: var(--ambre-vif); }

@media (max-width: 44rem) {
  .enseigne__barre { flex-wrap: wrap; gap: var(--r1) var(--r3); }
  .sommaire {
    order: 3;
    margin-left: 0;
    width: 100%;
    gap: 1.15rem;
    padding-bottom: .55rem;
    border-top: 1px solid rgba(248, 243, 232, .08);
    padding-top: .6rem;
  }
}

/* --- 6. Bandeau d'ouverture -------------------------------------------- */

.bandeau {
  background:
    radial-gradient(78% 120% at 88% 6%, rgba(224, 138, 60, .22), transparent 56%),
    radial-gradient(72% 105% at 2% 96%, rgba(42, 97, 87, .3), transparent 60%),
    linear-gradient(178deg, #1a1e29, #14161d);
  color: var(--baryte);
  position: relative;
  overflow: hidden;
}
.bandeau::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 10px;
  background-image: radial-gradient(circle at 50% 50%, rgba(248, 243, 232, .16) 0 2.2px, transparent 2.8px);
  background-size: 15px 10px;
  pointer-events: none;
}

.bandeau__grille {
  display: grid;
  gap: clamp(var(--r4), 3vw, var(--r5));
  align-items: center;
  padding-block: clamp(var(--r5), 5vw, var(--r7));
}
@media (min-width: 62rem) {
  .bandeau__grille { grid-template-columns: 1.08fr .92fr; }
}

.bandeau h1 { margin-block: var(--r3) 0; }

.bandeau__chapeau {
  margin-top: var(--r3);
  font-size: clamp(1.06rem, 1rem + .35vw, 1.24rem);
  line-height: 1.62;
  color: rgba(248, 243, 232, .84);
  max-width: 34rem;
}

.bandeau__pied {
  display: flex;
  flex-wrap: wrap;
  gap: var(--r2) var(--r4);
  margin-top: var(--r4);
  padding-top: var(--r3);
  border-top: 1px solid rgba(248, 243, 232, .14);
  font-size: .86rem;
  color: rgba(248, 243, 232, .6);
}
.bandeau__pied a { color: rgba(248, 243, 232, .9); text-decoration: none; border-bottom: 1px solid rgba(224, 138, 60, .5); }
.bandeau__pied a:hover { color: var(--ambre-vif); }

/* Bandeau reduit pour les pages interieures */
.bandeau--page .bandeau__grille { padding-block: clamp(var(--r4), 3.5vw, var(--r6)); }

/* --- 7. Boutons -------------------------------------------------------- */

.rangee-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--r2) var(--r3);
  margin-top: var(--r4);
}

.declic {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .78em 1.5em;
  border-radius: var(--rayon);
  font-size: .93rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}
.declic::after {
  content: "";
  width: .42em;
  height: .42em;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .16s ease;
}
.declic:hover::after { transform: rotate(45deg) translate(2px, -2px); }

.declic--plein {
  background: var(--ambre);
  color: var(--baryte);
}
.declic--plein:hover { background: #a03d14; color: var(--baryte); transform: translateY(-1px); }

.declic--fantome {
  border-color: rgba(248, 243, 232, .32);
  color: var(--baryte);
}
.declic--fantome:hover { border-color: var(--ambre-vif); color: var(--ambre-vif); }

.declic--sobre {
  border-color: var(--argent);
  color: var(--nuit);
  background: transparent;
}
.declic--sobre:hover { border-color: var(--ambre); color: var(--ambre); }

/* --- 8. Chassis d'image ------------------------------------------------
   Jamais de carre gris : le fond degrade fait office d'image manquante.   */

.chassis {
  position: relative;
  overflow: hidden;
  border-radius: var(--rayon-l);
  background:
    radial-gradient(118% 92% at 14% 10%, rgba(224, 138, 60, .55), transparent 58%),
    radial-gradient(108% 84% at 86% 92%, rgba(42, 97, 87, .5), transparent 62%),
    linear-gradient(158deg, #2b3142, #14161d 72%);
  box-shadow: var(--ombre-haute);
}
.chassis::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(48deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.chassis img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: inherit;
  color: rgba(248, 243, 232, .82);
  font-family: var(--sans);
  font-size: .84rem;
  line-height: 1.5;
  padding: 0;
}

.chassis--paysage { aspect-ratio: 3 / 2; }
.chassis--portrait { aspect-ratio: 4 / 5; }
.chassis--large   { aspect-ratio: 16 / 9; }

/* Sur telephone, une image debout mange trop de hauteur avant le contenu */
@media (max-width: 48rem) {
  .chassis--portrait { aspect-ratio: 5 / 4; }
}

/* Variante « tirage papier » : marge blanche a la Polaroid */
.chassis--tirage {
  background: var(--baryte);
  padding: 10px 10px 2.6rem;
  border-radius: var(--rayon);
  box-shadow: var(--ombre-basse);
  transform: rotate(-.5deg);
}
.chassis--tirage img { border-radius: 1px; aspect-ratio: 4 / 3; }
.chassis--tirage::after { display: none; }

.legende {
  display: block;
  margin-top: var(--r2);
  font-size: .82rem;
  color: var(--sepia);
  line-height: 1.5;
}
.legende::before { content: "▸ "; color: var(--ambre); }

/* --- 9. Trois portes (entrees de la home) ------------------------------ */

.portes {
  display: grid;
  gap: var(--r3);
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
}

.porte {
  display: flex;
  flex-direction: column;
  gap: var(--r2);
  padding: var(--r4) var(--r3) var(--r3);
  background: var(--baryte-2);
  border: 1px solid var(--baryte-3);
  border-top: 3px solid var(--ambre);
  border-radius: var(--rayon);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.porte:nth-child(2) { border-top-color: var(--vertdeau); }
.porte:nth-child(3) { border-top-color: var(--nuit-3); }
.porte:hover {
  transform: translateY(-3px);
  background: #fffdf7;
  box-shadow: var(--ombre-basse);
  color: inherit;
}
.porte h3 { font-size: 1.3rem; }
.porte p { color: var(--sepia); font-size: .95rem; margin: 0; }
.porte span {
  margin-top: auto;
  padding-top: var(--r2);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ambre);
}

/* --- 10. Planche contact (grille de vignettes) ------------------------- */

.planche {
  display: grid;
  gap: var(--r3);
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
}
.planche--duo { grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr)); }

.vignette {
  display: flex;
  flex-direction: column;
  gap: var(--r1);
  padding: var(--r3);
  background: #fffdf7;
  border: 1px solid var(--baryte-3);
  border-radius: var(--rayon);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.vignette:hover {
  border-color: var(--ambre);
  box-shadow: var(--ombre-basse);
  transform: translateY(-2px);
  color: inherit;
}
.vignette__etiquette {
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--vertdeau);
}
.vignette h3 { font-size: 1.22rem; margin-top: .15em; }
.vignette p { font-size: .93rem; color: var(--sepia); margin: 0; }
.vignette__lire {
  margin-top: auto;
  padding-top: var(--r2);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ambre);
  display: inline-flex;
  align-items: center;
  gap: .4em;
}
.vignette__lire::after {
  content: "";
  width: .38em; height: .38em;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
}

/* --- 11. Podium (le trio de tete d'un comparatif) ---------------------- */

.podium {
  display: grid;
  gap: var(--r3);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-block: var(--r4);
}

.marche {
  position: relative;
  padding: var(--r4) var(--r3) var(--r3);
  background: var(--baryte-2);
  border: 1px solid var(--baryte-3);
  border-radius: var(--rayon);
}
.marche--premier {
  background: var(--nuit);
  color: var(--baryte);
  border-color: var(--nuit);
}

.medaille {
  position: absolute;
  top: -.85rem;
  left: var(--r3);
  min-width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  padding-inline: .4rem;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--baryte);
  background: var(--ambre);
  border-radius: 2px;
}
.marche--premier .medaille { background: var(--ambre-vif); color: var(--nuit); }

.marche h3 { font-size: 1.28rem; margin-bottom: var(--r1); }
.marche p { font-size: .93rem; color: var(--sepia); margin: 0; }
.marche--premier h3 { color: var(--baryte); }
.marche--premier p { color: rgba(248, 243, 232, .8); }
.marche__mention {
  display: block;
  margin-top: var(--r2);
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--vertdeau);
}
.marche--premier .marche__mention { color: var(--ambre-vif); }

/* --- 12. Corps de texte ------------------------------------------------ */

.tirage { max-width: var(--mesure); }
.tirage--large { max-width: 46rem; }

.tirage > * + * { margin-top: var(--r3); }
.tirage h2 { margin-top: var(--r5); }
.tirage h3 { margin-top: var(--r4); }
.tirage h2 + p, .tirage h3 + p { margin-top: var(--r2); }

.tirage p { line-height: 1.72; }

.tirage > ul, .tirage > ol { padding-left: 1.25rem; }
.tirage li + li { margin-top: .5rem; }
.tirage li::marker { color: var(--ambre); }

.tirage blockquote {
  border-left: 3px solid var(--ambre);
  padding-left: var(--r3);
  font-family: var(--serif);
  font-size: 1.14rem;
  line-height: 1.5;
  color: var(--nuit);
}

.chapeau {
  font-size: clamp(1.08rem, 1.02rem + .34vw, 1.25rem);
  line-height: 1.6;
  color: var(--sepia);
}

/* Cartouche : la reponse courte, celle qu'on peut citer telle quelle */
.cartouche {
  background: var(--baryte-2);
  border: 1px solid var(--baryte-3);
  border-left: 4px solid var(--ambre);
  border-radius: var(--rayon);
  padding: var(--r3) var(--r3) var(--r3) var(--r4);
}
.cartouche h2, .cartouche h3, .cartouche p:first-child { margin-top: 0; }
.cartouche__titre {
  display: block;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ambre);
  margin-bottom: var(--r2);
}
.cartouche p { margin-top: var(--r2); }
.cartouche p:first-of-type { margin-top: 0; }
.cartouche--vert { border-left-color: var(--vertdeau); }
.cartouche--vert .cartouche__titre { color: var(--vertdeau); }
.cartouche--avis {
  background: #fdf6ea;
  border-left-color: var(--nuit-3);
}
.cartouche--avis .cartouche__titre { color: var(--nuit-3); }

/* Memo : la liste de points a retenir */
.memo {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--r2);
}
.memo li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .96rem;
}
.memo li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--ambre);
  box-shadow: 0 0 0 3px rgba(184, 72, 26, .13);
}
.memo--vert li::before { background: var(--vertdeau); box-shadow: 0 0 0 3px rgba(42, 97, 87, .13); }
.memo--croix li::before {
  border-radius: 0;
  background: none;
  box-shadow: none;
  top: .38em;
  width: .62rem;
  height: .62rem;
  border-left: 2px solid var(--sepia);
  border-bottom: 2px solid var(--sepia);
  transform: rotate(-45deg);
}

/* --- 13. Tableau comparatif ------------------------------------------- */

.cadre-tableau {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--baryte-3);
  border-radius: var(--rayon);
  /* Ombres de bord : elles apparaissent tant qu'il reste du tableau a faire defiler */
  background:
    linear-gradient(90deg, #fffdf7 34%, rgba(255, 253, 247, 0)) left center / 28px 100% no-repeat local,
    linear-gradient(90deg, rgba(255, 253, 247, 0), #fffdf7 66%) right center / 28px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(21, 23, 30, .16), rgba(21, 23, 30, 0)) left center / 11px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(21, 23, 30, .16), rgba(21, 23, 30, 0)) right center / 11px 100% no-repeat scroll,
    #fffdf7;
}

.comparo {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: .92rem;
}
.comparo caption {
  caption-side: bottom;
  text-align: left;
  padding: var(--r2) var(--r3) var(--r3);
  font-size: .8rem;
  color: var(--sepia);
  line-height: 1.5;
  /* Reste lisible sans avoir a faire defiler le tableau */
  position: sticky;
  left: 0;
  max-width: min(100%, 92vw);
  box-sizing: border-box;
}
.comparo th, .comparo td {
  padding: .82rem var(--r2);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--baryte-3);
}
.comparo thead th {
  background: var(--nuit);
  color: var(--baryte);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
  border-bottom: 0;
  white-space: nowrap;
}
.comparo tbody th {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  white-space: nowrap;
}
.comparo tbody tr:nth-child(even) { background: var(--baryte-2); }
.comparo tbody tr:last-child th, .comparo tbody tr:last-child td { border-bottom: 0; }
.comparo .chiffre { font-family: var(--mono); font-size: .87rem; letter-spacing: -.02em; }
.comparo .bemol { color: var(--sepia); }

/* --- 14. Bande sombre (manifeste, encart fort) ------------------------- */

.bande-sombre {
  background: var(--nuit);
  color: var(--baryte);
  position: relative;
}
.bande-sombre h2 { color: var(--baryte); }
.bande-sombre p { color: rgba(248, 243, 232, .8); }
.bande-sombre .memo li { color: rgba(248, 243, 232, .88); }
.bande-sombre .memo li::before { background: var(--ambre-vif); box-shadow: 0 0 0 3px rgba(224, 138, 60, .16); }
.bande-sombre .memo--croix li::before {
  background: none;
  border-left-color: rgba(248, 243, 232, .5);
  border-bottom-color: rgba(248, 243, 232, .5);
}
.bande-sombre a { color: var(--ambre-vif); }
.bande-sombre a:hover { color: var(--baryte); }

.duo {
  display: grid;
  gap: clamp(var(--r4), 3vw, var(--r5));
  align-items: start;
}
@media (min-width: 58rem) {
  .duo { grid-template-columns: 1fr 1fr; }
  .duo--texte-large { grid-template-columns: 1.25fr .75fr; }
  .duo--image-large { grid-template-columns: .8fr 1.2fr; }
  .duo--colle { align-items: center; }
}

/* --- 15. Fil d'Ariane -------------------------------------------------- */

.fil-ariane {
  font-size: .8rem;
  color: rgba(248, 243, 232, .62);
}
.fil-ariane ol {
  display: flex;
  flex-wrap: wrap;
  gap: .4em .7em;
  list-style: none;
  padding: 0;
}
.fil-ariane li { display: flex; align-items: center; gap: .7em; }
.fil-ariane li + li::before { content: "/"; color: rgba(248, 243, 232, .35); }
.fil-ariane a { color: rgba(248, 243, 232, .82); text-decoration: none; }
.fil-ariane a:hover { color: var(--ambre-vif); }
.fil-ariane [aria-current="page"] { color: rgba(248, 243, 232, .55); }

/* --- 16. Signature et datation ---------------------------------------- */

.signature {
  display: flex;
  align-items: center;
  gap: var(--r2);
  margin-top: var(--r4);
  padding-top: var(--r3);
  border-top: 1px solid rgba(248, 243, 232, .16);
  font-size: .85rem;
  color: rgba(248, 243, 232, .68);
}
.signature__jeton {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-family: var(--serif);
  font-size: .92rem;
  color: var(--nuit);
  background: linear-gradient(140deg, var(--ambre-vif), var(--ambre) 70%);
}
.signature strong { color: var(--baryte); font-weight: 600; display: block; }
.signature time { font-variant-numeric: tabular-nums; }

.signature--claire {
  border-top-color: var(--argent);
  color: var(--sepia);
}
.signature--claire strong { color: var(--nuit); }

/* --- 17. Etagere de liens (a lire ensuite) ----------------------------- */

.etagere {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--argent);
}
.etagere a {
  display: flex;
  align-items: baseline;
  gap: var(--r2);
  padding: var(--r3) 0;
  border-bottom: 1px solid var(--argent);
  text-decoration: none;
  color: var(--nuit);
  transition: padding-left .18s ease, color .18s ease;
}
.etagere a:hover { padding-left: .55rem; color: var(--ambre); }
.etagere__quoi {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--vertdeau);
  flex: none;
  min-width: 6.5rem;
}
.etagere__titre { font-family: var(--serif); font-size: 1.1rem; line-height: 1.3; }
.etagere__note { display: block; font-family: var(--sans); font-size: .85rem; color: var(--sepia); margin-top: .2em; }

@media (max-width: 34rem) {
  .etagere a { flex-direction: column; gap: .35rem; }
  .etagere__quoi { min-width: 0; }
}

/* --- 18. Questions frequentes ----------------------------------------- */

.questions { border-top: 1px solid var(--argent); }
.questions > div {
  padding-block: var(--r3);
  border-bottom: 1px solid var(--argent);
}
.questions h3 { font-size: 1.14rem; }
.questions p { margin-top: var(--r2); color: var(--sepia); max-width: var(--mesure); }

/* --- 19. Colophon (pied de page) -------------------------------------- */

.colophon {
  background: var(--nuit);
  color: rgba(248, 243, 232, .74);
  font-size: .9rem;
  padding-block: var(--r5) var(--r4);
  margin-top: var(--r6);
}
.colophon__grille {
  display: grid;
  gap: var(--r4);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.colophon__grille > div:first-child { grid-column: 1 / -1; max-width: 34rem; }
@media (min-width: 58rem) {
  .colophon__grille { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .colophon__grille > div:first-child { grid-column: auto; }
}
.colophon h2 {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ambre-vif);
  margin-bottom: var(--r2);
}
.colophon p { color: rgba(248, 243, 232, .68); line-height: 1.6; }
.colophon ul { display: grid; gap: .5rem; }
.colophon a { color: rgba(248, 243, 232, .84); text-decoration: none; }
.colophon a:hover { color: var(--ambre-vif); }

.colophon__marque {
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--baryte);
  margin-bottom: var(--r2);
  display: block;
}

.colophon__bas {
  margin-top: var(--r5);
  padding-top: var(--r3);
  border-top: 1px solid rgba(248, 243, 232, .12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--r2) var(--r4);
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(248, 243, 232, .5);
}
.colophon__bas nav { display: flex; flex-wrap: wrap; gap: var(--r2) var(--r3); }

/* --- 20. Utilitaires --------------------------------------------------- */

.discret { color: var(--sepia); }
.chiffre { font-family: var(--mono); font-size: .88em; letter-spacing: -.02em; }
.centre-texte { text-align: center; }
.hors-ecran {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --- 21. Impression --------------------------------------------------- */

@media print {
  .enseigne, .colophon, .rangee-actions, .etagere { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .bandeau { background: #fff; color: #000; }
  .bandeau__chapeau, .fil-ariane, .signature { color: #333; }
  .chassis { box-shadow: none; }
  a { color: #000; }
}
