/* Fakker ! : page distributeurs (/distributeurs/). Même règles que la page de vente :
   aucun angle arrondi, aucune ombre, aucun dégradé ; orange en touches. */

.page-pros { padding-bottom: 0; }
.lien-boutique { color: var(--encre); font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 1.5px solid var(--orange); }

.pros { padding: 24px var(--marge) 8px; }
.pros h1 { margin-top: 2px; font: 700 28px/1.15 var(--texte); letter-spacing: -.01em; }
.pros > .sous-titre { padding-bottom: 18px; border-bottom: 1px solid var(--filet); }

/* Photo du livre et 3 atouts */
.atouts { display: grid; grid-template-columns: 42% 1fr; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--filet); }
.atouts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.atouts li { position: relative; padding-left: 24px; font-weight: 700; line-height: 1.3; }
.atouts li::before { content: ""; position: absolute; left: 0; top: .2em; width: 12px; height: 12px; background: var(--orange); }

/* Formulaire */
.form-pros { display: grid; gap: 16px; padding-top: 20px; }
.form-pros label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.form-pros small { color: var(--gris); font-weight: 500; }
.form-pros input:not([type=radio]), .form-pros select, .form-pros textarea {
  width: 100%; height: 48px; padding: 0 12px; border: 1px solid #bdbdbd; background: var(--blanc);
  font: 16px var(--texte); color: var(--encre); appearance: none;
}
.form-pros textarea { height: auto; padding: 12px; resize: vertical; }
.form-pros select { background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.form-pros input:focus, .form-pros select:focus, .form-pros textarea:focus { outline: none; border: 2px solid var(--orange); padding-left: 11px; }
.form-pros input.invalide, .form-pros select.invalide { border-color: #b3261e; }

/* Boutons à cocher : Type et Quantité */
.choix { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.choix legend { padding: 0; margin-bottom: 6px; font-weight: 700; font-size: 15px; }
.choix-4 { grid-template-columns: repeat(4, 1fr); }
.choix-3 { grid-template-columns: repeat(3, 1fr); max-width: 75%; }
.choix label { display: block; position: relative; }
.choix input { position: absolute; opacity: 0; pointer-events: none; }
.choix span { display: grid; place-items: center; height: 44px; padding: 0 4px; border: 1px solid #bdbdbd; font-weight: 700; font-size: 14px; text-align: center; transition: background-color .15s, color .15s; }
.choix input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--blanc); }
.choix input:focus-visible + span { outline: 2px solid var(--encre); outline-offset: 2px; }

.erreur { margin: 0; color: #b3261e; font-weight: 600; font-size: 15px; }
.form-pros .mention { margin: -6px 0 0; }
.merci-pros { padding: 32px 0 8px; display: grid; gap: 10px; }
.merci-pros h2 { font: 26px/1.15 var(--titre); }
.merci-pros .btn { margin-top: 8px; }

@media (min-width: 900px) {
  .pros { max-width: 640px; margin: 0 auto; padding-top: 48px; }
  .pros h1 { font-size: 38px; }
  .entete { height: 72px; padding: 0 max(var(--marge), calc((100vw - 1120px) / 2)); }
}
@media (max-width: 360px) {
  .choix-4 { grid-template-columns: repeat(2, 1fr); }
  .choix-3 { max-width: none; }
}

/* Le formulaire et le message de remerciement sont en grille : sans ceci, « hidden » ne les cachait pas */
.form-pros[hidden], .merci-pros[hidden] { display: none; }
