/* ======================================

SYNAPS FORMATION - Styles CSS Complets

====================================== */

:root {
  --color-primary: #1E3A8A;
  --color-primary-dark: #1e40af;
  --color-accent: #e60000;
  --color-accent-hover: #cc0000;
  /* Ajout couleur Manag'Lab */
  --color-managlab: #0077C8;
  --color-managlab-hover: #005f9e;
  --color-managlab-light: #e0f2fe;
  
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-900: #111827;
  --color-success: #10b981;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-gray-900);
  line-height: 1.6;
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ======================================

HEADER - OPTIMISÉ UX/UI MODERNE

====================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 0;
  transition: all 0.3s ease;
}

.header-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

/* Logo */

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Navigation */

.header-nav {
  display: flex;
  gap: 40px;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
}

.nav-item {
  color: var(--color-gray-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 0;
  position: relative;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.nav-item:hover {
  color: var(--color-accent);
}

.nav-item.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-item:hover::after {
  width: 100%;
}

/* CTA Button */

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.2);
  flex-shrink: 0;
  white-space: nowrap;
  border: 2px solid var(--color-accent);
}

.header-cta:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 0, 0, 0.3);
}

.header-cta i {
  font-size: 16px;
}

/* Bouton menu mobile */

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-gray-700);
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--color-accent);
}

/* Menu mobile */

.mobile-menu {
  display: none;
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  z-index: 999;
}

.mobile-menu.active {
  max-height: 500px;
  opacity: 1;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 0;
}

.mobile-nav-item {
  color: var(--color-gray-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-gray-100);
  transition: all 0.3s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--color-accent);
  background: var(--color-gray-50);
  padding-left: 28px;
}

.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 24px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
}

.mobile-nav-cta:hover {
  background: var(--color-accent-hover);
  transform: scale(1.02);
}

/* ======================================

RESPONSIVE HEADER

====================================== */

/* Tablette */
@media (max-width: 1024px) {
  .header-wrapper {
    padding: 14px 24px;
    gap: 32px;
  }

  .header-nav {
    gap: 28px;
  }

  .nav-item {
    font-size: 14px;
  }

  .logo-img {
    height: 50px;
  }

  .header-cta {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header-wrapper {
    padding: 12px 20px;
    gap: 16px;
  }

  .logo-img {
    height: 44px;
  }

  .header-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu {
    display: block;
  }
}

@media (max-width: 480px) {
  .header-wrapper {
    padding: 10px 16px;
  }

  .logo-img {
    height: 40px;
  }

  .mobile-nav-item {
    font-size: 15px;
    padding: 14px 16px;
  }
}

/* ======================================

SECTIONS COMMUNES

====================================== */

section {
  padding: 80px 0;
}

section h2 {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  color: var(--color-gray-900);
}

.section-intro {
  text-align: center;
  font-size: 18px;
  color: var(--color-gray-600);
  max-width: 800px;
  margin: 0 auto 48px;
}

/* ======================================
   HERO SECTION
   ====================================== */

.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    margin-top: 70px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Assure que le texte est centré */
    gap: 12px;
    padding: 18px 36px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
    border: none;
    cursor: pointer;
    white-space: nowrap; /* Évite que le texte passe à la ligne */
}

.cta-button:hover {
    background: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 25px 35px -5px rgba(230, 0, 0, 0.3);
}

.hero-features {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.feature-item i {
    color: var(--color-accent);
    font-size: 20px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

/* ======================================
   PAIN POINTS SECTION
   ====================================== */

.pain-points {
    background: var(--color-gray-50);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.pain-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pain-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pain-icon i {
    font-size: 28px;
    color: var(--color-white);
}

.pain-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-gray-900);
}

.pain-card p {
    color: var(--color-gray-600);
    line-height: 1.7;
}

/* ======================================
   SOLUTION SECTION
   ====================================== */

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.solution-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid var(--color-accent);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-left-width: 6px;
}

.solution-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.2;
}

.solution-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-gray-900);
}

.solution-card p {
    color: var(--color-gray-600);
    line-height: 1.7;
}

/* ======================================
   PROGRAM SECTION
   ====================================== */

.program {
    background: var(--color-gray-50);
}

.program-modules {
    display: grid;
    gap: 24px;
    margin-top: 48px;
}

.module {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
}

.module:hover {
    box-shadow: var(--shadow-xl);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.module-icon {
    width: 56px;
    height: 56px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.module-icon i {
    font-size: 24px;
    color: var(--color-white);
}

.module-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.module-content {
    padding: 24px 32px;
    list-style: none;
}

.module-content li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--color-gray-700);
    line-height: 1.6;
}

