/* ==========================================================================
   EEI - Pied de Page (footer.css)
   ========================================================================== */

.site-footer {
  background-color: var(--primary-navy-dark);
  color: var(--text-light);
  padding: 60px 0 0 0;
  font-size: 0.9rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  padding-bottom: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.1fr;
  gap: 40px;
}

/* Footer Brand & Info */
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-logo-img {
  height: 130px;
  width: auto;
  flex-shrink: 0;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--accent-gold);
  color: var(--primary-navy-dark);
  transform: translateY(-2px);
}

/* Footer Titles */
.footer-title {
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

/* Footer Links List */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

/* Footer Contact Info */
.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.5;
  text-decoration: none;
}

.footer-link-item:hover {
  color: var(--accent-gold);
}

.footer-sub-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-sub-link:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

.footer-info-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Brands Band */
.footer-brands-band {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  background: rgba(0, 0, 0, 0.15);
}

.footer-brands-title {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
}

.footer-brands-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.brand-badge {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.25s ease;
}

.brand-badge:hover {
  background: rgba(255, 184, 0, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Bottom Bar / Copyright (PRESERVED STYLES) */
.footer-bottom {
  padding: 22px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  background: #040D1E;
}

.footer-bottom-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  line-height: 1.6;
}

.footer-bottom a {
  color: var(--accent-gold);
  font-weight: 600;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom .powered-by-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom .powered-by-link {
  color: var(--accent-gold);
  font-weight: 700;
}

.footer-bottom .powered-by-link:hover {
  color: #FFFFFF;
}

.footer-bottom .sg-logo {
  height: 20px;
  width: auto;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.footer-bottom .sg-logo:hover {
  transform: scale(1.08);
}

/* Responsive Footer Media Queries */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .site-footer {
    padding-top: 40px;
  }
}

/* ══════════════════════════════════════
   BOUTON RETOUR EN HAUT (SCROLL TO TOP)
══════════════════════════════════════ */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: auto;
  width: 44px;
  height: 44px;
  background-color: var(--primary-navy);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  outline: none;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.scroll-top-btn:hover {
  background-color: var(--accent-gold);
  color: var(--primary-navy);
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 184, 0, 0.4);
}

.scroll-top-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: stroke 0.25s ease;
}

/* Décalage si le bandeau de cookies est affiché à droite */
body:has(.eei-cookie-banner.show) .scroll-top-btn {
  bottom: 210px;
}

@media (max-width: 480px) {
  .scroll-top-btn {
    bottom: 20px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  body:has(.eei-cookie-banner.show) .scroll-top-btn {
    bottom: 190px;
  }
}



