/* Couleurs agroalimentaires */
:root {

    --vert-clair: rgba(192, 255, 0, 0.15); /* Vert citron très doux */
    --vert-foncé: #4CAF50;       /* vert menu */
    --texte: #333;
    --menu-bg: #81c784;          /* fond liens menu */
    --menu-hover: #4caf50;
    --blanc: #fff;
}

/* === BODY === */
body {
    margin: 10px;
    font-family: Arial, sans-serif;
    background-color: var(--vert-clair);
    color: var(--texte);
    position: relative;
    min-height: 100vh;
}

/* === HEADER avec logos === */
.header-container {
    position: relative;
    height: 80px;
}

/* Logo gauche en haut à gauche */
.logo.gauche {
    position: absolute;
    top: 0;
    left: 0;
    height: 70px;
    width: auto;
}

/* Logo droit en haut à droite */
.logo.droit {
    position: absolute;
    top: 0;
    right: 0;
    height: 70px;
    width: auto;
}

/* *** NOUVEAU *** Conteneur titres centré entre logos, au-dessus du menu */
.titre-principal {
    position: absolute;
    top: 15px; /* juste sous les logos */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--vert-foncé);
    font-weight: bold;
    line-height: 1.2;
}

/* Ajustement des titres empilés */
.titre-principal h1,
.titre-principal h2,
.titre-principal h3 {
    margin: 0;
    padding: 0;
}

.image-section {
    display: flex;
    flex-direction: row;       /* important */
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin: 20px auto;
    max-width: 1000px;
    flex-wrap: nowrap;
}




/* Chaque bloc de texte */

.presentons {
    width: 90%;                 /* largeur par défaut sur mobile */
    max-width: 600px;           /* largeur maximale pour lisibilité */
    margin: 0 auto;             /* centrer horizontalement */
    font-size: 1rem;            /* taille de police lisible */
    line-height: 1.6;
    padding: 20px;
    box-sizing: border-box;
}

/* Sur écrans plus larges (ex : ≥ 768px), appliquer 50% */
@media (min-width: 768px) {
    .presentons {
        width: 50%;
    }
}

    .header-container {
        height: auto;
        text-align: center;
    }

    /* Titres repositionnés sous les logos */
    .titre-principal {
        position: static;
        transform: none;
        margin: 10px 0;
        font-size: 18px;
    }

    /* Menu vertical centré */
    .menu-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        width: 100%;
    }

.image-section img {
    width: 220px;
    height: 150px; /* par exemple */
    object-fit: cover; /* ou 'contain' selon l’effet voulu */
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.15);
}
/* === RESPONSIVE pour écrans <= 768px === */
    @media screen and (max-width: 768px) {

    /* Logos deviennent inline, centrés */
    .logo.gauche,
    .logo.droit {
        position: static;
        height: 50px;
        margin: 5px auto;
        display: block;
    }




.video-wrapper {
    display: flex;
    justify-content: center; /* centre horizontalement */
    align-items: center;
    padding: 10px 0;
}

.video-wrapper video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

/* ✅ Responsive : passage en 1 colonne sur petits écrans */

 .video-wrapper video {
        max-width: 100%;
    }
@media screen and (max-width: 768px) 
{
    .texte-colonnes 
	{
        	grid-template-columns: 1fr;
        	gap: 15px;
        	padding: 0 15px;
    	}
}

@media screen and (max-width: 768px) {
    .image-section {
        flex-direction: column;
        align-items: center;
    }

    .image-section img {
        width: 90%;
        max-width: 300px;
        height: 180px;
    }

