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



*{
    margin: 0;
    padding: 0;
}
    

html, body{
    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;
    /*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 */

}


/* Classe pour la transition de sortie */
body.fade-out {
    opacity: 0; /* Rendre la page invisible progressivement */
}
@media screen and (max-width: 768px) {
    html, body{
        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 -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 -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;
    
    }
}


/* Animation Keyframes */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@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;
}
a{
    text-decoration: none;
}

img{
    vertical-align: middle;
}

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

header {
    font-family: 'Cabinet Grotesk', sans-serif;
    width: 100%;
    height: 125px;
    position: relative;
    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;
    }
    
    }
/* Section intro */


.hero-content {
    width: 100%;
    height: 750px;
    background-color: transparent;
    position: relative;
    margin: auto;
    margin-bottom: -00px;
}



.hero-content .points {
    margin-left: 5px;
    font-family: "Noto Sans Mono", serif;
    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é */    font-family: 'open sans', sans-serif;
    font-size: 60px;
    letter-spacing: -4px;
}

.hero-content .highlight {
    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é */  
    font-size: 112px;

}

/* Styles pour le bouton */
.gradient-border-button {
    font-family: "Noto Sans Mono", serif;
    margin-top:80px;
    position: relative;
    padding: 10px 40px; /* Espacement interne */
    font-size: 16px; /* Taille de la police */
    color: #fff; /* Couleur du texte */
    background-color: transparent; /* Fond transparent */
    border: none; /* Pas de bordure classique */
    border-radius: 50px; /* Coins arrondis */
    cursor: pointer; /* Curseur pointer */
    z-index: 1; /* Assure que le bouton est au-dessus */
    overflow: hidden; /* Cache les débordements */
    transition: all 0.3s ease; /* Animation au survol */
  }
  
  /* Pseudo-élément pour le contour dégradé */
  .gradient-border-button::before {
    content: ''; /* Pseudo-élément vide pour le contour */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px; /* Coins arrondis */
    padding: 1px; /* Épaisseur du contour */
    background: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA); /* Dégradé */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1; /* Place le contour derrière le bouton */
  }
  
  /* Effet au survol */
  .gradient-border-button:hover {
    color: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA); /* Change la couleur du texte au survol */
    background-color:transparent; /* Fond léger au survol */
  }



  .accroche::before {
    background-image:
     url("image/parenthese.png"),
     url("image/parenthese2.png");
    background-repeat: no-repeat;
    background-position:
    3% 2%,
    53% 40%;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    filter: opacity(10%);
    z-index: 1;
  }

.accroche {
    margin-left: 10%;
    padding-top: 72px;
    z-index: 4;
    
}

.accroche .je-suis{
    font-family: 'CabinetGrotesk-Light', sans-serif;
    font-weight: 100;
    font-size: 48px;
    z-index: 3;
}

.accroche .pres{
    font-size: 16px;
}
.hero-content p {
    font-size: 32px;
    font-family: 'CabinetGrotesk-Light', sans-serif;
    color: #ffffff;
    z-index: 1;
    line-height: 25px;
    width: 35%;
    margin-bottom: 56px;
}


.hero-content h1{
    z-index: 5;
    margin-top: -16px;
    font-size: 112px;
    font-family: 'CabinetGrotesk';
    src: url('/fonts/CabinetGrotesk-Black.otf') format('woff2'); 
    color: #ffffff;
    margin-bottom: 5%;
    line-height: 96px;

}

.container-img{
    position: absolute;
    bottom: -200px; /* Ajustez cette valeur pour définir combien l'image dépasse */
    left: 45%; /* Centrer l'image horizontalement dans le bloc */
    transform: translateX(10%); /* Correction pour le centrage */
    z-index: 1; /* S'assurer que l'image est visible */
}

.hero-content img{
    box-sizing: border-box;
    float: right;
    margin-right: -100px;
    margin-top: -900px;
    width: 800px;
    height: auto;
}

/* Bouton "Voir tous les projets" avec le même style que le bouton de référence */
.cv {
    z-index: 100;
    font-family: "Noto Sans Mono", serif;
    margin-top: 0px;
    position: relative;
    padding: 10px 40px; /* Espacement interne */
    font-size: 16px; /* Taille de la police */
    color: #fff; /* Couleur du texte */
    background-color: transparent; /* Fond transparent */
    border: none; /* Pas de bordure classique */
    border-radius: 50px; /* Coins arrondis */
    cursor: pointer; /* Curseur pointer */
    z-index: 1; /* Assure que le bouton est au-dessus */
    overflow: hidden; /* Cache les débordements */
    transition: all 0.3s ease; /* Animation au survol */
    text-decoration: none; /* Supprime le soulignement */
    display: inline-block; /* Permet de traiter le lien comme un bouton */
}

