@charset "UTF-8";
/* CSS Document */



*{
    margin: 0;
    padding: 0;
    cursor: auto;

}
    

html, body{
    
    cursor: pointer;
    box-sizing: border;
    overflow-x: clip; /* Empêche le défilement horizontal sans affecter le vertical */
    font-family: "Open Sans", serif;
    color: black;
        scroll-behavior:smooth;
        box-sizing: border;
        overflow-x: clip; /* Empêche le défilement horizontal sans affecter le vertical */
        font-family: "Open Sans", serif;
        color: #350000;
        background: 
        radial-gradient(circle at -80% -30%, #A6519A 5px, #3f2e5b 20%, rgba(0, 0, 0, 0) 40%),
        radial-gradient(circle at 130% 30%, #70c7da33 10%, #a6519b00 30%),
        radial-gradient(circle at -25% 55%, #a6519b51 5px, #3f2e5b00 30%),
        radial-gradient(circle at 130% 75%, #70c7da33 5px, #3f2e5b00 30%);
        /*radial-gradient(circle at -25% 120%, #a6519b51 5px, #3f2e5b00 30%);*/;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: top left, top right, bottom left, bottom right;
        background-color: black;
        opacity: 1;
        transition: opacity 0.5s ease-in-out; /* Durée et type de transition */
}

@media screen and (max-width: 810px) {
    html, body{
        scroll-behavior:smooth;
        box-sizing: border;
        overflow-x: hidden;
        overflow-x: clip; /* Empêche le défilement horizontal sans affecter le vertical */
        font-family: 'Cabinet Grotesk', sans-serif;
        color: #000000;
        background: 
        radial-gradient(circle at -100% -30%, #A6519A 5px, #3f2e5b 10%, rgba(0, 0, 0, 0) 30%),
        radial-gradient(circle at 200% 20%, #70c7da33 5%, #a6519b00 20%),
        radial-gradient(circle at -95% 55%, #a6519b51 5px, #3f2e5b00 20%),
        radial-gradient(circle at 190% 75%, #70c7da33 5px, #3f2e5b00 20%);
        /*radial-gradient(circle at -25% 120%, #a6519b51 5px, #3f2e5b00 30%);*/;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: top left, top right, bottom left, bottom right;
        background-color: black;
        width: 100%;
    }
}

@font-face {
    font-family: 'CabinetGrotesk';
    src: url('/fonts/CabinetGrotesk-Black.otf') format('woff2'),
         url('/fonts/CabinetGrotesk-Light.otf') format('woff'),
         url('/fonts/CabinetGrotesk-Regular.otf') format('woff'),
         url('/fonts/CabinetGrotesk-Thin.otf') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Style général pour la page projet type */
body {
    margin: 0;
    font-family: 'CabinetGrotesk-Black', sans-serif;
}

a{
    cursor: pointer;
    text-decoration: none;
}

img{
    vertical-align: middle;
}

ul{
    justify-content: center;
    align-items: center;
}

header {
    position: fixed;

    font-family: 'Cabinet Grotesk', sans-serif;
    width: 100%;
    height: 125px;
    position: relative;
    margin: auto;
    background-color: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA); /* Dégradé */
    
}

header {
    font-family: 'Cabinet Grotesk', sans-serif;
    width: 100%;
    height: 200px;
    position: absolute;
    margin: auto;
    background-color: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA); /* Dégradé */
    
  }
  
  /* Navbar */
  .navbar {
    font-family: 'Cabinet Grotesk', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 400px; /* Garde la hauteur fixe */
    overflow: visible; /* Permet au logo de s'agrandir sans être coupé */
    transition: height 0.5s ease, transform 0.3s ease; /* Transition fluide sur hauteur et transformation */
  }
  
  /* Fond animé avec le même style que .contact-item */
  .navbar::before {
    content: "";
    position: absolute;
    top: 0;
    background: linear-gradient(180deg, #000000, #00000000); /* Dégradé */
    left: 50%;
    transform: translateX(-50%); /* Centre parfaitement */
    width: 100%; /* Ajuste la largeur du fond */
    height: 0; /* Départ : aucune hauteur */
    transition: height 0.5s ease-in-out; /* Animation fluide */
    z-index: -1; /* Place le fond en arrière-plan */
    overflow: hidden;
  }
  
  /* Ajout de l'effet au scroll */
  .navbar.scrolled::before,
  .navbar.scrolled::after {
        /* Masque progressif vers le bas 
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    /*backdrop-filter: blur(10px); /* Ajoute un effet de flou */
    height: 175px; /* Fond et contour qui s'agrandissent progressivement */
  }
  
  /* Liste de navigation */
  .nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    padding-top: 50px;
    transition: all 0.3s ease; /* Animation fluide pour la nav */
  }
  
  .nav-list li {
    margin-right: 40px;
    margin-left: 40px;
  }
  
  .nav-list a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: all 0.8s;
    cursor: pointer; /* Définit le curseur comme un pointeur par défaut */
    font-family: 'CabinetGrotesk-Light', sans-serif; /* Version Black */
    font-weight: 100;
  }
  
  /* Effet de survol pour les liens */
  .nav-list a:hover {
    background: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA); /* Dégradé */
    -webkit-background-clip: text; /* Applique le fond au texte */
    -webkit-text-fill-color: transparent; /* Rendre le texte transparent pour afficher le dégradé */
    transition: all 0.2s; /* Animation au survol */
    z-index: 3;
    cursor: pointer; /* Cela n'est pas nécessaire ici, mais peut rester pour être explicite */
  }
  
  /* Logo dans la navbar */
  .nav-list .logo img {
    z-index: 50;
    height: 100px; /* Taille initiale du logo */
    width: auto; /* Assure que la largeur reste proportionnelle */
    vertical-align: middle;
    cursor: pointer;
    transition: transform 0.3s ease, height 0.3s ease; /* Animation fluide pour l'agrandissement et la transformation */
    transform-origin: center center; /* Définir l'origine de l'agrandissement au centre du logo */
  }
  
  /* Logo au scroll : maintien la taille réduite */
  .navbar.scrolled .nav-list .logo img {
    height: 75px; /* Réduction du logo au scroll */
  }
  
  /* Agrandissement et légère rotation du logo au hover */
  .nav-list .logo img:hover {
    transform: scale(1.1) rotate(5deg); /* Agrandissement et rotation du logo */
  }
  
  /* Logo au hover (lorsque la navbar n'est pas encore scrollée) */
  .navbar:not(.scrolled) .nav-list .logo img:hover {
    transform: scale(1.1) rotate(5deg); /* Agrandissement et légère rotation */
  }
  
  /* Transition plus fluide pour la classe .scrolled */
  .navbar.scrolled {
    transition: all 0.5s ease; /* Plus longue transition lors du scroll */
    height: 100px;
  }
  
  
  #burger-menu {
    display: none;
  cursor: pointer;
  height: 27px;
  width: 27px;
  margin-top: -1%;
  overflow: visible;
  position: absolute;
  z-index:17;
  right: 5%;
  position: fixed;
  
  }
  #burger-menu span,
  #burger-menu span:before,
  #burger-menu span:after {
  background: #fff;
  display: block;
  height: 4px;
  opacity: 1;
  position: absolute;
  transition: 0.3s ease-in-out;
  z-index:16;
  
  }
  #burger-menu span:before,
  #burger-menu span:after {
  content: "";
  z-index:16;
  
  }
  #burger-menu span {
  right: 0px;
  top: 13px;
  width: 27px;
  z-index:16;
  
  }
  #burger-menu span:before {
  left: 0px;
  top: -10px;
  width: 16px;
  z-index:16;
  
  }
  #burger-menu span:after {
  left: 0px;
  top: 10px;
  width: 20px;
  z-index:16;
  
  }
  
  #burger-menu.close span {
  transform: rotate(-45deg);
  top: 13px;
  width: 27px;
  z-index:16;
  
  }
  #burger-menu.close span:before {
  top: 0px;
  transform: rotate(90deg);
  width: 27px;
  z-index:16;
  
  }
  #burger-menu.close span:after {
  top: 0px;
  left:0;
  transform: rotate(90deg);
  opacity:0;
  width:0;
  z-index:16;
  
  }
  
  #menu{
  z-index:1;
  min-width:100%;
  min-height:100%;
  position: fixed;
  top:0;
  height:0;
  visibility: hidden;
  opacity: 0;
  text-align:center;
  padding-top:20px;
  transition: all 0.3s ease-in-out;
  left: 0; /* Ajouté pour s'assurer que le menu couvre toute la largeur */
  height: 100%; /* Assure que le menu couvre toute la hauteur */
  z-index:15;
  
  }
  
  #menu.overlay{
  visibility: visible;
  opacity: 9;
  padding-top:100px;
  background: linear-gradient(90deg, #a6519b3d, #805eba43, #70c7da52); /* Dégradé */
  z-index:16;
  
  }
  
  #menu li{
  list-style:none;
  z-index:16;
  
  }
  #menu a{
  color:#fff;
  display:block;
  font-size: 32px;
  margin-bottom:30px;
  text-decoration:none;
  z-index: 10;
  }
  
  @media screen and (max-width: 850px) {
        
    #burger-menu {
        display: flex;
        cursor: pointer;
        height: 27px;
        width: 27px;
        margin-top: 50px;
        overflow: visible;
        position: fixed;
        z-index: 17;
        right: 50px;
    }
    
    #burger-menu::before {
        content: "";
        position: absolute;
        top: -20px;
        right: -50px;
        background-color: black;
        width: 0%;
        height: 75px;
        transition: width 0.5s ease-in-out;
        z-index: -1;
        border-radius: 32px 0px 0px 32px;
    }
    
    #burger-menu.scrolled::before {
        width: 400%;
    }
    
    #burger-menu span,
    #burger-menu span:before,
    #burger-menu span:after {
        background: #fff;
        display: block;
        height: 4px;
        position: absolute;
        transition: 0.3s ease-in-out;
        z-index: 16;
    }
    
    #burger-menu span {
        right: 0px;
        top: 13px;
        width: 27px;
    }
    
    #burger-menu span:before {
        left: 0px;
        top: -10px;
        width: 16px;
    }
    
    #burger-menu span:after {
        left: 0px;
        top: 10px;
        width: 20px;
    }
    
    #burger-menu.close span {
        transform: rotate(-45deg);
        top: 13px;
        width: 27px;
    }
    
    #burger-menu.close span:before {
        top: 0px;
        transform: rotate(90deg);
        width: 27px;
    }
    
    #burger-menu.close span:after {
        top: 0px;
        left: 0;
        transform: rotate(90deg);
        opacity: 0;
        width: 0;
    }
    
    #menu.overlay {
        visibility: visible;
        opacity: 1;
        padding-top: 50px;
        background: rgba(0, 0, 0, 0.834);
        z-index: 16;
        background-image: url("image/mael-raineau-photo.png");
        background-size: cover;
        background-position: center;
        background-blend-mode: darken;
        animation: fadeInBackground 0.8s ease-in-out forwards;
        overflow: hidden;
    }
    
    @keyframes fadeInBackground {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    #menu ul li {
        opacity: 0;
        transform: translateY(100%);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    #menu.overlay ul li {
        opacity: 1;
        transform: translateY(0);
    }
    
    #menu.overlay ul li:nth-child(1) { transition-delay: 0.2s; }
    #menu.overlay ul li:nth-child(2) { transition-delay: 0.4s; }
    #menu.overlay ul li:nth-child(3) { transition-delay: 0.6s; }
    #menu.overlay ul li:nth-child(4) { transition-delay: 0.8s; }
    #menu.overlay ul li:nth-child(5) { transition-delay: 1s; }
    
    .logo {
        width: 20%;
        margin-left: 10%;
        height: 80px;
        margin-bottom: 124px;
    }
    
    .logo img {
        width: 80px;
        margin-bottom: 100px;
    }
    
    #menu li {
        list-style: none;
        z-index: 16;
    }
    
    #menu a {
        text-align: left;
        color: #fff;
        display: block;
        font-size: 32px;
        margin-bottom: 24px;
        text-decoration: none;
        z-index: 10;
        padding-left: 10%;
    }
    
    .réseaux {
        display: flex;
        justify-content: left;
        align-items: left;
        gap: -16px;
        margin-top: 72px;
    }
    
    .réseaux a img {
        z-index: 5;
        width: 30px;
        height: auto;
        transition: transform 0.3s ease;
    }
    
    .navbar {
        display: none;
        position: absolute;
        font-family: 'Cabinet Grotesk', sans-serif;
        width: 100%;
        height: 200px;
        background-color: transparent;
    }
    
    }
    @media screen and (min-width: 850px) {
        /* Bandeau principal */
/* Bandeau principal avec masque progressif uniquement sur le fond */
.banniere {
    position: relative;
    width: 100%;
    height: 920px; /* Définir la hauteur du bandeau */
    overflow: hidden; /* Masquer la partie de l'image qui dépasse */
    background-color: black; /* Couleur de fond par défaut */
}

/* Pseudo-élément pour le fond avec masque */
.banniere::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('image/la-nuit-au-musee.png'); /* Image de fond */
    background-size: 120%; /* S'assurer que l'image couvre toute la largeur */
    background-attachment: fixed;
    background-repeat: no-repeat; /* Éviter que l'image se répète */
    background-color: black;

    /* Masque progressif vers le bas */
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    z-index: 1; /* Position derrière le contenu */
}

    }


