/* ----------------------------------------------
    RESET & BASE
---------------------------------------------- */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
    font-family:"Poppins", system-ui, sans-serif;
    background:#f2f7f4; /* fond plus “vert doux” */
    color:#1a1a1a;
    line-height:1.6;
}
img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
.container { width:90%; max-width:1200px; margin:0 auto; }

/* ----------------------------------------------
    THEME (VERT)
---------------------------------------------- */
:root{
    --green-900:#13402a;
    --green-800:#1f5e3b;
    --green-700:#2f7d4e;
    --green-600:#3aa96a;
    --green-300:#7bcfa3;
    --bg:#f2f7f4;
    --text:#1a1a1a;
    --muted:#5b6b62;
    --white:#ffffff;
    --shadow: rgba(15,23,42,.12);
}

/* ----------------------------------------------
    LOGO TEXTE (sans image)
---------------------------------------------- */
.nav-logo-text{
    font-size:24px;
    font-weight:700;
    color:#ffffff;
    text-transform:uppercase;
    letter-spacing:.5px;
}
/* Surcharge du style image éventuel */
.nav-logo-text img{ display:none; }

/* ----------------------------------------------
    COOKIE BANNER
---------------------------------------------- */
.cookie-banner{
    position:fixed; bottom:15px; left:50%; transform:translateX(-50%);
    background:#111; color:#fff;
    padding:10px 18px;
    border-radius:999px;
    display:flex; align-items:center; gap:12px;
    font-size:.85rem;
    z-index:9999;
    box-shadow:0 10px 25px rgba(0,0,0,.35);
}
.cookie-banner a{ color:var(--green-300); text-decoration:underline; }
.cookie-banner button{
    border:none;
    background:var(--green-700);
    color:#fff;
    border-radius:999px;
    padding:6px 12px;
    font-size:.8rem;
    cursor:pointer;
}
.cookie-banner button:hover{ background:var(--green-800); }

/* ----------------------------------------------
    NAVBAR
---------------------------------------------- */
.navbar{
    position:fixed; top:0; left:0; width:100%;
    background:rgba(31,94,59,.92); /* vert foncé translucide */
    backdrop-filter:blur(10px);
    padding:8px 0;
    z-index:999;
}
.nav-container{
    width:90%; max-width:1200px; margin:0 auto;
    display:flex; align-items:center; justify-content:space-between;
}
.nav-logo img{ height:42px; }

/* LINKS */
.nav-links{
    list-style:none;
    display:flex;
    align-items:center;
    gap:18px;
}
.nav-links a{
    color:#f5f7fb;
    font-size:.95rem;
    font-weight:500;
    position:relative;
    padding-bottom:3px;
}
.nav-links a::after{
    content:""; position:absolute; left:0; bottom:0;
    width:0; height:2px; background:var(--green-300);
    transition:width .25s ease-out;
}
.nav-links a:hover::after{ width:100%; }

/* CTA button */
.nav-cta{
    background:var(--green-600);
    padding:8px 16px;
    border-radius:999px;
    font-weight:600;
    color:#fff !important;
}
.nav-cta:hover{ background:var(--green-700); }
.nav-cta::after{ display:none; }

/* Phone CTA */
.nav-phone{
    border:1px solid var(--green-300);
    border-radius:999px;
    padding:7px 14px;
    display:flex; align-items:center; gap:6px;
    font-size:.9rem;
}

/* BURGER */
.nav-toggle{
    display:none;
    flex-direction:column;
    gap:4px;
    background:none;
    border:none;
    cursor:pointer;
}
.nav-toggle span{
    width:22px; height:2px; background:white; border-radius:999px;
    transition:.25s;
}

/* ----------------------------------------------
    HERO
---------------------------------------------- */
.hero{
    height:100vh;
    background:url('/assets/img/hero.jpg') center/cover no-repeat;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    padding-top:70px;
}
.hero .overlay {
    position:absolute;
    inset:0;
    background:linear-gradient(
        135deg,
        rgba(31,94,59,0.55),   /* vert foncé mais plus clair */
        rgba(0,0,0,0.20)
    );
}

