/* Footer commun : autonome pour les pages historiques et les pages refondues. */
@font-face {
  font-family: MichelisFooter;
  src: url('../fonts/lato-400-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: MichelisFooter;
  src: url('../fonts/lato-700-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
.mh-footer {
  --pink: #cc0049;
  display: block;
  clear: both;
  width: 100%;
  margin: 0;
  padding: 42px 0 20px;
  border: 0;
  background: #102c34;
  color: #dfe8eb;
  font: 400 16px/1.5 MichelisFooter, Arial, sans-serif;
  text-align: left;
  letter-spacing: normal;
  text-transform: none;
  overflow-wrap: break-word;
}
.mh-footer, .mh-footer *, .mh-footer *::before, .mh-footer *::after {
  box-sizing: border-box;
}
.mh-footer p, .mh-footer h2, .mh-footer address {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
  text-transform: none;
  letter-spacing: normal;
}
.mh-footer a {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
}
.mh-footer a:hover { color: #fff; text-decoration: underline; }
.mh-footer a:focus-visible { outline: 3px solid #f5a8c4; outline-offset: 5px; }
.mh-footer img { display: block; float: none; max-width: 100%; margin: 0; padding: 0; border: 0; }
.mh-footer > .mh-container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; padding: 0; }
.mh-footer .mh-footer-grid { display: grid; grid-template-columns: 1.05fr 1.25fr 1fr 1fr; gap: 34px; }
.mh-footer .mh-footer-grid > div { min-width: 0; }
.mh-footer .mh-footer-grid > div + div { border-left: 1px solid #ffffff20; padding-left: 32px; }
.mh-footer h2 { position: relative; font-size: 15px; font-weight: 400; line-height: 1.4; color: #fff; margin-bottom: 28px; }
.mh-footer h2::after { content: ''; position: absolute; bottom: -11px; left: 0; background: var(--pink); height: 2px; width: 30px; }
.mh-footer .mh-footer-brand > img { width: 150px; height: 100px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); }
.mh-footer .mh-since { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; padding-bottom: 7px; border-bottom: 1px solid var(--pink); width: max-content; margin-top: 12px; }
.mh-footer .mh-signature { font: italic 24px/1.4 Georgia, serif; margin-top: 24px; transform: rotate(-7deg); }
.mh-footer address, .mh-footer .mh-footer-grid > div > a { display: block; font-size: 12px; font-style: normal; margin-bottom: 9px; }
.mh-footer .mh-social { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; font-size: 11px; }
.mh-footer .mh-partners img { object-fit: contain; object-position: left center; margin-bottom: 16px; max-height: 48px; width: auto; background: #fff; padding: 4px; }
.mh-footer .mh-partners img:last-child { max-height: 60px; background: transparent; }
.mh-footer .mh-footer-bottom { border-top: 1px solid #ffffff40; margin-top: 32px; padding-top: 17px; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: #aebfc5; }
/* La page de connexion garde son encart centré et un footer de pleine largeur. */
body.page_login { margin: 0; padding: 0; }
.page_login #minipres { margin: 5% auto; }
@media (max-width: 1100px) {
  .mh-footer > .mh-container { width: calc(100% - 64px); }
  .mh-footer .mh-footer-grid { gap: 22px; }
  .mh-footer .mh-footer-grid > div + div { padding-left: 22px; }
}
@media (max-width: 760px) {
  .mh-footer { padding-top: 32px; }
  .mh-footer > .mh-container { width: calc(100% - 40px); }
  .mh-footer .mh-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .mh-footer .mh-footer-grid > div + div { padding-left: 18px; }
  .mh-footer .mh-footer-grid > div:nth-child(3) { border: 0; padding: 0; }
  .mh-footer .mh-footer-bottom { flex-direction: column; gap: 10px; }
}
@media (max-width: 640px) {
  .page_login #minipres { margin: 5% 1%; }
}
