@import url("https://fonts.googleapis.com/css2?family=Anton&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

@font-face {
    font-family: "roboto";
    src: url("https://use.typekit.net/af/9d5bd3/00000000000000007735a09f/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"), url("https://use.typekit.net/af/9d5bd3/00000000000000007735a09f/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"), url("https://use.typekit.net/af/9d5bd3/00000000000000007735a09f/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 700;
    font-stretch: normal;
}
@font-face {
    font-family: "roboto";
    src: url("https://use.typekit.net/af/92aa75/00000000000000007735a0a3/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("woff2"), url("https://use.typekit.net/af/92aa75/00000000000000007735a0a3/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("woff"), url("https://use.typekit.net/af/92aa75/00000000000000007735a0a3/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("opentype");
    font-display: auto;
    font-style: italic;
    font-weight: 700;
    font-stretch: normal;
}
@font-face {
    font-family: "roboto";
    src: url("https://use.typekit.net/af/75987d/00000000000000007735a0a8/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff2"), url("https://use.typekit.net/af/75987d/00000000000000007735a0a8/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff"), url("https://use.typekit.net/af/75987d/00000000000000007735a0a8/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("opentype");
    font-display: auto;
    font-style: italic;
    font-weight: 400;
    font-stretch: normal;
}
@font-face {
    font-family: "roboto";
    src: url("https://use.typekit.net/af/7f1b26/00000000000000007735a0ac/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"), url("https://use.typekit.net/af/7f1b26/00000000000000007735a0ac/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"), url("https://use.typekit.net/af/7f1b26/00000000000000007735a0ac/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}
@font-face {
    font-family: "bourbon";
    src: url("https://use.typekit.net/af/76bfe0/00000000000000007735a61e/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff2"), url("https://use.typekit.net/af/76bfe0/00000000000000007735a61e/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff"), url("https://use.typekit.net/af/76bfe0/00000000000000007735a61e/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("opentype");
    font-display: auto;
    font-style: italic;
    font-weight: 400;
    font-stretch: normal;
}
@font-face {
    font-family: "bourbon";
    src: url("https://use.typekit.net/af/fbe9a8/00000000000000007735a623/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"), url("https://use.typekit.net/af/fbe9a8/00000000000000007735a623/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"), url("https://use.typekit.net/af/fbe9a8/00000000000000007735a623/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}
@font-face {
    font-family:"komu-a";
    src:url("https://use.typekit.net/af/69f919/00000000000000007735a063/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/69f919/00000000000000007735a063/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/69f919/00000000000000007735a063/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display:auto;font-style:normal;font-weight:400;font-stretch:normal;
}

:root {
    --color-light-yellow: #f8f5f0;
    --color-light-blue: #BFD7DB;
    --color-blue: #009CA3;
    --dark-blue: #002B3B;
    --yellow: #FAAD00;
    --dark-yellow: #dba000;
}

::after,
::before{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-light-yellow);
    font-family: "Lato", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
}

::selection{
    background-color: var(--dark-yellow);
    color: var(--color-light-yellow);
}

html{
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    color: var(--dark-blue);
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Anton", sans-serif;
    font-style: normal;
    font-weight: 400;
}

h1, 
h2{
    font-size: 5.75em;
}

.color_light{
    color: var(--color-light-blue);
}

h1 .subtitle_header,
.button_dark p,
.button_light p{
    font-family: "Lato", Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 900;
}

.button_dark p,
.button_light p{
    font-size: 1.6em;
    font-family: "Anton", sans-serif;
    font-style: normal;
    font-weight: 400;
}

.margin_bottom_30{
    margin-bottom: 30px;
}

.margin_bottom_60{
    margin-bottom: 60px;
}

.margin_top_60{
    margin-top: 60px;
}

.img_border_radius{
    border-radius: 30px;
}

.bg-light-yellow{
    background-color: var(--color-light-yellow);
}

/* apparition site */

@keyframes apparition{
    100% {
        opacity: 1;
    }
}

/* pointer liste */

.content_project a{
    cursor: url('images/oeil.png') 50 50, pointer; 
}

/* header home */

header.header_home{
    display: flex;
    margin: 30px 8% 70px;
    justify-content: space-between;

}

.subtitle_header{
    font-size: 1.6em;
    font-family: "Lato", Arial, Helvetica, sans-serif;
font-weight: 900;
}

header .line_width_header,
header .line_height_header{
    height: 2px;
    background-color: var(--dark-blue);
}

header .col_left .line_height_header{
    position: relative;
    width: 200px;
    transform: rotate(90deg);
    top: -35px;
    left: -130px;
}

header.header_home .col_right .line_width_header{
    position: absolute;
    width: 40%;
    top: 45px;
    right: 0px;
}

header.header_home .col_left .line_width_header{
    position: absolute;
    width: 50%;
    top: 160px;
    left: -100px;
    transition: width 0.30s;
}

header.header_home .button_dark{
    margin-top: 30px;
}

/* footer */

.footer_yellow{
    background-color: var(--yellow);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
    height: 100vh;
    z-index: -10;
    position: sticky;
    bottom: 0;
    left: 0;
}

/* boutons */

a{
    cursor: pointer;
    text-decoration: none;
}

.button_dark a,
.button_light a{
    display: flex;
    gap: 20px;
    text-decoration: none;
}

.button_return a{
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}


.button_dark .circle_arrow,
.button_light .circle_arrow{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.button_dark .circle_arrow .arrow{
    position: relative;
    transition: all 0.5s;
}

.button_dark .circle_arrow .arrow.second{
    left: -50px;
    top: -3px;
}

.button_dark .circle_arrow .arrow.first{
    left: 0px;
}

.button_dark .circle_arrow{
    background-color: none;
    border: var(--dark-blue) solid 1px;
    transition: all 0.25s;
}

.button_light .circle_arrow{
    background-color: var(--dark-blue);
}

.button_dark .line_arrow,
.button_light .line_arrow,
.button_dark .start_top_arrow,
.button_light .start_top_arrow,
.button_dark .start_bottom_arrow,
.button_light .start_bottom_arrow{
    height: 1px;
    background-color: var(--dark-blue);
    position : relative;
}

.button_return .circle_arrow{
    width: 40px;
    height: 40px;
    rotate: 180deg;
    margin-left: 0px;
}

.return .circle_arrow.arrow_return{
    rotate: 180deg;
}

.button_return .start_bottom_arrow,
.button_return .start_top_arrow,
.button_return .line_arrow{
    height: 1px;
    background-color: var(--dark-blue);
    position : relative;
}

.button_dark .line_arrow,
.button_light .line_arrow,
.button_return .line_arrow{
    width: 23px;
    top: 19px;
    left: 7px;
}

.button_dark .start_top_arrow,
.button_light .start_top_arrow,
.button_return .start_top_arrow{
    width: 12px;
    transform: rotate(45deg);
    top: 14px;
    left: 20px;
}

.button_dark .start_bottom_arrow,
.button_light .start_bottom_arrow,
.button_return .start_bottom_arrow{
    width: 12px;
    transform: rotate(-45deg);
    top: 21px;
    left: 20px;
}

/* btn hover */

.button_dark:hover .line_arrow,
.button_light:hover .line_arrow,
.button_dark:hover .start_top_arrow,
.button_light:hover .start_top_arrow,
.button_dark:hover .start_bottom_arrow,
.button_light:hover .start_bottom_arrow{
    height: 1px;
    background-color: white;
    position : relative;
}

.button_dark:hover .circle_arrow .arrow.first{
    left: 50px;
}

.button_dark:hover .circle_arrow .arrow.second{
    left: 0px;
}

.button_dark:hover .circle_arrow{
    background-color: var(--dark-blue);
    margin-left: 5px;
    margin-right: 5px;
}


/* section 1 */

.intro .logo_center{
    display: flex;
    justify-content: center;
}

.intro .logo_center img{
    max-width: 450px;
}

.intro .picture_left img,
.intro .picture_right img{
    position: relative;
    z-index: 1;
    transition: top 0.2s;
}

.intro .picture_right{
    display: flex;
    justify-content: flex-end;
}

.intro .picture_right img{
    object-position: 30px;
}

.intro .flex_pictures_bottom{
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    column-gap: 3%;
    position: relative;
    top: -300px;
    margin-bottom: -300px;
}

.intro .button_dark.only_mobile{
    margin-bottom: 120px;
}

.intro .flex_pictures_bottom .picture{
    position: relative;
}

.intro .flex_pictures_bottom .picture img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.intro .flex_pictures_bottom .picture{
    transition: top 0.2s;
    }

.intro .flex_pictures_bottom .picture:first-child{
left: -50px;
margin-right: -50px;
}

.intro .flex_pictures_bottom .picture:last-child{
    right: -50px;
    margin-left: -50px;
}

.intro .flex_pictures_bottom .picture:first-child,
.intro .flex_pictures_bottom .picture:last-child{
    top: 50px;
}

.intro .flex_pictures_bottom .picture:nth-child(even){
    top: 150px;
}

.intro .flex_pictures_bottom .picture:nth-child(3){
    top: 250px;
}

.intro .gradient_white{
    background: linear-gradient(#ffffff00, #ffffff);
    height: 60px;
    position: relative;
    top: -60px;
    margin-bottom: -60px;
}

/* section 2 */

.slide_last_project{
    background-color: var(--yellow);
    padding: 130px 8%;
}

.slide_last_project .color_white{
    color: white;
}

.slide_last_project .text{
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.slide_last_project .text p{
    font-size: 1.1rem;
    line-height: 1.5;
}
.slide_last_project .text p span{
    color: var(--dark-blue);
    font-weight: 900;
}

.slide_last_project .text h2{
    font-size: 2rem;
    color: var(--dark-blue);
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
    flex: 1;
}

.slide_last_project .text div{
    flex: 2;
}

/* section 3 - liste projets */

.list_projects{
    padding: 0;
    margin: 0px auto 0;
    max-width: 1600px;
}

.list_projects img{
    width: 100%;
}

.list_projects .flex_projects{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5rem;
    padding-bottom: 70px;
}

.list_projects .col_1{
    flex: 1 1 33.33%;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.list_projects .flex_projects h3{
    font-size: 1.575rem;
}

.list_projects .legend_project{
    margin-top: 0.938rem;
}

/* page projet */

header.header_project{
    display: flex;
    margin: 30px 8% 30px;
    justify-content: space-between;
}

section.return,
section.flex_presentation_project{
    margin: 0px auto 30px;
    padding-top: 50px;
    max-width: 1600px;
    display: flex;
    flex-direction: column;
}

header.header_project img{
    width: 6.85rem;
}

header.header_project .col_left{
    display: flex;
    align-items: center;
}

header.header_project .col_left .line_width_header{
    position: absolute;
    width: 84%;
    top: 160px;
    transition: width 0.30s;
}

.flex_presentation_project .text_presentation h3{
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
}

.flex_presentation_project .text_presentation h3 span.color_light{
    font-size: 1.3rem;
}

@media (min-width: 669px){
    .flex_presentation_project .grid{
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-gap: 30px;
    }
    .flex_presentation_project .grid .flex_text_presentation{
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        
    }
}

@media (max-width: 669px){
    .flex_presentation_project .grid .flex_text_presentation{
        margin-bottom: 50px;
        }
}


.flex_presentation_project .text_presentation{
    grid-area: 1 / 1 / 1 / span 8;
    line-height: 1.5;
}

.flex_presentation_project .container_img img{
    width: 100%;
}

.flex_presentation_project .single_top{
    margin-bottom: 30px;
}

.flex_presentation_project .grid .single_top_img{
    grid-area: 1 / 9 / 1 / span 4;
}

.flex_presentation_project .grid .single_content{
    grid-gap: 18px;
}

.flex_presentation_project .single_content .img2_2{
   grid-column: span 6; 
}

.flex_presentation_project .single_content .img2_2>:first-child{
    margin-bottom: 30px;
 }

.flex_presentation_project .single_content .img_3{
    grid-column: span 4; 
 }

.return .center{
    display: flex;
    justify-content: center;
}

.return{
    padding-bottom: 50px;
}

@media (max-width: 669px){
    .only_desktop{
        display: none;
    }

    header .col_left .line_width_header{
        width: 90%;
    }

    .intro .picture_left img{
        object-position: -45px;
        top: 0px;
        margin-bottom: 0px;
    }

    .intro .picture_right img{
        top: 150px;
    }

    .button_dark.only_mobile,
    .button_light.only_mobile{
        display: flex;
        justify-content: center;
    }
    
    .button_dark.only_mobile a{
        border-radius: 30px;
        background-color: var(--yellow);
        padding: 8px 35px 10px 35px;
    }

    .button_light.only_mobile a{
        border-radius: 30px;
        background-color: var(--dark-blue);
        padding: 8px 35px 10px 35px;
    }

    .intro .logo_center {
        margin-bottom: 60px;
    }

    .intro .logo_center img {
        max-width: 275px;
    }

    .intro .flex_pictures_bottom .picture:first-child,
    .intro .flex_pictures_bottom .picture:last-child{
    top: 25px;
}

    .intro .flex_pictures_bottom .picture:nth-child(even){
    top: 100px;
}

    .intro .flex_pictures_bottom .picture:nth-child(3){
    top: 150px;
}

    .intro .flex_pictures_bottom .picture:nth-child(2){
    left: -90px;
    margin-right: -75px;
    }
    
    .intro .flex_pictures_bottom .picture:nth-child(4){
    right: -90px;
    margin-left: -75px;
} 

.slide_last_project .text{
    display: block;
}
    .slide_last_project .flex{
    flex-direction: column-reverse;
}

    .pictures_last_project{
    grid-template-columns: repeat(10, 30px);
    grid-template-rows: repeat(11, 30px);
}

.pictures_last_project_mobile{
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
}

.pictures_last_project_mobile img{
    width: 100%;
}

.list_projects .flex_projects{
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;

}
}

@media (min-width: 669px){
    .only_mobile{
        display: none;
    }

    .intro .logo_center{
        margin-bottom: 100px;
    }

    .intro .picture_left img{
        object-position: -45px;
        top: 80px;
        margin-bottom: -80px;
    }

    .intro .picture_right img{
        top: 175px;
    }

    .slide_last_project .flex .text{
        padding-left: 60px;
    }
}

@media (min-width: 669px) and (max-width: 1366px){
    .intro .flex_pictures_bottom .picture:first-child,
    .intro .flex_pictures_bottom .picture:last-child{
    top: 25px;
}

    .intro .flex_pictures_bottom .picture:nth-child(even){
    top: 100px;
}

    .intro .flex_pictures_bottom .picture:nth-child(3){
    top: 150px;
}

    .intro .picture_right img{
    top: 90px;
}
}