/**
 * Mosae - Association de danse et médiation artistique
 * Custom CSS pour Bootstrap 5
 * Design: Minimaliste, élégant, dark theme
 */

/* ============================================
   GOOGLE FONTS - Chargés dans base.html
   ============================================ */
/* Lora - Police serif professionnelle pour logo */
/* Montserrat - Police moderne pour le corps de texte */

/* ============================================
   1. VARIABLES CSS - THEME SYSTEM
   ============================================ */

/* *** DARK THEME (Default) *** */
:root,
[data-theme="dark"] {
  /* Couleurs principales - Dark */
  --violet-primary: #ffffff;
  --violet-dark: #f3f4f6;
  --violet-darker: #e5e7eb;

  /* Backgrounds - Dark */
  --bg-black: #000000;
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --bg-gray-dark: #111111;

  /* Textes - Dark */
  --text-light: #f3f4f6;
  --text-gray: #d1d5db;
  --text-muted: #9ca3af;

  /* Bordures - Dark */
  --border-dark: #1f2937;
  --border-violet: #e5e7eb;

  /* Transitions */
  --transition-base: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* *** LIGHT THEME *** */
[data-theme="light"] {
  /* Couleurs principales - Light */
  --violet-primary: #1f2937;
  --violet-dark: #374151;
  --violet-darker: #4b5563;

  /* Backgrounds - Light */
  --bg-black: #ffffff;
  --bg-dark: #f9fafb;
  --bg-darker: #f3f4f6;
  --bg-gray-dark: #eeeff2;

  /* Textes - Light */
  --text-light: #1f2937;
  --text-gray: #374151;
  --text-muted: #6b7280;

  /* Bordures - Light */
  --border-dark: #e5e7eb;
  --border-violet: #d1d5db;

  /* Shadows - Light (inverser les couleurs noires) */
  --shadow-dark: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-light: rgba(0, 0, 0, 0.08);

  /* Overlays - Light */
  --overlay-dark: rgba(31, 41, 55, 0.4);
  --overlay-medium: rgba(31, 41, 55, 0.2);
  --overlay-light: rgba(31, 41, 55, 0.1);

  /* Glass effect - Light */
  --glass-bg: rgba(31, 41, 55, 0.05);
  --glass-border: rgba(31, 41, 55, 0.1);

  /* Accent with reduced opacity for light theme */
  --accent-light: rgba(255, 255, 255, 0.15);
  --accent-medium: rgba(255, 255, 255, 0.25);
  --accent-dark: rgba(255, 255, 255, 0.4);

  /* Transitions */
  --transition-base: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* *** DARK THEME VARIABLES (complementary) *** */
:root,
[data-theme="dark"] {
  /* Shadows - Dark */
  --shadow-dark: rgba(0, 0, 0, 0.5);
  --shadow-medium: rgba(0, 0, 0, 0.3);
  --shadow-light: rgba(0, 0, 0, 0.2);

  /* Overlays - Dark */
  --overlay-dark: rgba(0, 0, 0, 0.9);
  --overlay-medium: rgba(0, 0, 0, 0.5);
  --overlay-light: rgba(0, 0, 0, 0.1);

  /* Glass effect - Dark */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Accent */
  --accent-light: rgba(255, 255, 255, 0.1);
  --accent-medium: rgba(255, 255, 255, 0.2);
  --accent-dark: rgba(255, 255, 255, 0.4);
}

/* ============================================
   2. TYPOGRAPHIE
   ============================================ */

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-black);
  color: var(--text-gray);
  font-size: 1.1rem;
  line-height: 1.7;
  /* Smooth transition for theme changes */
  transition: background-color 0.3s ease, color 0.3s ease;
}

html {
  /* Smooth transition for theme changes on all elements */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.logo-caveat {
  font-family: 'Lora', serif;
  font-weight: 700;
  color: var(--violet-primary);
  text-shadow: 2px 2px 8px var(--shadow-dark);
  letter-spacing: 0.02em;
}

/* ============================================
   3. HEADER & NAVIGATION
   ============================================ */

/* Header Fixed - Transparent pour voir la vidéo */
.navbar-custom {
  background: transparent !important;
  backdrop-filter: none;
  border-bottom: none;
  padding: 1.5rem 0;
  transition: var(--transition-base);
}

/* Logo container avec danseur animé */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dancing-logo {
  width: 45px;
  height: 45px;
  opacity: 0.85;
  transition: var(--transition-base);
  border-radius: 50%;
}

.dancing-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Logo Mosae simple */

/* Header transparent sur desktop */
.navbar-custom.scrolled {
  background: transparent !important;
  backdrop-filter: none;
  border-bottom: none;
}

/* Navbar opaque sur mobile pour meilleure lisibilité */
@media (max-width: 768px) {
  [data-theme="dark"] .navbar-custom.scrolled {
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.8)) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  [data-theme="dark"] .navbar-custom {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(5px);
  }

  [data-theme="light"] .navbar-custom.scrolled {
    background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(255,255,255,0.9)) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-dark);
  }

  [data-theme="light"] .navbar-custom {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(5px);
  }
}