.banniere img {
    position:absolute;
    top: 20%;
    width: 120%;
    height: auto;
    object-fit: cover; /* Rognage de l'image pour qu'elle remplisse le conteneur */
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);

}

.banniere p {
    font-family: "Noto Sans Mono", serif;
    position: absolute;
    bottom:30%;
    left: 5%;
    margin: 0;
    font-size: 18px;
    background: linear-gradient(90deg, #A6519A, #805EBA , #70C7DA );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.banniere h1 {
    position: absolute;
    text-transform: uppercase;
    bottom: 8%;
    left: 5%;
    margin: 0;
    font-size: 3rem;
    color: white;
    font-family: 'CabinetGrotesk';
    src: url('/fonts/CabinetGrotesk-Black.otf') format('woff2');  
    white-space: normal; /* Permet au texte de passer à la ligne si nécessaire */
    letter-spacing: 2px;
}



.banniere .partie {
    bottom: 5%;
    left: 5%;
    margin: 0;
    color: white;
    font-family: 'CabinetGrotesk-Light', sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 400;

}

.banniere .date {
    text-transform: uppercase;
    bottom: 10%;
    left: 5%;
    margin: 0;
    color: rgba(255, 255, 255, 0.781);
    font-family: 'Cabinet Grotesk';
    font-family: "Noto Sans Mono", serif;
    font-size: 16px;
    line-height: 1; /* Ajuste l'espacement entre les lignes */

}

.banniere .slash {
    text-transform: uppercase;
    letter-spacing: -3px;
    bottom: 10%;
    left: 5%;
    margin: 0;
    color: rgba(255, 255, 255, 0.781);
    font-family: "Noto Sans Mono", serif;
    font-size: 16px;
    line-height: 1; /* Ajuste l'espacement entre les lignes */
    margin-left: 5px;

}

/* Bandeau principal */
/* Bandeau principal */
/* Bandeau principal */
@media screen and (max-width: 850px) {
    .banniere {
        background-attachment: scroll; /* Désactiver l'effet parallax */
        height: auto; /* Adapter la hauteur au contenu */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-bottom: 50px; /* Ajouter un peu d'espace sous le texte */
    }

    .banniere::before {
        content: "";
        display: block;
        width: 100%;
        height: 400px; /* Hauteur de l’image en background */
        background-image: url('image/la-nuit-au-musee.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        margin-bottom: 40px;
    }

    .banniere p,
    .banniere h1,
    .banniere .partie,
    .banniere .date,
    .banniere .slash {
        
        position: relative; /* Retirer absolute */
        text-align: left;
        margin: 0px 40px;
        
    }

    .banniere p {
        width: 90%;
        font-family: "Noto Sans Mono", serif;
        position: relative;
        bottom:37%;
        left: 0%;
        margin: 0;
        font-size: 16px;
        background: linear-gradient(90deg, #A6519A, #805EBA , #70C7DA );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 16px;
    }

    .banniere h1 {
        position: relative;
        text-transform: uppercase;
        bottom: 8%;
        left: 0%;
        margin: 0;
        font-size: 40px;
        color: white;
        font-family: 'CabinetGrotesk';
        src: url('/fonts/CabinetGrotesk-Black.otf') format('woff2');   
        white-space: normal; /* Permet au texte de passer à la ligne si nécessaire */
        letter-spacing: 2px;
        width: 90%;
        margin-bottom: -40px;

    }
    
    
    
    .banniere .partie {
        bottom: 0%;
        left: 0%;
        margin: 0;
        color: white;
        font-family: 'CabinetGrotesk-Light', sans-serif;
        font-size: 40px;
        text-transform: uppercase;
        width: 80%;
        font-weight: 400;


    
    }
    
    .banniere .date {
        text-transform: uppercase;
        bottom: 6%;
        left: 0%;
        margin: 0;
        color: rgba(255, 255, 255, 0.781);
        font-family: 'Cabinet Grotesk';
        font-family: "Noto Sans Mono", serif;
        font-size: 16px;
        line-height: 1; /* Ajuste l'espacement entre les lignes */
    
    }
    
    .banniere .slash {
        text-transform: uppercase;
        letter-spacing: -3px;
        bottom: 10%;
        left: 5%;
        margin: 0;
        color: rgba(255, 255, 255, 0.781);
        font-family: "Noto Sans Mono", serif;
        font-size: 16px;
        line-height: 1; /* Ajuste l'espacement entre les lignes */
        margin-left: 5px;
    
    }
}

.bannière p.intro{
    color: white;
}

/* Contenu principal */
.sujet {
    width: 100%;
}


.sujet p {
    z-index: 3;
    text-align: left;
    position: relative;
    margin: 20% 20%;
    color: white;
    font-size: 24px;
    font-family: 'Cabinet Grotesk Light';
    src: url('fonts/CabinetGrotesk-Bold.otf') format('truetype');
}


.sujet .gras{
    color: #d6c39d;
    font-family: 'Cabinet Grotesk Black';
    font-size: 48px;

}

.description {
    font-size: 24px;
    font-weight: bold;
    opacity: 0; /* Invisible au départ */
    filter: blur(10px); /* Appliquer un flou initial */
    transform: translateY(250px) rotate(0deg); /* Décalage et rotation initiale */
    transition: opacity 2s ease, filter 2s ease, transform 2s ease; /* Animation fluide */
}

.illustrator {
    position: relative; /* Assure une bonne positionnement sans affecter d'autres éléments */
    opacity: 0;
    filter: blur(10px);
    transform: translateY(1250px)rotate(-35deg); /* Ajustez selon vos besoins */
    transition: opacity 2s ease, filter 2s ease, transform 2s ease;
    left: 20%;
    z-index: 1;
    display: flex;
    height: 100%; /* Fixe la hauteur */
    width: 100%; /* Fixe la largeur */
    margin: 0; /* Supprime les marges qui pourraient perturber la mise en page */
}

.illustrator.active {
    transform: translateY(800px) rotate(-15deg); /* Ajustez selon vos besoins */
    transition: opacity 2s ease, filter 2s ease, transform 2s ease;
    opacity: 1;
    left: 20%;

}

.illustrator img {
    opacity: 0.3;
    scale: 7;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.indesign {
    position: relative; /* Assure une bonne positionnement sans affecter d'autres éléments */
    opacity: 0;
    filter: blur(10px);
    transform: translateY(650px)rotate(-35deg); /* Ajustez selon vos besoins */
    transition: opacity 2s ease, filter 2s ease, transform 2s ease;
    left: 70%;
    z-index: 1;
    display: flex;
    height: 100%; /* Fixe la hauteur */
    width: 100%; /* Fixe la largeur */
    margin: 0; /* Supprime les marges qui pourraient perturber la mise en page */
}

.indesign.active {
    transform: translateY(100px)rotate(-15deg); /* Ajustez selon vos besoins */
    transition: opacity 2s ease, filter 2s ease, transform 2s ease;
    opacity: 1;
    left: 70%;

}

.indesign img {
    opacity: 0.3;
    scale: 7;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.photoshop {
    position: relative; /* Assure une bonne positionnement sans affecter d'autres éléments */
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-100px)rotate(-35deg); /* Ajustez selon vos besoins */
    transition: opacity 2s ease, filter 2s ease, transform 2s ease;
    left: 20%;
    z-index: 1;
    display: flex;
    height: 100%; /* Fixe la hauteur */
    width: 100%; /* Fixe la largeur */
    margin: 0; /* Supprime les marges qui pourraient perturber la mise en page */
}

.photoshop.active {
    transform: translateY(-400px)rotate(-15deg); /* Ajustez selon vos besoins */
    transition: opacity 2s ease, filter 2s ease, transform 2s ease;
    opacity: 1;
    left: 20%;

}

.photoshop img {
    opacity: 0.3;
    scale: 7;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.after-effect {
    position: relative; /* Assure une bonne positionnement sans affecter d'autres éléments */
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-400px)rotate(-35deg); /* Ajustez selon vos besoins */
    transition: opacity 2s ease, filter 2s ease, transform 2s ease;
    left: 10%;
    z-index: 1;
    display: flex;
    height: 100%; /* Fixe la hauteur */
    width: 100%; /* Fixe la largeur */
    margin: 0; /* Supprime les marges qui pourraient perturber la mise en page */
}

.after-effect.active {
    transform: translateY(-700px)rotate(-15deg); /* Ajustez selon vos besoins */
    transition: opacity 2s ease, filter 2s ease, transform 2s ease;
    opacity: 1;
    left: 10%;

}

.after-effect img {
    opacity: 0.3;
    scale: 7;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.description.active {
    margin-top: 20%;
    font-size: 24px;
    font-weight: bold;
    opacity: 1; /* Invisible au départ */
    filter: blur(0px); /* Appliquer un flou initial */
    transform: translateY(0px) rotate(0deg); /* Décalage et rotation initiale */
    transition: opacity 1s ease, filter 1s ease, transform 1s ease; /* Animation fluide */
}

/* Texte avec effet initial */
.scroll-text {
    font-size: 48px;
    font-weight: bold;
    opacity: 0; /* Invisible au départ */
    filter: blur(10px); /* Appliquer un flou initial */
    transform: translateY(250px) rotate(0deg); /* Décalage et rotation initiale */
    transition: opacity 1s ease, filter 1s ease, transform 1s ease; /* Animation fluide */
}

/* Classe active appliquée lors du défilement */
.scroll-text.active {
    opacity: 1; /* Le texte devient visible */
    filter: blur(0px); /* Supprime le flou */
    transform: translateY(0px) rotate(0deg); /* Décalage et rotation initiale */

    transform: translateY(0); /* Remet le texte à sa position initiale */
}

/* Texte avec effet initial */
.affiche {
    font-size: 48px;
    font-weight: bold;
    opacity: 0; /* Invisible au départ */
    filter: blur(10px); /* Appliquer un flou initial */
    transform: translateY(250px) rotate(0deg); /* Décalage et rotation initiale */
    transition: opacity 1s ease, filter 1s ease, transform 1s ease; /* Animation fluide */
}

/* Classe active appliquée lors du défilement */
.affiche.active {
    opacity: 1; /* Le texte devient visible */
    filter: blur(0px); /* Supprime le flou */
    transform: translateY(0px) rotate(0deg); /* Décalage et rotation initiale */

    transform: translateY(0); /* Remet le texte à sa position initiale */
}

/* Texte avec effet initial */
.goodies {
    font-size: 48px;
    font-weight: bold;
    opacity: 0; /* Invisible au départ */
    filter: blur(10px); /* Appliquer un flou initial */
    transform: translateY(250px) rotate(0deg); /* Décalage et rotation initiale */
    transition: opacity 1s ease, filter 1s ease, transform 1s ease; /* Animation fluide */
}

/* Classe active appliquée lors du défilement */
.goodies.active {
    opacity: 1; /* Le texte devient visible */
    filter: blur(0px); /* Supprime le flou */
    transform: translateY(0px) rotate(0deg); /* Décalage et rotation initiale */

    transform: translateY(0); /* Remet le texte à sa position initiale */
}


.visuels-projets .image-container {
    position: relative;
    width: 100%;
    height: 920px; /* Ajustez la hauteur des images */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Crée l'effet parallaxe */
    z-index: 1;
    margin-bottom: 20px; /* Espacement entre les images */
    border-radius: 0px;

}


/* Optionnel : ajouter une couleur de superposition pour améliorer la lisibilité du texte sur les images */
.visuels-projets .image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 0px;

}

.visuels-projets .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Assurez-vous que l'image reste en arrière-plan */
    border-radius: 0px;
}


/* Style pour les images en grille */

.logo-fond {
    width: 98%;
    position: relative;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes égales */
    gap: 16px; /* Espace entre les images */
    margin-top: 20px;
    overflow: hidden;
}
.logo-fond img{
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit la cellule en rognant si nécessaire */
    object-position: center; /* Centre l'image verticalement et horizontalement */
}

.images-supplémentaires {
    width: 98%;
    position: relative;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 2 colonnes égales */
    gap: 16px; /* Espace entre les images */
    margin-top: 20px;
    overflow: hidden;
}

/* Style pour chaque image */
.images-supplémentaires img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit la cellule en rognant si nécessaire */
    object-position: center; /* Centre l'image verticalement et horizontalement */
}




/* Bouton fermer */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    color: white;
    font-size: 2rem;
    border: none;
    cursor: pointer;
}

/* Flèches de navigation */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: white;
    font-size: 2rem;
    border: none;
    cursor: pointer;
}

