/* BISIMMO - Pied de page « pro », 04/11/2026. Couche au-dessus de footer-fond-architecture. */
html body footer.wp-block-template-part .wp-block-group.pied{
  padding:0!important;
  background:#021434 url('/wp-content/uploads/bisimmo/footer-villa-crepuscule-2026.webp') right center/cover no-repeat!important;
}
html body footer.wp-block-template-part .wp-block-group.pied::before{
  background:
    linear-gradient(90deg,rgba(2,20,52,.97) 0%,rgba(2,20,52,.93) 45%,rgba(2,20,52,.80) 75%,rgba(2,20,52,.70) 100%),
    linear-gradient(180deg,rgba(2,20,52,0) 60%,rgba(2,20,52,.6) 100%)!important;
}
html body footer.wp-block-template-part .pied > .enveloppe{
  width:calc(100% - 64px)!important;
  max-width:1312px!important;
}

/* ---------- Bandeau professionnels ---------- */
html body footer.wp-block-template-part .pied .bi-fp-cta{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:32px!important;
  margin:0 auto!important;
  padding:44px 0!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
}
.bi-fp-cta-texte{max-width:680px}
.bi-fp-cta .bi-fp-cta-sur{
  margin:0 0 8px!important;color:#D4B26F!important;
  font:700 12px/1.3 Roboto,sans-serif!important;letter-spacing:.16em!important;text-transform:uppercase!important;
}
.bi-fp-cta .bi-fp-cta-titre{
  margin:0 0 8px!important;color:#FFFFFF!important;
  font:600 28px/1.25 Roboto,sans-serif!important;letter-spacing:-.01em!important;
}
.bi-fp-cta .bi-fp-cta-desc{
  margin:0!important;color:rgba(255,255,255,.78)!important;
  font:400 15px/1.6 Roboto,sans-serif!important;
}
.bi-fp-cta-actions{display:flex;flex-wrap:wrap;gap:12px;flex:0 0 auto}
html body footer.wp-block-template-part .pied a.bi-fp-btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:50px!important;padding:0 26px!important;border-radius:6px!important;
  font:600 15px/1 Roboto,sans-serif!important;text-decoration:none!important;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease!important;
}
html body footer.wp-block-template-part .pied a.bi-fp-btn-or{
  background:#B88F42!important;color:#021434!important;border:1px solid #B88F42!important;
}
html body footer.wp-block-template-part .pied a.bi-fp-btn-or:hover,
html body footer.wp-block-template-part .pied a.bi-fp-btn-or:focus-visible{
  background:#CDA557!important;border-color:#CDA557!important;color:#021434!important;transform:translateY(-1px)!important;
}
html body footer.wp-block-template-part .pied a.bi-fp-btn-ligne{
  background:transparent!important;color:#FFFFFF!important;border:1px solid rgba(255,255,255,.45)!important;
}
html body footer.wp-block-template-part .pied a.bi-fp-btn-ligne:hover,
html body footer.wp-block-template-part .pied a.bi-fp-btn-ligne:focus-visible{
  border-color:#FFFFFF!important;background:rgba(255,255,255,.08)!important;color:#FFFFFF!important;
}

/* ---------- Grille ---------- */
html body footer.wp-block-template-part .pied .pied-grille{
  grid-template-columns:minmax(240px,1.35fr) repeat(3,minmax(140px,.8fr)) minmax(300px,1.45fr)!important;
  gap:48px!important;
  min-height:0!important;
  padding:56px 0!important;
}
html body footer.wp-block-template-part .pied .pied-grille > div:first-child{
  min-height:0!important;padding:0!important;border-right:0!important;
}
html body footer.wp-block-template-part .pied .pied-grille > div:first-child .wp-block-site-logo{margin:0 0 20px!important}
html body footer.wp-block-template-part .pied .pied-grille > div:first-child .wp-block-site-logo img{width:210px!important;max-width:210px!important}
html body footer.wp-block-template-part .pied .pied-accroche{
  max-width:280px!important;color:rgba(255,255,255,.82)!important;font:400 15px/1.6 Roboto,sans-serif!important;
}
html body footer.wp-block-template-part .pied .pied-grille > div:first-child .pied-accroche::after{
  width:40px!important;margin-top:22px!important;
}

/* Titres : petites capitales + filet or, plus de pictos carrés */
html body footer.wp-block-template-part .pied .pied-grille h4,
html body footer.wp-block-template-part .pied .pied-grille .bi-nl-titre{
  display:block!important;min-height:0!important;
  margin:4px 0 22px!important;padding:0 0 12px!important;
  position:relative!important;
  color:#FFFFFF!important;
  font:700 13px/1.3 Roboto,sans-serif!important;letter-spacing:.14em!important;text-transform:uppercase!important;
}
html body footer.wp-block-template-part .pied .pied-grille h4::before,
html body footer.wp-block-template-part .pied .pied-grille .bi-nl-titre::before,
html body footer.wp-block-template-part:not(#bi-fp-x) .pied .pied-grille > div > h4::before,
html body footer.wp-block-template-part:not(#bi-fp-x) .pied .pied-grille .bi-nl-titre::before{
  content:none!important;display:none!important;
}
html body footer.wp-block-template-part .pied .pied-grille h4::after,
html body footer.wp-block-template-part .pied .pied-grille .bi-nl-titre::after{
  content:''!important;position:absolute!important;left:0!important;bottom:0!important;
  width:24px!important;height:2px!important;background:#B88F42!important;
}
html body footer.wp-block-template-part .pied .pied-grille li{
  margin:0 0 13px!important;font:400 14.5px/1.5 Roboto,sans-serif!important;
}
html body footer.wp-block-template-part .pied .pied-grille li a{
  color:rgba(255,255,255,.78)!important;text-decoration:none!important;
  transition:color .2s ease!important;
}
html body footer.wp-block-template-part .pied .pied-grille li a:hover,
html body footer.wp-block-template-part .pied .pied-grille li a:focus-visible{
  color:#FFFFFF!important;text-decoration:underline!important;text-decoration-color:#B88F42!important;
}

/* Newsletter en carte */
html body footer.wp-block-template-part .pied .pied-grille > .bi-nl-col{
  padding:28px!important;
  border:1px solid rgba(255,255,255,.14)!important;border-left:1px solid rgba(255,255,255,.14)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.05)!important;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
}
html body footer.wp-block-template-part .pied .bi-nl-intro{
  color:rgba(255,255,255,.80)!important;font:400 14px/1.6 Roboto,sans-serif!important;margin:0 0 18px!important;
}
html body footer.wp-block-template-part .pied .bi-nl-line{
  height:52px!important;border:0!important;border-radius:6px!important;box-shadow:none!important;
}
html body footer.wp-block-template-part .pied .bi-nl-line button{border-radius:5px!important}
html body footer.wp-block-template-part .pied .bi-nl-consent{color:rgba(255,255,255,.70)!important;margin-top:14px!important}