.module-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 18px;
}

/* ======================================
   ABOUT SECTION
   ====================================== */

.about {
    background: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 48px;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-bottom: 20px;
}

.about-signature {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 3px solid var(--color-accent);
    font-size: 16px;
    color: var(--color-gray-600);
}

.about-signature strong {
    color: var(--color-gray-900);
    font-size: 18px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

/* ======================================
   PARTNERS SECTION (Carrousel Infini)
   ====================================== */

.partners {
    background: var(--color-gray-50);
    overflow: hidden;
    padding: 60px 0;
}

.partners-carousel {
    margin-top: 48px;
    overflow: hidden;
    position: relative;
    /* Effet de fondu sur les bords pour adoucir le défilement */
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.partners-track {
    display: flex;
    gap: 40px;
    /* Largeur dynamique pour s'adapter à la longueur du contenu */
    width: max-content;
    /* Vitesse plus lente (50s) pour un défilement apaisé */
    animation: scroll-partners 100s linear infinite;
}

.partner-item {
    flex-shrink: 0;
    /* Retour à la taille originale demandée */
    width: 400px;
    height: 240px;
    background: var(--color-white);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--color-gray-100);
}

.partner-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
    z-index: 10;
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    /* PLUS DE FILTRE GRIS */
    filter: none;
    opacity: 1;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        /* On déplace de 50% car la liste est dupliquée dans le HTML */
        transform: translateX(-50%);
    }
}

/* --- RESPONSIVE CARROUSEL --- */

/* Tablette (max-width: 1024px) */
@media (max-width: 1024px) {
    .partners-carousel {
        margin-top: 40px;
    }

    .partners-track {
        gap: 30px;
        animation-duration: 80s; /* Ajustement proportionnel */
    }

    .partner-item {
        /* Légère réduction pour tablette mais reste grand */
        width: 320px;
        height: 200px;
        padding: 20px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .partners-carousel {
        margin-top: 32px;
    }

    .partners-track {
        gap: 20px;
        /* Vitesse ajustée pour mobile */
        animation-duration: 70s;
    }

    .partner-item {
        /* Taille adaptée au mobile pour en afficher plus d'une à la fois */
        /* ~1.5 cartes visibles sur un écran standard (360-390px) */
        width: 240px;
        height: 150px;
        padding: 15px;
        border-radius: 8px;
    }
}

/* ======================================
   TESTIMONIALS SECTION (GRILLE AMÉLIORÉE)
   ====================================== */

.testimonials {
    background: var(--color-white);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile : 1 colonne */
    gap: 24px;
    grid-auto-flow: dense; /* Remplit les trous automatiquement */
    margin-top: 48px;
}

/* Tablette : 2 colonnes + Classes Span */
@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Carte Large (Horizontale) */
    .card-wide {
        grid-column: span 2;
    }
    
    /* Carte Haute (Verticale) */
    .card-tall {
        grid-row: span 2;
    }
    
    /* Carte Géante */
    .card-big {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* Desktop : 3 colonnes */
@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--color-gray-50);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--color-gray-100);
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

/* Élément décoratif pour les grandes cartes */
.card-wide::before, .card-tall::before {
    content: '\201C'; /* Guillemet géant */
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 120px;
    font-family: serif;
    color: var(--color-primary);
    opacity: 0.05;
    pointer-events: none;
}

.testimonial-stars {
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-gray-700);
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Agrandir le texte sur les cartes larges pour l'impact */
.card-wide .testimonial-text {
    font-size: 17px;
}

.testimonial-author {
    padding-top: 16px;
    border-top: 2px solid var(--color-accent);
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
    color: var(--color-gray-900);
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--color-gray-600);
}

/* Pour les petits écrans, on désactive les spans pour éviter la casse */
@media (max-width: 767px) {
    .card-wide, .card-tall, .card-big { grid-column: auto; grid-row: auto; }
}

/* ======================================
   MODALITIES SECTION
   ====================================== */

.modalities {
    background: var(--color-gray-50);
}

.modalities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.modality-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.modality-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.modality-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modality-icon i {
    font-size: 32px;
    color: var(--color-white);
}

.modality-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-gray-900);
}

.modality-card p {
    color: var(--color-gray-600);
    line-height: 1.7;
}

/* ======================================
   CTA SECTION
   ====================================== */

.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: 100px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--color-white);
}

.cta-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
    opacity: 0.95;
}