.lightbox-prev {
    left: 5%;
}

.lightbox-prev:hover {
    left: 5%;
    color: rgb(173, 173, 173);
    transition: all 0.3s;
}

.lightbox-next {
    right: 5%;
}

.lightbox-next:hover {
    right: 5%;
    color: rgb(173, 173, 173);
    transition: all 0.3s;
}



/* Miniatures */
.thumbnail {
    width: 150px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative; /* Pour le positionnement */
}

.thumbnail:hover {
    transform: scale(1.05); /* Zoom léger au survol */
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex; /* Toujours en flex pour garder la structure */
    justify-content: center;
    align-items: center;
    opacity: 0; /* Invisible au départ */
    visibility: hidden; /* Cachée au départ */
    transform: scale(1); /* Pas de zoom pour le fond */
    transition: opacity 0.5s ease, visibility 0s 0.5s; /* Transition uniquement pour l'opacité */
    z-index: 1000;
}

.lightbox.active {
    opacity: 1; /* Fait apparaître le fond */
    visibility: visible; /* Rendre visible */
    transition: opacity 1s ease, visibility 0s 0s; /* Transition fluide pour l'opacité */
}

/* Lightbox image */
.lightbox-image {
    max-width: 80%;
    max-height: 80%;
    transition: transform 1s ease; /* Animation pour l'image */
    transform: scale(0.5); /* Petit zoom au départ */
}

