@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
    text-decoration: none;
}

:root{
    --text-color:#f5f5f5;
    --hover-color:#c62c74;
    --bg-color:#250821;
    --secon-bg-color:#292e33;
    --big-font:2.5rem;
    --normal-font:2rem;
    --neon-box-shadow:0 0 .5rem #b5086d;
    --h2-font:3rem;
    --font-neon-text-shadow:0 0 10px rgba(18,247,255,0.3),
    0 0 20px rgba(18,247,255,0.3),
    0 0 30px rgba(18,247,255,0.3),
    0 0 40px rgba(18,247,255,0.3),
    0 0 70px rgba(18,247,255,0.3),
    0 0 80px rgba(18,247,255,0.3),
    0 0 100px rgba(18,247,255,0.3),
    0 0 150px rgba(18,247,255,0.3);
}
::-webkit-scrollbar{
    height: 0;
    width: .5rem;
}

::-webkit-scrollbar-track{
    background: var(--secon-bg-color);
}

::-webkit-scrollbar-thumb{
    background: var(--hover-color);
    border-radius: 5rem;
}








body{
    font-family: "Poppins",sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

header{
    position:fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 10%;
}

header.sticky{
    background: var(--bg-color);
    border-bottom: 1px solid var(--secon-bg-color);
    padding: 12px 10%;
}

.logo{
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

span{
    color: var(--hover-color);
}

.navlist{
    display: flex;
}

.navlist a{
    display: inline-block;
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 20px;
    animation: slideAnimation 1s ease forwards;
    animation-delay: calc(.3s * var(--i));
    opacity: 0;
}

.navlist a:hover{
    color: var(--hover-color);
    text-shadow: 0 0 10px rgba(18,247,255,0.6),
    0 0 20px rgba(18,247,255,0.6),
    0 0 30px rgba(18,247,255,0.6),
    0 0 40px rgba(18,247,255,0.6),
    0 0 70px rgba(18,247,255,0.6),
    0 0 80px rgba(18,247,255,0.6),
    0 0 100px rgba(18,247,255,0.6),
    0 0 150px rgba(18,247,255,0.6);
}

.navlist a.active{
    color: var(--hover-color);
}

#menu-icon{
    font-size: 1.8rem;
    z-index: 10001;
    cursor: pointer;
    margin-left: 25px;
    background: var(--hover-color);
    border-radius: 3px;
    color: var(--secon-bg-color);
    display: none;
}

section{
    padding: 100px 10%;
}

.home{
    min-height: 100vh;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    grid-gap: 4em;
}
.home-content{
    max-width: 600px;
}

.home-content h1{
    font-size: var(--big-font);
    font-weight: 700;
}

.change-text{
    font-size: 1.5rem;
    font-weight: 600;
}

.change-text h3{
    display: inline-flex;
    margin: 0;
    vertical-align: top;
}

.change-text h3 .word{
    position: absolute;
    display: flex;
    opacity: 0;
}

.change-text h3 .word .letter{
    transform-origin: center center 25px;
}

.change-text h3 .word .letter.out{
    transform: rotateX(90deg);
    transition: 0.32s cubic-bezier(0.6,0,0.7,0.2);
}

.change-text h3 .word .letter.in{
    transition: 0.38s ease;
}

.change-text h3 .word .letter.behind{
    transform: rotateX(-90deg);
}

.home-content p{
 color: #bdbdbd;
 line-height: 1.6;
}

.info-box{
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 300px;
    margin: 1rem 0 2rem;
}

.info-box h5{
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.info-box span{
    font-size: .9rem;
    color: #bdbdbd;
}

.btn-box{
    display: flex;
    justify-content: space-between;
    width: 320px;
    height: 45px;
}

.btn-box .btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: var(--hover-color);
    color: var(--bg-color);
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: .6s;
    box-shadow: var(--neon-box-shadow);
    border-radius: 5px;
    position: relative; overflow: hidden;
    z-index: 1;
    border: 2px solid var(--hover-color);
}

.btn:hover{
    color: var(--hover-color);
}

.btn::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bg-color);
    width: 0;
    height: 100%;
    z-index: -1;
    transition: .4s;
}

