/**
 * Fiche formation B2B — alignée design LP Learnifi (catalogue_lp / qualiopi)
 * Scope : .lf-course-detail (.lfcd-*)
 */
.lf-course-detail {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #1c1d1f;
  background: #f8f5ff;
  padding: 0 0 0;
  line-height: 1.5;
}
.lf-course-detail > .container {
  max-width: 1200px;
}

/* ── Hero LP (dark gradient) ── */
.lfcd-hero--lp {
  position: relative;
  background: linear-gradient(135deg, #1e0a3c 0%, #2d1259 50%, #0a0a23 100%);
  padding: 40px 0 32px;
  overflow: hidden;
  border-bottom: none;
}
.lfcd-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 100% 0%, rgba(164, 53, 240, 0.22), transparent 55%),
    radial-gradient(ellipse 35% 45% at 0% 100%, rgba(110, 231, 183, 0.1), transparent 50%);
  pointer-events: none;
}
.lfcd-hero--lp > .container {
  position: relative;
  z-index: 1;
}
.lfcd-breadcrumb--light,
.lfcd-breadcrumb--light a {
  color: rgba(255, 255, 255, 0.55);
}
.lfcd-breadcrumb--light a:hover {
  color: #f0abfc;
}
.lfcd-breadcrumb--light span[aria-hidden] {
  color: rgba(255, 255, 255, 0.25);
}
.lfcd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(164, 53, 240, 0.18);
  border: 1.5px solid rgba(164, 53, 240, 0.4);
  color: #f0abfc;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.lfcd-eyebrow-dot {
  width: 7px;
  height: 7px;
  background: #f0abfc;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(240, 171, 252, 0.25);
  animation: lfcd-pulse 2s infinite;
}
@keyframes lfcd-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}
.lfcd-hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: center;
}
.lfcd-hero-main h1 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 14px;
  color: #fff;
}
.lfcd-hero-pitch {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 20px;
  max-width: 580px;
}
.lfcd-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.lfcd-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 6px 14px;
}
.lfcd-badge i {
  color: #f0abfc;
  font-size: 11px;
}
.lfcd-badge--accent {
  background: rgba(164, 53, 240, 0.25);
  border-color: rgba(240, 171, 252, 0.35);
  color: #f0abfc;
}
.lfcd-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
}
.lfcd-hero-meta a {
  color: #f0abfc;
  text-decoration: none;
  font-weight: 600;
}
.lfcd-hero-meta a:hover {
  text-decoration: underline;
}
.lfcd-stars i {
  color: #fbbf24;
  font-size: 12px;
}
.lfcd-star-muted {
  opacity: 0.35;
}
.lfcd-screen-frame {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #e9d5ff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(164, 53, 240, 0.15);
}
.lfcd-screen-bar {
  background: #f1f3f4;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e9d5ff;
}
.lfcd-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.lfcd-dot-r { background: #ff5f57; }
.lfcd-dot-y { background: #febc2e; }
.lfcd-dot-g { background: #28c840; }
.lfcd-screen-label {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.lfcd-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #111;
}
.lfcd-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lfcd-preview-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.lfcd-preview-play:hover {
  background: rgba(0, 0, 0, 0.45);
}
.lfcd-preview-play i {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a435f0, #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  padding-left: 4px;
  box-shadow: 0 8px 32px rgba(164, 53, 240, 0.5);
}
.lfcd-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.lfcd-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 7px 14px;
}
.lfcd-trust-pill i {
  color: #6ee7b7;
  font-size: 12px;
}

/* ── Bandeau OF ── */
.lfcd-of-band {
  background: #fff;
  padding: 0;
  border-bottom: 1px solid #e9d5ff;
}
.lfcd-of-band-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  margin: -28px auto 0;
  max-width: 1160px;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #a435f0 0%, #7c3aed 100%);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(164, 53, 240, 0.35);
  color: #fff;
}
.lfcd-of-band .container {
  max-width: 1200px;
}
.lfcd-of-band-text {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 220px;
}
.lfcd-of-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.lfcd-of-band-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 2px;
}
.lfcd-of-band-text span {
  font-size: 13px;
  opacity: 0.88;
  line-height: 1.45;
}
.lfcd-of-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.lfcd-of-credits-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
}

