:root {
    --primary-gold: #b0b0b0;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-light: #e0e0e0;
    --hover-glow: rgba(176, 176, 176, 0.3);
  }

  html, body {
  max-width: 100%;
  overflow-x: hidden;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: 'Montserrat','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;

    /*-webkit-overflow-scrolling: touch;*/
    overscroll-behavior-y: none;
  }

  @media (max-width: 991px) {
  body {
    padding-top: 80px;
  }
}



  .body-studio {
    font-family: 'Montserrat','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: rgb(17, 17, 17);
    color: var(--text-light);
    overflow-x: hidden;
  }

  .text{
    color :rgb(218, 218, 218)
  }

  section, div[id] {
    scroll-margin-top: 125px; /* adapte selon la hauteur de ta navbar */
  }

  #infos {
  scroll-margin-top: 97px; /* adapte à la hauteur de ta navbar */
  }

  /* Navbar améliorée */
.navbar {
    position: fixed;       /* Fixe la navbar en haut */
    top: 0;                /* En haut de la page */
    left: 0;               /* Alignée à gauche */
    width: 100%;           /* Pleine largeur */
    z-index: 1000;         /* Toujours au-dessus du contenu */
    background: rgba(10, 10, 10, 0.90) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(176, 176, 176, 0.2);
    transition: all 0.3s ease;
    padding-top: 1%;
    padding-bottom: 1%;
}


.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  text-shadow: 0 0 20px var(--hover-glow);
  transform: scale(1.05);
}

.nav-link {
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(176, 176, 176, 0.5);
  backdrop-filter: blur(10px);
  padding: 0.8rem 0.8rem;
  letter-spacing: 0px;
  color: white;
}

@keyframes rotation-horaire {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.logo-rotation {
  animation: rotation-horaire 3s linear infinite;
}

/* Supprime outline bleu */
.nav-link:focus, .nav-link:active, .dropdown-toggle:focus, .dropdown-toggle:active {
  outline: none;
  box-shadow: none;
}

/* Dropdown menu transition */
.dropdown-menu {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Ouverture du dropdown au survol */
.dropdown-hover:hover > .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-hover .dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(-10px);
}

/* Uniquement pour le dropdown Tarifs */
.dropdown-hover .dropdown-menu {
  min-width: auto;
  padding: 0.20rem 0;
  font-size: 0.9rem;
}

.dropdown-hover .dropdown-item {
  padding: 0.35rem 0.6rem;
  white-space: nowrap;
}


/* Boutton langue*/

.lang-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px 0px;
  font-size: 12px;
  opacity: 0.6;
  transition: all 0.3s ease;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

.lang-btn:hover {
  opacity: 1;
  transform: scale(1.05);
}

.lang-btn.active {
  opacity: 1;
  font-weight: 600;
}

/* Responsive pour mobile */
@media (max-width: 991px) {
  .navbar-nav .nav-item:has(.lang-btn) {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
}
 
  /* Hero Carousel modernisé */
  .carousel-item {
    height: 70vh;
    position: relative;
    border-bottom: 1px solid rgba(176, 176, 176, 0.2);
    border-top: 1px solid rgba(176, 176, 176, 0.2);

    

  }

  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1);
  }

  .carousel-caption {
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 100%;            /* On utilise toute la largeur du slide */
  display: flex;          /* Pour centrer le contenu */
  justify-content: center;/* Centre horizontalement */
  align-items: center;    /* (Optionnel) centre verticalement si plusieurs lignes */
  background: none;       /* On retire le background sur le wrapper */
  padding: 0;
  
  
}

@media (max-width: 768px) {
  .carousel-caption {
    left: 0px !important;
    right: auto !important;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 1rem;
  }
}

