/* ============================================================
   PS Pattern — Histoire "Quarante-huit ans d'atelier" (Figma 16113:5823)
   Section claire : header centré + grande photo + timeline 3 jalons.
   Cool shape de fond (Figma 16113:5824, opacity bakée 0.05).
   Tokens : tokens.css.
   ============================================================ */

.ps-histoire {
  position: relative;
  background-color: var(--ps-color-white);
  color: var(--ps-color-black);
  padding-block: var(--ps-spacing-120);
  padding-inline: clamp(2rem, 3.6vw, 5rem);
  overflow-x: clip;          /* laisse la cool shape déborder en haut */
  overflow-y: visible;
}

.ps-histoire__coolshape {
  position: absolute;
  top: -180px;               /* montée pour déborder sur le bloc au-dessus (demande Morgan) */
  left: 50%;
  transform: translateX(-50%) scaleX(-1) scaleY(-1);  /* rotation miroir 180° = retournée (demande Morgan) */
  width: 1150px;             /* réduite en taille (demande Morgan, était 1631) */
  max-width: none;
  z-index: 0;
  pointer-events: none;
}
.ps-histoire__coolshape img { display: block; width: 100%; height: auto; }

.ps-histoire__inner {
  position: relative;
  z-index: 1;
  max-width: 1760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ps-spacing-80);
}

.ps-histoire__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ps-spacing-16);
  text-align: center;
}
.ps-histoire__eyebrow {
  margin: 0;
  font-weight: var(--ps-font-weight-bold);
  font-size: var(--ps-font-size-14);
  letter-spacing: var(--ps-letter-spacing-eyebrow);
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.62);
}
.ps-histoire__title {
  margin: 0;
  max-width: 660px;
  font-weight: var(--ps-font-weight-light);
  font-size: clamp(2.5rem, 5vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.05em;
  color: var(--ps-color-black);
}

/* Grande photo */
.ps-histoire__media {
  width: 100%;
  height: 550px;
  border-radius: 32px;
  overflow: hidden;
  background-color: var(--ps-color-black);
}
.ps-histoire__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Timeline */
.ps-histoire__timeline {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: var(--ps-spacing-32);
}
.ps-histoire__row {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.ps-histoire__row-year {
  flex-shrink: 0;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: var(--ps-spacing-8);
}
.ps-histoire__year {
  font-style: italic;                       /* Avenir Light Oblique → NS 300 italic */
  font-weight: var(--ps-font-weight-light);
  font-size: 28px;
  line-height: 1;
  color: var(--ps-color-black);
}
.ps-histoire__year-label {
  font-weight: var(--ps-font-weight-bold);
  font-size: var(--ps-font-size-12);
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.52);
}
.ps-histoire__row-text {
  flex: 1 1 auto;
  margin: 0;
  font-weight: var(--ps-font-weight-regular);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ps-letter-spacing-body);
  color: rgba(0, 0, 0, 0.78);
}
.ps-histoire__row-text strong {
  font-weight: var(--ps-font-weight-bold);
  color: var(--ps-color-black);
}

/* Responsive */
@media (max-width: 768px) {
  .ps-histoire { padding-block: var(--ps-spacing-64); }
  .ps-histoire__media { height: 320px; }
  .ps-histoire__row {
    flex-direction: column;
    gap: var(--ps-spacing-8);
  }
  .ps-histoire__row-year { width: 100%; }
}