/* Pseudo-élément pour le contour dégradé */
.cv::before {
    cursor: pointer;
    content: ''; /* Pseudo-élément vide pour le contour */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px; /* Coins arrondis */
    padding: 1px; /* Épaisseur du contour */
    background: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA); /* Dégradé */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1; /* Place le contour derrière le bouton */
    transition: all 0.3s ease; /* Transition fluide pour le contour */
}

/* Effet au survol */
.cv:hover {
    scale: 1.2;
    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 */
    rotate: -3deg;
}

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

    .hero-content {
        width: 100%;
        height: 750px;
        background-color:transparent;
        position: relative;
        margin-top: 48px;
        margin-bottom: 48px;
    }
    
    .cv{
        padding: 10px 64px; /* Espacement interne */

    }
    
    .hero-content .points {
        margin-left: 5px;
        font-family: "Noto Sans Mono", serif;
        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é */    font-family: 'open sans', sans-serif;
        font-size: 60px;
        letter-spacing: -4px;
    }
    
    .hero-content .highlight {
        font-family: 'CabinetGrotesk';
        src: url('/fonts/CabinetGrotesk-Black.otf') format('woff2');
        text-align: center;
        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é */    
        font-size: 72px;
        
    
    }
    
    /* Styles pour le bouton */
    .gradient-border-button {
        font-family: "Noto Sans Mono", serif;
        margin-top:80px;
        position: relative;
        padding: 10px 80px; /* Espacement interne */
        font-size: 16px; /* Taille de la police */
        color: #fff; /* Couleur du texte */
        background-color: transparent; /* Fond transparent */
        border: none; /* Pas de bordure classique */
        border-radius: 50px; /* Coins arrondis */
        cursor: pointer; /* Curseur pointer */
        z-index: 1; /* Assure que le bouton est au-dessus */
        overflow: hidden; /* Cache les débordements */
        transition: all 0.3s ease; /* Animation au survol */
      }
      
      /* Pseudo-élément pour le contour dégradé */
      .gradient-border-button::before {
        content: ''; /* Pseudo-élément vide pour le contour */
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 50px; /* Coins arrondis */
        padding: 1px; /* Épaisseur du contour */
        background: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA); /* Dégradé */
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: destination-out;
        mask-composite: exclude;
        z-index: -1; /* Place le contour derrière le bouton */
      }
      
      /* Effet au survol */
      .gradient-border-button:hover {
        color: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA); /* Change la couleur du texte au survol */
        background-color:transparent; /* Fond léger au survol */
      }
    
    
    
      .accroche::before {
        
        text-align: center;
        background-image:
         url("image/parenthese.png"),
         url("image/parenthese2.png");
        background-repeat: no-repeat;
        background-position:
        17% 8%,
        120% 63%;
        content: "";
        position: relative;
        filter: opacity(10%);
        z-index: 3;
        scale: 0.5;
      }
    
    .accroche {
        position: relative;
        margin: auto;
        margin-top: 100px;
        text-align: center;
        padding-top: 120px;
        z-index: 3;     
        width: 80%;   
    }
    
    .hero-content p {
        font-size: 32px;
        font-family: 'CabinetGrotesk-Light', sans-serif;
        color: #ffffff;
        line-height: 20px;
        text-align: left;
        width: 100%;
    }
    
    .accroche .je-suis{
        font-family: 'CabinetGrotesk-Light', sans-serif;
        font-weight: 100;
        font-size: 32px;
        z-index: 3;
    }

    .hero-content h1{
        position: relative;
        margin: auto;
        font-size: 72px;
        font-family: 'CabinetGrotesk';
        src: url('/fonts/CabinetGrotesk-Black.otf') format('woff2');         color: #ffffff;
        line-height: 80px;
        text-align: left;
    
    }
    
    .container-img{
        bottom: 115%;
        background-color: rgb(0, 255, 255);
        position: relative;
        margin: auto;
        float: center;
        right: 40%;
        z-index: 1; /* S'assurer que l'image est visible */
        width: 130%;
    }
    
    .hero-content img{
        top: 80%;
        position: absolute;
        margin: auto;
        width: 100%;
        height: auto;
        right: 70%;
    }
    .hero-content .btn:hover {
        background-color: #0080ff;
    }
    
    }

    
