@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: 'Cabinet Grotesk', 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 */
    width: 100%;
}


/* Classe pour la transition de sortie */
body.fade-out {
    opacity: 0; /* Rendre la page invisible progressivement */
}
@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;
}

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: 200px;
    position: relative;
    margin: auto;
    background-color: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA); /* Dégradé */
    
}
@media screen and (max-width: 810px) {
    header {
        font-family: 'Cabinet Grotesk', sans-serif;
        width: 100%;
        height: 100px;
        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: 150px; /* 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 */
    z-index: 9998;
}

/* Fond animé avec le même style que .contact-item */
.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    background: rgb(0, 0, 0); /* 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;
      backdrop-filter: blur(24px) contrast(1.4);

}

/* 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: 120px;
    overflow: visible;
}

/* 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 */
}

/* Masque uniquement autour du logo */
.logo-mask {
    overflow: hidden;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.logo-mask.scrolled{
    height: 120px;
}
.nav-list.scrolled {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    padding-top: 0px;
    transition: all 0.3s ease; /* Animation fluide pour la nav */
}

.nav-list li {
    position: relative;

    margin-right: 40px;
    margin-left: 40px;
}

/* Sous-menu caché par défaut */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgb(0, 0, 0);
  backdrop-filter: blur(12px); /* flou de l’arrière-plan */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 16px 0;
  margin: 0;
  z-index: 1000;
  min-width: 200px;
  border-radius: 8px;
  width: 240px;
}


.dropdown-menu li {
    padding: 8px 0px;
}

.dropdown-menu li a {
    text-decoration: none;
    color: #ffffff;
    display: block;
    font-weight: 300;
    cursor: auto;
    margin-bottom: 8px;
    font-family: 'CabinetGrotesk-Regular', sans-serif; /* Version Black */
    font-weight: 300;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-list a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: all 0.8s;
    cursor: none; /* Définit le curseur comme un pointeur par défaut */
    font-family: 'CabinetGrotesk-Light', sans-serif; /* Version Black */
    font-weight: 100;
}

.nav-list a:hover:not(.arrow) {
  background: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.2s;
  z-index: 3;
  cursor: none;
}
.nav-list a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.text {
  transition: all 0.3s ease;
}

.nav-list a:hover .text {
  background: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.chevron {
  transition: transform 0.3s ease;
  width: 14px;
  height: 14px;
}

/* Rotation au hover */
.dropdown:hover .chevron {
  transform: rotate(90deg);
}

/* Effet de survol seulement sur .text, pas sur tout le <a> */


/* Chevron animé */
.arrow {
  font-size: 16px;
  transition: transform 0.3s ease;
  display: inline-block;
}

/* Rotation au hover du parent li */
.dropdown:hover .arrow {
  transform: rotate(90deg);
}

.dropdown-menu li a:hover{
      background: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.2s;
  z-index: 3;
  cursor: none;
}

/* 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, margin 0.4s 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: 140px;
    margin-top: -8px;
}

/* 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: 120px;
    padding-top: 0px
}


#burger-menu {
    display:none;
  cursor: pointer;
  height: 27px;
  width: 27px;
  margin-top: 50px;
  overflow: visible;
  position: absolute;
  z-index:17;
  right: 50px;
  position: fixed;
  
  
}
/* Fond animé avec le même style que .contact-item */
#burger-menu::before {
content: "";
position: absolute;
top: -20px;
right: -50px;
background-color: black;
width: 0%; /* Départ avec une largeur de 0 */
height: 75px; /* Hauteur fixe */
transition: width 0.5s ease-in-out; /* Animation fluide */
z-index: -1; /* Place le fond en arrière-plan */
border-radius: 32px 0px 0px 32px;
}

/* Ajout de l'effet au scroll */
#burger-menu.scrolled::before {
width: 400%; /* Se déploie sur toute la largeur */
}

#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: 1;
  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: 1; /* Assure que le menu est bien visible */
    padding-top: 50px;
    background: rgba(0, 0, 0, 0.933); /* Fond noir semi-transparent */
    z-index: 16;

    /* Ajout de l'image en fond */
    background-image: url("image/mael-raineau-photo.png"); /* Remplace par ton image */
    background-size: cover; /* Couvre toute la zone */
    background-position: center; /* Centre l'image */
    background-blend-mode: darken; /* Mélange avec le fond noir */
}



