/* Footer global : alignement strict sur conteneur du header */
footer.wp-block-template-part .pied>.enveloppe{width:100%!important;max-width:calc(var(--conteneur) + 2 * var(--gouttiere))!important;box-sizing:border-box!important;margin-left:auto!important;margin-right:auto!important;padding-left:var(--gouttiere)!important;padding-right:var(--gouttiere)!important}
footer.wp-block-template-part .pied .pied-grille{grid-template-columns:minmax(220px,1.8fr) repeat(3,minmax(120px,1fr)) minmax(190px,1.18fr)!important;gap:clamp(18px,2.6vw,40px)!important}
footer.wp-block-template-part .pied .pied-grille>div:first-child .wp-block-site-logo{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:0!important;min-width:0!important;display:block!important}
footer.wp-block-template-part .pied .pied-grille>div:first-child .wp-block-site-logo img{content:url('/wp-content/uploads/2026/10/bisimmo-logo-footer-blanc-or-430.png')!important;max-width:220px!important;width:220px!important;max-height:none!important;height:auto!important;object-fit:contain!important;display:block!important;background:transparent!important}
footer.wp-block-template-part .pied .pied-grille>div:first-child .custom-logo-link{background:transparent!important;display:block!important;padding:0!important}
@media(max-width:1000px){footer.wp-block-template-part .pied .pied-grille{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:640px){footer.wp-block-template-part .pied .pied-grille{grid-template-columns:repeat(2,minmax(0,1fr))!important}footer.wp-block-template-part .pied .pied-grille>div:first-child{grid-column:1/-1!important}footer.wp-block-template-part .pied .pied-grille>div:first-child .wp-block-site-logo img{max-width:200px!important;width:200px!important}}