/* Section About */

.presentation{
    position: relative;
    margin: auto;
    color: #fff;
    background-color: transparent;
}

.moi{
    position: relative;
    margin: auto;
    padding: 50px 20px;
    background: rgba(0, 0, 0, 0.8);
    height: 200px;
    background-color:transparent;
}
h2{
    position:relative;
    margin: auto;
    float: center;
    width: 100%;
    font-size: 64px;
    font-family: 'CabinetGrotesk';
    src: url('/fonts/CabinetGrotesk-Black.otf') format('woff2'); 
        background-color: transparent;
    text-align: center;

}

.moi .qui{
    font-family: 'CabinetGrotesk-Light', sans-serif;
    color: #fff;
    font-size: 64px;
}

.presentation .points{
    margin-left: -5px;
    line-height: 20px;
    font-family: "Noto Sans Mono", serif;
    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é */    font-family: 'open sans', sans-serif;
    font-size: 160px;
    letter-spacing: -12px;
    padding-right: 0.5%;
}

.presentation p{
    width: 627px;
    background: transparent;
    position: relative;
    color: #fff;
    margin: auto;
    font-size: 16px;
    font-family: 'CabinetGrotesk-Light', sans-serif;
    margin-top: 32px;
    text-align: center;
}


h2 {
    text-align: center;
    font-weight: 300;
 }
 

 .moi h3{
    font-size: 16px;
    letter-spacing: 2px;
    width: 17%;
    float: center;
    position: relative;
    margin:auto;
    margin-top: 8px;
    text-align: center;
    font-family: "Noto Sans Mono", serif;
    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: 0.8s ease; /* Animation au survol */
 }
 
 .container {
    background-color: transparent;
    width: 60%;
    padding: 50px 0;
    margin: 50px auto;
    position: relative;
    overflow: hidden;
    height: auto;
 }
 


 .container:before {
    margin-top: 5.85%;
    content: '';
    position: absolute;
    top: 0;
    left: 49.8%;
    margin-left: -1px;
    width: 1px;
    height: 100%;
    background: #ffffff;
    z-index: 1;
    height: 90%;
    height: 85.50%;
 }
 
 .timeline-block {
    width: 50%; 
    width: calc(45% + 8px);
    display: inline;


    clear: both;
 }
 
 .timeline-block-right {
    float: right;
    margin-top: -60px;
    margin-bottom: 60px;
 }

 
 .timeline-block-left {
    float: left;
    text-align: right;

}
 
 .marker-right {
    margin-top: 10px;
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 1px;
    border-radius: 0%;
    background: #ffffff;
    margin-top: 10px;
    z-index: 9999;
    left: 49.7%;
}

.marker-left {
    margin-top: 10px;
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 1px;
    border-radius: 0%;
    background: #ffffff;
    margin-top: 10px;
    z-index: 9999;
    left: 48.2%;
}
 
 .timeline-content {
    margin-top: -15px;
    padding: 0 0px;
    color: #ffffff;
    width: auto;
 }

 .timeline-content :nth-child(2n+1) {
    padding: 0 0px;
    color: #ffffff;
    width: auto;
 }

