@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Jost:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
:root{
    --cp-orange-600:#FE9520;
    --cp-orange-500:#F5AF58;
    --cp-orange-400:#FBC683;
    --cp-orange-300:#F9D1A0;
    --cp-orange-200:#FFE7C9;

    --cp-pink-200:#FADCD6;

    --cp-blue-400:#A0DBE0;
    --cp-blue-200:#B6D1D9;

    --cp-gray-100:#F7F6F6;
    --cp-gray-900:#6E6E6D;

    --ff-primary:'Jost', sans-serif;
    --ff-secondary:'Montserrat', sans-serif;

}
* {
    box-sizing:border-box;
    margin:0;
    padding:0;
    min-width:0px;
}
img{
    display: block;
}
h1,h2,h3,h4,h5,h6{
    font-family: var(--ff-primary);
}
p{
    font-family: var(--ff-secondary);
}

header{
    height:80lvh;
    min-height:600px
}
header:has(.mlSection){
    height:60lvh;
}

.containerTitre{
    width:100%;
    height:40%;
    display: grid;
    place-items: start center;
    position:relative;
    /* outline: 1px solid orangered; */
}
.logo{
    display: block;
    height:200px;
    /* outline: 1px solid orangered; */
}
.containerTitre h1{
    color:var(--cp-orange-600);
    font-weight: 600;
    font-size: 8rem;
    position:absolute;
    bottom:-2rem;
    text-shadow:0 3px 7px rgba(0 0 0 / 0.25);
}
.containerSoustitre{
    width:100%;
    height:60%;
    background-color:var(--cp-blue-400);
    display: grid;
    place-items: center;
}
.containerSoustitre h2{
    color:white;
    font-weight: 400;
    font-size:4rem;
    text-shadow:0 3px 5px rgba(0 0 0 / 0.35);
}


.services{
    min-height:80lvh;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    
}
.carte{
    padding-inline:20%;
    padding-block: 6rem;
    text-align: center;
    word-break: normal;
}
.carte h3{
    font-weight: 400;
    font-size:1.75rem;
    /* outline:1px solid white; */
    min-height: 2lh;
    margin-bottom:1rem;
}
.carte > p{
    font-weight: 400;
    font-size:1.25rem;
    line-height:2rem;
}
.carte:nth-child(1){
    background-color:var(--cp-orange-200)
}
.carte:nth-child(2){
    background-color:var(--cp-orange-300)
}
.carte:nth-child(3){
    background-color:var(--cp-orange-400)
}
.carte:nth-child(4){
    background-color:var(--cp-orange-500)
}





.apropos{
    min-height:80lvh;
    display: grid;
    grid-template-areas: "apropos apropos photo pourqui";
    grid-template-columns: repeat(4,1fr);
}
.apropos_text{
    grid-area: apropos;
    background-color:var(--cp-gray-100);
}
.apropos_pourqui{
    grid-area: pourqui;
    background-color: var(--cp-blue-200);
}

.apropos_text,
.apropos_pourqui{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    padding-block:2rem;
}
.apropos_text > h3{
    font-size: 2.5rem;
    margin-bottom:1rem;
}
.apropos_text > p{
    width:60%;
    text-align: justify;
    font-size: 1.25rem;
    letter-spacing: 0.1ch;
    line-height: 1.75rem;
}
.apropos_photo{
    grid-area: photo;
    width:100%;
    height:100%;
    object-fit: cover;
}

.apropos_pourqui > p{
    width:60%;
    text-align: center;
    font-size: 1.125rem;
    letter-spacing: 0.1ch;
    line-height: 1.5rem;
}





.temoignages{
    overflow: hidden;
}
.slideContainer{
    width:200vw;
    display: block;
    transition-property: transform;
    transition-duration:1s;
}
.slide{
    float:left;
    padding-block:8rem;
    width:100vw;
    height:100%;
}
/* .slide:nth-child(1){
    background-color:white;
}
.slide:nth-child(2){
    width:100vw;
    height:100%;
    background-color:var(--cp-pink-200);
} */
.slide > img{
    flex-shrink:0;
}
.containerAvis{
    position:relative;
    padding:2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    font-size:1.5rem;
    gap:2rem;
    width:800px;
    font-weight:500;
    margin:auto;
}
.commentaireInfos{
    font-weight:300;
    font-style: italic;
    color:var(--cp-gray-900);
}
.containerAvis::before{
    content:url('medias/quote.svg');
    position:absolute;
    width:4rem;
    height:4rem;
    top:-2rem;
    left:-4rem;
}
.containerAvis::after{
    content:url('medias/quote.svg');
    position:absolute;
    width:4rem;
    height:4rem;
    transform:rotate(180deg);
    top:-2rem;
    right:-4rem;
}








