/* =========================
   FOOTER – SAHP (FINAL)
========================= */

.footer {
  background: #0f3555;
  color: #ffffff;
  padding-top: 30px;
}

/* =========================
   CONTAINER PRINCIPAL
========================= */

.footer-container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 20px 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  align-items: stretch; 
}

/* =========================
   COLONNES GÉNÉRIQUES
========================= */

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 15px;
}

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

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

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

.footer a:hover {
  color: #00b09b;
}

/* =========================
   BRAND
========================= */

.footer-logo {
  width: 220px;
}

.footer-brand p {
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* =========================
   CONTACT (COLONNE FLEX)
========================= */

.footer-contact {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 10px;
}

/* =========================
   WHATSAPP
========================= */

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 50px;
  background: #00b09b;
  color: #ffffff;
  font-weight: 600;
  width: fit-content;
}

.footer-whatsapp img {
  width: 40px;
  height: 40px;
}

.footer-whatsapp:hover {
  background: #ffffff;
  color: #0f4c81;
}

/* =========================
   LIENS LÉGAUX (BAS DROIT)
========================= */

.footer-legal-inline {
  margin-top: auto; /* colle VRAIMENT en bas */
  margin-bottom: 0;
  padding-top: 25px;
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal-inline a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal-inline a:hover {
  text-decoration: underline;
}

/* =========================
   BARRE BASSE
========================= */

.footer-bottom {
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.15);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom-container {
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
}

.footer-copyright {
  display: inline-block;
  flex-shrink: 0;
}

.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

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

.footer-legal-links a:hover {
  color: #00b09b;
  text-decoration: underline;
}

.footer-legal-links span {
  color: rgba(255, 255, 255, 0.5);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer-contact {
    align-items: center;
  }

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

  .footer-bottom-container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .footer-copyright {
    width: 100%;
    text-align: center;
  }

  .footer-legal-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}
