/* 
 * Studies Learning Premium - Devenir Formateur 
 * Isolated styles with .studies-p-df- prefix
 */

:root {
  --sp-df-primary: #0047ff;
  --sp-df-primary-container: #1e3a8a;
  --sp-df-secondary: #00d4aa;
  --sp-df-surface: #f0f4ff;
  --sp-df-on-surface: #0f172a;
  --sp-df-on-surface-variant: #64748b;
  --sp-df-accent: #0084ff; /* Adjusted to match the "Teach a course" blue */
  --sp-df-accent-light: #33a1ff;
  --sp-df-glass-bg: rgba(255, 255, 255, 0.7);
  --sp-df-glass-border: rgba(255, 255, 255, 0.4);
}

.page-template-page-devenir-formateur {
  background-image: none !important;
  background: #ffffff !important;
}

/* Global Spacing Reductions */
.studies-p-df-hero,
.studies-p-df-how-it-works,
.studies-p-df-faq,
.studies-p-df-cta {
  padding-top: 3rem !important;
  padding-bottom: -3rem !important;
}

/* 1. Hero Section "Premium Card Mode" */
.studies-p-df-hero {
  background: transparent;
  padding: 120px 2rem 1rem !important; /* Adjusted for top nav */
}

.studies-p-df-hero-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 55%, #0047ff 100%);
  border-radius: 2.5rem;
  padding: 3rem;
  position: relative;
  max-width: 1200px;
  max-height: 400px;
  min-height: 300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  box-shadow: 0 25px 60px rgba(0, 71, 255, 0.2);
  overflow: hidden;
}

.studies-p-df-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 850px;
}

.studies-p-df-hero-title {
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); /* Substantially reduced */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.studies-p-df-hero-title span {
  color: #00d4aa;
}

.studies-p-df-hero-subtitle {
  font-size: 0.95rem; /* Substantially reduced */
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  line-height: 1.5;
  margin: 0 auto 1.5rem;
}

/* Compact Hero Button */
.hero-banner-cta {
  margin-top: 1.5rem !important;
}

.studies-p-df-hero .studies-p-df-cta-btn {
  padding: 0.8rem 1.8rem;
  font-size: 0.98rem;
}

/* 1.5 Mini Stats Strip */
.df-stats-strip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.df-stats-strip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(0,71,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.df-stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  border-radius: 24px;
  border: 1px solid rgba(0,71,255,0.06);
  box-shadow: 0 8px 40px rgba(0,71,255,0.04), 0 2px 8px rgba(0,0,0,0.02);
  position: relative;
  overflow: hidden;
}

.df-stats-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0047ff, #7c3aed, #00d4aa, transparent);
  opacity: 0.3;
}

.df-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex: 1;
  position: relative;
  animation: dfStatFadeIn 0.8s ease-out backwards;
}
.df-stat-item:nth-child(1) { animation-delay: 0s; }
.df-stat-item:nth-child(3) { animation-delay: 0.15s; }
.df-stat-item:nth-child(5) { animation-delay: 0.3s; }
.df-stat-item:nth-child(7) { animation-delay: 0.45s; }

