/* ============================================================
   NUTS PREMIUM - 03-hero.css
   Hero Swiper e Botões
   ============================================================ */

/* ============================================================
   HERO - SWIPER
   ============================================================ */
.np-hero { position: relative; overflow: hidden; height: calc(95dvh - 175px); }

.np-hero-swiper { width: 100%; height: calc(95dvh - 175px); }

@media (max-width: 768px) {
  .np-hero,
  .np-hero-swiper { height: 56vw; }

  /* fundo desfocado preenche as bordas sem distorcer a imagem principal */
  .np-hero-slide__bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
    filter: blur(14px) brightness(0.65);
    transform: scale(1.12);
  }

  .np-hero-swiper .swiper-slide picture { position: relative; z-index: 1; height: 100%; }
  .np-hero-swiper .swiper-slide img    { height: 56vw; object-fit: contain; }
}
.np-hero-swiper .swiper-slide { position: relative; overflow: hidden; }

.np-hero-swiper .swiper-slide picture {
  display: block; width: 100%; height: 100%;
}
.np-hero-swiper .swiper-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 6s ease;
}

.np-hero-swiper__caption {
  position: absolute;
  top: 50%; left: 8%;
  transform: translateY(-50%) translateX(-30px);
  width: 44%; padding: 36px 40px;
  background: rgba(0,0,0,0.52);
  border-radius: var(--np-radius-xl);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(212,162,76,0.25);
  opacity: 0;
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}
.np-hero-swiper .swiper-slide-active .np-hero-swiper__caption {
  opacity: 1; transform: translateY(-50%) translateX(0);
}

.np-hero-swiper__title {
  font-size: var(--np-fs-xxl); font-weight: var(--np-fw-black);
  color: var(--np-white); margin-bottom: var(--np-spacing-sm);
  line-height: 1.15; text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.np-hero-swiper__subtitle {
  font-family: var(--np-font-body); font-size: var(--np-fs-base);
  color: rgba(255,255,255,0.88); margin-bottom: var(--np-spacing-lg);
  font-weight: var(--np-fw-medium); line-height: 1.5;
}

.np-hero-swiper__pagination { bottom: 20px !important; }
.np-hero-swiper__pagination .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.5); opacity: 1;
  transition: var(--np-transition);
}
.np-hero-swiper__pagination .swiper-pagination-bullet-active {
  background: var(--np-secondary); width: 28px; border-radius: 5px;
}

.np-hero-swiper__prev,
.np-hero-swiper__next {
  width: 48px !important; height: 48px !important;
  background: rgba(0,0,0,0.45) !important;
  border-radius: 50% !important;
  border: 2px solid rgba(212,162,76,0.5) !important;
  color: var(--np-white) !important;
  transition: var(--np-transition) !important;
  backdrop-filter: blur(4px);
}
.np-hero-swiper__prev:hover,
.np-hero-swiper__next:hover {
  background: var(--np-secondary) !important;
  border-color: var(--np-secondary) !important;
  transform: scale(1.1);
}
.np-hero-swiper__prev::after,
.np-hero-swiper__next::after { font-size: 16px !important; font-weight: 800 !important; }

.np-hero-swiper__progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: rgba(255,255,255,0.2); z-index: 10;
}
.np-hero-swiper__progress-bar {
  height: 100%; background: var(--np-secondary);
  width: 0%; transition: width linear;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.np-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--np-radius-md);
  font-family: var(--np-font-body); font-size: var(--np-fs-sm);
  font-weight: var(--np-fw-semibold); letter-spacing: 0.5px;
  text-transform: uppercase; border: 2px solid transparent;
  cursor: pointer; transition: var(--np-transition); text-decoration: none;
}
.np-btn--primary { background: var(--np-secondary); color: var(--np-white); border-color: var(--np-secondary); }
.np-btn--primary:hover {
  background: var(--np-secondary-dark); border-color: var(--np-secondary-dark);
  color: var(--np-white); transform: translateY(-2px); box-shadow: var(--np-shadow-md);
}
.np-btn--outline { background: transparent; color: var(--np-secondary); border-color: var(--np-secondary); }
.np-btn--outline:hover { background: var(--np-secondary); color: var(--np-white); }
.np-btn--dark { background: var(--np-primary); color: var(--np-white); border-color: var(--np-primary); }
.np-btn--dark:hover {
  background: var(--np-dark-grey); border-color: var(--np-dark-grey);
  color: var(--np-white); transform: translateY(-2px);
}
.np-btn--sm  { padding: 8px 18px; font-size: var(--np-fs-xs); }
.np-btn--lg  { padding: 16px 36px; font-size: var(--np-fs-base); }
.np-btn--block { width: 100%; justify-content: center; }