
@font-face {
    font-family: 'sams';
    src: url('fonts/sams-Regular.otf');
}


@font-face {
    font-family: 'dreamOrphans';
    src: url('fonts/Dream Orphans Bd.otf');
}

@font-face {
    font-family: 'tgl';
    src: url('fonts/TGL.ttf');
}

@font-face{
    font-family:'sono';
    src: url('fonts/sono/Sono-Light.woff2');
}



body{
    background-color:rgba(0, 0, 0, 0.275);
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


html {
    scroll-padding-top: 100px;
    scroll-behavior:smooth;
}

h1{
    font-family: 'sams', serif;
    font-size:1px;
    color:#2e463a;
}

h1 span{
    font-family: 'sams', serif;
    font-size:1px;
    color:#2e463a;
}

h2{
    font-family: 'sams', serif;
    font-size:30pt;
    color:#2e463a;
    line-height:30pt;
    margin: 0 0 15px 0;
}

h3{
    font-family: 'sams', serif;
    font-size:22pt;
    color:#2e463a;
    line-height:22pt;
    margin: 0 0 10px 0;
}

h4{
    font-family: 'sams', serif;
    font-size:22pt;
    color:#2e463a;
    line-height:22pt;
    margin: 0 0 10px 0;
}

h5{
    font-family: 'sams', sans-serif;
    color:#2e463a;
    line-height:22pt;
    font-size: 22pt;
    margin: 0 0 10px 0;
}

h6{
    font-family: 'sams', sans-serif;
    color:#2e463a;
    line-height:22pt;
    font-size: 22pt;
    margin: 0 0 10px 0;
}

p{
    font-family: 'Jost', sans-serif;
    font-size:15pt;
    color:#2e463a;
    padding:0 0 15px 0;
}

p.sombre{
    color:#2e463a;
}

p.clair{
    color:#fffdf6;
}

a{
    font-family: 'Jost', sans-serif;
    font-size:15pt;
    text-decoration: none;
}



/*----------- HEADER -----------*/


#header{
    position: relative;
    height:400px;
    top:110px;
}

#menu-logo{
    display: none;
}

#menu {

    z-index:1;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    
    position:fixed;
    z-index:99999;
    top:0;
    width:100%;

    padding:5px 10px 10px 10px;
    background-color:#344e41;
    height:110px;
}

#menu a{
    text-decoration: none;
    color:white;
    display: inline-block;
    transition: all 0.2s;
}

#menu a:hover{
    font-size:17pt;
}

#menu li:first-child a{
    font-family: sams;
    font-size:20pt;
    line-height: 20pt;
    display: flex;
    flex-direction: column;
    align-items: end;
}

#menu li:first-child a span{
    font-family:sams;
    font-size:20pt;
    line-height: 20pt;
    color:white;
}

#menu li:first-child {
  margin:0 auto 0 0;
}


#menu li::after{
    content: "/";
    margin:0 6px;
    color:white;
}

#menu li:first-child::after {
  margin:0 auto 0 0;
  content:"";
}

#menu li:last-child::after {
  margin-right:10px;
  content:"";
}

#menu .logo{
    Margin:15px;
}


#logoH1{
    
    font-size:60pt;
    width:500px;
    height:auto;
    z-index:1;
    position:relative;

    top:100px;
    left:100px;

}

h1 span{
    display: block;
    font-size:60pt;
    color:white;
}


#header .videoBackground {
        position: fixed;
        z-index:-2;
        right: 0;
        bottom: -60px;
        min-width: 100%;
        min-height: 100%;
        transform: translateX(calc((100% - 100vw) / 2));

        -o-filter: blur(0px);
        filter: blur(0px);
        background-image: url(images/font-cascade.png);
}

#header .blackbox {
    position: fixed;
    width:100%;
    height:100%;
    background-color: black;
    opacity: 0.3;
}



/*----------- MOI -----------*/

#moi{
    padding:20px 16vw;
    background-color:#dad7cd;
    position:relative;
    display: block;
    flex-wrap: wrap;
    width:100%;


}



/* -IMGS- */
#moi .multi-imgs-holder{
    position:relative;

    height:100%;
    float:left;
}




