@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&family=Open+Sans:wght@400;600&display=swap');
:root{--rouge:#E30A17;--vert:#006233;--or:#D4AF37;--gris:#333333;--bg:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--gris);font:16px/1.7 'Open Sans',system-ui,sans-serif}
h1,h2,h3{font-family:'Poppins',system-ui,sans-serif;margin:.2rem 0 .8rem}
a{color:var(--vert);text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{max-width:1120px;margin:0 auto;padding:0 1rem}
.section{padding:2.2rem 0}
/* Topbar */
.topbar{position:sticky;top:0;background:#fff;border-bottom:3px solid var(--or);z-index:10}
.topbar .inner{display:flex;align-items:center;gap:1rem;justify-content:space-between;padding:.6rem 0}
.brand{display:flex;align-items:center;gap:.6rem;color:inherit;text-decoration:none}
.brand img{height:50px}
.brand span{font-weight:700;letter-spacing:.2px}
.nav{display:flex;gap:.5rem;flex-wrap:wrap}
.nav a{padding:.35rem .6rem;border-radius:6px}
.nav a:hover{background:#f4f4f4}
.nav .btn{background:var(--rouge);color:#fff}
/* HERO */
.hero-cover{background:url('/assets/img/hero-mrem.jpg') center/cover no-repeat;min-height:420px}
.hero-title{padding:1.5rem 0 0;border-bottom:1px solid #eee}
/* Grilles / cartes */
.grid{display:grid;gap:1rem}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
.card{border:1px solid #eee;border-radius:14px;padding:1rem;background:#fff}
/* CTA */
.cta{display:inline-block;background:var(--vert);color:#fff;padding:.9rem 1.1rem;border-radius:10px}
.cta.alt{background:transparent;border:2px solid var(--vert);color:var(--vert)}
.cta-band{background:linear-gradient(135deg, rgba(227,10,23,.06), rgba(0,98,51,.06));padding:2rem 0;text-align:center;border-top:1px solid #eee;border-bottom:1px solid #eee}
/* Actualités */
.news-wrapper{background:#fff}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin:1.2rem 0 2rem}
.news-card{border:1px solid #eee;border-radius:16px;overflow:hidden;background:#fff;display:flex;flex-direction:column;box-shadow:0 6px 18px rgba(0,0,0,.05)}
.news-card img{width:100%;height:210px;object-fit:cover}
.news-card .pad{padding:1rem}
.badge{display:inline-block;font-size:.78rem;background:#006233;color:#fff;padding:.25rem .6rem;border-radius:999px}
.date{color:#666;font-size:.88rem;margin-left:.6rem}
.news-card h3{margin:.6rem 0 .2rem;font-size:1.25rem}
.news-card p{color:#444}
.news-card a.btn{align-self:flex-start;margin:0 0 1rem 1rem}
/* Formulaires */
form.card{display:grid;gap:.8rem;max-width:680px}
input,textarea,button{font:inherit}
input,textarea{width:100%;padding:.7rem;border:1px solid #ddd;border-radius:8px}
button{cursor:pointer;border:none;border-radius:8px;background:var(--rouge);color:#fff;padding:.75rem 1rem}
.notice{padding:.8rem;border-radius:8px;background:#f5fff8;border:1px solid #d9f3e2;margin-top:1rem}
/* Footer sexy */
.footer{background:linear-gradient(135deg, #E30A17, #006233);color:#fff;padding:3rem 0 1rem;margin-top:3rem;position:relative;overflow:hidden}
.footer::before{content:'';position:absolute;inset:0;background:rgba(0,0,0,.25)}
.footer .container{position:relative;z-index:1}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:2rem;margin-bottom:2rem}
.footer-logo img{height:56px;margin-bottom:.6rem}
.footer-logo h4{font-size:1.1rem;color:var(--or);margin:0}
.footer-links h5,.footer-contact h5{color:var(--or);margin-bottom:.5rem}
.footer-links ul{list-style:none;margin:0;padding:0}
.footer-links li{margin-bottom:.3rem}
.footer a{color:#fff}
.footer a:hover{color:var(--or)}
.footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.3);padding-top:1rem;font-size:.9rem}
.footer-bottom .heart{color:#ffb3b3}
/* SEO helpers */
.breadcrumbs{font-size:.9rem;margin-bottom:.8rem}
.breadcrumbs a{color:var(--vert)}
.lead{font-size:1.08rem}
/* Responsive */
@media(max-width:1000px){
  .grid.cols-3{grid-template-columns:1fr 1fr}
  .news-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .grid.cols-3,.news-grid{grid-template-columns:1fr}
  .news-card img{height:180px}
}