/* ============================================
   FOOTER PREMIUM — PROMO EST IMMOBILIER
   ============================================ */

.site-footer,
#colophon {
  background: #0a1f38 !important;
  color: rgba(255,255,255,0.7) !important;
  padding: 0 !important;
  margin: 0 !important;
}

.pei-footer {
  display: block;
  width: 100%;
  clear: both;
  float: none;
  background: #0a1f38;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.pei-footer__main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.pei-footer__brand {}

.pei-footer__logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  display: block;
}

.pei-footer__tagline {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  max-width: 280px;
}

.pei-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}

.pei-footer__contact-item a {
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none;
  transition: color 0.2s;
}

.pei-footer__contact-item a:hover { color: #e8a020 !important; }

.pei-footer__col-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.pei-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pei-footer__links li { margin-bottom: 10px; }

.pei-footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none !important;
  transition: color 0.2s, padding-left 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pei-footer__links a::before {
  content: '→';
  font-size: 0.75rem;
  color: #e8a020;
  opacity: 0;
  transition: opacity 0.2s;
}

.pei-footer__links a:hover {
  color: #fff !important;
  padding-left: 4px;
}

.pei-footer__links a:hover::before { opacity: 1; }

.pei-footer__cta {
  background: rgba(232,160,32,0.1);
  border: 1px solid rgba(232,160,32,0.25);
  border-radius: 12px;
  padding: 20px;
  margin-top: 4px;
}

.pei-footer__cta p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  line-height: 1.5;
}

.pei-footer__cta a {
  display: inline-block;
  background: #e8a020;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s;
}

.pei-footer__cta a:hover { background: #c4861a; }

.pei-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.pei-footer__copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.pei-footer__legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.pei-footer__legal-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4) !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.pei-footer__legal-links a:hover { color: rgba(255,255,255,0.8) !important; }

/* Hide default Astra footer content */
.site-footer .ast-builder-footer-grid-columns,
.site-footer .ast-footer-copyright,
#colophon .ast-footer-copyright {
  display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .pei-footer__main { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .pei-footer__main { grid-template-columns: 1fr; gap: 28px; }
  .pei-footer__bottom { flex-direction: column; text-align: center; }
  .pei-footer__legal-links { justify-content: center; }
}

/* ── SNPI Banner — 3 premières colonnes du footer ── */
.pei-footer__snpi-banner {
  grid-column: 1 / 4;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 8px;
}
.pei-footer__snpi-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.pei-footer__snpi-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pei-footer__snpi-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.pei-footer__snpi-text span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}
.pei-footer__snpi-sub {
  font-size: 0.75rem !important;
  color: rgba(255,255,255,0.4) !important;
  line-height: 1.5;
  margin-top: 4px;
}
@media (max-width: 1024px) {
  .pei-footer__snpi-banner { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .pei-footer__snpi-banner { flex-direction: column; text-align: center; }
}