.lightbox.active .lightbox-image {
    transform: scale(1); /* Restaure l'échelle normale */
}



.lightbox.active .lightbox-image {
    transform: scale(1); /* Agrandissement de l'image */
}

/* Transition de fermeture */
.thumbnail.active {
    transform: scale(1.1); /* Zoom sur l'image lors de l'agrandissement */
}





.video-container  {
    position: relative;
    margin: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 15;
}


.gras {
    color: #d6c39d;
}
/* Texte avec effet initial */
.animation {
    font-size: 48px;
    font-weight: bold;
    opacity: 0; /* Invisible au départ */
    filter: blur(10px); /* Appliquer un flou initial */
    transform: translateY(250px) rotate(0deg); /* Décalage et rotation initiale */
    transition: opacity 1s ease, filter 1s ease, transform 1s ease; /* Animation fluide */
}

/* Classe active appliquée lors du défilement */
.animation.active {
    opacity: 1; /* Le texte devient visible */
    filter: blur(0px); /* Supprime le flou */
    transform: translateY(0px) rotate(0deg); /* Décalage et rotation initiale */

    transform: translateY(0); /* Remet le texte à sa position initiale */
}

@media screen and (max-width: 850px) {
    /* Ajuster le texte pour qu'il soit bien lisible */
    .sujet p {
        text-align: left;
        position: relative;
        margin: 25% 10%;
        color: white;
        font-size: 18px;
        font-family: 'CabinetGrotesk-Light', sans-serif; /* Version Black */
        font-weight: 100;

    }

    .sujet .gras {
        font-size: 28px; /* Réduire légèrement la taille */
        font-family: 'CabinetGrotesk';
        src: url('/fonts/CabinetGrotesk-Black.otf') format('woff2');  
    }

    /* Ajuster la description */
    .description {

        font-size: 18px;
        font-weight: 100;
        z-index: 3;
    }

    .description.active {
        font-size: 18px;
        font-weight: 100;
        z-index: 3;

    }
    /* Ajuster la section logiciel */
    .logiciel {
        flex-direction: column; /* Aligner en colonne sur mobile */
        align-items: center;
        left: 0;
        width: 100%;
        transform: translateY(0px);
    }

    .logiciel img {
        scale: 2; /* Adapter l'échelle pour éviter qu'elle ne soit trop grande */
        opacity: 0.4;
    }

    .logiciel.active {
        transform: translateY(100px); /* Ajustez selon vos besoins */
        opacity: 1;
        left: 20%;
        z-index: 1;
    
    }
    /* Texte animé */
    .scroll-text {
        font-size: 18px;
    }

    .visuels-projets .image-container {
        position: relative;
        width: 100%;
        height: 600px; /* Ajustez la hauteur des images */
        background-size: cover;
        background-position: center;
        background-attachment: scroll; /* Crée l'effet parallaxe */
        margin-bottom: 20px; /* Espacement entre les images */
        border-radius: 0px;
    
    }

    

    
    .visuels-projets .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0; /* Assurez-vous que l'image reste en arrière-plan */
        border-radius: 0px;
    }
    
    /* Style pour les images en grille */
    .grille {
        width: 80%;
        height: 340px;
        position: relative;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 3 colonnes égales */
        gap: 20px; /* Espace entre les images */
        margin-top: 20px;
        overflow: hidden;
    }
    
    /* Style pour chaque image */
    .grille img {
        width: 100%;
        height: auto;
        object-fit: contain; /* Maintient l'aspect ratio des images tout en remplissant la grille */
    }
    
    
    .telephone-video-container  {
        display: block;
        position: relative;
        margin: auto;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .telephone-video-container video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 15;
    }

    .illustrator {
        position: relative; /* Assure une bonne positionnement sans affecter d'autres éléments */
        opacity: 0;
        filter: blur(5px);
        transform: translateY(1550px)rotate(-35deg); /* Ajustez selon vos besoins */
        transition: opacity 2s ease, filter 2s ease, transform 2s ease;
        left: 20%;
        z-index: 1;
        display: flex;
        height: 100%; /* Fixe la hauteur */
        width: 100%; /* Fixe la largeur */
        margin: 0; /* Supprime les marges qui pourraient perturber la mise en page */
    }
    
    .illustrator.active {
        transform: translateY(1200px) rotate(-15deg); /* Ajustez selon vos besoins */
        transition: opacity 2s ease, filter 2s ease, transform 2s ease;
        opacity: 1;
        left: 20%;
    
    }
    
    .illustrator img {
        opacity: 0.3;
        scale: 3;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .video-container  {
        display: block;
        position: relative;
        margin: auto;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .video-container video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 15;
    }
}

