:root { --noir: #121212; --rouge: #e63946; --blanc: #ffffff; --gris: #f4f4f4; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; background: var(--blanc); color: var(--noir); }
.container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.bg-light { background: var(--gris); }

/* Header & Logo */
header { background: var(--noir); color: white; padding: 10px 0; position: sticky; top: 0; z-index: 1000; border-bottom: 2px solid var(--rouge); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo-container { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; border: 2px solid var(--rouge); }
.logo-text { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; }
.logo-text span { color: var(--rouge); }
.nav-links { list-style: none; display: flex; gap: 15px; }
.nav-links a { color: white; text-decoration: none; font-size: 0.9rem; }
.btn-devis { background: var(--rouge); color: white; padding: 8px 15px; text-decoration: none; border-radius: 4px; font-weight: bold; }

/* Hero */
.hero { height: 60vh; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/fond-accueil.jpg') center/cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.hero h1 { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; }

/* Services */
.section-title { text-align: center; font-family: 'Orbitron', sans-serif; margin-bottom: 30px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { background: white; padding: 30px; border-bottom: 4px solid var(--rouge); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.btn-card { display: block; margin-top: 15px; color: var(--rouge); text-decoration: none; font-weight: bold; border: 1px solid var(--rouge); text-align: center; padding: 8px; }

/* Galerie CORRIGÉE */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; }
.gallery-grid img { width: 100%; height: auto; object-fit: contain; background: #ddd; border-radius: 5px; cursor: pointer; transition: 0.3s; }
.gallery-grid img:hover { transform: scale(1.02); }

/* Formulaire */
.quote-box { background: var(--noir); padding: 30px; border-radius: 8px; }
input, select, textarea { width: 100%; padding: 12px; margin-bottom: 10px; background: #222; border: 1px solid #444; color: white; }
.btn-submit { background: var(--rouge); color: white; border: none; width: 100%; padding: 15px; font-weight: bold; cursor: pointer; }

/* MOBILE */
@media (max-width: 768px) {
    nav { flex-direction: column; gap: 10px; }
    .nav-links { font-size: 0.8rem; }
    .hero h1 { font-size: 1.5rem; }
}