/* Variables pour un style facile à maintenir */
:root {
    --primary-color: #007BFF; /* Bleu pour la confiance */
    --secondary-color: #28A745; /* Vert pour la croissance */
    --text-color: #333;
    --light-bg: #F8F9FA;
    --font-family: 'Montserrat', sans-serif;
}

/* Style de base et réinitialisation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
.main-header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 1.8em;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 15px;
    font-weight: 600;
    transition: color 0.3s;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-color);
}

.cta-login {
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-login:hover {
    background-color: #218838;
}

/* --- HERO SECTION --- */
.hero-section {
    background: url('hero-bg.jpg') no-repeat center center/cover; /* REMPLACER par une image pertinente */
    background-color: var(--primary-color); /* Couleur de secours */
    color: white;
    text-align: center;
    padding: 100px 20px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 800;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- PILIERS SECTION --- */
.pillars-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.pillar {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.pillar:hover {
    transform: translateY(-5px);
}

.pillar .icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.pillar h3 {
    margin-bottom: 10px;
    font-weight: 600;
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--text-color);
    color: white;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}

.main-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    margin: 0 10px;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .main-nav {
        margin: 15px 0;
    }
    .main-nav ul {
        flex-direction: column;
    }
    .main-nav ul li a {
        padding: 8px 0;
        display: block;
    }
    .cta-login {
        width: 100%;
    }
    .hero-content h1 {
        font-size: 2em;
    }
}



/* --- Styles généraux pour les pages internes --- */
.page-content {
    padding-top: 50px;
    padding-bottom: 80px;
}

.page-title {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

/* --- A Propos & Services --- */
.mission-section, .values-section, .service-card {
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.values-grid, .services-list, .stats-grid, .contact-grid {
    display: grid;
    gap: 30px;
    margin-top: 20px;
}

.values-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.cta-button.small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 25px;
}

/* --- Impact --- */
.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid #ddd;
}

.stat-number {
    font-size: 3em;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.story-card {
    padding: 20px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* --- Contact --- */
.contact-grid {
    grid-template-columns: 1fr 1.5fr; /* 1/3 pour l'info, 2/3 pour le formulaire */
    align-items: start;
}

.contact-info p {
    margin-bottom: 10px;
}

.map-placeholder {
    height: 250px;
    background-color: #e9ecef;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.contact-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.contact-form button {
    margin-top: 20px;
    /* Réutilise le style du cta-button */
}

/* RESPONSIVE pour les grilles sur mobile */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Stack les éléments sur mobile */
    }
}