.df-stat-number {
  font-family: "Outfit", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a1c3b;
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 16px rgba(0,71,255,0.08);
  background: linear-gradient(135deg, #0047ff 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.df-stat-plus,
.df-stat-k {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0047ff;
  vertical-align: super;
  margin-left: 1px;
  -webkit-text-fill-color: #0047ff;
}

.df-stat-k {
  font-size: 1.3rem;
  margin-left: 2px;
}

.df-stat-label {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.df-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(0,71,255,0.08);
  flex-shrink: 0;
}

@keyframes dfStatFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .df-stats-inner {
    flex-wrap: wrap;
    padding: 1.8rem 1.5rem;
    gap: 0.5rem;
  }
  .df-stat-item {
    flex: 1 1 40%;
    animation: none;
  }
  .df-stat-divider:nth-child(4) {
    display: none;
  }
  .df-stat-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .df-stat-item {
    flex: 1 1 100%;
  }
  .df-stat-divider {
    display: none;
  }
  .df-stats-inner {
    gap: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   1.7  "Pourquoi nous rejoindre ?" — 8 Avantages Cards
   ═══════════════════════════════════════════════════════════ */
.df-why-section {
  padding: 6rem 2rem 6rem;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

/* 3D Background Canvas Container (R3F) */
#df-3d-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}

/* Ensure content is above the 3D canvas */
.df-why-section .df-why-container {
  position: relative;
  z-index: 1;
}

/* Subtle top/bottom framing lines */
.df-why-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 500px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 71, 255, 0.08), transparent);
}

.df-why-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.df-why-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.df-why-title {
  margin: 0;
}

.df-why-ask {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 200;
  line-height: 1.1;
  color: #1a1c3b;
  letter-spacing: -0.04em;
}

.df-why-ask-em {
  font-weight: 600;
  background: linear-gradient(135deg, #0047ff, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.df-why-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #0047ff, #7c3aed, #00d4aa);
  border-radius: 2px;
  margin: 1.5rem auto;
}

.df-why-desc {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 300;
  color: #475569;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

.df-why-em {
  font-weight: 500;
  color: #1a1c3b;
}

/* Grid */
.df-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Card */
.df-why-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem;
  background: #ffffff;
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid rgba(0, 71, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 7, 34, 0.03);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  outline: none;
  position: relative;
}

/* Left accent bar */
.df-why-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 2px;
  background: #0047ff;
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
}

.df-why-card:hover,
.df-why-card:focus-visible {
  transform: translateX(6px);
  box-shadow: 0 20px 40px rgba(0, 7, 34, 0.06);
  border-color: rgba(0, 71, 255, 0.2);
}

.df-why-card:hover::before,
.df-why-card:focus-visible::before {
  transform: scaleY(1);
}

.df-why-card-num {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0047ff;
  flex-shrink: 0;
  line-height: 1;
}

.df-why-card-icon {
  font-size: 1.2rem;
  color: #0047ff;
  flex-shrink: 0;
}

.df-why-card h3 {
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1a1c3b;
  line-height: 1.35;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   “Pourquoi nous rejoindre ?” — Click-to-Open Animations
   Les cartes flottent doucement, l’icône pulse et la barre
   d’accent s’anime pour signaler l’interactivité.
   ═══════════════════════════════════════════════════════════ */

/* Floating card — indique “cliquez-moi” */
@keyframes dfWhyFloat {
  0%, 100% {
    top: 0;
    box-shadow: 0 10px 30px rgba(0, 7, 34, 0.03);
  }
  50% {
    top: -6px;
    box-shadow: 0 24px 50px rgba(0, 7, 34, 0.08), 0 0 0 1px rgba(0, 71, 255, 0.02);
  }
}

.df-why-card {
  animation: dfWhyFloat 3.2s ease-in-out infinite;
}

/* Staggered delays pour un effet de vague */
.df-why-card:nth-child(1) { animation-delay: 0s; }
.df-why-card:nth-child(2) { animation-delay: 0.15s; }
.df-why-card:nth-child(3) { animation-delay: 0.3s; }
.df-why-card:nth-child(4) { animation-delay: 0.45s; }
.df-why-card:nth-child(5) { animation-delay: 0.6s; }
.df-why-card:nth-child(6) { animation-delay: 0.75s; }
.df-why-card:nth-child(7) { animation-delay: 0.9s; }
.df-why-card:nth-child(8) { animation-delay: 1.05s; }

/* Pause l’animation au survol et focus */
.df-why-card:hover,
.df-why-card:focus-visible {
  animation-play-state: paused;
}

/* Pulse sur l’icône — attire l’oeil vers l’interaction */
@keyframes dfWhyIconPulse {
  0%, 100% {
    transform: scale(1);
    color: #0047ff;
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    transform: scale(1.2);
    color: #7c3aed;
    filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.25));
  }
}

.df-why-card-icon {
  animation: dfWhyIconPulse 2.8s ease-in-out infinite;
}

.df-why-card:nth-child(1) .df-why-card-icon { animation-delay: 0s; }
.df-why-card:nth-child(2) .df-why-card-icon { animation-delay: 0.15s; }
.df-why-card:nth-child(3) .df-why-card-icon { animation-delay: 0.3s; }
.df-why-card:nth-child(4) .df-why-card-icon { animation-delay: 0.45s; }
.df-why-card:nth-child(5) .df-why-card-icon { animation-delay: 0.6s; }
.df-why-card:nth-child(6) .df-why-card-icon { animation-delay: 0.75s; }
.df-why-card:nth-child(7) .df-why-card-icon { animation-delay: 0.9s; }
.df-why-card:nth-child(8) .df-why-card-icon { animation-delay: 1.05s; }

.df-why-card:hover .df-why-card-icon,
.df-why-card:focus-visible .df-why-card-icon {
  animation-play-state: paused;
}

/* Accent barre gauche — pulse doux pour renforcer le signal */
@keyframes dfWhyAccentPulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

.df-why-card::before {
  animation: dfWhyAccentPulse 2s ease-in-out infinite;
}

.df-why-card:hover::before,
.df-why-card:focus-visible::before {
  animation-play-state: paused;
}

/* ── Responsive grid ── */
@media (max-width: 1024px) {
  .df-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .df-why-section {
    padding: 4rem 1.25rem 3.5rem;
  }
  .df-why-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .df-why-card {
    padding: 1.25rem 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   1.8  Popup "L'Écrin de Détail"
   ═══════════════════════════════════════════════════════════ */

/* Overlay */
.df-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
  padding: 2rem;
}

.df-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Popup container */
.df-popup {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: #ffffff;
  border-radius: 28px;
  padding: 3rem 2.5rem 2.8rem;
  box-shadow:
    0 40px 80px rgba(26, 28, 59, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  transform: scale(0.9) translateY(15px);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1),
    opacity 0.35s ease;
  outline: none;
}

.df-popup-overlay.is-open .df-popup {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Top accent gradient line */
.df-popup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2.5rem;
  right: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, #0047ff, #ff222d);
  border-radius: 0 0 2px 2px;
}

/* Close button */
.df-popup-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.03);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
  padding: 0;
  z-index: 2;
}