#moi .multi-imgs-holder img{
    position:absolute;
    transition-duration: .3s;
    border-radius:5px;
    max-width:14vw;
    height:auto;
    z-index:1;

    
}


#moi .multi-imgs-holder .invis{
    display:block;
    position:relative;
    opacity: 0;
    margin-left: 11.5vw;
    padding-right:15px;
    margin-top:100px;
    margin-bottom: 10px;
    box-sizing: content-box;
    z-index:0;
    pointer-events: none;
}


#moi .multi-imgs-holder .one{
    left:0;
    top:0;
    transform:scale(0.75) rotate(-20deg);
    z-index:1;
    
  
}

#moi .multi-imgs-holder .two{
    left: 11.5vw;/*-180px-*/
    top:30px;
    transform:scale(0.8) rotate(10deg);
    z-index:2; 
}


#moi .multi-imgs-holder .three{
    left:5.7vw;/*--90px;*/
    top:110px;
    transform:scale(0.9) rotate(2deg);
    z-index:3;
   
}



#moi .multi-imgs-holder img:hover{
    z-index:4;
    transform:scale(1);
}


/* - Texts - */

#moi .text-holder{
    margin-top:40px;
}

#moi .text-holder.demarche{
    margin-top:0px;
}

#moi .text-holder p{
    max-width: 100%;
    padding-bottom:15px;
}


#moi .text-holder .demarche{
    clear:both;
}

/*----------- Parcours -----------*/


#parcours{
    position:relative;
    background-color:#a3b18a;
    height:600px;
    padding:20px 16vw;
}

#parcours h2{
    text-align: center;
}

#parcours > p{
    text-align: center;
}

#parcours img{
    width:13vw;
    border-radius: 5px;
    border:3px solid #344e41;
    transition:0.2s;
    background-color:white;
    z-index:10;
    
}

#parcours .multi-imgs-holder{
    position: relative;
    left:-16vw;
}

#parcours img:hover{
    transform: scale(1.1);
}

#parcours img.one{
    position: absolute;
    top: 40px;
    left: 8vw;
}

#parcours img.two{
    position: absolute;
    top: 200px;
    left: 22vw;
}

#parcours img.three{
    position: absolute;
    top: 70px;
    left: 40vw;
    background-color:#344e41;
    border-color:white;
    padding:20px 25px;
}

#parcours img.four{
    position: absolute;
    top: 350px;
    left: 33vw;
    padding:0px 55px;
    object-fit: contain;
}


#parcours img.five{
    position: absolute;
    top: 250px;
    left: 55vw;
    background-color:white;
    border-color: #344e41;

}

#parcours img.six{
    position: absolute;
    top: 100px;
    left: 70vw;
    background-color:#344e41;
    border-color:white;
    padding:20px 25px;
}

#parcours img.end{
    position: absolute;
    top: 300px;
    left: 75vw;

    width:150px;
    border:none;
    background-color: rgba(0, 0, 0, 0);

    transform: rotate(15deg);
}



#parcours span.five:hover::after{
    content:"Votre histoire ?";
    position:absolute;
    width:100%;

    text-align:center;

    top:20%;
    left:0;
    margin:auto;

    font-family: sams;
    font-size: 20pt;


}


/*----------- Récits -----------*/

#recits{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding:20px 16vw;
    background-color: #dad7cd;
    position:relative;


}

#recits h2{
    text-align: center;
}

#recits > p {
    width:100%;
    max-width:75vw
}

.recit{
    display:flex;
    flex-direction: row;
    margin:15px 0 15px 0;
    padding:10px;
    background-color: rgba(255, 255, 255, 0.216);
    border-radius: 5px;
}

.recit video{
    border-radius:10px;
    padding:10px 5px 5px 5px;
    position: relative;
    z-index: 2;

}



.recit .text-holder{
    padding:10px 10px 0 20px;
    max-width:60vw;
    display:flex;
    flex-direction: column;
    justify-content: start;


}

.recit .text-holder h3{
    font-size: 25pt;
    line-height:25pt;
}

.recit .text-holder h4{
    font-size: 20pt;
    line-height:20pt;
}

.recit .text-holder h5{
    font-size: 20pt;
    line-height:20pt;
}

.recit .text-holder h6{
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size:15pt;
    font-style: italic;
    color:#2e463a;
    line-height:auto;
    margin:0;
    padding:0;
}

