/**
 * FOOTER PREMIUM - Niveau Mondial
 * Fabre Métal Construction
 * Version: 3.0
 */

/* ============================================
   FOOTER PRINCIPAL
   ============================================ */

.site-footer-pro {
  position: relative;
  background: linear-gradient(180deg, #000f1e 0%, #001428 50%, #000a14 100%);
  color: rgba(255, 255, 255, 0.9);
  padding-top: 100px;
  overflow: hidden;
}

.site-footer-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

/* ============================================
   VAGUE DÉCORATIVE
   ============================================ */

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: translateY(-1px);
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
  color: #001f3f;
}

/* ============================================
   CONTAINER
   ============================================ */

.footer-container-pro {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* ============================================
   SECTION PRINCIPALE
   ============================================ */

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ============================================
   COLONNE À PROPOS
   ============================================ */

.footer-about {
  max-width: 400px;
}

.footer-logo-section {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.footer-logo-wrapper {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(255, 215, 0, 0.08));
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.footer-company-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-company-name span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(212, 175, 55, 0.9);
  display: block;
}

.footer-description {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ============================================
   RÉSEAUX SOCIAUX
   ============================================ */

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.social-link:hover::before {
  width: 100%;
  height: 100%;
}

.social-link:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.5);
  color: #d4af37;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}

.social-link svg {
  position: relative;
  z-index: 1;
}

/* ============================================
   TITRES DE COLONNES
   ============================================ */

.footer-column-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  margin: 0 0 4px 0;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, transparent);
  border-radius: 2px;
}

/* ============================================
   LIENS
   ============================================ */

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 18px;
}

.footer-link::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
  color: #d4af37;
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 24px;
}

.footer-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   CONTACT
   ============================================ */

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #d4af37;
  stroke-width: 2;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: #d4af37;
}

/* ============================================
   CERTIFICATIONS
   ============================================ */

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.certification-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
}

.certification-badge:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.certification-badge svg {
  color: #d4af37;
  stroke-width: 2;
}

.certification-badge span {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */

.footer-bottom {
  padding: 30px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.copyright strong {
  color: #d4af37;
  font-weight: 700;
}

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

.footer-bottom-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-bottom-link:hover {
  color: #d4af37;
}

.separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

/* ============================================
   BOUTON RETOUR EN HAUT
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), rgba(255, 215, 0, 0.8));
  border: none;
  border-radius: 12px;
  color: #000f1e;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9998;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.6);
}

.back-to-top svg {
  stroke-width: 3;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-about {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-container-pro {
    padding: 0 20px;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }
  
  .footer-about {
    grid-column: 1;
  }
  
  .certifications-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 576px) {
  .site-footer-pro {
    padding-top: 80px;
  }
  
  .footer-wave svg {
    height: 60px;
  }
  
  .certifications-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-column-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links,
  .footer-contact-list {
    align-items: center;
    text-align: center;
  }
  
  .footer-link::before {
    display: none;
  }
  
  .footer-link {
    padding-left: 0;
  }
  
  .footer-link:hover {
    padding-left: 0;
  }
  
  .footer-contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
