/* ==========================================================
   BLOOPIN FOOTER + TOPBAR
   ========================================================== */

/* =========================
   TOPBAR — APPLE-LIKE CLEAN
========================= */

.bp-topbar{
  width: 100%;
  padding: 8px 0;

  background: rgba(74, 63, 52, .82);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255,255,255,.08);

  position: relative;
  z-index: 20;
  overflow: hidden;
}

.bp-topbar::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(34,161,238,0.05), transparent 30%, transparent 70%, rgba(34,211,238,0.04));
}

.bp-topbar__inner{
  width: calc(100% - 60px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bp-topbar__left,
.bp-topbar__right{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.bp-topbar__left{
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  min-width: 0;
}

.bp-topbar__right{
  flex: 0 0 auto;
}

.bp-topbar__phone{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform .22s ease,
    opacity .22s ease,
    color .22s ease;
}

.bp-topbar__phone:hover{
  transform: translateY(-1px);
  opacity: .9;
  color: var(--primary);
}

.bp-topbar__phone-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform .22s ease, filter .22s ease;
}

.bp-topbar__phone:hover .bp-topbar__phone-icon{
  transform: scale(1.08);
  filter: drop-shadow(0 2px 6px rgba(34,161,238,0.18));
}

.bp-topbar__phone-icon svg{
  display: block;
  width: 100%;
  height: 100%;
}

.bp-topbar__phone-text{
  white-space: nowrap;
}

.bp-topbar__phone,
.bp-topbar__phone-text{
  color: #fff !important;
}

.bp-topbar__phone-icon svg{
  fill: #fff !important;
}

/* Tablet */
@media (max-width: 768px){
  .bp-topbar{
    padding: 7px 0;
  }

  .bp-topbar__inner{
    width: calc(100% - 30px);
    gap: 10px;
  }

  .bp-topbar__left{
    font-size: 13px;
  }

  .bp-topbar__phone{
    font-size: 13px;
    gap: 6px;
  }

  .bp-topbar__phone-icon{
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
}

/* Mobile */
@media (max-width: 560px){
    .bp-topbar__inner{
    width: calc(100% - 25px);
  }


  .bp-topbar__left{
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bp-topbar__phone{
    font-size: 13px;
  }
}

/* =========================
   FOOTER
========================= */

.bp-footer{
  position: relative;
  padding: 72px 0 22px;
  overflow: visible;
}

.bp-footer__inner{
  width: 100%;
  margin: 0;
}

.bp-footer__main{
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: clamp(38px, 6vw, 90px);
  align-items: center;

  width: 100%;
  padding: clamp(42px, 5vw, 58px) clamp(28px, 6vw, 88px);
  border-radius: 0;

  background: rgba(255,255,255,.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 -12px 42px rgba(15,23,42,.045);
}

/* LOGO QUI SORT DU CADRE */

.bp-footer__logo{
  position: absolute;
  top: -44px;
  left: clamp(28px, 6vw, 88px);
  width: 108px;
  height: auto;
  display: block;
  margin: 0;
  z-index: 3;
  filter: drop-shadow(0 14px 24px rgba(15,23,42,.08));
}

.bp-footer__brand{
  max-width: 420px;
  padding-top: 34px;
}

.bp-footer__headline{
  margin: 0;
  max-width: 380px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: .92;
  letter-spacing: -.06em;
  font-weight: 900;
  color: var(--text, #111827);
}

.bp-footer__text{
  margin: 16px 0 0;
  max-width: 370px;
  font-size: .96rem;
  line-height: 1.52;
  color: rgba(15,23,42,.58);
}

.bp-footer__links{
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: clamp(18px, 3vw, 44px);
  width: 100%;
}

.bp-footer__col{
  display: grid;
  align-content: start;
  gap: 10px;
}

.bp-footer__title{
  margin-bottom: 4px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(15,23,42,.42);
}

.bp-footer__col a{
  width: fit-content;
  font-size: .94rem;
  line-height: 1.3;
  font-weight: 650;
  text-decoration: none;
  color: rgba(15,23,42,.66);
  transition: color .2s ease, transform .2s ease;
}

.bp-footer__col a:hover{
  color: var(--text, #111827);
  transform: translateX(2px);
}

.bp-footer__bottom{
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(28px, 6vw, 88px) 0;
  font-size: .82rem;
  line-height: 1.4;
  color: rgba(15,23,42,.44);
}

/* TABLET */

@media (max-width: 900px){
  .bp-footer{
    padding-top: 64px;
  }

  .bp-footer__main{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bp-footer__brand{
    max-width: 100%;
  }

  .bp-footer__headline,
  .bp-footer__text{
    max-width: 620px;
  }

  .bp-footer__links{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

/* MOBILE */

@media (max-width: 520px){
  .bp-footer{
    padding-top: 58px;
  }

  .bp-footer__main{
    padding: 54px 20px 30px;
  }

  .bp-footer__logo{
    top: -38px;
    left: 20px;
    width: 86px;
  }

  .bp-footer__brand{
    padding-top: 0;
  }

  .bp-footer__headline{
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .bp-footer__links{
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
  }

  .bp-footer__bottom{
    flex-direction: column;
    text-align: center;
    padding: 14px 20px 0;
  }
}