/* ADC — page Rendez-vous */

/* ---------- 1 · hero + form ---------- */
.rdv-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--purple) 0%, var(--purple-2) 55%, var(--purple-3) 100%);
  color: var(--white);
}
.rdv-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: 80px;
  align-items: center;
  padding-top: calc(var(--nav-h) + 88px);
  padding-bottom: 100px;
}
.rdv-crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.rdv-crumb a:hover { color: var(--teal); }
.rdv-crumb span[aria-hidden] { color: var(--placeholder); }
.rdv-crumb__current { color: var(--teal); }
.rdv-hero__title {
  margin: 28px 0 0;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.rdv-hero__title em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0; }
.rdv-hero__lead { margin: 24px 0 0; max-width: 480px; font-size: 18px; line-height: 1.6; }
.rdv-facts {
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  font-size: 15px;
  line-height: 1.6;
}
.rdv-facts dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.rdv-facts dd { margin: 8px 0 0; }
.rdv-facts a:hover { color: var(--white); opacity: .8; }
.rdv-facts__map { border-bottom: 1px solid var(--white); }
.rdv-facts__phone { font-size: 22px; font-weight: 600; }
.rdv-facts__wa {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--white);
  font-size: 14px;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.rdv-facts__wa:hover { background: var(--white); color: var(--purple); opacity: 1; }

.rdv-form-wrap { color: var(--ink); }
.rdv-notice { margin-bottom: 16px; }
.rdv-form {
  padding: 40px;
  border-radius: 32px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 34px 70px rgba(0, 0, 0, .35);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.rdv-form__title { grid-column: 1 / -1; margin: 0 0 6px; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.rdv-field { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rdv-field--full { grid-column: 1 / -1; }
.rdv-field label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rdv-field__opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted-2); }
.rdv-field input,
.rdv-field select,
.rdv-field textarea {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
}
.rdv-field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1b20' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.rdv-field textarea { height: auto; padding: 14px; resize: vertical; }
.rdv-field input:focus, .rdv-field select:focus, .rdv-field textarea:focus { border-color: var(--teal); }
.rdv-form__submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  height: 58px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  transition: background .25s;
}
.rdv-form__submit:hover { background: var(--teal-dark); }
.rdv-form__submit-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: var(--white); color: var(--teal); }
.rdv-form__submit-icon svg { width: 14px; height: 14px; }
.rdv-form__note { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 13px; color: var(--muted-2); }
.rdv-form__submit:disabled { background: var(--line); color: var(--muted-2); cursor: not-allowed; }
.rdv-form__submit:disabled .rdv-form__submit-icon { color: var(--muted-2); }

