/* ----------------------------------------------
    RESET & BASE
---------------------------------------------- */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body{
    font-family:"Poppins", system-ui, sans-serif;
    background:#0b0b0b;
    color:#f2f2f2;
    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 (NOIR + #EFC22D)
---------------------------------------------- */
:root{
    --brand:#EFC22D;         /* couleur principale */
    --brand-2:#f3cf55;       /* un peu plus clair pour hover */
    --bg:#0b0b0b;
    --bg-2:#101010;
    --panel:#141414;
    --text:#f2f2f2;
    --muted:#c9c9c9;
    --line:rgba(255,255,255,.10);
    --white:#ffffff;
    --shadow: rgba(0,0,0,.45);
}

/* ----------------------------------------------
    LOGO TEXTE (sans image)
---------------------------------------------- */
.nav-logo-text{
    font-size:24px;
    font-weight:800;
    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,.45);
    border:1px solid rgba(255,255,255,.10);
}
.cookie-banner a{ color:var(--brand); text-decoration:underline; }
.cookie-banner button{
    border:none;
    background:var(--brand);
    color:#000;
    border-radius:999px;
    padding:6px 12px;
    font-size:.8rem;
    cursor:pointer;
    font-weight:800;
}
.cookie-banner button:hover{ background:var(--brand-2); }

/* ----------------------------------------------
    NAVBAR
---------------------------------------------- */
.navbar{
    position:fixed; top:0; left:0; width:100%;
    background:#ffffff;
    backdrop-filter:none;
    padding:10px 0;
    z-index:999;
    border-bottom:1px solid rgba(0,0,0,.08);
}
.nav-container{
    width:90%; max-width:1200px; margin:0 auto;
    display:flex; align-items:center; justify-content:space-between;
}
.nav-logo img{ height:42px; width:auto; display:block; }

/* LINKS */
.nav-links{
    list-style:none;
    display:flex;
    align-items:center;
    gap:18px;
}
.nav-links a{
    color:#111;
    font-size:.95rem;
    font-weight:600;
    position:relative;
    padding-bottom:3px;
}
.nav-links a::after{
    content:""; position:absolute; left:0; bottom:0;
    width:0; height:2px; background:var(--brand);
    transition:width .25s ease-out;
}
.nav-links a:hover::after{ width:100%; }

/* CTA button */
.nav-cta{
    background:var(--brand);
    padding:8px 16px;
    border-radius:999px;
    font-weight:800;
    color:#000 !important;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}
.nav-cta:hover{ background:var(--brand-2); }
.nav-cta::after{ display:none; }

/* Phone CTA */
.nav-phone{
    border:1px solid rgba(0,0,0,.18);
    border-radius:999px;
    padding:7px 14px;
    display:flex; align-items:center; gap:6px;
    font-size:.9rem;
    color:#111;
}
.nav-phone:hover{
    border-color:rgba(0,0,0,.32);
}

/* BURGER */
.nav-toggle{
    display:none;
    flex-direction:column;
    gap:4px;
    background:none;
    border:none;
    cursor:pointer;
}
.nav-toggle span{
    width:22px; height:2px; background:#111; border-radius:999px;
    transition:.25s;
}

/* ----------------------------------------------
    HERO
---------------------------------------------- */
.hero{
    height:100vh;
    background:
        radial-gradient(900px 600px at 20% 25%, rgba(239,194,45,.28), transparent 60%),
        radial-gradient(700px 500px at 80% 35%, rgba(239,194,45,.18), transparent 55%),
        linear-gradient(135deg, #050505, #0b0b0b 55%, #050505);
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    padding-top:80px;
}

/* Overlay plus léger (optionnel mais joli) */
.hero .overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        135deg,
        rgba(0,0,0,0.25),
        rgba(239,194,45,0.10)
    );
}

.hero-inner{
    position:relative;
    text-align:center;
    color:white;
    padding:20px;
    max-width:820px;
}

/* Boutons hero (2 boutons côte à côte) */
.hero-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}

.btn-hero{
    display:inline-block;
    background:var(--brand);
    color:#000;
    padding:12px 28px;
    border-radius:999px;
    font-weight:900;
    transition:.25s;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}
.btn-hero:hover{
    background:var(--brand-2);
    transform:translateY(-2px);
}

/* Variante bouton outline (certificat) */
.btn-hero-outline{
    background:transparent;
    border:1px solid rgba(255,255,255,.45);
    box-shadow:none;
    color:#fff;
}
.btn-hero-outline:hover{
    border-color:rgba(255,255,255,.70);
    background:rgba(0,0,0,.25);
    transform:translateY(-2px);
}

/* Sous-typos hero */
.hero-subtitle{
    font-size:1.25rem;
    font-weight:400;
    opacity:.95;
    margin-bottom:15px;
}
.hero-zone{
    font-size:1.1rem;
    margin-bottom:12px;
    opacity:.92;
}
.hero-assurance{
    font-size:1rem;
    opacity:.90;
    margin-bottom:22px;
}

/* LOGO DANS LE HERO (désactivé car logo en navbar) */
.hero-logo{ display:none; }

/* ----------------------------------------------
    SECTIONS
---------------------------------------------- */
.section{ padding:90px 0; }
.section-title{
    font-size:2.2rem;
    text-align:center;
    margin-bottom:50px;
    color:#ffffff;
    letter-spacing:.2px;
}

