/* VARIABLES DE COULEURS KD PLOMBERIE */
:root {
    --navy: #0c243c;
    --orange: #f15a24;
    --white: #ffffff;
    --light-bg: #f4f7f9;
    --text: #333333;
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); overflow-x: hidden; line-height: 1.6; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER & LOGO */
header { background: var(--white); padding: 10px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 70px; border-radius: 5px; }
.brand-name { display: block; font-weight: 900; font-size: 1.4rem; color: var(--navy); line-height: 1; }
.brand-sub { font-size: 0.7rem; font-weight: 700; color: var(--orange); letter-spacing: 1px; }

.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 700; transition: 0.3s; }
.nav-links a:hover { color: var(--orange); }

/* --- BOUTON TÉLÉPHONE DU HEADER --- */
.btn-nav-call {
    background: var(--orange); /* On passe du navy à l'orange */
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(241, 90, 36, 0.2); /* Petite ombre portée orange */
}

.btn-nav-call:hover {
    background: #d44d1e; /* Un orange un peu plus sombre au survol */
    transform: scale(1.05); /* Le bouton grossit très légèrement */
    box-shadow: 0 6px 20px rgba(241, 90, 36, 0.4);
}

/* On s'assure que l'icône téléphone reste blanche aussi */
.btn-nav-call i {
    color: var(--white);
}
/* --- SECTION ACCUEIL (HERO) AVEC IMAGE DE FOND --- */
.hero {
    /* On utilise ton image avec un dégradé sombre par-dessus pour que le texte reste bien lisible */
    background: linear-gradient(rgba(12, 36, 60, 0.8), rgba(12, 36, 60, 0.8)), 
                url('footer-banner.jpg'); 
    
    background-size: cover;      /* L'image remplit tout l'espace */
    background-position: center; /* L'image est centrée */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Optionnel : crée un effet parallaxe sympa au scroll */
    
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Ajustement pour que le badge orange ressorte bien sur l'image */
.hero .badge {
    background: var(--orange);
    box-shadow: 0 4px 15px rgba(241, 90, 36, 0.4);
    position: relative;
    z-index: 2;
}

/* On s'assure que le texte est bien au-dessus du fond */
.hero-content {
    position: relative;
    z-index: 2;
}

/* --- AJUSTEMENT MOBILE --- */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
        /* Sur mobile, on désactive le fixed pour éviter les bugs d'affichage */
        background-attachment: scroll; 
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}
/* BOUTONS */
.hero-btns { margin-top: 40px; display: flex; gap: 15px; justify-content: center; }
.btn-primary { background: var(--orange); color: var(--white); padding: 18px 30px; border-radius: 12px; border: none; font-weight: 900; font-size: 1.1rem; cursor: pointer; text-decoration: none; transition: 0.3s; box-shadow: 0 5px 15px rgba(241, 90, 36, 0.3); }
.btn-secondary { background: rgba(255,255,255,0.1); color: var(--white); border: 2px solid var(--white); padding: 18px 30px; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-primary:hover { transform: translateY(-3px); background: #d44d1e; }

/* SERVICES */
.section-title { text-align: center; font-size: 2.2rem; margin: 80px 0 40px; color: var(--navy); font-weight: 900; text-transform: uppercase; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 80px; }
.service-card { padding: 40px; background: var(--light-bg); border-radius: 25px; text-align: center; border-bottom: 5px solid var(--navy); transition: 0.3s; }
.service-card:hover { transform: translateY(-10px); background: var(--white); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.service-card i { font-size: 3rem; color: var(--orange); margin-bottom: 20px; }
.service-card h3 { color: var(--navy); margin-bottom: 15px; font-weight: 800; }

/* INTERVENTION */
.intervention { background: var(--navy); color: var(--white); padding: 60px 0; border-top: 5px solid var(--orange); }
.intervention-box { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
/* --- ZONE D'INTERVENTION --- */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* On espace un peu plus pour la lisibilité */
    font-weight: 700;
    color: var(--white); /* CHANGEMENT : L'écriture passe en blanc */
}

/* On garde uniquement les petites coches en orange pour le style */
.check-list i {
    color: var(--orange); 
    margin-right: 10px; /* Petit espace entre la coche et le texte */
    font-size: 1.2rem;
}

/* AVIS */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 80px; }
.review-card { background: var(--light-bg); padding: 30px; border-radius: 20px; border-left: 6px solid var(--orange); }
.stars { color: #fbbc05; margin-bottom: 10px; font-size: 1.2rem; }
.author { display: block; margin-top: 15px; font-weight: 700; color: var(--navy); }

/* CONTACT */
.contact-zone { padding: 80px 0; background: #eef2f5; }
.contact-card { max-width: 600px; margin: 0 auto; background: var(--white); padding: 40px; border-radius: 30px; box-shadow: 0 15px 50px rgba(0,0,0,0.08); }
.contact-form { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form textarea { padding: 15px; border: 1px solid #ddd; border-radius: 12px; font-family: inherit; }
.contact-form textarea { height: 120px; }

/* --- SECTION BANNIÈRE PRÉ-FOOTER --- */
.pre-footer {
    padding: 40px 0;
    background: var(--white);
    text-align: center;
}

.banner-static-small {
    max-width: 500px; /* Plus petite comme demandé */
    width: 90%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- FOOTER FINAL --- */
.footer-final {
    background: var(--navy);
    color: var(--white);
    padding: 60px 0 100px 0; /* Espace pour la barre mobile */
    border-top: 4px solid var(--orange);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--orange);
    margin-bottom: 5px;
}

.footer-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- ICÔNES RÉSEAUX SOCIAUX --- */
.social-title {
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Couleurs au survol */
.social-link.fb:hover { background: #1877F2; transform: translateY(-3px); }
.social-link.inst:hover { background: #E4405F; transform: translateY(-3px); }
.social-link.tk:hover { background: #6c2a82; transform: translateY(-3px); }
.social-link.lk:hover { background: #0095ff; transform: translateY(-3px); }

.footer-copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.5;
    text-align: center;
}

/* Ajustement Mobile */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
}
/* MODAL */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(12, 36, 60, 0.9); }
.modal-content { background: var(--white); margin: 8% auto; padding: 40px; width: 90%; max-width: 450px; border-radius: 30px; position: relative; }
.close { position: absolute; right: 25px; top: 20px; font-size: 2.5rem; cursor: pointer; color: var(--navy); }
.result-box { background: var(--light-bg); padding: 25px; margin: 25px 0; text-align: center; border-radius: 20px; border: 2px dashed var(--orange); }
#totalPrice { display: block; font-size: 3.5rem; font-weight: 900; color: var(--navy); }
.toggle-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 15px 0; }
.toggle-btns button { padding: 12px; border: none; border-radius: 10px; cursor: pointer; font-weight: 700; background: #eee; }
.toggle-btns button.active { background: var(--navy); color: var(--white); }

/* MOBILE STICKY CALL BAR */
.mobile-call-bar { display: none; position: fixed; bottom: 0; width: 100%; padding: 12px; background: rgba(255,255,255,0.95); backdrop-filter: blur(5px); z-index: 1500; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); }
.btn-call-mobile { background: var(--orange); color: var(--white); display: block; text-align: center; padding: 16px; border-radius: 15px; text-decoration: none; font-weight: 900; font-size: 1.2rem; animation: pulse 2s infinite; }

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* ANIMATIONS AU SCROLL */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links, .btn-nav-call { display: none; }
    .hero h1 { font-size: 2.3rem; }
    .hero-btns { flex-direction: column; }
    .mobile-call-bar { display: block; }
    .intervention-box { flex-direction: column; text-align: center; }
    body { padding-bottom: 80px; }
}
/* --- SLIDER DES AVIS --- */
.reviews-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 250px; /* Ajuste selon la longueur de tes textes */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.review-card {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100px); /* Arrive par la droite */
    transition: all 0.8s ease-in-out;
    background: var(--light-bg);
    padding: 30px;
    border-radius: 20px;
    border-left: 6px solid var(--orange);
    pointer-events: none;
}

/* L'avis qui est affiché */
.review-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* L'avis qui sort vers la gauche */
.review-card.exit {
    opacity: 0;
    transform: translateX(-100px);
}

@media (max-width: 768px) {
    .reviews-slider { height: 350px; } /* Plus haut sur mobile pour le texte */
}
/* --- GALERIE PHOTO --- */
.galerie { padding: 60px 0; }
.section-subtitle { text-align: center; margin-top: -30px; margin-bottom: 40px; color: var(--navy); opacity: 0.7; font-weight: 700; }

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid transparent;
    transition: 0.3s;
}

.gallery-item:hover {
    border-color: var(--orange);
    transform: scale(1.02);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(12, 36, 60, 0.9));
    color: white;
    padding: 20px;
    font-weight: 700;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* --- LIGHTBOX (IMAGE AGRANDIE) --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 36, 60, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    border: 4px solid var(--white);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}

#lightbox-caption {
    color: var(--orange);
    margin-top: 20px;
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
}
.footer-socials {
    display: flex;
    flex-direction: column; /* Aligne le texte au-dessus des icônes */
    align-items: center;    /* Centre horizontalement le texte ET le bloc d'icônes */
    justify-content: center;
    width: 100%;            /* Prend toute la largeur pour bien centrer au milieu de la page */
    margin: 0 auto;
}

.social-title {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    justify-content: center; /* Centre les icônes à l'intérieur de leur ligne */
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* On s'assure qu'aucune marge parasite ne décale les icônes */
.social-link {
    margin: 0; 
    /* ... reste de ton style (width: 50px, height: 50px, etc.) ... */
}
/* --- LE 24/7 EN GÉANT --- */
.big-urgency {
    font-size: 5rem; /* Taille énorme */
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    margin: 10px 0;
    text-shadow: 0 0 20px rgba(241, 90, 36, 0.5); /* Effet néon orange */
    letter-spacing: -2px;
    animation: pulse-text 2s ease-in-out infinite;
}

/* Nouveau style pour le badge juste au-dessus */
.badge-big {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Petite animation de "respiration" pour le 24/7 */
@keyframes pulse-text {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.05); filter: brightness(1.2); }
}

/* Ajustement pour mobile (pour pas que ça dépasse) */
@media (max-width: 768px) {
    .big-urgency {
        font-size: 3rem; /* On réduit un peu sur téléphone */
    }
}