/* ===================================
   DEMESTRE RENOVATION
   PREMIUM CSS V1
=================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

:root{

    --primary:#0b5cff;
    --secondary:#081a3a;
    --dark:#050b16;
    --white:#ffffff;
    --light:#f5f8ff;
    --gray:#7f8ea3;

    --shadow:
    0 15px 40px rgba(0,0,0,.15);

    --radius:25px;
}

body{

    font-family:'Poppins',sans-serif;
    background:var(--light);
    color:#222;
    overflow-x:hidden;
}

img{

    max-width:100%;
    display:block;
}

.container{

    width:90%;
    max-width:1400px;
    margin:auto;
}

/* ==================
   LOADER
================== */

#loader{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;

    background:
    linear-gradient(
    135deg,
    #081a3a,
    #0b5cff
    );

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:99999;
}

.loader-box{

    text-align:center;
}

.loader-box img{

    width:170px;
    margin:auto;
    animation:pulse 2s infinite;
}

.loader-box h2{

    color:white;
    margin-top:20px;
    font-size:2rem;
    letter-spacing:2px;
}

.loader-box span{

    color:white;
    opacity:.8;
}

@keyframes pulse{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.08);
    }

    100%{
        transform:scale(1);
    }
}

/* ==================
   HEADER
================== */

header{

    position:fixed;
    top:0;
    left:0;
    width:100%;

    z-index:999;
    transition:.4s;

.nav{}


    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 0;
}

.logo img{

    width:90px;
    border-radius:20px;
}

nav ul{

    display:flex;
    list-style:none;
    gap:35px;
}

nav a{

    text-decoration:none;
    color:white;
    font-weight:600;
    transition:.3s;
}

header.scrolled nav a{

    color:#111;
}

nav a:hover{

    color:#0b5cff;
}

.btn-nav{

    background:#0b5cff;
    color:white;
    text-decoration:none;

    padding:12px 25px;
    border-radius:50px;

    font-weight:600;
    transition:.3s;
}

.btn-nav:hover{

    transform:translateY(-3px);
}

/* ==================
   HERO
================== */

.hero{

    height:100vh;

    background:
    url("https://i.ibb.co/0pCftdLg/82.jpg")
    center/cover;

    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;
}

.overlay{

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:
    rgba(0,0,0,.65);
}

.hero-content{

    position:relative;
    z-index:5;

    max-width:900px;
    text-align:center;

    color:white;
}

.hero-badge{

    display:inline-block;

    background:
    rgba(255,255,255,.12);

    backdrop-filter:blur(10px);

    padding:12px 25px;

    border-radius:50px;

    margin-bottom:25px;
}

.hero h1{

    font-size:4.5rem;
    font-weight:800;

    margin-bottom:15px;
}

.hero h2{

    font-size:1.8rem;
    margin-bottom:20px;
}

.hero p{

    font-size:1.1rem;
    line-height:1.8;

    margin-bottom:35px;
}

.hero-buttons{

    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary{

    background:#0b5cff;
    color:white;

    text-decoration:none;

    padding:16px 35px;

    border-radius:50px;

    font-weight:700;
}

.btn-secondary{

    border:2px solid white;

    color:white;

    text-decoration:none;

    padding:16px 35px;

    border-radius:50px;

    font-weight:700;
}

/* ==================
   STATS
================== */

.stats{

    margin-top:-80px;
    position:relative;
    z-index:10;
}

.stats-grid{

    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:25px;
}

.stat-card{

    background:white;

    padding:35px;

    border-radius:30px;

    text-align:center;

    box-shadow:var(--shadow);
}

.stat-card h3{

    font-size:3rem;
    color:#0b5cff;
}

.stat-card p{

    color:#666;
    margin-top:10px;
}

/* ==================
   TITRES
================== */

.section-title{

    text-align:center;

    margin-bottom:70px;
}

.section-title span{

    color:#0b5cff;

    font-weight:700;

    letter-spacing:2px;
}

.section-title h2{

    font-size:3rem;
    margin-top:10px;
}

/* ==================
   SERVICES
================== */

.services{

    padding:120px 0;
}

.services-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;
}

.service-card{

    background:white;

    padding:40px;

    border-radius:30px;

    text-align:center;

    transition:.4s;

    box-shadow:var(--shadow);
}

.service-card:hover{

    transform:
    translateY(-10px);
}

.service-card i{

    font-size:3rem;

    color:#0b5cff;

    margin-bottom:20px;
}

.service-card h3{

    margin-bottom:15px;
}

.service-card p{

    line-height:1.8;
    color:#666;
}                                                  /* ==================
   GALERIES
================== */

.gallery-section{

    padding:120px 0;
}

.gallery-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:25px;
}

.gallery-grid img{

    width:100%;
    height:280px;

    object-fit:cover;

    border-radius:25px;

    cursor:pointer;

    transition:.4s;

    box-shadow:var(--shadow);
}

.gallery-grid img:hover{

    transform:
    translateY(-8px)
    scale(1.03);
}

/* ==================
   POURQUOI NOUS
================== */

.why-us{

    padding:120px 0;

    background:white;
}

.why-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:25px;
}

.why-card{

    background:#f7f9ff;

    padding:40px;

    border-radius:25px;

    text-align:center;

    transition:.4s;
}

.why-card:hover{

    transform:translateY(-8px);
}