#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; /* Active Flexbox */
    justify-content: left; /* Centre horizontalement */
    align-items: left; /* Aligne les éléments verticalement */
    gap: -16px; /* Espacement entre les icônes */
    margin-top: 72px; /* Espacement au-dessus */
}

.réseaux a img {
    z-index: 5;
    width: 30px; /* Ajuste la taille des icônes */
    height: auto;
    transition: transform 0.3s ease; /* Animation fluide au survol */
}



#menu ul li {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#menu ul li:nth-child(1) {
    opacity: 0;
    transform: translateY(60%);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Applique l'animation aux éléments individuellement */
#menu.overlay ul li:nth-child(2) {
    transition-delay: 0.2s;
}

#menu.overlay ul li:nth-child(2) {
    transition-delay: 0.2s;
}
#menu.overlay ul li:nth-child(3) {
    transition-delay: 0.4s;
}
#menu.overlay ul li:nth-child(4) {
    transition-delay: 0.6s;
}
#menu.overlay ul li:nth-child(5) {
    transition-delay: 0.8s;
}

/* Une fois le menu ouvert, les éléments apparaissent */
#menu.overlay ul li {
    opacity: 1;
    transform: translateY(0);
}



@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: 2px;
        position: absolute;
        transition: 0.3s ease-in-out;
        z-index: 16;
        border-radius: 16px;
    }
    
    #burger-menu span {
        right: 0px;
        top: 13px;
        width: 27px;
    }
    
    #burger-menu span:before {
        left: -4px;
        top: -10px;
        width: 16px;
    }
    
    #burger-menu span:after {
        left: 14px;
        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;
    }
    
    
    }

    

h2{
    position:relative;
    color: white;
    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;

}


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








/* Section Contact */
.contact {
    padding-top: 48px;
    text-align: center;
    color: white;
    width: 1100px;
    position: relative;
    margin: auto;
}

 h4{
    font-size: 16px;
    letter-spacing: 2px;
    float: left;
    position: relative;
    margin:auto;
    margin-top: 8px;
    text-align: left;
    margin-bottom: 48px;
    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 */
    text-transform: uppercase;
 }

.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: 48px;
    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 {
    text-align: left;
    font-family: 'CabinetGrotesk-Light', sans-serif; /* Version Black */

}

.contact-item {
    position: relative;
    padding: 20px;
    width: 294px;
    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 {
    font-family: 'CabinetGrotesk-Light', sans-serif; /* Version Black */
    font-weight: 100;
    margin-top: 24px;
    font-size: 20px;
    font-family: 'CabinetGrotesk-Light', sans-serif;
    list-style: none;
    color: white;

}

.contact-item p {
    font-family: 'CabinetGrotesk';
    src: url('/fonts/CabinetGrotesk-Black.otf') format('woff2');
    font-size: 24px;
    position: relative;
    text-align: center;
    width: 100%;
    margin-top: 0px;
    list-style: none;
    color: white;
}

/* 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: pointer;
}

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

.contact h2{
    font-family: 'CabinetGrotesk';
    src: url('/fonts/CabinetGrotesk-Black.otf') format('woff2');
    text-align: left;
    width: 1100px;
}

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

    /* Section Contact */
.contact {
    position: relative;
    padding-top: 48px;
    text-align: center;
    color: white;
    height: auto;
    width: 80%;
}


.contact h2{
    width: 100%;
    font-size: 48px;
}

.contact .Me{
    font-size: 48px;
}
.contact .points{
    display: none;
    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: 90px;
    letter-spacing: -12px;
    padding-right: 0.5%;
}

.contact-methods {
    margin-top: 24px;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    height: auto;
}

/* 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: 10%;
    height: 60px;
    width: auto;
    margin-bottom: 10%;
    transition: all 0.3s ease;
}

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

}

.contact-item {
    position: relative;
    padding: 20px;
    padding-top: 40px;
    width: 250px;
    height: 300px;
    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: 'CabinetGrotesk-Light', sans-serif; /* Version Black */
    font-size: 20px;
    font-weight: 100;

    list-style: none;
    color: white;   
}

.contact-item p {
    font-family: 'CabinetGrotesk';
    src: url('/fonts/CabinetGrotesk-Black.otf') format('woff2');
    font-size: 24px;
    position: relative;
    text-align: center;
    width: 100%;
    margin-top: 0px;
    list-style: none;
    color: white;
}

/* 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 .hidden-button {
    bottom: 40px; /* 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: pointer;
}

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

/* Style général pour le formulaire */
.formulaire {
    position: relative;
    margin: auto;
    width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    margin-top: 100px;
}
  