/* Bandeau principal avec masque progressif uniquement sur le fond */
.autre-projet {
    position: relative;
    width: 100%;
    height: 920px; /* Définir la hauteur du bandeau */
    overflow: hidden; /* Masquer la partie de l'image qui dépasse */
    background-color: black; /* Couleur de fond par défaut */
}

/* Pseudo-élément pour le fond avec masque */
.autre-projet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('image/montre.png'); /* Image de fond */
    background-size: 120%; /* S'assurer que l'image couvre toute la largeur */
    background-attachment: fixed;
    background-repeat: no-repeat; /* Éviter que l'image se répète */
    background-color: black;

    /* Masque progressif vers le bas */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    z-index: 1; /* Position derrière le contenu */
}



.autre-projet p {
    z-index: 3;
    font-family: "Noto Sans Mono", serif;
    position: absolute;
    bottom:45%;
    left: 5%;
    margin: 0;
    font-size: 18px;
    background: linear-gradient(90deg, #A6519A, #805EBA , #70C7DA );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.autre-projet h1 {
    z-index: 3;

    position: absolute;
    text-transform: uppercase;
    bottom: 20%;
    left: 5%;
    margin: 0;
    font-size: 48px;
    color: white;
    font-family: 'CabinetGrotesk';
    src: url('/fonts/CabinetGrotesk-Black.otf') format('woff2');  
    white-space: normal; /* Permet au texte de passer à la ligne si nécessaire */
    letter-spacing: 2px;
    width: auto;
}



.autre-projet .partie {
    bottom: 10%;
    left: 5%;
    margin: 0;
    color: white;
    font-family: 'CabinetGrotesk-Light', sans-serif; /* Version Black */
    src: url('fonts/CabinetGrotesk-Light.otf') format('truetype');
    font-size: 48px;
    text-transform: uppercase;
    font-weight: 500;

}

.autre-projet .date {
    text-transform: uppercase;
    bottom: 15%;
    left: 5%;
    margin: 0;
    color: rgba(255, 255, 255, 0.781);
    font-family: 'Cabinet Grotesk';
    font-family: "Noto Sans Mono", serif;
    font-size: 16px;
    line-height: 1; /* Ajuste l'espacement entre les lignes */

}

.autre-projet .slash {
    text-transform: uppercase;
    letter-spacing: -3px;
    bottom: 15%;
    left: 5%;
    margin: 0;
    color: rgba(255, 255, 255, 0.781);
    font-family: "Noto Sans Mono", serif;
    font-size: 16px;
    line-height: 1; /* Ajuste l'espacement entre les lignes */
    margin-left: 5px;

}

  /* Bouton "Découvrir" */
  .btn:hover {
    scale: 1.1;
    transition: 0.3s ease;
    cursor: pointer;
    color: white; /* Change la couleur du texte au survol */
    background-color: transparent; /* Fond léger au survol */
    background-image: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA); /* Dégradé au survol */
    transition: all 0.3s ease; /* Transition fluide pour le contour */
}

