/* ==========================================================================
   Contact (template-parts/contact.php)
   Bloc infos repris du bloc_contact des pages études (.p-etude_interne)
   ========================================================================== */

.p-contact .l-contact {
  margin-top: 60px;
  margin-bottom: 100px;
}

/* Colonne gauche : bloc bleu */
.p-contact .bloc_contact {
  position: relative;
  height: 100%;
  padding: 64px 56px 200px;
  background: var(--Blue, #1B4379);
  overflow: hidden;
}

.p-contact .bloc_contact:after {
  content: "";
  position: absolute;
  right: 30px;
  bottom: 0;
  width: 360px;
  max-width: calc(100% - 60px);
  height: 180px;
  background-image: url("../images/bg_ajup.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom right;
  pointer-events: none;
}

.p-contact .bloc_contact h3 {
  color: white;
  font-size: 27px;
  font-weight: 900;
  text-transform: uppercase;
  padding-bottom: 30px;
  margin: 0;
}

.p-contact .l-contact_content {
  position: relative;
  z-index: 1;
}

.p-contact .l-contact_content .contact-infos {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.p-contact .l-contact_content .contact-infos:last-child {
  margin-bottom: 0;
}

.p-contact .l-contact_content .contact-picto {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  margin-right: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.p-contact .l-contact_content .contact-texte,
.p-contact .l-contact_content .contact-texte p,
.p-contact .l-contact_content .contact-texte li {
  color: white;
}

.p-contact .l-contact_content .contact-texte p {
  margin-bottom: 0;
}

.p-contact .l-contact_content .contact-texte ul {
  margin: 5px 0 0;
  padding-left: 18px;
}

.p-contact .l-contact_content .contact-texte li {
  margin-bottom: 5px;
}

.p-contact .l-contact_content .contact-label {
  display: block;
  font-weight: 700;
  margin-bottom: 5px;
}

.p-contact .l-contact_content .contact-numero {
  color: white;
  font-size: 23px;
  font-weight: 700;
  text-decoration: none;
}

.p-contact .l-contact_content .contact-numero:hover {
  color: #48a8bc;
}

/* Colonne droite : formulaire */
.p-contact .l-formulaire {
  padding-left: 30px;
}

.p-contact .l-formulaire h2 {
  color: #1b4379;
  font-family: 'azo-sans-web', sans-serif;
  font-weight: 300;
  font-size: 26px;
  margin: 0 0 20px;
}

@media only screen and (max-width: 991px) {
  .p-contact .l-contact {
    margin-top: 40px;
    margin-bottom: 60px;
  }

  .p-contact .bloc_contact {
    height: auto;
    padding: 40px 30px 90px;
    margin-bottom: 40px;
  }

  .p-contact .bloc_contact:after {
    right: 20px;
    width: 160px;
    height: 80px;
  }

  .p-contact .l-formulaire {
    padding-left: 0;
  }
}