.timeline-block-second-right {
    margin-top: 20px;
    margin-bottom: 40px;
    float: right;
    text-align: left;
}

 
 .timeline-content h3 {
    font-family: 'CabinetGrotesk-black', sans-serif;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 32px;
    font-weight: 500
 }
 
 .timeline-content span {
    font-size: 16px;
    color: #ffffff;
    font-family: "Noto Sans Mono", serif;

 }
 
 .timeline-content p {
    font-size: 14px;
    line-height: 1.5em;
    word-spacing: 1px;
    color: #ffffff;
    text-align: right;
    width: 80%;
    float: right;
    font-family: 'CabinetGrotesk-Light', sans-serif;

 }

 .timeline-block-right p{
    text-align: left;
    float: left;
  }

  .timeline-block-second-right p {
    float: right;
    text-align: left;
}
 
 
/* Responsive adjustments for mobile */
@media screen and (max-width: 850px) {
    .presentation{
        position: relative;
        margin: auto;
        color: #fff;
        background-color: transparent;
    }
    
    .moi{
        position: relative;
        margin: auto;
        padding: 50px;
        background: rgba(0, 0, 0, 0.8);
        height: 200px;
        background-color:transparent;
    }
    h2{
        position:relative;
        margin: auto;
        float: center;
        width: 100%;
        font-size: 48px;
        font-family: 'CabinetGrotesk';
        src: url('/fonts/CabinetGrotesk-Black.otf') format('woff2'); 
        background-color: transparent;
        text-align: center;
        overflow: visible;

    
    }
    
    .moi .qui{
        font-family: 'CabinetGrotesk-Light', sans-serif;
        color: #fff;
        font-size: 48px;
        position: relative;
        margin: auto;
    }
    
    .presentation .points{
        margin-left: -5px;
        line-height: 20px;
        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é */    font-family: 'open sans', sans-serif;
        font-size: 88px;
        letter-spacing: -8px;
        
    }
    
    .presentation p{
        width: 90%;
        background: transparent;
        position: relative;
        color: #fff;
        margin: auto;
        font-size: 16px;
        font-family: 'CabinetGrotesk-Light', sans-serif;
        margin-top: 32px;
        text-align: center;
        position:relative;
        float: center;
    }
    
    
    h2 {
        text-align: center;
        font-weight: 300;
     }
     
    
     .moi h3{
        font-size: 14px;
        letter-spacing: 2px;
        width: 100%;
        float: center;
        position: relative;
        margin:auto;
        margin-top: 8px;
        text-align: center;
        font-family: "Noto Sans Mono", serif;
        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: 0.8s ease; /* Animation au survol */
     }
     
     .container {
        background-color: transparent;
        width: 80%;
        padding: 50px 0;
        margin:  auto;
        position: relative;
        overflow: hidden;
        height: auto;
     }

     .jme-presente{
        position: relative;
        margin: auto;
     }
     .container:before {
        margin-top: 12%;
        content: '';
        position: absolute;
        top: 0;
        left: 49.8%;
        margin-left: -1px;
        width: 1px;
        height: 100%;
        background: #ffffff;
        z-index: 1;
        height: 88%;
     }
     
     .timeline-block {
        width: 50%; 
        width: calc(45% + 8px);
        display: inline;
        clear: both;
     }
     
     .timeline-block-right {
        float: right;
        margin-top: -60px;
        margin-bottom: 60px;
     }
    
     
     .timeline-block-left {
        float: left;
        direction: rtl;
     }
     
     .marker-right {
        margin-top: 10px;
        display: inline-block;
        position: absolute;
        width: 8px;
        height: 1px;
        border-radius: 0%;
        background: #ffffff;
        margin-top: 10px;
        z-index: 9999;
        left: 49.7%;
    }
    
    .marker-left {
        margin-top: 10px;
        display: inline-block;
        position: absolute;
        width: 8px;
        height: 1px;
        border-radius: 0%;
        background: #ffffff;
        margin-top: 10px;
        z-index: 9999;
        left: 48.1%;
    }
     
     .timeline-content {
        padding: 0 0px;
        color: #ffffff;
        width: auto;
     }
    
     .timeline-content :nth-child(2n+1) {
        padding: 0 0px;
        color: #ffffff;
        width: auto;
     }
    
    .timeline-block-second-right {
        margin-bottom: 40px;
        float: right;
        text-align: left;
    }
    
     
     .timeline-content h3 {
        font-family: 'CabinetGrotesk-black', sans-serif;
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 24px;
        font-weight: 500
     }
     
     .timeline-content span {
        font-size: 14px;
        color: #ffffff;
        font-family: "Noto Sans Mono", serif;
    
     }
     
     .timeline-content p {
        font-size: 14px;
        color: #ffffff;
        text-align: right;
        width: 80%;
        float: right;
        font-family: 'CabinetGrotesk-Light', sans-serif;
    
     }
    
     .timeline-block-right p{
        text-align: left;
        float: left;
        font-size: 12px;
      }
    
      .timeline-block-second-right p {
        float: right;
        text-align: left;
        font-size: 12px;
    }

}


 

 

/*.circle {
  left: 49%;
  width: 16px;
  position: absolute;
  height: 16px;
  background-color: white;
  border-radius: 50%;
  animation: reveal linear;
  animation-timeline: screen();
  animation-range-start: cover 0%;
  animation-range-end: contain 50%;
}*/z


