*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial, sans-serif;
line-height:1.6;
}

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 40px;
background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.logo img{
    height:100px;
}
nav ul{
display:flex;
list-style:none;
gap:20px;
}

nav a{
text-decoration:none;
color:#333;
font-weight:bold;
}

.hero{
    height:80vh;
    min-height:600px;

    background-image:url("../images/banniere-a.png");
    background-size:cover;
    background-position:center 20%;
    background-repeat:no-repeat;

    display:flex;
    align-items:center;

    padding-left:40px;
}
.hero-content{
    background:rgba(0,0,0,0.55);
    max-width:600px;
    padding:40px;
    border-radius:12px;
    color:white;
}
.hero-content h1{
    font-size:2.8rem;
    line-height:1.1;
    margin-bottom:15px;
    color:white;
}
.hero-content p{
    color:white;
    line-height:1.7;
}
.btn{
display:inline-block;
padding:15px 30px;
background:#f28c28;
color:white;
text-decoration:none;
border-radius:6px;
margin-top:20px;
}

.presentation{
    padding:70px 12%;
    text-align:center;
    background:#f8f8f8;
}

.presentation h2{
    font-size:2.5rem;
    color:#1f4e79;
    margin-bottom:20px;
}

.presentation p{
    max-width:900px;
    margin:auto;
    font-size:1.1rem;
}
/* DOMAINES */

.domaines{
    padding:80px 5%;
    background:#f7f7f7;
}

.domaines h2{
    text-align:center;
    margin-bottom:40px;
    color:#1f4e79;
}

.cartes-domaines{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px;
}

.carte-domaine{
    width:280px;
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 3px 10px rgba(0,0,0,0.1);
}

.carte-domaine img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.carte-domaine h3{
    padding:15px;
}

.carte-domaine p{
    padding:0 15px 20px;
}
.centre{
    text-align:center;
    margin-top:40px;
}

.centre .btn{
    display:inline-block;
}
/* ACTIONS */

.actions{
    padding:80px 5%;
}

.actions h2{
    text-align:center;
    margin-bottom:40px;
    color:#1f4e79;
}

.actions-grid{
    display:flex;
    gap:25px;
    justify-content:center;
    flex-wrap:wrap;
}

.action{
    width:350px;
}

.action img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:10px;
}

.action h3{
    text-align:center;
    margin-top:15px;
}

/* EQUIPE */

.equipe{
    padding:60px 5%;
    background:#f7f7f7;
}
.equipe h2{
    text-align:center;
    margin-bottom:50px;
    color:#1f4e79;
}

.membres{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}

.membre{
    width:250px;
    text-align:center;
}

.membre img{
    width:200px;
    height:200px;
    object-fit:cover;
    border-radius:50%;
    border:5px solid #f28c28;
}

.membre h3{
    margin-top:15px;
}

.membre p{
    color:#f28c28;
    font-weight:bold;
}

/* SOUTIEN */

.soutien{
    padding:30px 5%;
}

.bloc-soutien{
    display:flex;
    justify-content:center;
    gap:50px;
    flex-wrap:wrap;
    text-align:center;
}

.carte-soutien{
    width:400px;
    background:#f7f7f7;
    padding:30px;
    border-radius:12px;

    display:flex;
    flex-direction:column;
}
.bloc-soutien{
    display:flex;
    justify-content:center;
    gap:50px;
    flex-wrap:wrap;
    text-align:center;
    align-items:stretch;
}

.carte-soutien p{
    flex-grow:1;
}

.carte-soutien .btn{
    margin-top:auto;
    align-self:center;
}
/* FOOTER */

footer{
    background:#1f4e79;
    color:white;
    text-align:center;
    padding:40px 20px;
}

footer h3{
    margin-bottom:20px;
}

footer p{
    margin-bottom:8px;
}
/* ACTUALITE A LA UNE */

.actualite-une{
    padding:50px 5%;
}
.actualite-une h2{
    text-align:center;
    margin-bottom:40px;
    color:#1f4e79;
}

.actualite-card{
    max-width:1000px;
    margin: 0 auto 40px auto;
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 3px 10px rgba(0,0,0,0.1);
}
.actualite-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px 15px 0 0;
}
.actualite-contenu{
    padding:30px;
}

.actualite-contenu h3{
    margin-bottom:15px;
    color:#1f4e79;
}

.actualite-contenu p{
    margin-bottom:20px;
    line-height:1.7;
}
/* PAGE ASSOCIATION */

