/* ============================================================
   COLLECTION PACTE 241 — feuille de style
   Palette propre à cette page : --nuit / --vert (drapeau gabonais,
   ex-violet) / --olive / --or, Playfair Display + Nunito.
   Reste du réseau lepacte241.ca / editions-florissa-courtney.ca :
   toujours --nuit / --violet / --olive / --or (inchangé, non affecté
   par cette page).
   ============================================================ */

:root {
  --nuit: #1a1025;
  --nuit-soft: #241833;
  --violet: #0b7a4d; /* anciennement violet #7b3fa0 — désormais vert du drapeau gabonais (réf. officielle #009E60, assombri pour la lisibilité du texte) */
  --violet-soft: #10995f;
  --olive: #c5c16a;
  --or: #d4af37;
  --papier: #f7f4ee;
  --papier-carte: #fffdf8;
  --encre: #2a2130;
  --encre-douce: #5b5266;
  --ligne: rgba(42, 33, 48, 0.12);
  --ligne-nuit: rgba(212, 175, 55, 0.22);

  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Nunito", "Segoe UI", sans-serif;

  --marge: clamp(1.25rem, 4vw, 4rem);
  --colonne-max: 74ch;
  --rayon: 2px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--or);
  color: var(--nuit);
  padding: 0.75rem 1.25rem;
  z-index: 999;
  font-weight: 700;
}
.skip-link:focus {
  left: var(--marge);
  top: var(--marge);
}

:focus-visible {
  outline: 3px solid var(--or);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em 0;
  color: var(--nuit);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em 0; max-width: var(--colonne-max); }

.section-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  color: var(--violet);
  font-size: 1.05rem;
  margin: 0 0 0.4em 0;
}

.section-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--encre-douce);
  max-width: var(--colonne-max);
}

.photo-note {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--encre-douce);
  border-left: 2px solid var(--ligne-nuit);
  padding-left: 0.9rem;
}

section { padding: clamp(3rem, 8vw, 6rem) var(--marge); }

.section-dark {
  background: var(--nuit);
  color: #eee6f4;
}
.section-dark h2, .section-dark h1 { color: #fff; }
.section-dark .section-lede { color: #cfc6b8; }
.section-dark p { color: #ddd6cc; }

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* ---------- Navigation ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 16, 37, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ligne-nuit);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.9rem var(--marge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  font-family: var(--serif);
  color: #fff;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-brand strong { color: var(--or); }
.nav-logo {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ligne-nuit);
  border-radius: var(--rayon);
  padding: 0.5rem 0.7rem;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #ddd6cc;
  text-decoration: none;
  font-size: 0.93rem;
  padding: 0.3rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: #fff; border-color: var(--or); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 0.75rem;
  }
  .nav-links.open { display: flex; }
  .nav-inner { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--nuit);
  color: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 560px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-inner {
  max-width: 640px;
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.6rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  background:
    radial-gradient(ellipse at 30% -10%, rgba(11, 122, 77, 0.4), transparent 55%),
    linear-gradient(180deg, var(--nuit) 0%, #150c1e 100%);
}

.hero-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    100deg,
    transparent 0 90px,
    rgba(212, 175, 55, 0.05) 90px 91px
  );
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: var(--violet);
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
  margin-bottom: 1.6rem;
  position: relative;
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.3em;
  position: relative;
}

.hero .hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--olive);
  margin-bottom: 1.4rem;
  position: relative;
}

.hero .hero-phrase {
  font-size: 1.15rem;
  color: #f1ecdc;
  max-width: 640px;
  border-left: 3px solid var(--or);
  padding-left: 1.1rem;
  margin-bottom: 2.2rem;
  position: relative;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  position: relative;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { min-height: 260px; }
}

/* ---------- Pyramide de la participation citoyenne ---------- */
.pyramid-wrap {
  display: flex;
  justify-content: center;
  margin: 2.2rem 0 1.4rem 0;
}

.pyramid-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,0.18));
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: var(--rayon);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--or);
  color: var(--nuit);
}
.btn-primary:hover { background: #e6c250; }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline:hover { border-color: var(--or); color: var(--or); }

.btn-secondary-fill {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
}
.btn-secondary-fill:hover { background: var(--violet-soft); border-color: var(--violet-soft); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--violet);
  color: var(--violet);
}
.btn-outline-dark:hover { background: var(--violet); color: #fff; }

.btn-small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* ---------- Identity blocks ---------- */

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

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

.identity-card {
  background: var(--papier-carte);
  border: 1px solid var(--ligne);
  border-top: 4px solid var(--violet);
  padding: 1.9rem 1.9rem 2.1rem;
  border-radius: var(--rayon);
}

.identity-card { color: var(--encre); }
.identity-card p { color: var(--encre-douce); }
.identity-card.card-canada { border-top-color: var(--or); }
.identity-card-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 0.9rem;
}