.recit .text-holder p{
    padding-bottom:15px;
}

.recit.two {
    direction:rtl;
}

.recit.two .text-holder{
    padding:10px 20px 0 10px;
}

#recits .votreHistoire{
    padding:20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}


#recits .votreHistoire h3{
    margin:25px 0 10px 0;
    font-family: 'Jost';
    font-weight: medium;
    text-align: center;
}

#recits .votreHistoire h4{
    margin:0 0 30px 0;
    font-family: 'Jost';
    font-weight:normal;
    text-align: center;
    font-size:15pt;
}



#recits button{

    background-color: #344e41;
    border: none;
    color: white;
    padding: 15px 32px 20px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border-radius: 5px;
    transition-duration: 0.2s;

    font-family: 'Jost';
    font-weight: medium;
    font-size: 20pt;

    position:relative;
    z-index:2;
}

#recits button:hover{
    transform: scale(1.1);
}


.button-lire{
    display:none !important;
}



/*---------- Formats ----------*/
#formats{
    background-color: #a3b18a;
    position:relative;
    padding:20px 16vw;


}

#formats > p{
    margin:0 auto;
}

#formats p.bonus{
    font-style: italic;
    font-weight: 400;
    margin:20px 0 0 0;
}

#formats .recits-courts{
    display:flex;
    flex-direction: row;
}





/* -IMGS- */
#formats .multi-imgs-holder{
    position:relative;
}


#formats .multi-imgs-holder img{
    position:absolute;
    transition-duration: 0.2s;
    border-radius: 5px;
    width:14vw;
}

#formats .multi-imgs-holder video{
    position:absolute;
    transition-duration: 0.2s;
    border-radius: 5px;
    width:28vw;
}


#formats .multi-imgs-holder .invis{
    position:relative;
    opacity: 0;
    margin-left: 12.5vw;
    padding-right:5px;
    margin-top:140px;
    box-sizing: content-box;
    z-index:0;
    pointer-events: none;
    
}

#formats .multi-imgs-holder .one{
    top:20px;
    left:-3.5vw;
    transform:scale(0.7) rotate(-25deg);
    z-index:1;
    height:14vw;
    width:auto;
}

#formats .multi-imgs-holder .two{
    left:13vw;
    top:30px;
    transform:scale(0.7) rotate(-10deg);
    z-index:1;
}


#formats .multi-imgs-holder .three{
    left:3.5vw;
    top:90px;
    transform:scale(0.7) rotate(10deg);
    z-index:2;
}

#formats .multi-imgs-holder .four{
    left:5vw;
    top:320px;
    transform:scale(0.8);
    z-index:3;
}





#formats .multi-imgs-holder img:hover{
    z-index:10;
    transform:scale(0.9);
}

#formats .multi-imgs-holder video:hover{
    z-index:10;
    transform:scale(0.9);
} 

#formats .videoDrone{
    border-radius: 3px;
    max-width: 77%;
}


/* - texts -*/

#formats h2{
    text-align:center;
    margin-bottom: 20px;
}

#formats .text-holder{
    margin:0 0 0 20px;
    width:50%;
}

#formats b {
    font-weight:700;
    color:#fffdf6;
}

#formats .bonus b{
    color:#2e463a;
}

/*---------- Contact ----------*/

#contact {
    display:flex;
    flex-direction: column;
    align-items: center;
    position:relative;
    background-color:#dad7cd;

    padding:25px 16vw;
}


#contact > div{
    display: flex;
    justify-content: center;
    margin:20px 0;
}

#contact .profilInsta{
    width:15vw;
    border-radius: 5px;

}

#contact > div .liens-holder{
    display: flex;
    flex-direction: column;
    align-items: start;
    margin:0 15px;
} 

#contact .liens-holder a {
    display: flex;
    justify-content: start;
}

#contact .lien svg {
    height:40px;
    display:inline-block;
    margin:0;
    padding:0;

}

#contact > p {
    margin:15px 0;
}


#contact h3{
    font-family: 'Jost', serif;
    font-size:15pt;
    color:#2e463a;
    
}

#contact .lien a{
    display: flex;
    align-items: center;
    justify-content: start;
}





