/* Contact : prolongement visuel de la nouvelle page d'accueil. */
body.contact-redesign {
  --contact-ink: var(--home-ink, #262826);
  --contact-muted: var(--home-muted, #70736b);
  --contact-accent: var(--home-accent, #d72e43);
  --contact-line: var(--home-line, #e8e5dd);
  --contact-bg: var(--home-background, #f7f6f2);
}

body.contact-redesign .contact-main {
  width: 100%;
  max-width: 1304px;
  margin: 0 auto;
  padding: 68px 32px 82px;
}

body.contact-redesign .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 70px;
}

body.contact-redesign .contact-intro {
  position: sticky;
  top: 28px;
  min-width: 0;
  padding: 20px 0;
}

body.contact-redesign .contact-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--contact-accent);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.contact-redesign .contact-eyebrow > span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
}

body.contact-redesign .contact-intro h1 {
  max-width: 560px;
  margin: 0 0 22px;
  color: var(--contact-ink);
  font-size: clamp(42px, 4.5vw, 62px);
  line-height: 1.05;
  letter-spacing: -.05em;
  font-weight: 750;
}

body.contact-redesign .contact-lead {
  max-width: 480px;
  margin: 0;
  color: var(--contact-muted);
  font-size: 16px;
  line-height: 1.8;
}

body.contact-redesign .contact-support-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  max-width: 470px;
  margin-top: 34px;
  padding: 20px;
  border: 1px solid #e5e0d5;
  border-radius: 17px;
  background: #eeebe2;
}

body.contact-redesign .contact-support-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #fff;
  color: var(--contact-accent);
}

body.contact-redesign .contact-support-icon svg {
  width: 25px;
  height: 25px;
}

body.contact-redesign .contact-support-card strong {
  display: block;
  margin: 2px 0 6px;
  color: var(--contact-ink);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

body.contact-redesign .contact-support-card p {
  margin: 0;
  color: var(--contact-muted);
  font-size: 12px;
  line-height: 1.65;
}

body.contact-redesign .contact-form-card {
  min-width: 0;
  padding: 35px;
  border: 1px solid var(--contact-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px #4639210a;
}

body.contact-redesign .contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 16px;
}

body.contact-redesign .contact-field {
  min-width: 0;
}

body.contact-redesign .contact-field-wide {
  grid-column: 1 / -1;
}

body.contact-redesign .contact-field-country {
  grid-column: span 1;
}

body.contact-redesign .contact-field label {
  display: block;
  margin: 0 0 8px;
  color: #575c52;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}

body.contact-redesign .contact-field .contact-label-muted {
  color: transparent;
  user-select: none;
}

body.contact-redesign .contact-form-card .form-control,
body.contact-redesign .contact-form-card .form-select {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #dfddd5;
  border-radius: 11px;
  background-color: #fbfaf7;
  color: var(--contact-ink);
  box-shadow: none;
  font-size: 14px;
  line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

body.contact-redesign .contact-form-card textarea.form-control {
  min-height: 162px;
  resize: vertical;
  line-height: 1.65;
}

body.contact-redesign .contact-form-card .form-control::placeholder {
  color: #95978f;
  opacity: 1;
}

body.contact-redesign .contact-form-card .form-control:focus,
body.contact-redesign .contact-form-card .form-select:focus {
  border-color: #dca2aa;
  background: #fff;
  box-shadow: 0 0 0 3px #d72e4310;
  outline: none;
}

body.contact-redesign .contact-reason {
  padding-top: 2px;
}

body.contact-redesign .contact-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

body.contact-redesign .contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 19px;
  border: 0;
  border-radius: 11px;
  background: var(--contact-accent);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}

body.contact-redesign .contact-submit svg {
  width: 20px;
  height: 20px;
}

body.contact-redesign .contact-submit:hover {
  background: #be293b;
  transform: translateY(-1px);
}

body.contact-redesign .contact-submit:focus-visible,
body.contact-redesign .contact-form-card .form-control:focus-visible,
body.contact-redesign .contact-form-card .form-select:focus-visible {
  outline: 3px solid #d72e4333;
  outline-offset: 2px;
}

@media (max-width: 950px) {
  body.contact-redesign .contact-main {
    padding-top: 48px;
  }

  body.contact-redesign .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  body.contact-redesign .contact-intro {
    position: static;
    padding: 0;
  }

  body.contact-redesign .contact-lead,
  body.contact-redesign .contact-support-card {
    max-width: 650px;
  }
}

@media (max-width: 720px) {
  body.contact-redesign .contact-main {
    padding: 36px 20px 48px;
  }

  body.contact-redesign .contact-layout {
    gap: 26px;
  }

  body.contact-redesign .contact-eyebrow {
    margin-bottom: 13px;
    font-size: 10px;
  }

  body.contact-redesign .contact-intro h1 {
    margin-bottom: 15px;
    font-size: clamp(35px, 10vw, 47px);
    line-height: 1.08;
  }

  body.contact-redesign .contact-lead {
    font-size: 14px;
    line-height: 1.7;
  }

  body.contact-redesign .contact-support-card {
    margin-top: 23px;
    padding: 16px;
    border-radius: 14px;
  }

  body.contact-redesign .contact-support-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 11px;
  }

  body.contact-redesign .contact-form-card {
    padding: 21px;
    border-radius: 18px;
  }

  body.contact-redesign .contact-fields {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  body.contact-redesign .contact-field-wide,
  body.contact-redesign .contact-field-country {
    grid-column: auto;
  }

  body.contact-redesign .contact-field .contact-label-muted {
    display: none;
  }

  body.contact-redesign .contact-form-card .form-control,
  body.contact-redesign .contact-form-card .form-select {
    min-height: 50px;
    font-size: 16px;
  }

  body.contact-redesign .contact-actions {
    margin-top: 20px;
  }

  body.contact-redesign .contact-submit {
    width: 100%;
    min-height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.contact-redesign .contact-submit,
  body.contact-redesign .contact-form-card .form-control,
  body.contact-redesign .contact-form-card .form-select {
    transition: none;
  }
}
