/* Couleurs et Polices */
:root {
    --primary: #2c3e50;    /* Bleu sombre */
    --accent: #3498db;     /* Bleu clair */
    --text: #333;
    --light: #f4f4f4;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* En-tête et Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Ajuste la taille de ton logo ici */
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Section Hero (Accueil) */
.hero {
    background: var(--primary);
    color: #fff;
    height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.btn-main {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    margin-top: 20px;
    font-weight: bold;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

/* ... (tout ton code précédent reste pareil jusqu'au footer) ... */

footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
} /* On ferme bien le footer ici */

/* MAINTENANT on met la grille de produits à l'extérieur */
.product-grid {
    display: flex !important;      /* Le !important force la commande */
    flex-direction: row !important; /* Force l'alignement en ligne */
    justify-content: center;
    gap: 20px;
}

.product-item {
    width: 300px;           
    text-align: center;
    margin-bottom: 20px;
}

.product-item img {
    width: 100%;            
    height: auto;
    border-radius: 5px; /* Un petit arrondi pour faire propre */
}
/* Styles spécifiques pour les téléphones */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column !important; /* Aligne les éléments verticalement */
        gap: 20px !important;
    }

    .hero-logo img {
        width: 100px !important; /* On réduit un peu la taille des logos sur mobile */
    }

    .hero-text h1 {
        font-size: 2rem !important; /* On réduit la taille du texte pour qu'il ne coupe pas */
    }
    
    /* On cache peut-être l'un des deux logos sur mobile pour que ce soit moins chargé */
    .hero-logo:last-child {
        display: none; 
    }
}