.navbar-custom .navbar-brand {
  font-size: 3.5rem;
  transition: var(--transition-base);
  text-shadow: 3px 3px 6px var(--shadow-dark);
  line-height: 1;
}

[data-theme="light"] .navbar-custom .navbar-brand {
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-brand:hover {
  color: var(--violet-dark) !important;
  transform: scale(1.05);
  text-shadow: 3px 3px 8px rgba(255, 255, 255, 0.6);
}

/* Responsive - Animation plus petite sur mobile */
@media (max-width: 768px) {
  .dancing-logo {
    width: 35px;
    height: 35px;
  }

  .logo-container {
    gap: 0.3rem;
  }
}

/* Theme Toggle Button */
/* Dark theme - theme toggle button */
[data-theme="dark"] .theme-toggle-btn {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 0.4rem 0.6rem;
  transition: var(--transition-base);
  background-color: transparent !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border-radius: 0.25rem;
  opacity: 0.7;
  min-width: auto;
  font-size: 1.1rem;
}

[data-theme="dark"] .theme-toggle-btn:hover,
[data-theme="dark"] .theme-toggle-btn:focus {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: rgba(255, 255, 255, 1) !important;
  opacity: 1;
}

/* Light theme - theme toggle button */
[data-theme="light"] .theme-toggle-btn {
  border: 1px solid rgba(31, 41, 55, 0.15) !important;
  padding: 0.4rem 0.6rem;
  transition: var(--transition-base);
  background-color: transparent !important;
  color: rgba(31, 41, 55, 0.7) !important;
  border-radius: 0.25rem;
  opacity: 0.7;
  min-width: auto;
  font-size: 1.1rem;
}

[data-theme="light"] .theme-toggle-btn:hover,
[data-theme="light"] .theme-toggle-btn:focus {
  background-color: rgba(31, 41, 55, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: rgba(31, 41, 55, 1) !important;
  opacity: 1;
}

.theme-toggle-btn i {
  margin: 0;
  display: inline-block;
}

/* Burger button - Discret et minimaliste */
[data-theme="dark"] .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 0.4rem 0.6rem;
  transition: var(--transition-base);
  background-color: transparent;
  backdrop-filter: none;
  border-radius: 0.25rem;
  opacity: 0.7;
}

[data-theme="dark"] .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.2) !important;
  opacity: 1;
}

[data-theme="dark"] .navbar-toggler:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3) !important;
  opacity: 1;
}

/* Light theme burger button */
[data-theme="light"] .navbar-toggler {
  border: 1px solid rgba(31, 41, 55, 0.15) !important;
  padding: 0.4rem 0.6rem;
  transition: var(--transition-base);
  background-color: transparent;
  backdrop-filter: none;
  border-radius: 0.25rem;
  opacity: 0.7;
}

[data-theme="light"] .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.2) !important;
  opacity: 1;
}

[data-theme="light"] .navbar-toggler:hover {
  background-color: rgba(31, 41, 55, 0.05);
  border-color: rgba(255, 255, 255, 0.3) !important;
  opacity: 1;
}

