.revendeur-hero {
  text-align: center;
  padding: 3.5rem 2rem 3rem;
  max-width: 700px;
  margin: 0 auto;
}

.revendeur-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.revendeur-hero h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #c9a96e;
}

.revendeur-hero p {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin-top: 1.5rem;
}

.revendeur-form-container {
  max-width: 750px;
  margin: 0 auto 6rem;
  padding: 0 2rem;
}

.revendeur-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  color: #1a1a1a;
  letter-spacing: 0.05em;
}

.form-group label span {
  color: #c9a96e;
}

.form-group input,
.form-group textarea {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  color: #1a1a1a;
  border: 1px solid #e5e5e5;
  padding: 12px 16px;
  outline: none;
  transition: border 0.3s ease;
  resize: none;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #c9a96e;
}

.revendeur-btn {
  background: #1a1a1a;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.revendeur-btn:hover {
  background: #c9a96e;
}

.field-error {
    color: #c0392b;
    font-size: 12px;
    margin-top: 4px;
    font-family: 'Raleway', sans-serif;
}

@media (max-width: 700px) {
  .revendeur-hero h1 {
    font-size: 2rem;
  }
    
  .form-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .revendeur-hero {
    padding: 2.5rem 1.5rem 2rem;
  }

  .revendeur-form-container {
    padding: 0 1.5rem;
    margin-bottom: 4rem;
  }
}

.contact-success {
    text-align: center;
    padding: 2.5rem 2rem;
    margin: 2rem 0;
    border: 1px solid #c9a96e;
    background: #fdf8f2;
}

.contact-success p:first-child {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.contact-success p:last-child {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #999;
    text-transform: uppercase;
}

.contact-errors {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 2px solid #c0392b;
    background: #fdf5f5;
}

.contact-errors p {
    font-size: 12px;
    color: #c0392b;
    letter-spacing: 0.05em;
    margin: 0.25rem 0;
}

.form-group input.has-error,
.form-group textarea.has-error {
    border-color: #c0392b;
}



/* ===== QHD 2560px ===== */
@media (min-width: 2560px) {
  .revendeur-hero {
    max-width: 1100px;
    padding: 5rem 2rem 4rem;
  }

  .revendeur-hero h1 {
    font-size: 3.8rem;
  }

  .revendeur-hero p {
    font-size: 20px;
    margin-top: 2rem;
  }

  .revendeur-form-container {
    max-width: 1200px;
    margin-bottom: 8rem;
  }

  .form-group label {
    font-size: 18px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 18px;
    padding: 16px 20px;
  }

  .revendeur-btn {
    font-size: 16px;
    padding: 22px;
  }

  .field-error {
    font-size: 16px;
  }

  .contact-success p:first-child {
    font-size: 2rem;
  }

  .contact-success p:last-child {
    font-size: 16px;
  }

  .contact-errors p {
    font-size: 16px;
  }
}

/* ===== 4K 3840px ===== */
@media (min-width: 3840px) {
  .revendeur-hero {
    max-width: 1600px;
    padding: 7rem 2rem 5rem;
  }

  .revendeur-hero h1 {
    font-size: 5.5rem;
  }

  .revendeur-hero h1::after {
    width: 90px;
    height: 3px;
    bottom: -12px;
  }

  .revendeur-hero p {
    font-size: 28px;
    margin-top: 2.5rem;
    line-height: 2;
  }

  .revendeur-form-container {
    max-width: 1800px;
    margin-bottom: 10rem;
  }

  .revendeur-form {
    gap: 2.5rem;
  }

  .form-row {
    gap: 2.5rem;
  }

  .form-group {
    gap: 0.8rem;
  }

  .form-group label {
    font-size: 26px;
    letter-spacing: 0.06em;
  }

  .form-group input,
  .form-group textarea {
    font-size: 26px;
    padding: 22px 28px;
  }

  .revendeur-btn {
    font-size: 24px;
    padding: 30px;
    letter-spacing: 0.18em;
  }

  .field-error {
    font-size: 22px;
    margin-top: 6px;
  }

  .contact-success {
    padding: 4rem 3rem;
    margin: 3rem 0;
  }

  .contact-success p:first-child {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .contact-success p:last-child {
    font-size: 22px;
  }

  .contact-errors {
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
  }

  .contact-errors p {
    font-size: 22px;
    margin: 0.5rem 0;
  }
}