.df-popup-close:hover {
  background: rgba(255, 34, 45, 0.08);
  transform: rotate(90deg);
}

.df-popup-close span,
.df-popup-close span::before {
  position: absolute;
  width: 14px;
  height: 1.5px;
  background: #1a1c3b;
  border-radius: 1px;
}

.df-popup-close span {
  transform: rotate(45deg);
}

.df-popup-close span::before {
  content: "";
  transform: rotate(90deg);
}

/* Body */
.df-popup-body {
  position: relative;
  text-align: center;
}

.df-popup-num {
  font-family: "Outfit", sans-serif;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(0, 71, 255, 0.05);
  line-height: 1;
  display: block;
  letter-spacing: -0.04em;
  user-select: none;
  position: absolute;
  top: -1.5rem;
  right: -0.5rem;
  pointer-events: none;
}

.df-popup-icon {
  font-size: 2.4rem;
  color: #0047ff;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.df-popup-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1c3b;
  line-height: 1.35;
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
}

.df-popup-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.75;
  margin: 0 auto;
  max-width: 440px;
}

/* Responsive popup */
@media (max-width: 640px) {
  .df-popup-overlay {
    padding: 1rem;
    align-items: flex-end;
  }
  .df-popup {
    padding: 2.5rem 1.5rem 2rem;
    border-radius: 24px 24px 0 0;
    max-width: none;
  }
  .df-popup::before {
    left: 1.5rem;
    right: 1.5rem;
  }
  .df-popup-num {
    font-size: 3.5rem;
    top: -1rem;
    right: 0;
  }
  .df-popup-title {
    font-size: 1.25rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   1.9  Section Expertise — Slide Deck Horizontal
   ═══════════════════════════════════════════════════════════ */

.df-expertise-section {
  padding: 5rem 2rem 3rem;
  background: #ffffff;
  position: relative;
}

.df-exp-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.df-exp-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.df-exp-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0047ff;
  margin-bottom: 0.8rem;
}

.df-exp-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: #1a1c3b;
  letter-spacing: -0.02em;
}

.df-exp-title span {
  font-weight: 700;
  color: #0047ff;
}

/* ═══════════════════════════════════════════════════════════
   Hover Accordion — 70/30 layout + auto-scroll
   ═══════════════════════════════════════════════════════════ */
.df-exp-accordion {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  min-height: 380px;
}

.df-exp-item {
  flex: 1;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: flex 0.6s cubic-bezier(0.2, 0.9, 0.4, 1);
}

/* Active card: ~70% width */
.df-exp-item.is-active {
  flex: 7;
}

/* Hover any item → reset all, then expand hovered */
.df-exp-accordion:hover .df-exp-item {
  flex: 1;
}

.df-exp-accordion:hover .df-exp-item:hover,
.df-exp-accordion:hover .df-exp-item.is-hover {
  flex: 7;
}

.df-exp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.75) 40%, rgba(5,8,20,0.97) 100%);
  z-index: 1;
  transition: background 0.5s ease;
}

.df-exp-item.is-active .df-exp-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.8) 40%, rgba(5,8,20,0.98) 100%);
}

.df-exp-accordion:hover .df-exp-item .df-exp-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.75) 40%, rgba(5,8,20,0.97) 100%);
}

.df-exp-accordion:hover .df-exp-item:hover .df-exp-overlay,
.df-exp-accordion:hover .df-exp-item.is-hover .df-exp-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.8) 40%, rgba(5,8,20,0.98) 100%);
}

.df-exp-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem 1.8rem;
  color: #fff;
}

.df-exp-num {
  position: absolute;
  top: 0.6rem;
  left: 1.5rem;
  font-family: "Outfit", sans-serif;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  -webkit-text-stroke: 1px rgba(255,255,255,0.18);
  text-shadow:
    0 0 30px rgba(255,255,255,0.06),
    0 0 60px rgba(255,255,255,0.03);
}

