/* assets/css/style.css */
:root {
    --primary-color: #2E7D32; /* Vert "Jardin/Pro" - A ajuster selon ton logo */
    --primary-dark: #1B5E20;
    --secondary-color: #F1F8E9; /* Vert très pâle pour les fonds */
    --text-dark: #333333;
    --text-light: #777777;
    --white: #ffffff;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

/* Reset basique */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: var(--header-height);
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Pour ne pas cacher le contenu sous le header fixed */
}

.site-wrapper {
    flex: 1; /* Le contenu prendra tout l'espace disponible, poussant le footer en bas */
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* --- HEADER --- */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: var(--header-height);
    position: fixed; /* Header fixe pour UX */
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.container {
    
    width: 90%;
    max-width: 1200px;
    margin: 0 auto; /* Cela centre le bloc au milieu de l'écran */
    position: relative;

}

/* Logo */
.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation Desktop */
.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

/* CTA Button (Appel d'urgence) */
.btn-cta {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hamburger (Caché par défaut sur Desktop) */
.burger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* CTA FINAL */
#cta-final .cta-container {
    justify-content: center; /* Centre les boutons horizontalement */
    gap: 20px;
}

/* --- STYLES HOME PAGE --- */

/* Utilitaires Espacement */
.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 40px 0; }
.mt-3 { margin-top: 20px; }
.mt-4 { margin-top: 30px; }
.text-center { text-align: center; }
.bg-light { background-color: var(--secondary-color); }
.bg-primary { background-color: var(--primary-color); }
.text-white { color: var(--white); }

/* HERO SECTION */
.hero-home {
    position: relative;
    /* Image fournie par tes soins */
    background-image: url('../img/lmk-base.jpg'); 
    background-size: cover;
    background-position: center;
    height: 600px; /* Hauteur imposante */
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: left;
}

.hero-home .deratisation {
	background-image: url('../img/deratisation-lmk-nuisible.jpg')!important; 
}

/* Voile noir pour lisibilité texte */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-left: 0; 
    padding: 0 20px; /* Ajout de sécurité */
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

/* Boutons */
.cta-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 13px 28px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-secondary.dark {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* SECTION SERVICES (Grid Cards) */

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%; /* Important pour le centrage vertical dans le header */
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 { font-size: 2.2rem; color: var(--primary-dark); margin-bottom: 10px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* --- AMÉLIORATION CARTES SERVICES --- */
.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    
    /* AJOUTS POUR L'ALIGNEMENT VERTICAL */
    display: flex;
    flex-direction: column;
    height: 100%; /* Force la carte à prendre toute la hauteur de la grille */
}

.service-card p {
    flex-grow: 1; /* Le texte prend tout l'espace disponible pour pousser le bouton vers le bas */
    margin-bottom: 20px;
}

/* On stylise un peu mieux l'icône "Emoji" en attendant mieux */
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background-color: var(--secondary-color);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Cercle vert pâle derrière l'emoji */
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.link-arrow {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

/* REASSURANCE */
.reassurance-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

/* --- AMÉLIORATION REASSURANCE --- */
.reassurance-grid {
    display: flex;
    justify-content: center; /* Centré */
    gap: 60px; /* Plus d'espace entre les éléments */
    flex-wrap: wrap;
}

.reassurance-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer le texte */
    text-align: center;
    position: relative;
}

.reassurance-item strong {
    font-size: 1.3rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Petit tiret blanc sous le titre pour habiller */
.reassurance-item strong::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: rgba(255,255,255,0.5);
    margin: 8px auto;
}

/* ZONE & MAP */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.map-placeholder {
    background-color: #ddd;
    height: 400px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #666;
}

.locations-list ul {
    columns: 1; /* Liste simple pour l'instant */
    list-style: disc;
    padding-left: 20px;
    margin-top: 15px;
}

/* FAQ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

/* RESPONSIVE HOME */
@media (max-width: 768px) {
    .hero-home { height: auto; padding: 100px 0 60px 0; }
    .hero-content h1 { font-size: 2rem; }
    .two-col-grid { grid-template-columns: 1fr; }
    .reassurance-grid { flex-direction: column; }
}

/* --- FOOTER --- */
.site-footer {
    background-color: #1a1a1a; /* Gris très foncé presque noir */
    color: #b0b0b0; /* Gris clair pour le texte */
    padding-top: 60px;
    margin-top: auto; /* Permet de pousser le footer en bas si la page est courte */
}

.site-footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive auto */
    gap: 40px;
    padding-bottom: 40px;
}

/* Colonnes */
.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 10px;
}

/* Logo Footer */
.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}
.footer-logo span { color: var(--primary-color); }

.footer-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Listes de liens */
.footer-links li, .footer-contact li {
    margin-bottom: 12px;
}

.footer-links a, .footer-contact a {
    color: #b0b0b0;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary-color);
    padding-left: 5px; /* Petit effet de glissement */
}

/* Copyright Bar */
.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    font-size: 0.85rem;
    border-top: 1px solid #333;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Footer pour mobile */
@media (max-width: 768px) {
    .site-footer .container {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
        text-align: center;
    }
    
    .footer-col h3::after {
        margin: 10px auto; /* Centrer la ligne décorative */
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
    }
}