@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    color: white;
}
:root{
--main-color: #6e2eff;
--gray: #c6c6c6;
--secodary: rgb(239, 239, 239);
--border: rgba(78, 78, 78, 0.613);
--border-gradient: linear-gradient(45deg, #753faa, #c0c0c0);


}
main{
    height: 100vh;
    width: 100vw;
    background-image: url(../img/A2\ copie.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: black;
    position: relative;
    overflow: hidden;
}

p{
    color: var(--gray);
}
nav{
    height: 10vh;
    width: 100%;
    /**background-color: #6e2eff;**/
    position: fixed;
    display: flex;

}
.burger-menu{
    display: none;
}
.separate{
    height: 100%;
    width: 33%;  
}
.logo{
    display: flex;
}

.img img{
width:60px;
object-fit: contain;
display: none;
}
.loop{
    width: 50%;
    height: 100%;
}
.img{
   display: flex;
   justify-content: right;
   align-items: center; 
}
.name{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.name h3{
    font-size: 25px;
    letter-spacing: 8px;
    display: none;
}
.name p{
    letter-spacing: 12px;
    color: var(--gray);
    display: none;
}
.menu{
    display: flex;
    align-items: center;
}
.menu-container {
    height: 50px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05); /* léger blanc translucide */
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15); /* bord discret */
    backdrop-filter: blur(10px); /* effet flou du fond */
    -webkit-backdrop-filter: blur(10px); /* support Safari */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* ombre douce */
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: var(--gray);
}
.another{
    display: flex;
    align-items: center;
    justify-content: right;
}

.another-container{
    display: flex;
    align-items: center;
}
.another-container , .fermeture-container{
    height: 50px;
    width: 200px;
    background: rgba(255, 255, 255, 0.05); /* léger blanc translucide */
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15); /* bord discret */
    backdrop-filter: blur(10px); /* effet flou du fond */
    -webkit-backdrop-filter: blur(10px); /* support Safari */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* ombre douce */
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: var(--gray);
    cursor: pointer;
}


.another-container i, .another-container i{
    padding: 10px;
    background-color: var(--gray);
    border-radius: 50%;
    color: black;
    transition: all 0.5s;
}
.another-container:hover{
    background-color: var(--gray);
     transition: all 0.5s;
}
.another-container:hover i{
   color: var(--gray);
   background-color: black;
}
.another-container:hover p{
   color: black;
}

section{
    height: 80vh;
    width: 100%;
    display: flex;
}
.sectionCenter{
    height: 100%;
    width: 50%;
}
.typewriter {
    display: inline-block;
    overflow: hidden;
    border-right: 2px solid #fff; /* barre de frappe initiale */
    visibility: hidden; /* texte invisible avant écriture */
}

.typewriter.done {
    border-right: none; /* barre disparaît */
    visibility: visible; /* texte visible après écriture */
}
/*DEGRADEE ANNIMATION*/

.typewriter {
    display: inline-block;
    overflow: hidden;
    border-right: 2px solid #fff; /* barre de frappe initiale */
    visibility: hidden;
}

.typewriter.done {
    border-right: none;
    visibility: visible;
}