.carousel-caption > div {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(176, 176, 176, 0.4);
  max-width: 400px;
  animation: fadeInUp 1.3s ease;
  text-align: center;
}

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .carousel-caption h1 {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(176, 176, 176, 0.5);
    margin-bottom: 0;
    position: center;
  }

  .carousel-caption p {
    display: none;
    position: relative;
  }

  .carousel-item {
    cursor: pointer;
    position: center;
  }

  .carousel-item-ref {
    cursor: pointer;
    position: center;
  }

  @media (max-width: 768px) {
  #ingeAlexG{
    margin-top: 0% !important;
    margin-bottom: 0% !important;
  }
  }

  .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .btn-warning {
    background: var(--primary-gold);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #000;
  }

  .btn-warning::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
  }

  .btn-warning:hover::before {
    width: 300px;
    height: 300px;
  }

  .btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(176, 176, 176, 0.4);
    background: #909090;
  }

  /* Bio Cards ultra-modernes */
  .bio-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid rgba(176, 176, 176, 0.2);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
  }

  .bio-card.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .bio-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(176, 176, 176, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .bio-card:hover::before {
    opacity: 1;
  }

  .bio-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(176, 176, 176, 0.3);
    border-color: var(--primary-gold);
  }

  .bio-card.active-card {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(176, 176, 176, 0.3);
    border-color: var(--primary-gold);
  }


  .bio-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 20px; /* distance depuis le haut de la carte */
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid var(--primary-gold);
    box-shadow: 0 10px 30px rgba(176, 176, 176, 0.4);
    transition: all 0.5s ease;
    filter: grayscale(100%);
}


  .bio-card:hover .bio-img {
    transform: translateX(-50%) scale(1.1) rotate(5deg);
    filter: grayscale(0%);
    box-shadow: 0 15px 50px rgba(176, 176, 176, 0.6);
  }

  .bio-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* le texte commence en haut */
    padding-top: 220px; /* espace pour laisser la place à l’image ronde */
    height: 100%;
}


  .bio-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(176, 176, 176, 0.3);
  }

  .bio-content p {
    line-height: 1.8;
    font-size: 0.95rem;
    color: #c0c0c0;
  }

  .references-toggle {
  margin-top: auto;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 10; /* <-- Ajoute ceci pour t'assurer que le bouton est au-dessus des autres éléments */
}


.arrow {
  transition: transform 0.3s ease;
}

.references-content {
  display: none;
  margin-top: 10px;
}

.references-content.show {
  display: block !important;
  transition: max-height 0.3s ease-in-out;

}

/* Correction pour les petits écrans */
@media (max-width: 768px) {
  .bio-img {
    width: 120px;
    height: 120px;
    top: 15px;
  }
  
  .bio-content {
    padding-top: 0px; /* Réduit l'espace sur mobile */
  }
  
  .bio-content h3 {
    font-size: 1.4rem;
  }
  
  .bio-content p {
    font-size: 0.85rem;
  }
  
  /* Force le bouton références à être visible */
  .references-toggle {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    position: relative;
    z-index: 100; /* Encore plus élevé */
    pointer-events: auto; /* Force l'interactivité */
  }
  
  .references-toggle span {
    pointer-events: none; /* Les spans à l'intérieur ne bloquent pas les clics */
  }
}

/* Pour les très petits écrans */
@media (max-width: 576px) {
  .bio-img {
    width: 100px;
    height: 100px;
  }
  
  .bio-content {
    padding-top: 0px;
  }
}



   /* References Carousel moderne */
#refsCarousel {
  max-width: 100%;
  margin: 0 auto;
  cursor: default !important;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;

}

#refsCarousel * {
  cursor: default !important;
}

#refsCarousel .carousel-inner {
  padding: 0; /* ENLEVEZ le padding vertical */
}

#refsCarousel .carousel-item {
  padding: 5rem 0; /* Mettez le padding ici à la place */
}

#refsCarousel .d-flex {
  width: 100%;
  /*padding: 0 2rem;*/
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  min-height: auto; /* Assure qu'il n'y a pas de hauteur minimale */
}

#refsCarousel img {
  border-radius: 0px !important; 
  filter: grayscale(0%);
  opacity: 1;
  flex: 1;
  max-width: 18%;
  height: auto;
  object-fit: cover;
  display: block;
  vertical-align: middle; /* Élimine l'espace sous les images */
}

#refsCarousel img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
  opacity: 1;
  box-shadow: 0 10px 30px rgba(176, 176, 176, 0.3);
}

#refsCarousel .carousel-item {
  height: auto !important;
  min-height: auto !important;
}


@media (max-width: 768px) {

  .ref-img {
    width: 45%;
    max-width: 140px;
  }
}


.container-fluid{
  padding-left: 0% !important;
  padding-right: 0% !important;
}

/* Animation carrousel */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 992px) {
  #refsCarousel img {
    max-width: 30%;
  }
}

