/* =============================================
   IKIBI — Réservation premium (Calendly inline)
   ============================================= */

.schedule-page {
  background: #f8f9fc;
}

.schedule-hero {
  padding: clamp(72px, 10vw, 108px) 0 clamp(40px, 6vw, 56px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.08);
}

.schedule-hero-inner {
  max-width: 40rem;
}

.schedule-breadcrumb {
  margin-bottom: clamp(24px, 4vw, 36px);
  text-align: left;
}

.schedule-title {
  margin: 0;
  max-width: 22em;
}

.schedule-lead {
  margin: 1.35rem 0 0;
  max-width: 32rem;
}

.schedule-lead-br {
  display: none;
}

@media (min-width: 520px) {
  .schedule-lead-br {
    display: inline;
  }
}

.schedule-panel {
  padding: clamp(40px, 6vw, 64px) 0 clamp(80px, 12vw, 120px);
}

.schedule-panel-inner {
  max-width: 920px;
  margin: 0 auto;
}

.schedule-embed-wrap {
  position: relative;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 24px 56px -32px rgba(15, 23, 42, 0.12);
}

.schedule-calendly-host {
  width: 100%;
  min-height: 720px;
}

.schedule-embed-wrap--fallback .schedule-calendly-host {
  display: none;
}

.schedule-embed-wrap iframe {
  border: 0;
}

/* Masque le branding Calendly en pied de widget (si présent) */
.schedule-embed-wrap .calendly-badge-widget {
  display: none !important;
}

.schedule-fallback {
  padding: clamp(48px, 10vw, 72px) clamp(28px, 5vw, 40px);
  text-align: center;
}

.schedule-fallback-text {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--grey-200);
}

.schedule-fallback-link {
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.schedule-fallback-link:hover {
  text-decoration: underline;
}

.schedule-fallback-hint {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: rgba(51, 65, 85, 0.55);
}

.schedule-fallback-hint a {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.schedule-trust {
  margin-top: clamp(32px, 5vw, 48px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.schedule-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.schedule-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(51, 65, 85, 0.78);
}

.schedule-trust-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--gold);
}

.schedule-trust-muted {
  color: rgba(51, 65, 85, 0.45);
}

.schedule-trust-note {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(51, 65, 85, 0.5);
}

.schedule-trust-note a {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(15, 23, 42, 0.25);
}

.schedule-trust-note a:hover {
  text-decoration-color: var(--gold);
}

@media (max-width: 768px) {
  .schedule-hero {
    padding-top: clamp(56px, 14vw, 80px);
  }

  .schedule-calendly-host {
    min-height: 640px;
  }

  .schedule-embed-wrap {
    border-radius: 6px;
  }
}

/* ---- Confirmation (merci.html — legacy) ---- */

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.booking-success {
  display: none;
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #060a14 0%, #121f3d 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(255, 79, 125, 0.15);
  animation: bookingReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.booking-success.is-visible {
  display: block;
}

.booking-success[hidden] {
  display: none !important;
}

.booking-success.is-visible:not([hidden]) {
  display: block;
}

@keyframes bookingReveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.booking-success-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(255, 79, 125, 0.35), transparent 70%);
  pointer-events: none;
}

.booking-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: bookingPop 0.5s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.booking-success-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 10px;
  height: 18px;
  border: solid rgba(34, 197, 94, 0.95);
  border-width: 0 2.5px 2.5px 0;
  transform: translate(-50%, -50%) rotate(45deg);
  margin-top: -2px;
  margin-left: -1px;
}

@keyframes bookingPop {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.booking-success h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.booking-success-lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 8px;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.booking-success-recap {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 28px;
}

.booking-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.booking-success-actions .btn {
  min-width: 200px;
}

.booking-success .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.booking-success .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.booking-success-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

@media (max-width: 768px) {
  .booking-success {
    padding: 32px 24px;
  }

  .booking-success-actions {
    flex-direction: column;
  }

  .booking-success-actions .btn {
    width: 100%;
  }
}