.hero-page {
    position: relative;
    overflow: hidden;

    background-size: cover;
    background-position: center 30%;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}
.hero-page-content{
    background:rgba(0,0,0,0.30);
    display:inline-block;
    padding:35px 50px;
    border-radius:12px;
}
.contenu-page{
    padding:30px 10%;
}

.contenu-page.gris{
    background:#f7f7f7;
}

.contenu-page h2{
    color:#1f4e79;
    margin-bottom:25px;
}

.contenu-page p{
    line-height:1.8;
    margin-bottom:20px;
}

.contenu-page img{
    width:100%;
    max-width:1000px;
    display:block;
    margin:40px auto;
    border-radius:12px;
}

.valeurs{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px;
}

.valeur{
    width:250px;
    min-height:140px;
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 3px 10px rgba(0,0,0,0.1);
}
.photo-terrain{
    width:100%;
    max-width:1000px;
    display:block;
    margin:40px auto;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.15);
}
.projets-cards{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:25px;
    margin-top:40px;
}

.projet-card{
    width:250px;
    min-height:180px;

    background:white;

    padding:25px;

    border-radius:12px;

    box-shadow:0 3px 10px rgba(0,0,0,0.1);

    text-align:center;

    transition:transform 0.3s ease;
}

.projet-card:hover{
    transform:translateY(-5px);
}

.projet-card h3{
    color:#1f4f82;
    font-size:1.1rem;
    margin-bottom:15px;
}

.projet-card p{
    font-size:0.95rem;
    line-height:1.5;
    margin-bottom:15px;
}

.projet-card span{
    display:inline-block;

    color:#f28c28;

    font-weight:bold;

    font-size:0.9rem;
}
.projets-action{
    text-align:center;
    margin-top:35px;
}

.btn-projets{
    display:inline-block;
    background:#f28c28;
    color:white;
    padding:15px 35px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    font-size:1rem;

    transition:all 0.3s ease;
}

.btn-projets:hover{
    background:#e17d1d;
    transform:translateY(-3px);
}
/* PAGE NOS ACTIONS */

.intro-actions{
    padding:80px 5%;
    text-align:center;
    max-width:1100px;
    margin:auto;
}

.intro-actions h2{
    color:#1f4f82;
    margin-bottom:25px;
}

.intro-actions p{
    line-height:1.8;
    margin-bottom:20px;
}

.domaines-actions{
    padding:60px 5%;
    text-align:center;
}

.domaines-actions h2{
    color:#1f4f82;
    margin-bottom:40px;
}

.actions-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.action-card{
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 3px 12px rgba(0,0,0,0.08);
    transition:0.3s;
}

.action-card:hover{
    transform:translateY(-5px);
}

.action-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.action-card h3{
    color:#1f4f82;
    margin:20px 15px;
}

.action-card p{
    padding:0 20px;
    line-height:1.6;
    min-height:130px;
}
.btn-action{
    display:inline-block;
    margin:20px 0 25px;
    padding:12px 25px;
    background:#f28c28;
    color:white;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;

    transition:all 0.3s ease;
}

.btn-action:hover{
    transform:translateY(-4px) scale(1.05);
    box-shadow:0 8px 20px rgba(242,140,40,0.35);
}
.btn-action:hover{
    background:#e17d1d;
}

.engagement-actions{
    padding:50px 10%;
    text-align:center;
    background:#f8f8f8;
}

.engagement-actions h2{
    color:#1f4f82;
    margin-bottom:25px;
}

.engagement-actions p{
    max-width:900px;
    margin:auto;
    line-height:1.8;
}
.hero-association{
    background-image:url("../images/banniere1.png");
}

.hero-actions{
    background-image:url("../images/banniere-actions.png");
}
/* ========================= */
/* PAGE EDUCATION */
/* ========================= */

.hero-education{
    background-image:url("../images/education.png");
height:400px;
}
.hero-education{
    position:relative;
}

.hero-education::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.25);
}

.hero-education .hero-overlay{
    position:relative;
    z-index:2;
}
.partenariat-education{
    text-align:center;
    padding:20px 10%;
}
.partenariat-education h2{
    color:#1d4f8c;
    margin-bottom:30px;
}

.partenaires{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:30px;
     margin:15px 0;
}

.partenaires img{
    height:140px;
    width:auto;
}

.partenaires span{
    font-size:40px;
    font-weight:bold;
    color:#1d4f8c;
}

.presentation-projet{
    padding:40px 10%;
    text-align:center;
    background:#f8f9fa;
}

