/* ==================================================
   INCLUDES/APPEL-CONTACT.CSS
   ================================================== */
.contact-callout {
  position: relative;
  overflow: hidden;
}

.contact-callout > img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: 50% 46.89%;
  filter: brightness(50%);
}

.contact-callout .frame {
  position: absolute;
  inset: 24px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 22px 30px;
  border: 12px solid #f1c50e;
}

.contact-callout-title {
  margin: 0;
  color: #ffffff;
  font-size: 2.25rem;
  font-weight: normal;
  line-height: 1.15;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.contact-callout .primary-button {
  min-width: 150px;
  font-weight: bold;
}

/* ==================================================
   MEDIA
   ================================================== */

/* Tablette paysage / petit ordinateur */
@media (max-width: 991px) {
  .contact-callout .frame {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    text-align: center;
  }

  .contact-callout-title {
    width: 100%;
    margin-bottom: 18px;
    font-size: 1.875rem;
    text-align: center;
  }

  .contact-callout .primary-button {
    justify-self: center;
    width: auto;
    min-width: 170px;
    max-width: calc(100% - 24px);
    padding: 12px 24px;
    margin-top: 12px;
    margin-right: auto;
    margin-left: auto;
  }
}

/* Tablette */
@media (max-width: 767px) {
}



/* ==================================================
   MEDIA
   ================================================== */
@media (max-width: 575px) {
  .contact-callout {
    min-height: 300px;
  }

  .contact-callout .frame {
    inset: 18px;
    padding: 18px;
    border-width: 8px;
  }

  .contact-callout-title {
    font-size: 1.45rem;
  }

  .contact-callout .primary-button {
    margin-right: auto;
    margin-left: auto;
  }
}

/* ==================================================
   MOBILE - AJUSTEMENTS APPEL CONTACT
   ================================================== */
@media (max-width: 575px) {
  .contact-callout {
    min-height: 340px;
  }

  .contact-callout > img {
    height: 340px;
  }

  .contact-callout .frame {
    inset: 16px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    justify-content: center;
    text-align: center;
    padding: 22px;
  }

  .contact-callout-title {
    width: 100%;
    margin-bottom: 18px;
    text-align: center;
  }

  .contact-callout .primary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center !important;
    width: 170px;
    max-width: 100%;
    min-width: 0;
    padding: 12px 22px;
    text-align: center;
    margin-top: 10px;
    margin-right: auto !important;
    margin-left: auto !important;
    transform: none;
  }
}

/* ==================================================
   MOBILE - DERNIERE CORRECTION APPEL CONTACT
   ================================================== */
@media (max-width: 991px) {
  .contact-callout {
    min-height: 340px;
  }

  .contact-callout > img {
    height: 340px;
  }

  .contact-callout .frame {
    inset: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 22px;
    text-align: center;
    box-sizing: border-box;
  }

  .contact-callout-title {
    width: 100%;
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.12;
    text-align: center;
  }

  .contact-callout .primary-button {
    display: inline-flex;
    width: auto;
    min-width: 170px;
    max-width: calc(100% - 24px);
    min-height: 45px;
    margin: 0 auto;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

/* ==================================================
   MOBILE - CORRECTION FINALE APPEL CONTACT
   ================================================== */
@media (max-width: 767px) {
  .contact-callout {
    min-height: 370px;
  }

  .contact-callout > img {
    height: 370px;
  }

  .contact-callout .frame {
    inset: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 16px;
    border-width: 8px;
    text-align: center;
    box-sizing: border-box;
  }

  .contact-callout-title {
    width: 100%;
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.16;
    text-align: center;
  }

  .contact-callout .primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(230px, 72%);
    min-width: 0;
    min-height: 54px;
    margin: 0 auto;
    padding: 0 14px;
    text-align: center;
  }
}