@media (max-width: 576px) {
  #refsCarousel img {
    max-width: 45%;
  }
}
  /* Flip Cards ultra-modernes */
  .flip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    padding-top: 3rem;
    max-width: 800px;
    margin: 0 auto;
  }

  .flip-card {
    perspective: 1000px;
    height: 300px;
    /*padding: 10%;*/
    cursor: pointer;
  }

  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
  }

  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }

  .flip-card-front,
  .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
  }

  .flip-card-front {
    background-size: cover; /* L'image couvre toute la carte */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat;
    


    color: #e0e0e0;
    font-weight: 700;
    font-size: 1.3rem;
    text-align: center;
    border: 1px solid rgba(176, 176, 176, 0.5);

  }

  h5{
    padding: 0.5rem 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    border: 1px solid rgba(176, 176, 176, 0.4);
    font-size: 1.1rem;

  }



  .flip-card:nth-child(1) .flip-card-front {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url('studioB-2.jpeg');
    
}

.flip-card:nth-child(2) .flip-card-front {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url('studioB-10.jpeg');
}

.flip-card:nth-child(3) .flip-card-front {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url('studioB-12.jpeg');
}

.flip-card:nth-child(4) .flip-card-front {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url('studioB-18.jpeg');
}

  .flip-card-back {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    color: var(--text-light);
    transform: rotateY(180deg);
    border: 1px solid rgba(176, 176, 176, 0.2);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .flip-card-back a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
  }

  .flip-card-back a:hover {
    transform: translateX(10px);
    text-shadow: 0 0 10px var(--hover-glow);
  }

  /* --- TITRE --- */
.animate-title {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- CARTES --- */
.animate-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* quand visible */
.animate-card.visible {
    opacity: 1;
    transform: translateY(0);
}



  /* Footer moderne */
  footer {
    background: linear-gradient(to top, #000, #0a0a0a);
    border-top: 1px solid rgba(176, 176, 176, 0.2);
    padding-top: 1.2rem ;
    padding-bottom: 0.8rem ;
    filter: brightness(70%);
    /*margin-top: 4rem;*/
  }

  .text-footer {
    margin-bottom: 4px !important;   /* réduit l’espace entre ces lignes */
    line-height: 0.5;               /* rapproche le texte à l’intérieur */
  }

  .text-muted{
    color : rgb(107, 107, 107) !important;
  }



  /* Animations */
  .text-warning {
    /* Animation pulse supprimée */
  }

  /* Responsive */
  @media (max-width: 768px) {
    .carousel-caption {
      left: 5%;
      transform: translateX(0%);
      max-width: 100%;
      padding: 0.8rem 1.2rem;
      position: center;
    }

    .carousel-caption h1 {
      font-size: 1.2rem;
    }

    .flip-grid {
      grid-template-columns: 1fr;
      max-width: 400px;
    }

    .bio-img {
      width: 150px;
      height: 150px;
      top: 15px;
    }

    .bio-content {
      margin-top: 180px;
    }
  }

  /* Section Informations avec parallaxe */
  /* Conteneur principal */
.info-section {
  position: relative;
  overflow: hidden;          /* clippe tout ce qui est à l'intérieur */
  z-index: 0;
  border-bottom: 1px solid rgba(176, 176, 176, 0.2);
  

}

/* Element de fond (image) placé DEDANS : clip garanti */
.info-bg {
  position: absolute;
  inset: 0;                  /* top:0; right:0; bottom:0; left:0 */
  background-image: url("studioD-2.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(30%);
  transform: translateY(0);
  will-change: transform;
  z-index: 0;                /* derrière l'overlay et le contenu */
  pointer-events: none;
  /*padding: 1%;*/
}

/* overlay sombre */
.info-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.4);
  z-index: 1;                /* au-dessus du bg, sous le contenu */
}

/* contenu */
.info-section .container {
  position: relative;
  z-index: 2;                /* au-dessus de tout */
  padding-top: 5%;
  padding-bottom: 5% !important;
}
  @media (max-width: 768px) {
    .info-section {
      background-attachment: scroll;
    }

    .info-section .container {
      padding-top: 12%;
    }
    
  }
  h2.text-secondary {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
  }

  h2.text-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), transparent);
  }

  /* studio D */

  html, body {
    height: auto !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto;
}

        .mosaic {
  display: grid;
  padding: 5%;
  padding-top: 0%;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  gap: 0;
  grid-auto-flow: dense;
          

   overflow: visible !important;
    max-height: none !important;
    height: auto !important;

    overscroll-behavior: none !important;
    touch-action: auto !important;
}