footer{
    /* min-height:400px;
    height:80lvh; */
    background-color:var(--cp-orange-200);
    padding-bottom:2rem;
}
.footerWrapper{
    width:960px;
    margin:auto;
    padding-block:4rem;
    display: grid;
    gap:4rem;
    grid-template-areas: "text mail call";
    place-items: start center;
}
.footerWrapper > div {
    width:100%;
    display: flex;
    flex-direction: column;
    gap:2rem;
}
.footerWrapper > div > a{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:1rem;
    border:unset;
    border:2px solid white;
    box-shadow: 0px 5px 10px -5px rgba(0 0 0 / 0.25);
    cursor:pointer;
    transition-timing-function: ease-out;
    transition-duration: 0.5s;
    font-family: var(--ff-primary);
    text-decoration: none;
    font-size:1.25rem;
    color:black;
}
.footerWrapper > div > a:hover{
    transition-timing-function: ease-out;
    transition-duration: 0.1s;
    transform:scale(1.05);
}
.callButton{
    height:4rem;
    background-color:var(--cp-blue-400);
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
    border-top-right-radius:2rem ;
}
.mailButton{
    height:4rem;
    background-color:var(--cp-orange-600);
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
    border-bottom-left-radius:2rem ;
}

.icons{
    display: flex;
    gap:1rem;
}

.bandeau{
    width:100%;
    height:80px;
    background-color:var(--cp-orange-600);
}
.bandeauWrapper{
    width:960px;
    height:100%;
    margin:auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--ff-secondary);
}

.bandeauWrapper > a{
    color:black;
}








body:is(.gray){
    background-color:var(--cp-gray-100);
}


.stripe{
    position: sticky;
    top:0;
    width:100%;
    height:48px;
    display: flex;
    justify-content: stretch;
    /* box-shadow: 0 0 10px -5px black; */
    z-index:100;
}
.stripe > div{
    width:100%;
    transition-timing-function: ease-out;
    transition-duration: 0.5s;
}
.stripe > div:nth-of-type(1){
    background-color:var(--cp-orange-600);
    flex-grow: 0;
    flex-shrink:0;
    width:25%;
}
.stripe > div:nth-of-type(2){
    background-color:var(--cp-orange-500);
}
.stripe > div:nth-of-type(3){
    background-color:var(--cp-orange-400);
}
.stripe > div:nth-of-type(4){
    background-color:var(--cp-orange-300);
}
.stripe > div:nth-of-type(5){
    background-color:var(--cp-orange-200);
}
.stripe:is(.inactive)  > div:nth-of-type(5){
    width:0px;
}
.stripe:is(.active)  > div:nth-of-type(5){
    width:100%;
}
.stripe:is(.active)>.toShrink{
    width:24px;
}






