/* Portal Vivo — carrusel coverflow */

.portal-vivo-section {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.portal-vivo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(237, 183, 129, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.pv-head { margin-bottom: 2rem; position: relative; z-index: 1; }

.pv-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #edb781;
  margin-bottom: 0.6rem;
}

.pv-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.5rem;
}

.pv-sub {
  color: rgba(255, 255, 255, 0.45);
  max-width: 520px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.pv-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.pv-filter {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}

.pv-filter:hover,
.pv-filter.active {
  background: linear-gradient(135deg, rgba(205, 115, 79, 0.35), rgba(237, 183, 129, 0.2));
  border-color: rgba(237, 183, 129, 0.45);
  color: #fff;
  box-shadow: 0 0 24px rgba(205, 115, 79, 0.25);
}

.pv-stage {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.pv-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(237, 183, 129, 0.1) 0%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.portal-vivo-swiper {
  width: 100%;
  padding: 2rem 0 3rem;
  position: relative;
  z-index: 1;
}

.portal-vivo-swiper .swiper-slide {
  width: 280px;
  height: auto;
  transition: opacity 0.35s;
}

.portal-vivo-swiper .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.55;
}

.pv-card {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: transparent;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: box-shadow 0.35s;
}

.pv-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.swiper-slide-active .pv-card {
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(205, 115, 79, 0.35),
    0 0 80px rgba(251, 191, 36, 0.12);
}

.swiper-slide-active .pv-card img {
  border-color: rgba(251, 191, 36, 0.45);
}

.pv-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 40%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  border-radius: 20px;
}

.swiper-slide-active .pv-card-shine {
  opacity: 1;
  animation: pvShine 3s ease-in-out infinite;
}

@keyframes pvShine {
  0%, 100% { transform: translateX(-30%); opacity: 0; }
  50% { transform: translateX(30%); opacity: 0.6; }
}

.pv-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(28, 27, 25, 0.92);
  color: #edb781;
  cursor: pointer;
  transition: all 0.2s;
}

.pv-nav:hover {
  background: rgba(205, 115, 79, 0.4);
  border-color: rgba(205, 115, 79, 0.6);
}

.pv-prev { left: 0; }
.pv-next { right: 0; }

.pv-foot { margin-top: 0.5rem; }

.pv-more {
  color: #edb781;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.pv-more:hover { color: #edb781; }

/* Lightbox */
.pv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 4, 15, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.pv-lightbox[hidden] { display: none !important; }

.pv-lightbox img {
  max-width: min(92vw, 520px);
  max-height: 75vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.pv-lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.pv-lightbox-caption {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 640px) {
  .pv-stage { padding: 0 0.5rem; }
  .portal-vivo-swiper .swiper-slide { width: 220px; }
  .pv-nav { width: 36px; height: 36px; font-size: 0.75rem; }
}
