/* ================================================================
   DISCITE — Formation & Innovation
   Theme CSS — Global
   Design: "Kinetic Authority"
   Palette: Navy #1A365D + Blue #6AABE0
   Typo: Syne (display) + DM Sans (body)
   ================================================================ */

/* ── Variables ── */
:root {
  --d-primary:       #1A365D;
  --d-primary-700:   #234B78;
  --d-primary-500:   #2D6498;
  --d-accent:        #6AABE0;
  --d-accent-hover:  #5598CF;
  --d-accent-light:  rgba(106, 171, 224, 0.12);
  --d-bg:            #F0F5FB;
  --d-bg-alt:        #ffffff;
  --d-text:          #234B78;
  --d-text-muted:    #5E7E9E;
  --d-border:        #CADAE8;
  --d-white:         #ffffff;
  --d-radius-sm:     6px;
  --d-radius:        10px;
  --d-radius-lg:     16px;
  --d-shadow-sm:     0 1px 3px rgba(26, 54, 93, 0.08), 0 1px 2px rgba(26, 54, 93, 0.06);
  --d-shadow:        0 4px 16px rgba(26, 54, 93, 0.10), 0 2px 6px rgba(26, 54, 93, 0.06);
  --d-shadow-lg:     0 12px 40px rgba(26, 54, 93, 0.14);
  --d-transition:    all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display:    'Syne', sans-serif;
  --font-body:       'DM Sans', sans-serif;
}

/* ── Reset & Base ── */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--d-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Focus visible ── */
:focus-visible {
  outline: 3px solid var(--d-accent);
  outline-offset: 3px;
  border-radius: var(--d-radius-sm);
}

/* ── Font display (Syne) ── */
h1, h2, h3, h4, .d-hero-title, .d-section-title, .d-capture-title,
.d-module-title, .d-form-title, .d-hero-badge, .d-section-label,
.d-module-badge, .d-stat-big, .d-stat-value, .d-pain-number {
  font-family: var(--font-display);
}

/* ── Normalized headings ── */
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

/* ================================================================
   SCROLL PROGRESS BAR
   ================================================================ */
.d-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--d-accent), #8FC5E8);
  width: 0%;
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.d-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0.9rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.d-navbar.scrolled {
  background: rgba(26, 54, 93, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  padding: 0.6rem 0;
}
.d-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.d-navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.d-navbar-logo {
  height: 40px;
  width: auto;
  transition: opacity 0.2s ease, height 0.3s ease;
}
.d-navbar.scrolled .d-navbar-logo {
  height: 34px;
}
.d-navbar-brand:hover .d-navbar-logo {
  opacity: 0.85;
}
.d-navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.d-navbar-nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}
.d-navbar-nav a:hover {
  color: var(--d-white);
}
.d-navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--d-accent);
  transition: width 0.25s ease;
}
.d-navbar-nav a:hover::after {
  width: 100%;
}
.d-navbar-nav a.d-navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  color: var(--d-primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.3rem;
  border-radius: var(--d-radius);
  text-decoration: none;
  transition: var(--d-transition);
}
.d-navbar-nav a.d-navbar-cta:hover {
  background: #F0F5FB;
  color: var(--d-primary);
  transform: translateY(-1px);
  text-decoration: none;
}
.d-navbar-nav a.d-navbar-cta::after { display: none; }

/* Mobile hamburger */
.d-navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--d-white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem;
}
@media (max-width: 991.98px) {
  .d-navbar-toggle { display: block; }
  .d-navbar-nav { display: none; }
  .d-navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 54, 93, 0.98);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(106, 171, 224, 0.12);
  }
}

/* ================================================================
   BOUTONS
   ================================================================ */
.btn-d-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  border: 2px solid #ffffff;
  color: var(--d-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: var(--d-radius);
  text-decoration: none;
  transition: var(--d-transition);
  letter-spacing: 0.2px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(106, 171, 224, 0.30);
}
.btn-d-primary:hover {
  background-color: #F0F5FB;
  border-color: #F0F5FB;
  color: var(--d-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.35);
  text-decoration: none;
}
.btn-d-primary:active { transform: translateY(0); }

