.masthead {
  position: relative;
  width: 100%;
  min-height: 35rem;
  padding: 15rem 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 75%, #000 100%), url("../img/background-top-e481BH2.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.masthead h1 {
  font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 2.5rem;
  line-height: 2.5rem;
  letter-spacing: 0.8rem;
  color: #a9a9a9;
}
.masthead .masthead__lead {
  max-width: 20rem;
  font-size: 1rem;
}
@media (min-width: 768px) {
  .masthead h1 { font-size: 4rem; line-height: 4rem; }
}
@media (min-width: 992px) {
  .masthead { height: 100vh; padding: 320px 0; }
  .masthead h1 { font-size: 5.5rem; line-height: 5.5rem; }
  .masthead .masthead__lead { max-width: 49rem; font-size: 1.25rem; }
}
@media (max-width: 576px) {
  .masthead { padding-top: 12rem; padding-bottom: 10rem; }
  .masthead h1 { font-size: 1.4rem; line-height: 2rem; letter-spacing: 0.1rem; word-break: break-word; padding-bottom: 2rem; }
  .masthead .masthead__lead { padding-top: 20rem; }
}

/* The inner pages' header, as the standalone site's .masthead-about. */
.masthead--inner { height: 80vh; }
.masthead--inner .container { padding-top: 25vh; }
@media (max-width: 991px) {
  .masthead--inner { height: 20vh; padding-top: 20rem !important; padding-bottom: 10rem; }
  .masthead--inner .container { padding-top: 5vh; max-width: 670px; }
}
@media (min-width: 577px) and (max-width: 991px) {
  .masthead--inner { padding-top: 23rem !important; }
  .masthead--inner h2 { padding-top: 170px !important; }
}
@media (max-width: 576px) {
  .masthead--inner .container { max-width: 500px; }
  .masthead--inner h1 { padding-bottom: unset; max-width: 670px; }
  .masthead--inner h2 { padding-top: 200px !important; }
}
/* Wider for their long titles, as the standalone site's .masthead-attestation and .masthead-mentions. */
.masthead--attestation-aptitude .container { max-width: 1430px !important; }
.masthead--mentions-legales .container { max-width: 1220px !important; }
@media (min-width: 980px) {
  .masthead--attestation-aptitude .container > div > div { height: unset; }
}

.highlighting-section { padding: 5rem 0; }
.highlighting-section .featured-text { padding: 2rem; }
.highlighting-section .project-text { padding: 3rem; font-size: 90%; line-height: 30px; }
/* Their headings are the h4 of the standalone site. */
.highlighting-section .project-text h2, .highlighting-section .featured-text h2 { font-size: calc(1.275rem + 0.3vw); }
@media (min-width: 1200px) {
  .highlighting-section .project-text h2, .highlighting-section .featured-text h2 { font-size: 1.5rem; }
}
@media (min-width: 992px) {
  .highlighting-section .featured-text { padding: 0 0 0 2rem; border-left: 0.5rem solid #64a19d; }
  .highlighting-section .project-text { padding: 5rem; }
}
.highlighting-section img { width: 100%; height: auto; }
/* The proportions of a block's images (its imageRatio), cropped in their centre; a row's are 500px high on wide screens. */
.block-image img { aspect-ratio: var(--block-image-ratio, auto); object-fit: cover; }

.row-project { min-height: 500px; }
.row-project .col-lg-6 { display: flex; }
.row-project img { width: 100%; height: 500px; object-fit: cover; background: #000; }
.project { width: 100%; min-height: 500px; display: flex; align-items: center; }
@media (max-width: 991px) {
  .row-project, .row-project img, .project { height: auto; min-height: 0; }
  .row-project .block-image img { aspect-ratio: auto; }
}

.text-section { padding: 4rem 0; }
.text-section h2 { margin: 2.5rem 0 1.5rem; }
.text-section h2:first-child { margin-top: 0; }

.contact-module { padding: 4rem 0; }
.contact-module .th-form { display: grid; gap: 1rem; max-width: 40rem; margin: 0 auto; }
.contact-module .th-form__trap { position: absolute; left: -9999px; }
.contact-module .th-form__error { color: #b42318; margin: 0.25rem 0 0; }

.cookie-banner .cookie-banner__choices { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 0.5rem; }
.cookie-banner[hidden], .cookie-banner .cookie-banner__choices[hidden], .cookie-banner button[hidden] { display: none !important; }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; }
