/* =============================================================================
   Matière à Création — Pied de page « Pulse02 pur » (2026-11-15)
   Maquette validée : audits/2026-11-15-pied-pulse02/index.html (proposition A).
   Retire le sable (#EADFCF) et le brun (#292725 / #3A3835) : tokens Pulse02 seulement.
   Contenu et structure HTML inchangés (templates/_partials/footer.tpl).
   Préfixe « #footer » : bat la règle injectée par macthemeconfig
   (.mac-footer,#footer{background:…}) sans !important.
   Rollback : retirer le <link> de head.tpl.
   ============================================================================= */

/* L'enveloppe #footer reste transparente : sa couleur remplissait la marge haute
   du pied et créait un grand vide encre au-dessus du filet. */
#footer.js-footer { background: transparent; }

#footer .mac-footer {
  background-color: var(--mac-ink, #0F172A);
  color: var(--mac-grey, #D1D5DB);
  position: relative;
  margin-top: 0;
}
#footer .mac-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mac-turquoise, #00D1C1), var(--mac-cobalt, #2563FF));
}

/* Barre de contact : bleu nuit un cran plus clair, icônes turquoise */
#footer .mac-footer__contact-bar {
  background-color: #16213A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0;
}
/* Option 1 validée : 4 colonnes à filets verticaux, une seule rangée */
#footer .mac-footer__contact-bar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1.15fr 1.45fr 1fr;
  gap: 0;
  align-items: stretch;
}
#footer .mac-footer__contact-item {
  padding: 1.4rem 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
  line-height: 1.35;
}
#footer .mac-footer__contact-item:first-child { border-left: 0; padding-left: 0; }
#footer .mac-footer__contact-item:last-child { padding-right: 0; }
#footer .mac-footer__contact-item small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: #9AA4B8;
}
@media (max-width: 1100px) {
  #footer .mac-footer__contact-bar-inner { grid-template-columns: 1fr 1fr; }
  #footer .mac-footer__contact-item { border-left: 0; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  #footer .mac-footer__contact-item:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 600px) {
  #footer .mac-footer__contact-bar-inner { grid-template-columns: 1fr; padding: 0 1rem; }
  #footer .mac-footer__contact-item:nth-child(2) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
}
#footer .mac-footer__contact-item,
#footer .mac-footer__contact-item span { color: var(--mac-grey, #D1D5DB); }
#footer .mac-footer__contact-item strong { color: #fff; }
#footer .mac-footer__contact-item a { color: #fff; font-weight: 600; text-decoration: none; }
#footer .mac-footer__contact-item a:hover { color: var(--mac-turquoise, #00D1C1); }
#footer .mac-footer__contact-item svg {
  width: 36px;
  height: 36px;
  padding: 9px;
  border-radius: 10px;
  stroke: var(--mac-turquoise, #00D1C1);
  background: rgba(0, 209, 193, 0.12);
}

/* Marque */
#footer .mac-footer__brand-name { color: #fff; }
#footer .mac-footer__brand-tagline { color: var(--mac-turquoise, #00D1C1); font-weight: 600; }
#footer .mac-footer__brand-desc { color: var(--mac-grey, #D1D5DB); }
#footer .mac-footer__badge {
  background: rgba(0, 209, 193, 0.12);
  border-color: rgba(0, 209, 193, 0.4);
  color: var(--mac-turquoise, #00D1C1);
}
#footer .mac-footer__social a {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
#footer .mac-footer__social a:hover {
  background: var(--mac-turquoise, #00D1C1);
  border-color: var(--mac-turquoise, #00D1C1);
  color: var(--mac-ink, #0F172A);
}

/* Colonnes */
#footer .mac-footer__col-title {
  color: #fff;
  font-family: var(--mac-font-title, "MAC Sora", Arial, sans-serif);
  position: relative;
  padding-bottom: 0.8rem;
}
#footer .mac-footer__col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--mac-turquoise, #00D1C1);
}
#footer .mac-footer__col ul li a { color: var(--mac-grey, #D1D5DB); }
#footer .mac-footer__col ul li a:hover { color: var(--mac-turquoise, #00D1C1); }
#footer .mac-footer__boutique { color: var(--mac-grey, #D1D5DB); }
#footer .mac-footer__boutique strong {
  color: #fff;
  font-family: var(--mac-font-title, "MAC Sora", Arial, sans-serif);
}
#footer .mac-footer__boutique a { color: var(--mac-grey, #D1D5DB); }
#footer .mac-footer__boutique a:hover { color: var(--mac-turquoise, #00D1C1); }

/* Bas de page */
#footer .mac-footer__bottom {
  background-color: #0A1122;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
#footer .mac-footer__copyright,
#footer .mac-footer__legal-links a { color: #9AA4B8; }
#footer .mac-footer__legal-links a:hover { color: #fff; }
