.page-hero {
  position: relative;
  height: 525px;
  min-height: 525px;
  padding: 132px 0 64px;
  overflow: hidden;
  color: #fff;
}

.page-hero__inner {
  position: relative;
  height: 100%;
}

.page-hero .page-hero__content {
  width: min(560px, 56%);
  padding-top: 0;
  transform: none;
}

.page-hero__eyebrow {
  color: #f6c65b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.page-hero .page-hero__title {
  max-width: 640px;
  margin: 10px 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(46px, 5.5vw, 70px);
  font-weight: 700;
  line-height: 1.02;
}

.page-hero__title .page-hero__accent {
  color: #f6c65b;
}

.page-hero .page-hero__text {
  max-width: 610px;
  margin: 0;
  color: #d8e0e4;
  font-size: 16px;
  line-height: 1.5;
}

.page-hero__extras {
  margin-top: 22px;
}

.page-hero__quote {
  position: absolute;
  top: 102px;
  right: 0;
  width: 255px;
  margin: 0;
  padding: 15px 16px;
  border: 1px solid rgba(246, 198, 91, .5);
  border-left: 3px solid #f6c65b;
  border-radius: 10px;
  background: rgba(4, 20, 32, .86);
  color: #fff;
  font: italic 14px/1.45 "Playfair Display", Georgia, serif;
}

@media (min-width: 601px) and (max-width: 900px) {
  .page-hero {
    height: 476px;
    min-height: 476px;
    padding: 94px 0 64px;
  }

  .page-hero .page-hero__content {
    width: 62%;
  }

  .page-hero .page-hero__title {
    font-size: clamp(46px, 6vw, 58px);
  }

  .page-hero__quote {
    display: block;
    right: 0;
    width: 220px;
  }

  .page-hero__extras {
    flex-wrap: nowrap;
  }

  .page-hero__extras .button {
    flex: none;
    padding-right: 16px;
    padding-left: 16px;
    white-space: nowrap;
  }
}

/* Mobile : même composition que la bannière de l'accueil (texte étroit à gauche,
   visage dégagé à droite, citation posée sur la main, deux actions côte à côte).
   Les actions sont calées en bas pour que la hauteur reste la même sur chaque page. */
@media (max-width: 600px) {
  .page-hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 384px;
    padding: 62px 0 58px;
    background: linear-gradient(90deg, rgba(4, 20, 32, .92), rgba(4, 20, 32, .48) 72%, rgba(4, 20, 32, .22)), url("banner-black.png") 66% -56px / auto 520px no-repeat;
  }

  .page-hero .page-hero__inner {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: auto;
  }

  .page-hero .page-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    max-width: none;
    padding-top: 0;
  }

  .page-hero .page-hero__eyebrow,
  .page-hero .page-hero__title,
  .page-hero .page-hero__text {
    width: calc(100% - 126px);
    max-width: 245px;
  }

  .page-hero .page-hero__eyebrow {
    font-size: 10px;
    letter-spacing: .16em;
  }

  /* Le titre passe au-dessus de la citation : il peut s'élargir pour tenir sur deux lignes. */
  .page-hero .page-hero__title {
    width: calc(100% - 92px);
    max-width: 270px;
    margin: 8px 0 10px;
    font-size: 29px;
    line-height: 1.03;
  }

  .page-hero__title .page-hero__accent {
    display: block;
  }

  .page-hero .page-hero__text {
    margin: 10px 0 18px;
    font-size: 11px;
    line-height: 1.4;
  }

  .page-hero .page-hero__extras {
    max-width: 400px;
    gap: 8px;
    margin-top: auto;
    flex-wrap: nowrap;
  }

  .page-hero .page-hero__extras .button {
    flex: none;
    padding: 9px 12px;
    font-size: 10px;
    white-space: nowrap;
  }

  .page-hero .page-hero__extras .button.secondary {
    display: inline-flex;
  }

  .page-hero .page-hero__quote {
    display: block;
    position: absolute;
    z-index: 1;
    top: auto;
    right: 0;
    bottom: 50px;
    width: 124px;
    margin: 0;
    padding: 9px 8px;
    border-radius: 10px;
    font-size: 9px;
    line-height: 1.35;
  }

  .page-hero .page-hero__quote b {
    display: block;
    font-size: 22px;
    line-height: .7;
  }

  .page-hero .page-hero__quote small {
    display: none;
  }
}
