/* ===== Timeline Parcours Styles ===== */

.parcours-section {
  padding: 100px 0;
  background: #111;
  position: relative;
}

.parcours-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.parcours-container h2 {
  text-align: center;
  font-size: 2.5rem;
  color: white;
  font-weight: 700;
  margin-bottom: 80px;
  position: relative;
}

.parcours-container h2::after {
  content: "";
  height: 4px;
  width: 80px;
  background: var(--primary-color);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

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

/* Ligne verticale de la timeline */
.timeline-content::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--primary-color),
    var(--secondary-color)
  );
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(78, 115, 223, 0.3);
}

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

/* Container gauche */
.left-container {
  left: 0;
  padding-right: 80px;
  text-align: right;
}

/* Container droite */
.right-container {
  left: 50%;
  padding-left: 80px;
  text-align: left;
}

/* Images des établissements */
.timeline-item img {
  position: absolute;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--primary-color);
  background: #000;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 6px #111, 0 0 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.left-container img {
  right: -75px;
}

.right-container img {
  left: -75px;
}

.timeline-item:hover img {
  transform: translateY(-50%) scale(1.1);
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 6px #111, 0 0 30px rgba(78, 115, 223, 0.5);
}

/* Boîtes de contenu */
.text-box {
  position: relative;
  padding: 30px;
  margin: 10px;
  background: #000;
  border-radius: 15px;
  border: 1px solid #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.text-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.text-box:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Flèches */
.text-box::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  z-index: 5;
}

.left-container .text-box::after {
  right: -30px;
  border-left-color: #000;
  transform: translateY(-50%);
}

.right-container .text-box::after {
  left: -30px;
  border-right-color: #000;
  transform: translateY(-50%);
}

/* Contenu du texte */
.text-box h2 {
  font-size: 1.4rem;
  color: white;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
}

.text-box span {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
  background: rgba(78, 115, 223, 0.1);
  padding: 5px 15px;
  border-radius: 20px;
  margin-bottom: 15px;
  border: 1px solid var(--primary-color);
}

.text-box p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
  margin: 0;
}

/* Expériences Section */
.experiences-section {
  padding: 100px 0;
  background: #000;
  position: relative;
}

.experiences-right-container,
.experiences-left-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.experiences-content h2,
.stage h2 {
  text-align: center;
  font-size: 2.5rem;
  color: white;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
}

.experiences-content h2::after,
.stage h2::after {
  content: "";
  height: 4px;
  width: 80px;
  background: var(--secondary-color);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.stage {
  margin-top: 60px;
  padding: 40px;
  background: #111;
  border-radius: 15px;
  border: 1px solid #333;
  text-align: center;
}

.stage h2 {
  color: #ccc;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.stage h2::after {
  background: #666;
}
