.site-footer {
  background: linear-gradient(135deg, #132644 0%, #132644 55%, #7f1d1d 100%);
  color: #fff;
  margin-top: 80px;
  padding: 0;
}


.site-footer .footer-inner {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.05fr 1.25fr;
  gap: 36px;
  padding: 60px 0 42px;
  align-items: start;
}

.site-footer .footer-logo img {
  width: 150px !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 16px;
}

.site-footer .footer-description {
  max-width: 360px;
  margin-top: 22px;
  line-height: 1.6;
}

.site-footer .footer-col h4 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 18px;
}

.site-footer .footer-col h4::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: #ef4444;
  margin-top: 10px;
  border-radius: 999px;
}

.site-footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-col li {
  margin-bottom: 12px;
}

.site-footer .footer-col a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.site-footer .footer-col a:hover {
  color: #fecaca;
}

.site-footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.site-footer .footer-social a {
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 9px 16px;
}

.footer-signature {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  text-align: center;
  padding: 18px 0;
  color: rgba(255,255,255,.78);
  font-weight: 700;
  letter-spacing: 2px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.site-footer .footer-bottom {
  background: rgba(0,0,0,.16);
  padding: 22px 0;
}

.footer-bottom-inner {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-copyright,
.footer-subtitle {
  color: rgba(255,255,255,.82);
  font-size: 14px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}

.footer-legal a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-separator {
  color: rgba(255,255,255,.4);
}

.footer-subtitle {
  width: min(100% - 48px, 1180px);
  margin: 10px auto 0;
  text-align: center;
}

@media (max-width: 700px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 500px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 600px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

.site-footer .footer-col {
  min-width: 0;
}

.site-footer .footer-col a {
  overflow-wrap: anywhere;
}

.site-footer .footer-inner,
.site-footer .footer-signature,
.site-footer .footer-bottom-inner,
.site-footer .footer-subtitle {
  width: min(100% - 80px, 1180px);
  margin-left: auto;
  margin-right: auto;
}

.site-footer .footer-inner {
  grid-template-columns: 1.3fr 0.9fr 1fr 1.5fr;
}


.footer-signature {
    width: min(100% - 80px, 1180px);
    margin: 0 auto;
    padding: 28px 0;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 3px;
    color: rgba(255,255,255,.9);
    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
}


.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-copyright {
  margin-right: 14px;
}

.footer-legal {
  justify-content: center;
}

.site-footer .footer-col:last-child {
    margin-top: -8px;
}
﻿
/* =========================================
   APB - Footer adaptatif 3 ou 4 colonnes
   ========================================= */

/* Trois colonnes par défaut */
.site-footer .footer-inner {
  grid-template-columns: minmax(0, 1.3fr)
                         minmax(0, 0.8fr)
                         minmax(300px, 1.2fr);
  column-gap: clamp(24px, 4vw, 60px);
}

/* Quatre colonnes lorsque Vie municipale est visible */
.site-footer .footer-inner:has(> .footer-col:nth-child(4)) {
  grid-template-columns: minmax(0, 1.25fr)
                         minmax(0, 0.8fr)
                         minmax(0, 1fr)
                         minmax(280px, 1.3fr);
}

/* Éviter la coupure de l'adresse e-mail */
.site-footer .footer-col a[href^="mailto:"] {
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
  font-size: 14px;
}

/* Annuler le décalage artificiel du contact */
.site-footer .footer-col:last-child {
  margin-top: 0;
}

/* Tablettes */
@media (max-width: 1000px) {
  .site-footer .footer-inner,
  .site-footer .footer-inner:has(> .footer-col:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

/* Smartphones */
@media (max-width: 600px) {
  .site-footer .footer-inner,
  .site-footer .footer-inner:has(> .footer-col:nth-child(4)) {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    width: calc(100% - 40px);
  }

  .site-footer .footer-col a[href^="mailto:"] {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

