/* VARIABLES & BASE */
:root {
    --primary: #2d5a27;      /* Vert forêt sombre */
    --secondary: #76ba1b;    /* Vert vif (Bagan style) */
    --accent: #f4f9f4;       /* Fond clair */
    --dark: #1a2e1a;         /* Texte sombre */
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fcfdfc;
    padding-top: 70px; /* Espace pour le header fixe */
}

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

/* HEADER FIXE */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    font-weight: 900;
    font-size: 1.2rem;
    gap: 8px;
}

.brand .material-icons {
    color: var(--secondary);
    font-size: 32px;
}

.brand .expert {
    color: var(--secondary);
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-phone {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition);
}

.btn-cta {
    background: var(--secondary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-cta:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(26,46,26,0.8), rgba(26,46,26,0.4));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge {
    display: inline-block;
    background: var(--secondary);
    padding: 5px 15px;
    border-radius: 50px;
    margin-top: 20px;
    font-weight: 700;
}

/* SERVICES GRID */
.intro-block {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .subtitle {
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-bottom: 4px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
}

.service-card.highlight {
    background: var(--primary);
    color: var(--white);
}

.icon-main {
    font-size: 50px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* CHECKLIST */
.checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.checklist div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    border: solid 1px;
    padding: 10px;
    flex-direction: column;
    text-align: center;
}

.checklist .material-icons {
    color: var(--secondary);
}

/* FOOTER */
footer {
    background: var(--dark);
    color: #999;
    padding: 40px 20px;
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.5rem; }
    .brand-text { font-size: 1rem; }
}

@media (max-width: 768px) {
    .phone-number, .brand-text span:not(.expert) {
        display: none; /* Cache les textes longs sur mobile pour garder la ligne */
    }
    
    .nav-container {
        padding: 0 10px;
    }

    .header-actions {
        gap: 10px;
    }

    .btn-cta {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}