/* ------------ VAGUES ------------- */

/* Referencing an SVG clipPath */
.vague{
    position:relative;
    display: block;
    line-height: 0;
    top:-1px;

}

.dune{
    position:relative;
    display: block;
    line-height: 0;
    bottom:-1px;

}

.chemin-pas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow-y:visible;
    width:100%;
    display:none;
}

.chemin-pas.pc{
    display: block;
}

.pas {
    position: absolute;
    width: 12px;
    height: 22px;
    transform-origin: center;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pas.visible {
    opacity: 1;
}

/* pied */
.pas::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: contain;
    background-repeat: no-repeat;
    transform: scale(5) translate(1px, 0);
    z-index:1;
}


.pas.gauche::before {
  background-image: url('images/pas_g.svg');
  /*border: solid 1px green;*/
  
}

.pas.droit::before {
  background-image: url('images/pas_d.svg');
  /*border: solid 1px blue;*/
}

/*
.pas.in-moi{
    background-color:red;
}


.pas.in-parcours{
    background-color:blue;
}

.pas.in-recits{
    background-color:orange;
}

.pas.in-formats{
    background-color:cyan;
}


.pas.in-contact{
    background-color:brown;
}
/**/


/** ------- FOOTER -------**/


#footer{
    position:relative;
    z-index: 1;
    background-color:#344e41;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#footer p{
    text-align: center;
    padding:auto;
    padding:10px 0;
    font-size: medium;
}

#footer ul{
    display:flex;
    flex-direction: column;
    justify-content: space-around;
    list-style-type: none;

    margin:5px 20px;
}

#footer a{
    text-decoration: none;
    color:white;
    display: inline-block;
    transition: all 0.2s;
    font-size: medium;
}

#footer a:hover{
    transform:scale(1.1)
}



/* ----------------- RESPONSIVE --------------------- */

@media (max-width: 1390px) {
    #moi, #recits, #formats, #contact {
        padding:20px 10vw;
   }
}

@media (max-width: 1024px) {

    .chemin-pas.tablette{
        display: block;
    }

    .chemin-pas.pc{
        display: none;
    }


    #moi, #recits, #formats, #contact {
        padding:20px 5vw;
   }

    #moi .multi-imgs-holder img:hover{

        left:40vw !important;
        transform:scale(2.5) !important;
        z-index:10;
    }





   #recits .recit video{
        float:left;
        margin:10px;
        max-width:25vw;
        height:auto;
   }


    #recits .recit.two{
        direction: ltr;
    }


   #recits .recit{
        display:block;
   }

   #recits .recit .text-holder{
    display:block;
    max-width:100%;
   }


   #formats .multi-imgs-holder{
        float:left;
   }

   #formats .recits-courts{
    display:block;
   }

   #formats .text-holder{
    width:auto;
   }

   #formats .multi-imgs-holder .four{
    top:250px;
   }


   /** -- Parcours -- **/

   #parcours {
    height:auto;
    padding:20px 5vw;
   }

   #parcours .multi-imgs-holder{
    display: flex;
    overflow-x:scroll;
    width:100%;
    left:0;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;

   }

   #parcours .multi-imgs-holder img{
        position: relative; 
        top:0;
        left:0;
        width:200px;
        margin:10px 20px;
        opacity: 0.8;
   }

   #parcours .multi-imgs-holder img:hover{
        opacity: 1;
   }

   #parcours .multi-imgs-holder img.end{
    position: relative; 
    display: none;
   }


}

