/* ============================
   JobSuisse Footer FR (SCOPED)
   ============================ */

.js-footer-scope .main-footer {
  background: var(--color-black);
  color: var(--color-white);
  margin-top: 4rem;
}

/* CTA band */
.js-footer-scope .footer-cta-band {
  background: var(--color-black);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.js-footer-scope .footer-cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.js-footer-scope .footer-cta-content {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.js-footer-scope .footer-cta-text {
  font-size: 32px;
  line-height: 42px;
  font-weight: 500;
  color: var(--color-white);
  margin: 0 !important;
  flex: 1;
  max-width: 600px;
}

.js-footer-scope .footer-cta-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-white);
  color: var(--color-black);
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.js-footer-scope .footer-cta-btn:hover {
  background: var(--color-periwinkle-blue);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(84, 98, 230, 0.4);
}

.js-footer-scope .footer-cta-btn svg {
  transition: transform 0.3s ease;
}

.js-footer-scope .footer-cta-btn:hover svg {
  transform: translateX(4px);
}

/* Main grid */
.js-footer-scope .footer-main {
  padding: 4rem 0;
}

.js-footer-scope .footer-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.js-footer-scope .footer-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.js-footer-scope .footer-column-title {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: var(--color-white);
  margin: 0 !important;
}

.js-footer-scope .footer-description {
  font-size: 14px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 !important;
}

/* Social */
.js-footer-scope .footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.js-footer-scope .footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  border-radius: 8px;
}

.js-footer-scope .footer-social-link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Links */
.js-footer-scope .footer-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.js-footer-scope .footer-links li {
  margin: 0 !important;
}

.js-footer-scope .footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none !important;
  font-size: 14px;
  line-height: 22px;
  transition: all 0.3s ease;
  display: inline-block;
}

.js-footer-scope .footer-links a:hover {
  color: var(--color-white);
  transform: translateX(4px);
}

/* Bottom */
.js-footer-scope .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.3);
}

.js-footer-scope .footer-copyright {
  font-size: 14px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 !important;
  text-align: center;
}

/* Responsive - Footer */
@media (max-width: 968px) {
  .js-footer-scope .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .js-footer-scope .footer-cta-band {
    padding: 3rem 0;
  }

  .js-footer-scope .footer-cta-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .js-footer-scope .footer-cta-text {
    font-size: 28px;
    line-height: 38px;
    max-width: 100%;
  }

  .js-footer-scope .footer-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 1.125rem 2rem;
  }
}

@media (max-width: 640px) {
  .js-footer-scope .footer-cta-text {
    font-size: 24px;
    line-height: 34px;
  }

  .js-footer-scope .footer-cta-btn {
    font-size: 16px;
    padding: 1rem 1.75rem;
  }

  .js-footer-scope .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* FIX: thème WP ajoute des espacements sur les listes */
.js-footer-scope .footer-links{
  gap: 0.45rem !important;      /* réduit l'espace entre liens */
}

.js-footer-scope .footer-links li{
  margin: 0 !important;
  padding: 0 !important;        /* important : certains thèmes ajoutent du padding */
}

.js-footer-scope .footer-links a{
  margin: 0 !important;
  padding: 0 !important;        /* important : certains thèmes ajoutent padding */
  line-height: 20px !important; /* réduit l'écart vertical */
}

/* Optionnel : si tu veux aussi réduire l'espace titre -> liste */
.js-footer-scope .footer-column{
  gap: 1.1rem !important;
}