/* Toggle icon for dark theme */
[data-theme="dark"] .navbar-toggler-icon {
  width: 1.5em;
  height: 1.5em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Toggle icon for light theme */
[data-theme="light"] .navbar-toggler-icon {
  width: 1.5em;
  height: 1.5em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2831, 41, 55, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   4. MENU OFFCANVAS FULLSCREEN
   ============================================ */

/* Offcanvas fullscreen noir */
.offcanvas-fullscreen {
  width: 100% !important;
  height: 100% !important;
  background-color: var(--bg-black) !important;
  border: none !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 1055 !important;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

/* Menu ouvert */
.offcanvas-fullscreen.show {
  transform: translateX(0);
}

/* Position relative pour les éléments internes uniquement quand ouvert */
.offcanvas-fullscreen.show .offcanvas-header,
.offcanvas-fullscreen.show .offcanvas-body {
  position: relative;
}

/* Canvas pour les particules animées - créé dynamiquement */
.menu-particles-canvas-dynamic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: fadeInParticles 0.5s ease forwards;
}

@keyframes fadeInParticles {
  to {
    opacity: 0.6;
  }
}

/* Gradient animé en arrière-plan du menu - créé dynamiquement */
.menu-animated-gradient-dynamic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at 20% 30%,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 40%
  ),
  radial-gradient(
    ellipse at 80% 70%,
    rgba(124, 58, 237, 0.06) 0%,
    transparent 40%
  );
  animation: gradientFloat 15s ease-in-out infinite, fadeInGradient 0.5s ease forwards;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

@keyframes fadeInGradient {
  to {
    opacity: 1;
  }
}

@keyframes gradientFloat {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.1) translateY(-20px);
  }
}

.offcanvas-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-dark);
  position: relative;
  z-index: 2;
}

.offcanvas-title {
  font-size: 3rem;
  line-height: 1;
}

.btn-close-white {
  filter: brightness(1) invert(1);
  opacity: 0.8;
  transition: var(--transition-base);
}

.btn-close-white:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Navigation dans le menu fullscreen */
.offcanvas-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 1rem;
  min-height: 100%; /* Assure que le body prend toute la hauteur */
  position: relative;
  z-index: 2;
}

.offcanvas-nav {
  text-align: center;
  width: 100%; /* Assure que le nav prend toute la largeur */
  position: relative;
  z-index: 2;
  flex: 0 1 auto; /* Ne grandit pas, ne rétrécit pas, taille automatique */
}

/* Liens principaux du menu - Augmentation de la spécificité pour Bootstrap 5 */
.offcanvas .nav-link-large,
.nav-link-large {
  font-family: 'Lora', serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: #f3f4f6 !important; /* Valeur directe pour éviter les problèmes de variables */
  text-decoration: none;
  margin: 1rem 0;
  display: inline-block;
  transition: none; /* Désactive les transitions CSS pour laisser GSAP gérer */
  position: relative;
  opacity: 0; /* État initial caché - GSAP va l'animer vers 1 */
  transform: translateX(-100px); /* État initial décalé - GSAP va l'animer vers 0 */
  letter-spacing: 0.03em;
}

.offcanvas .nav-link-large::after,
.nav-link-large::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--violet-primary);
  transition: width 0.3s ease;
}

.offcanvas .nav-link-large:hover,
.nav-link-large:hover {
  color: var(--violet-primary) !important;
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.offcanvas .nav-link-large:hover::after,
.nav-link-large:hover::after {
  width: 60%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* Liens du sous-menu */
.offcanvas .nav-link-small,
.nav-link-small {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 500;
  color: #9ca3af !important; /* Valeur directe pour éviter les problèmes de variables */
  text-decoration: none;
  margin: 0.5rem 0;
  display: inline-block;
  transition: none; /* Désactive les transitions CSS pour laisser GSAP gérer */
  opacity: 0; /* État initial caché - GSAP va l'animer vers 1 */
  transform: translateX(-100px); /* État initial décalé - GSAP va l'animer vers 0 */
  letter-spacing: 0.02em;
}

.offcanvas .nav-link-small:hover,
.nav-link-small:hover {
  color: var(--violet-primary) !important;
  transform: translateX(10px);
  font-weight: 600;
}

/* Collapse pour sous-menu */
.submenu-collapse {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

/* Container pour les artistes côte à côte */
.artistes-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

/* Style spécifique pour les liens artistes - plus petits et élégants */
.nav-link-artist {
  /* Override de la taille - plus petit que nav-link-large */
  font-size: 2.2rem !important;
  font-weight: 500 !important;
  color: #d1d5db !important; /* Légèrement plus clair que le texte normal */
  margin: 0.5rem 0 !important;
  letter-spacing: 0.02em;
}

.nav-link-artist:hover {
  font-weight: 600 !important;
}

/* Responsive menu */
@media (max-width: 768px) {
  .nav-link-large {
    font-size: 2rem;
  }

  .nav-link-small {
    font-size: 1.3rem;
  }
}

/* ============================================
   5. HERO VIDÉO FULLSCREEN
   ============================================ */

.hero-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-black);
}

/* Vidéo background */
.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

/* Si vidéo via iframe (YouTube/Vimeo) */
.video-background iframe,
.video-background #youtube-player,
.video-background #youtube-player iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77777778vh; /* 16:9 ratio */
  height: 56.25vw; /* 16:9 ratio */
  min-height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#youtube-player {
  width: 100%;
  height: 100%;
}

