html{
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
}

img {
    width: auto;
    height: auto;
    max-width: 100%;
}

@font-face {
    font-family: "Montserrat";
    src: url("Montserrat.ttf") format("ttf");
    font-display: swap;
}

#iframe{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

iframe{
    width: 60vw;
    height: 35vw;
}

body {
    font-family: Arial, sans-serif;
    position: relative;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    background: url('Images/Fond.webp') no-repeat center center/cover;
    background-attachment: fixed; /* Ajout de cette ligne pour fixer le fond */
    background-repeat: repeat; 
    display: grid;
    place-items: center;
    font-family: "Montserrat", serif;
    
}

a, a:link, a:visited {
    text-decoration: none !important;
    color: inherit !important;
}


#box-menu{
    flex-wrap: wrap;
    flex-direction: row;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 60vw;

   
}


#box-scene-ligne-1{
    display: flex;
    justify-content: center;
}

nav{
    width: 100vw;
}



.menu-button {
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(34, 34, 34, 0.0);
    color: #C46200;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 38px;
    border-radius: 5px;
    z-index: 1000;

}
.menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #222;
    color: #C46200;
    padding: 20px;
    transition: left 0.3s ease-in-out;
    z-index: 999;

}
.menu-button:hover {
    color: #ffb266 ;

}

.menu.active {
    left: 0;
}
.menu ul {
    margin-top: 35%;
    list-style: none;
    padding: 0;
}
.menu li {
    width: max-content;
    margin: 20px 0;
    cursor: pointer;
    font-family: "Montserrat", serif;
    font-weight: bolder;
    text-decoration: none;
    cursor: pointer;
}
.menu li:hover {

    color: #ffb266;
    font-family: "Montserrat", serif;

}

#Lucie-box{
    width: 45%;
    margin: 1%;
    transition: filter 0.3s ease-in-out; 
    filter: grayscale(100%); 
}

#Lucie-box:hover{
    filter: grayscale(0%); 
}

#GoT-box{
    width: 45%;
    margin: 1%;
    transition: filter 0.3s ease-in-out; 
    filter: grayscale(100%); 

 
}

#GoT-box:hover{
    filter: grayscale(0%); 
}

#box-scene-ligne-1{
    display: flex;
    place-items: center;
    align-items: center;
    position: relative;
    justify-content: center; 
    flex-wrap: wrap;
    flex-direction: row;
}

#making-of-box{
    width: 92%;
    transition: filter 0.3s ease-in-out; 
    filter: grayscale(100%); 
    margin: 1%;

}

#making-of-box:hover{
    filter: grayscale(0%); 
}



#box-scene-ligne-3 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 1%;
    max-width: 60vw;
    max-height: 60vw;
    
    
}



#box-gauche {
    display: flex;  
    flex-direction: column;  
    justify-content: center;  
    align-items: center;  
    position: relative; 
    transition: filter 0.3s ease-in-out; 
    filter: grayscale(100%); 
    margin-right: 1%;  
    max-width: 80vw;

}

#box-gauche:hover {
    filter: grayscale(0%);  
}









#Graphisme-box{

    transition: filter 0.3s ease-in-out; 
    filter: grayscale(100%); 
    
}

#Graphisme-box:hover{
    filter: grayscale(0%); 
}

#Abnegation-box{

    transition: filter 0.3s ease-in-out; 
    filter: grayscale(100%); 
}

#Abnegation-box:hover{
    filter: grayscale(0%); 
}


/*#box-reunion {


    
}*/

#img1ligne3{
    width: 35%;
    background-color: aqua;
    background: url(Images/graphisme.png);
    margin: 2%;
    transition: filter 0.3s ease-in-out; 
    filter: grayscale(100%); 

}

#img2ligne3{
    width: 35%;
    background-color: #C46200;
    background: url(Images/Abnegation.png);
    margin: 2%;
    transition: filter 0.3s ease-in-out; 
    filter: grayscale(100%); 


}

#img1ligne3:hover{
    filter: grayscale(0%); 

}

#img2ligne3:hover{
    filter: grayscale(0%); 

}

#box-reunion:hover{
    filter: grayscale(0%); 

}



#box-reunion{
    margin-top: 1%;
    margin-bottom: 1%;
    margin-right: 1%;
    transition: filter 0.3s ease-in-out; 
    filter: grayscale(100%); 

}

#ligne3{
    display: flex;
    justify-content: center;
}





#background-video {
    object-fit: cover;
    width: 100%;
    max-height: 100vh;
    z-index: -1;
}

.container-fluid {
    overflow: hidden;
    position: relative;
}

.H1-Bioshock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
    max-width:50vw;
}

.img-logo-video{
  max-width: 30vw;
  ;
}

