/* ===== Belle et Belle · Popup de promoção =====
   Estilos isolados sob .bb-promo — não colidem com o resto do site. */

.bb-promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(26, 21, 24, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  /* visibility não é animada (custaria composição fora da GPU) — só troca
     de valor no fim da transição de opacidade, via transition-delay */
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.bb-promo-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease;
}

.bb-promo-card {
  --rose:      #d81e78;
  --rose-deep: #b01561;
  --rose-soft: #f7dce8;
  --cream:     #faf6f3;
  --ink:       #1a1518;
  --ink-soft:  #4a4147;

  position: relative;
  width: min(880px, 100%);
  max-height: 92vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  border-radius: 20px;
  box-shadow: 0 30px 70px -20px rgba(26, 21, 24, .5);
  transform: translateY(16px) scale(.98);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
}
.bb-promo-overlay.is-open .bb-promo-card { transform: none; }

.bb-promo-media {
  background: var(--rose-soft);
  overflow: hidden;
}
.bb-promo-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-promo-body {
  padding: 34px 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.bb-promo-eyebrow {
  align-self: flex-start;
  font-size: .68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose-deep);
  background: var(--rose-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.bb-promo-card h2 {
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 12px;
}
.bb-promo-card h2 em { color: var(--rose-deep); font-style: italic; }

.bb-promo-card p {
  font-size: .98rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 24px;
}

.bb-promo-actions { display: flex; flex-direction: column; gap: 10px; }

.bb-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.bb-promo-btn--primary { background: var(--ink); color: var(--cream); }
.bb-promo-btn--primary:hover { transform: translateY(-2px); }
.bb-promo-btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  border: none;
  font-weight: 500;
  font-size: .9rem;
  padding: 6px;
}
.bb-promo-btn--ghost:hover { color: var(--ink); }

.bb-promo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(250, 246, 243, .85);
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.bb-promo-close:hover { background: #fff; transform: rotate(90deg); }

@media (prefers-reduced-motion: reduce) {
  .bb-promo-overlay,
  .bb-promo-overlay.is-open,
  .bb-promo-card,
  .bb-promo-close { transition: none; }
  .bb-promo-overlay.is-open .bb-promo-card { transform: none; }
}

@media (max-width: 640px) {
  .bb-promo-card { grid-template-columns: 1fr; max-height: 88vh; }
  .bb-promo-media { max-height: 34vh; }
  .bb-promo-body { padding: 26px 24px 26px; }
  .bb-promo-card h2 { font-size: 1.55rem; }
}
