@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@400;700&display=swap');

:root {
    --primary: #1c2833;    /* Anthracite profond du logo */
    --primary-light: #2c3e50;
    --secondary: #1abc9c;  /* Vert émeraude / Teal du logo */
    --secondary-hover: #16a085;
    --accent: #bdc3c7;     /* Gris acier / Argent */
    --text: #566573;
    --text-dark: #1c2833;
    --bg-light: #f8f9f9;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .nav-logo {
    font-family: 'Outfit', sans-serif;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid var(--secondary);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Hero Section Industrielle */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background: linear-gradient(rgba(28, 40, 51, 0.85), rgba(28, 40, 51, 0.7)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Services */
section { padding: 8rem 10%; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--bg-light);
    border-left: 5px solid var(--secondary);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateX(10px);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Partenaires */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: center;
    justify-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.partner-item {
    text-align: center;
    width: 100%;
}

.partner-item img {
    max-height: 80px;
    max-width: 220px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: none;
    opacity: 1;
    transition: var(--transition);
}

.partner-item:hover img {
    transform: translateY(-5px) scale(1.05);
}

.partner-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    padding: 0 10px;
}

/* Boutons industriels */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px; /* Plus carré, plus industriel */
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
    color: white;
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.4);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 188, 156, 0.6);
}

.btn-accent {
    background: linear-gradient(135deg, #7f8c8d, var(--accent));
    color: var(--primary);
    border: 1px solid rgba(0,0,0,0.1);
}

/* Catalogue et Filtres */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--secondary);
    background: transparent;
    color: var(--secondary);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--secondary);
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.product-img {
    height: 120px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem;
    border-bottom: 5px solid var(--bg-light);
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.brand-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.product-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.product-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    color: var(--text);
}

.spec-item {
    background: var(--bg-light);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

@media (max-width: 768px) {
    .filter-container { flex-wrap: wrap; }
}
