/* ─── Page Rendez-vous ───────────────────────────────────────────── */
  .rdv-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0a2540 100%);
    padding: 3.5rem 1.5rem 2rem;
    text-align: center;
    color: #fff;
  }
  .rdv-hero__badge {
    display: inline-block;
    background: rgba(99,179,237,0.15);
    border: 1px solid rgba(99,179,237,0.35);
    color: #63b3ed;
    border-radius: 999px;
    padding: .3rem 1rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
  }
  .rdv-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    margin: 0 0 .75rem;
    line-height: 1.2;
  }
  .rdv-hero p {
    color: rgba(255,255,255,.7);
    max-width: 540px;
    margin: 0 auto;
    font-size: 1.05rem;
  }

  /* ─── Stepper ────────────────────────────────────────────────────── */
  .stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 2rem 1rem;
    max-width: 600px;
    margin: 0 auto;
  }
  .stepper__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    flex: 1;
    position: relative;
  }
  .stepper__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 55%;
    width: 90%;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
  }
  .stepper__step.active::after,
  .stepper__step.done::after {
    background: #3b82f6;
  }
  .stepper__num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all .3s;
  }
  .stepper__step.active .stepper__num {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(59,130,246,.2);
  }
  .stepper__step.done .stepper__num {
    background: #10b981;
    color: #fff;
  }
  .stepper__label {
    font-size: .72rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    text-align: center;
  }
  .stepper__step.active .stepper__label,
  .stepper__step.done .stepper__label {
    color: #1e40af;
  }

  /* ─── Contenu formulaire ─────────────────────────────────────────── */
  .rdv-container {
    max-width: 820px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
  }
  .rdv-card {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 32px rgba(0,0,0,.08);
    padding: 2.5rem;
  }
  .rdv-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 .5rem;
  }
  .rdv-card__sub {
    color: #64748b;
    font-size: .95rem;
    margin-bottom: 2rem;
  }

  /* ─── Types RDV cards ────────────────────────────────────────────── */
  .type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .type-card {
    border: 2px solid #e2e8f0;
    border-radius: .9rem;
    padding: 1.3rem;
    cursor: pointer;
    transition: all .25s;
    position: relative;
  }
  .type-card:hover { border-color: #93c5fd; background: #f0f9ff; }
  .type-card.selected { border-color: #3b82f6; background: #eff6ff; }
  .type-card.selected::after {
    content: "✓";
    position: absolute;
    top: .6rem; right: .8rem;
    color: #3b82f6;
    font-weight: 800;
    font-size: 1rem;
  }
  .type-card__icon { font-size: 2rem; margin-bottom: .5rem; }
  .type-card__name { font-weight: 700; color: #1e293b; font-size: 1rem; }
  .type-card__desc { color: #64748b; font-size: .82rem; margin-top: .25rem; }
  .type-card__duree {
    display: inline-block;
    margin-top: .5rem;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 999px;
    padding: .1rem .6rem;
    font-size: .75rem;
    font-weight: 600;
  }
  .type-card input[type="radio"] { position: absolute; opacity: 0; }

  /* ─── Expert cards ───────────────────────────────────────────────── */
  .expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .expert-card {
    border: 2px solid #e2e8f0;
    border-radius: .9rem;
    padding: 1.2rem;
    cursor: pointer;
    transition: all .25s;
    text-align: center;
  }
  .expert-card:hover { border-color: #93c5fd; }
  .expert-card.selected { border-color: #3b82f6; background: #eff6ff; }
  .expert-card input[type="radio"] { position: absolute; opacity: 0; }
  .expert-card__avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .75rem;
    overflow: hidden;
  }
  .expert-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
  .expert-card__name { font-weight: 700; color: #1e293b; font-size: .9rem; }
  .expert-card__titre { color: #64748b; font-size: .78rem; margin-top: .2rem; }
  .expert-card__specs { margin-top: .4rem; display: flex; flex-wrap: wrap; gap: .25rem; justify-content: center; }
  .expert-card__spec {
    background: #f1f5f9; color: #475569;
    border-radius: 999px; padding: .1rem .5rem;
    font-size: .7rem;
  }

  /* ─── Auto-assign card ───────────────────────────────────────────── */
  .auto-card {
    border: 2px dashed #cbd5e1;
    border-radius: .9rem;
    padding: 1.2rem;
    cursor: pointer;
    transition: all .25s;
    text-align: center;
    color: #64748b;
  }
  .auto-card:hover { border-color: #3b82f6; background: #f0f9ff; }
  .auto-card.selected { border-color: #3b82f6; background: #eff6ff; color: #1e40af; }
  .auto-card__icon { font-size: 1.8rem; margin-bottom: .3rem; }
  .auto-card__text { font-size: .85rem; font-weight: 600; }

  /* ─── Date & créneaux ────────────────────────────────────────────── */
  .date-slots-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  @media (max-width: 600px) { .date-slots-grid { grid-template-columns: 1fr; } }
  .form-group { margin-bottom: 1.5rem; }
  .form-group label { display: block; font-weight: 600; color: #374151; margin-bottom: .4rem; font-size: .9rem; }
  .form-control {
    width: 100%; padding: .7rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: .6rem;
    font-size: .95rem;
    transition: border .2s;
    outline: none;
    box-sizing: border-box;
  }
  .form-control:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
  .slots-container {
    display: flex; flex-wrap: wrap; gap: .5rem;
    min-height: 60px;
    padding: .5rem;
    border: 2px solid #e2e8f0;
    border-radius: .6rem;
  }
  .slot-btn {
    padding: .4rem .8rem;
    border: 2px solid #e2e8f0;
    border-radius: .5rem;
    background: #fff;
    color: #374151;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
    transition: all .2s;
  }
  .slot-btn:hover { border-color: #3b82f6; background: #eff6ff; color: #1d4ed8; }
  .slot-btn.selected { border-color: #3b82f6; background: #3b82f6; color: #fff; }
  .slots-loading { color: #94a3b8; font-size: .85rem; padding: .5rem; font-style: italic; }
  .slots-empty { color: #ef4444; font-size: .85rem; padding: .5rem; }

  /* ─── Boutons navigation ─────────────────────────────────────────── */
  .rdv-nav {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 2rem; padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
  }
  .btn-back {
    background: none; border: 2px solid #e2e8f0; color: #64748b;
    border-radius: .6rem; padding: .65rem 1.5rem;
    font-weight: 600; cursor: pointer; font-size: .95rem;
    text-decoration: none;
    transition: all .2s;
  }
  .btn-back:hover { border-color: #cbd5e1; background: #f8fafc; }
  .btn-next {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff; border: none;
    border-radius: .6rem; padding: .75rem 2rem;
    font-weight: 700; cursor: pointer; font-size: 1rem;
    box-shadow: 0 4px 12px rgba(59,130,246,.3);
    transition: all .25s;
  }
  .btn-next:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59,130,246,.4); }
  .btn-next:disabled { opacity: .5; cursor: not-allowed; transform: none; }
  .btn-submit {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff; border: none;
    border-radius: .6rem; padding: .75rem 2rem;
    font-weight: 700; cursor: pointer; font-size: 1rem;
    box-shadow: 0 4px 12px rgba(16,185,129,.3);
    transition: all .25s;
  }
  .btn-submit:hover { transform: translateY(-1px); }

  /* ─── Résumé étape 3 ─────────────────────────────────────────────── */
  .rdv-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: .8rem;
    padding: 1.2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
  }
  .summary-item {
    display: flex; align-items: center; gap: .4rem;
    font-size: .88rem;
  }
  .summary-item__label { color: #64748b; font-weight: 500; }
  .summary-item__val { color: #1e293b; font-weight: 700; }

  /* ─── Form fields erreurs ────────────────────────────────────────── */
  .field-error { color: #ef4444; font-size: .8rem; margin-top: .3rem; }
  .form-control.is-invalid { border-color: #ef4444; }

