/* ==========================================================
   NUMBER AFTER TWELVE
   CONTACT
   ========================================================== */


/* ==========================================================
   HEADER
   IDENTIQUE À LA PAGE ROSTER
   ========================================================== */

.inner-header {
  width: 100%;
  min-height: 115px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 6px clamp(20px, 4vw, 60px);

  border-bottom: 1px solid #222;

  background: #000;
}


/* ==========================================================
   LOGO HEADER
   ========================================================== */

.header-logo {
  display: block;

  width: 104px;
  height: 104px;

  flex-shrink: 0;

  text-decoration: none;
}

.header-logo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}


/* ==========================================================
   NAVIGATION
   ========================================================== */

.inner-nav {
  display: flex;
  align-items: center;

  gap: clamp(25px, 4vw, 60px);
}

.inner-nav a {
  position: relative;

  padding: 10px 0;

  color: #fff;

  text-decoration: none;

  font-size: 14px;
  font-weight: 700;

  letter-spacing: 3px;

  transition: color 0.2s ease;
}

.inner-nav a:hover,
.inner-nav a:focus-visible,
.inner-nav a.active {
  color: #e00000;
}

.inner-nav a.active::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 2px;

  height: 1px;

  background: #e00000;
}


/* ==========================================================
   PAGE CONTACT
   ========================================================== */

.contact-page {
  width: min(1180px, calc(100% - 64px));

  margin: 0 auto;

  padding: 55px 0 90px;
}


/* ==========================================================
   STRUCTURE
   ========================================================== */

.contact-layout {
  display: grid;

  grid-template-columns:
    minmax(280px, 0.8fr)
    minmax(480px, 1.2fr);

  gap: clamp(55px, 8vw, 120px);

  align-items: start;
}


/* ==========================================================
   COLONNE GAUCHE
   ========================================================== */

.contact-left {
  min-width: 0;
}


/* ==========================================================
   TITRE
   ========================================================== */

.contact-heading {
  margin-bottom: 55px;
}

.contact-heading h1 {
  margin: 0;

  color: #ffffff;

  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(52px, 6vw, 78px);
  font-weight: 400;

  line-height: 0.95;

  letter-spacing: 3px;
}

.contact-title-line {
  width: 72px;
  height: 3px;

  margin: 14px 0 0;

  background: #e00000;
}

.contact-heading p {
  margin: 16px 0 0;

  color: #a7a7a7;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;

  letter-spacing: 2px;
}


/* ==========================================================
   TEXTE GAUCHE
   ========================================================== */

.contact-intro {
  padding-top: 14px;
}

.contact-kicker {
  margin: 0 0 8px;

  color: #e00000;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;

  letter-spacing: 1.5px;
}

.contact-intro h2 {
  margin: 0 0 24px;

  color: #ffffff;

  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 400;

  line-height: 0.95;

  letter-spacing: 1px;
}

.contact-description {
  max-width: 430px;

  margin: 0;

  color: #b8b8b8;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;

  line-height: 1.7;
}


/* ==========================================================
   NUMBER AFTER TWELVE DANS LE TEXTE
   ========================================================== */

.contact-brand {
  display: inline-block;

  color: #e00000;

  font-weight: 700;

  white-space: nowrap;
}


/* ==========================================================
   CONTACT DIRECT
   ========================================================== */

.contact-direct {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  margin-top: 45px;
  padding-left: 18px;

  border-left: 3px solid #e00000;

  font-family: Arial, Helvetica, sans-serif;
}


/* WHATSAPP */

.contact-whatsapp {
  display: inline-block;

  color: #ffffff;

  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  font-weight: 400;

  line-height: 1;

  letter-spacing: 1.2px;

  text-decoration: none;

  transition: color 0.2s ease;
}

.contact-whatsapp:hover,
.contact-whatsapp:focus-visible {
  color: #e00000;

  outline: none;
}


/* ==========================================================
   RÉSEAUX CONTACT
   ========================================================== */

.contact-socials {
  display: flex;
  align-items: center;

  gap: 12px;

  margin-top: 15px;
}

.contact-social {
  width: 28px;
  height: 28px;

  box-sizing: border-box;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  color: #ffffff;

  text-decoration: none;

  line-height: 1;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.contact-social-icon {
  display: block;

  width: 24px;
  height: 24px;

  flex-shrink: 0;

  color: currentColor;

  pointer-events: none;
}

.contact-social:hover,
.contact-social:focus-visible {
  color: #e00000;

  transform: translateY(-2px);

  outline: none;
}


/* ==========================================================
   FORMULAIRE
   ========================================================== */

.contact-form-wrapper {
  min-width: 0;

  padding: clamp(25px, 4vw, 45px);

  border: 1px solid #292929;

  background: #101010;
}

.contact-form {
  display: flex;
  flex-direction: column;

  gap: 23px;
}

.form-group {
  display: flex;
  flex-direction: column;

  gap: 8px;
}

.form-group label {
  color: #d4d4d4;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;

  letter-spacing: 1.5px;
}


/* ==========================================================
   HONEYPOT ANTI-SPAM
   ========================================================== */

.contact-honeypot {
  position: absolute !important;

  left: -9999px !important;
  top: -9999px !important;

  width: 1px !important;
  height: 1px !important;

  overflow: hidden !important;

  opacity: 0 !important;

  pointer-events: none !important;
}


/* ==========================================================
   CHAMPS
   ========================================================== */

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;

  box-sizing: border-box;

  border: 1px solid #383838;
  border-radius: 0;

  outline: none;

  background: #090909;

  color: #ffffff;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.contact-form input,
.contact-form select {
  height: 48px;

  padding: 0 14px;
}

.contact-form textarea {
  min-height: 150px;

  padding: 14px;

  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #e00000;

  background: #0d0d0d;
}


/* ==========================================================
   TELEPHONE
   ========================================================== */

.phone-fields {
  display: grid;

  grid-template-columns: 110px 1fr;

  gap: 10px;
}

.phone-fields select {
  cursor: pointer;
}


/* ==========================================================
   VILLE / PAYS
   ========================================================== */

.form-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 18px;
}