.btn {
    font-family: 'CabinetGrotesk-Light', sans-serif; /* Version Black */
    display: inline-block;
    left: 5%;
    bottom: 10%;
    position: absolute;
    display: flex;
    font-size: 14px;
    cursor: none;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px 72px;
    border-radius: 50px;
    opacity: 0;
    z-index: 3;
    opacity: 1;
    transition: 0.3s ease;  
    z-index: 4;
    font-weight: 600;

}
@media screen and (max-width: 850px) {

    /* Bandeau principal avec masque progressif uniquement sur le fond */
.autre-projet {
    position: relative;
    width: 100%;
    height: 700px; /* Définir la hauteur du bandeau */
    overflow: hidden; /* Masquer la partie de l'image qui dépasse */
    background-color: black; /* Couleur de fond par défaut */
}

/* Pseudo-élément pour le fond avec masque */
.autre-projet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('image/montre.png'); /* Image de fond */
    background-size: cover; /* S'assurer que l'image couvre toute la largeur */
    background-attachment: scroll;
    background-repeat: no-repeat; /* Éviter que l'image se répète */
    background-color: black;

    /* Masque progressif vers le bas */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    z-index: 1; /* Position derrière le contenu */
}



.autre-projet p {
    text-transform: uppercase;
    z-index: 3;
    font-family: "Noto Sans Mono", serif;
    position: absolute;
    bottom:45%;
    left: 10%;
    margin: 0;
    font-size: 14px;
    color: white;
}


