@font-face {
	font-family: 'Motley Forces';
    src: url('fonts/MotleyForces.woff2') format('woff2');
    src: url('fonts/MotleyForces.woff') format('woff');
	src: url('fonts/MotleyForces.ttf') format('ttf');
    src: url('fonts/MotleyForces.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat-SemiBold';
    src: url(fonts/montserrat/Montserrat-SemiBold.otf) format('opentype');
}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url(fonts/montserrat/Montserrat-Regular.otf) format('opentype');
}

@font-face {
    font-family: 'Montserrat-Black';
    src: url(fonts/montserrat/Montserrat-Black.otf) format('opentype');
}

/* reglages initiaux de la page */

body { 
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
}
.mentionslegales {
    text-decoration: none;
    cursor: pointer;
    color: white;
}
.page-actuelle {
    color: #FFDF6F;
    text-decoration: underline;
}

/* STYLE DU MENU */
nav {
    position: sticky;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Motley Forces';
    font-size: 2vw;
    letter-spacing: 0.07vw;
    background-color: #0E1422;
    height: 15vh;
    color: white;
}
nav a {
    text-decoration: none;
    color: #FBFBFB;
}

.menu a:hover {
    color: #FFDF6F;
}

.nomportfolio {
    display: none;
    font-size: 3vw;
    font-family: 'Motley Forces';
    color: white;
 }

/* le menu + le burger */
.liens {
    display: flex;
    width: 75%;
    gap: 5.3vw;
    align-items: center;
    justify-content: center;
}
/* menu qui contient simplement les liens */
.menu {
    order: 1;
    display: flex;
    gap: 3.1vw;
}

/* lorsque le menu burger est ouvert, la page doit pas pouvoir se scroll */
.stopscroll {
    overflow: hidden;
}

/* creer un separateur qui evitera une superposition de contenu 
lorsque le menu burger sera ouvert (faire baisser le hero) */
.separateur {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none; /* Initialement masquée */
}
.separateur.visible {
    display: block; /* Affichage lorsque la classe visible est présente */
}
/* FIN DU STYLE DU MENU */


/* MENU EN RESPONSIVE */
/* duplication du menu burger/container liens menu 
mais initialement placés en display none et s'affichent 
quand l'écran est inferieur a 900px*/
.hamburger-resp {
    width: 5.4vw;
    height: 5.4vw; 
    cursor: pointer;
    border: none;
    display: flex;
    background: #0E1422;
    align-items: center;
    position: relative;
    justify-content: center;
    display: none;
    padding: 0;
}
.hamburger-resp span{
    display: block;
    width: 100%;
    height: 0.5vw;
    background: #FBFBFB;
    position: absolute;
    pointer-events: none;
    transition: opacity 0.3s 0.15s ease-out;
}
/* Les 3 traits (span) se décollent en remontant le 1 et baissant le 3 */
.hamburger-resp span:nth-child(1){
    transform: translateY(1.8vw);
}
.hamburger-resp span:nth-child(3){
    transform: translateY(-1.8vw);
}
.hamburger-resp span:nth-child(1), .hamburger span:nth-child(3){
    transition: transform 0.3s ease-out;
}
/* Quand on déclenche la classe open, animation des barres du menu burger pour devenir une croix */
.hamburger-resp.open span:nth-child(1) {
    transform: translate(0) rotate(135deg);
}
.hamburger-resp.open span:nth-child(2) {
    opacity: 0;
    transition: opacity 0s ease-out;
}
.hamburger-resp.open span:nth-child(3) {
    transform: translate(0) rotate(-135deg);
}
.containerliensmenu-resp {
    flex-direction: column;
    align-items: center;
    position: absolute;
    background-color: #0E1422;
    top: 15vh;
    right: 0px;
    margin: 0;
    padding: 0;
    height: calc(100vh - 15vh);
    width: 100vw;
    justify-content: center;
    border-right: 0.06vw solid #c5c5c6;
    transform: translate(100%);
    transition: transform 0.3s ease-out;  
    display: none; 
}