/* Styles pour le groupe de boutons */
.cta-buttons-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px; /* Espace entre les boutons */
    margin-bottom: 24px;
    flex-wrap: wrap; /* Permet le retour à la ligne sur mobile */
}

/* Style spécifique pour le bouton secondaire (Podcast) */
.cta-button-secondary {
    background: var(--color-white);
    color: var(--color-primary); /* Texte bleu */
    border: 2px solid var(--color-white);
}

.cta-button-secondary:hover {
    background: var(--color-gray-100);
    border-color: var(--color-gray-100);
    color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Icône Spotify un peu plus grande si nécessaire */
.cta-button-secondary i {
    font-size: 20px;
}

.cta-guarantee {
    margin-top: 24px;
    font-size: 14px;
    opacity: 0.9;
}

.cta-guarantee i {
    color: var(--color-accent);
    margin-right: 8px;
}

/* ======================================
   FOOTER
   ====================================== */

.footer {
    background: var(--color-gray-900);
    color: var(--color-gray-200);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--color-gray-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-accent);
}

.footer-certification {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-legal-info {
    margin-top: 20px;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

/* ======================================
   LEGAL PAGES
   ====================================== */

.legal-page {
    padding: 120px 0 80px;
    background: var(--color-white);
}

.legal-page h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--color-gray-900);
}

.legal-page h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--color-gray-900);
    text-align: left;
}

.legal-page h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--color-gray-800);
}

.legal-page p,
.legal-page li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-bottom: 16px;
}

.legal-page ul {
    margin-left: 32px;
    margin-bottom: 24px;
}

.legal-page a {
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.legal-page a:hover {
    border-bottom-color: var(--color-accent);
}

.legal-page strong {
    color: var(--color-gray-900);
    font-weight: 600;
}

.legal-content {
    max-width: 900px;
}

/* ======================================
   RESPONSIVE DESIGN
   ====================================== */

@media (max-width: 992px) {
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    section h2 {
        font-size: 32px;
    }

    .hero-image img,
    .about-image img {
        max-width: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        padding: 100px 0 60px;
        margin-top: 60px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-features {
        flex-direction: column;
        gap: 16px;
    }

    .cta-button {
        padding: 14px 24px;
        font-size: 14px;
        width: 100%; /* Boutons en pleine largeur sur mobile */
    }
    
    .cta-buttons-wrapper {
        flex-direction: column;
        gap: 16px;
    }

    section h2 {
        font-size: 26px;
    }

    .pain-grid,
    .solution-grid,
    .modalities-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .module-header {
        flex-direction: column;
        text-align: center;
    }

    .about-text h2 {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    section h2 {
        font-size: 22px;
    }

    .hero-features {
        gap: 12px;
    }

    .feature-item {
        font-size: 12px;
    }

    .module-header {
        padding: 20px;
    }

    .pain-card,
    .solution-card,
    .testimonial-card,
    .modality-card {
        padding: 24px;
    }
}

/* ======================================
   ABOUT SECTION - Cartes Différenciants
   ====================================== */

.about-content {
    /* Assure que le contenu s'aligne en haut */
    align-items: flex-start;
}

.differentiators-grid {
    display: flex;
    flex-direction: column; /* Empile les cartes verticalement */
    gap: 20px; /* Espace entre chaque carte */
    margin-top: 32px;
}

.differentiator-card {
    display: flex; /* Crée la "carte horizontale" (icône + contenu) */
    align-items: flex-start; /* Aligne l'icône en haut du texte */
    gap: 20px; /* Espace entre l'icône et le texte */
    
    /* Style de la carte */
    background: var(--color-gray-50);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.differentiator-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-accent);
    padding-left: 21px; /* (24px - 3px) pour compenser la bordure */
}

.differentiator-icon {
    flex-shrink: 0; /* Empêche l'icône de rétrécir */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent);
    color: var(--color-white);
}

.differentiator-icon i {
    font-size: 20px;
}

.differentiator-content strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 4px; /* Espace entre le titre et le texte */
    display: inline-block; /* Nécessaire pour que le margin-bottom fonctionne */
}

.differentiator-content p {
    font-size: 16px;
    color: var(--color-gray-700);
    line-height: 1.6;
    margin-bottom: 0; /* Annule le margin-bottom par défaut des <p> */
}

/* ======================================
   PRESCRILAB SECTION
   ====================================== */

.prescrilab-section {
    background: var(--color-white);
    padding: 100px 0;
}

.prescrilab-section h2 {
    margin-bottom: 12px;
}

