/* ============================================================================
 * calendly.css — Circuits Paris Ouest (Story 4.6)
 *
 * Bloc "Réserver un échange de 15 min" en colonne droite du CTA final.
 * L'iframe Calendly est injectée à la demande par /js/calendly.js.
 * ========================================================================= */

.cta-final__aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.cta-rdv {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cta-rdv__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  margin: 0;
  color: var(--fg);
}

.cta-rdv__lead {
  color: var(--fg-secondary);
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.cta-rdv__btn {
  align-self: stretch;
  justify-content: center;
}

.cta-rdv__mount {
  width: 100%;
  min-height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-elevated);
}

.cta-rdv__mount:not([hidden]) {
  min-height: 640px;
  border: 1px solid var(--border);
  margin-top: var(--space-2);
}

.cta-rdv__mount iframe {
  width: 100%;
  height: 640px;
  border: 0;
  display: block;
}

.cta-rdv__fallback {
  margin: 0;
  padding: var(--space-3) var(--space-4);
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  color: #7f1d1d;
  font-size: 0.875rem;
}

.cta-rdv__fallback a {
  color: #7f1d1d;
  font-weight: 600;
  text-decoration: underline;
}

/* Réutilise le bloc téléphone sous la box Calendly */
.cta-final__phone {
  font-size: 0.9375rem;
  color: var(--fg-secondary);
  text-align: left;
  margin: 0;
  line-height: 1.6;
}

.cta-final__phone a {
  color: var(--accent);
  font-weight: 600;
}