.stripe>.left{
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.stripe>.left>a{
    float:left;
    text-decoration: none;
    font-family: var(--ff-secondary);
    font-weight: 700;
    color:var(--cp-orange-200);
}
.accueil__leftarrow{
    float:left;
    height:0.75rem;
    margin:0.25rem;
    margin-right:0.5rem;
}

.stripe>.right{
    position:relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}
.stripe>.right>span{
    text-wrap: nowrap;
    position:absolute;
    right:1.5rem;
    font-family: var(--ff-primary);
    font-weight: 500;
    font-size:1.5rem;
    color:var(--cp-orange-600)
}



.mentionsLegales{
    min-height:100lvh;
    width:960px;
    margin:auto;
    display: flex;
    flex-direction: column;
    gap:4rem;
    padding:2rem;
    padding-bottom:4rem;
    background-color: white;
    box-shadow: 0 4rem 4rem -1.25rem rgba(0 0 0 / 0.25);
}
.mlSection{
    display: flex;
    flex-direction: row;
    width:100%;
    padding-inline:2rem;
    /* border: 1px solid black; */
}
/* .mlSection:not(.title){
    box-shadow: 5px 2px 10px -10px rgba(0 0 0 / 0.5);
} */

.mlSection:is(.title){
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-block:4rem;
    height:100%;
}

.mlSection:is(.title)>h1{
    font-family: var(--ff-primary);
    color:var(--cp-blue-400);
    font-weight:500;
    font-size: 2rem;
    line-height:44px;
    position: relative;
    left:-5rem;
    z-index:0;
}
.mlSection:is(.title)>h2{
    font-family: var(--ff-secondary);
    color:var(--cp-orange-600);
    font-weight:600;
    font-size: 4rem;
    line-height:44px;
    display: block;
    text-wrap: nowrap;
    text-overflow: clip;
}

.mlSection__titleBox{
    flex-grow:0;
    flex-shrink:0;
    width:33%;
    border-right: 5px solid var(--cp-orange-600);
    padding:1rem;
    display: flex;
    align-items: flex-start;
    justify-content: end;
    text-align: right;
    color:var(--cp-orange-600)
}
.mlSection__contentBox{
    flex-grow:0;
    flex-shrink:0;
    width:67%;
    padding:1rem;
    padding-left:4rem;
    gap:1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: end;
}


@media screen and (960px < width < 1600px){

    .services{
        grid-template-columns: repeat(2,1fr);
    }
    .carte{
        padding-block:6rem;
        padding-inline:3rem;
    }
    .apropos{
        grid-template-columns: repeat(2,1fr);
        grid-template-areas:
        "apropos apropos"
        "photo pourqui";
    }
    .apropos_text{

        padding:8rem;
    }
}

@media screen and (960px < width <= 1280px){
    .apropos_text > p{
        width:80%;
    }
}

@media screen and (width <=960px){


    .containerTitre > h1{
        font-size: 5rem;
        bottom:-1rem;
    }

    .services{
        grid-template-columns: 1fr;
    }
    .apropos{
        grid-template-columns: repeat(1,1fr);
        grid-template-areas:
        "apropos"
        "photo"
        "pourqui";
    }
    .apropos_text{

        padding:8rem;
    }
    .apropos_text > p{
        width:100%;
        text-align: justify;
        font-size: 1.25rem;
        letter-spacing: 0.1ch;
        line-height: 1.75rem;
    }
    .containerAvis{
        width:100%;
    }
    .containerAvis::before{
        position:relative;
        margin:auto;
        right:unset;
        left:unset;
        top:unset;
        height:8rem;
        width:8rem
    }
    .containerAvis::after{
        content:none;
    }



    footer{
        padding-bottom:6rem;
    }

    .footerWrapper{
        width:100%;
        padding:2rem;
    }
    .callButton,
    .mailButton{
        position:fixed;
        width:4rem;
        height:4rem;
        bottom:1rem;
        border-radius:1.5rem;

    }
    .callButton{
        right:1rem;
        border-bottom-right-radius:0;
    }
    .callButton > svg{
        fill:hsl(120, 100%, 5%);
    }
    .mailButton{
        left:1rem;
        border-bottom-left-radius:0;
    }
    .mailButton > svg{
        fill:hsl(23, 100%, 5%);
    }

    .callButton > span,
    .mailButton > span{
        display: none;
    }
    .footerWrapper > div > a:hover{
        transform:unset;
    }
    .footerWrapper > div > a{
        padding:0;
    }
    .footerWrapper > div > a > svg{
        transform:scale(1.5);
        opacity:1;
        mix-blend-mode: hard-light;
    }
    .bandeau{
        height:6rem;
    }
    .bandeauWrapper{
        width:100%;
        height:100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap:1rem;
    }
    .mentionsLegales{
        width:100%;
    }
}

@media screen and (width < 650px){
    header{
        height:80svh;
    }
    header > div{
        height:50%;
    }
    .logo{
        place-self: center;
    }

    .containerTitre > h1{
        text-align: center;
        font-size:2.5rem;
        word-wrap: normal;
        bottom:0rem;
    }
    .apropos_text{
        padding:2rem;
        padding-block:6rem;
    }

    .stripe>.right>span{
        font-size: 1rem;
    }
    
    
    .stripe>.left>a{
        font-size: 0.75rem;
    }
    .accueil__leftarrow{
        float:left;
        height:0.5rem;
        margin:0.25rem;
        margin-right:0.25rem;
    }

    .mlSection:is(.title)>h1{
        left:0;
        /* outline:1px solid orangered; */
    }
    .mlSection:is(.title)>h2{
        left:0;
        text-align: center;
        font-size:clamp(1rem,9vw,4rem);
        /* outline:1px solid orangered; */
    }
    .mlSection{
        flex-direction: column;
    }
    .mlSection__titleBox,
    .mlSection__contentBox{
        text-align: left;
        flex-grow:0;
        flex-shrink:0;
        width:100%;
        border-left:5px solid var(--cp-orange-600)
    }
    .mlSection__titleBox{
        text-align: left;
        display: block;
        border-right:0;
    }
    .mlSection__contentBox{
        padding-left: 2rem;
    }
}