/* ===== POPUP BIO LINEUP ===== */

.bio-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.75rem;
}

.bio-popup.is-open {
  opacity: 1;
  pointer-events: all;
}

.bio-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 0;
  opacity: 0.8;
  transition: opacity 0.2s;
  z-index: 1;
}

.bio-popup__close:hover,
.bio-popup__close:focus {
  opacity: 1;
  outline: none;
}

.bio-popup__body {
  position: relative;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(28px);
  transition: transform 0.35s ease;
}

.bio-popup.is-open .bio-popup__body {
  transform: translateY(0);
}

.bio-popup__bg {
  display: block;
  width: 100%;
  height: auto;
}

.bio-popup__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.45rem;
  padding: 3.5rem 2.3rem 2.9rem;
  text-align: center;
}

.bio-popup__name {
  font-family: 'Oferta-do-Dia', sans-serif;
  font-size: clamp(2.2rem, 12vw, 3.85rem);
  color: #ff9f00;
  text-shadow: -4px 4px 0 #0d154b;
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transform: rotate(-8deg);
  display: inline-block;
}

.bio-popup__bio {
  font-family: 'barlow-condensed', sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 0px 20px 20px 20px;
  font-size: clamp(1rem, 4.5vw, 1.2rem);
  color: #ffffff;
  line-height: 1.35;
  text-align: center;
}

/* Cursor pointer nos slides com bio */
.swiper-slide[data-name] {
  cursor: pointer;
}

@media (min-width: 768px) {
  .bio-popup__name {
    font-size: clamp(4rem, 8vw, 5.5rem);
  }

  .bio-popup__bio {
    font-size: 1.2rem;
  }

  .bio-popup__body {
    max-width: 600px;
  }
}
