*{
    box-sizing: border-box;
}


html{
    font-size: 10px;
    line-height: 1.15;
}

body{
    background-color: #131313;
    color: #fff;
    font-family: "Poppins", sans-serif;
    margin: 0;
    
}
body::-webkit-scrollbar{
    display: none;
}
main{
    display: block;
}

:root {
    --border-width: 6px;
    --margin: 26px;
    --gutter: 40px;
    --column-count: 12;
    --padding: 35px;
    --w1: calc((100% - var(--margin) * 2 - var(--gutter) * (var(--column-count) - 1)) / var(--column-count));
    --black: #333333;
    --border-radius: 8px;
    --scrollbar-width: 5px
}
@media (max-width: 1000px) {
    :root {
        --column-count: 8
    }
}

@media (max-width: 800px) {
    :root {
        --column-count: 6
    }
}

@media (max-width: 550px) {
    :root {
        --column-count: 5;
        --border-radius: 4px
    }
}

@media (max-width: 420px) {
    :root {
        --column-count: 4;
        --border-radius: 3px
    }
}
.txt{
    text-transform: uppercase;
    font-size: 1.2rem;
    
}

a{
    color: #b38b59;
    text-shadow: 0 4px 4px rgba(17,62,33,0.25);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

p{
    font-family:"Poppins",sans-serif;
}
ul{
    margin:0;
    padding-inline-start: 16px;
}

ul li{
    margin: 12px;
    width: 90%;
}
.w1{
    width: var(--w1);
}
.c2{
    margin-left: calc(var(--margin)*6);
}
@media (max-width:640px){
   .c2{margin-left:var(--margin)};
}
.border {
    position: fixed;
    top: var(--border-width);
    left: var(--border-width);
    width: calc(100% - var(--border-width) * 2);
    height: calc(100dvh - var(--border-width) * 2);
    z-index: 100;
    pointer-events: none;
    box-sizing: border-box;
    border-radius: 15px;
    box-shadow: 0 0 0 calc(var(--border-width) * 3) #fff
}
@media (max-width:640px){
    .border{display:none
    }
    .waves{display:none
    }
}
.grain {
    pointer-events: none;
    z-index: 2;
    opacity: .20;
    mix-blend-mode:difference;
    background-image: url(../images/2Bap.gif);
    background-position: 0 0;
    background-repeat: repeat;
    background-size: auto;
    background-attachment: fixed;
    display: block;
    position: fixed;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
}

.waves{
    background-image: url(../images/waves.jpeg);
    z-index: 49;
    opacity: 0.4;
    mix-blend-mode: lighten;
    background-size: cover;
    position: fixed;
    transform: rotate(-90deg);
    right:-33vw;
    top:340px;
    height: 110vh;
    width: 100%;
    pointer-events: none;
    animation: scrolling linear ;
    animation-timeline: scroll();
    }

.hidden-until-loaded {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Quand la classe .site-loaded est présente sur le body */
body.site-loaded .hidden-until-loaded {
  opacity: 1;
}


@keyframes scrolling {
    from { top:340px}
    to {top:-36px}
}

@keyframes glitch-squeeze {
    0%   { transform:skewY(10deg); }
    20%  { transform:skewY(-10deg); }
    40%  { transform:skewY(0deg); }
    60%  { transform:skewY(3deg); }
    80%  { transform:skewY(-5deg); }
    100% { transform:skewY(10deg); }
  }

/* HEADER */
@media (max-width:640px){
    .header{left:0}
}
header{
    display: flex;
    justify-content: space-between;
}
.header{
    position: absolute;
    left: var(--padding);
    top: calc(var(--border-width)*2);
    margin-top: calc(var(--border-width)*2);
    padding-left: var(--padding);
    display: flex;
    gap: var(--gutter);
    width: 100%;
    box-sizing: border-box;
}

.header a{
    color: #F29D50;
    font-size: 1em;
    font-weight: 400;
}

.header-about{
    width: auto;
    margin-top: calc(var(--border-width)*2);
    margin-right: var(--padding);
    position: fixed;
    z-index: 49;
    top: calc(var(--border-width)*2 + 12px);
    right: var(--padding);
    letter-spacing: 0.1rem;
    text-decoration: none;
    border-bottom: 1px solid white;
}
.header-about a:active .about{
    opacity: 1;
}
.header-about a{
    color: white;
    text-align: center;
    text-decoration: none;
}
.header-about p{
    margin-bottom: 0;
}

/* HERO */

.hero{
    padding-top: 10%;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content:center;

}

.hero-text{
    display: flex;
    flex-direction: column;
    gap:10px;
    /*width: calc(100% - var(--margin) * 2 - var(--w1) * 2);*/
}

.backgroundhero {
    background-image: linear-gradient(to bottom, #00000000, #000000  ),/* url(../images/Mobile-friendly.jpg)*/;
}


h1{
    text-transform: uppercase;
    text-align: left;
    color: #b38b59;
    font-size: min(13vw,25vh);
    margin: 0;
    font-variation-settings: "wght" 500;
    line-height: 0.95;
    letter-spacing: -0.4vw;   
}
@media (max-width:640px){
    h1{font-size: 17vw;}
    .hero {width: calc(100% - var(--margin)*2)}
}

h2{
    font-size: 36px;
    max-width: 80%;
    line-height: 100%;
}

h3{
    width: 80%;
    max-width: 700px;
    text-align: left;
    padding-right: var(--padding);
    font-family: pretendard, sans-serif;
    font-size: 1.4em;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 140%;
    word-spacing: 1px;
    margin-left: 1vw;
}

/* SCROLL */

.scroll-text{
    margin-top: 2vh;
    white-space: nowrap;
    display: inline-block;
    font-size: 0.9em;
    opacity: 0.6;
}

.scroll-hint{
    position: absolute;
    bottom: var(--padding);
    right: calc(var(--margin) + var(--w1) + var(--scrollbar-width));
}
@media (max-width:640px){
    .scroll-hint{right:calc(var(--margin))
    }
}

.scroll-hint-line{
    height: 200px;
    width: 1px;
    background-color: #fff;
}
.scroll-hint-dot{
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    bottom:0;
    left: -2px;
}

/* PROJET */

.projet{
    display: flex;
    align-items: center;
    height: 100vh;
    position: relative;
}

.projetSub {
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 2% 0%;
    color: #F29D50;
}

.projetSubTxt{
    font-size:22px;
    width:55%;
}

.projet-showcase{
    margin-top: 5%;
    display: flex;
    flex-direction: column;
}
.projet-title{
    padding-right: 0.2em;
    color: #fff;
    position: absolute;
    top:10vh;
    z-index: 2;
    font-size: min(13vw,25vh);
    font-variation-settings: "wght" 500;
    line-height: .8;
    letter-spacing: -1vw;
    font-weight: 400;
    opacity: 0.8;
    color: #b38b59;

}
@media (max-width:640px){
    .projet-title{font-size: 17vw;
    }
    .projet > .container{top: 1em;
    }
    .caroussel-titre > a > .preview{width: 0;
    }
    .caroussel-titre > .list-projet{width: 90%;
    }
}

.container{
    width: 92%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    height: 40%;
    position: relative;
    top: 25em;
}

.dbl-projet-flex{
    display: flex;
    gap:40px;
    align-items: center;
}

span{
    color:#F29D50;
    font-weight:bolder;
}

.t2{
    margin: 100px auto;
    width:40%; 
    overflow:hidden ;
    z-index: 3;
}
    .t2 img{
        width:100%;
        display: block;
    }

.img-large{
    margin:-8em 0;
    margin-left: -15em;
    position: relative;
    z-index: 3;
    width:100%;
}
    .img-large img{
       width: 100%;
    }

.img-large2{
    overflow: auto;
}
    .img-large2 img{
        width: 100%;
    }

.triple-projet-flex{
    margin: 1em 5em 5em 0;
    display: flex;
    justify-content: space-evenly;
    gap:40px;
}

.t3{
    overflow: hidden;
    
}
    .t3 img {
        width: 100%;
        display: block;
        object-fit: contain;
    }

.t4{
    width: 30%;
    margin: 100px 10em;
}
    .t4 img{
        width: 100%;
        display: block;
    }


.project-info{
    display:flex;
    align-items: center;
    gap:5rem;
    position: relative;
    overflow: visible;
}
.list-projet{
    width: 30%;
    display: block;
    align-items: center;
    position: relative;
    text-decoration: none;
    padding: 1.4rem 0;
    border-bottom: 1px solid #fff;
    gap: 5rem;
    
}
.projet-bloc-txt{
    height: auto;
    width: 60%;
}

.text-center{
    align-self:flex-end;
    margin: -2em 10% 20vh 0;
}

.projet-txt-sub{
    font-size: 14px;
    font-weight: 500;
    color: #F29D50;
    text-transform: uppercase;

}

.dbl-projet-txt{
    max-width: 600px;
    font-weight: 200;
    font-size:20px;
    line-height: 135%;
}

.projet-txt-4{
    font-weight: 200;
    font-size: 20px;
    line-height: 135%;
}

.projet-txt-1{
    width:50%;
    margin: 100px 0px;
}

.citation{
    font-size: 2em;
    max-width: 80%;
    line-height: 130%;
    border-left: 5px solid #F29D50 ;
    padding: 0 20px;
}

.projet-txt-2{
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 110%;
    text-align: justify;
    letter-spacing: 0.0.8em;
    padding: 0 50px;
    margin-left: -50px;
    margin-top: -5em;
}
.projet-txt-3{
    width:60%;
    margin: 100px 0;
}
.shot-projet{
    width: 45%;
    overflow: hidden;
    z-index: 3;
    object-fit: cover;
    align-self: center;
}
    .shot-projet img{
        width: 100%;
    }

.quote-txt{
    font-size: 1.2rem;
    text-align: left;
    margin: 0 0;
    text-transform: uppercase;
    color: #F29D50;
}
.text-style{
    padding-top: 4px;
    font-size: 2rem;
    font-weight: 400;
    color: #fff;
}


.list-projet .description {
        display:flex;
        flex-direction: column;
        justify-content: space-around;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.7s ease, opacity 0.5s ease;
        background: rgba(255, 255, 255, 0.1); /* arrière-plan léger ou transparent */
        border-radius: 10px;
        color: #fff;
        font-size: 1.5rem;
        padding: 0 1rem;
        margin-top: 0.5rem;
    }

.list-projet .description > div{
    display: flex;
    gap: 2rem;
}

.list-projet .description > div >div{
    padding: 0.3rem 1rem;
    border-radius: 30px;
    border: solid 0.1rem #ffffff4b;
    font-size: 1.3rem;
}

.cta_link{
    display: inline-block;
  padding: 12px 24px;
  background-color: #b38b59; 
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease;
  
}

.cta_link:hover {
  transform: scale(0.95);
}


.description-cta {
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.text-style-list{
    padding-top: 4px;
    font-size: 2rem;
    font-weight: 400;
    color: #fff;
}

.arrow-icon{
    color:#fff;
    font-size: 2.5rem;
    animation: glitch-squeeze 0.7s infinite;
}

.arrow-icon2{
    color:#fff;
    padding: 0.3rem 1rem;
    margin-bottom: 4em;
    border-radius: 30px;
    border: solid 0.1rem #ffffff4b;
    font-size: 1.3rem;
    width: fit-content;
}

.arrow-icon:hover{
    animation: none;
}

/*.list-projet:first-child{
    animation: glitch-squeeze 0.7s infinite;
}*/

.preview {
    position: absolute;
    left: 175%;
    z-index: 4;
    width: 500px;
    height:500px;
    border: 1px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity  0.5s ease;
    transition: transform 0.5s ease;
    overflow: hidden;
    

}
.preview img{
    max-width: 100%;
    height: auto;
    object-fit: cover ;
    border-radius: 20px;
    
}

.list-projet:hover .preview {
    opacity: 1;
    transform: scale(1.2) translateY(-15%);
}

.list-projet:hover .description {
    opacity: 1;
    max-height: 400px;
    padding: 1rem;
}

.footer{
    margin-top:50vh;
    margin-bottom: 33vh;
}

.title_footer{
    font-size:  min(13vw,25vh);
    margin:0;
    font-weight: 500;
    line-height: 0.8;
    letter-spacing: -0.8vw;
    position: relative;
    left: -1vw;
    opacity: 0.8;
}

.text_footer{
    width: 33%;
    margin-top: var(--margin);
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 700;
}
@media (max-width:640px){
    .footer{ width: calc(100% - var(--margin)*2);
    }
    .title_footer{font-size: 17vw;
    }
    .text_footer{width: 80%;
    }
}
.cta_footer{
    color: #fff;
    border-color: #fff;
    margin-top: var(--margin);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #F29D50;
}  

.logo_footer{
    position:absolute;
    left: 30%;
    top: 225vh;
    filter: blur(1.3rem);
    margin: 0;
}
.logo_footer img{
    width: 150%;
    object-fit: cover;
}

/* ABOUT */
@media (max-width:640px){
    .about > .about_text{bottom: calc(var(--margin)*4);
    }
    .about > .about_text > h2 { top:-8vh;
    }
    .about_text > .about_paragraph { font-size: 11px; width: 70%; top:0;
    }
    .about > .about_links { top:90%; left:10%;flex-direction:row; 
        align-items: center;width:45vw; font-size:10px;
    }
    .about > .about_links a:nth-child(2){font-size: 12px;margin: 0;}
    .about > .about_links a:nth-child(3){font-size: 12px;}
    .about > .about_close{margin-right: calc(var(--padding)*3);}
}
.about{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 50;
    color: #383b38;
    overflow: hidden;
    transition: opacity 0.5s ease-in-out;
    background-color: #f0f0f0;
    display:none;
}

.about_close{
    position: absolute;
    top: var(--padding);
    right: var(--padding);
    margin-right: var(--padding);
    cursor: pointer;
    font-weight: 500;
    color: #fff;
    border-bottom: 1px solid white;
    z-index: 21;
    letter-spacing: 0.1rem;
}
.about_text{
    position: absolute;
    bottom: var(--margin);
    left: var(--margin);
}
.about_text h2{
    top: -15vh;
    left: -1vw;
    font-size: min(13vw, 25vh);
    margin: 0;
    font-weight: 500;
    line-height: 0.8;
    letter-spacing: -0.8vw;
    position: relative;
    color: #b38b59;
}
.about_paragraph{
    position: relative;
    top:-10vh;
    width: 520px;
    font-weight: 600;
    font-size: 14px;
    line-height: 140%;
}
.about_paragraph p:nth-child(1){
    margin-bottom: 60px;
}
.about_links{
    position: relative;
    left: 50%;
    top:50%;
    display: flex;
    flex-direction: column;
    width: 10vw;
    text-align: center;
    gap:10px;
    font-size: 16px;
}
.about_links a:nth-child(1) {
    color: #383b38;
    text-transform: uppercase;
    font-weight: 600;
    text-underline-offset: 5px;
    line-height: 60px;
}
.about_links a:nth-child(2){
    color: #b38b59;
    text-shadow: 0 4px 4px rgba(17,62,33,0.25);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}
.about_links a:nth-child(3){
    color: #b38b59;
    text-shadow: 0 4px 4px rgba(17,62,33,0.25);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.about_portrait{
    top: 0;
    right: 0;
    position:absolute;
    display: block;
    height: 100%;
    max-width: 50%;
    width: auto;
    overflow: hidden;
    box-shadow:-54px 14px 50px rgba(17,62,33,0.25);
}
.about_portrait::after{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;height: 100%;
    display: inline-block;
    background:linear-gradient(0.25, rgba(179,139,89,0.25),transparent);
    background: -webkit-linear-gradient(0.25, rgba(179,139,89,0.25),transparent)
}
.img_portrait{
    position: relative;
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: all 1s ease-in-out;
}

/*SLIDER*/
