html {
    scroll-behavior: smooth;
}

:root {
    --gold: #bfa37e;
    --dark: #121212;
    --light-grey: #f9f9f9;
    --white: #ffffff;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    scroll-behavior: smooth;
    overflow-x: hidden; 
    /* MODIFICATION : Ajout du padding pour compenser le header fixe */
    padding-top: 70px; 
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%; 
    background: var(--white);
    /* MODIFICATION : Passage en position fixe pour rester à l'écran */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
    /* MODIFICATION : Ajout d'une ombre pour le relief au scroll */
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem; 
    letter-spacing: 2px;
    display: flex;       
    align-items: center; 
    gap: 12px;           
}

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

.logo-img {
    height: 50px; 
    width: 50px; 
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 37%; 
    border: 1.5px solid var(--gold);
}

.menu a {
    text-decoration: none;
    color: var(--dark);
    margin-left: 25px;
    font-size: 0.85rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.menu a:hover {
    color: var(--gold);
}

.cta-phone {
    background: var(--dark);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 2px;
}


.burger-menu {
    display: none; 
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2001;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 2px; 
    background-color: var(--dark);
    transition: 0.3s ease-in-out;
}


.hero {
    /* MODIFICATION : Ajustement de la hauteur pour tenir compte du padding-top du body */
    height: calc(100vh - 70px); 
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('images/solresine-epoxy-bleu-dore.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    padding: 40px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 20px;
}

.btn-gold {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: var(--gold);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-gold:hover {
    background: #a68b66;
    transform: scale(1.05);
}


.section { padding: 100px 10%; text-align: center; }
.bg-dark { background: var(--dark); color: var(--white); }
.subtitle { color: var(--gold); text-transform: uppercase; letter-spacing: 4px; font-size: 0.8rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin: 15px 0 50px; }


.grid-services, .steps-grid, .nuancier-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
    margin-top: 40px;
}

.card, .step {
    padding: 40px;
    border: 1px solid #eee;
    transition: 0.4s;
    background: var(--white);
}

.card:hover { border-color: var(--gold); background-color: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }


.card h3, .step h3 {
    margin-bottom: 20px; 
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.step-number {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    color: rgba(191, 163, 126, 0.2);
    display: block;
    margin-bottom: -10px;
}

.step p { font-size: 0.9rem; line-height: 1.6; color: #666; }

.nuancier-grid {
    gap: 15px;
}

.swatch img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
    border: 2px solid transparent;
    transition: 0.3s;
}

.swatch:hover img { border-color: var(--gold); }


.container-text { max-width: 1100px; margin: 0 auto; text-align: left; }
.bg-light-grey { background-color: var(--light-grey); }

.expert-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.expert-content p { font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; color: #444; }
.expert-stats { display: flex; flex-direction: column; gap: 20px; }
.stat-item { border-left: 3px solid var(--gold); padding-left: 20px; }
.stat-item h4 { font-size: 2rem; color: var(--gold); font-family: 'Playfair Display', serif; }


footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 10% 30px;
    text-align: center;
}

footer p { margin-bottom: 10px; letter-spacing: 1px; font-weight: 200; }
footer strong { color: var(--gold); letter-spacing: 2px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom p { font-size: 0.75rem; color: #888; text-transform: uppercase; }

.social-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 40px; 
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center; 
    gap: 10px;           
    transition: 0.4s;
    opacity: 0.8;
}

.social-links i {
    font-size: 1.5rem;   
}

.social-links span {
    font-size: 0.85rem;  
    text-transform: uppercase;
    letter-spacing: 2px;
}

.social-links a:hover {
    color: var(--gold);
    opacity: 1;
    transform: translateY(-2px);
}


.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 40px auto 0;
}

.contact-card {
    background: var(--light-grey);
    padding: 40px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--dark);
    transition: 0.4s;
    border: 1px solid transparent;
}

.contact-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card p {
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-card:hover {
    border-color: var(--gold);
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

@media (max-width: 1000px) {
    /* MODIFICATION : Ajustement pour mobile pour que le padding body suive le header mobile */
    body { padding-top: 60px; }
    
    nav { 
        padding: 0 15px; 
        height: 60px; 
    }

    .logo { font-size: 1rem; gap: 8px; }
    .logo-img { height: 40px; width: 40px; }

    .burger-menu {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%; 
        height: 100vh;
        width: 250px; 
        background: var(--white);
        display: flex; 
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 25px rgba(0,0,0,0.1);
        z-index: 2000;
    }

    .menu.active {
        right: 0;
    }

    .menu a {
        margin-left: 0;
        font-size: 0.9rem; 
        letter-spacing: 2px;
        color: var(--dark);
    }

    .burger-menu.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .burger-menu.open span:nth-child(2) { opacity: 0; }
    .burger-menu.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero { height: calc(100vh - 60px); }
    .hero h1 { font-size: 2.2rem; }
    .expert-grid { grid-template-columns: 1fr; }
}


@media (max-width: 600px) {
    .grid-services, .steps-grid, .nuancier-grid {
        grid-template-columns: 1fr; 
        gap: 20px; 
    }
    .card, .step {
        padding: 30px 20px; 
    }
}