
.abonnement-cartes-js {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.2rem 0;
}

.carte-duree {
  border: 2px solid #444;
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease, transform 0.3s ease;
  min-width: 140px;
  background: #1e1e1e;
  color: #f0f0f0;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  flex: 1 1 140px;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.carte-duree:nth-child(1) { animation-delay: 0.1s; }
.carte-duree:nth-child(2) { animation-delay: 0.2s; }
.carte-duree:nth-child(3) { animation-delay: 0.3s; }
.carte-duree:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carte-duree:hover {
  border-color: #00bfff;
  background-color: #2a2a2a;
  transform: translateY(-4px);
}

.carte-duree.active {
  border-color: #00bfff;
  background-color: #004f77;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 191, 255, 0.4);
}

.duree-titre {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
  display: block;
}

.prix-carte {
  display: block;
  margin-top: 6px;
  color: #00bfff;
  font-size: 1rem;
}

.duree-selectionnee {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  color: #ffffff;
  background-color: #00bfff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
}