.btn:hover::before{
    width: 100%;

}

.btn:nth-child(2){
    background: var(--bg-color);
    color: var(--hover-color);
}

.btn:nth-child(2):hover{
    color: var(--bg-color);
}

.btn:nth-child(2)::before{
    background: var(--hover-color);
}

.social-icons{
    margin-top: 8rem;
    display: flex;
    justify-content: space-between;
    width: 220px;
    height: 40px;
}

.social-icons a{
    display: inline-flex;
    width: 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
    background: var(--bg-color);
    color: var(--hover-color);
    border: 2px solid var(--hover-color);
    transition: .6s;
    box-shadow: 0 0 0.3rem #12f7ff;
    border-radius: 5px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.social-icons a i{
    font-size: 1.5rem;
}

.social-icons a:hover{
    color: var(--bg-color);
}

.social-icons a::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--hover-color);
    transition: .6s;
    z-index: -1;
}

.social-icons a:hover::before{
    width: 100%;
}

.home-image{
    position: relative;
}

.img-box{
    text-align: center;
}

.img-box img{
    width: 100%;
    max-width: 450px;
    height: auto;
}

.liquid-shape{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 10%;
}

.liquid-shape:nth-child(2){
    filter: blur(50px);
}


/* About Section css ------------------------------------------------ */

.about{
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: 2em;
    background: var(--secon-bg-color);
}

.about .img-about{
    text-align: center;
    position: relative;
}

.about .img-about img{
    max-width: 400px;
    height: auto;
}

