/* Footer global français V8 — référence : Actualités production */
.site-footer {
  position: relative;
  margin-top: 54px;
  background: #247f86;
  color: #fcfcfc;
  font-family: "Roboto Slab", Georgia, serif;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -54px;
  height: 58px;
  background: #247f86;
  clip-path: polygon(0 79%, 12% 61%, 24% 72%, 35% 46%, 48% 60%, 66% 18%, 79% 43%, 100% 79%, 100% 100%, 0 100%);
}

.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; }

.footer__widgets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  min-height: 402px;
  padding: 52px 12px 30px;
}

.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer__logo { display: block; width: 124px; height: 124px; margin-bottom: 30px; }
.footer__logo img { display: block; width: 124px; height: 124px; object-fit: contain; }
.footer__tagline { max-width: 376px; margin: 0; font-size: 13px; line-height: 1.62; color: #fcfcfc; }

.footer__contact { padding: 74px 0 0 40px; font-size: 13px; line-height: 1.55; }
.footer__contact-heading { margin: 0 0 28px; font: inherit; }
.footer__contact-list { display: flex; flex-direction: column; gap: 15px; margin: 0; padding: 0; list-style: none; }
.footer__contact-item { display: flex; align-items: center; gap: 8px; }
.footer__contact-icon { flex: 0 0 auto; width: 15px; height: 15px; }

.footer__newsletter-title { margin: 0 0 12px; color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 42px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.footer__newsletter-desc { max-width: 376px; margin: 0 0 16px; font-size: 13px; line-height: 1.62; }
.footer__newsletter-form { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer__newsletter-form label { font-size: 13px; }
.footer__newsletter-input { width: 230px; height: 40px; margin: 0 0 7px; border: 1px solid rgba(255,255,255,.65); background: #d7cfb9; color: #626262; padding: 8px 10px; font: 14px "Roboto", Arial, sans-serif; }
.footer__newsletter-btn { min-width: 139px; height: 36px; margin-top: 4px; border: 0; border-radius: 20px; background: #d6aa34; color: #fff; cursor: pointer; font: 600 13px "Roboto Slab", Georgia, serif; }
.footer__newsletter-btn:hover { background: #c79a27; }

.footer__bottom { background: #0ba3ae; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; padding: 20px 12px; }
.footer__copyright { font-size: 13px; line-height: 1.6; }
.footer__social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__social-link { display: grid; width: 18px; height: 22px; place-items: center; color: #fff; }
.footer__social-link svg { width: 15px; height: 15px; }

@media (max-width: 900px) {
  .footer__widgets { grid-template-columns: 1fr; gap: 38px; min-height: 0; padding-top: 46px; }
  .footer__contact { padding: 0; }
  .footer__newsletter-title { font-size: clamp(32px, 10vw, 42px); }
}

@media (max-width: 560px) {
  .site-footer { margin-top: 38px; }
  .site-footer::before { top: -38px; height: 42px; clip-path: polygon(0 74%, 22% 52%, 43% 68%, 66% 25%, 82% 45%, 100% 72%, 100% 100%, 0 100%); }
  .footer__widgets { gap: 34px; padding: 38px 22px 34px; }
  .footer__logo { margin-bottom: 22px; }
  .footer__newsletter-input { width: 100%; max-width: 290px; }
  .footer__bottom-inner { align-items: flex-start; flex-direction: column; padding: 24px 22px; }
  .footer__copyright { font-size: 12px; }
}
/* Retour Actualités du gabarit historique minifié. */
body.page-body:has(main .back[href="/actualites/"]) .back {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--color-teal, #0d9488);
  border-radius: 2rem;
  color: #0ba3ae;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.48;
  text-decoration: underline;
}

body.page-body:has(main .back[href="/actualites/"]) .back:hover {
  background: #0aa3ad;
  color: #fff;
}