.hero-inner{
    position:relative;
    text-align:center;
    color:white;
    padding:20px;
    max-width:720px;
}
.hero-inner h1{
    font-size:3.1rem;
    font-weight:700;
    margin-bottom:12px;
    letter-spacing:.3px;
}
.hero-inner p{
    font-size:1.2rem;
    opacity:.95;
    margin-bottom:22px;
}
.btn-hero{
    display:inline-block;
    background:var(--green-600);
    color:white;
    padding:12px 28px;
    border-radius:999px;
    font-weight:700;
    transition:.25s;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}
.btn-hero:hover{
    background:var(--green-700);
    transform:translateY(-2px);
}

/* Sous-typos hero (déjà utilisées dans ton HTML) */
.hero-subtitle{
    font-size:1.25rem;
    font-weight:400;
    opacity:.95;
    margin-bottom:15px;
}
.hero-zone{
    font-size:1.1rem;
    margin-bottom:12px;
    opacity:.9;
}
.hero-assurance{
    font-size:1rem;
    opacity:.88;
    margin-bottom:25px;
}

/* ----------------------------------------------
    SECTIONS
---------------------------------------------- */
.section{ padding:90px 0; }
.section-title{
    font-size:2.2rem;
    text-align:center;
    margin-bottom:50px;
    color:var(--green-800);
}

/* ----------------------------------------------
    ABOUT
---------------------------------------------- */
.about{
    background:linear-gradient(135deg, var(--green-900), var(--green-700));
    color:white;
    text-align:center;
}
.about .section-title{ color:white; }
.about p{
    max-width:800px;
    margin:0 auto 20px auto;
    font-size:1.05rem;
    opacity:.95;
}

/* ----------------------------------------------
    SERVICES
---------------------------------------------- */
.services{ background:var(--bg); }
.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:24px;
}
.card{
    background:white;
    border-radius:18px;
    padding:22px;
    box-shadow:0 10px 30px var(--shadow);
    transition:.25s;
    border:1px solid rgba(31,94,59,.08);
}
.card h3{
    margin-bottom:8px;
    color:var(--green-800);
}
.card p{
    font-size:.95rem;
    color:var(--muted);
}
.card:hover{
    transform:translateY(-6px);
    box-shadow:0 16px 40px rgba(15,23,42,.16);
    border-color:rgba(47,125,78,.18);
}

/* ----------------------------------------------
    GALLERY
---------------------------------------------- */
.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:22px;
}
.gallery-item{
    aspect-ratio:4/3;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    transition:.25s;
    border:1px solid rgba(31,94,59,.10);
}
.gallery-item img{ width:100%; height:100%; object-fit:cover; }
.gallery-item:hover{
    transform:translateY(-4px);
    box-shadow:0 16px 40px rgba(0,0,0,.22);
}