/* ----------------------------------------------
    ABOUT (fond plus premium)
---------------------------------------------- */
.about{
    background:linear-gradient(135deg, #0f0f0f, #141414);
    color:white;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.06);
    border-bottom:1px solid rgba(255,255,255,.06);
}
.about .section-title{
    color:#ffffff;
}
.about p{
    max-width:860px;
    margin:0 auto 20px auto;
    font-size:1.05rem;
    opacity:.95;
}
.about a{
    color:var(--brand);
    text-decoration:underline;
}

/* ----------------------------------------------
    SERVICES
---------------------------------------------- */
.services{ background:var(--bg); }
.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:24px;
}
.card{
    background:linear-gradient(180deg, #141414, #101010);
    border-radius:18px;
    padding:22px;
    box-shadow:0 12px 35px rgba(0,0,0,.35);
    transition:.25s;
    border:1px solid rgba(255,255,255,.08);
}
.card h3{
    margin-bottom:8px;
    color:#ffffff;
}
.card p{
    font-size:.95rem;
    color:var(--muted);
}
.card a{ color:var(--brand); text-decoration:underline; }
.card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,.45);
    border-color:rgba(239,194,45,.35);
}

/* ----------------------------------------------
    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 12px 35px rgba(0,0,0,.35);
    transition:.25s;
    border:1px solid rgba(255,255,255,.08);
}
.gallery-item img{ width:100%; height:100%; object-fit:cover; }
.gallery-item:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 45px rgba(0,0,0,.50);
    border-color:rgba(239,194,45,.35);
}

/* ----------------------------------------------
    CONTACT
---------------------------------------------- */
.contact{ background:#0f0f0f; }
.contact-form{
    max-width:700px;
    margin:0 auto;
    background:linear-gradient(180deg, #141414, #101010);
    padding:28px;
    border-radius:20px;
    box-shadow:0 16px 45px rgba(0,0,0,.45);
    border:1px solid rgba(255,255,255,.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 rgba(255,255,255,.14);
    background:#0c0c0c;
    color:#fff;
    font-size:.95rem;
    outline:none;
    transition:border-color .2s, box-shadow .2s, background .2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color:rgba(255,255,255,.55);
}
.contact-form input:focus,
.contact-form textarea:focus{
    border-color:rgba(239,194,45,.70);
    box-shadow:0 0 0 4px rgba(239,194,45,.18);
    background:#0a0a0a;
}
textarea{
    min-height:150px;
    resize:vertical;
}

.btn-submit{
    margin-top:8px;
    background:var(--brand);
    color:#000;
    padding:12px 26px;
    border:none;
    border-radius:999px;
    font-weight:900;
    cursor:pointer;
    transition:.25s;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}
.btn-submit:hover{
    background:var(--brand-2);
    transform:translateY(-1px);
}

/* ----------------------------------------------
    FOOTER (3 COLONNES)
---------------------------------------------- */
footer{
    background:#090909;
    color:#eee;
    padding:60px 0 20px 0;
    border-top:1px solid rgba(255,255,255,.06);
}
.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:.92; line-height:1.5; color:#dcdcdc; }
.footer-col ul{ list-style:none; }
.footer-col ul li{ margin-bottom:8px; }
.footer-col ul li a{ color:#d2d2d2; }
.footer-col ul li a:hover{ color:#fff; }

/* Liens importants footer */
.footer-col a{
    color:var(--brand);
}
.footer-col 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(--brand); }
.footer-bottom a:hover{ color:#fff; }
.footer-sep{ opacity:.45; }

/* ----------------------------------------------
    FORCE : logo texte visible dans la navbar (désactivé pour logo image)
---------------------------------------------- */
.navbar .nav-container .nav-logo.nav-logo-text{ display:none !important; }

/* ----------------------------------------------
    POPUP CONFIRM
---------------------------------------------- */
.popup-confirm{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.65);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}
.popup-confirm.active{ display:flex; }

.popup-content{
    background:linear-gradient(180deg, #141414, #101010);
    padding:30px;
    max-width:420px;
    width:90%;
    border-radius:12px;
    text-align:center;
    box-shadow:0 20px 55px rgba(0,0,0,0.55);
    border:1px solid rgba(255,255,255,.10);
}
.popup-content h3{
    margin-bottom:10px;
    color:#fff;
}
.popup-content p{
    color:#d7d7d7;
    margin-bottom:20px;
    line-height:1.5;
}
.popup-btn{
    background:var(--brand);
    color:#000;
    border:none;
    padding:10px 22px;
    border-radius:999px;
    cursor:pointer;
    font-size:14px;
    font-weight:900;
    transition:.25s;
}
.popup-btn:hover{
    background:var(--brand-2);
    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:#ffffff;
        flex-direction:column;
        align-items:flex-start;
        padding:12px 18px;
        gap:10px;
        min-width:240px;
        display:none;
        border-radius:0 0 0 16px;
        box-shadow:0 12px 30px rgba(0,0,0,.18);
        border:1px solid rgba(0,0,0,.10);
    }
    .navbar.nav-open .nav-links{ display:flex; }
    .nav-links a{ color:#111; }
}

@media(max-width:600px){
    .section{ padding:70px 0; }
    .field-row{ flex-direction:column; }
}