/* ── Boutons LP ── */
.lfcd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.lfcd-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.lfcd-btn--block {
  width: 100%;
}
.lfcd-btn--lp-white {
  background: #fff;
  color: #7c3aed !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.lfcd-btn--lp-white:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  color: #6b21a8 !important;
}
.lfcd-btn--lp-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.lfcd-btn--lp-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff !important;
}
.lfcd-btn--lp-primary {
  background: linear-gradient(135deg, #a435f0 0%, #7c3aed 100%);
  color: #fff !important;
  box-shadow: 0 6px 24px rgba(164, 53, 240, 0.4);
}
.lfcd-btn--lp-primary:hover {
  box-shadow: 0 10px 32px rgba(164, 53, 240, 0.55);
  color: #fff !important;
}
.lfcd-btn--outline {
  background: #fff;
  color: #374151 !important;
  border: 1.5px solid #e5e7eb;
  font-weight: 700;
  border-radius: 10px;
}
.lfcd-btn--violet {
  background: linear-gradient(135deg, #a435f0, #7c3aed);
  color: #fff !important;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(164, 53, 240, 0.32);
}

/* ── Layout contenu ── */
.lfcd-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  padding: 48px 0 40px;
}
.lfcd-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px solid #f3e8ff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(164, 53, 240, 0.06);
}
.lfcd-nav a {
  font-size: 13px;
  font-weight: 700;
  color: #6a6f73;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.15s;
}
.lfcd-nav a:hover {
  color: #7c3aed;
  background: #faf5ff;
  border-color: #e9d5ff;
}

/* ── Sections ── */
.lfcd-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #7c3aed;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  padding: 4px 12px;
  border-radius: 20px;
}
.lfcd-section-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #a435f0;
  border-radius: 50%;
}
.lfcd-section {
  background: #fff;
  border: 1.5px solid #f3e8ff;
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(164, 53, 240, 0.05);
}
.lfcd-section--soft {
  background: linear-gradient(135deg, #faf5ff 0%, #fff 100%);
}
.lfcd-section--highlight {
  border-color: #e9d5ff;
}
.lfcd-section--compliance {
  background: #fff;
}
.lfcd-section h2 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  margin: 0 0 16px;
  color: #1c1d1f;
  line-height: 1.25;
}
.lfcd-section-lead {
  font-size: 15px;
  color: #6a6f73;
  line-height: 1.6;
  margin: -8px 0 20px;
}
.lfcd-section .description-head {
  display: none;
}
.lfcd-included-box {
  background: linear-gradient(135deg, #faf5ff, #fff);
  border: 1.5px solid #e9d5ff;
  border-radius: 14px;
  padding: 20px 24px;
}
.lfcd-outcomes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 4px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.lfcd-outcomes li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #374151;
  padding: 8px 0;
}
.lfcd-outcomes li i {
  color: #a435f0;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── Grille conformité (feat cards LP) ── */
.lfcd-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.lfcd-feat-card {
  background: #fff;
  border: 1.5px solid #f3e8ff;
  border-radius: 14px;
  padding: 22px;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(164, 53, 240, 0.05);
  position: relative;
  overflow: hidden;
}
.lfcd-feat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #a435f0, #7c3aed);
  opacity: 0;
  transition: opacity 0.25s;
}
.lfcd-feat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(164, 53, 240, 0.12);
}
.lfcd-feat-card:hover::before {
  opacity: 1;
}
.lfcd-feat-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #a435f0, #7c3aed);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #fff;
  font-size: 18px;
  transition: transform 0.25s;
}
.lfcd-feat-card:hover .lfcd-feat-icon {
  transform: scale(1.08) rotate(-3deg);
}
.lfcd-feat-title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #1c1d1f;
  margin-bottom: 6px;
}
.lfcd-feat-desc {
  font-size: 13px;
  color: #6a6f73;
  line-height: 1.5;
}

