/* Performance opérationnelle — minimal scoped adjustments over the Cadenassage/Analyse page system. */

.hero.performance-hero{
  isolation:isolate;
  background:#282828;
}

.performance-hero__media,
.performance-hero__image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.performance-hero__media{
  z-index:-1;
}

.performance-hero__image{
  display:block;
  object-fit:cover;
  object-position:center 48%;
}

.performance-intro .btn{
  margin-top:10px;
}

.performance-secondary-link{
  display:block;
  width:max-content;
  max-width:100%;
  margin-top:16px;
  color:var(--bleu);
  font-weight:700;
  line-height:1.4;
  text-underline-offset:4px;
}

.performance-statement{
  margin:26px 0 !important;
  padding:16px 18px;
  border-left:4px solid var(--orange);
  background:#ffffff;
  color:var(--bleu);
  font-size:20px !important;
  font-weight:700 !important;
}

.performance-method__content{
  max-width:900px;
}

.performance-final-cta{
  border-top:1px solid #d7d7d7;
  background:#f0f0f0;
  color:#000000;
}

body.performance-page-view main #performance-final-cta .btn{
  border-color:var(--cta-grey) !important;
  background:var(--cta-grey) !important;
  color:var(--cta-grey-text) !important;
}

body.performance-page-view main #performance-final-cta .btn:hover,
body.performance-page-view main #performance-final-cta .btn:focus{
  border-color:var(--orange) !important;
  background:var(--orange) !important;
  color:#ffffff !important;
}

.performance-final-cta .wrap{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  column-gap:48px;
  align-items:end;
  padding-right:var(--pad);
  padding-bottom:0;
}

.performance-final-cta .wrap h2,
.performance-final-cta .wrap p{
  grid-column:1;
}

.performance-final-cta .wrap .btn{
  position:static;
  grid-column:2;
  grid-row:1 / 3;
  align-self:end;
  white-space:nowrap;
}

.performance-contact{
  scroll-margin-top:var(--header-height);
}

.performance-sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0, 0, 0, 0);
  white-space:nowrap;
  border:0;
}

@media(max-width:900px){
  .performance-hero__image{
    object-position:72% center;
  }

  .performance-final-cta .wrap{
    grid-template-columns:1fr;
    row-gap:0;
    text-align:center;
  }

  .performance-final-cta .wrap h2,
  .performance-final-cta .wrap p,
  .performance-final-cta .wrap .btn{
    grid-column:1;
    grid-row:auto;
  }

  .performance-final-cta .wrap .btn{
    justify-self:center;
    margin-top:16px;
    white-space:normal;
  }
}

@media(max-width:425px){
  body.performance-page-view footer .footer-legal{
    width:100%;
    flex-wrap:wrap;
  }

  .performance-disclosures summary{
    padding-right:34px;
  }

  .performance-disclosures .cadenassage-disclosure__body{
    padding-right:0;
  }
}

/* Keep the white submit button readable at its existing 16px size. */
body.performance-page-view .performance-contact-form button.opsst-recaptcha.btn:not(:hover):not(:focus) {
  color: #b84210 !important;
}