.identity-card h3 {
  margin-bottom: 0.2em;
}
.identity-card .identity-kicker {
  font-size: 0.85rem;
  color: var(--encre-douce);
  margin-bottom: 1rem;
}
.identity-card dl {
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.9rem;
  font-size: 0.92rem;
}
.identity-card dt { color: var(--encre-douce); font-weight: 700; }
.identity-card dd { margin: 0; color: var(--encre); }
.identity-card a.site-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--violet);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.identity-card.card-canada a.site-link { color: #96721f; }

.identity-note {
  margin-top: 2rem;
  padding: 1.2rem 1.4rem;
  background: #e6f4ec;
  border-left: 4px solid var(--violet);
  font-size: 0.95rem;
}

.diplomatic-photo {
  width: 100%;
  max-width: 720px;
  display: block;
  margin-top: 1.8rem;
  border-radius: var(--rayon);
  border: 1px solid var(--ligne-nuit);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.photo-caption {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--olive);
  max-width: 720px;
}

.event-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}
.event-photo {
  margin: 0;
  background: var(--papier-carte);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  overflow: hidden;
}
.event-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  display: block;
}
.event-photo--contain img {
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--nuit-soft);
  max-height: 520px;
}
.event-photo figcaption {
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  color: var(--encre-douce);
}

/* ---------- Distinction schema ---------- */

.schema {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 520px;
  margin: 2.5rem auto 0;
}

.schema-box {
  width: 100%;
  text-align: center;
  padding: 1.2rem 1.4rem;
  border: 1.5px solid var(--ligne-nuit);
  border-radius: var(--rayon);
  background: var(--nuit-soft);
}
.schema-box strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #fff;
}
.schema-box span {
  display: block;
  font-size: 0.85rem;
  color: var(--olive);
  margin-top: 0.2rem;
}

.schema-arrow {
  color: var(--or);
  font-size: 1.4rem;
  line-height: 1;
  margin: 0.4rem 0;
}

/* ---------- Process flow (Mémoire citoyenne / 100 expériences) ---------- */

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 2rem 0;
}
.flow-step {
  padding: 0.6rem 1rem;
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  background: var(--papier-carte);
  color: var(--nuit);
  font-size: 0.9rem;
  font-weight: 700;
}
.flow-sep { color: var(--violet); font-size: 1.1rem; }

.stat-cascade {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 2rem 0;
  max-width: 420px;
}
.stat-cascade div {
  padding: 0.85rem 1.1rem;
  border-left: 3px solid var(--or);
  background: #e6f4ec;
  color: var(--nuit);
  font-weight: 700;
  font-size: 0.98rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1.4rem 0;
}
.tag-list li {
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  padding: 0.35rem 0.8rem;
  font-size: 0.88rem;
  color: var(--encre-douce);
}
.section-dark .tag-list li {
  border-color: var(--ligne-nuit);
  color: #ddd6cc;
}

.transparency-note {
  margin-top: 2rem;
  padding: 1.3rem 1.5rem;
  border: 1px dashed var(--ligne-nuit);
  background: rgba(212, 175, 55, 0.07);
  font-size: 0.92rem;
  color: #f1ecdc;
}

.pedago-card {
  margin-top: 2.2rem;
  padding: 1.4rem 1.7rem;
  border-radius: var(--rayon);
}

.pedago-card--tome1 {
  background: linear-gradient(135deg, rgba(0, 158, 96, 0.28) 0%, rgba(0, 158, 96, 0.08) 100%);
  border-left: 4px solid #009E60;
}

.pedago-card--tome35 {
  background: linear-gradient(135deg, rgba(252, 209, 22, 0.24) 0%, rgba(252, 209, 22, 0.07) 100%);
  border-left: 4px solid #FCD116;
}

.pedago-card--tome24 {
  background: linear-gradient(135deg, rgba(58, 117, 196, 0.30) 0%, rgba(58, 117, 196, 0.10) 100%);
  border-left: 4px solid #3A75C4;
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.8rem;
  margin-top: 2.2rem;
}

