/* =========================================================
FOOTER – version robuste (marche AVEC ou SANS site-footer)
========================================================= */

/* IMPORTANT : on enlève les tests visuels */
html,
#wrapper{
  background: initial !important;
}

/* === FOOTER GLOBAL === */
footer.site-footer,
footer.flex.justify-content-center{
  background: transparent !important;
  padding: 0 !important;
  margin: 10px 0 0 0 !important;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Empêche les coupures moches (emails, URLs) */
footer.site-footer,
footer.site-footer *,
footer.flex.justify-content-center,
footer.flex.justify-content-center *{
  word-break: normal;
  overflow-wrap: anywhere;
}

/* === WRAPPER === */
footer.site-footer .footer-wrap,
footer.flex.justify-content-center .footer-wrap{
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

/* === BLOC BLANC CENTRAL === */
footer.site-footer .footer-inner,
footer.flex.justify-content-center .footer-inner{
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  padding: 20px 48px 10px;
  border-top: 1px solid rgba(0,0,0,.10);
  box-sizing: border-box;
}

/* === GRILLE 3 COLONNES === */
footer.site-footer .footer-grid,
footer.flex.justify-content-center .footer-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  text-align: left; /* ← centrage du contenu */
}

/* === TITRES === */
footer.site-footer .footer-title,
footer.flex.justify-content-center .footer-title{
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 18px;
  margin-bottom: 20px;
}

/* === TEXTE === */
footer.site-footer .footer-text,
footer.flex.justify-content-center .footer-text{
  font-size: 16px;
  line-height: 1.6;
  opacity: .88;
}

/* === LISTES DE LIENS === */
footer.site-footer .footer-links,
footer.flex.justify-content-center .footer-links{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* === LIENS === */
footer.site-footer .footer-link,
footer.flex.justify-content-center .footer-link{
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  color: inherit;
  opacity: .88;
  transition: opacity .2s ease, transform .2s ease;
  display: inline-block;
}
}

footer.site-footer .footer-link:hover,
footer.flex.justify-content-center .footer-link:hover{
  opacity: 1;
  transform: translateX(2px);
  text-decoration: none;
  text-underline-offset: 3px;
}

/* === BAS DE FOOTER === */
footer.site-footer .footer-bottom,
footer.flex.justify-content-center .footer-bottom{
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

footer.site-footer .footer-mini,
footer.flex.justify-content-center .footer-mini{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  opacity: .75;
}

footer.site-footer .footer-mini-link,
footer.flex.justify-content-center .footer-mini-link{
  text-decoration: none;
  color: inherit;
}

footer.site-footer .footer-mini-link:hover,
footer.flex.justify-content-center .footer-mini-link:hover{
  text-decoration: none;
  text-underline-offset: 3px;
  opacity: 1;
}

footer.site-footer .footer-sep,
footer.flex.justify-content-center .footer-sep{
  opacity: .5;
}

footer.site-footer .footer-copy,
footer.flex.justify-content-center .footer-copy{
  font-size: 14px;
  opacity: .65;
}

/* === MOBILE (remplacement) === */
@media (max-width: 900px){

  /* Moins de “jaune” à gauche/droite */
  footer.site-footer .footer-wrap,
  footer.flex.justify-content-center .footer-wrap{
    padding: 0 0px; /* au lieu de 24px */
  }

  /* Bloc blanc plus large (plein) + moins haut */
  footer.site-footer .footer-inner,
  footer.flex.justify-content-center .footer-inner{
    max-width: 100%;
    width: 100%;
    padding: 22px 18px 16px; /* moins haut que 40/22/22 */
  }

  
  
  
/* Colonnes en 3 colonnes sur mobile */
footer.site-footer .footer-grid,
footer.flex.justify-content-center .footer-grid{
  grid-template-columns: repeat(3, 1fr); /* 1/3 – 1/3 – 1/3 */
  gap: 18px;
  text-align: left;
}
  
  
  
  
  /* Titres un peu plus compacts */
  footer.site-footer .footer-title,
  footer.flex.justify-content-center .footer-title{
    font-size: 16px;
    margin-bottom: 12px;
  }

  /* Texte/links un peu plus compacts */
  footer.site-footer .footer-text,
  footer.flex.justify-content-center .footer-text,
  footer.site-footer .footer-link,
  footer.flex.justify-content-center .footer-link{
    font-size: 13px;
    line-height: 1.55;
  }

  /* Bas de footer: empilement propre */
  footer.site-footer .footer-bottom,
  footer.flex.justify-content-center .footer-bottom{
    margin-top: 18px;
    padding-top: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Le séparateur "•" devient inutile en colonne */
  footer.site-footer .footer-sep,
  footer.flex.justify-content-center .footer-sep{
    display: none;
  }
}

