/* ==========================================================
   DEPANN'HOME
   Style officiel V2
   Ne plus modifier le design
==========================================================*/

:root{

    --green:#47b649;
    --green-dark:#2f8f31;

    --black:#111111;

    --white:#ffffff;

    --gray:#f5f5f5;

    --text:#444;

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:white;

    color:var(--text);

    overflow-x:hidden;

}

.container{

    width:90%;

    max-width:1280px;

    margin:auto;

}

/*================================================
HEADER
================================================*/

header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:9999;

    background:#111;

    height:90px;

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:90px;

}

.logo img{

    height:60px;

}

nav ul{

    display:flex;

    list-style:none;

    gap:45px;

}

nav a{

    color:white;

    text-decoration:none;

    font-size:17px;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:var(--green);

}

.btn-phone{

    background:var(--green);

    color:white;

    padding:14px 25px;

    border-radius:40px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.btn-phone:hover{

    background:var(--green-dark);

}

/*================================================
HERO
================================================*/

.hero{

    min-height:100vh;

    height:auto;

    background:url(images/hero.jpg.webp);

    background-size:cover;

    background-position:center;

    position:relative;

    display:flex;

    align-items:center;

    padding-top:90px;

}

.hero-overlay{

    position:relative;

    width:100%;

    min-height:calc(100vh - 90px);

    background:rgba(0,0,0,.35);

    display:flex;

    align-items:center;

    padding:70px 0;

}

.hero-card{

    width:520px;

    background:rgba(0,0,0,.82);

    padding:45px;

    border-radius:18px;

    color:white;

    backdrop-filter:blur(4px);

}

.hero-tag{

    color:var(--green);

    font-size:14px;

    font-weight:700;

    letter-spacing:3px;

}

.hero-card h1{

    margin-top:18px;

    font-size:48px;

    line-height:1.15;

    font-weight:700;

}

.hero-card p{

    margin:30px 0;

    color:#ddd;

    font-size:18px;

}

.hero-buttons{

    display:flex;

    gap:18px;

    margin-top:25px;

}

.btn-green{

    background:var(--green);

    color:white;

    padding:16px 28px;

    border-radius:35px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.btn-green:hover{

    transform:translateY(-4px);

}

.btn-outline{

    border:2px solid white;

    color:white;

    padding:16px 28px;

    border-radius:35px;

    text-decoration:none;

    transition:.3s;

}

.btn-outline:hover{

    background:white;

    color:#111;

}/*================================================
HORAIRES
================================================*/

.opening-hours{

    margin-top:28px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.22);

    border-radius:18px;

    padding:22px;

}

.opening-hours h4{

    color:white;

    font-size:20px;

    margin-bottom:14px;

}

.hours-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:18px;

    padding:10px 0;

    color:#f2f2f2;

}

.hours-item:first-of-type{

    border-bottom:1px solid rgba(255,255,255,.14);

}

.hours-item strong{

    color:white;

    font-weight:700;

}

.hours-item span{

    color:var(--green);

    font-weight:800;

}

/*================================================
TITRES DES SECTIONS
================================================*/

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title span{

    color:var(--green);

    font-weight:700;

    letter-spacing:3px;

    font-size:14px;

}

.section-title h2{

    font-size:42px;

    color:#111;

    margin-top:15px;

}

.section-title p{

    margin-top:15px;

    color:#666;

    font-size:18px;

}

/*================================================
SERVICES
================================================*/

#services{

    padding:110px 0;

    background:#f8f8f8;

}

.services-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.service-card{

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:.35s;

}

.service-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 60px rgba(0,0,0,.15);

}

.service-card img{

    width:100%;

    height:240px;

    object-fit:cover;

    display:block;

}

.service-content{

    padding:28px;

}

.service-content h3{

    color:#111;

    font-size:24px;

    margin-bottom:18px;

}

.service-content p{

    color:#666;

    line-height:1.7;

    min-height:110px;

}