.why-card i{

    font-size:3rem;

    color:var(--primary);

    margin-bottom:20px;
}

.why-card h3{

    margin-bottom:15px;
}

/* ==================
   AVIS
================== */

.reviews{

    padding:120px 0;
}

.reviews-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:30px;
}

.review-card{

    background:white;

    padding:35px;

    border-radius:25px;

    box-shadow:var(--shadow);
}

.stars{

    color:#ffb400;

    font-size:1.4rem;

    margin-bottom:20px;
}

.review-card p{

    line-height:1.8;

    color:#555;

    margin-bottom:20px;
}

.review-card h4{

    color:var(--primary);
}

/* ==================
   FAQ
================== */

.faq{

    padding:120px 0;

    background:white;
}

.faq-container{

    max-width:900px;

    margin:auto;
}

.faq-item{

    background:#f8faff;

    margin-bottom:20px;

    border-radius:20px;

    overflow:hidden;
}

.faq-question{

    width:100%;

    border:none;

    background:none;

    padding:25px;

    text-align:left;

    font-size:1rem;

    font-weight:700;

    cursor:pointer;
}

.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:.4s ease;

    padding:0 25px;
}

.faq-answer p{

    padding-bottom:25px;

    color:#555;
}

/* ==================
   CONTACT
================== */

.contact{

    padding:120px 0;
}

.contact-wrapper{

    display:grid;

    grid-template-columns:
    1fr 1fr;

    gap:50px;

    align-items:start;
}

.contact-info{

    background:
    linear-gradient(
    135deg,
    #081a3a,
    #0b5cff
    );

    color:white;

    padding:40px;

    border-radius:30px;
}

.contact-info h3{

    font-size:2rem;

    margin-bottom:20px;
}

.contact-info ul{

    list-style:none;

    margin-top:25px;
}

.contact-info li{

    margin-bottom:15px;
}

.contact-form{

    display:flex;

    flex-direction:column;

    gap:15px;
}

.contact-form input,
.contact-form textarea{

    border:none;

    padding:18px;

    border-radius:15px;

    background:white;

    box-shadow:var(--shadow);

    font-family:'Poppins',sans-serif;
}

.contact-form textarea{

    min-height:180px;

    resize:none;
}

.contact-form button{

    border:none;

    background:var(--primary);

    color:white;

    font-weight:700;

    padding:18px;

    border-radius:15px;

    cursor:pointer;

    transition:.3s;
}

.contact-form button:hover{

    transform:translateY(-3px);
}

/* ==================
   MAP
================== */

.map-section iframe{

    width:100%;

    height:450px;

    border:none;
}

/* ==================
   FOOTER
================== */

footer{

    background:var(--dark);

    color:white;

    text-align:center;

    padding:80px 20px;
}

footer img{

    width:120px;

    margin:auto auto 20px;
}

footer h3{

    margin-bottom:15px;
}

footer p{

    max-width:700px;

    margin:auto;

    color:#c6c6c6;

    line-height:1.8;
}

.footer-contact{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:25px;

    margin-top:30px;
}

.copyright{

    margin-top:40px;

    opacity:.7;
}

/* ==================
   BOUTONS FLOTTANTS
================== */

.floating-call,
.floating-mail{

    position:fixed;

    right:25px;

    width:65px;
    height:65px;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;

    text-decoration:none;

    font-size:1.3rem;

    z-index:999;

    box-shadow:var(--shadow);
}

.floating-call{

    bottom:25px;

    background:#0b5cff;
}

.floating-mail{

    bottom:105px;

    background:#081a3a;
}

/* ==================
   ANIMATIONS SCROLL
================== */

.reveal{

    opacity:0;

    transform:translateY(50px);

    transition:1s;
}

.reveal.active{

    opacity:1;

    transform:translateY(0);
}

/* ==================
   RESPONSIVE
================== */

@media(max-width:991px){

    .hero h1{

        font-size:3rem;
    }

    .hero h2{

        font-size:1.3rem;
    }

    .contact-wrapper{

        grid-template-columns:1fr;
    }

    nav{

        display:none;
    }

    .section-title h2{

        font-size:2.2rem;
    }
}

@media(max-width:768px){

    .hero{

        padding:0 20px;
    }

    .hero h1{

        font-size:2.4rem;
    }

    .hero-buttons{

        flex-direction:column;
    }

    .btn-primary,
    .btn-secondary{

        width:100%;
    }

    .stats{

        margin-top:-40px;
    }

    .stat-card h3{

        font-size:2.2rem;
    }

    .gallery-grid img{

        height:220px;
    }

    .floating-call,
    .floating-mail{

        width:58px;
        height:58px;
    }
}                                                  #lightbox{

    position:fixed;
    inset:0;

    background:rgba(0,0,0,.9);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    visibility:hidden;

    transition:.4s;

    z-index:99999;
}

#lightbox.active{

    opacity:1;
    visibility:visible;
}

#lightbox img{

    max-width:90%;
    max-height:90%;

    border-radius:20px;
}                                                  .top-marquee{
    background:#081a3a;
    color:white;
    height:30px;
    overflow:hidden;
    display:flex;
    align-items:center;
    white-space:nowrap;
}

.top-marquee span{
    display:inline-block;
    padding-left:100%;
    animation:defilement 20s linear infinite;
    font-size:.85rem;
    font-weight:600;
}

@keyframes defilement{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-100%);
    }
}