/* --- style.css --- */
:root {
    --bg-dark: #0a0f0d;
    --bg-panel: #141a18;
    --primary: #00ff9d;
    --secondary: #8abf38;
    --text-main: #f0f2f5;
    --text-muted: #8b9bb4;
    --border: 1px solid rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Manrope', sans-serif; background-color: var(--bg-dark); color: var(--text-main); line-height: 1.6; }
h1, h2, h3, h4, h5 { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* UTILS */
.container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }
.btn { display: inline-block; padding: 12px 30px; border: 1px solid var(--primary); color: var(--primary); font-weight: 700; text-transform: uppercase; cursor: pointer; background: transparent; transition: 0.4s; }
.btn:hover { background: var(--primary); color: var(--bg-dark); }
.btn-secondary { border-color: var(--text-muted); color: var(--text-muted); }
.btn-secondary:hover { border-color: #fff; color: #fff; background: transparent; }

/* HEADER (Compact pour pages internes) */
header { padding: 20px 0; border-bottom: var(--border); background: rgba(10,15,13,0.9); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; } .logo span { color: var(--primary); }
.nav-links { display: flex; gap: 30px; }
.nav-links a:hover { color: var(--primary); }

/* PAGE HERO (En-tête de page interne) */
.page-hero { padding: 80px 0 40px; text-align: center; background: radial-gradient(circle at top, #1a2520 0%, var(--bg-dark) 70%); border-bottom: var(--border); }
.page-hero h1 { font-size: 3.5rem; margin-bottom: 10px; }
.page-hero p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* FILTERS (Pour la page Solutions) */
.filter-bar { display: flex; justify-content: center; gap: 15px; margin: 40px 0; flex-wrap: wrap; }
.filter-btn { background: var(--bg-panel); border: var(--border); color: var(--text-muted); padding: 10px 25px; border-radius: 30px; cursor: pointer; transition: 0.3s; font-family: 'Oswald', sans-serif; }
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: var(--bg-dark); border-color: var(--primary); }

/* GRID SYSTEMS */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }

/* PRODUCT CARDS */
.prod-card { background: var(--bg-panel); border: var(--border); overflow: hidden; transition: 0.4s; position: relative; }
.prod-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.prod-img { height: 250px; background-size: cover; background-position: center; filter: grayscale(40%); transition: 0.4s; }
.prod-card:hover .prod-img { filter: grayscale(0%); }
.prod-content { padding: 25px; }
.prod-content h3 { font-size: 1.5rem; margin-bottom: 10px; }
.prod-content p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }

/* TECHNICAL TABLES (Pour page produit) */
.tech-specs { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.9rem; }
.tech-specs td, .tech-specs th { padding: 15px; border-bottom: var(--border); text-align: left; }
.tech-specs th { color: var(--primary); width: 40%; }
.tech-specs tr:last-child td { border-bottom: none; }

/* FOOTER */
footer { padding: 60px 0; border-top: var(--border); margin-top: 80px; background: #050807; font-size: 0.9rem; color: var(--text-muted); text-align: center; }

/* RESPONSIVE */
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; } .page-hero h1 { font-size: 2.5rem; } }