/* === Base === */
.site-footer {
  position: relative;
  color: var(--color-footer-text);
  background: linear-gradient(to bottom, #121929, #0a0f1a);
  overflow: hidden;
  font-family: var(--font-secondary);
}

/* === Halo décoratif === */
.footer-decor::before,
.footer-decor::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  z-index: 0;
}
.footer-decor::before {
  width: 500px;
  height: 500px;
  top: -100px;
  left: 20%;
  background: radial-gradient(
    circle,
    var(--color-accent-start),
    transparent 70%
  );
}
.footer-decor::after {
  width: 500px;
  height: 500px;
  bottom: -100px;
  right: 20%;
  background: radial-gradient(circle, var(--color-accent-end), transparent 70%);
}

/* === CTA section === */
.footer-top {
  padding: 4rem 0;
  text-align: center;
}
.cta-box {
  background: linear-gradient(
    90deg,
    var(--color-accent-start),
    var(--color-accent-end)
  );
  border-radius: 1.5rem;
  padding: 3rem 5rem;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.cta-box h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--color-accent-start);
  padding: 0.9rem 1.8rem;
  border-radius: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}
.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(1, 112, 168, 0.3);
}

.cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* === Main Footer === */
.footer-main {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  padding: 5rem 2rem;
  z-index: 1;
}
.footer-column h4 {
  font-family: var(--font-primary);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-column h4::before {
  content: '';
  position: absolute;
  left: -10px;
  width: 3px;
  height: 1.5rem;
  background: linear-gradient(
    to bottom,
    var(--color-accent-start),
    var(--color-accent-end)
  );
  border-radius: 2px;
}
.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-column li {
  margin-bottom: 0.6rem;
}

.footer-column a {
  position: relative;
  display: inline-block;
  color: var(--color-footer-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-column a::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(
    to right,
    var(--color-accent-start),
    var(--color-accent-end)
  );
  transform: translateY(-50%) scale(0);
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-column a:hover::before {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

.footer-column a:hover {
  color: var(--color-footer-hover);
  transform: translateX(2px);
}

.social-icons a::before {
  display: none !important;
  content: none !important;
}

/* === Logo & tagline === */
.footer-logo img {
  height: 3rem;
  width: 7rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border: 1px solid var(--color-footer-border);
}
.footer-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-footer-border);
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  margin-top: 1rem;
  font-style: italic;
  font-size: 0.9rem;
}
.footer-tagline .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(
    to right,
    var(--color-accent-start),
    var(--color-accent-end)
  );
}

/* === Social === */
.social-icons {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}
.social-icons a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-footer-border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--color-footer-hover);
  transition: all 0.3s ease;
}
.social-icons a:hover {
  background: linear-gradient(
    to right,
    var(--color-accent-start),
    var(--color-accent-end)
  );
  transform: scale(1.1);
  border-color: transparent;
  color: #fff;
}

/* === Bottom Bar === */
.footer-bottom {
  border-top: 1px solid var(--color-footer-border);
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: #999;
}
.footer-bottom .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.footer-infos {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
.separator {
  opacity: 0.5;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* === Contact icons === */
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-footer-text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #00b8ff;
  transition: all 0.4s ease;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0, 184, 255, 0.05);
}

/* Effet au survol */
.footer-contact a:hover .footer-icon,
.footer-contact li:hover .footer-icon {
  background: linear-gradient(
    135deg,
    var(--color-accent-start),
    var(--color-accent-end)
  );
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 18px rgba(25, 184, 216, 0.35);
  transform: translateY(-2px) scale(1.05);
}

/* Texte et animation de lien */
.footer-contact a:hover {
  color: var(--color-footer-hover);
  transform: translateX(4px);
}

.footer-contact a::before {
  display: none !important;
  content: none !important;
}

/* === Responsive === */
@media (max-width: 800px) {
  .cta-box {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-column p {
    margin-top: 1rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 1rem;
  }
}