/* menu */
.conteneur-txt {
    height: 80%;
    display: flex;
    align-items: center;   
}

.open {
    transform: translate(0%);
}

/* faire disparaitre le hero lorsque le menu urger est ouvert */
 .cachee {
    display: none;
 }

 .hamburger {
    display: none;
 }

 .containerliensmenu-resp a {
    margin: 3vw 0vw;
    text-decoration: none;
    color: white;
    display: inline-block;
    position: relative;
    font-family: 'Motley Forces';
    font-size: 26px;
    display: none;
}



.zonerecherche {
    margin: 2vw 10vw 5vw 10vw;
    width: 80vw;
    height: 12vw;
    display: flex;
    gap: 1.3vw 1.3vw;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
}

.boutonrecherche {
    all: unset;
    cursor: pointer;
    padding: 0.5vw 1.5vw 0.5vw 2vw;
    text-align: center;
    border-radius: 3vw;
    background-color: #0E1422;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
}

.tous-les-projets {
    padding: 1.5vw 2.5vw;
}

.boutonrecherche p {
    all: unset;
    color: #fbfbfb;
    font-family: 'Montserrat-SemiBold';
    font-size: 1.35vw;
}

.iconerecherche {
    height: 4vw;
}

.iconewebdesign {
    width: 3vw;
}

.boutonrecherche:hover {
    background-color: transparent;
    padding: 0.2vw 1.2vw 0.2vw 1.7vw;
    border: solid 0.3vw #0E1422;
}

.tous-les-projets:hover {
    background-color: transparent;
    padding: 1.2vw 2.2vw;
    border: solid 0.3vw #0E1422;
}

.boutonrecherche:hover p {
    color: #0E1422;
}









.zoneprojets {
    margin: 0vw 10vw;
    width: 80vw;
    height: 74vw;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 4vw;
    grid-row-gap: 4vw;
}


.projet1 { 
    grid-area: 1 / 1 / 2 / 2; 
}

.projet2 { 
    grid-area: 1 / 2 / 2 / 3; 
}

.projet3 { 
    grid-area: 1 / 3 / 2 / 4; 
}



.carteaccueil {
    border-radius: 1.7vw;
    background-color: #0E1422;
    width: 95.2%;
    height: 96.7%;
}

.real1 {
    border: solid 0.6vw #FFDF6F;
    position: relative;
}

.real2 {
    border: solid 0.6vw #F9A473;
    position: relative;
}

.real3 {
    border: solid 0.6vw #B8CEDE;
    position: relative;
}


