/* Footer band (Valérianne, 13/10/2026): Facebook, Instagram and the Google review request, on every page.
   It sits in the boxed .container of hook displayFooterBefore: the band itself is stretched to the viewport width. */
.bb-bandeau {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 2rem;
  background: #3e5063;
  color: #fff;
}

.bb-bandeau__contenu {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 15px;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.bb-bandeau__reseaux {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
}

.bb-bandeau__reseau a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.2s, color 0.2s;
}

.bb-bandeau__reseau a:hover,
.bb-bandeau__reseau a:focus-visible {
  background: #fff;
  color: #3e5063;
}

.bb-bandeau__reseau svg {
  width: 32px;
  height: 32px;
}

.bb-bandeau__avis {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-left: 2.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.bb-bandeau__qr {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  padding: 8px;
  background: #fff;
  border-radius: 6px;
}

.bb-bandeau__texte p {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.45;
}

.bb-bandeau__texte .bb-bandeau__titre {
  font-size: 1.15rem;
  font-weight: 700;
}

.bb-bandeau__bouton {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: #fff;
  color: #3e5063;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
}

.bb-bandeau__bouton:hover,
.bb-bandeau__bouton:focus-visible {
  background: #01baf2;
  color: #0d2233;
  text-decoration: none;
}

@media (max-width: 767px) {
  .bb-bandeau__contenu {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem 16px;
  }

  .bb-bandeau__reseaux {
    justify-content: center;
  }

  .bb-bandeau__avis {
    padding-left: 0;
    padding-top: 1.5rem;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    text-align: center;
  }

  /* A QR code on the phone's own screen cannot be scanned by it: the button does the job. */
  .bb-bandeau__qr {
    display: none;
  }

  .bb-bandeau__bouton {
    display: block;
  }
}