/* ── Sidebar sp-form-card ── */
.lfcd-sidebar {
  position: relative;
}
@media (min-width: 992px) {
  .lfcd-sidebar {
    align-self: stretch;
  }
  .lfcd-sidebar-card {
    position: -webkit-sticky;
    position: sticky;
    top: 24px;
    z-index: 20;
    max-height: calc(100vh - 48px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.lfcd-sidebar-card {
  background: #fff;
  border-radius: 20px;
  overflow-x: hidden;
  box-shadow: 0 16px 48px rgba(164, 53, 240, 0.14);
  border: 2px solid #e9d5ff;
}
.lfcd-sidebar-card--mk {
  box-shadow: 0 20px 56px rgba(124, 58, 237, 0.18);
}
.lfcd-sidebar-mk-header {
  background: linear-gradient(145deg, #1c0f2e 0%, #5b21b6 45%, #7c3aed 100%);
  padding: 20px 20px 18px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lfcd-sidebar-mk-header::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.lfcd-sidebar-mk-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #f0abfc;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(240, 171, 252, 0.35);
  border-radius: 20px;
  padding: 5px 12px;
  margin-bottom: 12px;
}
.lfcd-sidebar-mk-dot {
  width: 6px;
  height: 6px;
  background: #6ee7b7;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.25);
  animation: lfcd-sidebar-pulse 2s infinite;
}
@keyframes lfcd-sidebar-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.lfcd-sidebar-mk-headline {
  margin: 0 0 8px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  position: relative;
  z-index: 1;
}
.lfcd-sidebar-mk-headline em {
  font-style: normal;
  background: linear-gradient(90deg, #d8b4fe, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lfcd-sidebar-mk-sub {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  z-index: 1;
}
.lfcd-sidebar-mk-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 8px 16px;
  position: relative;
  z-index: 1;
}
.lfcd-sidebar-mk-price-val {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}
.lfcd-sidebar-mk-price-label {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.lfcd-sidebar-mk-body {
  padding: 18px 18px 20px;
}
.lfcd-sidebar-mk-balance {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 12px;
}
.lfcd-sidebar-mk-balance--low {
  color: #92400e;
  background: #fffbeb;
  border-color: #fcd34d;
}
.lfcd-sidebar-mk-balance i {
  color: inherit;
  opacity: 0.85;
}
.lfcd-sidebar-mk-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
.lfcd-sidebar-mk-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  line-height: 1.3;
  color: #fff !important;
  background: linear-gradient(135deg, #a435f0 0%, #7c3aed 100%);
  box-shadow: 0 6px 24px rgba(164, 53, 240, 0.42);
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.lfcd-sidebar-mk-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(164, 53, 240, 0.55);
  color: #fff !important;
  text-decoration: none;
}
.lfcd-sidebar-mk-btn--ghost {
  background: #fff;
  color: #7c3aed !important;
  border: 1.5px solid #e9d5ff;
  box-shadow: none;
}
.lfcd-sidebar-mk-btn--ghost:hover {
  background: #faf5ff;
  color: #7c3aed !important;
  box-shadow: 0 4px 16px rgba(164, 53, 240, 0.1);
}
.lfcd-sidebar-mk-micro {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-align: center;
  line-height: 1.45;
}
.lfcd-sidebar-mk-micro i {
  margin-right: 4px;
  font-size: 10px;
}
.lfcd-sidebar-mk-wins {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #f3e8ff;
  border-radius: 14px;
  overflow: hidden;
  background: #faf5ff;
}
.lfcd-sidebar-mk-win {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #f3e8ff;
  background: #fff;
}
.lfcd-sidebar-mk-win:last-child {
  border-bottom: none;
}
.lfcd-sidebar-mk-win-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.lfcd-sidebar-mk-win-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.lfcd-sidebar-mk-win-text strong {
  font-size: 13px;
  font-weight: 800;
  color: #1c1d1f;
  line-height: 1.3;
}
.lfcd-sidebar-mk-win-text span {
  font-size: 11px;
  color: #6a6f73;
  line-height: 1.45;
}
.lfcd-sidebar-mk-link {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #7c3aed;
  text-align: center;
  text-decoration: none;
}
.lfcd-sidebar-mk-link:hover {
  color: #a435f0;
  text-decoration: underline;
}

/* Legacy sidebar rows (autres contextes) */
.lfcd-sidebar-header {
  background: linear-gradient(135deg, #a435f0 0%, #7c3aed 60%, #5b21b6 100%);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
.lfcd-sidebar-header-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lfcd-sidebar-header-credits {
  font-size: 20px;
  font-weight: 900;
}
.lfcd-sidebar-body {
  padding: 22px;
}
.lfcd-sidebar-tagline {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  margin: 0 0 14px;
  text-align: center;
}
.lfcd-sidebar-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}
.lfcd-sidebar-meta {
  border-top: 1px dashed #e9d5ff;
  padding-top: 14px;
  margin-top: 16px;
}
.lfcd-sidebar-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 7px 0;
  color: #6a6f73;
}
.lfcd-sidebar-row strong {
  color: #1c1d1f;
  font-weight: 700;
}

/* ── CTA bas de page (sp-cta-section) ── */
.lfcd-bottom-cta {
  background: #fff;
  border-top: 1px solid #e9d5ff;
  padding: 72px 0;
  text-align: center;
  margin-top: 8px;
}
.lfcd-bottom-eyebrow {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  color: #7c3aed;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  padding: 6px 16px;
  border-radius: 30px;
}
.lfcd-bottom-cta h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 900;
  color: #1c1d1f;
  margin: 0 0 12px;
  line-height: 1.15;
}
.lfcd-bottom-cta p {
  font-size: 16px;
  color: #6a6f73;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.65;
}
.lfcd-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.lfcd-btn--lp-outline-light {
  background: transparent;
  color: #7c3aed !important;
  border: 2px solid #e9d5ff;
}
.lfcd-btn--lp-outline-light:hover {
  background: #faf5ff;
  border-color: #a435f0;
}
.lfcd-bottom-guarantees {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.lfcd-bottom-guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #6a6f73;
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  padding: 8px 16px;
  border-radius: 999px;
}
.lfcd-bottom-guarantees i {
  color: #a435f0;
}

/* ── Formations similaires (lf-lp-related) ── */
.lfcd-related {
  padding: 56px 0 64px;
}
.lfcd-related h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  margin: 8px 0 24px;
}
.lfcd-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.lfcd-related-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1.5px solid #e9d5ff;
  border-radius: 14px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.lfcd-related-card:hover {
  transform: translateY(-3px);
  border-color: #a435f0;
  box-shadow: 0 8px 24px rgba(164, 53, 240, 0.12);
  color: inherit;
  text-decoration: none;
}
.lfcd-related-thumb {
  width: 72px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #a435f0, #7c3aed);
}
.lfcd-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lfcd-related-card-body h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 4px;
  line-height: 1.35;
  color: #1c1d1f;
}
.lfcd-related-card-body p {
  font-size: 12px;
  color: #6a6f73;
  margin: 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lfcd-related-meta {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #a435f0;
}

/* ── Description (fiche B2B) ── */
.lfcd-desc {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lfcd-desc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}
.lfcd-desc-stat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1.5px solid #e9d5ff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(164, 53, 240, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.lfcd-desc-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(164, 53, 240, 0.1);
}
.lfcd-desc-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #a435f0, #7c3aed);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}
.lfcd-desc-stat-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: 2px;
}
.lfcd-desc-stat-value {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1c1d1f;
  line-height: 1.35;
}
.lfcd-desc-prose {
  background: #fff;
  border: 1.5px solid #f3e8ff;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 4px 16px rgba(164, 53, 240, 0.04);
}
.lfcd-desc-prose > :first-child {
  margin-top: 0;
}
.lfcd-desc-prose > :last-child {
  margin-bottom: 0;
}
.lfcd-desc-prose h3,
.lfcd-desc-prose h4 {
  font-size: 16px;
  font-weight: 800;
  color: #1c1d1f;
  margin: 24px 0 10px;
  line-height: 1.3;
}
.lfcd-desc-prose h3:first-child,
.lfcd-desc-prose h4:first-child {
  margin-top: 0;
}
.lfcd-desc-prose p {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin: 0 0 14px;
}
.lfcd-desc-prose ul,
.lfcd-desc-prose ol {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 8px;
}
.lfcd-desc-prose ul li,
.lfcd-desc-prose ol li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}
.lfcd-desc-prose ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #faf5ff;
  color: #a435f0;
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lfcd-desc-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lfcd-desc-block-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lfcd-desc-block-head i {
  color: #a435f0;
  font-size: 18px;
}
.lfcd-desc-block-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #1c1d1f;
}
.lfcd-desc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.lfcd-desc-cards--single {
  grid-template-columns: 1fr;
}
.lfcd-desc-cards--support {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.lfcd-desc-card {
  background: #fff;
  border: 1.5px solid #e9d5ff;
  border-radius: 14px;
  padding: 20px 22px;
  height: 100%;
  box-shadow: 0 4px 16px rgba(164, 53, 240, 0.05);
}
.lfcd-desc-card--compact {
  padding: 18px 20px;
}
.lfcd-desc-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.lfcd-desc-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  color: #7c3aed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lfcd-desc-card-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #1c1d1f;
}
.lfcd-desc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.lfcd-desc-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #374151;
}
.lfcd-desc-list li i {
  color: #a435f0;
  margin-top: 4px;
  flex-shrink: 0;
  font-size: 11px;
}
.lfcd-desc-list--compact {
  gap: 6px;
}
.lfcd-desc-card--text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}