.photocarte {
    width: 100%;
    height: 46.4%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgallin {
    height: 15vw;
}

.imggujarat {
    height: 15vw;
}

.imgavbfs {
    height: 13vw;
}

.imgoopsi {
    height: 15vw;
    position: relative;
    left: -1vw;
    top: 1vw;
}

.titrecarte {
    padding: 0% 10%;
    width: 80%;
    height: 13.5%;
    display: flex;
    align-items: flex-start;
}

.titrecarte p {
    font-family: 'Montserrat-SemiBold';
    font-size: 1.5vw;
    color: #FBFBFB;
}

.competencescarte {
    padding: 0% 10%;
    width: 80%;
    height: 8.6%;
    display: flex;
    align-items: flex-start;
}

.competencescarte p {
    font-family: 'Montserrat-SemiBold';
    font-size: 1.2vw;
}

.competenceallin {
    color: #B8CEDE;
}

.competencestmc {
    color: #B8CEDE;
}

.competencegujarat {
    color: #F9A473;
}

.competenceadresseparfaite {
    color: #FFDF6F;
}

.competenceavbfs {
    color: #FFDF6F;
}

.competenceoopsi {
    color: #F9A473;
}


.descriptioncarte {
    padding: 0% 10%;
    width: 80%;
    height: 14%;
    display: flex;
    align-items: flex-start;
    color: #E9E9E9;
    font-family: 'Montserrat-Regular';
    font-size: 0.9vw;
}


.boutoncarte {
    padding: 0% 10%;
    width: 80%;
    height: 16.9%;
    display: flex;
    align-items: center;
}

.btnallin {
    all: unset;
    display: flex;
    width: 12vw;
    height: 3vw;
    background-color: #182239;
    border-radius: 1.5vw;
    border: 0.1vw solid #B8CEDE;
    color: #B8CEDE;
    font-family: 'Montserrat-Regular';
    font-size: 0.9vw;
    text-align: center;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.btngujarat {
    all: unset;
    display: flex;
    width: 12vw;
    height: 3vw;
    background-color: #182239;
    border-radius: 1.5vw;
    border: 0.1vw solid #F9A473;
    color: #F9A473;
    font-family: 'Montserrat-Regular';
    font-size: 0.9vw;
    text-align: center;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.btnoopsi {
    all: unset;
    display: flex;
    width: 12vw;
    height: 3vw;
    background-color: #182239;
    border-radius: 1.5vw;
    border: 0.1vw solid #F9A473;
    color: #F9A473;
    font-family: 'Montserrat-Regular';
    font-size: 0.9vw;
    text-align: center;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.btnavbfs {
    all: unset;
    display: flex;
    width: 12vw;
    height: 3vw;
    background-color: #182239;
    border-radius: 1.5vw;
    border: 0.1vw solid #FFDF6F;
    color: #FFDF6F;
    font-family: 'Montserrat-Regular';
    font-size: 0.9vw;
    text-align: center;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.btnadresseparfaite {
    all: unset;
    display: flex;
    width: 12vw;
    height: 3vw;
    background-color: #182239;
    border-radius: 1.5vw;
    border: 0.1vw solid #FFDF6F;
    color: #FFDF6F;
    font-family: 'Montserrat-Regular';
    font-size: 0.9vw;
    text-align: center;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.btnstmc {
    all: unset;
    display: flex;
    width: 12vw;
    height: 3vw;
    background-color: #182239;
    border-radius: 1.5vw;
    border: 0.1vw solid #B8CEDE;
    color: #B8CEDE;
    font-family: 'Montserrat-Regular';
    font-size: 0.9vw;
    text-align: center;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}


/* Styles généraux */
.carteaccueil {
    position: relative;
    overflow: hidden;
    transition: background-color 0.4s ease-out;
}

/* Pseudo-élément pour l'effet de propagation */
.carteaccueil::before {
    content: '';
    position: absolute;
    top: 88.7%;
    left: 7%;
    width: 4vw;
    height: 1vw;
    background-color: transparent;
    border-radius: 50%;
    transition: width 0.5s ease-out, height 0.5s ease-out, top 0.5s ease-out, left 0.5s ease-out;
    z-index: 0;
}

/* Classe appliquée au survol du bouton */
.carteaccueil.hovered::before {
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
}

/* Pour .real1 : couleur jaune */
.real1.hovered::before {
    background-color: #FFDF6F;
}

/* Pour .real2 : couleur orange */
.real2.hovered::before {
    background-color: #F9A473;
}

/* Pour .real3 : couleur bleu clair */
.real3.hovered::before {
    background-color: #B8CEDE;
}

/* Boutons et contenu toujours au-dessus de l'effet */
.carteaccueil * {
    position: relative;
    z-index: 1;
}

/* Lorsque la classe 'hovered' est appliquée, changer la couleur des textes en noir */
.carteaccueil.hovered .titrecarte p,
.carteaccueil.hovered .descriptioncarte p {
    color: #0E1422; /* Couleur noire pour les textes */
}


.carteaccueil.hovered .competencescarte p{
    color: #182239; /* Couleur noire pour les textes */
}


.carteaccueil.hovered {
    border: solid 0.6vw #0E1422; /* Couleur noire pour les textes */
}


.zoneprojets a {
    all: unset;
    cursor: pointer;
}



/* code pour l'ajout de la carte 4 */

.projet4 { 
    grid-area: 2 / 1 / 3 / 2; 
    background-color: aliceblue;
}

.real4 {
    border: solid 0.6vw #B8CEDE;
    position: relative;
}

.imgbranding {
    height: 13vw;
}

.competencebranding {
    color: #F9A473;
}

.btnbranding {
    all: unset;
    display: flex;
    width: 12vw;
    height: 3vw;
    background-color: #182239;
    border-radius: 1.5vw;
    border: 0.1vw solid #F9A473;
    color: #F9A473;
    font-family: 'Montserrat-Regular';
    font-size: 0.9vw;
    text-align: center;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.real4.hovered::before {
    background-color: #B8CEDE;
}


/* code pour l'ajout de la carte 5 */

.projet5 { 
    grid-area: 2 / 2 / 3 / 3;
}

.real5 {
    border: solid 0.6vw #FFDF6F;
    position: relative;
}

.projet6 { 
    grid-area: 2 / 3 / 3 / 4;
}
.real6 {
    border: solid 0.6vw #F9A473;
    position: relative;
}

.projet7 { 
    grid-area: 3 / 1 / 4 / 2;
}
.real7 {
    border: solid 0.6vw #F9A473;
    position: relative;
}

.projet8 { 
    grid-area: 3 / 2 / 4 / 3;
}
.real8 {
    border: solid 0.6vw #B8CEDE;
    position: relative;
}

.imgstop {
    height: 15vw;;
}

.competencestop {
    color: #B8CEDE;
}

.btnstop {
    all: unset;
    display: flex;
    width: 12vw;
    height: 3vw;
    background-color: #182239;
    border-radius: 1.5vw;
    border: 0.1vw solid #B8CEDE;
    color: #B8CEDE;
    font-family: 'Montserrat-Regular';
    font-size: 0.9vw;
    text-align: center;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.real5.hovered::before {
    background-color: #FFDF6F;
}

.real6.hovered::before {
    background-color: #F9A473;
}

.real7.hovered::before {
    background-color: #F9A473;
}

.real8.hovered::before {
    background-color: #B8CEDE;
}

.boutonjauneactif {
    background-color: #FFDF6F;
    
}

.boutonorangeactif {
    background-color: #F9A473;

}

.boutonbleuactif {
    background-color: #B8CEDE;
}

.boutonbleuactif p {
    color: #0E1422;
}

.boutonorangeactif p {
    color: #0E1422;
}
.boutonjauneactif p {
    color: #0E1422;
}


.plusla {
    display: none;
}


.separateurresp {
    width: 100vw;
    height: 10vw;
    display: none;
}


@media screen and (max-width: 750px) {
    .separateurresp {
        display: block;
    }

    .zonerecherche {
        display: none;
    }

    .conteneurresponsive {
        display: block;
        width: 100vw;
        height: auto; 
        display: flex;
        justify-content: center;
    }
    
    .zoneprojets {
        all: unset;
        display: flex;
        flex-direction: column;
        width: 65vw;
        gap: 3vw;
    }

    .carteaccueil {
        width: 65vw;
        height: 90vw;
    }

    .real1 {
        border: solid 1.3vw #FFDF6F;
    }
    .real2 {
        border: solid 1.3vw #F9A473;
    }
    .real3 {
        border: solid 1.3vw #B8CEDE;
    }
    .real4 {
        border: solid 1.3vw #B8CEDE;
    }
    .real5 {
        border: solid 1.3vw #FFDF6F;
    }
    .real6 {
        border: solid 1.3vw #F9A473;
    }
    .real7 {
        border: solid 1.3vw #F9A473;
    }
    .real8 {
        border: solid 1.3vw #B8CEDE;
    }

    .carteaccueil.hovered {
        border: solid 1.3vw #0E1422;
    }

    .titrecarte p {
        font-family: 'Montserrat-SemiBold';
        font-size: 4vw;
        color: #FBFBFB;
    }
    
    .competencescarte p {
        font-family: 'Montserrat-SemiBold';
        font-size: 2.8vw;
    }

    .descriptioncarte p {
        font-family: 'Montserrat-SemiBold';
        font-size: 2.6vw;
    }

    .imgallin {
        height: 40vw;
    }

    .imggujarat {
        height: 36vw;
    }

    .imgavbfs {
        height: 33vw;
    }

    .imgbranding {
        height: 36vw;
    }

    .imgstop {
        height: 44vw;
    }

    .imgoopsi {
        height: 40vw;
    }

    .boutoncarte button {
        width: 24vw;
        height: 6vw;
        border-radius: 3vw;
        font-size: 1.8vw;
    }

    .illustrationprojet video {
        width: 60vw;
    }

    .illustrationprojet {
        display: flex;
        justify-content: center;
    }

    .btnadresseparfaite {
        border: 0.3vw solid #FFDF6F;
    }
    .btnoopsi {
        border: 0.3vw solid #F9A473;
    }
    .btnallin {
        border: 0.3vw solid #B8CEDE;
    }
    .btnstop {
        border: 0.3vw solid #B8CEDE;
    }
    .btngujarat {
        border: 0.3vw solid #F9A473;
    }
    .btnbranding {
        border: 0.3vw solid #F9A473;
    }
    .btnavbfs {
        border: 0.3vw solid #FFDF6F;
    }
    .btnstmc {
        border: 0.3vw solid #B8CEDE;
    }
}








/* FOOTER */
.wave-wrapper {
    position: relative;
    height: 9vw;
}

.wave-inversee {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -1vw;
    background-repeat: no-repeat;
    background-image: url("medias/vague1.svg"); /* Chemin vers l'image */
    transform: scaleX(-1) scaleY(-1);
}
body {
    position: relative;
}
footer {
    position: absolute;
    width: 100vw;
    height: 25vw;
    margin: 0;
    padding: 0;
    bottom: 0;
}

.separateurfooter {
    height: 66vw;
    width: 100vw;
    margin: 0;
    padding: 0;
}

.contenufooter {
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 20vw;
    position: relative;
    background-color: #0E1422;
}

.mentions {
    position: absolute;
    width: 50vw;
    height: 7vw;
    top: 0vw;
    left: 25vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mentions p {
    font-family: 'Montserrat-SemiBold';
    font-size: 1.5vw;
    margin: 0.5vw;
    color: #fbfbfb;
}

.nomfooter {
    position: absolute;
    bottom: 0;
    width: 100vw;
    height: 9vw;
    overflow: hidden;
}

.nomfooter p {
    position: absolute;
    left: -1vw;
    bottom: -3vw;
    font-size: 11.2vw;
    background: linear-gradient(to right, #FFDF6F, #F9A473, #B8CEDE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Montserrat-Black';
    width: 101vw;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}



@media screen and (max-width: 750px) {
    .liens {
        display: flex;
        width: 75%;
        gap: 5.3vw;
        align-items: center;
        justify-content: space-between;
    }

    .nomportfolio {
        display: flex;
    }

    nav {
        font-size: 3vw;
    }

    body {
        overflow-x: hidden;
    }
    .menu, .hamburger {
        display: none;
    }
    .hamburger-resp {
        display: flex; 
    }

    .containerliensmenu-resp {
        display: none;
        gap: 0.6rem
    }

    .containerliensmenu-resp a {
        display: block;
    }
    
    .open {
        display: flex;
    }

    .mentions {
        position: absolute;
        width: 50vw;
        height: 15vw;
    }

    .contenufooter {
        height: 35vw;
    }

    .mentions p {
        font-family: 'Montserrat-SemiBold';
        font-size: 3vw;
        margin: 2.5vw;
        color: #fbfbfb;
    }
    .real1, .real2, .real3, .real4, .real5, .real6, .real7, .real8 {
        border-radius: 4vw;
    }
}