.site-footer {
  background: #0f5aa6;          
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  display: block;
  height: 2px;
  background: rgba(63,145,226,0.35);
}

.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 10%, rgba(63,145,226,0.07) 0%, transparent 50%),
    radial-gradient(circle at 8%  85%, rgba(107,181,255,0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}


.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 90rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding: 1.25rem 5% 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.footer-logo img {
  height: 2rem;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.footer-logo span {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 22rem;
  margin-bottom: 0.7rem;
}

.footer-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 99px;
  padding: 0.26rem 0.72rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-stat strong {
  color: #6BB5FF;
  font-weight: 700;
}


.footer-col-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6BB5FF;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(107,181,255,0.2);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.17s, padding-left 0.17s;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 0.3rem;
}


.footer-project-badge {
  display: inline-block;
  background: rgba(63,145,226,0.14);
  border: 1px solid rgba(63,145,226,0.28);
  color: #6BB5FF;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.26rem 0.72rem;
  border-radius: 99px;
  margin-bottom: 0.8rem;
}

.footer-project-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.footer-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.footer-tech-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.42);
  font-size: 0.64rem;
  font-weight: 600;
  padding: 0.18rem 0.52rem;
  border-radius: 0.3rem;
  letter-spacing: 0.04em;
}


.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0.7rem 5% 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}

.footer-copy strong {
  color: rgba(255,255,255,0.48);
  font-weight: 600;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.footer-legal a {
  font-size: 0.71rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.17s;
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.65);
}

.footer-legal-dot {
  width: 3px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
}

/* Responsive */

/* Tablette portrait */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.75rem 4% 1.5rem;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding-bottom: 1.5rem;
  }
}