/* Style général */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Inter', sans-serif;
    min-height: 200vh;
    background-color: #fff;
}

/*volet ouvrant */


.curtain {
    position: fixed;
    top: 0;
    width: 150%;
    height: 150%;
    background-color: #7b95ce;
    z-index: 999;
    overflow: hidden; 
    transition: transform 1.5s ease; 
    border-radius: 100px;
}


.leftbottom-curtain {
    left: 0;
    bottom: 0;
    transform: translateX(0);
}

.rightbottom-curtain {
    right: 0;
    bottom: 0;
    transform: translateX(0);
}

.lefttop-curtain {
    left: 0;
    top: 0;
    transform: translateX(0);
}

.righttop-curtain {
    right: 0;
    top: 0;
    transform: translateX(0);
}


/* Déplace les rideaux vers les coins opposés */
.open .leftbottom-curtain {
    transform: translate(-100%, 100%);
}

.open .rightbottom-curtain {
    transform: translate(100%, 100%);
}

.open .lefttop-curtain {
    transform: translate(-100%, -100%);
}

.open .righttop-curtain {
    transform: translate(100%, -100%);
}


body.open .content {
    opacity: 1;
}


.slider{
    width: 100%;
    height: 70vh;
    aspect-ratio: 16/9;
    background-color: black;
    position: relative;
}
.slider-background{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(30%);
}
.slider-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    text-align: start;
}
h1{
    color: white;
    font-size: 4rem;
    text-align: center;

}
.paragrapheh1{
    color: white !important;
    margin-top: 20px;
    font-size: 3rem !important;
    
}
h2{
    font-size: 3rem;
    margin-bottom: 100px;
}
p{
    font-size: 1.5rem;
    line-height: 1.5rem;
}
.slider-content p{
    color: black;
    font-size: 2rem;
    font-weight: 300;
}
.section{
    padding: 100px 0;
}
.boxed{
    max-width: 1200px;
    margin-inline: auto;
}
.flex{
    display: flex;
}
.dark{
    background:linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),url(./images/baniereporfolio.jpg);
    background-size: cover;
    background-position-y: 50%;
    color: #fff;
}
.w40{
    width: 40%;
}
.w60{
    width: 60%;
}
.text-center{
    text-align: center;
}
.w25{
    width: 25%;
}
.w32{
    width: 32%;
}
.space-between{
    justify-content: space-between;
}
.gap20{
    gap: 20px;
}
.wrap{
    flex-wrap: wrap;
}
.skill{
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
}
.skill img{
    width: 100px;
    height: 100px;
    aspect-ratio: 1/1;
    object-fit: contain;
}
.skill h3{
    color: #000;
    margin-top: 10px;
}
.realisation{
    height: auto;
    aspect-ratio: 1/1;
    position: relative;
    
}
.realisation h3{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    width: max-content;
    opacity: 0;
    transition:.4s ease;
}
.realisation a{
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #fff;
}
.realisation img{
    border-radius: 12px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(40%);
    transition: .4s ease;
}
.realisation:hover img{
    filter: brightness(60%);
}
.realisation:hover h3{
    opacity:1;
}
.icon{
    display: block;
    font-size: 50px;
}
.label{
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    margin: 10px 0;
    font-size: 1.5rem;
}
.value{
    display: block;
    font-size: 1.2rem;
}
.contact{
    border:2px dashed #fff;
    border-radius: 15px;
    padding: 30px;
    box-sizing: border-box;
}
.aligncenter{
    align-items: center;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 998;
    padding: 10px 0;
    box-shadow: 1px 1px 25px rgba(0,0,0,0.07);
}
.header-logo{
    display: flex;
}
.header-logo img{
    width: 60px;
}
.header-menu{
    display: flex ;
    align-items: center;
    list-style: none;
}
.header-menu li a{
    text-decoration: none;
    color: #000;
    padding: 10px 20px;
    display: block;
    box-sizing: border-box;
    transition: .2s ease;

}
.header-menu li a:hover{
    background-color: #f2f2f2;
}
.header-menu li:last-child a{
    background-color: #f06423;
    color: #fff;
}
.header-menu-mobile{
    display: none;
}
.header-menu-mobile span{
    font-size: 40px;
}



/* Bouton retour en haut */
.scroll-to-top {
    z-index: 950;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: none; /* Caché par défaut */
}

/* Cercle de fond */
.circle-bg {
    fill: none;
    stroke: #e0e0e0;
}

/* Cercle de progression */
.circle-progress {
    fill: none;
    stroke: orange;
    stroke-dasharray: 283; /* 2 * Math.PI * 45 (circumference du cercle) */
    stroke-dashoffset: 283; /* Commence complètement vide */
    transition: stroke-dashoffset 0.1s ease-out;
}

/* Flèche au centre */
.arrow {
    fill: orange;
}


@media (max-width:1200px){
    .paragrapheh1{
        font-size: 1.5rem !important;
    }
}
@media (max-width:1000px){
    header{
        height: 60px;
    }
    .header-menu-mobile{
        display: block;
        border: 0px;
        background-color: #fff;
        position: absolute;
        left: 5%;
        top: 20%;
        transform: translate(-50%);
        z-index: 991;
    }
    .header-logo{
       position: absolute;
       left: 50%;
       top: 50%;
       transform: translate(-50%, -50%);
       z-index: 991;
    }
    .header-menu{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #fcfcfcde;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        display: none;
    }
    .active{
        display: flex;
    }
    .header-menu li:last-child a{
        margin-top: 10px;
    }
    .header-menu li a{
        background-color: #f06423;
        color: #fff;
        border-radius: 10px;
    }
    h2{
        font-size: 1.7rem;
        margin-bottom: 30px;
    }
    .slider{
        height: 60vh;
    }
    .slider-content{
        width: 90%;
    }
    .paragrapheh1{
        margin-top: 20px;
        font-size: 1.5rem !important;
        text-wrap: balance;
        text-align: center;
        line-height: 2rem;
    }
    .slider-content p{
        margin-top: 20px;
        font-size: 1.5rem;
        text-wrap: balance;
    }
    h1{
        font-size: 2rem;
    }
    p{
        font-size: 1rem;
        text-wrap: balance;
    }
    .tocolumn{
        flex-direction: column;
    }
    .mcenter{
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .wm100{
        width: 100% !important;
    }
    .section{
        padding: 50px 0;
    }
    .boxed{
        max-width: 90%;
    }
    .wm47{
        width: 47%;
    }
    .mgap20{
        gap: 20px;
    }
}