/* ── Formateur (fiche B2B) ── */
.lfcd-instructors {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lfcd-instructor-card {
  background: #fff;
  border: 1.5px solid #e9d5ff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(164, 53, 240, 0.05);
}
.lfcd-instructor-card-inner {
  display: flex;
  flex-direction: column;
}
.lfcd-instructor-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #1c0f2e 0%, #5b21b6 100%);
}
.lfcd-instructor-identity {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lfcd-instructor-identity-main {
  min-width: 0;
}
.lfcd-instructor-avatar {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.lfcd-instructor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lfcd-instructor-avatar--logo {
  background: #fff;
}
.lfcd-instructor-avatar--logo img {
  object-fit: contain;
  padding: 6px;
}
.lfcd-instructor-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.lfcd-instructor-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.lfcd-instructor-rating-badge i {
  color: #fbbf24;
}
.lfcd-instructor-rating-badge small {
  font-weight: 600;
  opacity: 0.85;
}
.lfcd-instructor-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lfcd-instructor-top .lfcd-instructor-role {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2px;
}
.lfcd-instructor-name {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
}
.lfcd-instructor-top .lfcd-instructor-name a {
  color: #fff;
  text-decoration: none;
}
.lfcd-instructor-top .lfcd-instructor-name a:hover {
  color: #e9d5ff;
}
.lfcd-instructor-top .lfcd-instructor-title {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lfcd-instructor-bio {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #374151;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lfcd-instructor-bio--fallback {
  color: #6a6f73;
  font-style: italic;
}
.lfcd-instructor-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.lfcd-instructor-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.lfcd-instructor-trust li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #5b21b6;
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  border-radius: 20px;
  padding: 3px 9px;
}
.lfcd-instructor-trust li i {
  color: #a435f0;
  font-size: 10px;
}
.lfcd-instructor-skills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lfcd-instructor-skills li {
  font-size: 11px;
  font-weight: 700;
  color: #5b21b6;
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  border-radius: 20px;
  padding: 3px 10px;
}
.lfcd-instructor-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}
.lfcd-instructor-stat {
  min-width: 72px;
  background: #fff;
  border: 1px solid #e9d5ff;
  border-radius: 10px;
  padding: 6px 10px;
  text-align: center;
}
.lfcd-instructor-stat-value {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #1c1d1f;
  line-height: 1.1;
}
.lfcd-instructor-stat-value small {
  font-size: 11px;
  font-weight: 700;
  color: #6a6f73;
}
.lfcd-instructor-stat-label {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #7c3aed;
  line-height: 1.2;
}
.lfcd-instructor-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}
.lfcd-instructor-actions .lfcd-btn {
  font-size: 12px;
  padding: 8px 14px;
}
.lfcd-instructor-social {
  display: flex;
  gap: 6px;
}
.lfcd-instructor-social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #e9d5ff;
  background: #fff;
  color: #7c3aed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.lfcd-instructor-social-link:hover {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #fff;
}