.presentation-projet h2{
    color:#1d4f8c;
    margin-bottom:30px;
}

.presentation-projet p{
    max-width:900px;
    margin:20px auto;
    line-height:1.8;
}

.objectifs-education{
    padding:40px 10%;
    text-align:center;
}

.objectifs-education h2{
    color:#1d4f8c;
    margin-bottom:30px;
}

.objectifs-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.objectif-card{
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.objectif-card h3{
    color:#1d4f8c;
    margin-bottom:15px;
}

.axes-actions{
    padding:80px 10%;
    background:#f8f9fa;
    text-align:center;
}

.axes-actions h2{
    color:#1d4f8c;
    margin-bottom:50px;
}

..public-cible{
    padding-top:0;
    padding-bottom:30px;
    text-align:center;
}

.public-cible h2{
    color:#1d4f8c;
    margin-bottom:30px;
}
.intro-actions{
     padding:20px 10%;
}
.logo-ptr{
    height:200px !important;
    width:auto;
}
/* IMPACT EDUCATION */

.impact-education{
    padding:80px 10%;
    background:#f8f9fa;
    text-align:center;
}

.impact-education h2{
    color:#1d4f8c;
    margin-bottom:50px;
}

.impact-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.impact-card{
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
    transition:0.3s;
}

.impact-card:hover{
    transform:translateY(-5px);
}

.impact-card h3{
    color:#1d4f8c;
    margin-bottom:15px;
    font-size:1rem;
    white-space:nowrap;
}
.impact-card p{
    line-height:1.6;
}
/* GALERIE EDUCATION */

.galerie-education{
    padding:35px 10%;
    text-align:center;
    background:#f8f9fa;
}

.galerie-education h2{
    color:#1d4f8c;
    margin-bottom:50px;
}

.galerie-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.galerie-grid img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
    transition:0.3s;
}

.galerie-grid img:hover{
    transform:scale(1.03);
}
.plaquette-education{
    padding:50px 10%;
    text-align:center;
    background:white;
}

.plaquette-education h2{
    color:#1d4f8c;
    margin-bottom:15px;
}

.plaquette-education p{
    margin-bottom:25px;
}

.btn-plaquette{
    display:inline-block;
    background:#f28c28;
    color:white;
    text-decoration:none;
    padding:14px 28px;
    border-radius:8px;
    font-weight:600;
    transition:0.3s;
}

.btn-plaquette:hover{
    background:#d97706;
}
.soutien-scolaire{
    padding:30px 10% 10px;
    text-align:center;
    background:white;
}

.soutien-scolaire h2{
    color:#1d4f8c;
    margin-bottom:30px;
}

.soutien-scolaire p{
    max-width:800px;
    margin:15px auto;
    line-height:1.8;
}
.impact-img{
    width:100%;
    height:75px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:12px;
}
.impact-grid{
    align-items:start;
}

.impact-card{
    padding:20px;
}

.impact-card p{
    margin-bottom:0;
}
/* PAGE AGRICULTURE */

.hero-agriculture{
    background-image:url("../images/agriculture-irrigation.png");
    height:400px;
    position:relative;
}

.hero-agriculture::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.25);
}

.hero-agriculture .hero-overlay{
    position:relative;
    z-index:2;
}
.avant-card img{
    width:100%;
    height:280px;
    object-fit:cover;
    display:block;
}
.avant-card{
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.avant-card h3{
    color:#1d4f8c;
    padding:20px 20px 10px;
}

.avant-card p{
    padding:0 20px 20px;
}
.distribution-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
    max-width:1200px;
    margin:0 auto;
}

.distribution-grid p{
    font-size:1.1rem;
    line-height:1.8;
}
.distribution-grid img{
    width:100%;
    max-width:500px;
    height:350px;
    object-fit:cover;
    border-radius:12px;
    display:block;
    margin:auto;
}
.distribution-semences h2,
.resultats-agriculture h2{
    text-align:center;
    color:#1d4f8c;
    margin-bottom:40px;
}
.resultat-image,
.resultats-img{
    width:100%;
    max-width:600px;
    height:auto;
    display:block;
    margin:30px auto;
    border-radius:12px;
}
.resultats-agriculture{
    padding:40px 5% 60px;
    text-align:center;
}

.resultats-agriculture h2{
    color:#1d4f8c;
    margin-bottom:30px;
}
.avant-apres{
    padding:80px 5%;
}

.avant-apres h2{
    text-align:center;
    color:#1d4f8c;
    margin-bottom:40px;
}

