* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #fafafa;
    color: #111;
    line-height: 1.6;
}

/* --- HEADER & NAVIGATION --- */
header {
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
}

.logo {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover, nav a.active {
    color: #000;
}

/* --- MENU DÉROULANT (DROPDOWN) --- */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 0.5rem 0;
    list-style: none;
    flex-direction: column;
    gap: 0;
}

.dropdown-content li a {
    padding: 0.6rem 1.2rem;
    display: block;
    color: #555;
}

.dropdown-content li a:hover {
    background: #f5f5f5;
    color: #000;
}

/* Afficher le menu au survol */
.dropdown:hover .dropdown-content {
    display: flex;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 3rem 2rem;
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid #eaeaea;
    margin-top: 6rem;
    background: #fff;
}

/* --- HERO BANNER --- */
.hero-banner {
    max-width: 1100px;
    margin: 6rem auto;
    padding: 0 2rem;
    text-align: center;
}

.badge {
    display: inline-block;
    background: #eee;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.hero-banner h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    color: #111;
}

.hero-banner p {
    font-size: 1.15rem;
    color: #666;
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary {
    background: #111;
    color: #fff;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #333;
}

.btn-secondary {
    background: #fff;
    color: #111;
    border: 1px solid #ddd;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #f5f5f5;
}

/* --- SECTION AVANTAGES --- */
.features {
    max-width: 1100px;
    margin: 5rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* --- PAGE PRODUITS & GRILLE --- */
.shop-header {
    max-width: 1100px;
    margin: 4rem auto 2rem auto;
    padding: 0 2rem;
    text-align: center;
}

.shop-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.shop-header p {
    color: #666;
}

.products-grid {
    max-width: 1100px;
    margin: 2rem auto 6rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.product-img-placeholder {
    width: 100%;
    height: 220px;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #777;
    font-weight: 500;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-price {
    display: block;
    font-weight: bold;
    font-size: 1.2rem;
    color: #111;
    margin-bottom: 1.2rem;
}

.btn-card {
    display: block;
    text-align: center;
    background: #111;
    color: #fff;
    padding: 0.7rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-card:hover {
    background: #333;
}

/* --- PAGES DE CONTENU (À propos / Contact) --- */
.content-page {
    max-width: 800px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.content-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.content-page p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.contact-box {
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.contact-box p {
    margin-bottom: 0.8rem;
    color: #333;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    /* Ajuste la navigation pour éviter qu'elle ne dépasse */
    nav {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
        padding: 0;
    }

    /* Réduit la taille des grands titres sur téléphone */
    .hero-banner h1, .shop-header h1, .content-page h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    /* Empile les boutons du hero proprement */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        text-align: center;
    }

    /* Force les cartes produits et avantages à passer sur une seule colonne */
    .products-grid, .features {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    /* Évite que le contenu ne colle aux bords de l'écran */
    main, .content-page {
        padding: 1rem;
    }
}