.autre-projet h1 {
    z-index: 3;

    position: absolute;
    text-transform: uppercase;
    bottom: 20%;
    left: 10%;
    margin: 0;
    font-size: 40px;
    color: white;
    font-family: 'CabinetGrotesk';
    src: url('/fonts/CabinetGrotesk-Black.otf') format('woff2');      
    white-space: normal; /* Permet au texte de passer à la ligne si nécessaire */
    letter-spacing: 2px;
    width: 80%;

}



.autre-projet .partie {
    bottom: 10%;
    left: 5%;
    margin: 0;
    color: white;
    font-family: 'CabinetGrotesk-Light', sans-serif; /* Version Black */
    font-weight: 100; 
    font-size: 40px;
    text-transform: uppercase;

}

.autre-projet .date {
    text-transform: uppercase;
    bottom: 15%;
    left: 5%;
    margin: 0;
    color: rgba(255, 255, 255, 0.781);
    font-family: 'Cabinet Grotesk';
    font-family: "Noto Sans Mono", serif;
    font-size: 16px;
    line-height: 1; /* Ajuste l'espacement entre les lignes */
    width: 90%;

}

.autre-projet .slash {
    text-transform: uppercase;
    letter-spacing: -3px;
    bottom: 15%;
    left: 5%;
    margin: 0;
    color: rgba(255, 255, 255, 0.781);
    font-family: "Noto Sans Mono", serif;
    font-size: 16px;
    line-height: 1; /* Ajuste l'espacement entre les lignes */
    margin-left: 5px;

}

  /* Bouton "Découvrir" */
  .btn:hover {
    scale: 1.1;
    transition: 0.3s ease;
    cursor: pointer;
    color: white; /* Change la couleur du texte au survol */
    background-color: transparent; /* Fond léger au survol */
    background-image: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA); /* Dégradé au survol */
    transition: all 0.3s ease; /* Transition fluide pour le contour */
}