/* ---- date + time picker ---- */
.rdv-field__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rdv-when { gap: 12px; }
.rdv-cal { padding: 14px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--white); }
.rdv-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rdv-cal__month { font-size: 15px; font-weight: 600; }
.rdv-cal__nav { width: 40px; height: 40px; border-radius: 999px; font-size: 22px; line-height: 1; color: var(--ink); transition: background .2s; }
.rdv-cal__nav:hover { background: var(--lilac); }
.rdv-cal__nav:disabled { opacity: .3; cursor: default; background: none; }
.rdv-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; justify-items: center; }
.rdv-cal__dn { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--muted-2); padding: 4px 0; }
.rdv-cal__day { width: 40px; height: 40px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink); transition: background .2s, color .2s; }
.rdv-cal__day:hover { background: var(--lilac); }
.rdv-cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--teal); }
.rdv-cal__day.is-selected { background: var(--teal); color: var(--white); }
.rdv-cal__day:disabled { color: var(--placeholder); cursor: default; background: none; text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.rdv-slots__label { margin: 4px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rdv-slots__grid { margin-top: 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.rdv-slot { height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); transition: border-color .2s, background .2s, color .2s; }
.rdv-slot:hover { border-color: var(--teal); }
.rdv-slot.is-selected { background: var(--teal); border-color: var(--teal); color: var(--white); }
.rdv-slot:disabled { color: var(--placeholder); background: var(--lilac); border-color: transparent; cursor: not-allowed; text-decoration: line-through; }
.rdv-slots__empty { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.rdv-when__summary { margin: 0; padding: 12px 16px; border-radius: 14px; background: #e6f6f8; color: var(--teal-dark); font-size: 14px; }

/* ---------- 2 · comment ça se passe ---------- */
.rdv-how { background: var(--white); padding: clamp(72px, 8vw, 110px) 0 clamp(64px, 7vw, 100px); }
.rdv-how__head { text-align: center; }
.rdv-how__head .eyebrow { font-size: 13px; }
.rdv-how__title { margin: 0 auto; max-width: 700px; font-size: clamp(34px, 4.2vw, 52px); }
.rdv-steps {
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rdv-step { padding: 36px 32px; border-radius: 28px; background: var(--white); border: 1.5px solid var(--line); }
.rdv-step__num { display: block; font-size: 48px; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--teal); }
.rdv-step__title { display: block; margin-top: 22px; font-size: 22px; font-weight: 600; line-height: 1.25; }
.rdv-step__text { display: block; margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- 3 · venir à la clinique ---------- */
.rdv-access { background: var(--lilac); }
.rdv-access__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 80px;
  align-items: center;
  padding-top: clamp(64px, 7vw, 100px);
  padding-bottom: clamp(64px, 7vw, 100px);
}
.rdv-access .eyebrow { font-size: 13px; }
.rdv-hours { margin: 28px 0 0; border-collapse: collapse; width: 100%; max-width: 420px; font-size: 16px; }
.rdv-hours tr { border-top: 1px solid var(--line); }
.rdv-hours tr:last-child { border-bottom: 1px solid var(--line); }
.rdv-hours th { text-align: left; font-weight: 400; padding: 12px 16px 12px 0; color: var(--muted); }
.rdv-hours td { padding: 12px 0; font-weight: 600; text-align: right; }
.rdv-hours td.closed { font-weight: 400; color: var(--muted-2); }
.rdv-access__note { margin: 24px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.rdv-access__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.rdv-access__map {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 8px 0 24px;
  border-radius: 999px;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .25s, color .25s;
}
.rdv-access__map:hover { background: var(--teal-dark); color: var(--white); }
.rdv-access__map-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: var(--teal); color: var(--white); }
.rdv-access__map-icon svg { width: 14px; height: 14px; }
.rdv-access__phone {
  display: inline-flex;
  align-items: center;
  height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color .2s;
}
.rdv-access__phone:hover { border-color: var(--ink); color: var(--ink); }
.rdv-access__photo { position: relative; height: 480px; border-radius: 32px; overflow: hidden; }
.rdv-access__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .rdv-hero__grid { grid-template-columns: 1fr; gap: 48px; padding-top: calc(var(--nav-h) + 56px); padding-bottom: 72px; }
  .rdv-form-wrap { max-width: 640px; }
  .rdv-steps { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .rdv-access__grid { grid-template-columns: 1fr; gap: 40px; }
  .rdv-access__photo { height: auto; aspect-ratio: 3 / 2; max-width: 640px; }
}
@media (max-width: 767px) {
  .rdv-form { padding: 24px; grid-template-columns: 1fr; }
  .rdv-cal__day { width: 38px; height: 38px; }
  .rdv-slots__grid { grid-template-columns: repeat(4, 1fr); }
  .rdv-field--full { grid-column: auto; }
  .rdv-form__submit, .rdv-form__note, .rdv-form__title { grid-column: auto; }
  .rdv-facts { grid-template-columns: 1fr; gap: 20px; }
  .rdv-steps { margin-top: 36px; }
  .rdv-step { padding: 28px 24px; }
  .rdv-access__photo { border-radius: 24px; }
}
