:root {
    --primary: #5d4037; /* Marron bois foncé */
    --secondary: #a1887f; /* Marron clair */
    --accent: #d7ccc8;
    --dark: #212121;
    --light: #f5f5f5;
    --bg-dark-opacity: rgba(0,0,0,0.5);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
    scroll-behavior: smooth;
}

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

/* Navbar - Corrigé avec Responsive */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--dark);
    text-decoration: none;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:not(.btn-navbar):hover { color: var(--secondary); }

.btn-navbar {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
}

/* Menu Toggle - Corrigé pour le Responsive */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Styles Mobile */
@media screen and (max-width: 900px) {
    .menu-toggle { display: flex; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        height: calc(100vh - 100%);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: left 0.4s ease-in-out;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 3rem;
    }

    .nav-links.active { left: 0; }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a { font-size: 1.2rem; }
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(var(--bg-dark-opacity), var(--bg-dark-opacity)), 
                url('https://images.unsplash.com/photo-1504148455328-c376907d081c?q=80&w=1600&h=900&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 2.5rem; }

/* Boutons */
.btn-secondary {
    background: var(--secondary);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Projets */
.portfolio-section { padding: 6rem 5%; }
.section-title { text-align: center; margin-bottom: 4rem; font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--primary); }

.container-projets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background: var(--light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.card:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.card img { width: 100%; height: 260px; object-fit: cover; }

.card-body { padding: 2rem; }
.card-body h3 { margin-bottom: 0.8rem; font-family: 'Playfair Display', serif; font-size: 1.5rem; }

/* SECTION TÉMOIGNAGES (Ajoutée et Corrigée) */
.testimonials-section {
    background: var(--light);
    padding: 6rem 5%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    position: relative;
    border-left: 5px solid var(--secondary);
}

.testimonial-card::after {
    content: '“';
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--accent);
    position: absolute;
    top: 1rem;
    right: 2rem;
    opacity: 0.6;
}

.testimonial-card p { font-style: italic; margin-bottom: 1.5rem; font-size: 1.1rem; color: #555; }
.testimonial-card cite { font-weight: 600; color: var(--primary); font-style: normal; display: block; }

/* Contact Form */
.contact-section { background: var(--primary); color: white; padding: 6rem 5%; }
.contact-container { max-width: 650px; margin: 0 auto; text-align: center; }

#contact-form { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 3rem; text-align: left; }

input, textarea {
    padding: 1.2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    color: var(--dark);
}

.btn-submit {
    background: var(--secondary);
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 1rem;
    transition: background 0.3s;
}

.btn-submit:hover { background: #8d6e63; }

.contact-info { margin-top: 3rem; color: var(--accent); display: flex; flex-direction: column; gap: 1rem; align-items: center;}

footer { text-align: center; padding: 2.5rem; font-size: 0.9rem; background: #eee; }
footer a { color: var(--primary); font-weight: bold; text-decoration: none; }