/* Section Projects */
.projets-list {
    padding: 10% 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 80%;
    margin-bottom: 40px; /* Ajout d'un espace sous les projets */
}

.visuels-container .projet-contain {
    position: relative;
    width: 100%;
    left: 30%;
    height: 400px;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    border-radius: 0px;
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
}

.projet-contain {
    opacity: 0; /* Initialement invisible */
    filter: blur(40px); /* Flou initial */
    transform: translateY(300px) rotate(-40deg); /* Décalage et rotation initiale */
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease; /* Animation fluide */
}

.projet-contain.active {
    opacity: 1; /* Rendre visible */
    filter: blur(0px); /* Réduire le flou */
    transform: translateY(0px) rotate(0deg); /* Réinitialiser la position et la rotation */
}

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

.visuelscontainer .projet-contain img {
    position: relative;
    margin: auto;
    overflow: visible;
    width: 80%;
    height: 300%;
    overflow: visible;
    object-fit: cover;
    z-index: 3; /* Assurez-vous que l'image reste en arrière-plan */
    border-radius: 0px;
    opacity: 1;
}

/*.bandeau:nth-child(3)::before {
    background-image: url(image/cover-new-way.png);;
    background-position: 20% 10%;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), black 100%, rgba(0, 0, 0, 0));
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    opacity: 50%;
    z-index: 0;
    filter: blur(20px);
}

.bandeau:nth-child(2)::before {
    background-image: url(image/site-esof.png);;
    background-position: 70% 30%;
    backdrop-filter: 20%;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), black 100%, rgba(0, 0, 0, 0));
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    opacity: 50%;
    z-index: 0;
    filter: blur(20px);

}*/

.projet-contain img {
    position: absolute;
    margin: auto;
    width: 80%;
    left: 5%;
    top: -20%;
    overflow: visible;
}

.projet-contain #image3 {
    position: absolute;
    margin: auto;
    width: 20px;
    left: 5%;
    top: -20%;
    overflow: visible;
}

/* Texte supplémentaire */
.texte-sup {
    font-family: 'CabinetGrotesk-Regular', sans-serif;
    position: absolute;
    width: 40%;
    left: 5%;
    color: white;
    font-size: 14px;
    text-align: left;
    opacity: 0;
    z-index: 3;
    top: 50%;
    opacity: 1;
}

.projets {
    padding-top: 48px;
    background: transparent;
    width: 80%;
    position: relative;
    margin: auto;
}

.projets h2 {
    text-align: left;
    margin-left: 10%;
}

.projets h3 {
    font-size: 16px;
    letter-spacing: 2px;
    width: 100%;
    margin-top: 8px;
    margin-left: 10%;
    text-align: left;
    font-family: "Noto Sans Mono", serif;
    background: linear-gradient(90deg, #A6519A, #805EBA 7%, #70C7DA 15%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.8s ease;
    margin-bottom: 2%;
}

.projets-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Style général pour les bandeaux */
.bandeau {
    margin-top: 32px;
    background-color: transparent;
    width: 80%;
    height: 350px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease; /* Transition pour d'autres propriétés éventuelles */
    border-radius: 16px;
    z-index: 2;
}

/* Dégradé uniquement au survol */
.bandeau:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( 125deg, #be26aa, #805eba50 50%, #70c7da00 100%);
    z-index: 1; /* Positionne le dégradé au-dessus du contenu */
    pointer-events: none; /* Permet de cliquer à travers le dégradé */
    border-radius: 16px; /* Coincide avec le rayon des coins du bandeau */
    transition: all 0.6s ease-in-out; /* Transition plus douce */
    z-index: 1;
    opacity: 50%;
}

/* Dégradé uniquement au survol */
.bandeau:hover:nth-child(even):before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( 125deg, #70c7da, #805eba50 50%, #be26aa00 100% );
    z-index: 1; /* Positionne le dégradé au-dessus du contenu */
    pointer-events: none; /* Permet de cliquer à travers le dégradé */
    border-radius: 16px; /* Coincide avec le rayon des coins du bandeau */
    transition: all 0.6s ease-in-out; /* Transition plus douce */
    z-index: 1;
    opacity: 50%;
}

.bandeau:hover{
    scale: 1.1;
    rotate: -2deg;
}

.bandeau:nth-child(even):hover{
    scale: 1.1;
    rotate: 2deg;
}




/* Texte principal */
.texte {
    left: 5%;
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    color: white;
    font-family: Arial, sans-serif;
    z-index: 3;
}

.texte p {
    margin: 0;
    line-height: 1.2;
    text-align: left;
    font-size: 48px;
}



.texte strong {
    font-family: 'CabinetGrotesk-Black', sans-serif;
    font-size: 48px;
}



/* Bouton "Découvrir" */
.button:hover {
    scale: 1.1;
    transition: 0.3s ease;
}

.button {
    left: 5%;
    position: absolute;
    display: flex;
    font-size: 14px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px 72px;
    border-radius: 50px;
    opacity: 0;
    z-index: 3;
    bottom: 15%;
    opacity: 1;
    transition: 0.3s ease;  
    z-index: 4;
}
/* Pseudo-élément pour le contour dégradé */
.button::before {
    content: ''; /* Pseudo-élément vide pour le contour */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px; /* Coins arrondis */
    padding: 1px; /* Épaisseur du contour */
    background: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA); /* Dégradé */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1; /* Place le contour derrière le bouton */
    transition: all 0.3s ease; /* Transition fluide pour le contour */
}