.book-card {
  background: var(--papier-carte);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.book-cover-btn {
  border: none;
  padding: 0;
  background: var(--nuit-soft);
  cursor: zoom-in;
  display: block;
  width: 100%;
  position: relative;
}
.book-cover-btn img {
  width: 100%;
  aspect-ratio: 5 / 8;
  object-fit: cover;
}

.book-cover-placeholder {
  aspect-ratio: 5 / 8;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(212,175,55,0.18), transparent 55%),
    var(--nuit-soft);
  color: #ddd6cc;
}
.book-cover-placeholder .vol {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--or);
  line-height: 1;
}
.book-cover-placeholder .vol-title {
  font-family: var(--serif);
  font-style: italic;
  margin-top: 0.6rem;
  font-size: 1rem;
  color: #fff;
}
.book-cover-placeholder .vol-hint {
  margin-top: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--olive);
  border: 1px dashed var(--ligne-nuit);
  padding: 0.3rem 0.5rem;
  border-radius: var(--rayon);
}

.book-zoom-hint {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(26,16,37,0.75);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--rayon);
}

.book-body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.book-vol-label {
  font-size: 0.78rem;
  color: var(--violet);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.book-body h3 { font-size: 1.08rem; margin-bottom: 0.15em; }
.book-author { font-size: 0.85rem; color: var(--encre-douce); margin-bottom: 0.6rem; }
.book-theme { font-size: 0.85rem; margin-bottom: 0.9rem; color: var(--encre-douce); flex: 1; }
.book-price { font-size: 0.85rem; font-weight: 700; color: var(--nuit); margin-bottom: 0.7rem; }
.book-body .btn { align-self: flex-start; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 15, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }

.lightbox-figure {
  max-width: min(90vw, 640px);
  max-height: 85vh;
  text-align: center;
  position: relative;
}

.lightbox-image-wrap {
  overflow: hidden;
  touch-action: pan-x pan-y pinch-zoom;
  background: var(--nuit-soft);
  border-radius: var(--rayon);
}

.lightbox-image-wrap img,
.lightbox-image-wrap .book-cover-placeholder {
  transition: transform 0.25s ease;
  cursor: zoom-in;
  max-height: 78vh;
  width: auto;
  margin: 0 auto;
}

.lightbox-caption {
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  margin-top: 1rem;
  font-size: 1.05rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close { top: -18px; right: -18px; }
.lightbox-prev { left: -60px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -60px; top: 50%; transform: translateY(-50%); }

@media (max-width: 720px) {
  .lightbox-prev { left: 0; }
  .lightbox-next { right: 0; }
  .lightbox-close { top: 0; right: 0; }
}

.lightbox-back {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--olive);
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
}

/* ---------- Book detail modal ---------- */

.detail-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 15, 0.7);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 400;
  padding: 4vh 1.2rem;
  overflow-y: auto;
}
.detail-modal.open { display: flex; }

.detail-panel {
  background: var(--papier-carte);
  max-width: 780px;
  width: 100%;
  border-radius: var(--rayon);
  padding: 2.2rem;
  position: relative;
  overflow-wrap: anywhere;
}
.detail-panel .detail-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: 1px solid var(--ligne);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.1rem;
}
.detail-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  margin-top: 0.5rem;
}
@media (max-width: 620px) {
  .detail-grid { grid-template-columns: 1fr; }
}
.detail-grid .book-cover-placeholder,
.detail-grid img { border-radius: var(--rayon); }

.detail-meta {
  margin-top: 1rem;
  border-top: 1px solid var(--ligne);
  padding-top: 1rem;
  font-size: 0.9rem;
}
.detail-meta dt { color: var(--encre-douce); font-weight: 700; margin-top: 0.5rem; }
.detail-meta dd { margin: 0 0 0.3rem; }

.detail-photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--ligne);
}

