/* ═══════════════════════════════════════════════════════
   ALTY PAGES — Rendez-vous (Premium Redesign)
   ═══════════════════════════════════════════════════════ */

/* ── Hero compact centré ── */
.ap-rdv-hero {
  text-align: center;
  padding-top: clamp(6rem, 8vw, 8rem);
  padding-bottom: clamp(6rem, 10vw, 9rem);
}
.alty-page .ap-rdv-hero .ap-hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem) !important;
  margin-bottom: 0.5rem !important;
}
.alty-page .ap-rdv-hero .ap-hero__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.15rem) !important;
  max-width: 65ch;
}
.ap-rdv-hero .ap-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Pill disponibilité */
.ap-rdv-avail-pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(184,245,58,.1);
  border: 1px solid rgba(184,245,58,.2);
  border-radius: 100px;
  padding: .5rem 1.25rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ap-lime);
  letter-spacing: .02em;
  margin-bottom: 0.5rem;
}
.ap-rdv-avail-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ap-lime);
  animation: ap-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(184,245,58,.6);
}
@keyframes ap-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}

.ap-hero-actions {
  margin-top: 1rem;
}

/* ── BOOKING SECTION ── */
.ap-rdv-booking-section {
  background: var(--ap-paper);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
}

.ap-rdv-booking-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin-top: -8rem;
  position: relative;
  z-index: 10;
}

/* Calendrier — Élément principal */
.ap-rdv-calendar-wrap {
  background: var(--ap-white);
  border-radius: var(--ap-radius-lg);
  border: 1px solid var(--ap-paper-border);
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
  min-height: 500px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ap-rdv-calendar-header {
  padding: 2.5rem 2.5rem 1.5rem;
  border-bottom: 1px solid var(--ap-paper-border);
  background: var(--ap-paper-warm);
}
.ap-rdv-calendar-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 .5rem;
  color: var(--ap-ink);
}
.ap-rdv-calendar-header p {
  color: var(--ap-ink-soft);
  margin: 0;
  font-size: 0.95rem;
}

.ap-rdv-calendar-body {
  padding: 2rem;
  flex: 1;
}

/* Surcharge du plugin booking pour qu'il s'intègre parfaitement */
.ap-rdv-calendar-body > *,
.ap-rdv-calendar-body .alty-booking-container {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
}

/* Sidebar droite : infos pratiques */
.ap-rdv-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 2rem;
}

.ap-rdv-info-card {
  background: var(--ap-bg-card);
  border-radius: var(--ap-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.ap-rdv-info-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ap-white) !important;
  margin: 0 0 1.5rem;
  letter-spacing: .02em;
}

.ap-rdv-info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.ap-rdv-info-row:last-child { margin-bottom: 0; }

.ap-rdv-info-row__icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ap-lime);
  flex-shrink: 0;
}

.ap-rdv-info-row__text {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.ap-rdv-info-row__label {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
}

.ap-rdv-info-row__value {
  font-size: .95rem;
  color: rgba(255,255,255,.9);
  line-height: 1.4;
}
.ap-rdv-info-row__value a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  transition: color .2s;
}
.ap-rdv-info-row__value a:hover { color: var(--ap-lime); }

/* Card locker */
.ap-rdv-locker-card {
  background: linear-gradient(135deg, var(--ap-violet), var(--ap-violet-dark));
  border-radius: var(--ap-radius-lg);
  padding: 2.5rem;
  color: var(--ap-white);
  box-shadow: 0 12px 30px rgba(124,58,237,.2);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ap-rdv-locker-card__icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap-rdv-locker-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ap-white) !important;
  margin: 0 0 .5rem;
}
.ap-rdv-locker-card__text {
  font-size: .95rem;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
  margin: 0;
}

/* ── Section "Pourquoi" en bas ── */
.ap-rdv-why { 
  background: var(--ap-paper-warm);
  border-top: 1px solid var(--ap-paper-border);
}
.ap-rdv-why-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.ap-rdv-why-header .ap-section-title { margin-bottom: 0; }
.ap-rdv-why-badge {
  font-size: .85rem;
  font-weight: 700;
  background: rgba(124,58,237,.1);
  color: var(--ap-violet);
  padding: .4rem 1rem;
  border-radius: 100px;
}

.ap-rdv-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.ap-rdv-why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--ap-white);
  border: 1px solid var(--ap-paper-border);
  border-radius: var(--ap-radius-lg);
  padding: 1.5rem;
  transition: all .2s;
}
.ap-rdv-why-item:hover {
  border-color: rgba(124,58,237,.3);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  transform: translateY(-2px);
}
.ap-rdv-why-item__icon {
  width: 28px; height: 28px;
  background: rgba(184,245,58,.2);
  color: #6a8c1f;
  border-radius: 50%;
  border: 1px solid rgba(184,245,58,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}
.ap-rdv-why-item__text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ap-ink-soft);
  font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .ap-rdv-booking-layout {
    grid-template-columns: 1fr;
    margin-top: -4rem; /* Less overlap on smaller screens */
  }
  .ap-rdv-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 640px) {
  .ap-rdv-sidebar { grid-template-columns: 1fr; }
  .ap-rdv-calendar-header { padding: 2rem; }
  .ap-rdv-calendar-body { padding: 1.5rem; }
}