.menu li {
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Animation d'apparition */
.menu.active li {
    opacity: 1;
    transform: translateX(0);
}

/* Ajout du délai progressif */
.menu.active li:nth-child(1) { transition-delay: 0.1s; }
.menu.active li:nth-child(2) { transition-delay: 0.2s; }
.menu.active li:nth-child(3) { transition-delay: 0.3s; }
.menu.active li:nth-child(4) { transition-delay: 0.4s; }
.menu.active li:nth-child(5) { transition-delay: 0.5s; }
.menu.active li:nth-child(6) { transition-delay: 0.6s; }

/* ----- ANIMATION UNDERLINE ----- */
.menu li::after {
    content: "";
    position: absolute;
    bottom: -5px; /* Distance sous le texte */
    left: 50%;
    width: 0%;
    height: 3px;
    background-color: #ffb266; /* Couleur du trait */
    transition: width 0.2s ease-in-out, left 0.2s ease-in-out;
}

/* Effet au survol */
.menu li:hover::after {
    width: 100%;
    left: 0;
}

/* État initial : les box sont invisibles et légèrement décalées vers le bas */
/* État initial : les box sont invisibles, décalées vers le bas et en noir et blanc */
#box-menu img {
    opacity: 0;
    transform: translateY(50px);
    filter: grayscale(100%);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, filter 0.6s ease-out;
}

#box-menu img:hover {
    filter: grayscale(0%);
}


/* Quand la classe .show est ajoutée, elles deviennent visibles et en couleur */
#box-menu img.show {
    opacity: 1;
    transform: translateY(0);
}



#voir-plus {
    justify-content: center;
    align-items: center;
    background-color: rgba(34, 34, 34, 0.0);
    border: 4px #C4C4C4 solid;
    font-family: "Montserrat", serif;
    font-weight: 500;
    font-size: 20px;
    margin: 50px;
    width: 150px;
    height: 50px;
    color: #C4C4C4;
    cursor: pointer;
    display: flex; /* Pour centrer le texte */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

#voir-plus:hover {
    background-color: #C4C4C4;
    color: #222;
}




#avis-clients{
    justify-content: center;
    align-items: center;
    font-family: "Montserrat", serif;
    font-weight: 600;
    font-size: 45px;
    color: #C46200;
    margin-top: 100px;
    z-index: 1;
}

#competence{
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}

#competence1, #competence2, #competence3 {
    width: 25vw;
    height: 32vw;
    margin: 2vw;
    border-radius: 15px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Cache le débordement */
}

/* Arrière-plan avec image */
#competence1::before, 
#competence2::before, 
#competence3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: -2; /* Derrière tout */
}

#competence1::before {
    background-image: url(Images/Montage.webp);
}
#competence2::before {
    background-image: url(Images/Cadrage.webp);
}
#competence3::before {
    background-image: url(Images/DevWeb.webp);
}

/* Filtre orange (transparent de base) */
#competence1::after, 
#competence2::after, 
#competence3::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 165, 0, 0); /* Invisible par défaut */
    transition: background 0.5s ease;
    z-index: -1; /* Entre l'image et le texte */
}

/* Effet hover : SEULEMENT le background zoom */
#competence1:hover::before, 
#competence2:hover::before, 
#competence3:hover::before {
    transform: scale(1.1); /* Zoom uniquement sur l'image */
}

#competence1:hover::after, 
#competence2:hover::after, 
#competence3:hover::after {
    background: rgba(255, 165, 0, 0.8); /* Ajoute un filtre orange */
}

/* Texte à l’intérieur (ne bouge pas) */
#competence1 span, #competence2 span, #competence3 span {
    font-size: 2vw;
    position: relative; /* Important pour rester au-dessus */
    z-index: 1;
    transition: transform 0.5s ease;
}






#h3-competence{
    font-family: "Montserrat", serif;
    font-weight:bold;
    font-size: 37px;
    color: #fff8f8;
    position: absolute;
    width: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -220%);
    text-align: center;
 
}

#p-competence{
    font-family: "Montserrat", serif;
    font-weight: 600;
    font-size: 20px;
    color: #fff8f8;
    position: absolute;
    width: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
    font-size: 17px;
    text-align: center;

          
}

#competence1:hover #p-competence{
    color: #222;
    display: flex;
}

#competence1:hover #h3-competence{
    color: #222;
}

#competence2:hover #p-competence{
    color: #222;
    display: flex;
}

#competence2:hover #h3-competence{
    color: #222;
}

#competence3:hover #p-competence{
    color: #222;
    display: flex;
}

#competence3:hover #h3-competence{
    color: #222;
}

#trait-horizontal{
    display: flex;
    width: 90vw;
    height: 2px;
    margin-bottom: 20px;
    background-color: #C4C4C4;
}

footer{
    
    width: 100vw;
    margin-top: 20px;
    position: relative;
    display: block;
    justify-content: center;
    align-items: center;
    display: grid;
    place-items: center;
}