/* Vidéo locale - Style principal */
.video-background .local-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* Overlay très léger sur la vidéo pour meilleure visibilité */
[data-theme="dark"] .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.4)
  );
  z-index: 1;
}

[data-theme="light"] .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(31, 41, 55, 0.05),
    rgba(31, 41, 55, 0.1),
    rgba(31, 41, 55, 0.2)
  );
  z-index: 1;
}

/* Contenu overlay (logo + tagline) */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: white;
  width: 90%;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 5rem;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .hero-content h1 {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .hero-content h1 {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-content .lead {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-gray);
}

[data-theme="dark"] .hero-content .lead {
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .hero-content .lead {
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}

/* Scroll indicator animé */
.scroll-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin-bottom: 2rem;
}

.scroll-arrow {
  animation: bounce 2s infinite;
  font-size: 2.5rem;
  color: var(--violet-primary);
  cursor: pointer;
  transition: var(--transition-base);
}

.scroll-arrow:hover {
  color: var(--violet-dark);
  transform: scale(1.2);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

/* Responsive hero */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content .lead {
    font-size: 1.2rem;
  }
}

/* ============================================
   6. SECTIONS GÉNÉRALES - Full Screen
   ============================================ */

.section-dark {
  background-color: var(--bg-black);
  padding: 5rem 0;
  min-height: 100vh; /* Section plein écran */
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start; /* Point de snap au début de la section */
}

.section-darker {
  background-color: var(--bg-dark);
  padding: 5rem 0;
  min-height: 100vh; /* Section plein écran */
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start; /* Point de snap au début de la section */
}

/* Hero et sections spéciales avec snap également */
.hero-video,
.partners-section {
  min-height: 100vh; /* Section plein écran */
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
}

/* Ajustement pour le contenu des sections */
.section-dark .container,
.section-darker .container {
  width: 100%;
  max-width: 1200px;
}

.section-title {
  font-family: 'Lora', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--violet-primary);
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 0.02em;
}

[data-theme="dark"] .section-title {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .section-title {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 300;
}

/* ============================================
   6b. SECTION À PROPOS - IMAGE STYLES
   ============================================ */

/* Section À propos - permettre le dépassement */
#about {
  overflow: hidden;
}

/* OPTION 1: Image ronde avec cadrage centré */
.about-image-round {
  width: 70vw;
  height: 70vh;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 35% 70%; /* Plus de Julia, moins de Noé */
  border-radius: 50%;
  border: 4px solid var(--violet-primary);
  transition: var(--transition-base);
}

[data-theme="dark"] .about-image-round {
  box-shadow:
    0 10px 40px rgba(255, 255, 255, 0.3),
    0 0 60px rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .about-image-round:hover {
  box-shadow:
    0 15px 50px rgba(255, 255, 255, 0.4),
    0 0 80px rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .about-image-round {
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.15),
    0 0 60px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .about-image-round:hover {
  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.2),
    0 0 80px rgba(0, 0, 0, 0.15);
}

/* OPTION 2: Image avec vignette sombre autour */
.about-image-vignette {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
}

[data-theme="dark"] .about-image-vignette {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .about-image-vignette {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image-vignette img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: var(--transition-base);
}

[data-theme="dark"] .about-image-vignette::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    transparent 30%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.7) 100%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

[data-theme="light"] .about-image-vignette::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    transparent 30%,
    rgba(31, 41, 55, 0.1) 60%,
    rgba(31, 41, 55, 0.25) 100%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.about-image-vignette:hover img {
  transform: scale(1.05);
}

.about-image-vignette:hover::before {
  opacity: 0.8;
}

/* Container pour l'image dans la section à propos */
.about-image-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 2rem;
  overflow: visible;
  margin-left: -30vw;
  padding-left: 0;
  height: 70vh;
}

/* Colonne image - permet le dépassement à gauche */
.about-image-col {
  overflow: visible;
  position: relative;
}

