/* MPB 2.9 – Corrige UNIQUEMENT la page Qui suis-je ?
 * La vue autonome Mon parcours et les pages validées sont inchangées.
 * Le CTA Parcours est secondaire, indépendant des boutons de réservation. */
@media (min-width: 801px) {
  html body.mpb-site main.qui-page:not(.parcours-view) .who-hero {
    align-items: start !important;
    min-height: calc(100vh - 165px) !important;
    padding-top: 23px !important;
    padding-bottom: 21px !important;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }
  /* Haut du portrait aligné sur le début du H1, fin près du dernier paragraphe. */
  html body.mpb-site main.qui-page:not(.parcours-view) .who-portrait {
    width: 100% !important;
    max-width: 510px !important;
    height: clamp(450px, 33vw, 518px) !important;
    margin-top: 35px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  html body.mpb-site main.qui-page:not(.parcours-view) .who-copy .who-signature { margin-bottom: 11px !important; }
  html body.mpb-site main.qui-page:not(.parcours-view) .who-copy h1 { margin-bottom: 19px !important; }
  html body.mpb-site main.qui-page:not(.parcours-view) .who-copy > p:not(.who-signature) {
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
  }
}
/* Un bouton secondaire : fond blanc, contour et texte turquoise. */
html body.mpb-site main.qui-page:not(.parcours-view) .who-copy > a.btn-parcours {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 2px solid #00899e !important;
  color: #007f96 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  min-height: 45px !important;
  min-width: 246px !important;
  max-width: 100% !important;
  padding: 10px 25px !important;
  margin-top: 26px !important;
  margin-bottom: 0 !important;
  font-family: 'DM Sans', Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background-color .18s, color .18s !important;
}
html body.mpb-site main.qui-page:not(.parcours-view) .who-copy > a.btn-parcours:hover,
html body.mpb-site main.qui-page:not(.parcours-view) .who-copy > a.btn-parcours:focus-visible {
  background: #eefafb !important;
  color: #006a7c !important;
}
@media (max-width: 800px) {
  html body.mpb-site main.qui-page:not(.parcours-view) .who-hero {
    min-height: 0 !important;
    padding-bottom: 25px !important;
  }
  html body.mpb-site main.qui-page:not(.parcours-view) .who-portrait {
    max-width: 440px !important;
    height: clamp(300px, 82vw, 450px) !important;
    margin: 0 auto !important;
  }
  html body.mpb-site main.qui-page:not(.parcours-view) .who-copy > a.btn-parcours {
    margin-top: 20px !important;
  }
}
