/* Variables & Reset */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #198754;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    color: var(--dark-color);
    line-height: 1.6;
}

/* Utilitaires */
.container { width: 90%; max-width: 1200px; margin: auto; }
.text-center { text-align: center; }
.bg-light { background-color: var(--light-bg); }
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 40px; }

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}
.btn-primary { background: var(--primary-color); color: var(--white); }
.btn-primary:hover { background: #0b5ed7; }
.btn-large { font-size: 1.1rem; padding: 15px 30px; background: var(--secondary-color); color: var(--white); }
.btn-large:hover { background: #157347; }

/* Header */
header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }
.logo span { color: var(--secondary-color); }
nav ul { list-style: none; display: flex; gap: 20px; }
nav a { text-decoration: none; color: var(--dark-color); font-weight: 500; }
nav a:hover { color: var(--primary-color); }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&q=80') center/cover;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}
.hero h1 { font-size: 3rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 20px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-list { list-style: none; margin-bottom: 30px; font-size: 1.1rem; }

/* Grid Layouts */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Cards */
.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
}
.card h3 { margin-bottom: 15px; }
.stat-card { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.stat-card h2 { font-size: 3rem; color: var(--secondary-color); margin-bottom: 10px; }

/* Simulateur */
.simulator-box {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: auto;
}
.form-grid { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; align-items: flex-end; justify-content: center; }
.input-group { display: flex; flex-direction: column; text-align: left; flex: 1; min-width: 200px; }
.input-group label { margin-bottom: 5px; font-weight: 600; }
.input-group input, .input-group select { padding: 12px; border: 1px solid #ccc; border-radius: 5px; }

/* Alertes */
.alert { padding: 15px; border-radius: 5px; margin-bottom: 20px; text-align: center; }
.alert-success { background: #d1e7dd; color: #0f5132; border: 1px solid #badbcc; }

/* FAQ */
.faq-list { max-width: 800px; margin: auto; }
details { background: var(--white); margin-bottom: 15px; padding: 15px; border-radius: 5px; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
summary { font-weight: 600; font-size: 1.1rem; }
details p { margin-top: 15px; color: #555; }

/* Contact */
.contact-wrapper { display: flex; gap: 40px; flex-wrap: wrap; }
.contact-info, .contact-form { flex: 1; min-width: 300px; }
.contact-info h3 { margin-bottom: 20px; font-size: 1.5rem; color: var(--primary-color); }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form textarea { padding: 15px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; }

/* Footer */
footer { background: var(--dark-color); color: var(--white); padding: 30px 0; }

/* Responsive */
@media (max-width: 768px) {
    nav { display: none; } /* En production, ajouter un menu burger ici */
    .hero h1 { font-size: 2rem; }
    .contact-wrapper { flex-direction: column; }
}