.btn {
    font-family: 'CabinetGrotesk-Light', sans-serif; /* Version Black */
    display: inline-block;
    left: 10%;
    bottom: 10%;
    position: absolute;
    display: flex;
    font-size: 14px;
    cursor: none;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px 100px;
    border-radius: 50px;
    opacity: 0;
    z-index: 3;
    opacity: 1;
    transition: 0.3s ease;  
    z-index: 4;
    font-weight: 600;
}
}



.footer {
    position: absolute;
    margin: auto;
    font-family: 'Cabinet Grotesk', sans-serif;
    margin: 0px;
    margin-top: 40px;
    width: 100%;
    height: 200px;
    background-color: transparent;
    overflow: hidden;
    
    
}


.nav-footer-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    padding-top: 100px;
}

.nav-footer-list li {
   margin-right: 40px;
   margin-left:40px;
}

.nav-footer-list a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: all 0.8s;
}

.nav-footer-list a:hover {
    background: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA); /* Dégradé */
    -webkit-background-clip: text; /* Applique le fond au texte */
    -webkit-text-fill-color: transparent; /* Rendre le texte transparent pour afficher le dégradé */
    transition: all 0.8s ; /* Animation au survol */
}


.logo-flou{
    left: -3%;
    top: 10%;
    position: absolute;
    filter: blur(10px);
    width: 400px
}

.logo-flou img {
    width: 100%;
}

.footer {
    position: relative; /* Changer la position pour éviter les problèmes de positionnement sur mobile */
    margin: auto;
    font-family: 'Cabinet Grotesk', sans-serif;
    width: 100%;
    padding: 0px 0;
    padding-top: 80px;
    background-color: transparent;
    overflow: hidden;
}

.logo-flou {
    position: absolute; /* Garder le logo flou à gauche */
    left: -3%;
    padding-top: 80px;
    filter: blur(10px);
    width: 350px; /* Taille du logo flou */
    animation: tanguer 3s ease-in-out infinite; /* Animation infinie */
}

@keyframes tanguer {
    0%, 100% {
        transform: translateY(0px); /* Position initiale */
    }
    50% {
        transform: translateY(30px); /* Descente */
    }
    50% {
        transform: rotate(-15deg); /* Descente */
    }
}

.logo-flou img {
    width: 100%;
    transition: all 0.3s ease;
}

/*.logo-flou:hover img {
    rotate: -15deg;
}*/


.nav-footer-list {
    display: flex;
    justify-content: center; /* Garde les liens centrés horizontalement */
    align-items: center;
    list-style: none;
    padding: 0;
    padding-top: 100px;
}

.nav-footer-list li {
    margin-right: 40px;
    margin-left: 40px;
}

.nav-footer-list a {
    font-family: 'CabinetGrotesk-Light', sans-serif; /* Version Black */
    font-weight: 100;
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: all 0.8s;
}

.nav-footer-list a:hover {
    background: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA); /* Dégradé */
    -webkit-background-clip: text; /* Applique le fond au texte */
    -webkit-text-fill-color: transparent; /* Rendre le texte transparent pour afficher le dégradé */
    transition: all 0.2s; /* Animation au survol */
}

/* Responsive pour mobile : les éléments seront les uns sous les autres */
@media screen and (max-width: 810px) {
    .footer {
        
        padding: 0px 0;
        padding-top: 80px;
        height: auto;
    }

    .logo-flou {
        z-index: 1;
        position: absolute; /* Positionnement du logo flou sur mobile */
        left: 60%;
        top: 30%;
        width: 250px; /* Réduire la taille du logo flou sur mobile */
        margin-bottom: 20px; /* Espacement entre le logo et la nav */
    }

    .nav-footer-list {
        z-index: 3;
        align-items: flex-start; /* Aligner les éléments de la nav à gauche sur mobile */

        flex-direction: column; /* Les éléments de la nav se placent en colonne sur mobile */
        padding-top: 20px;
        padding-right: 0%;
        margin-bottom: 40px;
        padding-left: 10%;
    }

    .nav-footer-list li {
        z-index: 3;

        margin: 10px 0; /* Espacement vertical entre les éléments de la nav */
    }

    .nav-footer-list a{
        z-index: 3;

        font-size: 24px;
        font-weight: 500;
    }
    
}