/* ============================================
   Footer — Institut Rousseau
   ============================================ */
.footer {
  background: var(--navy-deep, #0F1D35); color: rgba(255,255,255,.75);
  padding: 3.5rem 0 0;
  position: relative;
  border-top: 1px solid rgba(27,42,74,0.1);
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 800px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 91, 215,.2), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem; padding-bottom: 2rem;
}
.footer-logo {
  display: block;
  margin-bottom: 1rem;
}
.footer-logo img {
  height: 52px;
  width: auto;
}
.footer-brand p {
  font-size: .85rem; line-height: 1.65; margin-top: .5rem;
  max-width: 300px; font-weight: 400;
}
.footer-col h3,
.footer-col h4 {
  font-size: .82rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--color-accent);
  margin-bottom: .75rem;
}
.footer-col a {
  display: block; padding: .25rem 0; font-size: .85rem;
  color: rgba(255,255,255,.78);
  font-weight: 400;
  position: relative;
  transition: color var(--transition);
}
.footer-col a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0;
  width: 0; height: 1px;
  background: rgba(255,255,255,0.5);
  transition: width 0.3s ease;
}
.footer-col a:hover { color: var(--text-light-on-dark); }
.footer-col a:hover::after { width: 100%; }
.footer-social { display: flex; gap: .5rem; margin-top: .75rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.5);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  padding: 0;
}
.footer-social a:hover { background: var(--color-accent); color: #ffffff; transform: translateY(-2px); }
.footer-social a svg { width: 14px; height: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
  font-size: .75rem; color: rgba(255,255,255,.5);
}
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { color: rgba(255,255,255,.5); font-size: .75rem; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
