@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

@import url('https://fonts.googleapis.com/css2?family=Exo:wght@400;600;700;900&family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,400&display=swap');

:root{
    --max-width: 1200px;
    --color-primary: #c25f13;
}

* {
    box-sizing: border-box;
}

html,
body{
    padding: 0;
    margin: 0;
    color: #000;
    font-size: 18px;
    scroll-behavior: smooth;
    width: 100vw;
    height: 100vw;
    max-width: 100%;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
}

body{
    overflow-x: hidden;
}

body,
input,
textarea{
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Exo', sans-serif;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0;
}

h2{
    font-size: 40px;
}

/***************************************
    Background video
***************************************/

.background-video__image {
    position: absolute;
    left: 0;
    top: 100vh;
    width: 100vw;
    height: calc(100% - 100vh);
    pointer-events: none;
    z-index: -1;
}
.background-video video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -2;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top top;
}



.background-video::before, 
.background-video::after {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgb(255 227 195 / 51%);
    z-index: -1;
    top: 0;
    left: 0;
}

.background-video::after {
    background-image: url("/assets/images/pixel-video-pattern.png");
    background-position: center center;
    background-size: auto;
    background-repeat: repeat;
    background-attachment: scroll;
    opacity: 1;
    z-index: -2;
}


/***************************************
    Header
***************************************/

.header {
    position: fixed;
    top: 0;
    width: 100vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    z-index: 1;
    background-color: transparent;
    transition: all 300ms ease-in-out;
    justify-content: space-around;
}

.header__logo svg{
    width: 64px;
    height: 64px;
    transition: all 300ms ease-in-out;
}

header.sticky .header__logo svg{
    width: 36px;
    height: 36px;
}

.header__logo svg path{
    fill: var(--color-primary);
    transition: all 300ms ease-in-out;
}

.header.sticky .header__logo svg path{
    fill: #FFF;
}

html:not(.touchevents) .header__logo:hover svg path{
    fill: #FFF;
}

.header__logo:active{
    opacity: 0.5;
}


.header__menu {
    display: flex;
    flex: 1;
    justify-content: end;
}

.header__menu a{
    margin-left: 20px;
    margin-right: 20px;
    text-decoration: none;
    color: #000;
    font-size: 16px;
    text-transform: uppercase;
    transition: color 300ms ease-in-out;
    font-family: 'Exo', sans-serif;
    font-weight: 600;
}

html:not(.touchevents) .header__menu a:hover,
html:not(.touchevents) .header__menu a.active{
    color: var(--color-primary);
}

html:not(.touchevents) .header.sticky .header__menu a:hover,
html:not(.touchevents) .header.sticky .header__menu a.active{
    color: #FFF;
}


.header__menu a:active{
    opacity: 0.5;
}
  

.header__burguer-menu {
    width: 32px;
    height: 32px;
    right: 20px;
    cursor: pointer;
    transition: 0.5s ease-in-out;
    display: none;
    z-index: 99999;
}
.header__burguer-menu--dash:nth-child(1) {
    top: 0;
    position: relative;
}
.header__burguer-menu--dash:nth-child(2) {
    top: 11px;
    position: relative;
}
.header__burguer-menu--dash:nth-child(3) {
    top: 22px;
    position: relative;
}
.header__burguer-menu--dash {
    height: 2px;
    width: 100%;
    display: block;
    background: var(--color-primary);
    transition: 0.25s ease-in-out;
    transform: rotate(0deg);
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.header.sticky .header__burguer-menu--dash{
    background: #FFF;
}
.open .header__burguer-menu--dash:nth-child(1) {
    top: 14px;
    transform: rotate(135deg);
}
.open .header__burguer-menu--dash:nth-child(2) {
    left: -30px;
    opacity: 0;
}
.open .header__burguer-menu--dash:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}




.header.sticky{
    background-color: rgba(171, 75, 23, 0.797);   
    height: 70px;
}

.header.sticky .header__logo,
.header.sticky .header__logo img{
    width: 32px;
    height: 32px;
}



.section{
    margin: 0;
    padding-top: 100px;
    padding-bottom: 10vh;
    padding-left: calc( calc(100vw - var(--max-width)) / 2);
    padding-right: calc( calc(100vw - var(--max-width)) / 2);
    position: relative;
    width: auto;
}

.section h2{
    text-align: center;
    margin-top: 0;
    margin-bottom: 60px;
    text-transform: uppercase;
    font-size: 50px;
}

