/* =========================================
   FICHIER : css/evenements.css
   ROLE    : Page Événements / Agenda
   ========================================= */

.hero-events{
  padding: 180px 0 80px;
  text-align: center;
  color: white;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,110,64,0.18) 0%, rgba(255,110,64,0) 55%),
    linear-gradient(135deg, #0f2231 0%, #1e3d59 100%);
}

.hero-events .overline{
  display: inline-block;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 900;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.hero-events h1{
  color: white;
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: -0.5px;
}

.hero-events p{
  margin: 0 auto;
  max-width: 820px;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  font-size: 1.1rem;
}

/* Section */
.events-section{
  padding: 70px 0 110px;
  background: #fcfbf8;
}

/* Helper utilisé dans ton HTML */
.max-800{
  max-width: 800px;
  margin: 0 auto;
}

/* Titres de blocs */
.events-header{
  margin: 0 0 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(30,61,89,0.10);
}

.events-header h2{
  margin: 0;
  font-size: 2rem;
  color: var(--color-deep);
}

.events-header.passed{
  margin-top: 60px;
  opacity: 0.72;
}

/* Carte événement */
.event-card{
  display: flex;
  gap: 22px;

  background: white;
  border-radius: 18px;
  padding: 22px;

  border: 1px solid rgba(30,61,89,0.10);
  box-shadow: 0 12px 30px rgba(30,61,89,0.08);

  margin-bottom: 18px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.event-card:hover{
  transform: translateY(-3px);
  border-color: rgba(255,110,64,0.28);
  box-shadow: 0 18px 42px rgba(30,61,89,0.12);
}

/* Date bloc */
.event-date{
  width: 84px;
  height: 84px;
  flex-shrink: 0;

  border-radius: 16px;
  background: var(--color-accent);
  color: white;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  box-shadow: 0 14px 30px rgba(255,110,64,0.22);
}

.event-day{
  font-size: 2.15rem;
  font-weight: 950;
  line-height: 1;
}

.event-month{
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 2px;
  font-weight: 900;
  opacity: 0.95;
}

/* Contenu */
.event-details h3{
  margin: 0 0 8px;
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--color-deep);
}

.event-meta{
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  color: rgba(45,52,54,0.70);
  font-size: 0.95rem;
  font-weight: 750;
}

.event-meta i{
  color: var(--color-accent);
}

/* Événements passés */
.past-events{
  opacity: 0.78;
  background: rgba(30,61,89,0.03);
}

.event-date.past{
  background: rgba(30,61,89,0.18);
  box-shadow: none;
}

/* Responsive */
@media (max-width: 700px){
  .event-card{
    flex-direction: column;
    text-align: left;
  }

  .event-date{
    width: 78px;
    height: 78px;
  }

  .event-meta{
    justify-content: flex-start;
  }
}

@media (max-width: 480px){
  .events-section{
    padding: 60px 0 90px;
  }

  .event-card{
    padding: 18px;
  }
}