    body {
      font-family: 'Open Sans', sans-serif;
      background-color: #f9fafc;
      color: #071042;
      margin: 0;
      line-height: 1.6;
    }

    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #fff;
      padding: 20px 60px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    header img {
      height: 50px;
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 25px;
      margin: 0;
      padding: 0;
    }

    nav a {
      text-decoration: none;
      color: #071042;
      font-weight: 600;
      transition: color 0.3s ease;
    }

    nav a:hover {
      color: #2a6ad4;
    }

    .hero {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 60px;
      gap: 40px;
      border-radius: 20px;
  
      margin: 40px auto;
      max-width: 1200px;
    }

    .hero img {
      border-radius: 20px;
      width: 500px;
      height: auto;
      object-fit: cover;
    }

    h1, h2, h3 {
      font-family: 'Montserrat', sans-serif;
      color: #071042;
    }

    .card-program {
    
      padding: 30px;
     /* border-radius: 20px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.05); */
      margin: 40px auto;
      max-width: 1100px;
    }

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

    .card {
      background: #f0f4ff;
      padding: 20px;
      border-radius: 16px;
      box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    }

    .card h1 {
      font-size: 18px;
      color: #27407a;
    }

    .section {
      max-width: 1100px;
      margin: 60px auto;
      text-align: center;
    }

    .two-col {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 40px;
      flex-wrap: wrap;
    }

    .two-col img {
      border-radius: 100%;
      width: 260px;
      height: 260px;
      object-fit: cover;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    footer {
      background: #071042;
      color: #fff;
      text-align: center;
      padding: 40px 20px;
      margin-top: 60px;
    }

    footer a {
      color: #fff;
      text-decoration: none;
      font-weight: 600;
    }

    footer a:hover {
      text-decoration: underline;
    }

.timeline {
  position: relative;
  margin: 0 auto;
  padding-left: 40px;
  border-left: 3px solid #27407a;
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-dot {
  position: absolute;
  left: -11px;
  top: 5px;
  width: 20px;
  height: 20px;
  background: #27407a;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px #27407a33;
}
.timeline-content {
  background: white;
  padding: 18px 24px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.timeline-content h3 {
  color: #071042;
  margin-top: 0;
  font-family: 'Montserrat', sans-serif;
}
.timeline-content p {
  color: #333;
  margin: 6px 0 0;
  line-height: 1.6;
}

/* --- SECTION HISTORIQUE --- */
.historique-section {
  position: relative;
  background-image: url('affi.jpeg'); /* 🔄 mets ici ton image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 80px 0;
  overflow: hidden;
}

/* --- FILTRE BLEU --- */
.historique-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12, 21, 75, 0.8); /* Bleu transparent */
  z-index: 1;
}

/* --- CONTENU AU-DESSUS DU FILTRE --- */
.historique-section .overlay {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
}

.historique-section h2 , h3 {
  text-align: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 50px;
  font-size: 1.8em;
}

/* --- TIMELINE --- */
.timeline {
  position: relative;
  margin: 0 auto;
  padding-left: 40px;
  border-left: 3px solid rgba(255,255,255,0.5);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-dot {
  position: absolute;
  left: -11px;
  top: 5px;
  width: 20px;
  height: 20px;
  background: #2a6ad4;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px rgba(6, 33, 77, 0.3);
}
.timeline-content {
  background: rgba(255,255,255,0.1);
  padding: 18px 24px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0);
}
.timeline-content h3{

  color:#f0f4ff;

}
.content p {
  color: #ffffff;
}
/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  header {
    padding: 15px 30px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero img {
    width: 90%;
    max-width: 350px;
  }

  nav ul {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  header {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  header img {
    height: 40px;
    margin-bottom: 10px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero img {
    width: 100%;
    height: auto;
  }

  .two-col {
    flex-direction: column;
    text-align: center;
  }

  .two-col img {
    width: 180px;
    height: 180px;
  }

  .card-program,
  .section {
    padding: 20px;
    margin: 20px auto;
  }

  footer {
    padding: 30px 10px;
    font-size: 14px;
  }

  footer p {
    line-height: 1.5;
  }

  /* --- SECTION HISTORIQUE --- */
  .historique-section {
    background-attachment: scroll; /* meilleur rendu sur mobile */
    padding: 60px 20px;
  }

  .historique-section h2 {
    font-size: 1.4em;
    margin-bottom: 30px;
  }

  .timeline {
    border-left: 2px solid rgba(255,255,255,0.4);
    padding-left: 25px;
  }

  .timeline-dot {
    left: -9px;
    width: 14px;
    height: 14px;
  }

  .timeline-content {
    padding: 14px 16px;
  }

  .timeline-content h3 {
    font-size: 1em;
  }

  .timeline-content p {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  h1, h2 {
    font-size: 1.4em;
  }

  nav ul {
    flex-direction: column;
    gap: 5px;
  }

  .timeline-content {
    font-size: 0.9em;
  }

  .timeline-content h3 {
    font-size: 0.95em;
  }

  .historique-section h2 {
    font-size: 1.2em;
  }
}