.animated-gradient {
    background: linear-gradient(90deg, #c0c0c0, #e0e0e0, #753faa);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 5s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: var(--start-pos); }
    100% { background-position: var(--end-pos); }
}


.left{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:start;
    margin: 0 35px;
    padding-top: 80px;
}

.left h1,
.about h1,
.title h3,
.step-container h2,
.childen-infor h2,
.experience h5,
.sub-container-step2 h3,
.entreprise h3,
.contact-left h2,
.burger-menu p {
    font-size: 55px;
    text-align: center;
    background: linear-gradient(
        90deg,
        #c0c0c0,    /* argent clair */
        #e0e0e0,    /* blanc/gris */
        #753faa,    /* or pâle, réaliste */
        #6e4696,    /* doré doux (or chaud, pas jaune) */
        #cfcfcf     /* retour à l’argent */
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.burger-menu p {
    font-size: 13px;
}



.left p{
    text-align: center;
    margin-top: 10px;
    color: var(--gray);
    }
.left h3 {
    margin: 10px 0;
    font-weight: 500;
    background: linear-gradient(
        90deg,
        #e6e6e6,
        #ffffff,
        #bfbfbf,
        #f0f0f0,
        #a9a9a9
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.main-container,
.wrapper{
    background: rgba(34, 34, 34, 0.015);
     backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(8px);
    background-image: linear-gradient(135deg, rgba(38, 37, 37, 0.104), rgba(43, 26, 75, 0.136));

}

.main-container{
    height: 100%;
    width: 100%;
    position: absolute;
    border: none;
    box-shadow: none;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.3s ease;
}

.wrapper{
    height: 650px;
    width: 850px;
    border-radius: 10px;
    border: solid 2px var(--border-gradient);
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    --scroll-opacity: 0;
}
.about{
display: flex;
overflow: hidden;
}


.about h1{
  margin: 20px;
  font-size: 30px;
}
.about p {
    text-align: left;
    font-style: italic;
}
.about-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 
    height: 100%;
}
.about-content{
    padding: 20px;
    width: 50%;
    
}
.about-content-img{
    height: 100%;
    width: 50%;
}

.about-content-img img{
    width: 300px;
    object-fit: cover;
    border-radius: 10px;
    border:solid 1px var(--border);
}

.wrapper::-webkit-scrollbar {
  width: 10px;
  background: transparent;
}
.wrapper::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--scroll-start, #6e2eff), var(--scroll-end, #9a5bff));
  border-radius: 10px;
  opacity: var(--scroll-opacity);
  transition: opacity 0.3s ease;
}
.wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.wrapper {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.closeAv {
    padding: 10px 20px;
    color: white;
    margin-top: 30px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #7a3cff, #5f2eff, #9a5bff);
    background-size: 200% 200%;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(109, 46, 255, 0.3);
}

.close:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(109, 46, 255, 0.5);
}

.main-container.active {
  opacity: 1;
}

.av-header,
.experience-header{
    height: 50px;
    background: rgba(255, 255, 255, 0.031);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-image: linear-gradient(135deg, rgba(65, 65, 65, 0.1), rgba(76, 76, 76, 0.075));
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    transition: all 0.3s ease;
}
.av-header button, 
.experience-header button{
    width: 25%;
    height: 100%;
    border: none;
    color: white;
    background-color: inherit;
    cursor: pointer;
}
.all-container,
.all-container2{
    min-height: 600px;
    width: 100%;
    display: none;
}
.container-video{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.av-header button.active,
.experience-header button.active  {
   background: rgba(34, 34, 34, 0.015);
     backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background-image: linear-gradient(135deg, rgba(126, 126, 126, 0.355), rgba(77, 19, 186, 0.625));
}


.about-content-img {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;

    display: flex;
    justify-content: center; /* centre horizontalement */
    align-items: center;     /* centre verticalement */
}

.about-content-img img {
    position: absolute;
    top: 50%;
    left: 100%;              /* commence hors de l’écran à droite */
    transform: translateY(-50%); /* centre verticalement par rapport au milieu */
    
    width: 300px;
    height: auto; /* conserve les proportions */
    object-fit: cover;
    border-radius: 10px;
    border: solid 1px var(--border);

    animation: slide 16s infinite;
}

/* décaler chaque image dans le temps */
.about-content-img img:nth-child(1) { animation-delay: 0s; }
.about-content-img img:nth-child(2) { animation-delay: 4s; }
.about-content-img img:nth-child(3) { animation-delay: 8s; }
.about-content-img img:nth-child(4) { animation-delay: 12s; }
.about-content-img img:nth-child(5) { animation-delay: 16s; }

/* animation principale */
@keyframes slide {
    0%   { left: 100%; opacity: 0; }
    5%   { left: 50%; opacity: 1; transform: translate(-50%, -50%); }  /* arrive au centre */
    25%  { left: 50%; opacity: 1; transform: translate(-50%, -50%); }  /* reste visible */
    30%  { left: -100%; opacity: 0; transform: translate(-50%, -50%); } /* sort à gauche */
    100% { left: 100%; opacity: 0; transform: translate(-50%, -50%); }  /* prêt pour le cycle suivant */
}
.sub-container-step,
.sub-container-step2{
    height: 550px;
    width: 100%;
}

.sub-container-action{
    height: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.sub-container-action button{
    width: 50px;
    height: 30px;
    outline: none;
    border: none;
    background-color: inherit;

}
.sub-container-action button:nth-child(2){
    width: 70px;
}
.change{
    cursor: pointer;
    color: white;
}
.sub-container-step,
.sub-container-step2 {
    display: none; /* tous cachés par défaut */
}

.sub-container-step.active,
.sub-container-step2.active {
    display: flex !important; /* seul le step actif est visible */
}

.step-container{
    height: 100%;
    width: 50%;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.step-container h2{
    font-size: 30px;
    margin-bottom: 15px;
    font-style:  normal;
}
.step-container{
   font-style: italic;
}
.for-img img{
    width: 250px;
    border: solid 2px var(--border);
    border-radius: 15px;
}








.step-container.for-img {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;       /* centre vertical */
    justify-content: center;   /* centre horizontal */
    overflow: hidden;
}

.step-container.for-img img {
    position: absolute;
    opacity: 0;
    transform: translateX(100%);  /* commence à droite */
    transition: transform 0.8s ease, opacity 0.5s ease;
}

.step-container.for-img img.is-visible {
    opacity: 1;
    transform: translateX(0);      /* image visible, bien centrée */
    z-index: 2;
}

.step-container.for-img img.is-exit-left {
    transform: translateX(-150%);  /* part à gauche */
    opacity: 0;
    z-index: 1;
}

.step-container.for-img img.is-ready {
    transform: translateX(100%);   /* prêt à entrer à droite */
    opacity: 0;
    z-index: 0;
}

.visio-img img{
    width: 400px;
}
.video-vertical video{
    width: 300px;
}
.cinema-container{
    display: flex;
    flex-direction: column;
}
.cine-container,
.perso-container{
    width: 95%;
    height: 50%;
}
.cine-container video{
    height: 350px;
    border: 2px solid var(--border);
}
.perso-container video{
    height: 350px;
}
.cine-container p,
.perso-container
{
    text-align: center;
}
#container-image{
    /*padding-top:20px ;*/
}
.cinema-container .for-texte{
    height: 20%;
}
.wrapper-infos{
    display: flex;
    
}
.childen-infor{
    width: 50%;
    height: 98%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding:0 20px;
}
.childen-infor h2{
    font-size: 25px;
    margin-bottom: 20px;
}

.infor-texte{
    align-items: baseline;
}
.infor-texte span{
   font-style: italic;
}

.infor-texte i{
   font-size: 12px;
   color: var(--main-color);
}
.all-container.active{
    display: flex;

}
.all-container2.active{
    display: flex;
    flex-direction: column;

}
.experience h2{
    margin-bottom: 0;
}
.experience h5{
    margin-bottom: 15px;
    font-size: 20px;
}
.experience h4{
    margin-top: 10px;
}
.experience-img video,
.experience-img img{
    width: 250px;
}

.perso-container{
    height: 35% ;
}
.wrapper-perso{
    flex-direction: column !important;
}
.equipement__wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}
.sub-container-step2 h3{
    font-size: 20px;
    width: 100%;
    margin: 20px;
}
.equipements-card{
    height: 70px;
    width: 90%;
    background: rgba(53, 53, 53, 0.097);
     backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(8px);
    background-image: linear-gradient(135deg, rgba(48, 47, 47, 0.467), rgba(43, 26, 75, 0.136));
    border-radius: 10px;
    display: flex;
    
}
.equipements__img{
    width: 10%;
    height: 100%;
}
.equipements__texte{
    width: 90%;
    height: 100%;
    padding: 10px;
}
.equipements__texte p{ 
   font-size: 15px;
   padding: 7px 0;
}
.equipements__img img{
    width: 100%;
    object-fit: cover;
    height: 100%;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    cursor: pointer;
}
.entreprise{
    padding: 20px;
}
.entreprise h3{
    font-size: 20px;
}
.clients-card{
    min-height: 100px;
    width: 100%;

    display: flex;
    flex-wrap: wrap;
    padding: 10px;
}
.min_card{
    height: 100px;
    width: 100px;
     background-color: #ffffff;
    padding: 3px;
    border-radius: 4px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.min__card-img{
    height: 70%;
    width: 100%;
    background-color: #ffffff;
    
}
.min__card-img img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.min__card-text{
    height: 25%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #5f2eff;
    border-radius: 3px;
    font-size: 13px;

}

.min__card-text p{
color: rgb(245, 245, 245);
}
.contact-me{
    display: flex;
}
.contact-left, .contact-right{
height: 99%;
width: 50%;
}
.contact-right img{
width: 100%;
    object-fit: cover;
    border-left: 1px solid rgb(72, 16, 193);
}
.contact-left{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}
.contact-left h2{
 font-size: 30px;
}
.contact-left p{
    padding: 10px;
}
.reseau a{
    margin: 0 10px;
}
.insta i{
color: #ce23e1;
}
.youtube i{
color: #e61111;
}

@media (max-width:1124px){
    .menu-container{
        width: 600px;
    }
    .logo {
    display: none;
    }
    nav {
    display: flex;
    justify-content: space-around;
    }
    .menu {
        display: flex;
        align-items: center;
        width: 630px;
    }
    .another {
  width: 250px;
    }
    .separate{
        padding: 10px;
    }
    .menu-mobile{
        display: flex;
    }
       .sectionCenter.right{
        display: none;
    }
            .sectionCenter.left{
     width: 100%;
     justify-content: end;
    }
      .sectionCenter.left h3,
        .sectionCenter.left h1,
          .sectionCenter.left p{
            text-align: left;
          }
}
@media (max-width:880px){
    .wrapper{
        width: auto;
    }
}
@media(max-width:461px){
 .sectionCenter.left h1{
    font-size: 50px;
 }
}
@media(max-width:425px){
 .sectionCenter.left h1{
    font-size: 40px;
 }
}
@media(max-width:677px){
      .wrapper {
    flex-direction: column;
    min-height: 70rem;
     padding-top: 20rem;
  }
  .sub-container-step.active, .sub-container-step2.active {
  flex-direction: column-reverse;
}
  .about-content {
  padding: 20px;
  width: 100%;

}
.step-container{
    width: 100%;
}
.about p{
    padding-right: 30px;
}
.main {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;          /* Firefox */
}

main{
    overflow-x: hidden;
    overflow-y: auto;
 
}
.about-content-img{
    width: 100%;
}
.élément {
  display: flex;
}

.closeAv{
    margin-bottom: 30px;
}
.step-container{
    width: auto;
  }
.main-container.active {
  overflow-y: auto;
}
.av-header, .experience-header{
    margin: 10px;
    margin-top: 80px;
    border-radius: 25px;
}
.step-container.for-img{
    min-height: 445px;
}
  .sub-container-step.active{
    margin-top: 120px;
  }
  .wrapper-av{
    min-height: 51rem;
    padding-top: 0;
  }
  .for-texte{
    padding: 0 20px;
  }
.montage-container{
    min-height: 199px !important;
}

.montage-mt{
    margin-top: -15px !important;
}
.video-vertical video {
  width: 252px;
}
.for-texte p{
    text-align: center;
}
.cine-container video {
  border: none;
}
.cinema-container{
    min-height: 317px !important;
    margin-top: 70px !important;
}
.wrapper-infos{
    justify-content: center;
    align-items: center;
    margin-top:-320px;
}
.childen-infor {
  width: auto;
  height: 31%;
  margin-top: 30px;
}
.all-container2.active{
    margin-top: 110px;
}
.entreprise{
    text-align: center;
    padding: 0;
}
.clients-card {
  justify-content: center;
}
.contact-left, .contact-right {
  height: 100vh;
  width: 100vw;
}
.contact-me{
    min-height: 30rem;
    padding-top: 0rem !important;
}
.contact-right {
    display: none;
}
.contact-left{
    background-image: url(../img/moi-color2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: end;
    padding-bottom: 100px;
}
.contact-left p{
    text-align: center;
}
.entreprise p{
    text-align: center;
    padding: 0 10px;
}
.sectionCenter.left p{
    margin-bottom: 65px;
}
.wrapper-experiences{
    min-height: 30rem;
}
.experience-header{
    margin-top: -255px;
}
.container-perso{
    height: 157px !important;
    margin-top: -141px;
}
.container-bulding{
    margin-top: 35px !important;
}
}
@media(max-width:451px){
    .horizons{
        margin-top: 150px !important;
    }
}
@media(max-width:700px){
    .equipements-card {
        height: 78px;
}
}
@media(max-width:843px){
    @media (max-width: 1124px) {
  .menu-container {
    width: 410px;
  }
}
}
.fermeture-container{
    display: none;
}
@media(max-width:715px){
    .another-container {
  height: 50px;
  width: 150px;
}
}

@media(max-width:630px){
 nav{
min-height: 255px;
flex-direction: column;
align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

display: none;

 }
.fermeture-container{
    display: flex;
    width: 95px;
    justify-content: center;
}

 .burger-menu{
    height: 6vh;
    display: flex;
    justify-content: space-between;
    align-items: end;
 }
  .burger-menu i,   .burger-menu p{
        padding: 0 20px
 }
 .burger-menu p{
    font-size: 17px;
 }
  .burger-menu i{
    font-size: 25px;
    cursor: pointer;
 }

 .menu-container{
    flex-direction: column;
    height:160px;
    width: 90%;
    border-radius: 10px;
 }
  .menu {
    justify-content: center;
    width: 100%;
  }
  .another {
  justify-content: space-around;
  width: 100%;
}

}
@media(max-width:450px){
    .visioAllContainer{
    margin-top: 30px !important;
}
}
@media(max-width:439px){
     .equipements-card {
    height: 100px;
  }
  .equipements__img {
  width: 20%;
  height: 100%;
}
.equipements__texte {
  width: 80%;
  height: 100%;
  padding: 10px;
}
.equipementSubContainer{
    margin-top: 70px;
}

}
@media(max-width:405px){
      .childen-infor {
        margin-top: 65px;
  }
}