/* ---------- Barre basse ---------- */
html body footer.wp-block-template-part .pied .pied-bas{
  grid-template-columns:auto 1fr auto!important;
  gap:28px!important;
  min-height:0!important;
  padding:22px 0 26px!important;
  border-top:1px solid rgba(255,255,255,.12)!important;
}
html body footer.wp-block-template-part .pied .pied-bas > p,
html body footer.wp-block-template-part .pied .pied-bas > p.wp-block-paragraph{
  color:rgba(255,255,255,.62)!important;font:400 13px/1.55 Roboto,sans-serif!important;
}
html body footer.wp-block-template-part .pied .pied-bas > p:not(.bi-pied-reseau){text-align:center!important}
html body footer.wp-block-template-part .pied .pied-bas .bi-pied-reseau img{
  width:112px!important;max-width:112px!important;padding:4px 8px!important;
}
html body footer.wp-block-template-part .pied .pied-bas .bi-pied-reseau span{
  color:rgba(255,255,255,.70)!important;font:400 13px/1.5 Roboto,sans-serif!important;
}
html body footer.wp-block-template-part .pied .pied-bas .bi-footer-legal{align-items:center!important;gap:10px 24px!important}
html body footer.wp-block-template-part .pied .pied-bas .bi-footer-legal a{
  color:rgba(255,255,255,.70)!important;font:400 13px/1.45 Roboto,sans-serif!important;
}
html body footer.wp-block-template-part .pied .pied-bas a.bi-fp-haut{
  display:inline-flex!important;align-items:center!important;gap:8px!important;
  padding:8px 14px!important;border:1px solid rgba(184,143,66,.6)!important;border-radius:999px!important;
  color:#D4B26F!important;
}
html body footer.wp-block-template-part .pied .pied-bas a.bi-fp-haut:hover,
html body footer.wp-block-template-part .pied .pied-bas a.bi-fp-haut:focus-visible{
  background:#B88F42!important;color:#021434!important;text-decoration:none!important;
}

/* ---------- Responsive ---------- */
@media (max-width:1200px){
  html body footer.wp-block-template-part .pied .pied-grille{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:40px 32px!important;
  }
  html body footer.wp-block-template-part .pied .pied-grille > div:first-child{grid-column:1/-1!important}
  html body footer.wp-block-template-part .pied .pied-grille > .bi-nl-col{grid-column:1/-1!important;max-width:640px!important}
  html body footer.wp-block-template-part .pied .pied-bas{grid-template-columns:1fr!important;justify-items:start!important;gap:14px!important}
  html body footer.wp-block-template-part .pied .pied-bas > p:not(.bi-pied-reseau){text-align:left!important}
  html body footer.wp-block-template-part .pied .pied-bas .bi-footer-legal{justify-content:flex-start!important}
}
@media (max-width:900px){
  html body footer.wp-block-template-part .pied .bi-fp-cta{flex-direction:column!important;align-items:flex-start!important;gap:22px!important;padding:36px 0!important}
  .bi-fp-cta .bi-fp-cta-titre{font-size:24px!important}
}
@media (max-width:680px){
  html body footer.wp-block-template-part:not(#bi-fp-x) .wp-block-group.pied{padding:0 18px!important}
  html body footer.wp-block-template-part .wp-block-group.pied::before{background:rgba(2,20,52,.93)!important}
  html body footer.wp-block-template-part:not(#bi-fp-x) .pied > .enveloppe{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}
  .bi-fp-cta .bi-fp-cta-titre{font-size:22px!important}
  .bi-fp-cta-actions{width:100%}
  html body footer.wp-block-template-part .pied a.bi-fp-btn{flex:1 1 100%!important}
  html body footer.wp-block-template-part .pied .pied-grille{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:32px 20px!important;padding:40px 0!important;
  }
  html body footer.wp-block-template-part .pied .pied-grille > div:first-child .wp-block-site-logo img{width:190px!important;max-width:190px!important}
  html body footer.wp-block-template-part .pied .pied-grille > div:nth-child(4){grid-column:1/-1!important}
  html body footer.wp-block-template-part .pied .pied-grille > .bi-nl-col{padding:22px 18px!important;border-top:1px solid rgba(255,255,255,.14)!important}
}
@media (prefers-reduced-motion:reduce){
  html body footer.wp-block-template-part .pied a.bi-fp-btn{transition:none!important;transform:none!important}
}
