/* ═══════════════════════════════════════
   FOOTER MÉTA-UVCI — Premium & Compact
   ═══════════════════════════════════════ */

.meta-footer {
  --fp:   #7c12b0;
  --fp2:  #a855f7;
  --fg:   #12a04a;
  --fg2:  #22c55e;
  --fpk:  #d946ef;
  --fink: #0f0720;
  --fbd:  rgba(255,255,255,.08);
  background: #0a0416;
  position: relative;
  overflow: hidden;
  font-family: 'Figtree', 'DM Sans', sans-serif;
  margin-top: auto;
}

.meta-footer::before {
  content: '';
  position: absolute;
  bottom: -120px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 280px;
  background: radial-gradient(ellipse, rgba(124,18,176,.14) 0%, transparent 68%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════
   BLOC NEWSLETTER (PREMIUM CARD)
══════════════════════════ */
.footer-newsletter-wrapper {
  padding: 0 0 40px;
  border-bottom: 1px solid var(--fbd);
  margin-top: 50px;
  margin-bottom: 40px;
}

.fn-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Éclats lumineux arrière-plan */
.fn-card::before {
  content: ''; position: absolute; top: -50px; left: -50px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(124, 18, 176, 0.3) 0%, transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.fn-card::after {
  content: ''; position: absolute; bottom: -60px; right: 20px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
  filter: blur(30px); pointer-events: none;
}

.fn-left { 
  flex: 1; 
  min-width: 300px; 
  position: relative;
  z-index: 1;
}
.fn-right {
  flex: 1;
  min-width: 320px;
  max-width: 450px;
  position: relative;
  z-index: 1;
}

.fn-tag {
  display: inline-flex; align-items: center; gap: 8px; 
  font-size: .65rem; font-weight: 700; letter-spacing: 2.5px; 
  text-transform: uppercase; color: var(--fg2); margin-bottom: 16px;
  background: rgba(34, 197, 94, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.fn-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fg2); box-shadow: 0 0 8px var(--fg2); animation: ftPulse 2s ease-in-out infinite; }

.fn-title { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1.25; letter-spacing: -.5px; margin: 0 0 12px; }
.fn-title span { background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.6)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.fn-desc { font-size: .9rem; color: rgba(255,255,255,.5); line-height: 1.6; margin: 0; max-width: 380px; }

/* Nouveau Formulaire */
.fn-form { 
  display: flex; 
  flex-direction: column;
  gap: 12px; 
}

.fn-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.fn-input-wrapper:focus-within {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.fn-input-icon {
  position: absolute;
  left: 18px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.fn-input-wrapper:focus-within .fn-input-icon { color: var(--fg2); }

.fn-input { 
  flex: 1; 
  background: transparent; 
  border: none; 
  outline: none; 
  padding: 16px 18px 16px 45px; 
  font-size: .95rem; 
  color: #fff; 
  font-family: 'Figtree', sans-serif; 
  width: 100%;
}
.fn-input::placeholder { color: rgba(255,255,255,.3); }

.fn-btn { 
  display: flex; 
  align-items: center; 
  justify-content: center;
  gap: 8px; 
  background: var(--fg2); 
  color: #080413; 
  font-family: 'Syne', sans-serif; 
  font-weight: 700; 
  font-size: .95rem; 
  padding: 16px 24px; 
  border: none; 
  cursor: pointer; 
  border-radius: 12px;
  transition: all .3s ease; 
  letter-spacing: .3px; 
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}
.fn-btn:hover { 
  background: #1eb355; 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}
.fn-btn i { font-size: .85rem; transition: transform 0.3s; }
.fn-btn:hover i { transform: translateX(3px); }

.fn-privacy { font-size: .75rem; color: rgba(255,255,255,.3); margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.fn-privacy i { color: rgba(255, 255, 255, 0.2); }

/* ══════════════════════════
   CORPS FOOTER
══════════════════════════ */
.footer-body {
  padding: 44px 0 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr 1.2fr;
  gap: 30px;
  justify-content: center;
  align-items: start;
}

.footer-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 14px; }
.footer-logo img { height: 34px; }
.footer-logo-name { font-family: 'Syne', sans-serif; font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -.3px; line-height: 1; }
.footer-logo-name span { background: linear-gradient(90deg, var(--fpk), var(--fp2), var(--fg2)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.fb-brand-desc { font-size: .83rem; color: rgba(255,255,255,.4); line-height: 1.7; margin: 0 0 20px; max-width: 300px; }

.footer-socials { display: flex; gap: 9px; }
.social-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); font-size: 1rem; text-decoration: none; transition: all .24s; }
.social-icon:hover { background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.35); color: var(--fg2); transform: translateY(-3px); box-shadow: 0 6px 16px rgba(34,197,94,.18); }

.fb-col h5 { font-family: 'Syne', sans-serif; font-size: .78rem; font-weight: 800; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: 2px; margin: 0 0 18px; }
.fb-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.fb-links a { font-size: .85rem; color: rgba(255,255,255,.42); text-decoration: none; display: flex; align-items: center; gap: 7px; transition: color .2s, gap .2s; }
.fb-links a i { font-size: .58rem; color: rgba(255,255,255,.2); transition: color .2s; }
.fb-links a:hover { color: rgba(255,255,255,.85); gap: 10px; }
.fb-links a:hover i { color: var(--fg2); }

/* ── Colonne Contact ── */
.fb-contact-list li {
  padding: 4px 0;
}
.fb-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255,255,255,.45);
  font-size: .8rem;
  line-height: 1.55;
}
.fb-contact-item i {
  color: var(--fg2);
  font-size: .78rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.fb-contact-divider {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: 10px 0 !important;
  padding: 0 !important;
}
.fb-contact-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.45);
  font-size: .8rem;
  text-decoration: none;
  transition: color .2s;
  line-height: 1.5;
}
.fb-contact-list a:hover { color: var(--fg2); }
.fb-contact-list a i:first-child {
  color: var(--fg2);
  font-size: .78rem;
  flex-shrink: 0;
}

/* Liens plateformes */
.fb-platform-link {
  display: flex !important;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 9px;
  padding: 7px 10px !important;
  transition: all .25s !important;
  margin-bottom: 2px;
}
.fb-platform-link:hover {
  background: rgba(34,197,94,.07) !important;
  border-color: rgba(34,197,94,.2) !important;
  color: var(--fg2) !important;
}
.fb-ext { margin-left: auto; font-size: .6rem !important; opacity: .45; }

/* ══════════════════════════
   BAS DU FOOTER
══════════════════════════ */
.footer-bottom { 
  padding: 22px 0; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  flex-wrap: wrap; 
  gap: 14px; 
}
.fb-brand-signature { 
  font-size: .8rem; 
  color: rgba(255,255,255,.35); 
  font-style: italic; 
  line-height: 1.5; 
  margin: 0; 
  display: flex; 
  align-items: center; 
  gap: 6px; 
}
.fb-brand-signature i { font-size: .6rem; color: var(--fg2); opacity: .7; }

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 1500px) {
  .footer-body { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 24px; }
}

@media (max-width: 1100px) {
  .footer-body { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .fb-brand { grid-column: 1 / -1; margin-bottom: 10px; }
}

@media (max-width: 800px) {
  .fn-card { flex-direction: column; align-items: stretch; padding: 32px 24px; }
  .fn-left, .fn-right { min-width: 0; max-width: 100%; }
}

@media (max-width: 600px) {
  .footer-body { grid-template-columns: 1fr; }
  .footer-body .fb-col:last-child .fb-contact-list { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .fn-title { font-size: 1.4rem; }
}