.contact-form {
    border-radius: 20px;
    margin-bottom: 80px;
    margin-top: 120px;
}
  
.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 1rem;
    border-radius: 20px;
}
  
.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 24px;
    border-radius: 20px;
}
  
.form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-align: left;
    border-radius: 20px;
}
  
/* Style pour les champs de saisie et textarea */
.form-group input,
.form-group textarea {
    padding: 16px 24px;
    font-size: 1rem;
    color: #ffffff;
    border-radius: 20px;
    font-family: "Noto Sans Mono", serif;
    transition: all 0.3s ease;
    background: linear-gradient(-30deg, #f8fbff0f, #ffffff0c);
    border: 1px solid transparent;
    position: relative;
    z-index: 1;
}

/* Dégradé de bordure autour des inputs */
.form-group input::before,
.form-group textarea::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA);
    -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;
}

/* Effet de survol et focus sur les champs */
.form-group input:hover,
.form-group textarea:hover,
.form-group input:focus,
.form-group textarea:focus {
    color: white;
    scale: 1.05;
    background: linear-gradient(-30deg, #a6519b3c, #70c7da3e);
}

/* Placeholder */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ffffff;
}

/* Taille de la zone de message */
.form-group textarea {
    height: 200px;
    margin-bottom: 24px;
    margin-top: 0px;
    resize: none;
}

/* Bouton "Envoyer" */
.form-group button {
    font-family: "Noto Sans Mono", serif;
    margin-top: 16px;
    position: relative;
    padding: 10px;
    font-size: 16px;
    color: #fff;
    background-color: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 30%;
    margin-bottom: 10px;
    float: left;
    margin-left: 0px;
    margin-right: auto;
}

/* Contour dégradé autour du bouton */
.form-group button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 1px;
    background: linear-gradient(90deg, #A6519A, #805EBA, #70C7DA);
    -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;
    filter: blur(50px);
    transition: all 0.3s ease;
}

/* Hover effet bouton */
.form-group button:hover::before {
    background-image: linear-gradient(45deg, #A6519A, #805EBA, #70C7DA);
    filter: blur(20px);
}

.form-group button:hover {
    scale: 1.1;
    rotate: -2deg;
}

/* Zone bouton + message d'envoi */
.form-submit {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-direction: column;

}

.form-message {
    font-family: "Noto Sans Mono", serif;
    font-size: 0.9rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

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

    h4{
        font-size: 14px;
        letter-spacing: 2px;
        float: left;
        position: relative;
        margin:auto;
        margin-top: 8px;
        text-align: left;
        margin-bottom: 24px;
        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 */
        text-transform: uppercase;
     }

     .formulaire {
        position: relative;
        margin: auto;
        width: 100%;
        margin: 0 auto;
        border-radius: 20px;
        margin-top: 24px;
    }

    .form-row {
        gap: 0px;
        position: relative;
        margin: auto;
        display: flex;
        flex-direction: column;
        flex: 1;
        margin-bottom: 0px;
        border-radius: 20px;
        margin-top: 64px;
    }

    /* Hover effet bouton */
.form-group button::before {
    background-image: linear-gradient(45deg, #A6519A, #805EBA, #70C7DA);
    filter: blur(20px);
}

/* Zone bouton + message d'envoi */
.form-submit {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-direction: column;

}
/* Bouton "Envoyer" */
.form-group button {
    font-family: "Noto Sans Mono", serif;
    margin-top: 0px;
    position: relative;
    padding: 10px;
    font-size: 16px;
    color: #fff;
    background-color: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 0px;
    float: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 16px;
    border-radius: 20px;

}

/* Taille de la zone de message */
.form-group textarea {
    height: 200px;
    margin-bottom: 24px;
    margin-top: 0px;
    resize: 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;
}


#progress-bar {
  position: fixed;
  top: 120px;
  left: 0;
  height: 4px; /* épaisseur de la barre */
  width: 0%;
  background: linear-gradient(90deg, #b83da7, #5c2baf, #70C7DA); /* ton dégradé */
  z-index: 9997;
  transition: width 0.1s ease-out;
}

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


#progress-bar {
  position: fixed;
  top: 0px;
  left: 0;
  height: 4px; /* épaisseur de la barre */
  width: 0%;
  background: linear-gradient(90deg, #b83da7, #5c2baf, #70C7DA); /* ton dégradé */
  z-index: 9997;
  transition: width 0.1s ease-out;
}
}