/* ===== DESIGN MODERNE PAGES DÉTAILS FORMATIONS ===== */

.formation-detail-header {
  background: linear-gradient(135deg, #3a0ca3 0%, #4361ee 100%);
  padding: 60px 0;
  color: white;
}

.formation-header-content {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.formation-image {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.formation-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Sections modernes */
.chapter-section {
  background: white;
  margin: 25px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #3a0ca3;
  max-width: 1000px;
}

.presentation-section {
  background: white;
  margin: 25px auto;
  padding: 30px;
  border-radius: 12px;

  border-left: 4px solid #3a0ca3;
  max-width: 1000px;
}


.chapter-title {
  color: #3a0ca3;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Listes stylées */
.formation-list {
  margin-left: 0;
  line-height: 1.7;
  list-style: none; /* <––– AJOUT MAGIQUE pour enlever les puces ! */
  padding-left: 0;  /* <––– pour éviter un décalage inutile */
}

.formation-list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.formation-list li::before {
  content: "▸";
  color: #478ac9;
  font-weight: bold;
  font-size: 1.2em;
  position: absolute;
  left: 15px;
  top: 3px;        /* <-- aligné sur la première ligne */
  transform: none;
}


/* Icônes intégrées dans le texte */
.formation-list .u-icon {
  margin-right: 10px;
  vertical-align: middle;
}
/* ===== BLOC INFO FORMATION - DESIGN MODERNE ===== */

.formation-info-block {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.info-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
 /* border-left: 4px solid #3a0ca3;*/
}

.info-title {
	
  color: #3a0ca3;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f5f5f5;
}

.info-label {
  font-weight: 600;
  color: #333;
}

.info-value {
  color: #3a0ca3;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding: 10px 0;
}

.contact-icon {
  font-size: 1.2em;
  width: 30px;
  text-align: center;
}

.contact-link {
  color: #3a0ca3;
  text-decoration: none;
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Sections méthodes */
.methods-section {
  margin-bottom: 40px;
}

.section-title {
  color: #3a0ca3;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  padding-top: 25px;
  text-align: center;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.method-category {
background: #f7f2ff;
  padding: 25px;
  border-radius: 10px;
}

.category-title {
  color: #3a0ca3;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.method-list {
  list-style: none;
  padding: 0;
}


.method-list li {
    position: relative;
    padding-left: 30px; /* espace pour le symbole */
    line-height: 1.8;   /* espace vertical entre les items */
    margin-bottom: 10px; /* pour un petit saut de ligne si nécessaire */
}

.method-item {
    position: relative;
    padding-left: 22px;
}

.method-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #478ac9;
    transform: translateY(-50%);
}



/* Statistiques */
.stats-section {
  text-align: center;
  background: linear-gradient(135deg, #6a0dad 0%, #d8b3ff 100%);
  color: white;
  padding: 40px;
  border-radius: 15px;
  margin-top: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 5px;
  opacity: 0.9;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.cta-button {
  background: white;
  color: #3a0ca3;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== TITRE PROGRAMME STYLÉ ===== */

.program-title {
  text-align: center;
  font-weight: 700;
  font-size: 2.2rem;
  color: #3a0ca3; /* Bleu foncé DSM */
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

/* Ligne de décoration sous le titre */
.program-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3a0ca3, #4361ee, #478ac9);
  border-radius: 2px;
}

/* Icône à gauche du titre (optionnel) */
.program-title::before {
  content: "📚"; /* Ou utilisez une icône SVG */
  margin-right: 15px;
  font-size: 1.8rem;
  vertical-align: middle;
}

/* Version avec dégradé de texte (plus moderne) */
.program-title.gradient {
  background: linear-gradient(135deg, #3a0ca3, #478ac9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive */
@media (max-width: 767px) {
  .program-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .program-title::before {
    font-size: 1.5rem;
    margin-right: 10px;
  }
}