#ligne-footer{
    width: 2px;
    height: 30vh;
    background-color: #C4C4C4; 
    margin-left: 300px; 
    margin-right: 300px; 
}

#colonne-footer{
    display: flex;
    margin-bottom: 30px;
    justify-content: center;
    align-items: center;
    
}

#h4-contact{
    color: #C4C4C4;
    font-family: "Montserrat", serif;
    font-weight:bold;
    font-size: 27px;
    margin-bottom: 40px;
    margin-top: 40px;

}

#p-contact{
    color: #C4C4C4;
    font-family: "Montserrat", serif;
    font-weight:400;
    font-size: 15px;
}

#p-réseaux{
    color: #C4C4C4;
    font-family: "Montserrat", serif;
    font-weight:500;
    font-size: 15px;
}

#icone-footer{
    max-width: 35px;

}

#logo-footer{
    max-width: 120px;
}

#réseaux-tel{
    display: none;
}

#header-footer{
    display: none;
}

#p-copy{
    display: block;
}

#p-copy-tel{
    display: none;
}

@media (max-width: 767px) { 

    iframe{
    width: 80vw;
    height: 60vw;
    border-radius: 10px;
    margin-bottom: 100px;
    }
    
#avis-clients{
    font-size: 30px;
    margin-top: 20px;
}

#colonne-footer{
    display: none;
}

#competence{
    display: block;
    margin-bottom: 0;
}

#competence1, #competence2, #competence3{
    width: 70vw;
    height: 55vh;
    margin-bottom: 15vh;
}

#p-competence{
    font-family: "Montserrat", serif;
    font-weight: 500;
    font-size: 15px;


}

#h3-competence{
    font-family: "Montserrat", serif;
    font-size: 25px;
    transform: translate(-50%, -280%);



}

footer{
    display: block;
    justify-content: left;
    align-items: left;
    text-align: left;
    padding: 20px;  /* Exemple de padding pour le contenu */
}

#trait-horizontal{
    margin-top: 0;

}

#réseaux-tel{
    display: block;
    justify-content: center;    /* Centre le div lui-même horizontalement */
    align-items: center;        /* Centre le div lui-même verticalement */
    position: relative;
    width: 100%;                /* Prend 100% de la largeur de son parent */
    height: 100vh;  
    font-size: 10px;
    margin-top: 10vh;
    margin-bottom: 0;
    height: 20px;
}

#header-footer{
    display: block;
    margin-top: 5vh;
    font-size: 10px;
    font-weight: 400;
    text-align: left;
}

#p-header-footer{
    color: #C4C4C4;
    font-family: "Montserrat", serif;
    font-weight:400;
    font-size: 10px;
    text-align: left;
}

#p-h-f{
    color: #C4C4C4;
    align-items: left;
    font-size: 10px;
    font-weight: 400;
}


#icone-footer{
    max-width: 30px;
    margin-bottom: 20px;
}

#p-copy{
    display: none;
}

#p-copy-tel{
    display: block;
    align-items: center;
    text-align: center;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 20px;
}


 }

 @media (min-width: 768px) and (max-width: 1024px){    
    #avis-clients{
        font-size: 30px;
        margin-top: 20px;
    }
    
    #colonne-footer{
        display: none;
    }
    
    #competence{
        display: block;
        margin-bottom: 0;
    }
    
    #competence1, #competence2, #competence3{
        width: 60vw;
        height: 50vw;
        margin-bottom: 15vh;
    }
    
    footer{
        display: block;
        justify-content: left;
        align-items: left;
        text-align: left;
        padding: 20px;  /* Exemple de padding pour le contenu */
    }
    
    #trait-horizontal{
        margin-top: 0;
    
    }
    
    #réseaux-tel{
        display: block;
        justify-content: center;    /* Centre le div lui-même horizontalement */
        align-items: center;        /* Centre le div lui-même verticalement */
        position: relative;
        width: 100%;                /* Prend 100% de la largeur de son parent */
        height: 100vh;  
        font-size: 10px;
        margin-top: 10vh;
        margin-bottom: 0;
        height: 20px;
    }
    
    #header-footer{
        display: block;
        margin-top: 5vh;
        font-size: 15px;
        font-weight: 400;
        text-align: left;
    }
    
    #p-header-footer{
        color: #C4C4C4;
        font-family: "Montserrat", serif;
        font-weight:400;
        font-size: 15px;
        text-align: left;
    }
    
    #p-h-f{
        color: #C4C4C4;
        align-items: left;
        font-size: 15px;
        font-weight: 400;
    }
    

    
    #icone-footer{
        max-width: 30px;
        margin-bottom: 20px;
    }
    
    #p-copy{
        display: none;
    }
    
    #p-copy-tel{
        display: block;
        align-items: center;
        text-align: center;
        font-weight: 700;
        margin-top: 50px;
        margin-bottom: 20px;
    }


    
     }


     