/**
 * page-formation.css
 * Styles spécifiques — pricing cards + galerie élèves
 */

/* Pricing card featured effect */
.pricing-card-featured {
  transform: scale(1.02);
  border: 2px solid var(--teal) !important;
}

/* Galerie élèves — grid auto-fill */
.student-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.8rem;
}
.student-gallery .gallery-item {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.student-gallery .gallery-item img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.student-gallery .gallery-item:hover img {
  transform: scale(1.04);
}
.student-gallery .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(to top, rgba(12, 26, 42, 0.8), transparent);
  font-size: 0.75rem;
  color: var(--cream);
}

/* Avantages cards equal height */
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .pricing-card-featured {
    transform: none;
  }
}
