/* ========================================================= */
/* CLYCO - FORMULAIRE PARTICULIERS                            */
/* ========================================================= */

.private-form-page {
  background: #f3f1ed;
}


/* HERO */

.private-form-hero {
  padding: 100px 24px;

  background: #f3f1ed;
}

.private-form-hero-inner {
  width: min(1180px, 100%);

  margin: 0 auto;

  display: grid;

  grid-template-columns: 1.3fr 0.7fr;

  gap: 90px;

  align-items: center;
}

.private-form-hero h1 {
  margin-bottom: 30px;

  color: #171717;

  font-size: clamp(52px, 6vw, 82px);

  line-height: 0.98;

  letter-spacing: -4px;
}

.private-form-hero h1 span {
  display: block;

  color: #b51d27;
}

.private-form-hero-inner > div:first-child > p:last-child {
  max-width: 680px;

  color: #666666;

  font-size: 17px;

  line-height: 1.75;
}

.private-form-hero-note {
  padding-left: 50px;

  border-left: 1px solid #d0cec9;
}

.private-form-hero-note strong {
  display: block;

  margin-bottom: 18px;

  color: #202020;

  font-size: 22px;

  line-height: 1.3;
}

.private-form-hero-note p {
  color: #777777;

  font-size: 14px;

  line-height: 1.7;
}


/* FORMULAIRE */

.private-form-section {
  padding: 100px 20px;

  background: #ffffff;
}

.private-form-wrapper {
  width: min(920px, 100%);

  margin: 0 auto;
}

.private-form-intro {
  margin-bottom: 35px;
}

.private-form-intro h2 {
  margin-bottom: 15px;

  color: #202020;

  font-size: clamp(36px, 4vw, 50px);

  line-height: 1.05;

  letter-spacing: -2px;
}

.private-form-intro > p:last-child {
  color: #777777;

  font-size: 14px;
}


/* CARTE */

#privateForm {
  position: relative;

  padding: 55px;

  background: #ffffff;

  border: 1px solid #e8e8e5;

  border-radius: 12px;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.07);
}


/* BLOCS */

.private-form-block {
  margin-bottom: 48px;

  padding-bottom: 48px;

  border-bottom: 1px solid #eeeeeb;
}

.private-form-block-title {
  margin-bottom: 30px;

  display: flex;

  gap: 18px;

  align-items: flex-start;
}

.private-form-block-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;
}

.private-form-block-title h3 {
  margin-bottom: 5px;

  color: #202020;

  font-size: 23px;
}

.private-form-block-title p {
  color: #888888;

  font-size: 13px;
}


/* GRID */

.private-form-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 24px;
}

.private-field {
  min-width: 0;

  display: flex;

  flex-direction: column;

  gap: 9px;
}

.private-field-full {
  grid-column: 1 / -1;
}

.private-field label {
  color: #303030;

  font-size: 13px;

  font-weight: 700;
}

.private-field input,
.private-field select,
.private-field textarea {
  width: 100%;

  min-height: 52px;

  padding: 14px 15px;

  border: 1px solid #d5d5d1;

  border-radius: 6px;

  background: #ffffff;

  color: #222222;

  outline: none;

  font: inherit;

  font-size: 15px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.private-field textarea {
  min-height: 130px;

  resize: vertical;
}

.private-field input:focus,
.private-field select:focus,
.private-field textarea:focus {
  border-color: #b51d27;

  box-shadow:
    0 0 0 3px
    rgba(181, 29, 39, 0.08);
}


/* CONDITIONNELS */

.private-conditional {
  display: none;

  margin:
    -15px 0
    48px;

  padding: 35px;

  background: #f6f5f2;

  border-left: 3px solid #b51d27;

  border-radius:
    0 8px 8px 0;
}

.private-conditional.visible {
  display: block;
}

.private-conditional-heading {
  margin-bottom: 28px;
}

.private-conditional-heading span {
  display: block;

  margin-bottom: 9px;

  color: #b51d27;

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 1.5px;
}

.private-conditional-heading h3 {
  color: #202020;

  font-size: 20px;

  line-height: 1.3;
}


/* CONFIDENTIALITÉ */

.private-form-privacy {
  margin-bottom: 32px;
}

.private-form-privacy label {
  display: flex;

  align-items: flex-start;

  gap: 12px;

  color: #666666;

  font-size: 13px;

  line-height: 1.6;
}

.private-form-privacy input {
  width: 19px;
  height: 19px;

  flex: 0 0 19px;

  margin-top: 2px;

  accent-color: #b51d27;
}

.private-form-privacy a {
  color: #b51d27;

  font-weight: 700;

  text-underline-offset: 3px;
}


/* MESSAGE */

.private-form-message {
  display: none;

  margin-bottom: 25px;

  padding: 15px 18px;

  font-size: 14px;

  line-height: 1.5;
}

.private-form-message.error {
  display: block;

  color: #8c1820;

  background:
    rgba(181, 29, 39, 0.08);

  border-left: 3px solid #b51d27;
}


/* ENVOI */

.private-form-submit {
  padding-top: 28px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

  border-top: 1px solid #eeeeeb;
}

.private-form-submit p {
  color: #888888;

  font-size: 12px;
}

.private-form-submit p strong {
  color: #444444;
}

.private-form-submit button {
  min-height: 56px;

  padding: 0 28px;

  display: inline-flex;

  align-items: 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;
}

.private-form-submit button:hover {
  transform: translateY(-2px);

  background: #971821;
}

.private-form-submit button:disabled {
  opacity: 0.6;

  cursor: wait;

  transform: none;
}


/* FOOTER */

.private-form-footer {
  padding: 28px 20px;

  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 12px 25px;

  background: #191919;

  color: #777777;

  font-size: 12px;
}

.private-form-footer > span {
  color: #ffffff;

  font-weight: 700;
}

.private-form-footer a {
  color: #aaaaaa;

  text-decoration: none;
}

.private-form-footer a:hover {
  color: #ffffff;
}


/* TABLETTE */

@media (max-width: 800px) {

  .private-form-hero-inner {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .private-form-hero-note {
    padding-left: 0;

    padding-top: 30px;

    border-left: 0;

    border-top: 1px solid #d0cec9;
  }

}


/* MOBILE */

@media (max-width: 700px) {

  .private-form-hero {
    padding: 70px 16px;
  }

  .private-form-hero h1 {
    font-size: 48px;

    letter-spacing: -2.5px;
  }


  .private-form-section {
    padding: 70px 12px;
  }

  #privateForm {
    padding: 30px 20px;

    border-radius: 8px;
  }


  .private-form-grid {
    grid-template-columns: 1fr;
  }

  .private-field-full {
    grid-column: auto;
  }


  .private-field input,
  .private-field select,
  .private-field textarea {
    font-size: 16px;
  }


  .private-conditional {
    padding: 25px 18px;
  }


  .private-form-submit {
    flex-direction: column;

    align-items: stretch;
  }

  .private-form-submit p {
    text-align: center;
  }

  .private-form-submit button {
    width: 100%;

    justify-content: center;
  }


  .private-form-footer {
    flex-direction: column;

    align-items: center;

    gap: 8px;
  }

}