.avant-apres-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:30px;
}

.avant-card{
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.avant-card img{
    width:100%;
    height:280px;
    object-fit:cover;
    display:block;
}

.avant-card h3{
    color:#1d4f8c;
    padding:20px 20px 10px;
}

.avant-card p{
    padding:0 20px 20px;
}
.distribution-semences h2,
.resultats-agriculture h2{
    text-align:center;
    color:#1d4f8c;
    margin-bottom:40px;
}
.distribution-semences{
    padding:50px 5%;
}
.resultat-legende{
    max-width:700px;
    margin:20px auto 0;
    text-align:center;
    line-height:1.8;
}
.rejoignez-nous h2{
    text-align: center;
    color: #0d4d92;
    margin-bottom: 50px;
}
/* SECTION REJOIGNEZ-NOUS - AGRICULTURE */

.soutien {
    padding: 40px 5% 80px;
    background: white;
}

.soutien h2 {
    text-align: center;
    color: #1d4f8c;
    margin-bottom: 25px;
    font-size: 2rem;
}

.bloc-soutien {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.bloc-soutien > div {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.bloc-soutien h3 {
    color: #000;
    margin-bottom: 20px;
}

.bloc-soutien p {
    line-height: 1.8;
    margin-bottom: 30px;
}

.bloc-soutien .btn {
    display: inline-block;
    background: #f28c28;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.bloc-soutien .btn:hover {
    background: #d97706;
}
/* ==========================================
   PAGE SANTÉ
========================================== */

.hero-sante{
    background:
        linear-gradient(rgba(255,255,255,0.80),
        rgba(255,255,255,0.80)),
        url("images/sante-banniere.png") center/cover;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 80px 8%;
}

.hero-sante-content{
    max-width: 600px;
}

.hero-sante h1{
    color: #1d4f8c;
    font-size: 3rem;
    margin-bottom: 30px;
}

.hero-sante p{
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}


/* NOS ACTIONS */

.actions-sante{
    padding: 80px 5%;
    text-align: center;
    background: white;
}

.actions-sante h2{
    color: #1d4f8c;
    font-size: 2rem;
    margin-bottom: 20px;
}

.intro-sante{
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.cartes-sante{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 30px;
}

.carte-sante{
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.icone-sante{
    font-size: 3rem;
    margin-bottom: 20px;
}

.carte-sante h3{
    color: #1d4f8c;
    margin-bottom: 20px;
}

.carte-sante p{
    line-height: 1.8;
}


/* IMPACT */

.impact-sante{
    background: #f5f8fc;
    padding: 50px 10%;
    text-align: center;
}

.impact-sante p{
    max-width: 900px;
    margin: auto;
    line-height: 1.8;
    font-size: 1.1rem;
}
/* BANNIÈRE SANTÉ */

.hero-sante {
    position: relative;
    min-height: 450px;
    background:
        linear-gradient(rgba(0,0,0,0.55),
                        rgba(0,0,0,0.55)),
        url('../images/banniere-sante.jpg') center 45%/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}
.hero-sante-content {
    max-width: 800px;
    color: white;
}

.hero-sante-content h1 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: white;
}
.hero-sante-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .hero-sante {
        min-height: 400px;
    }

    .hero-sante-content h1 {
        font-size: 2.2rem;
    }

    .hero-sante-content p {
        font-size: 1rem;
    }
 }
@media (max-width: 768px) {

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    nav ul li a {
        font-size: 14px;
    }

    .hero-sante {
        min-height: 350px;
        background-position: center;
    }
}
    .hero-sante-content h1 {
        font-size: 2.2rem;
    }

    .hero-sante-content p {
        font-size: 1rem;
    }

    .cartes-sante {
        grid-template-columns: 1fr;
        gap: 20px;
    }
.hero-action {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-action img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.6) 0%,
        rgba(0,0,0,0.3) 40%,
        rgba(0,0,0,0) 70%
    );

    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    padding: 0 5%;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.6;
}
.intro-actions {
    padding: 80px 5%;
}
.projet-detail {
    padding: 80px 5%;
}

.projet-content {
    max-width: 1000px;
    margin: 0 auto;
}

.projet-text {
    line-height: 1.8;
    text-align: center;
}
.impact-section {
    padding-top: 40px;
}
.cta-section {
    text-align: center;
    padding: 80px 5%;
}

.btn-primary {
    display: inline-block;
    background: #1b5e20;
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 25px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #2e7d32;
    transform: translateY(-3px);
}
.join-us {
    padding-top: 80px;
}
.impact-image {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 15px;
}
.impact-card {
    text-align: center;
    padding: 25px;
}

.impact-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}
.impact-card h3 {
    margin-bottom: 15px;
}

