/* ─── Formulaire Rénovation RDV — Feuille de styles ─────────────── */

*, *::before, *::after { box-sizing: border-box; }

.rdv-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #1a1a1a;
}

/* Brand */
.rdv-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2.5rem;
}
.rdv-brand-name {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  font-weight: 500;
}

/* Progress */
.rdv-progress-track {
  height: 2px;
  background: #e8e4dc;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}
.rdv-progress-fill {
  height: 100%;
  background: #6b6245;
  border-radius: 2px;
  transition: width 0.45s ease;
}
.rdv-step-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 2.5rem;
}
.rdv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd;
  transition: background 0.3s;
}
.rdv-dot-active { background: #6b6245; }
.rdv-dot-done   { background: #b5a98a; }

/* Step text */
.rdv-step-lbl {
  font-size: 11px;
  color: #aaa;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.rdv-step-title {
  font-size: 24px !important;
  font-weight: 400 !important;
  color: #1a1a1a !important;
  line-height: 1.3;
  margin-bottom: 6px !important;
  border: none !important;
}
.rdv-step-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* Option cards */
.rdv-opts {
  display: grid;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.rdv-opts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rdv-opts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 480px) {
  .rdv-opts-2, .rdv-opts-3 { grid-template-columns: 1fr; }
}

.rdv-opt {
  border: 0.5px solid #d0ccc4;
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  background: #fff;
}
.rdv-opt:hover { border-color: #8a7a5a; }
.rdv-opt.rdv-sel {
  border: 1.5px solid #6b6245;
  background: #f7f4ee;
}
.rdv-opt-ico {
  font-size: 18px;
  margin-bottom: 7px;
  display: block;
  line-height: 1;
}
.rdv-opt-lbl {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  display: block;
}
.rdv-opt-sub {
  font-size: 12px;
  color: #888;
  margin-top: 3px;
  display: block;
  line-height: 1.4;
}

/* Form fields */
.rdv-fg { margin-bottom: 1rem; }
.rdv-fl {
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
  display: block;
}
.rdv-fi {
  width: 100%;
  padding: 11px 13px;
  border: 0.5px solid #d0ccc4;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  color: #1a1a1a;
  font-family: inherit;
  transition: border-color 0.2s;
  appearance: none;
}
.rdv-fi:focus {
  outline: none;
  border-color: #6b6245;
}
.rdv-fi::placeholder { color: #bbb; }
.rdv-sel-arrow {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.rdv-g2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 480px) {
  .rdv-g2 { grid-template-columns: 1fr; }
}

/* Micro copy & note */
.rdv-micro {
  font-size: 12px;
  color: #aaa;
  margin-top: 0.75rem;
  line-height: 1.5;
}
.rdv-note {
  background: #f7f4ee;
  border-left: 2px solid #b5a98a;
  border-radius: 0 8px 8px 0;
  padding: 10px 13px;
  font-size: 13px;
  color: #666;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* Buttons */
.rdv-btn-row {
  display: flex;
  gap: 8px;
  margin-top: 2rem;
}
.rdv-btn-back {
  padding: 11px 18px;
  border: 0.5px solid #d0ccc4;
  border-radius: 8px;
  background: transparent;
  color: #888;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s;
}
.rdv-btn-back:hover { background: #f5f2ec; }
.rdv-btn-next {
  flex: 1;
  padding: 13px 22px;
  background: #3a3220;
  border: none;
  border-radius: 8px;
  color: #f5f1e8;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s;
  letter-spacing: 0.02em;
}
.rdv-btn-next:hover { background: #4a4230; }
.rdv-btn-next:disabled { opacity: 0.35; cursor: default; }

/* Score pills */
.rdv-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}
.rdv-pill-hot  { background: #f0ebe0; color: #6b5c38; }
.rdv-pill-warm { background: #e8eff7; color: #2e5070; }
.rdv-pill-std  { background: #f0f0f0; color: #666; }

/* Confirmation screen */
.rdv-confirm { padding: 1.5rem 0 2rem; }
.rdv-confirm-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f0ebe0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #6b6245;
  margin-bottom: 1.25rem;
}
.rdv-confirm-title {
  font-size: 26px !important;
  font-weight: 400 !important;
  margin-bottom: 8px !important;
  border: none !important;
}
.rdv-confirm-sub {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 420px;
}
.rdv-summary {
  background: #f7f4ee;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
}
.rdv-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  font-size: 13px;
  border-bottom: 0.5px solid #e8e4dc;
  gap: 12px;
}
.rdv-row:last-child { border-bottom: none; }
.rdv-ck { color: #888; flex-shrink: 0; }
.rdv-cv { font-weight: 500; color: #1a1a1a; text-align: right; }
