/* ========================================================= */
/* CLYCO - DEMANDE RAPIDE                                    */
/* ========================================================= */


/* PAGE */

.quick-page {
  background: #f3f1ed;
}


/* ========================================================= */
/* HERO                                                      */
/* ========================================================= */

.quick-hero {
  padding: 100px 24px 80px;

  background: #f3f1ed;
}

.quick-hero-inner {
  width: min(980px, 100%);

  margin: 0 auto;

  text-align: center;
}

.quick-hero h1 {
  margin-bottom: 30px;

  color: #171717;

  font-size: clamp(50px, 6vw, 82px);

  line-height: 0.98;

  letter-spacing: -4px;
}

.quick-hero h1 span {
  display: block;

  color: #b51d27;
}

.quick-hero > .quick-hero-inner > p:last-child {
  max-width: 680px;

  margin: 0 auto;

  color: #666666;

  font-size: 18px;

  line-height: 1.7;
}


/* ========================================================= */
/* ZONE FORMULAIRE                                           */
/* ========================================================= */

.quick-form-section {
  padding: 0 20px 110px;

  background: #f3f1ed;
}

.quick-form-wrapper {
  width: min(900px, 100%);

  margin: 0 auto;
}


/* INTRO */

.quick-form-intro {
  margin-bottom: 35px;
}

.quick-form-intro h2 {
  margin-bottom: 15px;

  color: #202020;

  font-size: clamp(34px, 4vw, 48px);

  line-height: 1.08;

  letter-spacing: -2px;
}

.quick-form-intro > p:last-child {
  color: #777777;

  font-size: 14px;

  line-height: 1.7;
}


/* CARTE FORMULAIRE */

#quickForm {
  position: relative;

  padding: 55px;

  background: #ffffff;

  border: 1px solid rgba(0, 0, 0, 0.05);

  border-radius: 12px;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.07);
}


/* ========================================================= */
/* SECTIONS                                                  */
/* ========================================================= */

.quick-section {
  padding-bottom: 48px;

  margin-bottom: 45px;

  border-bottom: 1px solid #eeeeeb;
}

.quick-section-title {
  margin-bottom: 30px;

  display: flex;

  align-items: flex-start;

  gap: 18px;
}

.quick-section-title > span {
  width: 40px;
  height: 40px;

  flex: 0 0 40px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(181, 29, 39, 0.08);

  color: #b51d27;

  font-size: 11px;
  font-weight: 800;
}

.quick-section-title h3 {
  margin-bottom: 5px;

  color: #202020;

  font-size: 23px;
}

.quick-section-title p {
  color: #888888;

  font-size: 13px;

  line-height: 1.5;
}


/* ========================================================= */
/* CHAMPS                                                    */
/* ========================================================= */

.quick-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 24px;
}

.quick-field {
  min-width: 0;

  display: flex;

  flex-direction: column;

  gap: 9px;
}

.quick-field-full {
  grid-column: 1 / -1;
}

.quick-field label {
  color: #303030;

  font-size: 13px;
  font-weight: 700;
}

.quick-field input,
.quick-field select,
.quick-field textarea {
  width: 100%;

  min-height: 52px;

  padding: 14px 15px;

  color: #222222;

  background: #ffffff;

  border: 1px solid #d5d5d1;

  border-radius: 6px;

  outline: none;

  font: inherit;

  font-size: 15px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.quick-field textarea {
  min-height: 150px;

  resize: vertical;
}

.quick-field select:disabled {
  color: #999999;

  background: #f3f3f1;

  cursor: not-allowed;
}

.quick-field input:focus,
.quick-field select:focus,
.quick-field textarea:focus {
  border-color: #b51d27;

  box-shadow:
    0 0 0 3px rgba(181, 29, 39, 0.08);
}


/* ========================================================= */
/* CONFIDENTIALITÉ                                           */
/* ========================================================= */

.quick-privacy {
  margin-bottom: 35px;
}

.quick-checkbox {
  display: flex;

  align-items: flex-start;

  gap: 12px;

  cursor: pointer;

  color: #666666;

  font-size: 13px;

  line-height: 1.6;
}

.quick-checkbox input {
  width: 19px;
  height: 19px;

  flex: 0 0 19px;

  margin-top: 2px;

  accent-color: #b51d27;
}

.quick-checkbox a {
  color: #b51d27;

  font-weight: 700;

  text-underline-offset: 3px;
}


/* ========================================================= */
/* MESSAGE                                                   */
/* ========================================================= */

.quick-form-message {
  display: none;

  margin-bottom: 25px;

  padding: 15px 18px;

  border-radius: 5px;

  font-size: 14px;

  line-height: 1.5;
}

.quick-form-message.error {
  display: block;

  color: #8c1820;

  background: rgba(181, 29, 39, 0.08);

  border-left: 3px solid #b51d27;
}


/* ========================================================= */
/* ENVOI                                                     */
/* ========================================================= */

.quick-submit {
  padding-top: 30px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;

  border-top: 1px solid #eeeeeb;
}

.quick-submit > div strong {
  display: block;

  color: #202020;

  font-size: 14px;
}

.quick-submit > div span {
  color: #999999;

  font-size: 11px;
}

.quick-submit-button {
  min-height: 56px;

  padding: 0 28px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 20px;

  border: 0;

  border-radius: 5px;

  background: #b51d27;

  color: #ffffff;

  font: inherit;

  font-size: 14px;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.quick-submit-button:hover {
  transform: translateY(-2px);

  background: #971821;

  box-shadow:
    0 12px 30px rgba(181, 29, 39, 0.22);
}

.quick-submit-button:disabled {
  opacity: 0.6;

  cursor: wait;

  transform: none;
}


/* ========================================================= */
/* ANTI-SPAM                                                 */
/* ========================================================= */

.spam-trap {
  position: absolute !important;

  left: -9999px !important;

  width: 1px !important;
  height: 1px !important;

  overflow: hidden !important;
}


/* ========================================================= */
/* FOOTER                                                    */
/* ========================================================= */

.quick-footer {
  padding: 28px 20px;

  display: flex;

  justify-content: center;
  align-items: center;

  flex-wrap: wrap;

  gap: 12px 25px;

  background: #191919;

  color: #777777;

  font-size: 12px;
}

.quick-footer span {
  color: #ffffff;

  font-weight: 700;
}

.quick-footer a {
  color: #aaaaaa;

  text-decoration: none;
}

.quick-footer a:hover {
  color: #ffffff;
}


/* ========================================================= */
/* MOBILE                                                    */
/* ========================================================= */

@media (max-width: 700px) {

  .quick-hero {
    padding:
      70px 16px
      60px;
  }

  .quick-hero h1 {
    font-size: 47px;

    letter-spacing: -2.5px;
  }

  .quick-hero > .quick-hero-inner > p:last-child {
    font-size: 16px;
  }


  .quick-form-section {
    padding:
      0 12px
      75px;
  }


  #quickForm {
    padding: 30px 20px;

    border-radius: 8px;
  }


  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quick-field-full {
    grid-column: auto;
  }


  .quick-field input,
  .quick-field select,
  .quick-field textarea {
    font-size: 16px;
  }


  .quick-submit {
    flex-direction: column;

    align-items: stretch;
  }

  .quick-submit > div {
    display: none;
  }

  .quick-submit-button {
    width: 100%;
  }


  .quick-footer {
    flex-direction: column;

    gap: 8px;
  }

}