/* Footer – ne pas rétrécir, toujours en bas de page (sticky footer) */
.footer-lbc-modern {
  flex-shrink: 0;
  background: var(--primary-dark);
  color: #fff;
  padding: 48px 0 24px 0;
  margin-top: auto;
}

/* Bandeau mobile (masqué sur desktop) */
.footer-mobile-bandeau {
  display: none;
}

.footer-flex {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

/* Logo : même taille que le header (56px), priorité sur .responsive-img */
.footer-logo img,
.footer-logo .responsive-img {
  height: 56px !important;
  max-width: 120px !important;
  width: auto !important;
  min-width: 0;
  border-radius: 8px;
  background: rgba(255,255,255,0.3);
  box-shadow: none;
  object-fit: contain;
}

.footer-desc {
  color: #bdc3c7;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-lbc-modern h4 {
  color: #ecf0f1;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  border-bottom: 2px solid #3498db;
  padding-bottom: 8px;
  display: inline-block;
}

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

.footer-lbc-modern ul li {
  margin-bottom: 8px;
}

.footer-lbc-modern ul li a,
.footer-lbc-modern a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 2px 0;
}

.footer-lbc-modern ul li a:hover {
  color: #3498db;
  transform: translateX(4px);
}

/* Icônes sociales */
.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.footer-socials a,
.footer-socials .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 18px;
  transition: all 0.3s;
  text-decoration: none;
  cursor: pointer;
}

.footer-socials a:hover,
.footer-socials .social-icon:hover {
  background: #3498db;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52,152,219,0.3);
}

/* Bas de page */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 32px;
  padding-top: 24px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  color: #95a5a6;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-links a {
  color: #95a5a6;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #3498db;
}

.separator {
  color: #7f8c8d;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-flex {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    padding: 0 16px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    padding: 0 16px;
  }

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

@media (max-width: 768px) {
  /* Sur mobile : masquer le footer complet, afficher le bandeau */
  .footer-lbc-modern {
    padding: 0;
  }

  .footer-lbc-modern .footer-flex,
  .footer-lbc-modern .footer-bottom {
    display: none !important;
  }

  .footer-mobile-bandeau {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #1e293b;
    color: #fff;
    gap: 16px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .footer-bandeau-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .footer-bandeau-brand {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
  }

  .footer-bandeau-url {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
  }

  .footer-bandeau-url:hover {
    color: var(--accent);
  }

  .footer-bandeau-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #059669;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    flex-shrink: 0;
  }

  .footer-bandeau-trust:hover {
    background: #047857;
    color: #fff;
  }

  .footer-bandeau-trust-icon {
    font-size: 1rem;
  }

  .footer-bandeau-trust-label {
    white-space: nowrap;
  }

  .footer-bandeau-trust-avis {
    font-weight: 500;
    opacity: 0.95;
  }
}

@media (min-width: 769px) {
  .footer-mobile-bandeau {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .footer-flex {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    padding: 24px 16px;
  }

  .footer-lbc-modern {
    padding: 0;
  }

  .footer-desc {
    margin: 0 auto;
  }

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

  .footer-lbc-modern ul li a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Zones tactiles : liens et boutons footer accessibles au doigt */
@media (max-width: 768px) {
  .footer-socials a {
    min-width: 44px;
    min-height: 44px;
  }
}
