/* PAGE PROJET */
.pack-portfolio {
  width: 100%;
}
.pack-filters {
  text-align: center;
  margin-bottom: 30px;
  list-style: none;
  padding: 0;
}
.pack-filters li {
  display: inline-block;
  margin: 0 12px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}
.pack-filters li.active {
  text-decoration: underline;
}
/* --- GRILLE --- */
.pack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.pack-item {
  width: calc(25% - 15px);
  position: relative;
  margin-bottom: 15px;
}
@media (max-width:1024px) { .pack-item { width: calc(50% - 15px); } }
@media (max-width:600px) { .pack-item { width: 100%; } }
/* --- IMAGE ET OVERLAY --- */
.pack-thumb {
  position: relative;
  overflow: hidden;
}
.pack-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  transition: transform 0.3s ease;
}
.pack-thumb:hover img {
  transform: scale(1.05);
}
.pack-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pack-thumb:hover .pack-overlay {
  opacity: 1;
}
.pack-overlay h3 {
  margin: 0;
  font-size: 1rem;
  text-align: center;
}
.pack-filters li a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}
.pack-filters li a:hover {
  text-decoration: underline;
}
/*END PAGE PROJET*/
