/**
 * EHUKA - Footer moderne avec variables CSS
 */

/* ============================================================================
   FOOTER PRINCIPAL
   ============================================================================ */
.footer-container {
  background: var(--ehuka-text) !important;
  color: white !important;
  padding: 50px 0 20px 0 !important;
  margin-top: 60px;
}

/* Liens du footer */
.footer-container a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.footer-container a:hover {
  color: var(--ehuka-accent) !important;
  transform: translateX(3px);
}

/* Titres des colonnes */
.footer-container h3,
.footer-container .h3,
.footer-container .tvfooter-storelogo-title,
.footer-container .tvcontact-item-container h3,
.footer-container .block-title,
.footer-container .title_block {
  color: white !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
  padding-bottom: 12px !important;
}

.footer-container h3::after,
.footer-container .h3::after,
.footer-container .block-title::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 40px !important;
  height: 3px !important;
  background: var(--ehuka-accent) !important;
}

/* Listes du footer */
.footer-container ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-container ul li {
  margin-bottom: 12px !important;
  padding-left: 0 !important;
}

.footer-container ul li a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.footer-container ul li a::before {
  content: "→" !important;
  color: var(--ehuka-accent) !important;
  font-weight: bold !important;
  transition: transform 0.3s ease !important;
}

.footer-container ul li a:hover::before {
  transform: translateX(5px) !important;
}

/* Icônes de contact */
.footer-container .material-icons,
.footer-container i.material-icons {
  color: var(--ehuka-accent) !important;
  font-size: 20px !important;
  margin-right: 10px !important;
}

/* Newsletter */
.footer-container input[type="email"],
.footer-container input[type="text"] {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  padding: 12px 15px !important;
  border-radius: 8px !important;
  width: 100% !important;
  margin-bottom: 10px !important;
  transition: all 0.3s ease !important;
}

.footer-container input[type="email"]:focus,
.footer-container input[type="text"]:focus {
  outline: none !important;
  border-color: var(--ehuka-accent) !important;
  background: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 0 0 4px rgba(112, 215, 116, 0.1) !important;
}

.footer-container input[type="email"]::placeholder,
.footer-container input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.footer-container button[type="submit"],
.footer-container .btn-primary {
  background: var(--ehuka-accent) !important;
  border: none !important;
  color: white !important;
  padding: 12px 30px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.footer-container button[type="submit"]:hover,
.footer-container .btn-primary:hover {
  background: var(--ehuka-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(237, 106, 90, 0.4) !important;
}

/* Réseaux sociaux */
.footer-container .social-links,
.footer-container .social-block {
  display: flex !important;
  gap: 15px !important;
  margin-top: 20px !important;
}

.footer-container .social-links a,
.footer-container .social-block a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

.footer-container .social-links a:hover,
.footer-container .social-block a:hover {
  background: var(--ehuka-accent) !important;
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 4px 15px rgba(112, 215, 116, 0.4) !important;
}

/* ============================================================================
   BOUTON "RETOUR EN HAUT"
   ============================================================================ */
.tvbottom-to-top {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  z-index: 999 !important;
}

.tvbottom-to-top-icon {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 50px !important;
  height: 50px !important;
  background: var(--ehuka-accent) !important;
  color: white !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 15px rgba(112, 215, 116, 0.3) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.tvbottom-to-top-icon:hover {
  background: var(--ehuka-hover) !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 6px 20px rgba(237, 106, 90, 0.4) !important;
}

.tvbottom-to-top-icon span {
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  display: none !important;
}

.tvbottom-to-top-icon i {
  font-size: 24px !important;
  color: white !important;
}

/* ============================================================================
   BARRE COPYRIGHT & PAIEMENTS
   ============================================================================ */
.tvfooter-copy-payment-icon-wrapper {
  background: rgba(0, 0, 0, 0.3) !important;
  padding: 20px 0 !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.tvfooter-copy-payment-icon-wrapper a {
  color: rgba(255, 255, 255, 0.7) !important;
}

.tvfooter-copy-payment-icon-wrapper a:hover {
  color: var(--ehuka-accent) !important;
}

/* Icônes de paiement */
.tvfooter-copy-payment-icon-wrapper img {
  height: 30px !important;
  width: auto !important;
  margin: 0 10px !important;
  opacity: 0.8 !important;
  transition: opacity 0.3s ease !important;
}

.tvfooter-copy-payment-icon-wrapper img:hover {
  opacity: 1 !important;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 991px) {
  .footer-container {
    padding: 40px 0 20px 0 !important;
  }

  .footer-container .row > div {
    margin-bottom: 30px !important;
  }

  .tvbottom-to-top {
    bottom: 20px !important;
    right: 20px !important;
  }

  .tvbottom-to-top-icon {
    width: 45px !important;
    height: 45px !important;
  }
}

@media (max-width: 575px) {
  .footer-container h3,
  .footer-container .h3,
  .footer-container .block-title {
    font-size: 16px !important;
  }

  .social-links,
  .social-block {
    justify-content: center !important;
  }
}

/* ============================================================================
   CORRECTIONS SPÉCIFIQUES
   ============================================================================ */

/* Cacher l'image de fond si elle existe */
.footer-container.tvcmsfooter-background-image {
  background-image: none !important;
}

/* Forcer le texte blanc partout */
.footer-container,
.footer-container p,
.footer-container span,
.footer-container div:not(.tvbottom-to-top-icon) {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Logo du footer */
.footer-container img[alt*="logo"],
.footer-container .tvfooter-storelogo-inner img {
  max-width: 180px !important;
  height: auto !important;
  margin-bottom: 20px !important;
}
