.evenements {
  position: relative;
  background: var(--blanc);
  padding: 80px 100px;
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  overflow: hidden; /* évite que les ellipses débordent */
}

/* Blob / ellipse en haut à gauche */
.evenements::before {
  content: "";
  position: absolute;
  top: 300px;
  left: -200px;
  width: 600px;
  height: 300px;
  background: radial-gradient(circle at center, rgba(29, 67, 148, 0.15), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(60px);
}

/* Blob / ellipse en bas à droite */
.evenements::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(29, 67, 148, 0.12), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(60px);
}

/* Contenu au-dessus des blobs */
.evenements-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.evenements h2 {
  font-family: var(--avenir-font-family);
  font-size: 34px;
  margin-bottom: 60px;
  color: #39434C;
}

.evenements .accent {
  display: inline-block;
  width: 6px;
  height: 24px;
  background: var(--jaune);
  margin-right: 10px;
  vertical-align: middle;
}

.accordeons {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.accordeon-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordeon-header h3 {
  font-size: 35px;
  font-weight: 600;
  color: #39434C;
}

.accordeon .toggle {
  background: none;
  border: none;
  cursor: pointer;
}

.accordeon-body {
  display: none;
  margin-top: 10px;
  font-size: 16px;
  color: #333;
}

.accordeon.active .accordeon-body {
  display: block;
}

/* Ligne en dessous du texte */
.line-indicator {
  margin-top: 15px;
  height: 4px;
  width: 100%;
  background: #ccc;
  border-radius: 2px;
}

/* Ligne de l’accordeon actif */
.accordeon.active .line-indicator {
  background: linear-gradient(to right, var(--vert) 50%, #ccc 50%);
}

/* Date à droite */
.date-display {
  flex: 0 0 280px;
  text-align: center;
  font-family: var(--futura-font-family);
  color: #000;
}

.date-display .day {
  display: block;
  font-size: 140px;
  font-weight: 900;
  line-height: 1;
}

.date-display .month {
  display: block;
  font-size: 32px;
  margin-top: -10px;
  font-weight: 600;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .evenements {
    padding: 40px 20px;
    clip-path: none; /* on supprime l’effet oblique */
  }

  .evenements h2 {
    font-size: 26px;
    text-align: center;
    margin-bottom: 40px;
  }

  .evenements-content {
    flex-direction: column; /* pile au lieu de côte à côte */
    gap: 40px;
  }

  .accordeon-header h3 {
    font-size: 22px; /* titres réduits */
  }

  .accordeon-body {
    font-size: 14px;
    line-height: 1.5;
  }

  .date-display {
    order: -1;            /* date au-dessus du texte */
    flex: none;
    margin-bottom: 20px;
  }

  .date-display .day {
    font-size: 72px;      /* jour réduit */
  }

  .date-display .month {
    font-size: 20px;
  }
}