/* Responsive */
@media (max-width: 768px) {
  .about-image-round {
    width: 100%;
    max-width: 300px;
  }

  .about-image-container {
    margin-left: 0;
    justify-content: center;
  }

  .about-image-col {
    overflow: hidden;
  }

  .about-image-vignette {
    max-width: 100%;
  }
}

/* ============================================
   7. CAROUSEL PROJETS
   ============================================ */

.carousel-custom {
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-custom .carousel-item {
  height: 600px;
  position: relative;
}

.carousel-custom .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

/* Overlay texte sur image carousel */
.carousel-caption-custom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2rem 2rem;
  text-align: left;
}

[data-theme="dark"] .carousel-caption-custom {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

[data-theme="light"] .carousel-caption-custom {
  background: linear-gradient(to top, rgba(31, 41, 55, 0.8), transparent);
}

.carousel-caption-custom h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  transition: color 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-caption-custom p {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Contrôles du carousel */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
  transition: var(--transition-base);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100%;
  width: 3rem;
  height: 3rem;
}

/* Indicators */
.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--violet-primary);
  opacity: 0.5;
  transition: var(--transition-base);
}

.carousel-indicators button.active {
  opacity: 1;
  transform: scale(1.3);
}

/* Responsive carousel */
@media (max-width: 768px) {
  .carousel-custom .carousel-item {
    height: 400px;
  }

  .carousel-caption-custom h3 {
    font-size: 1.8rem;
  }

  .carousel-caption-custom p {
    font-size: 1rem;
  }
}

/* ============================================
   8. SECTION PARTENAIRES
   ============================================ */

.partners-section {
  background-color: var(--bg-gray-dark);
  padding: 4rem 0;
}

/* Logo styles defined in enhanced partner logos section (line ~1248) */

/* ============================================
   9. FOOTER
   ============================================ */

.footer-custom {
  background-color: var(--bg-black);
  border-top: 2px solid var(--border-violet);
  padding: 3rem 0 1rem;
  margin-top: 5rem;
  color: var(--text-muted);
}

.footer-custom h5 {
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-custom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-base);
  display: inline-block;
}

.footer-custom a:hover {
  color: var(--violet-primary);
  transform: translateX(5px);
}