.mosaic * {
    overscroll-behavior: none !important;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
  display: block;
  border: 2px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  touch-action: manipulation;
  pointer-events: auto;
  background-color: rgb(17, 17, 17);
}

.mosaic img:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* Animation d'apparition progressive */
.mosaic-refs-item {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.6s ease,
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.mosaic-refs-item-visible {
    opacity: 1;
    transform: translateY(0);
}


        .mosaic img.small {
            grid-column: span 1;
            grid-row: span 1;
        }

        .mosaic img.medium {
            grid-column: span 2;
            grid-row: span 1;
        }

        .mosaic img.large {
            grid-column: span 2;
            grid-row: span 2;
        }

        .mosaic img:hover {
            filter: grayscale(0%);
            transform: scale(1.02);
        }

        .mosaic-refs {
    display: grid;
    padding: 5%;
    padding-top: 0%;
    grid-template-columns: repeat(auto-fill, 250px); /* Taille fixe */
    grid-auto-rows: 250px; /* Même taille */
    gap: 0;
    grid-auto-flow: dense;
    justify-content: center; /* Centre la grille */
}

.mosaic-refs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0%);
    transition: filter 0.3s ease, transform 0.3s ease;
    display: block;
    border: 2px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.mosaic-refs img.small {
    grid-column: span 1;
    grid-row: span 1;
}

.mosaic-refs img.medium {
    grid-column: span 2;
    grid-row: span 1;
}

.mosaic-refs img.large {
    grid-column: span 2;
    grid-row: span 2;
}

.mosaic-refs img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

@media (max-width: 768px) {

  .mosaic-refs {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes égales */
    gap: 2px;
    grid-auto-rows: auto; /* IMPORTANT : laisser aspect-ratio gérer la hauteur */
  }

  .mosaic-refs img {
    width: 100%;
    height: auto;          /* Ne pas forcer la hauteur */
    aspect-ratio: 1 / 1;   /* Carré parfait */
    object-fit: cover;
    display: block;
  }

  .mosaic-refs img.small {
    grid-column: span 1;
  }

  .mosaic-refs img.large {
    grid-column: span 2;
  }
}


/* Animation d'apparition au scroll */
.mosaic-refs-item {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.mosaic-refs-item-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Délai progressif pour créer un effet de cascade */
.mosaic-refs-item:nth-child(1) { transition-delay: 0s; }
.mosaic-refs-item:nth-child(2) { transition-delay: 0.05s; }
.mosaic-refs-item:nth-child(3) { transition-delay: 0.1s; }
.mosaic-refs-item:nth-child(4) { transition-delay: 0.15s; }
.mosaic-refs-item:nth-child(5) { transition-delay: 0.2s; }
.mosaic-refs-item:nth-child(6) { transition-delay: 0.25s; }
.mosaic-refs-item:nth-child(7) { transition-delay: 0.3s; }
.mosaic-refs-item:nth-child(8) { transition-delay: 0.35s; }
.mosaic-refs-item:nth-child(9) { transition-delay: 0.4s; }
.mosaic-refs-item:nth-child(10) { transition-delay: 0.45s; }
/* Ajoutez-en plus si nécessaire jusqu'à 20-30 pour un bel effet */




        /* Lightbox */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.3s ease;
        }

        .lightbox.active {
            display: flex;
            pointer-events: auto;
        }


        .lightbox-content {
            position: relative;
            max-width: 90vw;
            max-height: 90vh;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: zoomIn 0.3s ease;
        }

        .lightbox-content img {
            max-width: 100%;
            max-height: 90vh;
            width: auto;
            height: auto;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
            filter: grayscale(0%);
        }

        .lightbox-close {
            position: absolute;
            top: -50px;
            right: 0;
            font-size: 40px;
            color: white;
            cursor: pointer;
            background: none;
            border: none;
            padding: 10px;
            transition: transform 0.2s ease;
        }

        .lightbox-close:hover {
            transform: scale(1.2);
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes zoomIn {
            from {
                transform: scale(0.8);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* Boutons de navigation lightbox */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1rem;
    padding: 1rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 0.6rem;
        padding: 0.6rem 0.6rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

