/* =====================================================================
   about-new.css — page À propos

   Chargé après style.css, index-new.css et assets-new.css (jetons
   --nx-*, .nx-stats, .nx-interlude, .nxa-next). Préfixe .nxab-, scopé
   body.about-new.
   ===================================================================== */

/* =====================================================================
   EN-TÊTE
   ===================================================================== */

.nxab-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(140px, 15vw, 200px) 0 clamp(60px, 8vw, 110px);
  background: var(--nx-ink-950);
}
.nxab-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: saturate(.75) brightness(.55);
  transform: scale(1.06);
  animation: nxab-drift 22s ease-in-out infinite alternate;
}
@keyframes nxab-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}
.nxab-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 10, 12, .92) 0%, rgba(11, 10, 12, .55) 60%, rgba(11, 10, 12, .3) 100%),
    linear-gradient(0deg, var(--nx-ink-900) 0%, transparent 40%);
}

.nxab-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
}

.nxab-title {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.8rem, 7.6vw, 6.6rem);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--nx-white);
}
.nxab-hand {
  margin-top: 18px;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  max-width: 28ch;
}

.nxab-sign {
  margin: clamp(30px, 4vw, 44px) 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--nx-line-2);
  max-width: 420px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--nx-white);
}
.nxab-sign > span:first-child { color: var(--nx-orange-soft); }
.nxab-sign__role {
  display: block;
  margin-top: 6px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nx-mute-soft);
}

.nxab-portrait {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--nx-r-lg);
  overflow: hidden;
  background: var(--nx-ink-800);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
  transform: rotate(1.5deg);
}
.nxab-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(250, 245, 240, .14);
  border-radius: inherit;
  pointer-events: none;
}
.nxab-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   CHAPITRES
   ===================================================================== */

.nxab-chapter {
  background: var(--nx-ink-900);
  padding: var(--nx-space-section) 0;
}
.nxab-chapter--alt {
  background: linear-gradient(180deg, var(--nx-paper) 0%, var(--nx-cream) 100%);
  color: var(--nx-ink-900);
}

.nxab-chapter__grid {
  display: grid;
  grid-template-columns: minmax(80px, 180px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: start;
}

.nxab-chapter__num {
  position: sticky;
  top: 90px;
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 7rem);
  font-weight: 900;
  line-height: .85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--nx-orange);
}

.nxab-h2 {
  margin: 0 0 clamp(22px, 3vw, 34px);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--nx-white);
}
.nxab-chapter--alt .nxab-h2 { color: var(--nx-ink-900); }

.nxab-lede {
  margin: 0 0 24px;
  max-width: 34ch;
  font-size: clamp(1.25rem, 2.3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--nx-white);
}
.nxab-lede--small { max-width: 46ch; font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.nxab-lede b { color: var(--nx-orange-soft); font-weight: 800; }

.nxab-text {
  margin: 0 0 1.2em;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(250, 245, 240, .72);
}
.nxab-text b { color: var(--nx-white); font-weight: 700; }
.nxab-chapter--alt .nxab-text { color: #423B38; max-width: none; }
.nxab-chapter--alt .nxab-text b { color: var(--nx-ink-900); }

.nxab-cols {
  column-count: 2;
  column-gap: clamp(28px, 4vw, 56px);
}
.nxab-cols .nxab-text { break-inside: avoid; }

/* --- Croquis --- */

.nxab-sketches {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(40px, 5vw, 64px);
}
.nxab-sketch {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--nx-r-lg);
  background: #E9DED5;
  box-shadow: 0 24px 60px rgba(60, 35, 15, .16);
  cursor: zoom-in;
}
.nxab-sketch img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--nx-ease);
}
.nxab-sketch:hover img { transform: scale(1.05); }
body.about-new .nxab-sketch::before { border-radius: var(--nx-r-lg); }

/* =====================================================================
   FRISE
   ===================================================================== */

.nxab-timeline {
  background: var(--nx-ink-950);
  border-top: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
  padding: clamp(44px, 6vw, 72px) 0;
}
.nxab-tl {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* le fil qui relie les points */
.nxab-tl::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(1.9rem + 21px);
  height: 1px;
  background: linear-gradient(90deg, var(--nx-orange), rgba(234, 136, 69, .15));
}
.nxab-tl li { position: relative; display: flex; flex-direction: column; gap: 14px; }
.nxab-tl__year {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--nx-white);
  font-variant-numeric: tabular-nums;
}
.nxab-tl__dot {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--nx-ink-950);
  border: 2px solid var(--nx-orange);
}
.nxab-tl li:last-child .nxab-tl__dot { background: var(--nx-orange); box-shadow: 0 0 0 5px rgba(234, 136, 69, .2); }
.nxab-tl__txt {
  max-width: 22ch;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--nx-mute);
}

/* =====================================================================
   CHIFFRES — on réutilise .nx-stats ; fond adapté
   ===================================================================== */

.nxab-stats { background: var(--nx-ink-900); }
.nxab-stats .nx-stats__grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

/* =====================================================================
   PACKS (chapitre 3)
   ===================================================================== */

.nxab-packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(28px, 4vw, 40px) 0 22px;
}
.nxab-pack {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--nx-r-md);
  text-decoration: none;
  color: var(--nx-white);
  isolation: isolate;
}
.nxab-pack__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: saturate(.8) brightness(.7);
  transition: transform 1.1s var(--nx-ease), filter .6s;
}
.nxab-pack::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: linear-gradient(0deg, rgba(11, 10, 12, .85), transparent 60%);
}
.nxab-pack:hover .nxab-pack__img { transform: scale(1.08); filter: saturate(1) brightness(.85); }
.nxab-pack__title {
  padding: 14px 16px;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* =====================================================================
   CONCLUSION — sur la bande plein cadre de l'accueil
   ===================================================================== */

.nxab-closing { min-height: clamp(480px, 80vh, 820px); }
.nxab-closing .nx-interlude__media img { filter: saturate(.7) brightness(.4); }
.nxab-closing__text {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  box-sizing: border-box;
  padding: 0 clamp(20px, 6vw, 90px);
  text-align: center;
}
.nxab-closing__text .nx-label { justify-content: center; }
.nxab-closing__quote {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2.3rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--nx-white);
  text-wrap: balance;
}
.nxab-closing__quote b { color: var(--nx-orange-soft); font-weight: 900; }
.nxab-closing__text .nx-hand { margin-top: 22px; font-size: clamp(1.4rem, 2.6vw, 2rem); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

@media (max-width: 960px) {
  .nxab-hero__grid { grid-template-columns: 1fr; }
  .nxab-portrait { max-width: 360px; transform: rotate(1.5deg); }
  .nxab-cols { column-count: 1; }
  .nxab-tl { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .nxab-tl::before { display: none; }
}

@media (max-width: 700px) {
  .nxab-chapter__grid { grid-template-columns: 1fr; gap: 6px; }
  .nxab-chapter__num { position: static; font-size: 3.4rem; }
  .nxab-sketches { grid-template-columns: 1fr 1fr; }
  .nxab-sketch:first-child { grid-column: 1 / -1; }
  .nxab-packs { grid-template-columns: 1fr; }
  .nxab-pack { aspect-ratio: 16 / 7; }
}

@media (prefers-reduced-motion: reduce) {
  .nxab-hero__bg { animation: none; }
}