/* Social icons */
.social-icon {
  width: 50px;
  height: 50px;
  border: 2px solid var(--violet-primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem;
  color: var(--violet-primary);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  vertical-align: middle;
  padding: 0;
}

[data-theme="dark"] .social-icon {
  background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .social-icon {
  background-color: rgba(255, 255, 255, 0.15);
}

.social-icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.social-icon i::before {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.social-icon:hover {
  background-color: var(--violet-primary);
  color: white !important;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.social-icon:hover i {
  color: white;
}

.footer-copyright {
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================
   10. UTILITAIRES
   ============================================ */

/* Smooth scroll simple avec snap léger */
html {
  scroll-behavior: auto; /* Lenis gère le smooth */
  scroll-snap-type: y proximity; /* Snap doux, non forcé */
}

body {
  scroll-snap-type: y proximity;
}

/* Sélection de texte en violet */
::selection {
  background-color: var(--violet-primary);
  color: white;
}

::-moz-selection {
  background-color: var(--violet-primary);
  color: white;
}

/* Focus visible pour accessibilité */
*:focus-visible {
  outline: 2px solid var(--violet-primary);
  outline-offset: 2px;
}

/* Scrollbar personnalisée (webkit) - Discrète */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Boutons personnalisés */
.btn-custom-primary {
  background-color: var(--violet-primary);
  border: none;
  color: var(--bg-black);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: var(--transition-base);
}

.btn-custom-primary:hover {
  background-color: var(--violet-dark);
  color: var(--bg-black);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Cartes sombres */
.card-dark {
  background-color: var(--bg-gray-dark);
  border: 1px solid var(--border-dark);
  border-radius: 1rem;
  transition: var(--transition-base);
}

[data-theme="dark"] .card-dark:hover {
  border-color: var(--violet-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .card-dark:hover {
  border-color: var(--violet-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ============================================
   11. ANIMATIONS
   ============================================ */

/* Fade in pour les sections */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* Pulse pour éléments importants */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* ============================================
   12. GRAIN TEXTURE OVERLAY (Film Grain Effect)
   ============================================ */

/* DISABLED - Causing visual issues with dark blocks */
/* Uncomment below if you want to re-enable the grain texture effect */

/*
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 1;
  animation: none;
}
*/

/* ============================================
   13. LOADING ANIMATION
   ============================================ */

.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-black);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-content h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
}

.loader-progress {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--violet-primary), var(--violet-dark));
  border-radius: 10px;
  animation: loading 2s ease-in-out;
}

@keyframes loading {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ============================================
   14. SCROLL PROGRESS INDICATOR
   ============================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--violet-primary), var(--violet-dark));
  z-index: 9999;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ============================================
   15. ANIMATED GRADIENT BACKGROUNDS
   ============================================ */

[data-theme="dark"] .section-gradient {
  background: linear-gradient(
    135deg,
    #000000 0%,
    #1a0033 25%,
    #330066 50%,
    #1a0033 75%,
    #000000 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

[data-theme="light"] .section-gradient {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f3e8ff 25%,
    #e9d5ff 50%,
    #f3e8ff 75%,
    #ffffff 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================
   16. ENHANCED IMAGE HOVER EFFECTS
   ============================================ */

/* Enhanced carousel images */
.carousel-custom .carousel-item {
  overflow: hidden;
}

.carousel-custom .carousel-item img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.6s ease;
  filter: brightness(0.85) contrast(1.1);
}

.carousel-custom .carousel-item:hover img {
  transform: scale(1.08) rotate(1deg);
  filter: brightness(1) contrast(1.2);
}

/* Add blur vignette on hover */
.carousel-custom .carousel-item::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

[data-theme="dark"] .carousel-custom .carousel-item::after {
  background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.4) 100%);
}

[data-theme="light"] .carousel-custom .carousel-item::after {
  background: radial-gradient(circle, transparent 50%, rgba(31,41,55,0.15) 100%);
}

.carousel-custom .carousel-item:hover::after {
  opacity: 1;
}

/* Enhanced partner logos */
.partners-section-content .col-6,
.partners-section-content .col-md-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px; /* Hauteur minimale pour l'alignement */
}

.partner-col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.partner-logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.partner-logo {
  filter: grayscale(100%) brightness(0.7);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  position: relative;
  max-width: 100% !important;
  max-height: 120px !important;
  object-fit: contain;
  display: block;
  transform: none !important;
}

.partner-logo:hover {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.15) translateY(-10px);
}

/* Add glow effect to logos */
.partner-logo::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  border-radius: 50%;
}

.partner-logo:hover::before {
  opacity: 1;
}

/* ============================================
   17. GLASSMORPHISM EFFECTS
   ============================================ */

.glass-card {
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition-base);
}

[data-theme="dark"] .glass-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 32px 0 rgba(0, 0, 0, 0.37),
    inset 0 0 30px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

[data-theme="light"] .glass-card {
  background: rgba(31, 41, 55, 0.05);
  border: 1px solid rgba(31, 41, 55, 0.1);
  box-shadow:
    0 8px 32px 0 rgba(0, 0, 0, 0.08),
    inset 0 0 30px rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .glass-card:hover {
  background: rgba(31, 41, 55, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

/* Apply to about section */
.section-dark .container > *,
.section-darker .container > * {
  position: relative;
  z-index: 1;
}

/* ============================================
   18. CUSTOM CURSOR
   ============================================ */

.custom-cursor {
  width: 40px;
  height: 40px;
  border: 2px solid var(--violet-primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--violet-primary);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.custom-cursor.cursor-hover {
  width: 60px;
  height: 60px;
  border-color: var(--violet-dark);
  background: rgba(255, 255, 255, 0.1);
}

.custom-cursor.cursor-hover .cursor-dot {
  transform: translate(-50%, -50%) scale(0);
}

/* Hide cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none;
  }
}

/* Hide default cursor on desktop - DISABLED to fix interaction issues */
/* Uncomment below to re-enable custom cursor */
/*
@media (min-width: 769px) {
  body {
    cursor: none;
  }

  a, button, .carousel-control-prev, .carousel-control-next {
    cursor: none;
  }
}
*/

/* ============================================
   19. PAGE TRANSITION OVERLAY
   ============================================ */

.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-black);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.page-transition .loader-content h1 {
  font-size: 4rem;
}

/* ============================================
   20. LAZY LOADING IMAGES
   ============================================ */

img[data-src] {
  filter: blur(20px);
  transition: filter 0.5s ease;
}

img.lazy-loaded {
  filter: blur(0);
}

/* ============================================
   21. 3D CAROUSEL EFFECT
   ============================================ */

.carousel-3d {
  perspective: 1000px;
}

.carousel-3d .carousel-item {
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ============================================
   22. KINETIC TYPOGRAPHY
   ============================================ */

.kinetic-title {
  display: inline-block;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

/* ============================================
   23. SVG SECTION DIVIDERS
   ============================================ */

.section-divider {
  width: 100%;
  height: 80px;
  display: block;
  margin: -1px 0;
}

.section-divider path {
  transition: d 0.5s ease;
}

/* ============================================
   24. ENHANCED TYPOGRAPHY
   ============================================ */

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--violet-primary);
  position: relative;
  padding-left: 2rem;
}

/* Text reveal class for animations */
.text-reveal {
  display: inline-block;
}

/* ============================================
   25. RESPONSIVE ADJUSTMENTS FOR ANIMATIONS
   ============================================ */

@media (max-width: 768px) {
  /* Disable some animations on mobile for performance */
  body::before {
    animation: none;
  }

  .custom-cursor {
    display: none;
  }

  .kinetic-title {
    transform: none !important;
  }

  .loader-content h1 {
    font-size: 2.5rem;
  }

  .glass-card {
    backdrop-filter: blur(10px);
  }
}

/* ============================================
   26. REDUCED MOTION ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  body::before {
    animation: none;
  }

  .scroll-progress {
    display: none;
  }
}

/* ============================================
   27. ADDITIONAL POLISH
   ============================================ */

/* Smooth transitions for all links */
a {
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Override Bootstrap link colors - keep them white/light */
a:not(.navbar-brand):not(.nav-link):not(.btn):not(.social-icon):not(.nav-link-large):not(.nav-link-small):not(.nav-link-artist) {
  color: var(--text-light);
  text-decoration: none;
}

a:not(.navbar-brand):not(.nav-link):not(.btn):not(.social-icon):not(.nav-link-large):not(.nav-link-small):not(.nav-link-artist):hover {
  color: var(--text-gray);
  text-decoration: underline;
}

a:not(.navbar-brand):not(.nav-link):not(.btn):not(.social-icon):not(.nav-link-large):not(.nav-link-small):not(.nav-link-artist):visited {
  color: var(--text-light);
}

/* Enhanced button styles */
.btn-custom-primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-custom-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, var(--violet-dark), var(--violet-darker));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-custom-primary:hover::before {
  opacity: 1;
}

/* Social icons enhanced - Suppression de l'effet ::before qui cache les icônes */
/* L'effet de glow au hover est maintenant géré par box-shadow uniquement */
/* Le centrage est géré par position absolute dans .social-icon i */

/* Footer enhancements */
.footer-custom {
  position: relative;
  margin-top: 5rem;
}

.footer-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-primary), transparent);
}

/* ============================================
   28. PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Will-change for animated elements */
.hero-content,
.section-title,
.carousel-item img,
.partner-logo {
  will-change: transform;
}

/* Remove will-change after animation */
@media (min-width: 769px) {
  .animated-complete {
    will-change: auto;
  }
}

/* ============================================
   29. PAGES INTÉRIEURES - STRUCTURE
   ============================================ */

/* Container principal pour les pages intérieures */
.page-container {
  min-height: 100vh;
  background-color: var(--bg-black);
}

/* Hero section pour pages intérieures */
.page-hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, rgba(10,10,10,1) 0%, rgba(76,29,149,0.1) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top, rgba(167,139,250,0.1), transparent);
  pointer-events: none;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.2;
  text-align: center;
  position: relative;
}

