@charset "UTF-8";
/* === CARTES DOSSIERS === */
.modern-directory-card {
  background-color: rgba(0, 0, 0, 0.03);
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative; }

.project-directory {
  padding: 2rem 1rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb; }

.modern-directory-card:hover {
  -webkit-transform: translateY(-8px) scale(1.02);
          transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15); }

.card-body {
  background: #ffffff; }

/* === CARTES MÉDIAS === */
.modern-media-card {
  background: #ffffff;
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative; }

.modern-media-card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15); }

.project-image {
  height: 200px;
  object-fit: cover;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  position: relative; }

.modern-media-card:hover .project-image {
  -webkit-transform: scale(1.05);
          transform: scale(1.05); }

/* Overlay pour les actions */
.media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, color-mix(in srgb, var(--main-color) 60%, transparent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  z-index: 10; }

.project-image-card:hover .media-overlay {
  opacity: 1; }

/* Conteneur d'image avec overlay */
.image-container {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px; }

/* Boutons d'action */
.modern-actions {
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -ms-flex-pack: center;
      justify-content: center; }

.action-btn-modern, .project-image-button {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none; }

.action-btn-modern:hover {
  background: #ffffff;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25); }

.action-btn-modern i {
  font-size: 16px; }

/* Pathmedia truncate */
.media-path-truncated {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%; }