.evenements {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(
    180deg,
    var(--c-nuit-profond) 0%,
    var(--c-nuit) 50%,
    rgba(6, 14, 26, 0.96) 100%
  );
}
.evenements__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 5rem 7vw 5.5rem;
}
.evenements__entete {
  text-align: center;
}
.evenements__filet {
  display: block;
  width: 44px;
  height: 3px;
  margin-inline: auto;
  margin-bottom: 1.3rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-orange-fort), var(--c-orange));
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.55);
}
.evenements__titre {
  margin: 0 0 0.7rem;
  font-family: "Micky Mike", "Brush Script MT", cursive;
  font-size: clamp(2.2rem, 11vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--c-orange);
  text-shadow:
    0 0 6px var(--c-orange),
    0 0 20px var(--c-orange-fort),
    0 0 44px rgba(255, 106, 0, 0.5);
}
.evenements__intro {
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}
.evenements__liste {
  display: grid;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.carte-evenement {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem 1.7rem;
  border: 1px solid rgba(77, 216, 255, 0.28);
  border-radius: 16px;
  background: rgba(6, 14, 26, 0.72);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.carte-evenement__icone {
  display: inline-flex;
  width: 2.4rem;
  margin-bottom: 1rem;
  color: var(--c-cyan);
  filter: drop-shadow(0 0 6px var(--c-cyan-fort));
}
.carte-evenement__icone svg {
  display: block;
  width: 100%;
  height: auto;
}
.carte-evenement__titre {
  margin: 0 0 0.6rem;
  font-family: "Micky Mike", "Brush Script MT", cursive;
  font-size: clamp(1.6rem, 7vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--c-cyan);
  text-shadow:
    0 0 5px var(--c-cyan),
    0 0 16px var(--c-cyan-fort);
}
.carte-evenement__texte {
  margin: 0 0 1.2rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
}
.carte-evenement__exemples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.55rem;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}
.carte-evenement__exemples li {
  padding: 0.4em 0.95em;
  border: 1px solid rgba(255, 157, 47, 0.55);
  border-radius: 999px;
  background: rgba(255, 157, 47, 0.08);
  color: var(--c-orange);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.evenements__appel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.8rem;
  text-align: center;
}
.evenements__appel-texte {
  max-width: 52ch;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}
.evenements__appel-texte strong {
  color: #fff;
}
.bouton-evenement {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  border: 2px solid var(--c-orange);
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.08);
  color: var(--c-orange);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow:
    0 0 12px rgba(255, 106, 0, 0.45),
    inset 0 0 16px rgba(255, 106, 0, 0.16);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}
.bouton-evenement:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 4px;
}
.bouton-evenement__icone {
  display: inline-flex;
  width: 1.2rem;
  filter: drop-shadow(0 0 5px rgba(255, 106, 0, 0.8));
}
.bouton-evenement__icone svg {
  display: block;
  width: 100%;
  height: auto;
}
.bouton-evenement__numero {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(255, 106, 0, 0.7);
}
@media (hover: hover) and (pointer: fine) {
  .carte-evenement:hover {
    border-color: rgba(77, 216, 255, 0.6);
    box-shadow:
      0 0 14px rgba(30, 144, 255, 0.3),
      inset 0 0 16px rgba(77, 216, 255, 0.08);
  }
  .bouton-evenement:hover {
    background: rgba(255, 106, 0, 0.16);
    box-shadow:
      0 0 18px rgba(255, 106, 0, 0.65),
      0 0 40px rgba(255, 106, 0, 0.3),
      inset 0 0 20px rgba(255, 106, 0, 0.22);
  }
}
@media (min-width: 768px) {
  .evenements__inner {
    padding: 6.5rem 5vw 6rem;
  }
  .carte-evenement {
    padding: 1.9rem 1.8rem 2rem;
  }
  .evenements__appel {
    margin-top: 3.5rem;
  }
}
@media (min-width: 980px) {
  .evenements__liste {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
  }
  .evenements__titre {
    font-size: 3.6rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .carte-evenement,
  .bouton-evenement {
    transition: none;
  }
}
