/**
 * @file
 * Modules styles
 *
 * Modules are reusables CSS objects (components).
 * They can be utilized
 */


*,
*:before,
*:after {
  box-sizing: border-box;
}

 /**
 * HERO
 */

.field--name-field-component {
  position: relative;
}
.hero-home-page {
  padding-top: 4.5rem;
}
.hero-home-page video {
  width: 100%;
  height: auto;
}
.hero-layout .banner__content .field--name-field-text-banner {
  margin: 3rem 0;
}
@media all and (min-width: 400px) {
  .hero-home-page {
    padding-top: 5.5rem;
  }
}
@media all and (min-width: 500px) {
  .hero-home-page {
    padding-top: 7rem;
  }
}
@media all and (min-width: 640px) {
  .hero-home-page {
    padding-top: 9rem;
  }
}
@media all and (min-width: 800px) {
  .hero-home-page {
    padding-top: 10.5rem;
  }
}
@media all and (min-width: 1000px) {
  .hero-home-page {
    padding-top: 7rem;
  }
}
@media (min-width: 1300px) and (max-width: 1800px) {
  .hero-home-page {
    padding-top: 6.5rem;
  }
}

/**
 * BANNER
 */

.banner__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.banner__image .field--name-field-background-image {
  position: relative;
}
.banner__image picture::before {
  position: absolute;
  display: block;
  content: '';
  background-color: rgba(10, 24, 77, 0.5);
  width: 100%;
  height: 100%;
}
.banner__image img {
  height: 711px;
  object-fit: cover;
}
.field--name-field-title-banner {
  text-align: center;
}
.field--name-field-title-banner > h3 {
  font-size: 1.5rem;
  color: #ffffff;
}
.field--name-field-text-banner {
  text-align: center;
  color: #ffffff;
  font-size: 18px;
  margin: 2rem 0;
}
.banner__content {
  position: absolute;
  width: 100%;
  height: auto;
  text-align: center;
  text-align: -moz-center;
  text-align: -webkit-center;
}
@media all and (min-width: 500px) {
  .field--name-field-text-banner {
    margin: 4rem 0;
  }
}
@media all and (min-width: 750px) {
  .field--name-field-text-banner {
    margin: 5rem 0;
  }
}


/**
 * ASSETS
 */

 .paragraph--type--card-assets {
   display: flex;
   align-items: center;
   border-radius: 7px;
  flex-direction: column;
  -webkit-box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.1);
  box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.1);
  justify-content: center;
  height: 209px;
  width: 100%;
}
.field--name-field-asset {
  gap: 16px;
  display: flex;
  flex-direction: column;
  max-width: 454px;
  width: 100%;
}
.field--name-field-asset:first-child {
  margin-top: 35px;
}
.field--name-field-asset:last-child {
  margin-bottom: 49px;
}
.field--name-field-background-color {
  position: absolute;
  text-indent: -9999px;
}
@media all and (min-width: 1200px) {
  .field--name-field-asset {
    gap: 0;
    max-width: none;
    flex-direction: unset;
    width: 100%;
  }
  .field--name-field-asset > * {
    width: 100%;
  }

}


/**
 * TESTIMONIALS
 */

.testimony__slider {
  list-style: none;
  padding-left: 0;
  margin-bottom: 6rem;
}
.card-testimony > .field--name-field-image {
  display: flex;
  justify-content: center;
}
.card-testimony > .field--type-text-long > p {
  text-align: left;
}


/**
 * TRAINING
 */

.card-list--training {
  margin-top: 30px;
}
.card--training {
  margin-top: 32px;
  margin-bottom: 20px;
  max-width: 326px;
}
.card__image {
  position: relative;
}
.card__content {
  padding: 1.5rem;
}
.card__title h2 {
  font-size: 1.8rem;
  text-align: left;
  margin-bottom: 0;
}
.card__link .field--type-link a:hover {
  border-bottom: solid 2px #FFDC40;
  transition-duration: 0.10s;
}
@media all and (min-width: 800px) {
  .field--name-field-training {
    display: flex;
    justify-content: space-evenly;
  }
  .card-list--training {
    display: block;
  }
}
@media all and (min-width: 1800px) {
  .card--training {
    max-width: 789px;
  }
  .card--training {
    display: flex;
    gap: 25px;
  }
  .card__image img {
    max-width: fit-content;
  }
  .card__image picture::before {
    width: 380px;
    height: 260px;
  }
  .card__title h2 {
    margin: 0;
  }
  .card__link .field--type-link {
    margin-top: 1rem;
  }
}