.df-exp-text {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.df-exp-stat {
  font-family: "Outfit", sans-serif;
  font-size: clamp(3.2rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6), 0 0 60px rgba(255,255,255,0.25), 0 0 120px rgba(147,180,255,0.15);
  background: linear-gradient(135deg, #ffffff 60%, #b0c8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.df-exp-unit {
  font-weight: 600;
  font-size: 0.6em;
  color: #fff;
  margin-left: 4px;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.df-exp-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 0.9rem;
  margin-bottom: 0.1rem;
  text-shadow: 0 2px 15px rgba(0,0,0,0.5), 0 0 40px rgba(255,255,255,0.15);
  position: relative;
  padding-left: 1.6rem;
  align-self: flex-end;
  text-align: right;
  padding-right: 0.5rem;
}

.df-exp-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.8rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  box-shadow: 0 0 8px rgba(96,165,250,0.4);
}

.df-exp-detail {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, max-height 0.5s ease;
}

.df-exp-item.is-active .df-exp-detail {
  opacity: 1;
  max-height: 280px;
}

.df-exp-accordion:hover .df-exp-item .df-exp-detail {
  opacity: 0;
  max-height: 0;
}

.df-exp-accordion:hover .df-exp-item:hover .df-exp-detail,
.df-exp-accordion:hover .df-exp-item.is-hover .df-exp-detail {
  opacity: 1;
  max-height: 280px;
  transition-delay: 0.2s;
}

.df-exp-detail-inner {
  margin-top: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.df-exp-detail p {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.65;
  margin: 0.3rem 0;
  text-shadow:
    0 2px 16px rgba(0,0,0,0.6),
    0 0 20px rgba(255,255,255,0.5),
    0 0 50px rgba(255,255,255,0.25),
    0 0 100px rgba(255,255,255,0.1);
  -webkit-text-fill-color: #fff;
}

.df-exp-detail p strong {
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(96,165,250,0.3);
}

.df-exp-bq {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.55;
  font-style: italic;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  text-shadow:
    0 2px 16px rgba(0,0,0,0.5),
    0 0 20px rgba(255,255,255,0.5),
    0 0 50px rgba(255,255,255,0.25),
    0 0 100px rgba(255,255,255,0.1);
  -webkit-text-fill-color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   Standalone Experience Banner — full-width with borders
   ═══════════════════════════════════════════════════════════ */
.df-exp-standalone {
  padding: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f0f5ff 50%, #ffffff 100%);
  position: relative;
}

.df-exp-standalone-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}

.df-exp-standalone-border {
  width: 100%;
  height: 2px;
  border-radius: 2px;
}

.df-exp-standalone-border--top {
  background: linear-gradient(90deg, transparent, #0047ff, #7c3aed, #00d4aa, transparent);
  margin-bottom: 1.5rem;
}

.df-exp-standalone-border--bottom {
  background: linear-gradient(90deg, transparent, #00d4aa, #7c3aed, #0047ff, transparent);
  margin-top: 1.5rem;
}

.df-exp-standalone .df-exp-title-caveat {
  font-family: "Caveat", cursive !important;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 700;
  color: #1a1c3b;
  line-height: 1.3;
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}

.df-exp-standalone .df-exp-title-dm {
  font-family: "DM Sans", sans-serif !important;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 400;
  color: #475569;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}

.df-exp-standalone .df-exp-title-dm strong {
  font-weight: 700;
  color: #1a1c3b;
}

.df-exp-standalone .df-blue {
  color: #0047ff;
  font-weight: 600;
}

.df-exp-standalone .df-exp-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #0047ff, #7c3aed, #00d4aa);
  border-radius: 2px;
  margin: 0.8rem auto;
}

/* ═══════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .df-exp-item.is-active {
    flex: 5;
  }
  .df-exp-accordion:hover .df-exp-item:hover,
  .df-exp-accordion:hover .df-exp-item.is-hover {
    flex: 5;
  }
}

@media (max-width: 768px) {
  .df-exp-accordion {
    flex-direction: column;
    min-height: auto;
    gap: 0.6rem;
  }
  .df-exp-item,
  .df-exp-item.is-active {
    flex: none !important;
    width: 100%;
    min-height: 80px;
  }
  .df-exp-accordion:hover .df-exp-item:hover,
  .df-exp-accordion:hover .df-exp-item.is-hover {
    flex: none !important;
  }
  .df-exp-item.is-active {
    min-height: 280px;
  }
  .df-exp-content {
    padding: 1rem 1.1rem;
  }
  .df-exp-item.is-active .df-exp-detail {
    opacity: 1;
    max-height: 200px;
  }
}

/* 2. Features Section — Premium Bento */
.studies-p-df-features-section {
  padding: 1.5rem 2rem 2rem !important;
  background: #fff;
}

.studies-p-df-features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.studies-p-df-features-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.studies-p-df-features-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.25;
  color: #1a1c3b;
  letter-spacing: -0.02em;
}

.studies-p-df-features-title span {
  font-weight: 700;
  background: linear-gradient(135deg, #0047ff, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Grid */
.studies-p-df-features-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.2rem;
  height: 400px;
  max-height: 400px;
}

/* Card base */
.studies-p-df-feature-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.8rem;
  text-align: left;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Card 1: Tall image block */
.studies-p-df-feature-main {
  grid-row: span 2;
  background: linear-gradient(155deg, #17002e, #3b0764);
  color: white;
  padding: 0;
  border: none;
}

.studies-p-df-feature-image {
  height: 62%;
  overflow: hidden;
}

.studies-p-df-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.studies-p-df-feature-content {
  padding: 1.5rem 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.studies-p-df-feature-main h3 {
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.studies-p-df-feature-main p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Icon styles cards 2 & 3 */
.studies-p-df-feature-icon {
  font-size: 2rem;
  color: #0047ff;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.studies-p-df-feature-card:not(.studies-p-df-feature-main) h3 {
  color: #1a1c3b;
  font-family: "Outfit", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.studies-p-df-feature-card:not(.studies-p-df-feature-main) p {
  color: #5a5f7a;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════
   5. Instructors — Carrousel 3D à effet de profondeur
   ═══════════════════════════════════════════════════════════ */
.sdf-section {
  padding: 4rem 2rem 2rem;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.sdf-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,71,255,0.05) 0%, rgba(124,58,237,0.02) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.sdf-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.sdf-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0047ff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}
.sdf-eyebrow i { font-size: 0.85rem; }
.sdf-header {
  text-align: center;
  margin-bottom: 0.75rem;
}
.sdf-header h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: #1a1c3b;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.sdf-header h2 span {
  font-weight: 700;
  background: linear-gradient(135deg, #0047ff, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sdf-header p {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0;
}
.sdf-header p strong { font-weight: 700; color: #1a1c3b; }
.sdf-carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.sdf-carousel-stage {
  position: relative;
  height: 300px;
  perspective: 1200px;
}
.sdf-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 24px rgba(0,0,0,0.03);
  text-align: center;
  padding: 0 0 1.8rem;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s ease,
              filter 0.6s ease,
              box-shadow 0.4s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.sdf-card:hover {
  box-shadow: 0 12px 48px rgba(0,71,255,0.08), 0 4px 16px rgba(0,0,0,0.04);
}
.sdf-card-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0,71,255,0.1) 0%, rgba(124,58,237,0.04) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sdf-card:hover .sdf-card-glow { opacity: 1; transform: translateX(-50%) scale(1.2); }
.sdf-card-avatar {
  width: 120px;
  height: 120px;
  margin: 2.5rem auto 0;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.sdf-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}
.sdf-card:hover .sdf-card-avatar img { transform: scale(1.05); }
.sdf-card-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0047ff, #7c3aed, #00d4aa);
  z-index: 1;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: blur(0.5px);
}
.sdf-card:hover .sdf-card-ring { transform: scale(1.1); filter: brightness(1.25) blur(0); }
.sdf-card-info {
  padding: 1.2rem 1.2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 2;
}
.sdf-card-info h4 {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1c3b;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  letter-spacing: -0.01em;
}
.sdf-card-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0047ff;
  background: linear-gradient(135deg, rgba(0,71,255,0.06), rgba(124,58,237,0.06));
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,71,255,0.04);
}
.sdf-card-badge i { font-size: 0.75rem; }
.sdf-card:hover .sdf-card-badge {
  background: linear-gradient(135deg, rgba(0,71,255,0.1), rgba(124,58,237,0.1));
  border-color: rgba(0,71,255,0.08);
}
.sdf-card[data-pos="0"] {
  transform: translate(-50%, -50%) scale(1) translateZ(0);
  opacity: 1;
  filter: blur(0);
  z-index: 10;
}
.sdf-card[data-pos="1"],
.sdf-card[data-pos="-1"] {
  z-index: 8;
  opacity: 0.7;
  filter: blur(1px);
}
.sdf-card[data-pos="1"] { transform: translate(calc(-50% + 210px), -50%) scale(0.82) rotateY(-12deg); }
.sdf-card[data-pos="-1"] { transform: translate(calc(-50% - 210px), -50%) scale(0.82) rotateY(12deg); }
.sdf-card[data-pos="2"],
.sdf-card[data-pos="-2"] {
  z-index: 5;
  opacity: 0.4;
  filter: blur(2px);
  pointer-events: none;
}
.sdf-card[data-pos="2"] { transform: translate(calc(-50% + 350px), -50%) scale(0.6) rotateY(-24deg); }
.sdf-card[data-pos="-2"] { transform: translate(calc(-50% - 350px), -50%) scale(0.6) rotateY(24deg); }
.sdf-card[data-pos="3"],
.sdf-card[data-pos="-3"] {
  z-index: 2;
  opacity: 0;
  filter: blur(4px);
  pointer-events: none;
  transform: translate(calc(-50% + 460px), -50%) scale(0.4) rotateY(-36deg);
}
.sdf-card[data-pos="-3"] { transform: translate(calc(-50% - 460px), -50%) scale(0.4) rotateY(36deg); }
.sdf-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  color: #1a1c3b;
  font-size: 1.1rem;
  transition: all 0.35s ease;
}
.sdf-nav:hover {
  background: linear-gradient(135deg, #0047ff, #7c3aed);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(0,71,255,0.2);
  transform: translateY(-50%) scale(1.05);
}
.sdf-nav-prev { left: -10px; }
.sdf-nav-next { right: -10px; }
.sdf-nav:disabled { opacity: 0.15; cursor: default; pointer-events: none; }
@media (max-width: 768px) {
  .sdf-section { padding: 3rem 1rem 1.5rem; }
  .sdf-carousel-stage { height: 260px; }
  .sdf-card { width: 220px; }
  .sdf-card-avatar { width: 80px; height: 80px; margin-top: 1.2rem; }
  .sdf-card-info h4 { font-size: 0.92rem; }
  .sdf-card[data-pos="1"], .sdf-card[data-pos="-1"] { opacity: 0; pointer-events: none; }
  .sdf-nav { display: none; }
}

@media (max-width: 480px) {
  .sdf-section {
    padding: 2rem 0.5rem 1rem;
  }
  .sdf-stage {
    height: 220px;
  }
  .sdf-card {
    width: 180px;
  }
  .sdf-card-avatar {
    width: 60px;
    height: 60px;
  }
  .sdf-card-name {
    font-size: 0.85rem;
  }
  .sdf-card-role {
    font-size: 0.65rem;
  }
  .sdf-card-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
  }
  .sdf-nav {
    display: flex;
  }
}

/* ═══════════════════════════════════════════════════════════
   6. Blog Section — Articles thématiques formateur
   ═══════════════════════════════════════════════════════════ */
.df-blog-section {
  padding: 5rem 2rem;
  background: #f8fafc;
}

.df-blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Header ── */
.df-blog-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.df-blog-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  color: #1a1c3b;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.df-blog-title span {
  font-weight: 700;
  background: linear-gradient(135deg, #0047ff, #00d4aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.df-blog-sub {
  font-size: 0.95rem;
  font-weight: 400;
  color: #64748b;
  margin: 0 auto;
  max-width: 520px;
}

/* ── Track ── */
.df-blog-track-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.df-blog-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.2,0.9,0.4,1);
}

/* ── Card ── */
.df-blog-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 280px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  transition: transform 0.5s cubic-bezier(0.2,0.9,0.4,1),
              box-shadow 0.5s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.df-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,71,255,0.08), 0 8px 20px rgba(0,0,0,0.03);
}

