/* Variables pour gérer facilement les couleurs */
:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --card-bg: #1e293b;
    --border-color: #334155;
}

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

body { background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; }

/* Header & Navigation */
header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 5%; background-color: var(--card-bg); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; }
header .logo { font-size: 1.2rem; font-weight: bold; }
nav a { color: var(--text-color); text-decoration: none; margin-left: 1.5rem; transition: color 0.2s; }
nav a:hover { color: var(--primary-color); }

/* Hero Section */
.hero { text-align: center; padding: 6rem 5% 4rem; }
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; background: linear-gradient(to right, #60a5fa, #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.2rem; color: #94a3b8; max-width: 600px; margin: 0 auto; }

/* Filtres */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin: 2rem 5%; }
.filter-btn { background-color: transparent; border: 1px solid var(--border-color); color: var(--text-color); padding: 0.5rem 1.2rem; border-radius: 20px; cursor: pointer; transition: 0.3s; }
.filter-btn:hover, .filter-btn.active { background-color: var(--primary-color); border-color: var(--primary-color); }

/* Grille Catalogue */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; padding: 0 5% 4rem; max-width: 1200px; margin: 0 auto; }

/* Cartes Produits */
.card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.badges { margin-bottom: 0.5rem; display: flex; gap: 0.5rem; }
.badge { font-size: 0.75rem; background-color: #047857; padding: 0.2rem 0.6rem; border-radius: 12px; font-weight: bold; }
.card-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card-desc { color: #94a3b8; font-size: 0.9rem; margin-bottom: 1.5rem; flex-grow: 1; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.price { font-size: 1.25rem; font-weight: bold; color: var(--primary-color); }

/* Boutons et formulaires */
.btn { text-decoration: none; padding: 0.8rem 1.5rem; border-radius: 8px; font-weight: bold; text-align: center; display: inline-block; cursor: pointer; border: none; }
.btn.primary { background-color: var(--primary-color); color: white; }
.btn.primary:hover { background-color: var(--primary-hover); }
.btn.secondary { background-color: transparent; border: 1px solid var(--primary-color); color: var(--primary-color); }
.btn.secondary:hover { background-color: var(--primary-color); color: white; }

/* Sections Diverses */
#services, #contact { padding: 4rem 5%; text-align: center; background-color: var(--card-bg); border-top: 1px solid var(--border-color); }
#services p { max-width: 800px; margin: 1rem auto; color: #94a3b8; }
.contact-buttons { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* Responsive Mobile */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 1rem; }
    nav a { margin: 0 0.5rem; }
    .hero h1 { font-size: 2rem; }
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Style pour le logo image */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 40px; /* Tu pourras augmenter ou réduire cette valeur (ex: 30px ou 50px) */
    width: auto;  /* Garde les bonnes proportions */
    min-width: 40px;
    object-fit: contain;
}