/* ============================================================
   Contact Revendeur NKF – Naturel & Doux / Wizard multi-étapes
   Palette : beige #f7f3ee, vert sauge #d9b164, terracotta #c4845a
   ============================================================ */

/* ── Hero ── */
.revendeur-hero {
  position: relative;
  padding: 72px 20px 64px;
  text-align: center;
  background: #f7f3ee;
  overflow: hidden;
}
.revendeur-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 40px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}
.revendeur-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8a8278;
  margin-bottom: 0px;
}
.revendeur-hero-eyebrow::before,
.revendeur-hero-eyebrow::after {
  content: '';
  width: 28px; height: 1px;
  background: #000;
  opacity: 0.6;
}
.revendeur-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2d2a26;
  margin: 0 0 14px;
  line-height: 1.18;
  letter-spacing: -0.5px;
}
.revendeur-hero h1 em {
  font-style: normal;
  color: #d9b164;
}

/* Logo aprés */
.revendeur-brand-logo {
  width: 260px;
  max-width: 70%;
  height: auto;
  display: block;
  margin: 20px auto 24px;
}
.revendeur-hero-sub {
  font-size: 1rem;
  color: #8a8278;
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.75;
}
/* ── Wizard wrapper ── */
.revendeur-wizard {
  max-width: 760px;
  margin: 52px auto 70px;
  padding: 0 16px;
}

/* ── Stepper ── */
.revendeur-stepper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  list-style: none !important;
  margin-bottom: 32px !important;
  padding: 0 !important;
}
.revendeur-step {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 7px !important;
  flex: 1 !important;
  max-width: 120px !important;
  list-style: none !important;
}
.revendeur-step-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid #e2dbd3;
  background: #fff;
  color: #c5bdb5;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all 0.35s ease;
}
.revendeur-step.active .revendeur-step-dot {
  border-color: #d9b164;
  background: #d9b164;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(125,158,140,0.14);
}
.revendeur-step.done .revendeur-step-dot {
  border-color: #d9b164;
  background: #fdf8ec;
  color: #d9b164;
}
.revendeur-step-label {
  font-size: 0.71rem;
  font-weight: 600;
  color: #c5bdb5;
  letter-spacing: 0.4px;
  text-align: center;
}
.revendeur-step.active .revendeur-step-label { color: #d9b164; }
.revendeur-step.done .revendeur-step-label  { color: #a09890; }

.revendeur-step-line {
  flex: 1;
  height: 1px;
  background: #e2dbd3;
  margin-bottom: 22px;
  transition: background 0.35s;
}
.revendeur-step-line.done { background: #d9b164; }

/* ── Barre de progression ── */
.revendeur-progress-bar {
  height: 4px;
  background: #ede8e2;
  border-radius: 4px;
  margin-bottom: 36px;
  overflow: hidden;
}
.revendeur-progress-fill {
  height: 100%;
  background: linear-gradient(to right, #e8cf9a, #d9b164);
  border-radius: 4px;
  transition: width 0.45s cubic-bezier(.4,0,.2,1);
}

/* ── Panels – masquage forcé (override thème Leo) ── */
.revendeur-wizard .revendeur-panel { display: none !important; }
.revendeur-wizard .revendeur-panel.active { display: block !important; animation: fadeSlide 0.4s ease; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Carte ── */
.revendeur-card {
  background: #fff;
  border: 1px solid #ede8e2;
  border-radius: 20px;
  padding: 38px 42px;
  box-shadow: 0 2px 24px rgba(45,42,38,0.05);
}
.revendeur-panel-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2d2a26;
  margin: 0 0 6px;
}
.revendeur-panel-desc {
  font-size: 0.87rem;
  color: #a09890;
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0ebe4;
}

/* ── Labels & inputs ── */
.revendeur-card .form-control-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #8a8278;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block; text-align:left;
}
.revendeur-card .form-control {
  border: 1.5px solid #e4ddd6;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.94rem;
  color: #2d2a26;
  background: #faf8f5;
  width: 100%;
  transition: all 0.2s;
}
.revendeur-card .form-control:focus {
  border-color: #d9b164;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(125,158,140,0.12);
  outline: none;
}
.revendeur-card textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* ── Checkboxes ── */
.revendeur-checkboxes {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  margin-top: 10px !important;
  list-style: none !important;
  padding: 0 !important;
}
.revendeur-checkbox-item label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1.5px solid #e4ddd6;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b6560;
  background: #faf8f5;
  transition: all 0.2s;
  margin: 0;
}
.revendeur-checkbox-item label:hover {
  border-color: #d9b164;
  background: #fdf8ec;
}
.revendeur-checkbox-item input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #d9b164;
  flex-shrink: 0;
}
.revendeur-checkbox-item:has(input:checked) label {
  border-color: #d9b164;
  background: #fdf8ec;
  color: #2d2a26;
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(125,158,140,0.12);
}

/* ── Radios ── */
.revendeur-radios {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 10px !important;
  padding: 0 !important;
  list-style: none !important;
}
.revendeur-radio-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid #e4ddd6;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  color: #6b6560;
  background: #faf8f5;
  transition: all 0.2s;
  margin: 0;
}
.revendeur-radio-item label:hover { border-color: #d9b164; background: #fdf8ec; }
.revendeur-radio-item input[type="radio"] { accent-color: #d9b164; }
.revendeur-radio-item:has(input:checked) label {
  border-color: #d9b164;
  background: #fdf8ec;
  color: #2d2a26;
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(125,158,140,0.12);
}

/* ── Navigation ── */
.revendeur-nav {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 30px !important;
}
.revendeur-progress-text {
  font-size: 0.78rem;
  color: #c5bdb5;
  font-weight: 500;
}
.btn-revendeur-prev {
  background: none;
  border: 1.5px solid #e4ddd6;
  color: #a09890;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-revendeur-prev:hover { border-color: #d9b164; color: #d9b164; }

.btn-revendeur-next,
.btn-revendeur-submit {
  background: linear-gradient(135deg, #d9b164 0%, #c49a45 100%);
  border: none;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 18px rgba(125,158,140,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-revendeur-next:hover,
.btn-revendeur-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(125,158,140,0.45);
  color: #fff;
}

/* ── Succès ── */
.revendeur-success {
  text-align: center;
  padding: 60px 30px;
}
.revendeur-success-circle {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fdf5e0, #f0dfa8);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 26px;
  box-shadow: 0 4px 24px rgba(125,158,140,0.2);
}
.revendeur-success h2 { font-size: 1.5rem; font-weight: 800; color: #2d2a26; margin-bottom: 10px; }
.revendeur-success p  { font-size: 0.93rem; color: #a09890; max-width: 360px; margin: 0 auto; line-height: 1.7; }

/* ── Erreur statut ── */
.revendeur-field-error {
  color: #c4845a;
  font-size: 0.82rem;
  margin-top: 6px;
  display: none;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .revendeur-hero h1 { font-size: 1.75rem; }
  .revendeur-card { padding: 24px 18px; border-radius: 14px; }
  .revendeur-checkboxes { grid-template-columns: 1fr; }
  .revendeur-step-label { display: none; }
  .btn-revendeur-submit,
  .btn-revendeur-next { padding: 13px 22px; }
}
@media (max-width: 480px) {
.revendeur-checkboxes {
  grid-template-columns: repeat(1, 1fr) !important;
}
#module-contactrevendeur-devenir .card-block {
    padding: 10px;
}.revendeur-wizard {
    padding: 0px;
}
}