.df-blog-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.df-blog-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.df-blog-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.02) 100%);
  pointer-events: none;
}

.df-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.df-blog-card:hover .df-blog-img img {
  transform: scale(1.08);
}

.df-blog-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #0047ff, #7c3aed);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0,71,255,0.2);
}

.df-blog-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.df-blog-date {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.df-blog-heading {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1c3b;
  margin: 0 0 0.5rem;
  transition: color 0.3s ease;
}

.df-blog-card:hover .df-blog-heading {
  color: #0047ff;
}

.df-blog-excerpt {
  font-size: 0.85rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 1rem;
  flex-grow: 1;
}

.df-blog-cta {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0047ff;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-right: 1.4rem;
  transition: padding-right 0.3s ease;
}

.df-blog-cta::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.8rem;
  height: 0.8rem;
  background: linear-gradient(135deg, #0047ff, #7c3aed);
  clip-path: polygon(100% 50%, 0 0, 0 100%);
  transition: right 0.3s ease;
}

.df-blog-card:hover .df-blog-cta {
  padding-right: 1.8rem;
}

.df-blog-card:hover .df-blog-cta::after {
  right: -2px;
}

/* ── Nav ── */
.df-blog-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.8rem;
}

.df-blog-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0,71,255,0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.df-blog-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid #0047ff;
  border-width: 2px 2px 0 0;
  transform: translate(-50%, -50%) rotate(-135deg);
  transition: border-color 0.3s ease;
}