.section h2 span{
    color: var(--color-primary);
}



/***************************************
    Section hero
***************************************/

.section-hero{
    height: 100vh;
    display: flex;
    margin: auto;
    flex-direction: column;
    max-width: var(--max-width);
    position: relative;
    color: #000000;
}

.section-hero__profile-image{
    position: absolute;
    bottom: 0;
    height: 90vh;
    right: calc( calc(var(--max-width) / 2) + 100px);
}

.section-hero__profile{
    display: flex;
    position: relative;
    flex-direction: column;
    margin-top: calc(100vh / 2);
    transform: translateY(-50%);
    padding-left: calc(var(--max-width) / 2);
}


.section-hero__profile-name{
    color: var(--color-primary);
    display: block;
    font-size: 60px;
    text-transform: uppercase;
    line-height: 1;
    font-weight: 900;
}

.section-hero__profile-service{
    font-size: 60px;
    font-weight: 400;
    margin-top: 0;
    text-transform: uppercase;
    font-family: 'Exo', sans-serif;
}

.section-hero__profile-service a{
    color: #000000;
    transition: color 300ms ease-in-out;
}

html:not(.touchevents) .section-hero__profile-service a:hover{
    text-decoration: none;
    color: var(--color-primary);
}

.section-hero__profile-service a:active{
    opacity: 0.6;
}


.section-hero__profile-social{
    display: flex;
}

.section-hero__profile-social a{
    margin-right: 16px;
}

.section-hero__profile-social svg{
    width: 42px;
    height: 42px;
}

.section-hero__profile-social path,
.section-hero__profile-social rect{
    fill: #000000;
    transition: all 300ms ease-in-out;
}

html:not(.touchevents) .section-hero__profile-social a:hover path,
html:not(.touchevents) .section-hero__profile-social a:hover rect{
    fill: var(--color-primary);
}

.section-hero__profile-social a:active,
.section-hero__profile-social a:active{
    opacity: 0.5;
}

.section-hero__profile-phrase{
    font-size: 30px;
    width: calc(var(--max-width) / 2);
    font-style: italic;
    font-weight: 300;
}


.section-hero__view-more{
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 100%;
    border:  2px solid var(--color-primary);
    font-size: 40px;
    overflow: hidden; 
    cursor: pointer;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-decoration: none;
    cursor: pointer;
    transition: all 300ms ease-in-out;
}

html:not(.touchevents) .section-hero__view-more:hover{
    width: 80px;
    height: 80px;
    bottom: 25px;
}

.section-hero__view-more:active{
    opacity: 0.5;
}