/* Variante bouton pour fonds clairs */
.btn-d-primary--on-light {
  background-color: var(--d-primary);
  border-color: var(--d-primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(26, 54, 93, 0.25);
}
.btn-d-primary--on-light:hover {
  background-color: var(--d-primary-700);
  border-color: var(--d-primary-700);
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(26, 54, 93, 0.35);
}

.btn-d-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: var(--d-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.83rem 1.9rem;
  border-radius: var(--d-radius);
  text-decoration: none;
  transition: var(--d-transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-d-outline:hover {
  background-color: rgba(255, 255, 255, 0.10);
  border-color: var(--d-white);
  color: var(--d-white);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ================================================================
   HERO
   ================================================================ */
.d-hero {
  background: linear-gradient(135deg, #1A365D 0%, #234B78 50%, #1A365D 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}
.d-hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 640px;
  height: 640px;
  background: radial-gradient(ellipse at center, rgba(106, 171, 224, 0.06) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
/* Geometric grid pattern */
.d-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(106, 171, 224, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 171, 224, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}
.d-hero > .container { position: relative; z-index: 2; }

.d-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--d-accent-light);
  border: 1px solid rgba(106, 171, 224, 0.25);
  color: var(--d-accent);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.42rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.d-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--d-white);
  margin-bottom: 1.4rem;
  letter-spacing: -1px;
}
.d-hero-title mark {
  background: rgba(106, 171, 224, 0.2);
  color: #ffffff;
  padding: 0 0.12em;
  border-radius: 4px;
}
.d-hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 2.4rem;
}
.d-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.d-hero-trust {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  row-gap: 0.6rem;
}
.d-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  font-weight: 500;
}
.d-trust-item .fa { color: var(--d-accent); font-size: 0.9rem; }
.d-trust-sep { color: rgba(255, 255, 255, 0.20); font-size: 0.8rem; padding: 0 0.25rem; }

/* Hero card */
.d-hero-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.d-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--d-accent), transparent);
}
.d-hero-card-icon {
  width: 72px; height: 72px;
  background: var(--d-accent-light);
  border-radius: var(--d-radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(106, 171, 224, 0.2);
}
.d-hero-card-icon .fa { font-size: 2rem; color: var(--d-accent); }
.d-hero-card-title {
  font-size: 1.15rem; font-weight: 700; color: var(--d-white);
  margin-bottom: 0.35rem; text-align: center;
}
.d-hero-card-sub {
  font-size: 0.875rem; color: rgba(255, 255, 255, 0.50);
  text-align: center; margin-bottom: 2rem; line-height: 1.5;
}
.d-hero-stats {
  display: flex; justify-content: center; gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.75rem;
}
.d-hero-stat { flex: 1; text-align: center; padding: 0 0.75rem; }
.d-hero-stat + .d-hero-stat { border-left: 1px solid rgba(255, 255, 255, 0.06); }
.d-stat-value {
  display: block; font-size: 1.9rem; font-weight: 800;
  color: var(--d-accent); line-height: 1; margin-bottom: 0.3rem;
}
.d-stat-label {
  display: block; font-size: 0.72rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.40); text-transform: uppercase; letter-spacing: 0.7px;
}

/* ================================================================
   SECTIONS GLOBALES
   ================================================================ */
.d-section { padding: 6rem 0; }
.d-section-alt { background-color: var(--d-bg); }
.d-section-dark { background-color: var(--d-primary); }

.d-section-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--d-accent); font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.75rem;
}
.d-section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800; color: var(--d-primary);
  line-height: 1.15; margin-bottom: 1rem; letter-spacing: -0.5px;
}
.d-section-subtitle {
  font-size: 1.05rem; color: var(--d-text-muted);
  line-height: 1.8; max-width: 600px;
}

/* ================================================================
   SECTION 2 — EMPATHIE
   ================================================================ */
