/* 1. Variables de couleur et Réinitialisation */
:root {
    --primary-color: #e1e364;    /* vert dynamique */
    --secondary-color: #e1e364;  /* Vert dynamique */
    --2: #333333;       /* Gris foncé lisible */
    --bg-light: #f9f9f9;         /* Fond clair */
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

/* 2. Mises en page globales */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px 0;
}

/* 3. En-tête (Header) */
.main-header {
    background: linear-gradient(135deg, var(--primary-color), #e1e364);
    color: var(--text-color);
    text-align: center;
    padding: 30px 10px;
}

.main-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.main-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 4. Section Image */
.hero-image-section {
    margin-bottom: 40px;
}

.responsive-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 5. Grille à 2 colonnes (Responsive) */
.content-columns {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.column {
    background-color: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-top: 5px solid var(--secondary-color);
}

.column h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.column p {
    margin-bottom: 15px;
}

.column p:last-child {
    margin-bottom: 0;
}

/* 6. Pied de page (Footer) */
.main-footer {
    background-color: #222;
    color: var(--white);
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    margin-top: auto;
}

/* 7. Media Query pour les écrans d'ordinateurs (Tablettes larges / Desktop) */
@media (min-width: 768px) {
    .content-columns {
        flex-direction: row;
    }
    
    .column {
        flex: 1;
    }

    .main-header {
        padding: 80px 20px;
    }

    .main-header h1 {
        font-size: 3rem;
    }
}