.df-blog-arrow.df-blog-next::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.df-blog-arrow:hover {
  background: linear-gradient(135deg, #0047ff, #7c3aed);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0,71,255,0.2);
  transform: scale(1.05);
}

.df-blog-arrow:hover::before {
  border-color: #fff;
}

.df-blog-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.df-blog-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,71,255,0.12);
  transition: all 0.4s cubic-bezier(0.2,0.9,0.4,1);
  cursor: pointer;
}

.df-blog-dot.is-active {
  width: 28px;
  border-radius: 4px;
  background: linear-gradient(90deg, #0047ff, #7c3aed);
}

/* ── Footer ── */
.df-blog-footer {
  text-align: center;
  margin-top: 2.5rem;
}

.df-blog-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0047ff, #7c3aed);
  padding: 0.85rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,71,255,0.15);
}

.df-blog-all::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  animation: dfBlogShimmer 2.4s ease-in-out infinite;
  pointer-events: none;
}

.df-blog-all::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 34px;
  background: linear-gradient(135deg, #0047ff, #7c3aed, #00d4aa, #0047ff);
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: dfBlogBorderGlow 3s ease infinite;
}

.df-blog-all:hover::after {
  opacity: 1;
}

.df-blog-all:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 40px rgba(0,71,255,0.3);
  gap: 0.8rem;
  color: #fff;
}

@keyframes dfBlogShimmer {
  0% { transform: translateX(-100%); }
  20% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

@keyframes dfBlogBorderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .df-blog-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .df-blog-section {
    padding: 3rem 1.25rem;
  }
  .df-blog-card {
    flex: 0 0 85%;
    min-width: 0;
  }
  .df-blog-arrow {
    display: none;
  }
}

/* 4. How It Works - Premium Grid */
.studies-p-df-how-it-works {
  padding: 3rem 2rem !important;
  background: #fff;
}

