.reseller-page { max-width: 1240px; }
.reseller-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 5vw, 84px);
}
.reseller-intro h1 { margin: 0 0 1.15rem; }
.reseller-intro p {
  max-width: 44ch;
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.reseller-intro p:first-of-type { color: var(--ink); font-size: 1.15rem; }
.reseller-form {
  display: grid;
  gap: 1.4rem;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f5f9fa;
}
.reseller-form h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  color: var(--deep);
}
.reseller-form fieldset {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.reseller-form legend {
  float: none;
  width: 100%;
  padding: 0 0 .5rem;
  margin-block-end: .8rem;
  border-block-end: 1px solid var(--line);
  font: 700 1.06rem/1.4 var(--sans);
  color: var(--deep);
}
.reseller-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.reseller-wide { grid-column: 1/-1; }
.reseller-form label { margin: 0; min-width: 0; font: 600 .95rem/1.4 var(--sans); }
.reseller-form input:not([type="hidden"]), .reseller-form select, .reseller-form textarea {
  min-width: 0;
  border-radius: 7px;
  min-height: 46px;
  margin-top: 5px;
  color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
}
.reseller-form input[type="hidden"] { display: none; }
.reseller-form textarea { resize: vertical; }
.reseller-form .reseller-hint { margin: -1rem 0 0; color: var(--muted); font-size: .94rem; }
.reseller-submit { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.reseller-submit .btn { min-height: 46px; padding-inline: 24px; }
.reseller-submit a { font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.reseller-form output { display: block; margin: 0; color: var(--deep); }
.reseller-form output:empty { display: none; }
@media (max-width: 800px) {
  .reseller-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .reseller-page { max-width: 680px; }
  .reseller-intro p { max-width: none; }
}
@media (max-width: 520px) {
  .reseller-page .crumb { margin-block-end: 20px; }
  .reseller-intro h1 { margin-bottom: 12px; }
  .reseller-intro p, .reseller-intro p:first-of-type { font-size: 1rem; }
  .reseller-form { gap: 20px; padding: 19px 16px; }
  .reseller-fields { grid-template-columns: minmax(0, 1fr); }
  .reseller-submit .btn { width: 100%; }
}
#demande-revendeur { scroll-margin-block-start: 1.2rem; }
.reseller-form output:not(:empty) {
  padding: 12px 14px;
  border-inline-start: 3px solid var(--accent);
  background: white;
  line-height: 1.45;
}
