
/* Correctif global de largeur du pied de page — toutes les pages */
.footer, footer.footer {
  box-sizing:border-box!important; width:100%!important; max-width:100%!important;
  min-width:0!important; overflow-x:clip!important;
}
.footer-inner {
  box-sizing:border-box!important; width:100%!important; max-width:1160px!important;
  min-width:0!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) minmax(0,1.15fr) minmax(0,1fr)!important;
  gap:clamp(8px,1.2vw,16px)!important;
}
.footer-inner>*,.footer-inner>.brand,.footer-slogan,.footer-contact,.footer-inner>div:last-child {
  box-sizing:border-box!important; min-width:0!important; max-width:100%!important;
}
.footer-contact .contact-line {white-space:normal!important;overflow-wrap:anywhere!important}
.footer-socials {max-width:100%!important;flex-wrap:wrap!important;gap:7px!important}
.footer-inner>div:last-child .button {
  max-width:100%!important;white-space:normal!important;text-align:center!important;overflow-wrap:anywhere!important;
}
.footer-legal-links,.copyright {
  box-sizing:border-box!important;width:100%!important;max-width:1160px!important;
  padding-left:4px!important;padding-right:4px!important;
}
@media(max-width:950px) {
  .footer {padding-left:4%!important;padding-right:4%!important}
  .footer-inner {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;grid-template-areas:"brand slogan" "contact cta"!important;
    gap:10px 12px!important;
  }
  .footer-inner>.brand{grid-area:brand!important}
  .footer-slogan{grid-area:slogan!important}
  .footer-contact{grid-area:contact!important}
  .footer-inner>div:last-child{grid-area:cta!important;justify-self:center!important;align-self:center!important;transform:none!important}
}
@media(max-width:520px) {
  .footer{padding:13px 14px 8px!important}
  .footer-inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px 9px!important}
  .footer-inner>.brand{padding:3px 7px 3px 0!important}
  .footer-inner>.brand>a{width:100%!important;max-width:145px!important;height:58px!important;padding:4px!important}
  .footer-logo{width:100%!important;max-width:135px!important;max-height:50px!important}
  .footer-slogan{font-size:clamp(13px,4vw,16px)!important;padding:3px!important;overflow-wrap:anywhere!important}
  .footer-slogan em{font-size:1.2em!important}
  .footer-contact{font-size:clamp(9px,2.7vw,11px)!important;padding:2px!important}
  .footer-socials{gap:5px!important}
  .footer-socials .social-icon{width:25px!important;height:25px!important;flex:0 0 25px!important}
  .footer-inner>div:last-child .button {
    width:100%!important;max-width:170px!important;padding:9px 6px!important;
    font-size:clamp(9px,2.6vw,11px)!important;line-height:1.2!important;
  }
  .footer-legal-links a{padding:4px 5px!important;font-size:9px!important}
  .copyright{font-size:8px!important}
}
@media(max-width:350px) {
  .footer-inner{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"brand" "slogan" "contact" "cta"!important}
  .footer-inner>.brand{border-right:0!important;justify-content:center!important}
  .footer-slogan{text-align:center!important}
  .footer-inner>div:last-child .button{margin:0 auto!important}
}