/**
 * PARTNER
 */

.partners {
  margin: 4rem 0;
}
.partners .field__items{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  gap: 4%;
}
.partners .field__items > * {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  width: 13rem;
  justify-content: center;
}


/**
* INTERVENTION AREA
*/

.intervention-areas-wrapper {
  margin-top: 50px;
}
.intervention-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  -webkit-box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.1);
  box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.1);
  padding: 35px;
  gap: 10px;
  max-width: 326px;
  width: 100%;
}
.intervention-area__wording--title {
  font-size: 1.5rem;
}
.intervention-area__wording--title,
.intervention-area__wording--text p {
  color: #0A184D;
}
@media all and (max-width: 444px) {
  .highlight--right::after {
    transform: translatex(50%);
    right: 50%;
  }
}
@media all and (min-width: 750px) {
  .intervention-area {
    position: relative;
    flex-direction: row;
    gap: 0;
    padding: 0 35px;
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .intervention-area__img {
    position: absolute;
  }
  .intervention-area__wording {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-left: 140px;
  }
  .intervention-area__wording--text {
    padding-left: 72px;
  }
  .intervention-area__wording--title h2 {
    margin-bottom: 0;
  }
  .intervention-area__wording h2,
  .intervention-area__wording p {
    text-align: left;
  }
  .intervention-area__note {
    position: absolute;
    bottom: 20px;
    color: #0A184D;
  }
}
.card-layout .layout--twocol-section {
  gap: 30px;
}
.card-layout .layout__region--first,
.card-layout .layout__region--second {
  gap: 30px;
  display: flex;
  flex-direction: column;
  flex: 1 1 0 !important;
  align-items: center;
}
@media all and (min-width: 1600px) {
  .card-layout .layout--twocol-section {
    gap: 8%;
  }
}


/**
 * Featuring
 */

.feature__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgb(10,24,77);
  margin: 5rem 0;
  gap: 5rem;
}
.feature__content {
  padding: 3rem;
  text-align: center;
}
.feature__title h2 {
  margin-top: 0;
}
.feature__text p {
  color: white;
  font-size: 1.25rem;
}
.feature__image-wrapper {
  position: relative;
}
.feature__image .field--type-image::before,
.feature__image img {
  border-radius: 8px;
}
.feature__image-title {
  position: absolute;
  top: 0;
  transform: translateX(50%);
  right: 50%;
  width: 100%;
  display: flex;
  justify-content: center;
}
.feature__image-title h2 {
  font-size: 1.8rem;
  letter-spacing: 3px;
}
@media all and (min-width: 600px) {
  .feature__wrapper {
    background: linear-gradient(180deg, rgba(10,24,77,1) 75%, rgba(255,255,255,1) 75%);
  }
}
@media all and (min-width: 750px) {
  .feature__wrapper {
    padding: 8rem;
  }
  .feature__content {
    padding: 0;
  }
}
@media all and (min-width: 1300px) {
  .feature__wrapper {
    flex-direction: row;
    align-items: start;
    gap: 5rem;
    background: rgb(10,24,77);
    background: linear-gradient(90deg, rgba(10,24,77,1) 75%, rgba(255,255,255,1) 75%);
  }
  .feature__content {
    width: 57%;
    padding-left: 10%;
  }
  .feature__title h2,
  .feature__text p {
    text-align: left;
  }
}


/**
 * ABOUT US
 */

