:root {
    --primary-green: #2d542d;
    --light-beige: #f5f0e1;
    --text-dark: #3e3e3e;
}
html { scroll-behavior: smooth; }
/* Modifiez cette règle existante */
/* Styles pour le logo image */
.logo img {
    max-height: 50px; /* Ajustez cette valeur si besoin */
    width: auto;      /* Garde les bonnes proportions */
    display: block;   /* Évite les espaces superflus sous l'image */
}
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: var(--text-dark);
    /* LIGNES À AJOUTER CI-DESSOUS */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.container { max-width: 1100px; margin: 0 auto; padding: 80px 20px; text-align: center; }
h1, h2, h3 { color: var(--primary-green); }

header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 2rem; background: #fff; position: sticky; top: 0; z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-green); }
nav a { text-decoration: none; color: var(--text-dark); margin-left: 25px; font-weight: 600; }

.hero {
    height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; color: white;
    
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('banniere-ferme.jpg');
    background-size: cover;
}
.hero h1 { font-size: 3rem; color: #fff; }

#produits { background-color: var(--light-beige); }
.produit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.produit-carte { background: #fff; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.produit-carte img { width: 100%; border-radius: 10px 10px 0 0; }
.produit-carte h3, .produit-carte p { padding: 0 20px; }
.btn-produit {
    display: inline-block; background-color: var(--primary-green); color: #fff;
    padding: 10px 20px; margin: 20px; text-decoration: none; border-radius: 5px;
}
footer { text-align: center; padding: 20px 0; background-color: var(--primary-green); color: #fff; }
/* --- Styles pour les pages légales --- */
.legal-content {
    padding: 60px 20px;
    text-align: left;
}
.legal-content h1, .legal-content h2 {
    text-align: left;
}
.legal-content h2 {
    margin-top: 30px;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 10px;
}
.legal-content p {
    line-height: 1.8;
}

/* --- Styles pour le footer légal --- */
footer .legal-links {
    margin-bottom: 15px;
}
footer .legal-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 10px;
}
footer .legal-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* --- Styles pour la Bannière de Cookies --- */
#cookie-consent-banner {
    display: none; /* Caché par défaut */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-green);
    color: #fff;
    padding: 20px;
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
#cookie-consent-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0; /* Annule le padding du .container général */
    text-align: left;
}
#cookie-consent-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
}
#cookie-consent-banner .btn-cookie {
    flex-shrink: 0;
    background-color: #fff;
    color: var(--primary-green);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
/* Ajoutez cette nouvelle règle */
main {
    flex-grow: 1;
}
/* --- Styles pour la nouvelle section Contact --- */
#contact h2 {
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.contact-details h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-details p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-details i {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-right: 20px;
    margin-top: 5px;
    width: 25px;
    text-align: center;
}

.contact-map img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 3px solid #e9e4d5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: block;
}

/* --- Responsive pour la section Contact --- */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
    }
}