/* ======================================================= # FOOTER STYLES ======================================================= */

.site-footer {
  background: var(--gradient-blue);
  border-top: 2px solid var(--text-color);
  padding: 60px 20px;
  position: relative;
  color: var(--white-color);
}

.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;
}

.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;
  color: white;
}

.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;
  fill: currentColor;
}

/* Colonne centre (Services via Menu WP) */
.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;
  font-weight: bold;
}

/* Ciblage précis du menu WordPress injection */
.footer-center ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-center ul li a {
  color: var(--white-color);
  text-decoration: none;
  opacity: 0.9;
  line-height: 1.5;
  transition: opacity 0.3s ease;
}

.footer-center ul li a:hover {
  opacity: 1;
  color: var(--white-color);
}

/* Colonne droite */
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  min-width: 200px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  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: var(--green-color);
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: fit-content;
  text-decoration: none;
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

/* Separator & Bottom */
.footer-separator {
  max-width: 1280px;
  margin: 40px auto;
  border: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    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 a {
  color: var(--white-color);
  text-decoration: none;
  opacity: 0.7;
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1.5em;
}

.footer-links a {
  color: var(--white-color);
  font-size: 0.875rem;
  text-decoration: none;
  opacity: 0.8;
}

.footer-links a:hover,
.footer-credit a:hover {
  opacity: 1;
}

/* =================================================== # MOBILE STYLES (FOOTER) ==================================================== */

@media (max-width: 1023px) {
  .footer-container {
    flex-direction: column;
    gap: 3rem;
  }
  .footer-stats {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 0 20px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .site-footer {
    padding: 40px 10px;
  }
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-cta {
    width: 100%;
  }
}