.prescrilab-section .highlight-red {
    color: var(--color-accent);
}

/* Ajout pour le thème Manag'Lab en bleu */
.prescrilab-section .highlight-blue {
    color: var(--color-managlab);
}

.prescrilab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 48px;
}

.prescrilab-desc {
    font-size: 18px;
    color: var(--color-gray-600);
    margin-bottom: 32px;
}

.prescrilab-pillars {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent);
    font-size: 20px;
    transition: all 0.3s ease;
}

.pillar-item:hover .pillar-icon {
    background: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.1);
}

/* OVERRIDES POUR MANAG'LAB (THEME BLEU) */
.theme-managlab .pillar-icon {
    color: var(--color-managlab);
    background: var(--color-managlab-light);
}

.theme-managlab .pillar-item:hover .pillar-icon {
    background: var(--color-managlab);
    color: var(--color-white);
}

.theme-managlab .cta-button {
    background: var(--color-managlab);
    border-color: var(--color-managlab);
    box-shadow: 0 4px 12px rgba(0, 119, 200, 0.25);
}

.theme-managlab .cta-button:hover {
    background: var(--color-managlab-hover);
    box-shadow: 0 6px 16px rgba(0, 119, 200, 0.35);
}

/* FIN OVERRIDES */

.pillar-text strong {
    display: block;
    font-size: 18px;
    color: var(--color-gray-900);
    margin-bottom: 4px;
}

.pillar-text p {
    color: var(--color-gray-600);
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

/* Carte Graphique */
.chart-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-gray-100);
    text-align: center;
}

.chart-card h4 {
    font-size: 18px;
    color: var(--color-gray-900);
    margin-bottom: 24px;
    font-weight: 600;
}

.chart-container {
    position: relative;
    height: 350px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-container img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


/* Responsive Prescrilab */
@media (max-width: 992px) {
    .prescrilab-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .prescrilab-content {
        order: 2;
    }
    
    .prescrilab-visual {
        order: 1;
    }
}

@media (max-width: 768px) {
    .chart-container {
        height: 300px;
    }
}

/* ==========================================================
   NOUVEAUX STYLES POUR LA SECTION FORMATIONS INTER
   ========================================================== */

/* Style pour la Section Formation INTER */
.inter-card {
    background: var(--color-white); /* Blanc car la section est grise */
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    border-left: 6px solid var(--color-accent); /* Rappel du rouge Synaps */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inter-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Organisation contenu vs action (Desktop) */
@media (min-width: 992px) {
    .inter-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .inter-content {
        flex: 1;
        padding-right: 40px;
        border-right: 1px solid var(--color-gray-200);
    }
    .inter-action {
        flex-shrink: 0;
        width: 350px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 40px;
    }
}

/* Header & Textes */
.inter-category {
    display: inline-block;
    background: var(--color-gray-200);
    color: var(--color-gray-700);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.inter-card h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: 8px;
    line-height: 1.3;
}

.inter-hook {
    font-size: 18px;
    color: var(--color-accent); /* Texte en rouge pour l'impact */
    font-weight: 600;
    margin-bottom: 24px;
    font-style: italic;
}

/* Infos Pratiques (Lieu/Durée) */
.inter-info {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.info-item {
    font-size: 15px;
    color: var(--color-gray-600);
    background: var(--color-gray-50);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--color-gray-200);
}

.info-item i {
    color: var(--color-accent);
    margin-right: 8px;
}

/* Grille des Dates */
.inter-dates-wrapper {
    background: var(--color-gray-50);
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed var(--color-gray-200);
}

.dates-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 12px;
}

.dates-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 6px;
    padding: 8px 12px;
    min-width: 70px;
    transition: all 0.2s ease;
    cursor: default;
}

.date-badge:hover {
    border-color: var(--color-accent);
    background: #fff5f5; /* Rouge très pâle */
    transform: translateY(-2px);
}

.date-badge .day {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-gray-900);
    line-height: 1;
}

.date-badge .month {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--color-gray-600);
    font-weight: 600;
}

/* Zone Action */
.seats-alert {
    margin-top: 16px;
    font-size: 13px;
    color: var(--color-gray-600);
}

.seats-alert i {
    color: #fbbf24; /* Jaune/Or */
}

/* Responsive Mobile */
@media (max-width: 991px) {
    .inter-content {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--color-gray-200);
        padding-bottom: 32px;
    }
    .inter-action {
        width: 100%;
        padding-left: 0;
    }
    .inter-card h3 {
        font-size: 22px;
    }
}