/* ---------- BIOGRAPHIE ---------- */
.section-bio {
  position: relative;
  padding: 3rem 2rem;
  background-image: url("../images/biographie/img-biographie.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  background-attachment: fixed;
  color: var(--noir);
}

#bio {
  scroll-margin-top: 50px;
}

.section-bio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35); /* overlay blanc semi-transparent */
  z-index: 0;
}

.bio-container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.bio-text {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 3rem auto 5rem;
  text-align: left;
}

.bio-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.6rem;
  color: var(--noir);
}

/* ---------- TIMELINE ---------- */
.timeline {
  padding: 2rem 2rem 1rem 4rem; /* haut | droite | bas | gauche */
  position: relative;
  background: rgba(255,255,255,0.9);
  border-radius: 24px;
  color: var(--bleu);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 2rem; /* ligne verticale */
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(0,0,0,0.1);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 2rem; /* espace pour l'année + info */
}

.timeline-item p strong {
  color: #e6b800; /* doré plus lisible */
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.65rem; /* toujours sur le trait */
  top: 0.5rem;
  width: 20px;        /* plus gros */
  height: 20px;       /* plus gros */
  background: #ffd45c;
  border-radius: 50%;
  border: 3px solid #fff; /* contour blanc */
  z-index: 2;
}

.timeline-year {
  display: flex;
  margin-bottom: 2.5rem;
  flex-wrap: wrap; /* pour mobiles */
}

.timeline-year .year {
  width: 10%;
  text-align: right;
  padding-right: 4%;
  font-size: 24pt;
  font-weight: bold;
  color: var(--orange);
}

.timeline-year .events {
  width: 56%;
  padding-left: 2rem;
}

.event-item {
  margin-bottom: 1rem;
}

.event-month {
  font-size: 14pt;
  font-weight: bold;
  color: var(--noir);
}

.event-text {
  font-size: 12pt;
  line-height: 14pt;
  color: var(--noir);
}

.event-text-surligne {
  font-size: 12pt;
  line-height: 14pt;
  font-weight: bold;
  color: var(--bleu);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .section-bio {
  background-image: url("../images/biographie/img-biographie-mobile.jpg");
  background-attachment: scroll;
	}
	
  .timeline-year {
    flex-direction: column;
  	}
	
  .timeline-year .year,
  .timeline-year .events {
    width: 100%;
    text-align: left;
    padding: 0;
  	}
}