/* Effet au survol */
.button:hover {
    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 */
}






/* Style pour le bouton large en dessous des bandeaux */
.voir-tous {
    display: flex;
    justify-content: center;
    margin-top: 40px; /* Espacement entre les bandeaux et le bouton */
    transition: 1s ease;
}

/* Bouton "Voir tous les projets" avec le même style que le bouton de référence */
.button-large {
    font-family: "Noto Sans Mono", serif;
    margin-top: 40px;
    position: relative;
    padding: 10px 200px; /* Espacement interne */
    font-size: 16px; /* Taille de la police */
    color: #fff; /* Couleur du texte */
    background-color: transparent; /* Fond transparent */
    border: none; /* Pas de bordure classique */
    border-radius: 50px; /* Coins arrondis */
    cursor: pointer; /* Curseur pointer */
    z-index: 1; /* Assure que le bouton est au-dessus */
    overflow: hidden; /* Cache les débordements */
    transition: all 0.3s ease; /* Transition fluide pour le contour */
}

/* Pseudo-élément pour le contour dégradé */
.button-large::before {
    content: ''; /* Pseudo-élément vide pour le contour */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px; /* Coins arrondis */
    padding: 1px; /* Épaisseur du contour */
    background: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA); /* Dégradé */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1; /* Place le contour derrière le bouton */
    transition: all 0.3s ease; /* Transition fluide pour le contour */
}

/* Effet au survol */
.button-large:hover {
    scale: 1.2;
    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 */
    rotate: -3deg;
}





/* section caroussel*/

@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  .logos {
    overflow: hidden;
    padding: 60px 0;
    margin-bottom: 40px;
    background: transparent;
    white-space: nowrap;
    position: relative;
    right: 20%;
    left: 10%;
    width: 80%;
    opacity: 100%;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), black 25%, black 75%, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), black 25%, black 75%, rgba(0, 0, 0, 0));
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
  }
  

  
  .logos:hover .logos-slide {
    animation-play-state:running;
  }
  
  .logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
  }
  
  .logos-slide img {
    height: 64px;
    margin: 0 56px;
  }

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

    @keyframes slide {
        from {
          transform: translateX(0);
        }
        to {
          transform: translateX(-100%);
        }
      }
      
      .logos {
        overflow: hidden;
        padding: 60px 0;
        margin-bottom: 40px;
        background: transparent;
        white-space: nowrap;
        position: relative;
        right: 10%;
        left: 10%;
        width: 80%;
        opacity: 100%;
        mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), black 25%, black 75%, rgba(0, 0, 0, 0));
        -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), black 25%, black 75%, rgba(0, 0, 0, 0));
        mask-repeat: no-repeat;
        -webkit-mask-repeat: no-repeat;
        mask-size: 100% 100%;
        -webkit-mask-size: 100% 100%;
      }
      
    
      
      .logos:hover .logos-slide {
        animation-play-state:running;
      }
      
      .logos-slide {
        display: inline-block;
        animation: 35s slide infinite linear;
      }
      
      .logos-slide img {
        height: 48px;
        margin: 0 32px;
      }
  }