.d-pain-card {
  position: relative; background: #ffffff; border: 1px solid #CADAE8;
  border-radius: 16px; padding: 2.25rem 2rem 1.75rem; height: 100%;
  display: flex; flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  overflow: hidden;
}
.d-pain-card:hover {
  box-shadow: 0 12px 40px rgba(26, 54, 93, 0.10);
  transform: translateY(-4px);
}
.d-pain-card--featured { background: var(--d-primary); border-color: var(--d-primary); }
.d-pain-card--featured .d-pain-number { color: rgba(106, 171, 224, 0.12); }
.d-pain-card--featured .d-pain-title { color: #ffffff; }
.d-pain-card--featured .d-pain-text { color: rgba(255, 255, 255, 0.62); }
.d-pain-card--featured .d-pain-method {
  background: rgba(106, 171, 224, 0.12); border-color: rgba(106, 171, 224, 0.25); color: #6AABE0;
}
.d-pain-card--featured .d-pain-icon {
  background: rgba(106, 171, 224, 0.12); border-color: rgba(106, 171, 224, 0.20); color: #6AABE0;
}
.d-pain-number {
  position: absolute; top: 1rem; right: 1.25rem;
  font-size: 5rem; font-weight: 900; color: rgba(26, 54, 93, 0.04);
  line-height: 1; user-select: none; pointer-events: none; letter-spacing: -2px;
}
.d-pain-icon {
  width: 56px; height: 56px; background: #E0EBF5; border: 1px solid #CADAE8;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; flex-shrink: 0;
}
.d-pain-icon .fa { font-size: 1.4rem; color: #6AABE0; }
.d-pain-title { font-size: 1.15rem; font-weight: 700; color: var(--d-primary); line-height: 1.35; margin-bottom: 1rem; }
.d-pain-text { font-size: 0.95rem; color: #5E7E9E; line-height: 1.7; flex-grow: 1; margin-bottom: 1.5rem; }
.d-pain-method {
  display: flex; align-items: flex-start; gap: 0.5rem;
  background: #F0F5FB; border: 1px solid #CADAE8; border-radius: 8px;
  padding: 0.65rem 0.9rem; font-size: 0.82rem; color: #4A6F8F;
  line-height: 1.45; margin-top: auto;
}
.d-pain-method .fa { color: #6AABE0; margin-top: 1px; flex-shrink: 0; }
.d-pain-method strong { color: var(--d-primary); }

/* ================================================================
   SECTION 3 — SOLUTION
   ================================================================ */
.d-solution { background-color: #ffffff; padding: 6rem 0; }
.d-solution-visual { position: relative; display: flex; flex-direction: column; gap: 1rem; }
.d-solution-card-main {
  display: flex; align-items: center; gap: 1rem;
  background: var(--d-primary); border-radius: 14px; padding: 1.5rem; margin-bottom: 0.5rem;
}
.d-sol-icon-wrap {
  width: 52px; height: 52px; background: rgba(106, 171, 224, 0.15);
  border: 1px solid rgba(106, 171, 224, 0.25); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.d-sol-icon-wrap .fa { font-size: 1.4rem; color: #6AABE0; }
.d-sol-card-text { display: flex; flex-direction: column; gap: 0.2rem; }
.d-sol-card-label {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.8px; color: rgba(255, 255, 255, 0.45);
}
.d-sol-card-title { font-size: 1rem; font-weight: 700; color: #ffffff; line-height: 1.3; }
.d-solution-steps {
  background: #F0F5FB; border: 1px solid #CADAE8; border-radius: 14px;
  padding: 1.5rem; display: flex; flex-direction: column;
}
.d-sol-step { display: flex; align-items: flex-start; gap: 1rem; }
.d-sol-step-num {
  width: 32px; height: 32px; background: var(--d-primary); color: #6AABE0;
  font-size: 0.85rem; font-weight: 800; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.d-sol-step-body { display: flex; flex-direction: column; gap: 0.15rem; padding-top: 0.3rem; }
.d-sol-step-body strong { font-size: 0.9rem; font-weight: 700; color: var(--d-primary); }
.d-sol-step-body span { font-size: 0.8rem; color: #5E7E9E; line-height: 1.4; }
.d-sol-step-line { width: 1px; height: 20px; background: #CADAE8; margin: 0.5rem 0 0.5rem 15px; }
.d-sol-badge-qualiopi {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(106, 171, 224, 0.08); border: 1px solid rgba(106, 171, 224, 0.2);
  border-radius: 50px; padding: 0.5rem 1.1rem; font-size: 0.85rem; color: #1A365D;
  align-self: flex-start;
}
.d-sol-badge-qualiopi .fa { color: #6AABE0; }
.d-sol-badge-qualiopi strong { color: var(--d-primary); }
.d-solution-intro { font-size: 1.05rem; color: #4A6F8F; line-height: 1.75; margin-bottom: 2rem; }
.d-solution-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.d-solution-item { display: flex; align-items: flex-start; gap: 1rem; }
.d-sol-item-icon {
  width: 40px; height: 40px; background: rgba(106, 171, 224, 0.10);
  border: 1px solid rgba(106, 171, 224, 0.18); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.d-sol-item-icon .fa { font-size: 1rem; color: #6AABE0; }
.d-sol-item-text { display: flex; flex-direction: column; gap: 0.2rem; }
.d-sol-item-text strong { font-size: 0.97rem; font-weight: 700; color: var(--d-primary); }
.d-sol-item-text span { font-size: 0.9rem; color: #5E7E9E; line-height: 1.55; }

/* ================================================================
   SECTION 4 — PROGRAMME
   ================================================================ */
.d-programme { background-color: var(--d-bg); padding: 6rem 0; }
.d-module-card {
  background: #ffffff; border: 1px solid #CADAE8; border-radius: 16px;
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.d-module-card:hover { box-shadow: var(--d-shadow-lg); transform: translateY(-4px); }
.d-module-card--accent { background: var(--d-primary); border-color: var(--d-primary); }
.d-module-card--accent .d-module-badge { background: rgba(106,171,224,0.15); color: #6AABE0; border-color: rgba(106,171,224,0.25); }
.d-module-card--accent .d-module-icon { background: rgba(106,171,224,0.12); border-color: rgba(106,171,224,0.20); }
.d-module-card--accent .d-module-icon .fa { color: #6AABE0; }
.d-module-card--accent .d-module-title { color: #ffffff; }
.d-module-card--accent .d-module-hook { color: rgba(255,255,255,0.60); }
.d-module-card--accent .d-module-list li { border-color: rgba(255,255,255,0.06); color: rgba(255,255,255,0.80); }
.d-module-card--accent .d-module-list li strong { color: #6AABE0; }
.d-module-card--accent .d-module-list .fa { color: #6AABE0; }
.d-module-card--accent .d-module-footer { border-color: rgba(255,255,255,0.07); background: rgba(255,255,255,0.03); }
.d-module-card--accent .d-module-tag { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.10); color: rgba(255,255,255,0.55); }
.d-module-card--accent .d-module-result { color: #6AABE0; }

.d-module-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 1.75rem 0; }
.d-module-badge {
  display: inline-block; background: #E0EBF5; border: 1px solid #CADAE8; color: #5E7E9E;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; padding: 0.3rem 0.8rem; border-radius: 50px;
}
.d-module-icon {
  width: 44px; height: 44px; background: #F0F5FB; border: 1px solid #CADAE8;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.d-module-icon .fa { font-size: 1.2rem; color: #6AABE0; }
.d-module-body { padding: 1.5rem 1.75rem; flex-grow: 1; }
.d-module-title { font-size: 1.3rem; font-weight: 800; color: var(--d-primary); margin-bottom: 0.65rem; line-height: 1.25; }
.d-module-hook { font-size: 0.9rem; color: #5E7E9E; line-height: 1.6; margin-bottom: 1.5rem; }
.d-module-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.d-module-list li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.875rem; color: #2D6498; line-height: 1.55;
  padding: 0.6rem 0; border-bottom: 1px solid #E0EBF5;
}
.d-module-list li:last-child { border-bottom: none; }
.d-module-list li strong { color: var(--d-primary); font-weight: 700; }
.d-module-list .fa { color: #6AABE0; font-size: 0.8rem; margin-top: 3px; flex-shrink: 0; }
.d-module-footer {
  padding: 1.1rem 1.75rem; border-top: 1px solid #E0EBF5;
  background: #F2F6FB; display: flex; align-items: center;
  justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
}
.d-module-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.d-module-tag {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: #E0EBF5; border: 1px solid #CADAE8; border-radius: 50px;
  padding: 0.25rem 0.7rem; font-size: 0.75rem; font-weight: 600; color: #5E7E9E;
}
.d-module-result {
  font-size: 0.8rem; font-weight: 700; color: var(--d-primary);
  display: flex; align-items: center; gap: 0.35rem;
}
.d-module-result .fa { color: #6AABE0; font-size: 0.75rem; }

.d-programme-cta-block {
  background: var(--d-primary); border-radius: 16px; padding: 2.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.d-programme-cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(106, 171, 224, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 171, 224, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.d-programme-cta-text {
  font-size: 1rem; color: rgba(255,255,255,0.75); line-height: 1.6;
  margin: 0; flex: 1; text-align: left; min-width: 240px;
  position: relative; z-index: 1;
}

/* ================================================================
   SECTION 5 — REASSURANCE
   ================================================================ */
.d-reassurance { background-color: #ffffff; padding: 6rem 0; }
.d-stats-strip {
  display: flex; align-items: center; justify-content: center;
  background: var(--d-primary); border-radius: 20px; padding: 2.5rem 2rem;
  gap: 0; flex-wrap: wrap; row-gap: 2rem;
  position: relative; overflow: hidden;
}
.d-stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(106, 171, 224, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 171, 224, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.d-stat-block {
  flex: 1; min-width: 140px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  position: relative; z-index: 1;
}
.d-stat-big {
  font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 900;
  color: #6AABE0; line-height: 1; letter-spacing: -1px;
}
.d-stat-desc {
  font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.50);
  line-height: 1.5; text-transform: uppercase; letter-spacing: 0.5px;
}
.d-stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.07); flex-shrink: 0; position: relative; z-index: 1; }
.d-guarantee-card {
  background: #F0F5FB; border: 1px solid #CADAE8; border-radius: 14px;
  padding: 2rem 1.75rem; height: 100%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.d-guarantee-card:hover { box-shadow: 0 8px 28px rgba(26,54,93,0.08); transform: translateY(-3px); }
.d-guarantee-card--featured { background: var(--d-primary); border-color: var(--d-primary); }
.d-guarantee-card--featured .d-guarantee-icon { background: rgba(106,171,224,0.12); border-color: rgba(106,171,224,0.20); }
.d-guarantee-card--featured .d-guarantee-icon .fa { color: #6AABE0; }
.d-guarantee-card--featured .d-guarantee-title { color: #ffffff; }
.d-guarantee-card--featured .d-guarantee-text { color: rgba(255,255,255,0.60); }
.d-guarantee-icon {
  width: 52px; height: 52px; background: #ffffff; border: 1px solid #CADAE8;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; box-shadow: 0 1px 4px rgba(26,54,93,0.06);
}
.d-guarantee-icon .fa { font-size: 1.3rem; color: #6AABE0; }
.d-guarantee-title { font-size: 1rem; font-weight: 700; color: var(--d-primary); margin-bottom: 0.6rem; line-height: 1.3; }
.d-guarantee-text { font-size: 0.9rem; color: #5E7E9E; line-height: 1.7; margin: 0; }

/* ================================================================
   SECTION 5bis — FORMATEUR / BIOGRAPHIE
   ================================================================ */
.d-formateur {
  background: var(--d-bg);
  padding: 6rem 0;
}
.d-formateur-card {
  background: var(--d-white);
  border-radius: 1.25rem;
  padding: 3rem;
  box-shadow: var(--d-shadow);
  border: 1px solid var(--d-border);
}
.d-formateur-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--d-primary) 0%, var(--d-primary-700) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 20px rgba(26, 54, 93, 0.15);
}
.d-formateur-avatar .fa {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.85);
}
.d-formateur-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--d-text);
  margin-bottom: 0.25rem;
}
.d-formateur-role {
  font-size: 0.85rem;
  color: var(--d-accent);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0;
}
.d-formateur-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--d-text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.d-formateur-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--d-accent);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.d-formateur-text {
  font-size: 0.95rem;
  color: var(--d-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.d-formateur-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.d-formateur-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--d-accent-light);
  color: var(--d-text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  border: 1px solid rgba(106, 171, 224, 0.15);
}
.d-formateur-tag .fa {
  color: var(--d-accent);
  font-size: 0.7rem;
}

/* ================================================================
   SECTION 6 — TESTIMONIALS
   ================================================================ */
.d-testimonials {
  padding: 6rem 0;
  background: var(--d-white);
  position: relative;
  overflow: hidden;
}
.d-testimonials::before {
  content: '';
  position: absolute;
  top: -100px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(106, 171, 224, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.d-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.d-testimonial-card {
  background: var(--d-white);
  border: 1px solid var(--d-border);
  border-left: 3px solid var(--d-accent);
  border-radius: var(--d-radius-lg);
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.d-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--d-shadow-lg);
}
.d-testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(106, 171, 224, 0.12);
  pointer-events: none;
}
.d-testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}
.d-testimonial-stars .fa { color: #f59e0b; font-size: 0.85rem; }
.d-testimonial-text {
  font-size: 0.92rem;
  color: var(--d-text);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.d-testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.d-testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--d-primary) 0%, var(--d-primary-500) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--d-white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.d-testimonial-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--d-text);
  line-height: 1.3;
}
.d-testimonial-role {
  font-size: 0.75rem;
  color: var(--d-text-muted);
}
@media (max-width: 991.98px) {
  .d-testimonial-grid { grid-template-columns: 1fr; }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .d-testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   SECTION 7 — FORMULAIRE / CAPTURE
   ================================================================ */
.d-capture {
  background: linear-gradient(135deg, #1A365D 0%, #234B78 50%, #1A365D 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.d-capture::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(106, 171, 224, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.d-capture::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(106, 171, 224, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 171, 224, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}
.d-capture > .container { position: relative; z-index: 2; }
.d-capture-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800;
  color: #ffffff; line-height: 1.2; margin-bottom: 1.25rem; letter-spacing: -0.3px;
}
.d-capture-intro { font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 2rem; }
.d-capture-benefits {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.d-capture-benefits li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.93rem; color: rgba(255,255,255,0.72); line-height: 1.5;
}
.d-capture-benefits .fa { color: #6AABE0; font-size: 0.95rem; margin-top: 2px; flex-shrink: 0; }
.d-capture-formateur {
  display: flex; align-items: center; gap: 0.85rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08);
}
.d-capture-avatar {
  width: 48px; height: 48px; background: rgba(106,171,224,0.12);
  border: 1px solid rgba(106,171,224,0.22); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.d-capture-avatar .fa { font-size: 1.5rem; color: #6AABE0; }
.d-capture-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.d-capture-formateur-text { display: flex; flex-direction: column; gap: 0.15rem; }
.d-capture-formateur-text strong { font-size: 0.95rem; font-weight: 700; color: #ffffff; }
.d-capture-formateur-text span { font-size: 0.8rem; color: rgba(255,255,255,0.45); }

/* Form wrapper */
.d-form-wrapper {
  background: #ffffff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  position: relative;
}
.d-form-header {
  background: #F0F5FB; border-bottom: 1px solid #CADAE8; padding: 1.75rem 2rem 1.5rem;
}
.d-form-title { font-size: 1.2rem; font-weight: 800; color: var(--d-primary); margin-bottom: 0.3rem; }
.d-form-subtitle { font-size: 0.875rem; color: #5E7E9E; margin: 0; }
.d-form-wrapper form { padding: 1.75rem 2rem 2rem; }
.d-form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--d-primary); margin-bottom: 0.4rem; }
.d-form-required { color: #6AABE0; margin-left: 2px; }
.d-form-input {
  border: 1.5px solid #CADAE8; border-radius: 8px; padding: 0.7rem 1rem;
  font-size: 0.95rem; color: #234B78; background: #ffffff; width: 100%;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}
.d-form-input:focus { outline: none; border-color: #6AABE0; box-shadow: 0 0 0 3px rgba(106,171,224,0.15); }
.d-form-input::placeholder { color: #7E97AD; font-size: 0.9rem; }
.d-form-rgpd { display: flex; align-items: flex-start; gap: 0.65rem; }
.d-form-check {
  width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0;
  accent-color: #6AABE0; cursor: pointer;
}
.d-form-rgpd-label { font-size: 0.8rem; color: #5E7E9E; line-height: 1.5; cursor: pointer; }
.d-form-rgpd-label a { color: #6AABE0; text-decoration: underline; text-underline-offset: 2px; }
.d-form-rgpd-label a:hover { color: #5598CF; }
.d-form-note {
  text-align: center; font-size: 0.78rem; color: #7E97AD; margin: 0.75rem 0 0;
  display: flex; align-items: center; justify-content: center; gap: 0.35rem;
}
.d-form-note .fa { font-size: 0.75rem; }

/* ================================================================
   FOOTER
   ================================================================ */
.d-footer {
  background: linear-gradient(180deg, #1A365D 0%, #0f2240 100%);
  padding: 0;
  border-top: none;
  position: relative;
  overflow: hidden;
}
.d-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(106, 171, 224, 0.25), transparent);
}
.d-footer::after {
  content: '';
  position: absolute;
  bottom: -200px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(106, 171, 224, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Footer CTA band */
.d-footer-cta-band {
  background: linear-gradient(135deg, var(--d-primary-700) 0%, var(--d-primary) 100%);
  padding: 2.5rem 0;
  text-align: center;
  position: relative;
}
.d-footer-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(106, 171, 224, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 171, 224, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.d-footer-cta-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--d-white);
  margin: 0 0 0.25rem;
  position: relative;
  z-index: 1;
}
.d-footer-cta-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  margin: 0 0 1.25rem;
  position: relative;
  z-index: 1;
}
.d-footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: var(--d-primary);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 2rem;
  border-radius: var(--d-radius);
  text-decoration: none;
  transition: var(--d-transition);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(106, 171, 224, 0.25);
}
.d-footer-cta-btn:hover {
  background: #F0F5FB;
  color: var(--d-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(106, 171, 224, 0.35);
  text-decoration: none;
}

/* Footer main content */
.d-footer-main {
  padding: 3.5rem 0 0;
}
.d-footer-brand {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.3rem; color: var(--d-white);
  margin-bottom: 0.75rem;
}
.d-footer-brand span { color: var(--d-accent); }
.d-footer-desc { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 320px; }
.d-footer-nda {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.4rem 0.9rem;
  background: rgba(106, 171, 224, 0.08);
  border: 1px solid rgba(106, 171, 224, 0.15);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--d-accent);
  letter-spacing: 0.03em;
}
.d-footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.d-footer-social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.40);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--d-transition);
}
.d-footer-social-link:hover {
  background: rgba(106, 171, 224, 0.12);
  border-color: rgba(106, 171, 224, 0.25);
  color: var(--d-accent);
  transform: translateY(-2px);
}
.d-footer-heading {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--d-accent); margin-bottom: 1.25rem;
}
.d-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.d-footer-links li {
  position: relative;
}
.d-footer-links a, .d-footer-links span {
  color: rgba(255,255,255,0.50); text-decoration: none; font-size: 0.88rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}
.d-footer-links a:hover {
  color: var(--d-white);
  padding-left: 4px;
}
.d-footer-bottom {
  margin-top: 3rem; padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.d-footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.30); margin: 0; }
.d-footer-legal { display: flex; gap: 1.5rem; }
.d-footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.30); text-decoration: none; }
.d-footer-legal a:hover { color: rgba(255,255,255,0.60); }

/* ================================================================
   SCROLL ANIMATIONS — Enhanced
   ================================================================ */
.d-animate {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.d-animate.d-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Slide from left */
.d-animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.d-animate-left.d-visible { opacity: 1; transform: translateX(0); }
/* Slide from right */
.d-animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.d-animate-right.d-visible { opacity: 1; transform: translateX(0); }
/* Scale up */
.d-animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.d-animate-scale.d-visible { opacity: 1; transform: scale(1); }

.d-animate-delay-1 { transition-delay: 0.1s; }
.d-animate-delay-2 { transition-delay: 0.2s; }
.d-animate-delay-3 { transition-delay: 0.3s; }
.d-animate-delay-4 { transition-delay: 0.48s; }
.d-animate-delay-5 { transition-delay: 0.60s; }

/* Fallback : si le JS n'a pas ajouté .d-visible après 1.5s, on montre le contenu */
@keyframes d-animate-fallback {
  to { opacity: 1; transform: translateY(0) translateX(0) scale(1); }
}
.d-animate:not(.d-visible),
.d-animate-left:not(.d-visible),
.d-animate-right:not(.d-visible),
.d-animate-scale:not(.d-visible) {
  animation: d-animate-fallback 0.6s ease forwards;
  animation-delay: 1.5s;
}

/* ================================================================
   ANIMATED COUNTERS
   ================================================================ */
.d-stat-big {
  display: inline-block;
  min-width: 2ch;
}
.d-stat-big.d-counting {
  transition: transform 0.15s ease;
}

/* ================================================================
   MICRO-INTERACTIONS — Buttons
   ================================================================ */
.btn-d-primary,
.btn-d-primary--on-light,
.btn-d-outline {
  position: relative;
  overflow: hidden;
}
.btn-d-primary::before,
.btn-d-primary--on-light::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}
.btn-d-primary:hover::before,
.btn-d-primary--on-light:hover::before {
  width: 300px; height: 300px;
}
.btn-d-primary:active,
.btn-d-primary--on-light:active {
  transform: translateY(0) scale(0.98);
}

/* Card hover glow effect */
.d-pain-card,
.d-guarantee-card,
.d-module-card,
.d-formateur-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.d-formateur-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26, 54, 93, 0.10);
}

/* ================================================================
   LEGAL PAGES
   ================================================================ */
.legal-header {
  background: var(--d-primary);
  color: #ffffff;
  padding: 3rem 0 2rem;
}
.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin: 0;
}
.legal-header a {
  color: var(--d-accent);
  text-decoration: none;
  font-size: 0.9rem;
}
.legal-header a:hover { text-decoration: underline; }
.legal-body {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5rem;
  margin: -1.5rem auto 3rem;
  max-width: 800px;
  box-shadow: 0 4px 16px rgba(26,54,93,0.08);
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--d-primary);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--d-accent);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 0.92rem; line-height: 1.7; color: #3A5A7C; }
.legal-body ul { padding-left: 1.2rem; }
.legal-body strong { color: var(--d-primary); }
.legal-body a { color: var(--d-accent); }
.legal-update { font-size: 0.82rem; color: #94a3b8; margin-top: 2rem; font-style: italic; }

/* ================================================================
   MERCI PAGE
   ================================================================ */
.d-merci-hero {
  background: linear-gradient(135deg, #1A365D 0%, #234B78 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 4rem 0;
}
.d-merci-icon {
  width: 88px; height: 88px;
  background: var(--d-accent-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
  border: 2px solid rgba(106,171,224,0.25);
}
.d-merci-icon .fa { font-size: 2.5rem; color: var(--d-accent); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 991.98px) {
  .d-hero { min-height: auto; padding: 7rem 0 4rem; }
  .d-hero-card { margin-top: 2.5rem; }
  .d-solution { padding: 4rem 0; }
  .d-solution-visual { margin-bottom: 1rem; }
}
@media (max-width: 767.98px) {
  .d-hero { padding: 6rem 0 3.5rem; text-align: center; }
  .d-hero-subtitle { margin-left: auto; margin-right: auto; }
  .d-hero-cta-group { justify-content: center; }
  .d-hero-trust { justify-content: center; }
  .d-section, .d-solution, .d-programme, .d-reassurance, .d-formateur, .d-capture, .d-testimonials { padding: 3.5rem 0; }
  .d-formateur-card { padding: 2rem 1.5rem; }
  .d-formateur-avatar { width: 100px; height: 100px; margin-bottom: 1rem; }
  .d-formateur-avatar .fa { font-size: 2.8rem; }
  .d-pain-card { padding: 1.75rem 1.5rem 1.5rem; }
  .d-stats-strip { padding: 2rem 1.25rem; }
  .d-stat-divider { display: none; }
  .d-stat-block { min-width: 120px; }
  .d-programme-cta-block { flex-direction: column; text-align: center; }
  .d-programme-cta-text { text-align: center; }
  .d-capture { padding: 3.5rem 0; }
  .d-form-wrapper { margin-top: 1rem; }
}
@media (max-width: 575.98px) {
  .d-form-wrapper form, .d-form-header { padding-left: 1.25rem; padding-right: 1.25rem; }
  .d-footer-bottom { flex-direction: column; text-align: center; }
}

/* ================================================================
   QUIZ PAGE
   ================================================================ */
.d-quiz-hero {
  background: linear-gradient(135deg, #1A365D 0%, #234B78 50%, #1A365D 100%);
  padding: 8rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.d-quiz-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(106, 171, 224, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 171, 224, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.d-quiz-section {
  background: var(--d-bg);
  padding: 3rem 0 5rem;
}

/* Progress */
.d-quiz-progress {
  background: var(--d-bg-alt);
  border: 1px solid var(--d-border);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.d-quiz-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(26, 54, 93, 0.06);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.d-quiz-progress-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--quiz-progress, 14.28%);
  background: linear-gradient(90deg, var(--d-accent), #8FC5E8);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.d-quiz-progress-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--d-text-muted);
  white-space: nowrap;
}

/* Question card */
.d-quiz-question {
  background: var(--d-bg-alt);
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius-lg);
  padding: 2.5rem;
  animation: d-quiz-fadeIn 0.4s ease;
}
@keyframes d-quiz-fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.d-quiz-q-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--d-text);
  margin-bottom: 1.75rem;
  line-height: 1.4;
}

/* Options */
.d-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.d-quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--d-bg);
  border: 2px solid var(--d-border);
  border-radius: var(--d-radius);
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  transition: var(--d-transition);
  text-align: left;
  font-size: 0.95rem;
  color: var(--d-text);
  line-height: 1.5;
}
.d-quiz-option:hover {
  border-color: var(--d-accent);
  background: rgba(106, 171, 224, 0.06);
  transform: translateX(4px);
}
.d-quiz-option.selected {
  border-color: var(--d-accent);
  background: rgba(106, 171, 224, 0.10);
}
.d-quiz-option-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--d-bg-alt);
  border: 2px solid var(--d-border);
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--d-text-muted);
  transition: var(--d-transition);
}
.d-quiz-option:hover .d-quiz-option-letter,
.d-quiz-option.selected .d-quiz-option-letter {
  background: var(--d-accent);
  border-color: var(--d-accent);
  color: #ffffff;
}

/* Results */
.d-quiz-result-card {
  background: var(--d-bg-alt);
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius-lg);
  padding: 3rem;
  text-align: center;
  animation: d-quiz-fadeIn 0.5s ease;
}
.d-quiz-score-circle {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
  margin-bottom: 1.5rem;
}
.d-quiz-score-circle > span:first-child {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4rem;
  color: var(--d-accent);
  line-height: 1;
}
.d-quiz-score-max {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--d-text-muted);
}
.d-quiz-result-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--d-text);
  margin-bottom: 0.75rem;
}
.d-quiz-result-text {
  color: var(--d-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 2rem;
}
.d-quiz-result-detail {
  background: var(--d-bg);
  border-radius: var(--d-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--d-text);
}
.d-quiz-result-detail strong {
  color: var(--d-text);
}
.d-quiz-result-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Email Gate */
.d-quiz-gate-card {
  background: var(--d-bg-alt);
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius-lg);
  padding: 3rem;
  text-align: center;
  animation: d-quiz-fadeIn 0.5s ease;
}
.d-quiz-gate-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--d-accent), var(--d-accent-hover));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(106, 171, 224, 0.25);
}
.d-quiz-gate-icon i {
  font-size: 1.5rem;
  color: #fff;
}
.d-quiz-gate-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--d-text);
  margin-bottom: 0.5rem;
}
.d-quiz-gate-text {
  color: var(--d-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.d-quiz-gate-form {
  max-width: 420px;
  margin: 0 auto;
}
.d-quiz-gate-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.d-quiz-gate-field {
  text-align: left;
}
.d-quiz-gate-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--d-text);
  margin-bottom: 0.35rem;
}
.d-quiz-gate-field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--d-border);
  border-radius: var(--d-radius);
  font-size: 0.95rem;
  color: var(--d-text);
  background: var(--d-bg);
  transition: var(--d-transition);
  font-family: var(--font-body);
}
.d-quiz-gate-field input:focus {
  outline: none;
  border-color: var(--d-accent);
  box-shadow: 0 0 0 3px rgba(106, 171, 224, 0.15);
}
.d-quiz-gate-field input::placeholder {
  color: var(--d-text-muted);
  opacity: 0.5;
}
.d-quiz-gate-submit {
  width: 100%;
  font-size: 1.05rem !important;
  padding: 1rem 2rem !important;
}
.d-quiz-gate-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
.d-quiz-gate-privacy {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--d-text-muted);
  opacity: 0.7;
}
.d-quiz-gate-privacy i {
  margin-right: 0.35rem;
}
.d-quiz-gate-error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: var(--d-radius);
  color: #dc2626;
  font-size: 0.9rem;
}

/* Quiz RGPD */
.d-quiz-gate-rgpd {
  margin-bottom: 1.25rem;
  text-align: left;
}
.d-quiz-gate-rgpd-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--d-text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.d-quiz-gate-rgpd-label input[type="checkbox"] {
  margin-top: 0.2rem;
  min-width: 16px;
  min-height: 16px;
  accent-color: var(--d-accent);
}
.d-quiz-gate-rgpd-label a {
  color: var(--d-accent);
  text-decoration: underline;
}

/* ================================================================
   FAQ SECTION
   ================================================================ */
.d-faq-item {
  background: var(--d-bg-alt);
  border: none;
  border-bottom: 1px solid var(--d-border);
  border-radius: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition: var(--d-transition);
}
.d-faq-item:first-child {
  border-top: 1px solid var(--d-border);
}
.d-faq-item:hover {
  background: var(--d-bg);
}
.d-faq-question {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--d-text);
  margin: 0;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--d-transition);
}
.d-faq-item.active .d-faq-question {
  color: var(--d-accent);
}
.d-faq-question i {
  font-size: 0.7rem;
  color: var(--d-accent);
  transition: transform 0.3s ease;
  min-width: 14px;
}
.d-faq-item.active .d-faq-question i {
  transform: rotate(90deg);
}
.d-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}
.d-faq-item.active .d-faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}
.d-faq-answer p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--d-text-muted);
  margin: 0;
  padding-left: 1.45rem;
}
.d-faq-answer strong {
  color: var(--d-text);
}

@media (max-width: 767.98px) {
  .d-quiz-hero { padding: 6rem 0 2rem; }
  .d-quiz-question { padding: 1.5rem; }
  .d-quiz-result-card { padding: 2rem 1.25rem; }
  .d-quiz-gate-card { padding: 2rem 1.25rem; }
  .d-quiz-result-cta { flex-direction: column; }
  .d-faq-question { font-size: 0.92rem; padding: 1rem 1.25rem; }
  .d-faq-answer p { font-size: 0.88rem; }
}