.page-introduction {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Content section */
.content-section {
  padding: 80px 0;
  background-color: var(--bg-black);
}

.content-blocks > * {
  margin-bottom: 3rem;
}

.content-heading {
  font-size: 2rem;
  font-weight: 600;
  color: var(--violet-primary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.content-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--violet-primary), var(--violet-dark));
}

.content-paragraph {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-gray);
}

.content-paragraph strong {
  color: var(--text-light);
  font-weight: 600;
}

.content-image {
  margin: 3rem 0;
  border-radius: 1rem;
  overflow: hidden;
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.content-image:hover img {
  transform: scale(1.02);
}

/* Animations pour les éléments de contenu */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-up"].animated {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   30. PROJECT PAGE - STYLES SPÉCIFIQUES
   ============================================ */

.project-hero-image {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 3rem 0;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
}

[data-theme="dark"] .project-hero-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

[data-theme="light"] .project-hero-overlay {
  background: linear-gradient(to top, rgba(31,41,55,0.6), transparent);
}

.project-hero-title {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
}

[data-theme="dark"] .project-hero-title {
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

[data-theme="light"] .project-hero-title {
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.project-summary {
  padding: 4rem 0;
}

[data-theme="dark"] .project-summary {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
}

[data-theme="light"] .project-summary {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(59, 130, 246, 0.08));
}

.summary-box {
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .summary-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .summary-box {
  background: rgba(31, 41, 55, 0.05);
  border: 1px solid rgba(31, 41, 55, 0.1);
}

.summary-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-light);
  margin: 0;
  text-align: center;
}

/* ============================================
   31. HUB PAGE - GRILLE DE SOUS-PAGES
   ============================================ */

.subpages-section {
  padding: 80px 0;
  background-color: var(--bg-black);
}

.subpage-card {
  background: var(--bg-gray-dark);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

[data-theme="dark"] .subpage-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .subpage-card {
  border: 1px solid rgba(31, 41, 55, 0.1);
}

[data-theme="dark"] .subpage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
  border-color: var(--violet-primary);
}

[data-theme="light"] .subpage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--violet-primary);
}