/* Section Awards */
.awards {
    padding: 50px 20px;
}

.award-list {
    display: flex;
    justify-content: center;
    gap: 132px;
}


.award-item {
    width: 416px;
    height: auto;
    text-align: center;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Aligne le contenu en bas */
}

.award-item .img {
    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%);
    position: relative;
    width: 100%;
    height: 500px; /* Hauteur fixe pour uniformiser */
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Aligne les images en bas */
    margin-bottom: 8px;
}

.award-item img {
    width: 100%;
    height: auto; /* Garde les proportions */
    position: absolute;
    bottom: 0; /* Aligne l'image en bas */
}

.awards h2{
    margin-top: 40px;
}

.awards .Mes {
    font-size: 64px;
    font-family: 'CabinetGrotesk-Light', sans-serif; /* Version Black */
    text-align: center;
}

.award-item .Mes{
    font-family: 'CabinetGrotesk-Light', sans-serif;

}

.awards .partie{
    font-family: 'Cabinet Grotesk';
    font-family: 'CabinetGrotesk-Black', sans-serif;
  font-size: 64px;
    width: 100%;

}

.award-item h3 {
    font-family: 'Cabinet Grotesk';
    src: url('fonts/CabinetGrotesk-Light.otf') format('truetype');
    font-family: 'Cabinet Grotesk';    font-size: 32px;
    width: 100%;
    margin-top: -4px;
}


.award-item p{
    text-align: center;
    width: 95%;
}


/* Section Contact */
.contact {
    padding-top: 48px;
    text-align: center;
    color: white;
}

.contact .points{
    margin-left: -5px;
    line-height: 20px;
    font-family: "Noto Sans Mono", serif;
    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é */    font-family: 'open sans', sans-serif;
    font-size: 160px;
    letter-spacing: -12px;
    padding-right: 0.5%;
}

.contact-methods {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    height: 357px;
    overflow: hidden;
}

/* Ellipse floue avec dégradé */
.blur-ellipse {
    position: absolute;
    top: 130%;
    left: 50%;
    width: 90%;
    height: 200px;
    background: linear-gradient( 125deg, #be26aa, #805EBA 30%, #70C7DA 60%);
    transform: translate(-50%, -50%);
    filter: blur(50px);
    z-index: -1; /* Place l'ellipse derrière les éléments */
    pointer-events: none; /* Empêche l'interaction avec l'ellipse */
    border-radius: 50%; /* Forme elliptique */
    transition: all 0.3s ease; /* Transition fluide pour les changements */
}

/* Agrandissement au survol */
.contact-item:hover .blur-ellipse {
    top: 50%; /* Centrer sur la carte */
    width: 150%; /* Prendre toute la largeur de la carte */
    height: 200%; /* Prendre toute la hauteur de la carte */
    transform: translate(-50%, -50%);
    filter: blur(100px); /* Ajuster le flou si nécessaire */
}


.icon img {
    margin-top: 30%;
    height: 60px;
    width: auto;
    margin-bottom: 10%;
    transition: all 0.3s ease;
}

.contact .Me {
    font-family: 'CabinetGrotesk-Light', sans-serif; /* Version Black */

}

.contact-item {
    position: relative;
    padding: 20px;
    width: 250px;
    text-align: center;
    background: 
        linear-gradient(-30deg, #f8fbff00, #ffffff0c); /* Dégradé ajouté */
    z-index: 1; /* Pour s'assurer que le contenu est au-dessus */
    overflow: hidden; /* Pour éviter que le pseudo-élément dépasse */
    border-radius: 16px; /* Coins arrondis pour harmoniser */
}

/* Contour dégradé */
.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px; /* Coins arrondis */
    background: linear-gradient(125deg, #f600d10c 20%, #70c7da7d); /* Dégradé */
    z-index: -1; /* Placer le dégradé derrière la carte */
    padding: 1px; /* Simule un contour de 1px */
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0); /* Masque pour ne garder que le contour */
    -webkit-mask-composite: xor; /* Masque composite pour n'afficher que le contour */
    mask-composite: exclude; /* Support des navigateurs modernes */
}

.contact-item h3 {
    margin-top: 24px;
    font-family: 'Cabinet Grotesk';
    font-size: 20px;
}

.contact-item p {
    font-family: 'CabinetGrotesk-black', sans-serif;
    font-size: 24px;
    position: relative;
    text-align: center;
    width: 100%;
    margin-top: 0px;
}

/* Hover effect */
.icon:hover img {
    transform: translate(-135%, -120%) scale(2) rotate(30deg);
}

.contact-item:hover {
    overflow: hidden;
}

/* Bouton caché */
.hidden-button {
    position: absolute;
    bottom: -50px; /* En dehors de la carte initialement */
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    border: none;
    cursor: none;
    opacity: 0;
    transition: all 0.3s ease; /* Transition fluide pour l'apparition */
    z-index: 2; /* Placer le bouton au-dessus du fond */
}

/* Apparition du bouton au survol */
.contact-item:hover .hidden-button {
    bottom: 20px; /* Position sous le texte dans la carte */
    opacity: 1;
    cursor: none;
}

/* Image à l'intérieur du bouton */
.hidden-button img {
    width: 40px; /* Taille de l'image */
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease; /* Transition fluide pour l'agrandissement */
    cursor: none;
}

/* Effet au survol du bouton */
.hidden-button:hover img {
    transform: scale(1.2); /* Agrandissement au survol */
    cursor: none;
}

/* Empêcher l'effet de rotation sur le bouton */
.contact-item img:not(.hidden-button img) {
    transition: all 0.3s ease;
    cursor: none;
}

.contact-item:hover img:not(.hidden-button img) {
    transform: translate(-100%, -120%) scale(3) rotate(20deg); /* Effet uniquement sur l'image téléphone */
    cursor: none;
}

/* Apparition du bouton au survol */
.contact-item:hover .hidden-button {
    bottom: 20px; /* Position sous le texte dans la carte */
    opacity: 1; /* Le bouton devient visible */
    cursor: none;
}

/* Effet au survol du bouton */
.hidden-button:hover img {
    transform: scale(1.2); /* Agrandissement au survol */
    cursor: none;
}

/* Pied de page */
footer {
    text-align: center;

    background-color: transparent;
}



a{
    text-decoration: none;
}

img{
    vertical-align: middle;
}

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



.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;
    }
    
}

