/* ============================================================
   Bandeau de tête des pages intérieures
   Relevé live : eyebrow à y 200, H1 à 263 (90/90), intro à 377.
   Hauteur 639 sur la plupart des pages, 670 quand l'intro tient
   sur quatre lignes : un plancher plus un fond de 170 suffit.
   ============================================================ */
.page-hero {
  position: relative;
  padding-top: 200px;
  padding-bottom: 170px;
  min-height: 639px;
  background: var(--c-navy);
  color: var(--c-white);
  overflow: hidden;
}

.page-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-24);
  text-align: center;
}

.page-hero__h1 {
  width: 100%;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 90px;
  line-height: 90px;
  letter-spacing: var(--ls-h2);
  text-transform: uppercase;
  color: var(--c-white);
}

.page-hero__intro {
  max-width: 530px;
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--c-blue-pale);
}
.page-hero__intro--large { max-width: 656px; }
.page-hero__intro p + p { margin-top: 0; }

/* Décors : mêmes stickers que l'accueil, semés autour du titre */
.page-hero__deco { position: absolute; inset: 0; pointer-events: none; }
.page-hero__st { position: absolute; }
.page-hero__st--1 { left: 29%; top: 47px;  width: 40px; height: 40px; }
.page-hero__st--2 { left: 48%; top: 129px; width: 34px; height: 33px; }
.page-hero__st--3 { left: 62%; top: 45px;  width: 46px; height: 21px; }

/* Arche de transition, identique au hero de l'accueil */
.page-hero__arche {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 13vw;
  min-width: 140px;
  max-width: 250px;
  aspect-ratio: 2 / 1;
  background-color: var(--c-white);
  -webkit-mask: url('../../assets/masks/arche.svg') no-repeat bottom center / 100% 100%;
          mask: url('../../assets/masks/arche.svg') no-repeat bottom center / 100% 100%;
}

/* ------------------------------------------------------------
   Variante des pages projet : titre à gauche, résumé à droite
   ------------------------------------------------------------ */
.page-hero--projet { padding-top: 184px; padding-bottom: 100px; min-height: 563px; }
.page-hero--projet .page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 792px) 424px;
  align-items: start;
  justify-content: space-between;
  gap: var(--sp-24) var(--sp-80);
  text-align: left;
}
.page-hero--projet .page-hero__eyebrow { grid-column: 1 / -1; }
.page-hero--projet .page-hero__h1 { margin-top: 16px; }
.page-hero--projet .page-hero__intro { max-width: none; margin-top: 104px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1199px) {
  .page-hero { padding-top: 160px; padding-bottom: 90px; min-height: 0; }
  .page-hero__h1 { font-size: 68px; line-height: 72px; }
  .page-hero__deco { display: none; }
  .page-hero--projet { padding-top: 160px; }
  .page-hero--projet .page-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .page-hero--projet .page-hero__intro { margin-top: 0; }
}

@media (max-width: 767px) {
  .page-hero { padding-top: 130px; padding-bottom: 56px; }
  .page-hero__h1 { font-size: 40px; line-height: 44px; }
  .page-hero__intro { font-size: 16px; line-height: 27px; }
}