.studies-p-df-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.studies-p-df-step-card {
  background: var(--sp-df-surface);
  padding: 1.5rem;
  border-radius: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.studies-p-df-step-card:hover {
  background: #fff;
  border-color: var(--sp-df-primary);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 71, 255, 0.08);
}

.studies-p-df-step-number {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 4rem;
  font-weight: 900;
  color: var(--sp-df-primary);
  opacity: 0.08;
  line-height: 1;
}

.studies-p-df-step-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--sp-df-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.studies-p-df-step-card:hover .studies-p-df-step-icon {
  background: var(--sp-df-primary);
  color: #fff;
  transform: rotate(10deg);
}

.studies-p-df-step-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--sp-df-on-surface);
}

.studies-p-df-step-card p {
  font-size: 0.9rem;
  color: var(--sp-df-on-surface-variant);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .studies-p-df-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* 5. FAQ Section Refined - Elite Style */
.studies-p-df-faq-elite {
  padding: 1rem 2rem 1.5rem !important;
  background: #ffffff;
}

.df-faq-split-wrapper {
  display: flex;
  gap: 5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Left Column Styling */
.df-faq-header-column {
  flex: 0 0 350px;
  position: sticky;
  top: 100px;
}

.df-faq-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 71, 255, 0.05);
  color: #0047ff;
  border-radius: 50px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.df-faq-elite-title {
  font-family: "Outfit", sans-serif;
  font-size: 2.8rem;
  line-height: 1.1;
  color: #000722;
  margin-bottom: 1.5rem;
}

.df-faq-elite-title span {
  display: block;
  background: linear-gradient(135deg, #0047ff, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.df-faq-elite-lead {
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.df-faq-decorative-element {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.df-decor-line {
  height: 1px;
  width: 60px;
  background: linear-gradient(to right, #0047ff, transparent);
}

.df-decor-circle {
  width: 10px;
  height: 10px;
  border: 1px solid #0047ff;
  border-radius: 50%;
}

/* Right Column Styling (Accordions) */
.df-faq-accordion-column {
  flex: 1;
}

.studies-p-df-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.studies-p-df-faq-item {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 71, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 7, 34, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.studies-p-df-faq-item:hover {
  transform: translateX(10px);
  border-color: rgba(0, 71, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 7, 34, 0.06);
}

.studies-p-df-faq-item.is-active {
  border-color: #0047ff;
  box-shadow: 0 30px 60px rgba(0, 71, 255, 0.1);
}

.studies-p-df-faq-question {
  padding: 1.8rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.studies-p-df-faq-question span {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #000722;
  transition: color 0.3s;
}

.studies-p-df-faq-item.is-active .studies-p-df-faq-question span {
  color: #0047ff;
}

/* Plus Icon Design & Animation */
.df-plus-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.df-p-line-h,
.df-p-line-v {
  position: absolute;
  background: #0047ff;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.df-p-line-h {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  margin-top: -1px;
}

.df-p-line-v {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  margin-left: -1px;
}

/* Rotation and transform into "X" or simple rotation */
.studies-p-df-faq-item.is-active .df-plus-icon {
  transform: rotate(135deg);
}

.studies-p-df-faq-item.is-active .df-plus-icon .df-p-line-v {
  opacity: 1; /* Keep both lines to make an X */
}

.studies-p-df-faq-answer {
  padding: 0 2.5rem 1.8rem;
  display: none;
  font-family: "DM Sans", sans-serif;
  color: #475569;
  line-height: 1.7;
  font-size: 1rem;
}

.studies-p-df-faq-item.is-active .studies-p-df-faq-answer {
  display: block;
  animation: eliteFaqFade 0.5s ease-out forwards;
}

@keyframes eliteFaqFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .df-faq-split-wrapper {
    flex-direction: column;
    gap: 3rem;
  }
  .df-faq-header-column {
    flex: none;
    width: 100%;
    position: static;
    text-align: center;
  }
  .df-faq-elite-lead {
    margin-bottom: 2rem;
  }
  .df-faq-decorative-element {
    justify-content: center;
  }
  .studies-p-df-faq-item:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 480px) {
  .df-faq-elite-title {
    font-size: 2.2rem;
  }
  .studies-p-df-faq-question {
    padding: 1.5rem 1.5rem;
  }
  .studies-p-df-faq-question span {
    font-size: 1.05rem;
  }
}

/* 6. CTA Section Premium Card */
.studies-p-df-cta {
  padding: 2rem 2rem 6rem;
}

.studies-p-df-cta-card {
  background: 
    radial-gradient(circle at 20% 80%, rgba(0,212,170,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(124,58,237,0.08) 0%, transparent 50%),
    linear-gradient(135deg, #1a3a8a 0%, #3730a3 50%, #0047ff 100%);
  border-radius: 3rem;
  padding: 4.5rem 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 71, 255, 0.25);
}

.studies-p-df-cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/img/bento-bg.jpg') center / cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
}

.studies-p-df-cta-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  pointer-events: none;
}

.studies-p-df-cta-card h2 {
  font-size: clamp(2.2rem, 4.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.15;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
  letter-spacing: -0.02em;
}

.studies-p-df-cta-card p {
  font-size: 1.08rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 12px rgba(0,0,0,0.1);
}

.studies-p-df-button-group {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.studies-p-df-cta-card .studies-p-df-cta-btn {
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.studies-p-df-cta-card .studies-p-df-cta-btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

/* ── Mid CTA section ── */
.studies-p-df-mid-cta {
  padding: 2rem 2rem 3rem;
  background: #f8fafc;
}

.studies-p-df-mid-cta-card {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1a3a8a 0%, #3730a3 50%, #0047ff 100%);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,71,255,0.15);
}

.studies-p-df-mid-cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.studies-p-df-mid-cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0,212,170,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.studies-p-df-mid-cta-content {
  position: relative;
  z-index: 1;
}

.studies-p-df-mid-cta-content h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.studies-p-df-mid-cta-content h2 span {
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.studies-p-df-mid-cta-content p {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 1.8rem;
  line-height: 1.6;
}

.studies-p-df-mid-cta-action {
  display: flex;
  justify-content: center;
}

.studies-p-df-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0047ff, #7c3aed);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 4px 20px rgba(0,71,255,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.studies-p-df-cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  animation: ctaBtnShimmer 2.4s ease-in-out infinite;
  pointer-events: none;
}

.studies-p-df-cta-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 40px rgba(0, 71, 255, 0.35);
  color: #fff;
}

@keyframes ctaBtnShimmer {
  0% { transform: translateX(-100%); }
  20% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

.studies-p-df-cta-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.studies-p-df-cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .studies-p-df-mid-cta {
    padding: 1.5rem;
  }
  .studies-p-df-mid-cta-card {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }
  .studies-p-df-mid-cta-content h2 {
    font-size: clamp(1.3rem, 4vw, 1.7rem);
  }
  .studies-p-df-mid-cta-content p {
    font-size: 0.88rem;
  }
  .studies-p-df-cta-btn {
    padding: 0.75rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .studies-p-df-mid-cta {
    padding: 1rem;
  }
  .studies-p-df-mid-cta-card {
    padding: 2rem 1rem;
    border-radius: 16px;
  }
  .studies-p-df-mid-cta-content h2 {
    font-size: 1.2rem;
  }
  .studies-p-df-mid-cta-content p {
    font-size: 0.82rem;
  }
  .studies-p-df-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Floating Spheres within sections */
.studies-p-df-features-section .floating-sphere {
  z-index: -1;
  opacity: 0.5;
}

/* Mobile Responsive Refinements */
@media (max-width: 1200px) {
  .studies-p-df-hero-banner {
    margin: 120px 2rem 2rem;
  }
  .studies-p-df-instructors,
  .studies-p-df-how-it-works,
  .studies-p-df-faq,
  .studies-p-df-cta {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 992px) {
  .studies-p-df-hero-banner {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem;
    margin: 100px 1rem 1rem;
    max-height: none;
    height: auto;
  }
  .studies-p-df-hero-title {
    font-size: 2rem;
  }
  .studies-p-df-features-grid {
    grid-template-columns: 1fr;
    height: auto !important;
    gap: 1rem;
  }
  .studies-p-df-feature-main {
    grid-row: auto;
    min-height: 340px;
  }
  .studies-p-df-feature-image {
    height: 220px;
  }
  .studies-p-df-feature-content {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .studies-p-df-hero {
    padding: 90px 1rem 1rem !important;
  }
  .studies-p-df-hero-banner {
    border-radius: 2rem;
    padding: 2.5rem 1.2rem;
  }
  .studies-p-df-hero-title {
    font-size: 1.7rem;
  }
  .studies-p-df-features-section {
    padding: 2rem 1rem 3rem !important;
  }
  .studies-p-df-features-title {
    font-size: 1.5rem;
  }
  .studies-p-df-feature-card {
    padding: 1.4rem;
  }
  .studies-p-df-feature-content {
    padding: 1.2rem;
  }
}

@media (max-width: 640px) {
  .studies-p-df-steps-grid {
    grid-template-columns: 1fr;
  }
  .studies-p-df-cta-card {
    padding: 5rem 2rem;
  }
  .studies-p-df-button-group {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .studies-p-df-cta-card {
    padding: 4rem 2rem;
  }
  .studies-p-df-cta-card h2 {
    font-size: clamp(1.6rem, 4vw, 2rem);
  }
  .studies-p-df-button-group {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .studies-p-df-cta {
    padding: 0 0.5rem 1.5rem;
  }
  .studies-p-df-cta-card {
    padding: 3rem 1rem;
    border-radius: 20px;
  }
  .studies-p-df-cta-card h2 {
    font-size: 1.3rem;
  }
  .studies-p-df-button-group {
    gap: 0.5rem;
  }
  .studies-p-df-button-group .studies-p-df-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .studies-p-df-steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.8rem;
  }
  .df-step-card {
    padding: 1.25rem;
  }
  .df-step-card .df-step-ghost {
    font-size: 3rem;
    top: 1rem;
    left: 1.2rem;
  }
}