* {
  cursor: none;
  margin: 0;
  padding: 0;
}







.cursor {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  border: 1px solid rgb(255, 255, 255);
  transition: all 200ms ease-out;
  position: fixed;
  pointer-events: none;
  left: 0;
  top: 0;
  transform: translate(calc(-50% + 15px), -50%);
  z-index: 10000;
}

.cursor2 {
  width: 15px;
  height: 15px;
  border-radius: 100%;
  background-color: rgb(255, 255, 255);
  opacity: .3;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width .3s, height .3s, opacity .3s;
    z-index: 10000;

}


.hover {
  width: 70px;
  height: 70px;
  border-radius: 100%;
  border: 1px solid rgb(255, 255, 255);
  color: rgba(255, 255, 255, 0.361);
  transition: all 200ms ease-out;
  position: fixed;
  pointer-events: none;
  left: 0;
  top: 0;
  transform: translate(calc(-50% + 15px), -50%);
  z-index: 10000;
}

.cursorinnerhover {
  width: 50px;
  height: 50px;
  opacity: .5;
}



a{
    cursor: none;
}

@media screen and (max-width: 810px) {
    
    * {
  cursor: auto;
  margin: 0;
  padding: 0;
}







.cursor {
    display: none;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  border: 1px solid rgb(255, 255, 255);
  transition: all 200ms ease-out;
  position: fixed;
  pointer-events: none;
  left: 0;
  top: 0;
  transform: translate(calc(-50% + 15px), -50%);
  z-index: 10000;
}

.cursor2 {
        display: none;

  width: 15px;
  height: 15px;
  border-radius: 100%;
  background-color: rgb(255, 255, 255);
  opacity: .3;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width .3s, height .3s, opacity .3s;
    z-index: 10000;

}


.hover {
    display: none;

  width: 70px;
  height: 70px;
  border-radius: 100%;
  border: 1px solid rgb(255, 255, 255);
  color: rgba(255, 255, 255, 0.361);
  transition: all 200ms ease-out;
  position: fixed;
  pointer-events: none;
  left: 0;
  top: 0;
  transform: translate(calc(-50% + 15px), -50%);
  z-index: 10000;
}

.cursorinnerhover {
    display: none;

  width: 50px;
  height: 50px;
  opacity: .5;
}



a{
    cursor: auto;
}
    
    
}