.subpage-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.subpage-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(167,139,250,0.2), rgba(0,0,0,0.8));
}

.subpage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.subpage-card:hover .subpage-image img {
  transform: scale(1.05);
}

.subpage-content {
  padding: 1.5rem;
}

.subpage-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.subpage-summary {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.subpage-cta {
  color: var(--violet-primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-base);
}

.subpage-card:hover .subpage-cta {
  text-decoration: underline;
  transform: translateX(5px);
}

/* ============================================
   32. AGENDA PAGE - ÉTAT VIDE
   ============================================ */

.events-section {
  padding: 4rem 0;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 1rem;
}

[data-theme="dark"] .empty-state {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .empty-state {
  background: rgba(31, 41, 55, 0.03);
  border: 1px solid rgba(31, 41, 55, 0.1);
}

.empty-state-icon {
  font-size: 4rem;
  color: var(--violet-primary);
  margin-bottom: 1.5rem;
}

.empty-state-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.empty-state-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.empty-state-actions .btn {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

/* ============================================
   33. ARTIST PAGE - PAGE ARTISTE
   ============================================ */

.artist-profile {
  padding: 4rem 0;
}

.artist-photo-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

[data-theme="dark"] .artist-photo-wrapper {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .artist-photo-wrapper {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.artist-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.artist-bio {
  padding: 2rem 0;
}

.bio-heading {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--violet-primary);
  position: relative;
  display: inline-block;
}

.bio-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--violet-primary), var(--violet-dark));
}

.bio-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.bio-content p {
  margin-bottom: 1.5rem;
}

.bio-content strong {
  color: var(--text-light);
}

.artist-blog {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.blog-placeholder {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 1rem;
}

[data-theme="dark"] .blog-placeholder {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .blog-placeholder {
  background: rgba(31, 41, 55, 0.03);
  border: 1px solid rgba(31, 41, 55, 0.1);
}

.blog-icon {
  font-size: 3rem;
  color: var(--violet-primary);
  margin-bottom: 1rem;
}

.blog-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.blog-text {
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   34. RESPONSIVE - PAGES INTÉRIEURES
   ============================================ */

@media (max-width: 991px) {
  .page-hero {
    padding: 140px 0 60px;
  }

  .page-title {
    font-size: 2.5rem;
  }

  .content-section {
    padding: 60px 0;
  }

  .artist-photo-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }

  .subpage-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 50px;
  }

  .page-title {
    font-size: 2rem;
  }

  .content-heading {
    font-size: 1.5rem;
  }

  .project-hero-image {
    height: 40vh;
    min-height: 300px;
  }
}

/* ============================================
   35. CAROUSEL CLICABLE - LIEN SUR TOUTE LA SURFACE
   ============================================ */

/* Lien clicable sur tout le slide */
.carousel-link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: var(--transition-base);
}

.carousel-link:hover {
  text-decoration: none;
  color: inherit;
}

/* Permettre au texte de recevoir le clic via le lien parent */
.carousel-caption-custom {
  pointer-events: none !important;
}

/* Effet hover sur le texte quand on survole le carousel */
.carousel-link:hover .carousel-caption-custom h3 {
  color: var(--violet-primary);
  transform: translateX(10px);
}

.carousel-link:hover .carousel-caption-custom p {
  transform: translateX(10px);
}
