/* PRATINIUM v172 — Footer aligné sur le hero/header
   - mêmes marges latérales desktop que le header Stripe et le hero
   - hauteur réduite pour se rapprocher strictement de la hauteur du header
   - conservation de la structure PrestaShop et du footer institutionnel existant */

@media (min-width: 992px) {
  body #footer,
  body footer#footer {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body #footer .pf-footer-links.pf-footer-links--global,
  body footer#footer .pf-footer-links.pf-footer-links--global,
  body .pf-footer-links.pf-footer-links--global {
    width: calc(100vw - 64px) !important;
    max-width: 1760px !important;
    min-height: 76px !important;
    height: 76px !important;
    margin: 28px auto 6px !important;
    padding: 0 34px !important;
    border-radius: 24px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  body .pf-footer-links--global .pf-footer-links__inner {
    width: 100% !important;
    max-width: none !important;
    min-height: 76px !important;
    height: 76px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(280px, 1fr) auto minmax(360px, 1fr) !important;
    align-items: center !important;
    column-gap: clamp(18px, 2.8vw, 46px) !important;
    box-sizing: border-box !important;
  }

  body .pf-footer-links--global .pf-footer-links__brand,
  body .pf-footer-links--global .pf-footer-links__nav,
  body .pf-footer-links--global .pf-footer-links__copy {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.1 !important;
  }

  body .pf-footer-links--global .pf-footer-links__brand {
    justify-self: start !important;
  }

  body .pf-footer-links--global .pf-footer-links__brand small {
    margin: 0 !important;
    font-size: clamp(.68rem, .82vw, .90rem) !important;
    line-height: 1.08 !important;
  }

  body .pf-footer-links--global .pf-footer-links__nav {
    justify-self: center !important;
    gap: clamp(22px, 2vw, 34px) !important;
  }

  body .pf-footer-links--global .pf-footer-links__nav a {
    font-size: clamp(.84rem, .94vw, 1rem) !important;
    line-height: 1.08 !important;
  }

  body .pf-footer-links--global .pf-footer-links__copy {
    justify-self: end !important;
    font-size: clamp(.68rem, .82vw, .90rem) !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 992px) and (max-width: 1280px) {
  body .pf-footer-links--global .pf-footer-links__inner {
    grid-template-columns: minmax(230px, .9fr) auto minmax(300px, 1fr) !important;
    column-gap: 18px !important;
  }
  body .pf-footer-links--global .pf-footer-links__nav {
    gap: 18px !important;
  }
  body .pf-footer-links--global .pf-footer-links__copy,
  body .pf-footer-links--global .pf-footer-links__brand small {
    font-size: .72rem !important;
  }
}
