/* ==========================================
   FOOTER (v2 - enrichi)
========================================== */
.footer{
    background:#0f255f;
    color:white;
    padding:48px 0 0;
}
.footer-container{
    width:100%;
    max-width:1800px;
    margin:0 auto;
    padding-left:40px;
    padding-right:40px;
    box-sizing:border-box;
}
.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}
.footer-top{
    padding-bottom:28px;
    border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-brand .logo{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}
.footer-brand .logo img{
    width:34px;
    height:34px;
    object-fit:contain;
}
.footer-brand .logo b{
    font-size:18px;
    font-weight:900;
}
.footer-brand p{
    color:#c3cee8;
    font-size:13px;
    line-height:1.6;
    max-width:380px;
    margin-bottom:16px;
}
.footer-col h4{
    font-size:12.5px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.6px;
    margin-bottom:16px;
    color:#ff943f;
}
.footer-col ul{
    list-style:none;
}
.footer-col li{
    margin-bottom:10px;
}
.footer-col li a{
    color:#d8e4ff;
    font-size:13.5px;
    line-height:1.4;
    transition:.2s ease;
    display:inline-block;
    text-decoration:none;
}
.footer-col li a:hover{
    color:#ff8d32;
    transform:translateX(3px);
}
/* Real rubrics/sections vary a lot in how many links they have (e.g. "Nos
   partenaires" currently lists 15 real partner orgs). CSS Grid sizes every
   column in a row to the row's tallest item, so one long real column was
   forcing the WHOLE footer row that tall. Capping just the long columns
   with a scroll keeps every real link present (nothing deleted/hidden
   permanently) while keeping the footer itself compact. */
.footer-col-scroll ul{
    max-height:170px;
    overflow-y:auto;
    padding-right:8px;
    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.3) transparent;
}
.footer-col-scroll ul::-webkit-scrollbar{
    width:5px;
}
.footer-col-scroll ul::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.3);
    border-radius:3px;
}
.footer-contact-item{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
    color:#c3cee8;
    font-size:13.5px;
}
.footer-contact-item .ic{
    width:34px;
    height:34px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    color:#ff8d32;
    font-size:15px;
}
.footer-newsletter p{
    color:#c3cee8;
    font-size:13.5px;
    margin-bottom:18px;
    line-height:1.6;
}
.footer-social{
    display:flex;
    gap:10px;
}
.footer-social a{
    width:38px;
    height:38px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-size:14px;
    text-decoration:none;
    transition:.3s;
}
.footer-social a:hover{
    background:#ff7a1c;
}
.footer-contact-item{
    text-decoration:none;
    transition:.2s ease;
}
.footer-contact-item:hover{
    color:white;
}
.footer-newsletter-form{
    margin-bottom:16px;
}
.footer-newsletter-field{
    display:flex;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.16);
    border-radius:12px;
    padding:4px;
    transition:.2s ease;
}
.footer-newsletter-field:focus-within{
    border-color:#ff7a1c;
    background:rgba(255,255,255,.12);
}
.footer-newsletter-input{
    flex:1;
    min-width:0;
    background:none;
    border:none;
    color:white;
    font-size:14px;
    font-family:inherit;
    padding:11px 14px;
}
.footer-newsletter-input::placeholder{
    color:#8fa0c9;
}
.footer-newsletter-input:focus{
    outline:none;
}
.footer-newsletter-submit{
    background:#ff7a1c;
    color:white;
    border:none;
    border-radius:9px;
    width:40px;
    flex-shrink:0;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.2s ease;
}
.footer-newsletter-submit:hover{
    background:#ff943f;
}
.footer-newsletter-legal{
    font-size:12px;
    color:#8fa0c9;
    line-height:1.6;
    margin-top:8px;
}
.footer-newsletter-legal a{
    color:#c3cee8;
    text-decoration:underline;
    text-underline-offset:2px;
}
.footer-newsletter-legal a:hover{
    color:#ff8d32;
}
.footer-newsletter-success{
    display:flex;
    align-items:center;
    gap:10px;
    background:rgba(76,201,146,.12);
    border:1px solid rgba(76,201,146,.35);
    color:#8fe3bd;
    border-radius:12px;
    padding:14px 16px;
    font-size:14px;
    font-weight:600;
}
.footer-newsletter-form ul{
    color:#ff9d7a;
    font-size:13px;
    margin-top:8px;
    list-style:none;
}
.footer-columns{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
    gap:32px 24px;
    padding:32px 0;
    border-bottom:1px solid rgba(255,255,255,.1);
}
.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:10px 24px;
    padding:18px 0;
    font-size:12.5px;
    color:#8fa0c9;
}
.footer-bottom p{
    margin:0;
}
.footer-credit{
    color:#8fa0c9;
}

@media(max-width:600px){
    .footer-columns{
        grid-template-columns:repeat(2, 1fr);
        gap:28px 20px;
    }
    .footer-bottom{
        flex-direction:column;
        align-items:flex-start;
    }
}