/* --- VARIABLES GLOBALES --- */
:root {
    --primary-pink: #E6007E;
    --primary-hover: #c2006a;
    --dark-bg: #000000;
    --soft-grey: #f4f4f4;
    --white: #FFFFFF;
    --text-color: #333;
    --body-font: 'Montserrat', sans-serif;
    /* Couleurs réseaux sociaux */
    --fb-color: #1877F2;
    --ig-gradient: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    --tk-color: #010101;
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: var(--body-font); 
    line-height: 1.6; 
    color: var(--text-color); 
    background-color: var(--white); 
    padding-top: 70px; /* Espace pour le header fixe */
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; transition: 0.3s; }
.highlight { color: var(--primary-pink); }

h2 { 
    font-size: 2.2rem; 
    text-align: center; 
    margin-bottom: 1.5em; 
    color: var(--dark-bg); 
    text-transform: uppercase; 
    font-weight: 700; 
}

/* --- SECTION HERO (ACCUEIL) --- */
#hero {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('logo/soclean.jpg');
    background-size: cover;
    background-position: center top; 
    background-repeat: no-repeat;
    background-attachment: fixed; 
    min-height: 90vh; 
    display: flex;
    align-items: flex-start; 
    justify-content: center;
    text-align: center;
    padding-top: 180px; 
    padding-bottom: 100px;
    color: white;
}

.hero-logo {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 4px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5);
}

#hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem); 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    text-transform: uppercase;
    margin: 20px 0;
    font-weight: 400;
}

/* --- BOUTONS --- */
.cta-button { 
    background-color: var(--primary-pink); 
    color: white; 
    padding: 12px 25px; 
    border-radius: 50px; 
    font-weight: bold; 
    display: inline-block; 
    border: none; 
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.cta-button:hover { background-color: var(--primary-hover); transform: translateY(-2px); }

/* --- HEADER --- */
#main-header { 
    background-color: var(--white); 
    position: fixed; 
    top: 0; width: 100%; 
    z-index: 1000; 
    padding: 15px 0; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}
#main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: bold; color: var(--primary-pink); }
.logo span { color: black; }

.main-nav ul { list-style: none; display: flex; align-items: center; }
.main-nav li { margin-left: 20px; }
.main-nav a { color: var(--dark-bg); font-weight: bold; font-size: 0.9rem; }
.main-nav a:hover { color: var(--primary-pink); }

.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--dark-bg); }

/* --- FOOTER --- */
#simple-footer { 
    background: var(--soft-grey); 
    padding: 40px 0; 
    text-align: center; 
    border-top: 3px solid var(--primary-pink); 
}

/* --- CONTACT SECTION & SOCIAL --- */
.contact-flex { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; }
.contact-info-box { background: var(--dark-bg); color: white; padding: 40px; border-radius: 15px; }
.info-item { display: flex; align-items: center; margin-bottom: 25px; }
.info-item i { 
    background: var(--primary-pink); 
    width: 40px; height: 40px; line-height: 40px; 
    border-radius: 50%; margin-right: 15px; text-align: center; 
}

.social-links { 
    margin-top: 25px; 
    display: flex; 
    gap: 15px; 
    justify-content: center; 
}

.social-item { 
    width: 45px; 
    height: 45px; 
    color: white !important; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.social-item.fb { background: var(--fb-color); }
.social-item.ig { background: var(--ig-gradient); }
.social-item.tk { background: var(--tk-color); border: 1px solid #333; }

.social-item:hover { 
    transform: translateY(-3px) scale(1.1); 
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* --- FORMULAIRE DE CONTACT --- */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form input, .contact-form textarea { 
    padding: 15px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; width: 100%; 
}
.contact-form textarea, .contact-form button { grid-column: span 2; }

/* --- RESPONSIVE OPTIMISÉ --- */
@media (max-width: 768px) {
    #hero {
        min-height: 65vh;
        padding-top: 100px; /* On remonte un peu le contenu sur mobile */
        padding-bottom: 40px;
        align-items: center; 
        background-attachment: scroll !important; /* Fixe le bug de zoom sur iPhone/Android */
        background-position: center center !important; /* Centre l'image pour mobile */
    }
    
    .hero-logo { 
        font-size: 2.2rem; 
        letter-spacing: 2px;
    }

    #hero h1 {
        font-size: 1.4rem;
        margin: 15px 0;
    }

    .menu-toggle { display: block; }
    .main-nav { 
        display: none; position: absolute; top: 70px; left: 0; width: 100%; 
        background: white; padding: 20px; box-shadow: 0 10px 15px rgba(0,0,0,0.1); 
    }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; }
    .main-nav li { margin: 15px 0; }
    .contact-flex { grid-template-columns: 1fr; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-form textarea, .contact-form button { grid-column: span 1; }
    h2 { font-size: 1.8rem; }
}