@media (max-width: 768px) {

    
    .chemin-pas.tablette{
        display: none;
    }

    
    .chemin-pas.portable{
        display: block;
    }

    /*------ MENU -------*/
    
    #menu{
        position:fixed;
        width:100%;
        height:100%;
        overflow: hidden;
        flex-direction: column;
        justify-content: space-between;
        padding:20% 0;
        z-index:1000;
        background-color:rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transform: translateY(-100%);
        transition: transform .3s ease;
    }

    body.menu-open {
        overflow: hidden;
    }


    #menu.is-open {
        transform: translateY(0);
    }


    #menu li::after{
        display:none;
    }

    #menu li{
        width:100%;
    }

    #menu li a {
        display: flex;
        justify-content: center !important;
        align-items: center !important;
        width:100%;
        font-size: 30pt;
        font-weight: 300;
    }

    #menu li a:hover{
        font-size: 33pt;
    }

    #menu .logo{
        width:250px;
    }

    #logoH1{
        width:80%;
        left:10%;
        top:120px;
    }

    #header{
        top:0;
        left:0;
    }

    #menu-logo{
        display:block;
        position:fixed;
        left:40px;
        top:40px;
        width:50px;
        z-index:1001;
        cursor: pointer;

        background:none;
        border:none;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 10px;
        display:flex;
    }

    body.menu-open {
        overflow: hidden;
        backdrop-filter: 10px;
    }

    html{
        scroll-padding-top: 0;
    }

    .burger-icon path {
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }

        /* quand le menu est ouvert */
    #menu-logo.is-open .line1 {
        opacity: 0;
    }

    #menu-logo.is-open .line2a {
        transform:rotate(-45deg);
    }

    #menu-logo .line2b{
        opacity: 0;
    }

    #menu-logo.is-open .line2b{
        transform:rotate(405deg);
        opacity: 1;
    }

    

    #menu-logo.is-open .line3 {
        opacity: 0;
    }


    #moi .text-holder h3{
        clear:both;
    }


    #recits p{
        max-width: 100%;
    }

    .text-suite{
        display:none;
    }

    .button-lire{
        display: flex !important;
        border:none !important;
        background:none !important;
        color:#2e463a !important;
        padding:5px 0 5px 0 !important;
        font-size: 15pt !important;
        border-radius: 5px;
        cursor:pointer;
        font-style: italic;

  
    }

    .button-lire::before{
        content:url('images/arrow-down.svg');
        width:20px;
        padding:0 5px;
    }

    .button-lire.is-open-lire::before{
        content:url('images/arrow-up.svg');
        width:20px;
        padding:0 5px;
    }

    #recits h6{
        padding-bottom:20px;
    }


    /*--- Formats --- */

    #formats .multi-imgs-holder{
        display:flex;
        justify-content: space-evenly;
        align-items: center;
        padding:20px;
    }

    #formats .multi-imgs-holder img{
        position: relative;
        top:0 !important;
        left:0 !important;
        width:15vw;
    }

    #formats .multi-imgs-holder video{
        position: relative;
        top:0 !important;
        left:0 !important;
        height:15vw;
        width:auto;
    }

    #formats .multi-imgs-holder img.invis{
        display:none;
    }

    #formats .multi-imgs-holder img.one{
        order: 2;
        transform: rotate(-15deg) !important;
        height:15vw;
        width:auto;
    }

    #formats .multi-imgs-holder img.two{
        order: 1;
        transform: rotate(-7deg) !important;
    }

    #formats .multi-imgs-holder img.three{
        order: 3;
        transform: rotate(5deg) !important;
    }

    #formats .multi-imgs-holder video.four{
        order: 4;
        transform: rotate(2deg) !important;
    }

    #formats .recits-courts{
        display:flex;
        flex-direction: column;
    }

    #formats .text-holder{
        width:100%;
    }

    /** --- contact --- **/

    #contact div{
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }


    #contact div .liens-holder{
        order:1;
        margin-bottom:15px; 
    }

    #contact .profilInsta{
        width:25vw;
        border-radius: 5px;
    }

    #contact .profilInsta-wrap{
        order:2;
    }
}


@media (max-width: 500px) {
    #contact .profilInsta{
        width:45vw;
        border-radius: 5px;
    }

    #formats .multi-imgs-holder img{
        position: relative;
        width:12vw;
    }

    #formats .multi-imgs-holder video{
        position: relative;
        height:12vw;
        width:auto;
    }

    #formats .multi-imgs-holder img.one{
        height:12vw;
        width:auto;
    }

    #moi .multi-imgs-holder img.one{
        top:30px;
    }
    
    #moi .multi-imgs-holder img.two{
        top:40px;
    }
    
    #moi .multi-imgs-holder img.three{
        top:110px;
    }

    #menu li a{
        font-size: 20pt;
    }

    #menu li a:hover{
        font-size:23pt;
    }

    #menu .logo{
        width:60vw;
    }

    #contact .liens-holder a{
        font-size: 12pt;
    }

}