/* ==========================================================================
   FOOTER - DESIGN MODERNE ET PROFESSIONNEL
   VERSION AVEC LOGO ADAPTATIF
   ========================================================================== */

footer {
  position: relative;
  background: linear-gradient(135deg, #2a4e49 0%, #1e3a36 100%);
  color: #fff;
  padding-top: 12vh;
  padding-bottom: 8vh;
  overflow: hidden;
}

/* Motif décoratif en arrière-plan */
footer::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(0, 189, 165, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

footer::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

footer .container {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Logo Footer Adaptatif (pour plus tard)
   

footer .logo-footer {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    transition: transform 0.3s ease;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .logo-footer:hover {
    transform: translateY(-3px);
}

footer .logo-footer svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}


@media screen and (max-width: 767px) {
    footer .logo-footer {
        top: -24px;
        width: 140px;
        max-width: 140px;
    }
}


@media screen and (max-width: 380px) {
    footer .logo-footer {
        top: -20px;
        width: 120px;
        max-width: 120px;
    }
}


@media screen and (min-width: 768px) and (max-width: 991px) {
    footer .logo-footer {
        top: -28px;
        width: 180px;
        max-width: 180px;
    }
}


@media screen and (min-width: 992px) {
    footer .logo-footer {
        top: -5px;
        left: 10%;
        right: auto;
        margin: 0;
        width: 200px;
        max-width: 200px;
        justify-content: flex-start;
    }
}


@media screen and (min-width: 1400px) {
    footer .logo-footer {
        top: -40px;
        left: 12%;
        width: 220px;
        max-width: 220px;
    }
}


@media screen and (min-width: 1600px) {
    footer .logo-footer {
        top: -45px;
        left: 15%;
        width: 240px;
        max-width: 240px;
    }
}

========================================================================== */

/* -----------------------------------------------------------------------------
   Colonnes de liens
   ----------------------------------------------------------------------------- */
footer .title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 189, 165, 0.3);
  display: inline-block;
}

footer ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

footer ul li {
  margin-bottom: 10px;
}

footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

footer a:hover {
  color: var(--wp--preset--color--color-2);
  padding-left: 5px;
}

/* Bouton Contact */
footer .btn-color-1 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e5097f 0%, #c4086a 100%);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(229, 9, 127, 0.3);
}

footer .btn-color-1:hover {
  background: linear-gradient(135deg, #c4086a 0%, #a0075a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 9, 127, 0.4);
  padding-left: 24px;
}

footer .btn-color-1 i {
  font-size: 1.1rem;
}

/* Contact + réseaux sociaux sur une même ligne */
footer .footer-contact-reseaux {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

footer .footer-contact-reseaux .btn-color-1 {
  margin-top: 0;
  padding: 12px 18px;
}

footer .footer-reseau {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #fff;
  color: #e5097f;
  transition: all 0.3s ease;
}

footer .footer-reseau i,
footer .footer-reseau svg {
  font-size: 1.3rem;
}

footer .footer-reseau:hover {
  background: #e5097f;
  color: #fff;
  padding-left: 0;
  transform: translateY(-2px);
}

/* -----------------------------------------------------------------------------
   Logos paiement et certifications
   ----------------------------------------------------------------------------- */
footer .logos-footer {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

footer .logos-footer a,
footer .logos-footer .col-4 > img {
  background-color: #fff;
  padding: 12px;
  border-radius: 12px;
  aspect-ratio: 5/4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

footer .logos-footer a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  padding: 12px;
}

footer .logos-footer a img,
footer .logos-footer .col-4 > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* -----------------------------------------------------------------------------
   Copyright
   ----------------------------------------------------------------------------- */
footer .copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  line-height: 1.8;
}

footer .copyright a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  padding: 0;
}

footer .copyright a:hover {
  color: #fff;
  padding-left: 0;
}

/* -----------------------------------------------------------------------------
   Responsive - Desktop
   ----------------------------------------------------------------------------- */
@media screen and (min-width: 992px) {
  footer {
    padding-top: 14vh;
    padding-bottom: 6vh;
  }

  footer .logos-footer {
    padding: 25px 20px;
  }

  footer .copyright {
    text-align: left;
  }

  /* Colonnes mieux espacées */
  footer .row > div[class*="col-"] {
    margin-bottom: 30px;
  }
}

/* -----------------------------------------------------------------------------
   Responsive - Tablette
   ----------------------------------------------------------------------------- */
@media screen and (max-width: 991px) and (min-width: 769px) {
  footer {
    padding-top: 10vh;
  }

  footer .title {
    margin-top: 20px;
  }
}

/* -----------------------------------------------------------------------------
   Responsive - Mobile
   ----------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  footer {
    padding-top: 10vh;
    padding-bottom: 6vh;
  }

  /* Sections avec espacement */
  footer .row > div[class*="col-"] {
    margin-bottom: 30px;
  }

  /* Titre section */
  footer .title {
    font-size: 1.05rem;
    margin-top: 25px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  /* Première section sans margin-top */
  footer .row > div[class*="col-"]:first-child .title {
    margin-top: 0;
  }

  /* Liens plus espacés pour le tactile */
  footer ul li {
    margin-bottom: 12px;
  }

  footer a {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* Bouton Contact pleine largeur */
  footer .btn-color-1 {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1rem;
    margin-top: 20px;
  }

  footer .footer-contact-reseaux {
    margin-top: 20px;
  }

  footer .footer-contact-reseaux .btn-color-1 {
    flex: 1;
    width: auto;
    margin-top: 0;
    padding: 14px 20px;
  }

  footer .footer-reseau {
    width: 50px;
    height: 50px;
  }

  /* Logos footer */
  footer .logos-footer {
    padding: 15px;
    border-radius: 16px;
  }

  footer .logos-footer a,
  footer .logos-footer .col-4 > img {
    padding: 10px;
    border-radius: 10px;
  }

  /* Copyright */
  footer .copyright {
    font-size: 0.8rem;
    padding-top: 30px;
    margin-top: 30px;
    line-height: 1.7;
  }
}

/* Très petit mobile */
@media screen and (max-width: 380px) {
  footer .title {
    font-size: 1rem;
  }

  footer a {
    font-size: 0.9rem;
  }

  footer .logos-footer {
    padding: 12px;
  }

  footer .logos-footer a,
  footer .logos-footer .col-4 > img {
    padding: 8px;
  }
}

/* ==========================================================================
   Modal Add to Cart (conservé)
   ========================================================================== */

#modal-add-to-cart h5 {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.125rem;
}

#modal-add-to-cart .price {
  color: var(--wp--preset--color--color-1);
  font-weight: 700;
  font-size: 1.125rem;
}

#modal-add-to-cart .image img {
  width: auto;
  max-height: 215px;
  margin: 0 auto;
}

/* =============================================================================
   PIED DE PAGE — TABLETTE 768 A 991 px  (2026-11-18)

   Les trois colonnes de liens passent de front a cette largeur (voir
   footer.php) : chacune fait environ 235 px. La rangee « Contact + Instagram
   + Facebook » en reclamait 230 avec ses marges, et Facebook partait seul a la
   ligne suivante. On resserre le bouton et les deux pastilles juste assez pour
   que les trois tiennent ensemble.
   ============================================================================= */
@media screen and (min-width: 768px) and (max-width: 991.98px) {
  footer .footer-contact-reseaux {
    gap: 6px;
  }

  footer .footer-contact-reseaux .btn-color-1 {
    padding: 11px 14px;
  }

  footer .footer-reseau {
    width: 38px;
    height: 38px;
  }
}
