/* ======================================================================
   FOOTER – composant réutilisable
   ----------------------------------------------------------------------
   footer                – balise principale
   .footer-container     – grille supérieure (3 colonnes)
   .footer-left|-middle|-right
                         – colonnes de contenu
   .contact-btn          – bouton d’appel
   .social-links         – icônes réseaux sociaux
   .footer-links         – liens secondaires
   .footer-bottom        – bandeau copyright
   ====================================================================== */

/* === WRAPPER GLOBAL =================================================== */
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 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
  text-align: center;
  border-bottom: 2px solid #fff;
  z-index: 1;
}

.footer-left,
.footer-middle,
.footer-right {
  flex: 1;
  padding: 20px;
}

.footer-container h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  color: #fff;
}

.footer-container p {
  color: #fff;
}

/* --- bouton contact --------------------------------------------------- */
.footer-middle .contact-btn {
  display: block;
  max-width: 200px;
  margin: 20px auto 0;
  padding: 8px 15px;
  background: #69b3f0;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
}

.contact-btn:hover {
  background: #357abd;
}

.phone-label i {
  color: #69b3f0;
}

/* --- réseaux & liens -------------------------------------------------- */
.social-links a,
.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

.social-links a:hover,
.footer-links a:hover {
  color: #69b3f0;
}

.footer-links {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

/* === BAS DE PAGE ====================================================== */
.footer-bottom {
  text-align: center;
  padding: 10px;
  margin-top: 20px;
}

.footer-bottom p {
  margin: 15px 0 0;
  font-size: 0.9rem;
  color: #fff;
}

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-left,
  .footer-middle,
  .footer-right {
    flex: none;
    padding-bottom: 0;
    text-align: center;
  }
}
