.timeline {
  position: relative;
  margin: 40px auto;
  padding: 20px 0;
  max-width: 1000px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #1e3a8a; /* bleu foncé style PlanetJamel */
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 30px 0;
  width: 50%;
  padding: 15px 20px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-date {
  font-weight: bold;
  color: #1e3a8a; /* bleu */
  margin-bottom: 8px;
}

.timeline-content {
  background: #3b82f6; /* bleu clair */
  color: #fff;
  font-size: clamp(0.8rem, 1.5vw, 0.87rem);
  text-align: justify;
  padding: 12px 15px;
  border-radius: 8px;
  display: inline-block;
  max-width: 600px;
}
