.contact-page {
  margin-top: 120px;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 100px;
  padding: 20px 80px;
  align-items: flex-start;
}

.contact-left {
  max-width: 600px;
}

.contact-left h1 {
  font-family: "DM Sans";
  font-variation-settings: "opsz" 30;
  font-size: 40px;
  line-height: 36px;
  margin-bottom: -15px;
  font-weight: 250;
}

.contact-left .subtitle {
  margin-top: 32px;
  font-family: "DM Sans";
  font-variation-settings: "opsz" 30;
  font-size: 18px;
  line-height: 24px;
  color: rgb(160, 160, 160);
  margin-bottom: 40px;
  font-weight: 350;
}

.contact-left .description {
  font-size: 16px;
  color: rgb(160, 160, 160);
  margin-bottom: 32px;
  font-weight: 300;
}

.contact-illustration {
  max-width: 450px;
  width: 100%;
  padding-top: 25px;
  height: auto;
  display: block;
  margin-inline: auto;
  pointer-events: none;
}

.contact-right {
  flex: 1;
  min-width: 370px;
  max-width: 600px;
  align-items: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.two-columns {
  flex-direction: row;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

.form-field label,
.group-label {
  font-size: 10px;
  margin-bottom: 8px;
  text-align: right;
  color: rgb(160, 160, 160);
}

input,
textarea {
  font-family: inherit;
  width: 100%;
  border: 1px solid rgb(160, 160, 160);
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  resize: vertical;
}

.max-400 {
  max-width: 400px;
}

.toggle-group {
  justify-content: right;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toggle-btn {
  font-family: inherit;
  font-weight: 300;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s ease;
}

.toggle-btn.active {
  background: #000;
  color: #fff;
  transition: 0.2s ease;
}

.submit-row {
  margin-top: 4px;
}

.honeypot {
  display: none;
}


/* Calendrier (le input) */


.date-input-wrapper {
  position: relative;
  width: 100%;
}

.date-input-wrapper input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px; /* Espace pour icon */
  cursor: pointer;
  height: 42.5px;
}

.date-input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

.date-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.date-icon img {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* Version mobile */
@media (max-width: 990px) {
  .contact-container {
    flex-direction: column;
    padding: 0px 40px;
    gap: 0px;
  }

  .contact-left {
    margin-inline: auto;
    text-align: center;
  }

  .contact-illustration {
    max-width: 325px;
    margin-inline: auto;
    padding-top: 0px;
    padding-bottom: 8px;
  }

  .two-columns {
    flex-direction: column;
  }

  .contact-right {
    margin-inline: auto;
    width: 100%;
    max-width: 450px;
    min-width: 300px;
  }

  .max-400 {
    max-width: 100%;
  }

  .contact-left .subtitle {
    font-size: 16px;
    line-height: 23px;
  }

  .form-field {
    align-items: stretch;
  }
}
