body {
  background: linear-gradient(135deg, #e3eafc 0%, #f7f7fa 100%);
  min-height: 100vh;
  color: #2c3e50;
}
header { position: sticky; top: 0; z-index: 100; }
.close, .open { background: #1a1a1a !important; backdrop-filter: none !important; }

.container { max-width: 1300px; margin: 0 auto; padding: 20px; }

.page-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 36px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-bottom: 3px solid #e0e0e0;
}
.page-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #2c3e50;
  margin-bottom: 8px;
  font-weight: 400;
  font-family: var(--font-title);
}
.subtitle { font-size: 1.05rem; color: #7f8c8d; font-weight: 300; }

/* Onglets médias */
.media-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.nav-btn {
  background: white;
  border: 2px solid #e0e0e0;
  padding: 11px 22px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  font-family: var(--font-body);
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.nav-btn.active { background: #5b7a8c; color: white; border-color: #5b7a8c; font-weight: 600; }

/* Sections */
.media-section { display: none; animation: fadeIn 0.4s ease; }
.media-section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 18px 20px;
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.section-header h2 { color: #2c3e50; font-weight: 400; font-size: 1.3rem; font-family: var(--font-title); }

/* Grille photos */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.photo-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: all 0.3s ease;
}
.photo-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.14); }
.photo-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
}
.photo-info { padding: 12px 14px; }
.photo-info h3 { font-size: 0.95rem; color: #2c3e50; margin-bottom: 3px; font-weight: 600; font-family: var(--font-title); }
.photo-info p  { font-size: 0.82rem; color: #7f8c8d; font-family: var(--font-body); }

/* Section vide (vidéo / audio) */
.empty-section {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 8px;
  color: #7f8c8d;
  font-family: var(--font-body);
}
.empty-section .icon { font-size: 3rem; margin-bottom: 14px; display: block; }
.empty-section p { font-size: 1rem; }

/* Lightbox (démo) */
.lightbox-overlay {
  display: none;
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.88);
  z-index: 9000;
  justify-content: center;
  align-items: center;
}
.lightbox-overlay.show { display: flex; }
.lightbox-img {
  max-width: 88vw;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 24px;
  color: white;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 600px) {
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
}
