/* ============================================================
   BIMBO — Pages Événements (13/10/2026)
   Complète style.css (frise .timeline et pastilles .badge déjà définies).
   ============================================================ */

.evt-conteneur { max-width: 860px; }

.evt-intro {
  text-align: center;
  font-size: 1.08rem;
  color: #555;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* ── Page d'entrée : deux grands choix ─────────────────────── */
.evt-choix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.evt-choix__carte {
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border-radius: 18px;
  border: 1px solid rgba(26, 58, 92, 0.08);
  box-shadow: 0 1px 2px rgba(16, 40, 66, 0.05), 0 14px 36px -14px rgba(16, 40, 66, 0.22);
  overflow: hidden;
  color: var(--gris-texte);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.evt-choix__carte:hover,
.evt-choix__carte:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(16, 40, 66, 0.05), 0 22px 46px -16px rgba(16, 40, 66, 0.3);
  color: var(--gris-texte);
}
.evt-choix__carte img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(135deg, #EEF3FF, #FFF3E0);
}
.evt-choix__corps { padding: 1.6rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.evt-choix__corps h2 { font-size: 1.45rem; margin: 0; }
.evt-choix__corps p { margin: 0; color: #5a5a5a; }
.evt-choix__statut {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bleu);
  background: #EEF3FF;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
}
.evt-choix__lien { margin-top: auto; padding-top: 0.6rem; font-weight: 600; color: var(--orange); }

/* ── Chiffres clés ──────────────────────────────────────────── */
.evt-chiffres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.evt-chiffres li {
  background: var(--blanc);
  border-radius: 14px;
  border: 1px solid rgba(26, 58, 92, 0.08);
  box-shadow: 0 8px 24px -14px rgba(16, 40, 66, 0.2);
  padding: 1.1rem 1rem;
  text-align: center;
}
.evt-chiffres strong { display: block; font-size: 2.1rem; line-height: 1.1; color: var(--orange); font-weight: 800; }
.evt-chiffres span { font-size: 0.85rem; color: #666; }

/* ── Filtres ────────────────────────────────────────────────── */
.evt-filtres { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.evt-filtre {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--gris-bord);
  background: var(--blanc);
  color: var(--bleu);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.evt-filtre:hover { border-color: var(--bleu); }
.evt-filtre.is-actif { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }

/* ── Titres de section et années ────────────────────────────── */
.evt-section-titre {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1rem 0 1.4rem;
}
.evt-pastille { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); flex: none; }
.evt-pastille--futur { background: var(--bleu); }
.evt-note { margin: -0.8rem 0 1.4rem; color: #777; font-size: 0.92rem; }
.evt-bloc { margin-bottom: 3rem; }

.evt-annee__titre {
  font-size: 1.05rem;
  color: var(--orange);
  letter-spacing: 1px;
  margin: 0 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--gris-bord);
}
.evt-annee + .evt-annee { margin-top: 1rem; }

.timeline-item .badge { margin-right: 0.35rem; }
.timeline-item__title { font-size: 1.05rem; }
.timeline-item__meta { margin: 0.2rem 0 0; }
.timeline-item[hidden], .evt-annee[hidden] { display: none; }

.evt-vide {
  border: 1.5px dashed var(--gris-bord);
  border-radius: 14px;
  padding: 1.6rem;
  text-align: center;
  color: #777;
  margin-bottom: 3rem;
}
.evt-vide p { margin: 0; }

/* ── Appel à l'action ───────────────────────────────────────── */
.evt-appel { text-align: center; }
.evt-appel__boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.5rem; }

@media (max-width: 620px) {
  .evt-chiffres { grid-template-columns: 1fr; }
  .evt-chiffres li { display: flex; align-items: center; gap: 0.9rem; text-align: left; padding: 0.8rem 1rem; }
  .evt-chiffres strong { font-size: 1.7rem; min-width: 2.2rem; }
  .evt-appel__boutons .btn { width: 100%; }
}

.evt-vide-filtre { color: #777; font-style: italic; margin: 0 0 0 -2rem; }
.evt-vide-filtre[hidden] { display: none; }

/* ── Frise compacte ─────────────────────────────────────────── */
.evt-conteneur .timeline-item { margin-bottom: 0.9rem; padding: 0.95rem 1.25rem; }
.evt-conteneur .timeline-item::before { top: 1.15rem; }
.evt-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: 0.25rem; }
.evt-tete .timeline-item__date { margin: 0; }
.evt-tete .badge { margin: 0; }
.evt-conteneur .timeline-item__title { margin-bottom: 0.1rem; }
.evt-conteneur p, .evt-choix__corps p { text-align: left; }
.page-hero p { text-align: center; }
.evt-conteneur > .timeline { margin-bottom: 3rem; }
.evt-conteneur .evt-appel p { text-align: center; }

/* ── Retouches du 13/10/2026 : illustrations entières, chiffres clés colorés ── */
.evt-choix__carte img {
  aspect-ratio: auto;
  height: 260px;
  object-fit: contain;
  padding: 1rem 0 0;
}
.evt-chiffres .evt-chiffre { border-top: 4px solid var(--c); background: var(--fond); }
.evt-chiffre strong { color: var(--c); font-size: 2.4rem; }
.evt-chiffre span { color: var(--c); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.evt-chiffre--topo    { --c: #3B5BDB; --fond: #F3F6FF; }
.evt-chiffre--atelier { --c: #C9651A; --fond: #FFF7EE; }
.evt-chiffre--congres { --c: #2D8653; --fond: #F1FBF4; }
@media (max-width: 620px) {
  .evt-chiffres .evt-chiffre { border-top: none; border-left: 4px solid var(--c); }
  .evt-chiffre strong { font-size: 1.9rem; }
}
.evt-conteneur .evt-intro { text-align: center; }

/* ── Contrastes renforcés (lisibilité, norme d'accessibilité AA) ── */
.evt-conteneur .timeline-item__date,
.evt-annee__titre,
.evt-choix__lien { color: #B0500E; }
.evt-conteneur .timeline-item--future .timeline-item__date { color: var(--bleu); }
.evt-conteneur .badge--atelier { color: #B0500E; }
.evt-conteneur .badge--congres { color: #23704A; }
.evt-chiffres .evt-chiffre--atelier { --c: #B0500E; }
.evt-chiffres .evt-chiffre--congres { --c: #23704A; }
.evt-conteneur .timeline-item__meta,
.evt-note, .evt-vide, .evt-vide-filtre { color: #666; }
h4.timeline-item__title { color: var(--bleu); font-weight: 700; line-height: 1.3; }

/* ── Support de présentation téléchargeable (topos) ─────────── */
.evt-support {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-top: 0.7rem; padding: 0.45rem 0.95rem;
  border: 1.5px solid var(--orange); border-radius: 999px;
  color: #B0500E; font-weight: 600; font-size: 0.9rem; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.evt-support:hover, .evt-support:focus-visible { background: var(--orange); color: #fff; }
.evt-support svg { flex: none; }
.evt-support__poids { font-weight: 500; opacity: 0.8; }