/* ----------------------------------------------
    CONTACT
---------------------------------------------- */
.contact{ background:#f7fbf8; }
.contact-form{
    max-width:700px;
    margin:0 auto;
    background:white;
    padding:28px;
    border-radius:20px;
    box-shadow:0 12px 35px var(--shadow);
    border:1px solid rgba(31,94,59,.08);
}
.field-row{ display:flex; gap:15px; margin-bottom:14px; }
.field-row input{ flex:1; }
.contact-form input,
.contact-form textarea{
    width:100%;
    padding:13px;
    border-radius:12px;
    border:1px solid #d3ddd7; /* un poil plus “vert/gris” */
    font-size:.95rem;
    outline:none;
    transition:border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus{
    border-color:rgba(47,125,78,.55);
    box-shadow:0 0 0 4px rgba(123,207,163,.25);
}
textarea{
    min-height:150px;
    resize:vertical;
}
.btn-submit{
    margin-top:8px;
    background:var(--green-700);
    color:white;
    padding:12px 26px;
    border:none;
    border-radius:999px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}
.btn-submit:hover{
    background:var(--green-800);
    transform:translateY(-1px);
}

/* ----------------------------------------------
    FOOTER (3 COLONNES)
---------------------------------------------- */
footer{
    background:#0f1412; /* noir/vert très foncé */
    color:#eee;
    padding:60px 0 20px 0;
}
.footer-top{
    width:90%;
    max-width:1300px;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    gap:40px;
}
.footer-col{ flex:1; }
.footer-col h4{
    font-size:1.1rem;
    margin-bottom:12px;
    color:#fff;
}
.footer-col p{ margin-bottom:8px; opacity:.9; line-height:1.5; }
.footer-col ul{ list-style:none; }
.footer-col ul li{ margin-bottom:8px; }
.footer-col ul li a{ color:#cfdad3; }
.footer-col ul li a:hover{ color:#fff; }

/* Bas du footer → UNE SEULE LIGNE */
.footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    margin-top:30px;
    padding-top:15px;
    text-align:center;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
    font-size:.9rem;
    opacity:.88;
}
.footer-bottom a{ color:var(--green-300); }
.footer-bottom a:hover{ color:#fff; }
.footer-sep{ opacity:.5; }

/* ----------------------------------------------
    FORCE : logo texte visible dans la navbar
---------------------------------------------- */
.navbar .nav-container .nav-logo.nav-logo-text{
    font-size:26px !important;
    font-weight:800 !important;
    color:#fff !important;
    text-decoration:none !important;
    letter-spacing:.6px !important;
    text-transform:uppercase !important;
    line-height:1 !important;
    padding:8px 10px !important;
    border-radius:10px !important;
}

/* ----------------------------------------------
    POPUP CONFIRM
---------------------------------------------- */
.popup-confirm{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.6);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}
.popup-confirm.active{ display:flex; }

.popup-content{
    background:#ffffff;
    padding:30px;
    max-width:420px;
    width:90%;
    border-radius:12px;
    text-align:center;
    box-shadow:0 20px 40px rgba(0,0,0,0.2);
    border:1px solid rgba(31,94,59,.10);
}
.popup-content h3{
    margin-bottom:10px;
    color:#222;
}
.popup-content p{
    color:#555;
    margin-bottom:20px;
    line-height:1.5;
}
.popup-btn{
    background:var(--green-800);
    color:#fff;
    border:none;
    padding:10px 22px;
    border-radius:999px;
    cursor:pointer;
    font-size:14px;
    font-weight:700;
    transition:.25s;
}
.popup-btn:hover{
    background:var(--green-700);
    opacity:1;
}

/* ----------------------------------------------
    RESPONSIVE
---------------------------------------------- */
@media(max-width:900px){
    .footer-top{
        flex-direction:column;
        text-align:center;
    }
    .footer-col{ text-align:center; }
}

@media(max-width:780px){
    .nav-toggle{ display:flex; }
    .nav-links{
        position:absolute;
        top:100%; right:0;
        background:rgba(31,94,59,.98); /* menu mobile vert foncé */
        flex-direction:column;
        align-items:flex-start;
        padding:12px 18px;
        gap:10px;
        min-width:220px;
        display:none;
        border-radius:0 0 0 16px;
        box-shadow:0 12px 30px rgba(0,0,0,.25);
    }
    .navbar.nav-open .nav-links{ display:flex; }
}

@media(max-width:600px){
    .section{ padding:70px 0; }
    .field-row{ flex-direction:column; }
    .hero-inner h1{ font-size:2.5rem; }
    .hero-inner p{ font-size:1.05rem; }
}

/* LOGO DANS LE HERO */
.hero-logo{
    max-width: 350px;
    width: 100%;
    margin: 0 auto 25px auto;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35));
}

