/* ================= FOOTER ================= */
.site-footer {
  position: relative;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 1) 0%,
      rgba(25, 55, 70, 0.8) 25%,
      rgba(10, 20, 35, 1) 50%,
      rgba(35, 70, 85, 0.7) 75%,
      rgba(0, 0, 0, 1) 100%);
  color: #d0d6dc;
  font-size: 14px;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}

/* ================= FUEL LAYERS ================= */

/* Fuel principal (remplissage cuves) */
.site-footer::before {
  content: "";
  position: absolute;
  bottom: -30%;
  left: 0;
  width: 100%;
  height: 160%;
  background: linear-gradient(to top,
      rgba(20, 50, 70, 0.7) 0%,
      rgba(30, 65, 85, 0.6) 35%,
      rgba(5, 10, 20, 0.8) 55%,
      rgba(25, 55, 75, 0.5) 65%,
      transparent 80%);
  animation: fuelFill 18s cubic-bezier(.4, 0, .2, 1) infinite;
  opacity: 0.6;
  z-index: 0;
  will-change: transform;
  pointer-events: none;
}

/* Surface du fuel (ondulation) */
.site-footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 90%, rgba(25, 60, 80, 0.6), rgba(5, 15, 25, 0.8) 60%),
    radial-gradient(circle at 55% 92%, rgba(10, 20, 30, 0.9), rgba(30, 65, 85, 0.5) 65%),
    radial-gradient(circle at 80% 88%, rgba(20, 50, 70, 0.6), rgba(0, 0, 0, 0.7) 70%);
  animation: fuelWave 6s ease-in-out infinite alternate;
  opacity: 0.5;
  z-index: 0;
  will-change: transform;
  pointer-events: none;
}

/* ================= FUEL BUBBLES ================= */
.fuel-bubbles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.fuel-bubbles::before {
  content: "";
  position: absolute;
  bottom: -50%;
  width: 100%;
  height: 200%;
  background:
    radial-gradient(circle 6px at 10% 95%, rgba(255, 255, 255, .35), transparent 70%),
    radial-gradient(circle 4px at 25% 92%, rgba(255, 255, 255, .25), transparent 70%),
    radial-gradient(circle 8px at 40% 97%, rgba(255, 255, 255, .3), transparent 70%),
    radial-gradient(circle 5px at 55% 94%, rgba(255, 255, 255, .22), transparent 70%),
    radial-gradient(circle 7px at 70% 96%, rgba(255, 255, 255, .28), transparent 70%),
    radial-gradient(circle 4px at 85% 93%, rgba(255, 255, 255, .2), transparent 70%);
  animation: bubblesRise 10s linear infinite;
  opacity: 0.55;
  will-change: transform;
}

/* ================= ANIMATIONS ================= */

@keyframes fuelFill {
  0% {
    transform: translateY(35%);
  }

  50% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(35%);
  }
}

@keyframes fuelWave {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-14px);
  }
}

@keyframes bubblesRise {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

/* ================= FOOTER CONTENT ================= */

.footer-main {
  padding: 60px 20px;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  color: #F05A22;
  margin-bottom: 15px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 15px;
}

.footer-description {
  line-height: 1.6;
  color: #b5bdc6;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  color: #d0d6dc;
  text-decoration: none;
  display: flex;
  gap: 8px;
  transition: color .3s ease;
}

.footer-list a:hover {
  color: #00a8ff;
}

/* ================= SOCIAL ================= */
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.footer-social .social {
  width: 40px;
  height: 40px;
  background: #16232f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  transition: transform .3s ease, background .3s ease;
}

.footer-social .social:hover {
  transform: translateY(-4px);
}

.social.facebook:hover {
  background: #1877f2;
}

.social.instagram:hover {
  background: #e1306c;
}

.social.linkedin:hover {
  background: #0a66c2;
}

.social.youtube:hover {
  background: #ff0000;
}

.social.whatsapp:hover {
  background: #25D366;
}

/* ================= FOOTER BOTTOM ================= */
.footer-bottom {
  /* Fond Bleu de nuit profond */
  background: #0a192f;
  text-align: center;
  padding: 25px 15px;
  font-size: 14px;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 400;
  opacity: 0.9;
}

.footer-bottom span#year {
  color: #F05A22;
  font-weight: bold;
}

.footer-bottom a {
  color: #F05A22;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 0 5px;
}

.footer-bottom a:hover {
  color: #ffffff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
}

/* ================= ACCESSIBILITY ================= */
@media (prefers-reduced-motion: reduce) {

  .site-footer::before,
  .site-footer::after,
  .fuel-bubbles::before {
    animation: none;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .footer-main {
    padding: 40px 15px;
  }

  .footer-container {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .footer-main {
    padding: 30px 10px;
  }

  .footer-col h4 {
    font-size: 14px;
  }
}