:root {
    --navy-blue: #0a192f;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --accent-blue: #4a90e2;
    --gold: #C9A13B;
    --text-primary: #333333;
    --text-secondary: #ccd6f6;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lora', serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: var(--navy-blue);
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-blue);
    margin: 1rem auto 0;
}

/* --- HEADER --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.main-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    margin: 0 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--navy-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-blue);
}

/* AJOUT : Le bouton du menu burger (caché sur grand écran) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy-blue);
    cursor: pointer;
}


/* --- BUTTONS --- */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--white);
    border: 2px solid var(--accent-blue);
}

.btn-primary:hover {
    background-color: #3a7bc8;
    border-color: #3a7bc8;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-outline:hover {
    background-color: var(--accent-blue);
    color: var(--white);
}

/* --- HERO SECTION --- */
#hero {
    background-color: var(--navy-blue);
    color: var(--white);
    min-height: calc(100vh - 80px); /* 80px est la hauteur approx. de votre header */
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero-content {
    max-width: 800px;
}

#hero h1 {
    font-size: clamp(2.0rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

#hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
}

/* --- SERVICES SECTION --- */
#services {
    background-color: var(--light-gray);
}

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

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
}

.service-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0;
}

/* --- ABOUT SECTION --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(10, 25, 47, 0.2);
}

#about .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}
#about .section-title::after {
    margin: 1rem 0 0;
}

.about-text p {
    font-size: 1.1rem;
    color: #444;
}

/* --- CONTACT SECTION --- */
#contact {
    background-color: var(--light-gray);
    border-top: 4px solid var(--gold);
}
#contact .section-title {
    color: var(--gold);
}
#contact .section-title::after {
    background: var(--gold);
}

.contact-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -2rem auto 3rem;
    color: #555;
}

.contact-details {
    text-align: center;
    margin-top: 3rem;
}

.contact-details a {
    display: inline-block;
    margin: 0.5rem 0;
    font-size: 1.15rem;
    color: var(--gold);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: color 0.2s;
}
.contact-details a:hover {
    color: #b38a2b;
    text-decoration: underline;
}
.contact-details i {
    margin-right: 0.5rem;
    color: var(--gold);
    font-size: 1.2em;
}
.social-links {
    margin-top: 1rem;
}

/* --- FOOTER --- */
footer {
    background-color: var(--navy-blue);
    color: var(--text-secondary);
    padding: 2rem 0;
    text-align: center;
}
footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* =================================== */
/* ==== RESPONSIVE DESIGN ==== */
/* =================================== */

/* --- TABLETTE & MOBILE (en dessous de 992px) --- */
@media (max-width: 992px) {
    /* AJOUT : On affiche le bouton burger et on prépare la nav à être cachée */
    .menu-toggle {
        display: block; /* On rend le bouton burger visible */
    }
    .main-nav {
        position: absolute;
        top: 100%; /* Se positionne juste en dessous du header */
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        
        /* MODIFICATION : On cache le menu par défaut */
        display: none;
    }
    .main-nav.active {
        display: block; /* On affiche le menu quand il a la classe 'active' */
    }
    .main-nav ul {
        flex-direction: column;
        padding: 1rem;
    }
    .main-nav li {
        margin: 0.75rem 0;
        width: 100%;
        text-align: center;
    }

    /* MODIFICATION : Le header sur tablette reste sur une ligne */
    .main-header .container {
        flex-direction: row; /* On force à rester sur une ligne */
        justify-content: space-between;
    }

    /* --- Ajustements généraux pour tablette --- */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-image {
        margin-bottom: 2rem;
        justify-self: center;
    }
    #about .section-title {
        text-align: center;
    }
    #about .section-title::after {
        margin: 1rem auto 0;
    }
}

/* --- MOBILE UNIQUEMENT (en dessous de 600px) --- */
@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }
    section {
        padding: 3rem 0;
    }
    .logo img {
        height: 36px; /* Logo encore plus petit */
    }
    #hero {
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    #hero .subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .service-card {
        padding: 1.5rem;
    }
    .about-image img {
        max-width: 220px;
    }
}