/* --- VARIABLES & RESET --- */
:root {
    --primary-green: #2E7D32;
    --secondary-green: #43A047;
    --dark-grey: #1a1a1a;
    --light-grey: #f4f7f4;
    --white: #ffffff;
    --text-color: #333333;
    --accent-orange: #e67e22;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    padding-top: 80px; /* Espace pour le menu fixe */
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- NAVBAR (MENU) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-grey);
    text-transform: uppercase;
}

.logo span { color: var(--primary-green); }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    color: var(--dark-grey);
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--primary-green); }

.btn-call-nav {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.btn-call-nav:hover { background-color: var(--secondary-green); }

.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--dark-grey); }

/* --- RESPONSIVE MENU (MOBILE) --- */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s;
        border-top: 1px solid #eee;
    }
    .nav-links.active { right: 0; }
    .menu-toggle { display: block; }
    .btn-call-nav span { display: none; } /* Cache le numéro sur petit écran, garde l'icone */
    .btn-call-nav { padding: 10px; border-radius: 50%; }
}

/* --- TYPOGRAPHIE --- */
h1, h2, h3 { font-weight: 700; color: var(--dark-grey); margin-bottom: 1rem; }
h2 {
    font-size: 2rem;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}
h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%); width: 80px; height: 4px;
    background-color: var(--primary-green);
}

/* --- HERO SECTION --- */
header {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -2; filter: brightness(0.6);
}
.hero-content { z-index: 1; padding: 20px; }
h1 { font-size: 3.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.5rem; margin-bottom: 2rem; text-transform: uppercase; }
.btn {
    display: inline-block; background-color: var(--primary-green);
    color: var(--white); padding: 15px 30px; border-radius: 50px;
    font-weight: 600; text-transform: uppercase; transition: 0.3s;
}
.btn:hover { background-color: var(--secondary-green); transform: translateY(-2px); }

/* --- SERVICES --- */
.section-padding { padding: 80px 20px; }
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; max-width: 1200px; margin: 0 auto;
}
.service-card {
    background: var(--white); border-radius: 10px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: 0.3s;
}
.service-card:hover { transform: translateY(-5px); }
.service-img { height: 200px; width: 100%; object-fit: cover; }
.service-content { padding: 25px; }
.service-title { color: var(--primary-green); text-align: center; }
.service-text { font-size: 0.9rem; color: #555; text-align: justify; }

/* --- SPLIT SECTION --- */
.split-section {
    display: flex; flex-wrap: wrap; max-width: 1200px; margin: 50px auto;
    background-color: var(--light-grey); border-radius: 20px; overflow: hidden;
}
.split-image, .split-content { flex: 1 1 400px; }
.split-image img { width: 100%; height: 100%; object-fit: cover; min-height: 350px; }
.split-content { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.highlight-text { color: var(--accent-orange); font-weight: 600; margin-top: 15px; }

/* --- ABOUT --- */
.about-section { background-color: #111; color: var(--white); position: relative; }
.about-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.2; z-index: 0;
}
.about-container { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; }
.about-text h2 { color: var(--white); }
.accent-text { color: var(--secondary-green); font-style: italic; margin-top: 15px; }
.stats-grid {
    display: flex; justify-content: space-around; flex-wrap: wrap;
    margin-top: 50px; border-top: 1px solid #333; padding-top: 30px;
}
.stat-number { display: block; font-size: 2.5rem; color: var(--primary-green); }

/* --- PORTFOLIO --- */
.portfolio-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; max-width: 1200px; margin: 0 auto;
}
.portfolio-img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; transition: 0.3s; }
.portfolio-img:hover { transform: scale(1.02); }

/* --- BANNER --- */
.specialist-banner { background-color: #3e3e3e; color: var(--white); text-align: center; padding: 60px 20px; }
.specialist-title { color: var(--accent-orange); }

/* --- CONTACT --- */
.contact-intro { text-align: center; margin-bottom: 40px; color: #666; }
.contact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; max-width: 1200px; margin: 0 auto;
}
.contact-card {
    text-align: center; padding: 30px; border: 1px solid #eee;
    border-radius: 10px; transition: 0.3s;
}
.contact-card:hover { border-color: var(--primary-green); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.contact-icon { font-size: 2.5rem; color: var(--primary-green); margin-bottom: 15px; }
.contact-info { font-weight: 600; color: var(--dark-grey); }

/* --- FOOTER --- */
footer { background-color: #000; color: #fff; text-align: center; padding: 30px; }
.footer-links { color: var(--secondary-green); font-weight: bold; display: block; margin-bottom: 10px; }

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    header { height: 60vh; }
}