/* ==========================================================
   BOUTON
   ========================================================== */

.contact-submit {
  width: 100%;

  margin-top: 5px;
  padding: 16px 30px;

  border: 2px solid #e00000;

  background: #e00000;

  color: #ffffff;

  cursor: pointer;

  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;

  letter-spacing: 2px;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.contact-submit:hover {
  background: transparent;

  color: #ffffff;
}

.contact-submit:disabled {
  cursor: wait;

  opacity: 0.55;
}


/* ==========================================================
   MESSAGE D'ERREUR
   ========================================================== */

.contact-error {
  box-sizing: border-box;

  width: 100%;

  padding: 14px 16px;

  border-left: 3px solid #e00000;

  background: #190b0c;

  color: #ffffff;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;

  line-height: 1.5;
}

.contact-error[hidden] {
  display: none;
}


/* ==========================================================
   CONFIRMATION APRÈS ENVOI
   ========================================================== */

.contact-success {
  min-height: 500px;

  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  padding: clamp(15px, 2vw, 30px);
}

.contact-success-icon {
  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 25px;

  border: 2px solid #e00000;

  color: #e00000;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.contact-success-kicker {
  margin: 0 0 8px;

  color: #e00000;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;

  letter-spacing: 1.8px;
}

.contact-success h2 {
  margin: 0;

  color: #ffffff;

  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;

  line-height: 1;

  letter-spacing: 1.5px;
}

.contact-success-line {
  width: 70px;
  height: 3px;

  margin: 20px 0 26px;

  background: #e00000;
}

.contact-success-text {
  max-width: 500px;

  margin: 0 0 12px;

  color: #b8b8b8;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;

  line-height: 1.65;
}

.contact-success-final {
  margin: 22px 0 0;

  color: #ffffff;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;

  letter-spacing: 1.3px;
}


/* ==========================================================
   TABLETTE
   521 px À 1024 px
   HEADER IDENTIQUE À ROSTER
   ========================================================== */

@media (min-width: 521px) and (max-width: 1024px) {

  .inner-header {
    min-height: auto;

    flex-direction: column;
    justify-content: center;

    gap: 6px;

    padding: 10px 20px 15px;
  }

  .header-logo {
    width: 90px;
    height: 90px;
  }

  .inner-nav {
    width: 100%;

    justify-content: center;

    gap: clamp(35px, 7vw, 65px);
  }

  .inner-nav a {
    font-size: 13px;

    letter-spacing: 2.5px;
  }

  .contact-page {
    width: min(100% - 48px, 900px);

    padding-top: 45px;
  }

  .contact-layout {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .contact-heading {
    margin-bottom: 45px;
  }

  .contact-description {
    max-width: 600px;
  }

  .contact-direct {
    margin-top: 30px;
  }

  .contact-success {
    min-height: 400px;
  }

}


/* ==========================================================
   TÉLÉPHONE
   520 px ET MOINS
   HEADER IDENTIQUE À ROSTER
   ========================================================== */

@media (max-width: 520px) {

  .inner-header {
    min-height: auto;

    flex-direction: column;
    justify-content: center;

    gap: 6px;

    padding:
      8px
      15px
      14px;
  }

  .header-logo {
    width: 86px;
    height: 86px;
  }

  .inner-nav {
    width: 100%;

    justify-content: center;

    gap: clamp(18px, 7vw, 32px);
  }

  .inner-nav a {
    font-size: 12px;

    letter-spacing: 2px;
  }

  .contact-page {
    width: calc(100% - 30px);

    padding: 38px 0 60px;
  }

  .contact-heading {
    margin-bottom: 38px;
  }

  .contact-heading h1 {
    font-size: 54px;
  }

  .contact-title-line {
    width: 58px;
  }

  .contact-heading p {
    font-size: 10px;

    letter-spacing: 1.4px;
  }

  .contact-layout {
    grid-template-columns: 1fr;

    gap: 38px;
  }

  .contact-intro h2 {
    font-size: 48px;
  }

  .contact-brand {
    white-space: nowrap;
  }

  .contact-whatsapp {
    font-size: 22px;
  }

  .contact-socials {
    gap: 13px;
  }

  .contact-social {
    width: 30px;
    height: 30px;
  }

  .contact-social-icon {
    width: 25px;
    height: 25px;
  }

  .contact-form-wrapper {
    padding: 22px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .phone-fields {
    grid-template-columns: 100px 1fr;
  }

  .contact-success {
    min-height: 350px;

    padding: 10px 4px;
  }

  .contact-success-icon {
    width: 46px;
    height: 46px;

    margin-bottom: 22px;

    font-size: 24px;
  }

  .contact-success h2 {
    font-size: 46px;
  }

}


/* ==========================================================
   PETITS TÉLÉPHONES
   380 px ET MOINS
   ========================================================== */

@media (max-width: 380px) {

  .inner-nav {
    gap: 15px;
  }

  .inner-nav a {
    font-size: 11px;

    letter-spacing: 1.5px;
  }

  .contact-brand {
    font-size: 13px;
  }

}