.detail-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.biblio-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--encre-douce);
  border-left: 3px solid var(--olive);
  padding-left: 0.8rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ---------- Diplomatic contacts / links ---------- */

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}
.link-card {
  flex: 1 1 220px;
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  padding: 1.3rem 1.4rem;
  background: var(--papier-carte);
  text-decoration: none;
  color: var(--encre);
  transition: border-color 0.2s, transform 0.15s;
}
.link-card:hover { border-color: var(--violet); transform: translateY(-2px); }
.link-card strong { display: block; font-family: var(--serif); color: var(--nuit); margin-bottom: 0.2rem; }
.link-card span { font-size: 0.82rem; color: var(--violet); word-break: break-all; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--nuit);
  color: #cfc4dd;
  padding: 0;
}
.footer-banner {
  width: 100%;
  height: auto; /* bannière affichée en entier, sans recadrage */
  display: block;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--ligne-nuit);
}
.footer-banner-bottom {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 2.5rem;
  border-top: 1px solid var(--ligne-nuit);
}
.footer-content {
  padding: 0 var(--marge);
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ligne-nuit);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-block h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.footer-block p { font-size: 0.88rem; color: #cfc4dd; }
.footer-logo {
  width: 44px;
  height: 44px;
  margin-bottom: 0.6rem;
}

.footer-direction {
  max-width: 1180px;
  margin: 1.6rem auto 0;
  font-size: 0.92rem;
  color: var(--olive);
}

.footer-warning {
  max-width: 1180px;
  margin: 1.6rem auto 0;
  font-size: 0.8rem;
  color: #a698b8;
  border-top: 1px solid var(--ligne-nuit);
  padding-top: 1.4rem;
}

.footer-meta {
  max-width: 1180px;
  margin: 1.2rem auto 0;
  font-size: 0.78rem;
  color: #7c6f8f;
}

.footer-counter {
  max-width: 1180px;
  margin: 0.7rem auto 0;
}
.footer-counter img { opacity: 0.9; }

/* ---------- Utility ---------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.center-cta {
  text-align: left;
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

noscript .js-only { display: none; }

/* Direction de la collection : portrait */
.direction-card { display:flex; gap:2rem; align-items:center; flex-wrap:wrap; }
.direction-photo { width:200px; max-width:100%; height:auto; border-radius:12px; border:2px solid var(--gold, #d4af37); box-shadow:0 6px 18px rgba(0,0,0,.25); }
.direction-text { flex:1 1 280px; }

/* Parcours du directeur de collection */
.direction-text { flex:1 1 320px; }
.direction-parcours { list-style:none; margin:1.2rem 0 0; padding:0; display:grid; gap:.6rem; }
.direction-parcours a { display:grid; grid-template-columns:auto 1fr auto; column-gap:.9rem; align-items:baseline; padding:.75rem 1rem; border:1px solid var(--ligne); border-left:3px solid var(--violet); border-radius:8px; background:var(--papier-carte); color:var(--encre); text-decoration:none; transition:transform .15s ease, box-shadow .15s ease; }
.direction-parcours a:hover, .direction-parcours a:focus-visible { transform:translateY(-1px); box-shadow:0 4px 14px rgba(0,0,0,.08); }
.direction-parcours .dp-an { grid-row:1 / span 3; font-family:var(--serif); font-size:1.35rem; color:var(--violet); font-weight:700; }
.direction-parcours .dp-cat { grid-column:2; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--or); font-weight:700; }
.direction-parcours strong { grid-column:2; font-size:.95rem; line-height:1.35; }
.direction-parcours .dp-org { grid-column:2; font-size:.82rem; color:var(--encre-douce); }
.direction-parcours .dp-go { grid-column:3; grid-row:1 / span 3; align-self:center; color:var(--violet); font-weight:700; }
.direction-parcours .dp-discret a { border-left-color:var(--olive); padding:.55rem 1rem; }
.direction-parcours .dp-discret a { grid-template-columns:1fr auto; }
.direction-parcours .dp-discret .dp-cat, .direction-parcours .dp-discret strong { grid-column:1; }
.direction-parcours .dp-discret .dp-go { grid-column:2; grid-row:1 / span 2; }
.direction-parcours .dp-discret strong { font-size:.88rem; }
.direction-parcours li { display:flex; flex-direction:column; }
.direction-parcours li:has(.dp-doc) > a:first-child { border-bottom-left-radius:0; border-bottom-right-radius:0; }
.direction-parcours .dp-doc { display:block; padding:.4rem 1rem .45rem calc(1rem + 3.3rem); font-size:.8rem; font-weight:700; color:var(--violet); text-decoration:none; border:1px solid var(--ligne); border-top:0; border-left:3px solid var(--violet); border-radius:0 0 8px 8px; background:rgba(11,122,77,.05); }
.direction-parcours .dp-doc:hover, .direction-parcours .dp-doc:focus-visible { text-decoration:underline; }
.direction-figure { margin:0; width:200px; max-width:100%; text-align:center; }
.direction-figure .direction-photo { width:100%; display:block; }
.direction-figure figcaption { margin-top:.55rem; font-size:.74rem; line-height:1.45; color:var(--encre-douce); font-style:italic; }
.direction-figure figcaption a { color:var(--violet); font-weight:700; font-style:normal; }
.doc-cta { margin:1rem 0 1.4rem; }
.doc-cta a { display:inline-flex; align-items:center; gap:.8rem; padding:.7rem 1rem; border:1px solid var(--ligne); border-left:3px solid var(--violet); border-radius:8px; background:var(--papier-carte); color:var(--encre); text-decoration:none; max-width:100%; }
.doc-cta a:hover, .doc-cta a:focus-visible { box-shadow:0 4px 14px rgba(0,0,0,.08); }
.doc-cta strong { display:block; font-size:.92rem; color:var(--violet); }
.doc-cta small { display:block; font-size:.78rem; color:var(--encre-douce); }
.doc-cta-ic { font-size:1.3rem; }
.doc-cta-go { color:var(--violet); font-weight:700; }
