/* ======================================================================
   FOOTER – styles généraux
   ====================================================================== */
footer {
  position: relative;
  z-index: 10;
  background: #557c8c;
  color: #fff;
}

/* --- image d’arrière-plan ------------------------------------------- */
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/background.webp") center/cover no-repeat;
  opacity: 0.2;
  z-index: -1;
}

/* === Bloc supérieur ================================================== */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: center;
  border-bottom: 2px solid #fff;
  z-index: 1;
}

.footer-left,
.footer-middle,
.footer-right {
  flex: 1;
  padding: 20px;
}

.footer-container h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
}
.footer-container p {
  color: #fff;
}

/* --- bouton contact -------------------------------------------------- */
.footer-middle .contact-btn {
  display: block;
  margin: 20px auto 0;
  max-width: 200px;
  padding: 8px 15px;
  background: #69b3f0;
  color: #fff;
  font-weight: 700;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  text-align: center;
}
.contact-btn:hover {
  background: #357abd;
}

.phone-label i {
  color: #69b3f0;
}

/* --- réseaux & liens ------------------------------------------------- */
.social-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}
.social-links a:hover {
  color: #69b3f0;
}

.footer-links {
  margin-top: 10px;
  padding: 0;
  list-style: none;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}
.footer-links a:hover {
  color: #69b3f0;
}

/* === Bas de page ===================================================== */
.footer-bottom {
  text-align: center;
  padding: 10px;
  margin-top: 20px;
}
.footer-bottom p {
  font-size: 0.9em;
  margin-top: 15px;
  color: #fff;
}

/* === Responsive ====================================================== */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  .footer-left,
  .footer-middle,
  .footer-right {
    flex: none;
    text-align: center;
    padding-bottom: 0;
  }
}
