/* --- CONFIGURATION GÉNÉRALE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; line-height: 1.6; }

/* --- NAVIGATION UNIFORMISÉE (CORRIGÉE) --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 80px;
    background: white;
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.logo { font-size: 24px; font-weight: bold; letter-spacing: 2px; color: #2c3e50; }
.nav-links { display: flex; align-items: center; list-style: none; gap: 15px; }

.nav-links li a { 
    text-decoration: none; 
    color: #2c3e50; 
    font-weight: 600; 
    font-size: 1rem;
    padding: 10px 25px; 
    border-radius: 25px; 
    border: 2px solid transparent; /* Prévient le décalage au clic */
    transition: all 0.3s ease;
}

/* État actif : Entourage bleu pour la page sélectionnée */
.nav-links li a.active { 
    border: 2px solid #00d2ff; 
    color: #00d2ff; 
    background: rgba(0, 210, 255, 0.05); 
}

.nav-links li a:hover:not(.active) {
    background: #f8f9fa;
    border: 2px solid #eee;
}

/* --- PAGE ACCUEIL (HERO & GLASS CARDS) --- */
.hero {
    height: 100vh;
    background: url('openspace.jpg') no-repeat center center/cover;
    display: flex; align-items: center; justify-content: center;
}
.overlay {
    background: rgba(44, 62, 80, 0.3);
    width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding-top: 80px;
}
h1 { color: white; font-size: 3.5rem; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); margin-bottom: 5px; }
.tagline { color: white; font-size: 1.4rem; margin-bottom: 40px; font-weight: 400; text-shadow: 1px 1px 5px rgba(0,0,0,0.5); }

.cabinets-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.glass-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 30px; border-radius: 20px; color: white; width: 360px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.glass-card h2 { margin-bottom: 15px; font-size: 1.7rem; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 10px; }
.glass-card p { margin: 10px 0; font-size: 1.05rem; }
.map-link { color: #00d2ff; text-decoration: none; font-weight: bold; font-size: 0.85rem; text-transform: uppercase; margin-top: 15px; display: block; }

/* --- PAGE CONTACT --- */
.contact-page { padding-top: 80px; background-color: #f4f7f6; min-height: 100vh; }
.contact-header { text-align: center; padding: 60px 20px; background: #2c3e50; color: white; }
.contact-content { max-width: 1100px; margin: -50px auto 40px; display: grid; grid-template-columns: 2fr 1fr; gap: 30px; padding: 0 20px; }
.form-container { background: white; padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.form-row { display: flex; gap: 20px; }
.form-group { margin-bottom: 20px; flex: 1; }
label { display: block; margin-bottom: 8px; font-weight: 600; color: #2c3e50; }
input, select, textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; }
.submit-btn { background: #00d2ff; color: white; border: none; padding: 15px; border-radius: 8px; font-weight: bold; cursor: pointer; width: 100%; font-size: 1.1rem; transition: 0.3s; }
.submit-btn:hover { background: #00b9e0; }
.info-block { background: white; padding: 25px; border-radius: 15px; border-left: 5px solid #00d2ff; margin-bottom: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    nav { padding: 0 20px; }
    .contact-content { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
}