/* ==========================================================
   WIDE VISION — footer.css
   Footer complet · Grille 4 colonnes · Bottom bar · Social
   ========================================================== */

/* ══════════════════════════════════════════
   FOOTER WRAPPER
══════════════════════════════════════════ */
.footer {
  position: relative;
  background: var(--bg-2);
  padding: var(--sp-24) 0 0;
  overflow: hidden;
}

/* Ligne or en haut */
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold-border-hi) 20%,
    var(--gold) 50%,
    var(--gold-border-hi) 80%,
    transparent 100%
  );
}

/* Lueur ambiante dorée en haut */
.footer::after {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 120px;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.08), transparent 70%);
  pointer-events: none;
}

/* ══════════════════════════════════════════
   GRILLE PRINCIPALE
══════════════════════════════════════════ */
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-16);
}

/* ══════════════════════════════════════════
   COLONNE BRAND
══════════════════════════════════════════ */
.footer__brand {}

.footer__logo {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--sp-5);
  text-decoration: none;
  transition: opacity var(--t-base);
}
.footer__logo:hover { opacity: 0.8 }
.footer__logo-wide  { color: var(--white) }
.footer__logo-dot   { color: var(--gold); font-size: 1.7rem; line-height: 0; margin: 0 1px }
.footer__logo-vision{ color: var(--gold) }

.footer__tagline {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
  max-width: 280px;
}

/* Contacts brand */
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--text-mid);
  text-decoration: none;
  transition: color var(--t-base);
}
.footer__contact-item:hover { color: var(--gold) }
.footer__contact-item svg {
  color: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
  transition: opacity var(--t-base);
}
.footer__contact-item:hover svg { opacity: 1 }

/* Localisation */
.footer__location {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--text-lo);
  letter-spacing: 0.06em;
}
.footer__location svg { color: var(--gold); opacity: 0.4 }

/* ══════════════════════════════════════════
   COLONNES LIENS
══════════════════════════════════════════ */
.footer__col {}

.footer__col-title {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-5);
  opacity: 0.8;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__link {
  font-size: 0.84rem;
  color: var(--text-mid);
  text-decoration: none;
  transition: color var(--t-base), padding-left var(--t-base);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.footer__link:hover {
  color: var(--offwhite);
  padding-left: var(--sp-2);
}
.footer__link::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity var(--t-base);
}
.footer__link:hover::before { opacity: 0.8 }

/* ══════════════════════════════════════════
   NEWSLETTER / CTA SECTION
══════════════════════════════════════════ */
.footer__cta-strip {
  padding: var(--sp-10) var(--sp-12);
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  position: relative;
  overflow: hidden;
}

/* Lueur latérale */
.footer__cta-strip::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.footer__cta-strip-text {}

.footer__cta-strip-text h3 {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.footer__cta-strip-text p {
  font-size: 0.84rem;
  color: var(--text-mid);
  max-width: 400px;
}

.footer__cta-strip-actions {
  display: flex;
  gap: var(--sp-3);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   BOTTOM BAR
══════════════════════════════════════════ */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--sp-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.footer__copyright {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--text-lo);
  letter-spacing: 0.04em;
}

.footer__copyright span {
  color: var(--gold);
  opacity: 0.6;
}

/* Legal links */
.footer__legal {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.footer__legal a {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  color: var(--text-lo);
  letter-spacing: 0.04em;
  transition: color var(--t-base);
}
.footer__legal a:hover { color: var(--gold) }

/* Séparateur legal */
.footer__legal-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-lo);
  opacity: 0.4;
}

/* Made with */
.footer__made {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  color: var(--text-lo);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.footer__made-heart {
  color: var(--gold);
  font-size: 0.8rem;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__cta-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-6);
  }
}

@media (max-width: 768px) {
  .footer {
    padding-top: var(--sp-16);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__cta-strip {
    padding: var(--sp-8);
  }

  .footer__cta-strip-actions {
    flex-direction: column;
    width: 100%;
  }

  .footer__cta-strip-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-4);
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-3);
  }

  .footer__legal-sep { display: none }
}