.impact-card p {
    line-height: 1.6;
}
.impact-card:nth-child(2) img {
    width: 50px;
    height: 50px;
}
.impact-card h3,
.impact-card p {
    text-align: center;
}
.impact-couture img {
    width: 20px !important;
    height: 20px !important;
}
/* VERSION MOBILE - PAGE DÉVELOPPEMENT FAMILIAL */
@media (max-width: 768px) {

    .hero-action {
        min-height: 450px;
    }

    .hero-content {
        padding: 20px;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .hero-action img {
        object-position: 70% center;
    }
    }  
/* Conteneur des cartes Rejoignez-nous */
.rejoignez-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: stretch; /* Toutes les cartes auront la même hauteur */
}

/* Cartes */
.rejoignez-card {
    display: flex;
    flex-direction: column;
    width: 400px; /* adapte si besoin */
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Le contenu prend tout l'espace disponible */
.rejoignez-card-content {
    flex: 1;
}

/* Le bouton reste en bas */
.rejoignez-card .btn {
    margin-top: auto;
    align-self: center;
}
/* Bannière Actualités */

.actualites-banner {
    height: 550px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
        url('../images/banniere-actu.png');
    background-size: cover;
    background-position: center 75%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 50px;
    color: white;
}
  /* ← fermeture de .actualites-banner */


/* Dégradé sur la bannière */
.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding-left: 50px;
}

.hero-box {
    background: rgba(0, 0, 0, 0.55);
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: fit-content;
    backdrop-filter: blur(4px);
}
.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}
.hero-box {
    background: rgba(255, 255, 255, 0.15); /* fond plus clair */
    backdrop-filter: blur(8px);            /* effet verre dépoli */
    -webkit-backdrop-filter: blur(8px);

    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    margin-left: 50px;

    border: 1px solid rgba(255, 255, 255, 0.2);
}
.actualite-card img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
/* Section projets */
.actualites {
    padding-top: 50px;      /* espace sous la bannière */
}

/* Titre de la section */
.actualites h2 {
    margin-bottom: 20px;
}

/* Texte d'introduction */
.actualites > p {
    margin-bottom: 40px;    /* espace avant la première carte */
}
/* PAGE DETAIL PROJET */


.hero-projet {
    position: relative;
    height: 250px;
    background: linear-gradient(rgba(46,125,50,0.85), rgba(46,125,50,0.85)),
                url('../images/aquaponie.png');
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: white;
    text-align: center;
    padding: 20px;
}

.hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-overlay p {
    font-size: 1.3rem;
}

.projet-detail {
    padding: 80px 20px;
}

.projet-detail .container {
    max-width: 1000px;
    margin: auto;
}

.projet-detail h2 {
    color: #2E7D32;
    margin-top: 50px;
    margin-bottom: 20px;
}

.projet-detail p,
.projet-detail li {
    line-height: 1.8;
    margin-bottom: 15px;
}

.projet-detail ul {
    padding-left: 25px;
}

.appel-action {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin: 60px 0;
    text-align: center;
}

.btn-retour {
    display: inline-block;
    margin-top: 30px;
    color: #2E7D32;
    font-weight: 600;
    text-decoration: none;
}

.btn-retour:hover {
    text-decoration: underline;
}
.image-projet {
    max-width: 900px;
    margin: 20px auto;
}

.image-projet img {
    width: 100%;
    display: block;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
/* ===== OPTIMISATION MOBILE ===== */
@media screen and (max-width: 768px) {

    /* Header */
    header {
        padding: 15px 10px;
    }

    .logo img {
        width: 90px;
        height: auto;
        display: block;
        margin: 0 auto 15px;
    }

    /* Navigation */
    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding: 0;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        font-size: 1rem;
    }

    /* Bannière */
    .hero-projet {
    min-height: 300px;
    padding: 30px 20px;
}

.hero-overlay h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-overlay p {
    font-size: 1rem;
    line-height: 1.5;
}

    /* Contenu principal */
    .projet-detail {
        padding: 40px 20px;
    }

    .projet-detail .container {
        width: 100%;
    }

    /* Images */
    .projet-detail img {
        width: 100%;
        border-radius: 20px;
        margin-bottom: 25px;
    }

    /* Réduction des espaces */
    section {
        margin-bottom: 40px;
    }
}