.section-hero__view-more i{
    color: var(--color-primary);
    animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown{
    0%{
        transform: translateY(-15px);
        opacity: 0;
    }
    45%{
        transform: translateY(0px);
        opacity: 1;
    }
    65%{
        transform: translateY(-5px);
        opacity: 1;
    }
    100%{
        transform: translateY(15px);
        opacity: 0;
    }
}



/*****************************************************
    Section services
******************************************************/


.section-services{
    background-color: #FFF;
    background-image: url("/assets/images/background-services.webp");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section-services__challenge{
    position: relative;
}

.section-services__challenge h3 {
    text-align: center;
    text-transform: uppercase;
    font-size: 30px;
}

.section-services__challenge .left-content
{
    width: 60%;
    padding-right: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: justify;
}

.section-services__challenge .left-content ul:first-of-type{
    list-style: none;
    margin: 0;
    padding: 0 0 30px 0;
}

.section-services__challenge .left-content ul:first-of-type li{
    margin-bottom: 10px;
}


.section-services__challenge h4{
    text-transform: uppercase;
}

.section-services__challenge .left-content ul:last-of-type{
    margin: 0;
    padding-left: 18px;
}

.section-services__challenge .left-content ul:last-of-type li{
    margin-top: 5px;
}

.section-services__challenge .left-content ul:last-of-type li::marker{
    color: var(--color-primary);
}

.section-services__challenge .right-content{
    width: 40%;
    position: absolute;
    right: 0;
    top: 80px;

}

.section-services__challenge .right-content iframe{
    width: 100%;
    aspect-ratio: 16 / 9;
    border: solid 3px var(--color-primary); 
}

.section-services__challenge .right-content h4{
    margin-top: 20px;
    margin-bottom: 20px;
    text-transform: none;
}

.section-services__challenge .right-content > div{
    display: flex;
}

.section-services__challenge .right-content > div > div:first-child{
    padding-right: 30px;
}

.section-services__challenge__items-contact{
    font-size: 22px;
    display: flex;
    align-items: center;
}

.section-services__challenge__items-contact-label{
    display: flex;
    margin-bottom: 8px;
}

.section-services__challenge__items-contact svg{
    height: 22px;
    width: 22px;
    margin-right: 10px;
}

.section-services__challenge__items-contact svg path{
    fill: var(--color-primary);
}

.section-services__challenge__items-contact a{
    color: var(--color-primary);
}

.section-services__challenge__items-contact a:hover{
    text-decoration: none;
}

.section-services__list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    z-index: 1;
    border-top: solid 1px var(--color-primary);
    margin-top: 50px;
    padding-top: 20px;
}

.section-services__list-item{
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.section-services__list-item svg{
    width: 100px;
    height: 100px;
    position: relative;
    float: left;
    margin-right: 20px;
}

.section-services__list-item svg path{
    fill: var(--color-primary);
}

.section-services__list-item h3{
    font-size: 28px;
    display: inline-block;
    text-transform: uppercase;
    color: #000;
}

.section-services__list-item h3:after {
    background-color: var(--color-primary);
    content: "";
    display: block;
    height: 2px;
    left: 0;
    margin: 10px 0 0 0;
    top: 0;
    width: 64px;
}

.section-services__list-item.two-columns{
    grid-column: 3 / 3;
    grid-row: 1 / 3;
}

.section-services__list-item p{
    line-height: 1.5;
    text-align: justify;
}


/*****************************************************
    Section space
******************************************************/

.section-space{
    background-color: transparent;
}

.section-space__title{
    color: #FFF;
}

.section-space__gallery{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
    grid-auto-rows: minmax(calc(80vh / 4), auto);
    gap: 20px;
    grid-auto-flow: dense;
}
  
.grid-item.wide {
      grid-column: span 2;
}
  
.grid-item.tall {
      grid-row: span 2;
}

.grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;  
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 200ms ease-in-out;
}

html:not(.touchevents) .grid-item:hover{
    transform: scale(1.05);
}
  
/*****************************************************
    Section temoignages
******************************************************/


.section-temoignages{
    position: relative;
    background-color: #FFF;
    background-image: url("/assets/images/background-services.webp");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-left: 0;
    padding-right: 0;
}

.section-temoignages__title{
}

.section-temoignages__list{
   
    position: relative;
    width: 100vw;
    overflow-x: hidden;
}
.section-temoignages__list > ul{
    height: 340px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 9999px;
    overflow-y: hidden;
}

.section-temoignages__list > ul > li{
    height: 340px;
    position: relative;
    display: flex;
    float: left;
    width: 100vw;
    transition: margin-left 600ms ease-in-out;
    padding: 0 calc(calc(100vw - var(--max-width)) / 2);
    margin-bottom: 100px;
}

.section-temoignages__list > ul > li:last-child{
    opacity: 0;
}

.section-temoignages__list > ul > li > img{
    margin-right: 30px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 30px;
    background: var(--color-primary);
    border-radius: 50%;
    padding-left: 7px;
    padding-top: 3px;
    height: 100px;
    width: 100px;
}

.section-temoignages__list-content{
    flex: 1;
}

.section-temoignages__list-content h3{
    display: inline-block;
    padding-bottom: 0;
    margin-bottom: 0;
    font-size: 30px;
    font-weight: 400;
    color: #000;
    font-family: 'Roboto Condensed', sans-serif;
}

.section-temoignages__list-content h3:after {
    background-color: var(--color-primary);
    content: "";
    display: block;
    height: 2px;
    left: 0;
    margin: 20px 0;
    top: 0;
    width: 44px;
}

.section-temoignages__list-content svg{
    width: 38px;
    position: absolute;
    top: 0;
    right: 20vw;
}

.section-temoignages__list-content svg path{
    fill: var(--color-primary);
}

.section-temoignages__list-content p{
    font-style: italic;
    line-height: 1.5;
    padding: 0;
    margin: 0;
}


.js-Carousel .js-Carousel-arrowPrev, 
.js-Carousel .js-Carousel-arrowNext {
    position: absolute;
    top: calc(50% - 80px);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    border:  2px solid var(--color-primary);
    font-size: 40px;
    overflow: hidden; 
    cursor: pointer;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 220ms ease-in-out;
    color: var(--color-primary);
    font-size: 24px;
    background-color: transparent;
}
html:not(.touchevents) .js-Carousel .js-Carousel-arrowPrev:hover, 
html:not(.touchevents) .js-Carousel .js-Carousel-arrowNext:hover {
    transform: scale(1.2);
}

.js-Carousel .js-Carousel-arrowPrev:active, 
.js-Carousel .js-Carousel-arrowNext:active {
    opacity: 0.7;
}
.js-Carousel .js-Carousel-arrowPrev {
    left: 50px;
}
.js-Carousel .js-Carousel-arrowNext {
    right: 50px;
}
.js-Carousel .js-Carousel-dots {
    display: inline-block;
    height: 10px;
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}
.js-Carousel .js-Carousel-dots li {
    background: #CCC;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    height: 10px;
    padding: 0;
    margin-left: 10px;
    margin-right: 10px;
    width: 10px;
    transition: all .2s ease;
}
.js-Carousel .js-Carousel-dots li.is-active {
    background: var(--color-primary);
}
html:not(.touchevents) .js-Carousel .js-Carousel-dots li:hover {
    background: #f5f5f5;
}

/*************************************************************
    Section contacts
**************************************************************/

.section-contacts{
    background-color: #513A2A;
    color: #FFF;
    padding: 0;
    height: calc(100vh / 2);
}

.section-contacts__items{
    position: relative;
    left: 50%;
    transform: translateX(-100%);
    width: calc(var(--max-width / 2));
    height: calc(100vh / 2);
    padding-left: 20px;
}

.section-contacts__items-title{
    font-size: 40px;
    margin-top: 60px;
    margin-bottom: 20px;
    font-weight: 400;
    text-transform: uppercase;
}

.section-contacts__items-title span{
    color: var(--color-primary);
}

.section-contacts__items{
    width: calc(var(--max-width) / 2 );
    display: inline-block;
}

.section-contacts__items-contact{
    margin-bottom: 60px;
}

.section-contacts__items-contact-label{
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    color: #999;
}

.section-contacts__items-contact img{
    display: block;
    max-height: 64px;
    margin-top: 20px;
}

html.no-touchevents .section-contacts__items-contact img:hover{
    opacity: 0.8;
}

html.no-touchevents .section-contacts__items-contact img:active{
    opacity: 0.5;
}


.section-contacts__items-contact-label svg{
    height: 20px;
    width: 20px;
    margin-right: 10px;
}

.section-contacts__items-contact-label svg path{
    fill: var(--color-primary);
}

.section-contacts__items-contact-value{
    font-size: 16px;
    color: #FFF;
    transition: all 300ms ease-in-out;
}

html:not(.touchevents) a.section-contacts__items-contact-value:hover{
    color: var(--color-primary);
    text-decoration: none;
}

a.section-contacts__items-contact-value:active{
    opacity: 0.5;
}

.section-contacts__items > :nth-child(2){
    width: 300px;
    float: left;
}


.section-contacts__map{
    width: calc(100vw / 2 );
    height: calc(100vh / 2);
    position: absolute;
    right: 0;
    top: 0;
}

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

    .section-temoignages__list > ul > li{
        width: 100vw;
        padding: 0 15vw;
    }

}

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

    .section{
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-hero__profile{
        padding-left: 45vw;
    }

    .section-hero__profile-image{
        position: absolute;
        bottom: 0;
        height: 80vh;
        transform: translateX(-100%);
        right: auto;
        left: 40%;
    }

    .section-hero__profile-name{
        font-size: 50px;
    }

    .section-hero__profile-service{
        font-size: 50px;
    }

    .section-space__gallery{
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .grid-item.wide {
        grid-column: span 1;
    }

    .grid-item.tall {
        grid-row: span 1;
    }

    .section-temoignages{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .section-temoignages__list{
        overflow: hidden;
    }

    .js-Carousel .js-Carousel-arrowPrev,
    .js-Carousel .js-Carousel-arrowNext{
        top: 20px;
    }

    .js-Carousel .js-Carousel-arrowPrev{
        left: 20px;
    }

    .js-Carousel .js-Carousel-arrowNext{
        right: 20px;
    }

    .section-contacts__items{
        width: calc(calc(100vw / 2) - 20px); /* section padding */
        position: relative;
        left: auto;
        transform: none;
    }
    .section-contacts,
    .section-contacts__map{
        height: 500px;
    }

    .section-contacts__items-contact{
        width: auto !important;
        float: none !important;
    }
}


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

    .section-space__gallery{
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }


    .section-temoignages__list{
        padding-bottom: 40px;
    }

    .section-temoignages__list > ul{
        height: auto;
    }

    .section-temoignages__list > ul > li{
        flex-direction: column;
        align-items: center;
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 30px;
        height: auto;
    }

    .section-temoignages__list > ul > li img{
        margin-right: 0;
    }

    .section-temoignages__list > ul > li h3{
        text-align: center;
        display: block;
        margin-top: 20px;
        position: relative;
    }

    .section-temoignages__list-content h3:after{
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
        top: 100%
    }

    .section-temoignages__list-content svg{
        position: relative;
        left: 0;
        right: auto;
    }

}


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

    .section-hero__profile-name{
        font-size: 40px;
    }

    .section-hero__profile-service{
        font-size: 40px;
    }

    .section-services__challenge h3{
        font-size: 20px;
    }
    .section-services__challenge .right-content,
    .section-services__challenge .left-content{
        position: relative;
        top: auto;
        bottom: auto;
        width: 100%;
    }

    .section-services__challenge .left-content{
        padding-right: 0;
    }
    .section-services__challenge__items-contact a{
        font-size: 16px;
    }
    

    .section-space__gallery{
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

}



@media only screen and (max-width: 768px) {
    
    .background-video video {
        width: 100%;
        height: auto;
    }

    .header{
        justify-content: space-between;
        align-items: flex-start
    }

    .header__burguer-menu{
        display: block;
    }

    header:not(.open) .header__menu{
        opacity: 0;
        pointer-events: none;
    }

    .header__menu{
        opacity: 1;
        pointer-events: all;
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        background-color: #513A2A;
        padding: 40px 30px;
        position: absolute;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        transition: opacity 300ms ease-in-out;
    }

    .header__menu a{
        line-height: 70px;
        font-size: 30px;
        margin-top: 30px;
        color: #FFF;
    }

    .section{
        padding-top: 40px;
    }

    .section h2{
        margin-bottom: 40px;
        font-size: 30px;
    }


    .section-hero__profile{
        margin-top: calc(100vh / 3);
        padding-left: 32%;
    }


    .section-hero__profile-name{
        font-size: 40px;
    }

    .section-hero__profile-service{
        font-size: 40px;
    }


    .section-hero__profile-social svg{
        width: 42px;
        height: 42px;
    }

    .section-services__list{
        grid-template-columns: none;
    }

    .section-services__list-item.two-columns{
        grid-column: 1 / 1;
        grid-row: 1 / 1;
    }

    .section-services__list-item{
        padding: 0 0 20px 0;
    }

    .section-services__list-item svg{
        float: left;
    }

    .section-services__list-item h3{
        float: left;
    }



    .section-contacts{
        height: auto;
        padding-left: 0;
    }
    .section-contacts__items-title{
        text-align: center;
        margin-top: 20px;
    }
    .section-contacts__items{
        width: 100vw;
        height: auto;
        padding-left: 20px;
        padding-right: 20px;
    }    

    .section-contacts__items-contact{
        margin-bottom: 30px;
    }

    .section-contacts__map{
        width: 100vw;
        position: relative;
        left: 0;
        right: 0;
    }
}

@media only screen and (max-width: 550px) {
    .section-hero__profile-image{
        left: 55%;  
    }

    .section-hero__profile{
        padding-left: 45%;
    }

    .section-hero__profile-name{
        font-size: 40px;
        font-weight: 700;
    }

    .section-hero__profile-service{
        font-size: 20px;
    }
}


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

    .section-hero__profile{
        padding-left: 35%;
    }

}


@media screen and (orientation:landscape) and (max-width: 1024px) and (max-height: 420px) {

    body::before{
        content: "";
        display: block;
        width: 100vw;
        height: 100vh;
        left: 0;
        top: 0;
        position: fixed;
        background-color: #000;
        z-index: 9999;
    }

    body::after{
        content: "Veuillez utiliser le téléphone à la verticale";
        display: inline-block;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        position: fixed;
        color: #FFF;
        z-index: 9999;
        font-size: 30px;
        text-align: center;
    }
}