.about-layout .layout__region--first,
.about-layout .layout__region--second {
  flex: 0 1 100% !important;
}
.vertical-banner {
  display: flex;
  justify-content: center;
}
.vertical-banner__wrapper {
  padding-top: 10rem;
  position: relative;
  background-color: #c9c9ca;
}
.vertical-banner__content {
  position: absolute;
  top: 0;
  text-align: center;
  padding-top: 28%;
  max-width: 960px;
  width: 100%;
}
.vertical-banner__title h1 {
  font-weight: 400;
  margin-bottom: 0;
}
.vertical-banner__text {
  padding: 0 2rem;
}
.vertical-banner__text p {
  color: white;
}
.about {
  display: flex;
  justify-content: center;
}
.about__wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem;
  position: relative;
  max-width: 960px;
}
.about__text p {
  color: #0A184D;
  text-align: left;
}
.about__img-background {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -20%;
}
.about__img-background img {
  opacity: 0.5;
}
.about__bottom-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
@media all and (min-width: 500px) {
  .vertical-banner__content {
    padding-top: 38%;
  }
  .about__bottom-wrapper {
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
  }
}
@media all and (min-width: 750px) {
  .vertical-banner__content {
    padding-top: 14rem;
  }
  .vertical-banner__title h1 {
    font-size: 3rem;
    text-shadow: 0px 3px 6px #00000016;
  }
  .vertical-banner__text p,
  .about__title h2 {
    font-size: 1.8rem;
    text-shadow: 0px 3px 6px #00000016;
  }
}
@media all and (min-width: 900px) {
  .vertical-banner__wrapper {
    padding-top: 15.5rem;
  }
  .vertical-banner__content {
    padding-top: 22rem;
  }
}
@media all and (max-width: 1200px) {
  .about__title h2::after {
    transform: translatex(50%);
    right: 50%;
  }
}
@media all and (min-width: 1200px) {
  .about {
    justify-content: left;
  }
  .about-layout .layout--twocol-section {
    flex-wrap: nowrap;
  }
  .vertical-banner {
    height: 100%;
  }
  .vertical-banner__wrapper {
    background: linear-gradient(180deg, rgba(201,201,202,1) 80%, rgba(255,255,255,1) 80%);
    align-items: center;
    display: flex;
    height: 100%;
  }
  .about__wrapper {
    margin-top: 11rem;
    max-width: none;
    width: 100%;
  }
  .about__title {
    display: flex;
    justify-content: right;
  }
  .about__text p {
    font-size: 1rem;
  }
  .about__title ,
  .about__text{
    max-width: 695px;
   }
  .vertical-banner__content {
    padding-top: calc(15.5rem + 12%);
  }
}
@media all and (min-width: 1700px) {
  .about__wrapper {
    margin-left: 96px;
    padding-right: 0;
  }
}
@media all and (min-width: 1900px) {
  .vertical-banner__wrapper {
    background-color: #c9c9ca;
  }
}


/**
 * LEGAL DOCUMENTS
 */

.legal-documents {
  padding-top: 5rem;
  padding-bottom: 6rem;
}
.legal-documents .field--name-field-text > * {
  text-align: left;
}
.legal-documents table th,
.legal-documents table td {
  padding: 0.2rem 0.5rem;
}
@media all and (min-width: 450px) {
  .legal-documents {
    padding-top: 12rem;
  }
}
@media all and (min-width: 800px) {
  .legal-documents {
    padding-top: 18rem;
  }
}


/* Paragraphe image + texte */

.image-texte__wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.image-texte__image,
.image-texte__content {
  background-color: #F1F1F1;
  padding: 2rem;
  border-radius: 10px;
  justify-content: center;
}

.image-texte__image {
  display: flex;
  flex-direction: column;
}

.image-texte__image .field--type-image {
  margin: 0 auto;
}

.image-texte__content {
  display: flex;
  flex-direction: column;
}

.image-texte__content .field--name-field-text > h2,
.image-texte__content .field--name-field-text > p {
  text-align: left;
}

@media all and (min-width: 800px) {
  .image-texte__wrapper {
    flex-direction: row;
  }
  .image-texte__image,
  .image-texte__content {
    flex: 1;
  }
}
