/* Section globale */
#section-Événements {
  padding: 60px 20px;
  background-color: #f5f7fb;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  color: #1f2937;
  margin-bottom: 40px;
}

/* Carte individuelle */
.event-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 25px 30px;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.582);
  transition: transform 0.3s ease;
  gap: 20px;
  flex-wrap: wrap;
}

.event-card:hover {
  transform: translateY(-4px);
}

/* Partie texte */
.event-text {
  flex: 2;
  min-width: 250px;
}

.event-text h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}

.event-text p {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.6;
}

/* Partie image */
.event-image {
  flex: 1;
  min-width: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-image img {
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid #e5e7eb;
  background-color: #f9fafb;
  padding: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .event-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .event-image {
    margin-top: 20px;
  }
}
