/* ============================================================
   accueil-footer.css — Nouveau pied de page de accueil.html (4 colonnes
   + barre du bas), fluide et animé.
   Fichier 100% additif : n'affecte que accueil.html (chargé uniquement
   sur cette page), ne redéfinit aucune règle de style.css. Les colonnes
   réutilisent .promo-reveal (déjà géré par accueil-showcase.js) pour
   l'apparition en douceur au scroll, dans les deux sens.
   ============================================================ */

/* ---------- Grille des 4 colonnes ---------- */

.site-footer-inner.mp-footer-grid {
  max-width: 980px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 34px;
  text-align: left;
  align-items: start;
}

.mp-footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 16px;
}

/* Cascade : chaque colonne apparaît un peu après la précédente,
   à la descente comme à la remontée (classe .promo-reveal déjà animée
   par accueil-showcase.css / accueil-showcase.js). */
.mp-footer-grid > .mp-footer-col:nth-child(1) { transition-delay: 0s; }
.mp-footer-grid > .mp-footer-col:nth-child(2) { transition-delay: .08s; }
.mp-footer-grid > .mp-footer-col:nth-child(3) { transition-delay: .16s; }
.mp-footer-grid > .mp-footer-col:nth-child(4) { transition-delay: .24s; }

/* ---------- Colonne marque ---------- */

.mp-footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 14px;
}

.mp-footer-brand-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transition: transform .4s cubic-bezier(.22,.68,.32,1);
}

.mp-footer-brand-logo:hover img {
  transform: rotate(-8deg) scale(1.08);
}

.mp-footer-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
}

.mp-footer-brand-name b { color: var(--green); }

.mp-footer-brand-name small {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.mp-footer-brand p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  max-width: 280px;
}

/* ---------- Colonnes "Liens rapides" / "Nos services" ---------- */

.mp-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.mp-footer-links a {
  position: relative;
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: color .25s ease, transform .25s ease;
}

.mp-footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width .3s cubic-bezier(.22,.68,.32,1);
}

/* Variante additive : colonne "Nos services" trop longue (12 plateformes)
   → réparti sur 2 sous-colonnes internes pour rester compact, sans toucher
   à .mp-footer-links (utilisée telle quelle pour "Liens rapides"). */
.mp-footer-links--split {
  display: block;
  column-count: 2;
  column-gap: 22px;
}

.mp-footer-links--split li {
  break-inside: avoid;
  margin-bottom: 11px;
}

.mp-footer-links--split li:last-child {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .mp-footer-links--split {
    column-count: 1;
  }
}

.mp-footer-links a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.mp-footer-links a:hover::after {
  width: 100%;
}

/* ---------- Colonne contact ---------- */

.mp-footer-contact-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp-footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--muted);
}

.mp-footer-contact-list a {
  color: var(--text);
  text-decoration: none;
  transition: color .25s ease;
}

.mp-footer-contact-list a:hover {
  color: var(--green);
}

.mp-footer-contact-list .ficon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--green-dim);
  color: var(--green);
  transition: transform .3s cubic-bezier(.22,.68,.32,1), background .3s ease;
}

.mp-footer-contact-list li:hover .ficon {
  transform: translateY(-2px) scale(1.06);
  background: var(--green);
  color: #06231a;
}

.mp-footer-contact-list .ficon svg {
  width: 16px;
  height: 16px;
}

.mp-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mp-footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s cubic-bezier(.22,.68,.32,1), border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.mp-footer-social-btn svg { width: 16px; height: 16px; }

.mp-footer-social-btn:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: var(--green);
  background: rgba(0, 217, 126, .1);
  box-shadow: 0 10px 22px -10px rgba(0, 217, 126, .5);
  color: var(--green);
}

.mp-footer-social-apk {
  padding: 5px;
  overflow: hidden;
}

.mp-footer-social-apk img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

/* ---------- Barre du bas ---------- */

.mp-footer-bottom {
  max-width: 980px;
  margin: 30px auto 0;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11.5px;
  color: var(--muted);
}

.mp-footer-bottom .footer-legal-links {
  margin-top: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .site-footer-inner.mp-footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 30px;
  }
  .mp-footer-brand { grid-column: 1 / -1; }
  .mp-footer-brand p { max-width: 420px; }
}

@media (max-width: 560px) {
  .site-footer-inner.mp-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mp-footer-brand-logo { justify-content: center; }
  .mp-footer-brand p { margin: 0 auto; }
  .mp-footer-contact-list li { justify-content: center; }
  .mp-footer-socials { justify-content: center; }
  .mp-footer-bottom { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .mp-footer-brand-logo img,
  .mp-footer-links a,
  .mp-footer-links a::after,
  .mp-footer-contact-list .ficon,
  .mp-footer-social-btn {
    transition: none !important;
  }
}
