/* Styles du footer */

.site-footer {
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.95) 0%,
    rgba(64, 7, 87, 0.95) 100%
  );
  border-top: 2px solid var(--second-bg-color);
  padding: 60px 20px;
  position: relative;
}

.footer-container {
  max-width: 1280px;
  padding: 0 40px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}

/* Colonne gauche */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1.2;
  min-width: 280px;
}

.footer-logo {
  font-size: 1.25rem;
  color: var(--white-color);
  font-weight: bold;
}

.footer-description {
  color: var(--white-color);
  line-height: 1.6;
  opacity: 0.9;
}

.footer-stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white-color);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--white-color);
  opacity: 0.8;
}

.footer-social-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-title {
  color: var(--white-color);
  font-weight: bold;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer-socials a:nth-child(1) {
  background: #0077b5;
}

.footer-socials a:nth-child(2) {
  background: #1877f2;
}

.footer-socials a:nth-child(3) {
  background: #C13584;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.icon-svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

/* Colonne centre */
.footer-center {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  min-width: 200px;
}

.footer-section-title {
  color: var(--white-color);
  font-size: 1.125rem;
}

.footer-services {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-services li {
  color: var(--white-color);
  opacity: 0.9;
  line-height: 1.5;
}

/* Colonne droite */
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  min-width: 200px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  color: var(--white-color);
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--white-color);
  flex-shrink: 0;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: fit-content;
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.cta-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-separator {
  max-width: 1280px;
  margin: 40px auto;
  border: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.footer-bottom {
  max-width: 1280px;
  padding: 0 40px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2em;
}

.footer-credit {
  color: var(--white-color);
  font-size: 0.875rem;
}

.footer-credit a {
  color: var(--white-color);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-credit a:hover {
  opacity: 1;
}

.footer-links {
  display: flex;
  gap: 1.5em;
  font-size: 0.875rem;
}

.footer-links a {
  color: var(--white-color);
  text-transform: none;
  font-weight: normal;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.footer-links a:hover {
  opacity: 1;
}

/* Styles pour les écrans plus petits */
@media (max-width: 1023px) {
  .footer-container {
    flex-direction: column;
    gap: 3rem;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .footer-stats {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .footer-container {
    gap: 2.5rem;
    padding: 0 20px;
  }

  .footer-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .stat-item {
    flex: 1 1 auto;
    min-width: 100px;
  }

  .footer-socials {
    justify-content: flex-start;
  }

  .footer-cta {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 0 20px;
  }

  .footer-links {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  .footer-separator {
    margin: 40px 0;
  }
}
