/* Layout page — sticky footer (pages courtes) */

html {
  height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.proone-page {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.proone-page > .proone-catalog,
.proone-page > .proone-home__main {
  flex: 1 0 auto;
}

/* Footer site PHP — partagé sur toutes les pages */

.proone-site-footer {
  font-family: var(--proone-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  background: #f4f5f7;
  color: #333;
  margin-top: 2.5rem;
}

.proone-site-footer__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--proone-site-max-width, 1350px);
  margin: 0 auto;
  padding: 2.5rem var(--proone-site-gutter, 1.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  align-items: start;
}

.proone-site-footer__col {
  min-width: 0;
}

.proone-site-footer__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--proone-navy, #00254B);
}

.proone-site-footer__title--link {
  margin-bottom: 0;
}

.proone-site-footer__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

.proone-site-footer__external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.proone-site-footer__external-link:hover,
.proone-site-footer__external-link:focus {
  opacity: 0.75;
}

.proone-site-footer__external-icon {
  font-size: 0.9em;
  line-height: 1;
}

.proone-site-footer__partners {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.proone-site-footer__partner {
  margin: 0;
}

.proone-site-footer__partner-link {
  display: inline-block;
  line-height: 0;
}

.proone-site-footer__partner-logo {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 48px;
  height: auto;
  object-fit: contain;
}

.proone-site-footer__partner:nth-child(2) .proone-site-footer__partner-logo {
  max-width: 165px;
  max-height: 44px;
}

.proone-site-footer__partner:nth-child(3) .proone-site-footer__partner-logo {
  max-width: 145px;
  max-height: 40px;
}

@media (max-width: 768px) {
  .proone-site-footer {
    margin-top: 2rem;
  }

  .proone-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}
