/* ================================================
   a-propos.css — « Notre histoire » (chapitres éditoriaux)
   ------------------------------------------------------------
   Complément à atelier.css (chargée APRÈS ce fichier) :
   on ne redéfinit QUE ce qui est propre à cette page —
   filet du hero, titres de blocs, grande image, valeurs, CTA.

   ⚠️ Ne PAS toucher au `::before` des titres de blocs CMS :
   atelier.css y affiche « Chapitre N » (Chapitre/Chapter/Hoofdstuk).
   ================================================ */

/* ---------- Filet bronze sous le hero ---------- */
.page-hero .container::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  margin: 2.2rem auto 0;
  background: var(--color-bronze);
  opacity: .55;
}

/* ---------- Titres des blocs texte (plus grands) ---------- */
.cms-bloc.cms-texte > .page-content > h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  letter-spacing: .02em;
}

/* Premier bloc : phrase d'ouverture en grand */
.page-section > .cms-texte:first-child .cms-html p:first-child {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 200;
  line-height: 1.55;
  letter-spacing: .01em;
}

/* ---------- Grande image pleine largeur ---------- */
.cms-bloc.cms-image-bloc {
  width: min(100% - 2.5rem, 86rem);
  margin-inline: auto;
}
.cms-bloc.cms-image-bloc .cms-fig { width: 100%; }
.cms-bloc.cms-image-bloc .cms-fig img {
  width: 100%;
  max-height: none;
  height: clamp(260px, 50vw, 620px);
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(63, 51, 42, .12);
}
.cms-bloc.cms-image-bloc .cms-fig figcaption {
  margin-top: 1rem;
  font-size: .74rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

/* ---------- Valeurs : blocs alternés + numéros I–III ---------- */
.page-section { counter-reset: chap; }
.cms-itetx { counter-increment: chap; }
.cms-bloc.cms-itetx {
  width: min(100% - 2.5rem, 72rem);
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
}
.cms-itetx .cms-fig { margin: 0; }
.cms-itetx .cms-fig img {
  width: 100%;
  max-height: none;
  aspect-ratio: 4 / 3;             /* cadre paysage, comme l'accueil — rythme « cinéma » */
  object-fit: cover;
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 50px rgba(63, 51, 42, .1);
}
.cms-itetx .cms-texte { max-width: 34rem; }
.cms-itetx .cms-texte h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: .02em;
}
.cms-itetx .cms-texte h2::before {
  content: counter(chap, upper-roman) ".";
  display: block;
  margin-bottom: .4rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: .12em;
  color: var(--color-bronze);
}

/* ---------- CTA final ---------- */
.apropos-cta {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--color-bg-alt);
  text-align: center;
}
.apropos-cta .container { max-width: 46rem; }
.apropos-cta-eyebrow {
  margin-bottom: .7rem;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 300;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-bronze);
}
.apropos-cta h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 200;
  letter-spacing: .02em;
}
.apropos-cta-text {
  margin: 0 auto 1.8rem;
  max-width: 40rem;
  color: var(--color-text-soft);
  line-height: 1.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cms-bloc.cms-itetx { grid-template-columns: 1fr; gap: 1.4rem; }
  .cms-itetx--droite .cms-fig { order: 0; }
  .cms-itetx .cms-texte { max-width: none; }
}