.about-content span{
    color: #fdfdfd;
    font-size: .8rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-content h2{
    color: var(--hover-color);
    font-weight: 700;
    font-size: var(--normal-font);
}

.about-content h3{
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: .2rem;
}

.about-content p{
    color: #fdfdfd;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.info-about1,
.info-about2,
.info-about3{
    background: var(--bg-color);
    font-size: .5rem;
    position: absolute;
    padding: 10px;
    width: 90px;
    height: 90px;
    border-radius: 69% 31% 66% 34% / 21% 30% 70% 79%;
    display: block;
    box-shadow: var(--neon-box-shadow);
    border: 1px solid var(--hover-color);
    outline:  2px solid var(--bg-color);
    z-index: 100;
    animation: morph 6s linear infinite;
}

.info-about1{
    left: 10%;
    top: 34%;
}

.info-about2{
    left: 66%;
    top: 15%;
}

.info-about3{
    left: 61%;
    top: 70%;
}

.img-about span{
    color: var(--hover-color);
    font-size: 1rem;
    font-weight: 600;
}



/* services section css ------------------------------------------------- */
.main-text{
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--hover-color);
}

.main-text h2{
    font-weight: 700;
    font-size: var(--normal-font);
}

.main-text span{
    color: #fdfdfd;
    font-size: .8rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-services-OLD{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 2rem;
}

/* remplacé plus bas */

.service-btn{
    width: auto;
    justify-content: center;
}

.service-box:hover{
    transform: translateY(-.7rem);
}

.service-icon{
    border: 2px solid var(--hover-color);
    padding: 2rem;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    font-size: 3rem;
    border-radius: 50%;
    position: relative;
    color: var(--hover-color);
    box-shadow: var(--neon-box-shadow);
    outline: 3px solid var(--bg-color);
}

.service-box h3{
    margin-top: 10px;
    font-size: 1.5rem;
}

.service-box p{
    margin: .5rem 0 1.5rem 0;
    font-weight: 300;
    letter-spacing: 1px;
    color: #bdbdbd;
    line-height: 1.6;
}

/* services section css -------------------------------------------------------------*/
.skills{
    background: var(--secon-bg-color);
}

.skill-main{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-row-gap: 30px;
    grid-column-gap: 50px;
}

.skill-bar{
    margin-bottom: 2.3rem;
}

.skill-main h3{
    margin-bottom: 2rem;
    font-size: var(--normal-font);
    text-align: center;
}

.skill-left .skill-bar .info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.skill-left .skill-bar .bar{
    width: 100%;
    height: 10px;
    background-color: var(--bg-color);
    border-radius: 25px;
    margin-top: 10px;
    position: relative;
}

.skill-bar .bar span{
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    background: var(--hover-color);
    border-radius: 25px;
    box-shadow: var(--neon-box-shadow);
}

.skill-bar .bar .html{
    width: 72%;
    animation: html 2s;
}

.skill-bar .bar .css{
    width: 80%;
    animation: css 3s;
}

.skill-bar .bar .javascript{
    width: 50%;
    animation: javascript 4s;
}

.skill-bar .bar .figma{
    width: 60%;
    animation: figma 5s;
}

/* skill right */
.professional{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.box{
    position: relative;
    margin: 10px 0;
    flex: 1 1 15rem;
}

.box .text{
    text-align: center;
    color: #fff;
    font-size: 1rem;
}

.box .text big{
    font: 400;
    letter-spacing: 1px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.box .text small{
    display: block;
    font-weight: 600;
}

.circle{
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle .points{
    width: 5px;
    height: 10px;
    background-color: var(--bg-color);
    position: absolute;
    border-radius: 3px;
    transform: rotate(calc(var(--i)*var(--rot))) translateY(-45px);

}


.points.marked{
    animation: glow 0.04s linear forwards;
    animation-delay: calc(var(--i)*0.05s);
}


/* Portfolio section css ------------------------------------------------- */
.fillter-buttons{
    margin: 2rem;
    text-align: center;
}

.fillter-buttons .button{
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .4px;
    margin-left: 1.3rem;
    color: var(--text-color);
}

.fillter-buttons .button:hover{
    color: var(--hover-color);
}

.portfolio-gallery{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.port-box{
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #292e33;
    display: flex;
    grid-template-rows: 1fr auto;
    align-items: center;
     border: 2px solid var(--hover-color);
     box-shadow: var(--neon-box-shadow);
}

.port-image{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.port-image img{
    width: 100%;
    opacity: .5s;
    height: 100%;
    transition: .5s;
}

.port-content{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
     opacity: 0; 
    background: linear-gradient(rgba(0,0,0,.2),#12f7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    transition: 0.5s;
    padding: 0 2rem;
}

.port-box:hover .port-content{
    opacity: 1;
}

.port-box:hover .port-image img{
    transform: scale(1.1);
}

.port-content h3{
    font-size: 1.5rem;
    font-weight: 600;
}

.port-content p{
    font-size: .8rem;
    margin: 5px 0 15px 0;
}

.port-content a{
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--hover-color);
    outline: 2px solid #fff;

}
.port-content a i{
    font-size: 1.3rem;
    color: var(--secon-bg-color);
}

/* Contact section css -------------------------------------------------------------*/
.contant{
    background: var(--secon-bg-color);
    width: 100%;
}

.contant form{
    text-align: center;
    max-width: 50rem;
    margin: 1rem auto;
    margin-bottom: 3rem;
}

.contant form input,
.contant form textarea{
    width: 100%;
    color: var(--text-color);
    background: var(--bg-color);
    margin-bottom: .8rem;
    border: none;
    border-radius: 5px;
    padding: .7rem;
}

.contant form textarea{
    resize: none;
}

.formBtn{
    display: flex;
    justify-content: center;
    width: 100%;
}

.formBtn{
    cursor: pointer;
    font-size: 1rem;
}

/* footer css */
footer{
    padding: 1.5rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer p{
    color: #bdbdbd;
}

footer a{
    display: inline-flex;
    justify-content: center;
    color: var(--text-color);
    background: var(--hover-color);
    padding: .6rem;
    border-radius: 5px;
}

footer a i{
    font-size: 1rem;
    color: var(--secon-bg-color);
}


/* parallax ------------------------------------------------- */
.scroll-scale{
    opacity: 0;
    transform: scale(.9);
    transition: all 2s;
}
.scroll-bottom{
    opacity: 0;
    transform: translateY(300px);
    transition: 3s;
}

.scroll-top{
    opacity: 0;
    transform: translateY(-300px);
    transition: 3s;
}

.show-items{
   opacity: 1;
   transform: translateX(0);
}






/* keyframes ------------------------------------------------- */

@keyframes morph{
    0%,
    100%{
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    }
    30%{
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    60%{
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }

    80%{
        border-radius: 69% 31% 66% 34% / 21% 30% 70% 79%;
    }

}

@keyframes html{
    0%{
        width: 0%;
    }
    100%{
        width: 72%;
    }
}

@keyframes css{
    0%{
        width: 0%;
    }
    100%{
        width: 80%;
    }
}

@keyframes javascript{
    0%{
        width: 0%;
    }
    100%{
        width: 50%;
    }
}

@keyframes figma{
    0%{
        width: 0%;
    }
    100%{
        width: 60%;
    }
}

@keyframes glow{
    0%{
        background: var(--bg-color);
        box-shadow: none;
    }
    100%{
        background: var(--hover-color);
        box-shadow: var(--neon-box-shadow);
    }
}

@keyframes slideAnimation{
    0%{
        opacity: 0;
        transform: translateY(100px);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}







/* Break Points */
@media(max-width:991px) {
    header,
    header.sticky{
        padding: 15px 5%;
    }
    footer{
        padding: 15px 5%;
    }
    section{
        padding: 50px 5%;
    }
    .navlist a{
        padding: 8px 15px;
    }
    :root{
        --big-font:2.2rem;
        --normal-font:1.8rem;
        --neon-box-shadow:0 0 .8rem #12f7ff;
        --h2-font:3rem;
    }

    .home-content{
        margin-top: 5rem;
    }

    .social-icons{
        margin-top: 2rem;
    }
}

@media(max-width:768px) {
    #menu-icon{
        display: block;
        transition: all .4s ease;
    }
    #menu-icon.bx-x{
        transform: rotate(-180deg);
    }
    .navlist{
        display: flex;
        position: absolute;
        top: -1000px;
        right: 0;
        left: 0;
        flex-direction: column;
        background: var(--bg-color);
        text-align: left;
        padding: 0 5%;
        transition: all .45s ease;
    }
    .navlist a{
        display: block;
        padding-bottom: 1rem;
        font-size: 1rem;
    }

    .navlist.open{
     top: 100%;
    }

    .home{
        grid-template-columns: 1fr;
    }

    .home-image{
        margin-bottom: 5rem;
    }

    .liquid-shape{
        width: 80%;
        left: 10%;
        top: 13%;
    }

    .about{
        flex-direction: column-reverse;
    }

    .skill-main{
        grid-template-columns: 1fr;
    }

    .fillter-buttons{
        margin: 2.5rem 0;
    }
    footer p{
        font-size: .8rem;
    }
}

@media(max-width:420px){
    html{
        font-size: 80%;
    }
    footer p{
        font-size: .6rem;
    }
    .fillter-buttons .btn{
        font-size: .8rem;
    }
    .img-about img{
        width: 300px;
    }
    .info-about1,.info-about2,.info-about3{
        display: none;
    }

    .img-about{
        font-size: 1rem;
    }
}

/* =============================================
   HERO BUTTONS
   ============================================= */
.hero-btns {
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    width: auto;
    height: 45px;
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
    background: var(--secon-bg-color);
    padding: 40px 10%;
    border-top: 1px solid rgba(198, 44, 116, 0.2);
    border-bottom: 1px solid rgba(198, 44, 116, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item i {
    font-size: 2.2rem;
    color: var(--hover-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: var(--font-neon-text-shadow);
}

.stat-item p {
    font-size: 0.85rem;
    color: #bdbdbd;
    margin-top: 0.3rem;
}

/* =============================================
   CTA DEVIS
   ============================================= */
.cta-devis {
    margin-top: 3rem;
    text-align: center;
    background: var(--secon-bg-color);
    border: 1px solid var(--hover-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--neon-box-shadow);
}

.cta-devis p {
    font-size: 1.1rem;
    color: #fdfdfd;
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.cta-btn {
    display: inline-flex !important;
    width: auto !important;
    padding: 0 2rem !important;
    gap: 8px;
    align-items: center;
}

/* =============================================
   POURQUOI NOUS
   ============================================= */
.why-us {
    background: var(--secon-bg-color);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.why-box {
    background: var(--bg-color);
    border-radius: 10px;
    padding: 1.8rem 1.5rem;
    border: 1px solid rgba(198, 44, 116, 0.25);
    transition: transform 0.3s, border-color 0.3s;
}

.why-box:hover {
    transform: translateY(-5px);
    border-color: var(--hover-color);
    box-shadow: var(--neon-box-shadow);
}

.why-box i {
    font-size: 2rem;
    color: var(--hover-color);
    margin-bottom: 0.8rem;
    display: block;
}

.why-box h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

.why-box p {
    font-size: 0.85rem;
    color: #bdbdbd;
    line-height: 1.6;
}

/* =============================================
   SKILL BAR MAINTENANCE (4e barre)
   ============================================= */
.skill-bar .bar .maintenance {
    width: 75%;
    background: var(--hover-color);
    display: block;
    height: 100%;
    border-radius: 5rem;
    box-shadow: var(--neon-box-shadow);
    animation: maintenance 3.5s;
}

@keyframes maintenance {
    0% { width: 0%; }
    100% { width: 75%; }
}

/* =============================================
   CONTACT WRAPPER
   ============================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--hover-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #bdbdbd;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info-item p {
    font-size: 0.95rem;
    color: #fdfdfd;
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.contact-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    background: var(--bg-color);
    color: var(--hover-color);
    border: 2px solid var(--hover-color);
    border-radius: 5px;
    transition: 0.4s;
    font-size: 1.2rem;
}

.contact-social a:hover {
    background: var(--hover-color);
    color: var(--bg-color);
}

/* =============================================
   FOOTER AMÉLIORÉ
   ============================================= */
footer {
    background: var(--secon-bg-color);
    border-top: 1px solid rgba(198, 44, 116, 0.3);
    padding: 2.5rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

.footer-content > p {
    font-size: 0.85rem;
    color: #bdbdbd;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    color: #bdbdbd;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--hover-color);
}

.footer-copy {
    font-size: 0.78rem !important;
    color: #666 !important;
}

.back-to-top {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-color) !important;
    background: var(--hover-color);
    padding: 0.6rem;
    border-radius: 5px;
    align-self: flex-end;
}

/* =============================================
   RESPONSIVE NOUVELLES SECTIONS
   ============================================= */
@media(max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .hero-btns {
        flex-wrap: wrap;
        width: 100%;
        height: auto;
    }
    .stats-section {
        padding: 30px 5%;
    }
}

/* =============================================
   TÉMOIGNAGES
   ============================================= */
.temoignages {
    background: var(--bg-color);
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.temo-card {
    background: var(--secon-bg-color);
    border-radius: 12px;
    padding: 1.8rem;
    border: 1px solid rgba(198, 44, 116, 0.2);
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.temo-card:hover {
    transform: translateY(-5px);
    border-color: var(--hover-color);
    box-shadow: 0 0 15px rgba(198, 44, 116, 0.2);
}

.temo-stars i {
    color: #f5c518;
    font-size: 1rem;
}

.temo-card > p {
    color: #bdbdbd;
    font-size: 0.88rem;
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.temo-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.temo-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--hover-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(198, 44, 116, 0.4);
}

.temo-author h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.temo-author span {
    font-size: 0.75rem;
    color: #888;
}

/* =============================================
   BOUTON WHATSAPP FLOTTANT
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulse-wa 2.5s infinite;
}

.whatsapp-float i {
    font-size: 2rem;
    color: #fff;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #fff;
    color: #1a1a1a;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    border: 7px solid transparent;
    border-right: none;
    border-left-color: #fff;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes pulse-wa {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media(max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-float i {
        font-size: 1.8rem;
    }
    .whatsapp-tooltip {
        display: none;
    }
}

/* Services - 3 colonnes fixes */
.section-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 2rem;
}

.section-services .service-box {
    padding: 2rem 1rem;
    text-align: center;
    background: var(--secon-bg-color);
    transition: transform .4s;
    border-radius: 10px;
}

@media(max-width: 900px) {
    .section-services {
        grid-template-columns: 1fr;
    }
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   PROCESSUS DE TRAVAIL
   ============================================= */
.processus {
    background: var(--secon-bg-color);
}

.processus-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.processus-step {
    flex: 1 1 180px;
    max-width: 220px;
    text-align: center;
    padding: 2rem 1.2rem;
    background: var(--bg-color);
    border-radius: 12px;
    border: 1px solid rgba(198, 44, 116, 0.25);
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
}

.processus-step:hover {
    transform: translateY(-6px);
    border-color: var(--hover-color);
    box-shadow: 0 0 15px rgba(198, 44, 116, 0.2);
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--hover-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(198, 44, 116, 0.5);
}

.step-icon {
    margin: 0.8rem 0;
}

.step-icon i {
    font-size: 2.2rem;
    color: var(--hover-color);
}

.processus-step h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.6rem;
}

.processus-step p {
    font-size: 0.8rem;
    color: #bdbdbd;
    line-height: 1.6;
}

.processus-arrow {
    display: flex;
    align-items: center;
    padding: 0 0.3rem;
    margin-top: 2rem;
}

.processus-arrow i {
    font-size: 2rem;
    color: var(--hover-color);
    opacity: 0.5;
}

@media(max-width: 900px) {
    .processus-grid {
        flex-direction: column;
        align-items: center;
    }
    .processus-step {
        max-width: 100%;
        width: 100%;
    }
    .processus-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
}

/* =============================================
   PORTFOLIO OVERLAY
   ============================================= */
.port-image {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.port-overlay {
    position: absolute;
    inset: 0;
    background: rgba(198, 44, 116, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.port-box:hover .port-overlay {
    opacity: 1;
}

.port-overlay i {
    font-size: 2.5rem;
    color: #fff;
}

.port-overlay span {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

.port-box {
    cursor: pointer;
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-box {
    background: var(--secon-bg-color);
    border-radius: 16px;
    border: 1px solid rgba(198, 44, 116, 0.3);
    padding: 2rem;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: lbSlide 0.3s ease;
}

@keyframes lbSlide {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--hover-color);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-right: 2.5rem;
    border-bottom: 1px solid rgba(198, 44, 116, 0.3);
    padding-bottom: 1rem;
}

.lightbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
}

.lb-card {
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(198, 44, 116, 0.2);
    transition: transform 0.3s, border-color 0.3s;
}

.lb-card:hover {
    transform: translateY(-4px);
    border-color: var(--hover-color);
}

.lb-img {
    height: 140px;
    overflow: hidden;
}

.lb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.lb-card:hover .lb-img img {
    transform: scale(1.05);
}

.lb-info {
    padding: 0.8rem 1rem;
}

.lb-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.lb-info p {
    font-size: 0.78rem;
    color: #bdbdbd;
}

@media(max-width: 600px) {
    .lightbox-grid {
        grid-template-columns: 1fr 1fr;
    }
    .lightbox-box {
        padding: 1.2rem;
    }
}