.service-btn{

    display:inline-block;

    margin-top:25px;

    background:var(--green);

    color:white;

    padding:14px 24px;

    border-radius:30px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.service-btn:hover{

    background:var(--green-dark);

}

/*================================================
POURQUOI CHOISIR
================================================*/

.about{

    background:#111;

    color:white;

    padding:120px 0;

}

.about .container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.about-left span{

    color:var(--green);

    letter-spacing:3px;

    font-weight:700;

}

.about-left h2{

    font-size:46px;

    margin:20px 0;

    line-height:1.2;

}

.about-left p{

    color:#cfcfcf;

    line-height:1.9;

}

.about-item{

    background:#1c1c1c;

    padding:30px;

    border-radius:16px;

    margin-bottom:25px;

    border-left:5px solid var(--green);

}

.about-item h3{

    margin-bottom:12px;

    color:white;

}

.about-item p{

    color:#d5d5d5;

}/*================================================
ZONE D'INTERVENTION
================================================*/

.zone{

    padding:120px 0;

    background:white;

}

.zone-content{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:50px;

    align-items:center;

}

.zone-map img{

    width:100%;

    border-radius:20px;

    box-shadow:0 20px 45px rgba(0,0,0,.10);

}

.zone-list{

    background:#111;

    color:white;

    border-radius:20px;

    padding:40px;

}

.zone-list ul{

    list-style:none;

}

.zone-list li{

    padding:15px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

    font-size:18px;

}

.zone-list li:last-child{

    border-bottom:none;

}

/*================================================
CONTACT
================================================*/

.contact{

    background:#f7f7f7;

    padding:120px 0;

}

.contact-wrapper{

    display:grid;

    grid-template-columns:1fr 2fr;

    gap:50px;

}

.contact-info{

    background:#111;

    color:white;

    border-radius:20px;

    padding:40px;

}

.contact-info h3{

    margin-bottom:25px;

    color:var(--green);

}

.contact-info p{

    margin-bottom:18px;

    font-size:18px;

}

form{

    background:white;

    padding:45px;

    border-radius:20px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

form input,
form textarea{

    width:100%;

    padding:18px;

    margin-bottom:20px;

    border:1px solid #ddd;

    border-radius:12px;

    font-size:16px;

    font-family:'Poppins',sans-serif;

}

form input:focus,
form textarea:focus{

    outline:none;

    border-color:var(--green);

}

form button{

    background:var(--green);

    color:white;

    border:none;

    padding:18px 35px;

    border-radius:35px;

    cursor:pointer;

    font-size:17px;

    font-weight:600;

    transition:.3s;

}

form button:hover{

    background:var(--green-dark);

}

/*================================================
FOOTER
================================================*/

footer{

    background:#111;

    color:white;

}

.footer-content{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:50px;

    padding:70px 0;

}

.footer-logo{

    height:65px;

}

footer h4{

    margin-bottom:20px;

    color:var(--green);

}

footer ul{

    list-style:none;

}

footer ul li{

    margin-bottom:12px;

}

footer ul a{

    color:#ddd;

    text-decoration:none;

}

footer ul a:hover{

    color:var(--green);

}

.copyright{

    text-align:center;

    padding:25px;

    border-top:1px solid rgba(255,255,255,.08);

    color:#bbb;

}

/*================================================
RESPONSIVE
================================================*/

@media(max-width:1100px){

    .services-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .about .container,
    .zone-content,
    .contact-wrapper,
    .footer-content{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    nav{

        display:none;

    }

    .hero-card{

        width:100%;

        padding:28px;

    }

    .hero-overlay{

        padding:45px 0;

    }

    .hero-card h1{

        font-size:34px;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .services-grid{

        grid-template-columns:1fr;

    }

    .section-title h2{

        font-size:32px;

    }

    .hours-item{

        align-items:flex-start;

        flex-direction:column;

        gap:4px;

    }

}
