/* Grille de cartes */
.evenements-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* Nettoie les héritages globaux à l’intérieur des cartes */
.event-card { color:#1d1d1f !important; text-shadow:none !important; }
.event-title { color:#1d1d1f; }
.event-meta  { color:#555; }
.price       { color:#111; }


/* Carte */
.event-card {
  text-decoration:none;
  background: #fff;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
}

.event-card:focus-visible{outline:3px solid #80bfff;outline-offset:3px}

.event-card .cta-hint{margin-top:10px;font-size:.92rem;opacity:.75}

.event-card:visited{ color:inherit; }


/* Image + date */
.event-media {
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Calque assombrissant */
.event-media .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.35));
  z-index: 1;
}

.event-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.9);
  padding: 8px 10px;
  border-radius: 10px;
  text-align: center;
  z-index: 2;
}
.event-date .big {
  font-size: 20px;
  font-weight: bold;
  display: block;
}
.event-date .small {
  font-size: 11px;
  color: #555;
}

/* Corps */
.event-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.event-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}
.event-meta {
  font-size: 14px;
  color: #555;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Guides */
.guides {
  display: flex;
  gap: 6px;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.event-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-weight: bold;
  color: #fff;
  font-size: 26px;
  z-index: 2;
  display: block;
  text-align: right;
  padding-right: 20px;
  padding-top: 10px;
}

.complet{
  position: absolute;
  z-index: 5;
  top: 40px;
  right: -24px;                /* léger débord pour l'effet coin */
  transform: rotate(25deg);    /* biais doux */
  transform-origin: top right;

  background: #fff;
  color: #b91c1c;
  border: 2px solid #b91c1c;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;

  font-size: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 80px;
  padding-right: 22px;
  box-shadow: 0 3px 6px rgba(0,0,0,.15);
  pointer-events: none;        /* ne bloque pas les clics */
}

/* Ajuste sur petits écrans / petites cartes */
@media (max-width: 600px){
  .complet{
    right: -18px;
    font-size: 16px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 70px;
    padding-right: 22px;
    transform: rotate(25deg);
  }
}

.cta {
  background: #1f6feb;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.cta:hover {
  background: #1857bb;
}

.agenda-page{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:1rem;
}

.avatar-group{display:flex;align-items:center;gap:6px}
.avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.avatar.more{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;font:600 12px/1 system-ui;background:#eef;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