/* ── Overrides legacy ── */
.lf-course-detail .course-right-section,
.lf-course-detail .course-decription .course-right-section {
  position: static !important;
}
.lf-course-detail .instructor {
  display: none;
}
.lf-course-detail .scorm-sections-header {
  background: #faf5ff;
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid #e9d5ff;
  margin-bottom: 12px;
  font-weight: 600;
}

@media (max-width: 991px) {
  .lfcd-hero-grid,
  .lfcd-layout {
    grid-template-columns: 1fr;
  }
  .lfcd-of-band-card {
    margin-top: -16px;
    border-radius: 12px;
  }
  .lfcd-sidebar {
    order: -1;
  }
  .lfcd-sidebar-card {
    position: static;
    top: auto;
    max-height: none;
    overflow: hidden;
  }
  .lfcd-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}

@media (max-width: 575px) {
  .lfcd-section {
    padding: 20px 18px;
  }
  .lfcd-of-band-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .lfcd-of-band-actions {
    flex-direction: column;
  }
  .lfcd-of-band-actions .lfcd-btn {
    width: 100%;
    justify-content: center;
  }
  .lfcd-hero--lp {
    padding: 28px 0 24px;
  }
  .lfcd-instructor-top {
    flex-wrap: wrap;
    padding: 12px 14px;
  }
  .lfcd-instructor-identity {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .lfcd-instructor-meta {
    flex-direction: column;
    align-items: stretch;
  }
  .lfcd-instructor-stats {
    width: 100%;
  }
  .lfcd-instructor-body {
    padding: 12px 14px 14px;
  }
  .lfcd-instructor-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .lfcd-instructor-actions .lfcd-btn {
    width: 100%;
    justify-content: center;
  }
}
