:root {
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --gold: #dfb230;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

/* Correction : Le body peut maintenant défiler (scroll) sur téléphone */
body {
    background: radial-gradient(circle at center, #2a2a2a 0%, var(--bg-darker) 100%);
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

span { color: var(--gold); }

/* Navigation fixe en haut */
.navbar {
    background-color: rgba(10, 10, 10, 0.95); padding: 15px 50px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #333; height: 70px;
    position: relative;
}
.logo { font-size: 1.5rem; font-weight: bold; letter-spacing: 2px; }
.logo a { color: var(--text-white); text-decoration: none; transition: opacity 0.3s; }
.logo a:hover { opacity: 0.8; }

.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { color: var(--text-white); text-decoration: none; font-size: 1rem; transition: color 0.3s;}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* Zone centrale pour toutes les pages */
main {
    flex: 1; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    animation: apparitionDouce 0.4s ease-in-out;
}

@keyframes apparitionDouce {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Styles Généraux des textes */
h1 { font-size: 3.5rem; margin-bottom: 10px; }
h2 { font-size: 2rem; font-weight: 300; margin-bottom: 30px; text-transform: uppercase;}
p { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 20px; line-height: 1.5;}

.btn-primary {
    background-color: var(--gold); color: #000; padding: 12px 25px; border: none;
    font-size: 1.1rem; font-weight: bold; border-radius: 5px; cursor: pointer;
    transition: transform 0.3s; margin-top: 20px; text-decoration: none; display: inline-block;
}
.btn-primary:hover { background-color: #c99e28; transform: translateY(-3px); }

/* Grille Services (Modifiée pour prendre plus de place) */
.services-grid { 
    display: flex; 
    justify-content: center; 
    gap: 40px; /* On écarte davantage les cartes (avant c'était 20px) */
    flex-wrap: wrap; 
    width: 100%;
    max-width: 1200px; /* Permet à la grille de s'étaler plus sur grand écran */
}

.service-card { 
    background-color: #1e1e1e; 
    padding: 40px 30px; /* On gonfle l'intérieur de la carte pour qu'elle respire */
    border-radius: 10px; 
    width: 320px; /* Cartes beaucoup plus larges (avant c'était 250px) */
    border-top: 4px solid var(--gold); /* Trait doré un peu plus épais */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Petite ombre sympa pour faire pro */
}

.service-card i { 
    font-size: 3.5rem; /* Icônes plus grandes (avant c'était 2.5rem) */
    color: var(--gold); 
    margin-bottom: 20px; 
}

.service-card h3 { 
    font-size: 1.4rem; /* Titres un peu plus gros */
    margin-bottom: 15px; 
}

.service-card p { 
    font-size: 1.05rem; 
    margin: 0;
    line-height: 1.6; /* Texte plus aéré et facile à lire */
}

/* Contact Compact */
.contact-compact { display: flex; justify-content: space-between; align-items: center; background-color: #1e1e1e; padding: 30px; border-radius: 10px; gap: 30px; text-align: left; width: 100%;}
.infos-rapides p { font-size: 1.1rem; margin-bottom: 15px; color: var(--text-white); }
.infos-rapides a { color: var(--text-white); text-decoration: none; }
.infos-rapides a:hover { color: var(--gold); }
.carte-mini { flex: 1; border: 2px solid var(--gold); border-radius: 10px; overflow: hidden; min-width: 300px; }

/* Mot du gérant (sur l'accueil) */
.texte-gerant { background-color: #1e1e1e; padding: 30px; border-radius: 10px; border-left: 4px solid var(--gold); margin-top: 50px;}
.texte-gerant p { font-style: italic; font-size: 1.2rem; }
.texte-gerant .signature { font-style: normal; font-weight: bold; color: var(--gold); margin-top: 15px; text-align: right;}

/* Footer */
footer { background-color: #000; color: var(--text-gray); text-align: center; padding: 15px; font-size: 0.9rem; margin-top: auto;}

/* =========================================================
   RESPONSIVE DESIGN (POUR LES TÉLÉPHONES ET TABLETTES) 
   ========================================================= */

.menu-mobile-btn {
    display: none; 
    font-size: 1.8rem;
    color: var(--gold);
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .navbar { padding: 15px 20px; }
    .menu-mobile-btn { display: block; }

    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.98);
        padding: 20px 0;
        text-align: center;
        border-bottom: 2px solid var(--gold);
        z-index: 100;
        gap: 15px;
    }
    .nav-links.ouvert { display: flex; }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }

    .contact-compact { flex-direction: column; text-align: center; }
    .carte-mini { width: 100%; min-width: auto; }
}

/* La photo du garage sur la page d'accueil */
.image-presentation {
    margin: 40px auto;
    width: 100%;
    max-width: 700px; /* Empêche la photo d'être trop géante sur PC */
}

.image-presentation img {
    width: 100%;
    border-radius: 10px; /* Coins arrondis */
    border: 3px solid var(--gold); /* Joli cadre doré */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Ombre pour faire ressortir l'image */
}