/* =========================================================
   SECTION GALLERY
   Estilos da seção de estrutura premium com carrossel, imagens,
   legendas e controles do Swiper.
   ========================================================= */

.gallery {
  background: linear-gradient(180deg, rgba(242, 243, 245, 0.55), rgba(255, 255, 255, 0.9));
}

.gallery-swiper {
  padding-bottom: 10px;
}

.gallery-slide {
  position: relative;
  overflow: hidden;
  height: 400px;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(11, 46, 74, 0.64);
  backdrop-filter: blur(8px);
}

.gallery-caption strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.18rem;
}

.gallery-caption span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  line-height: 1.55;
}

.gallery-controls {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.swiper-button-prev,
.swiper-button-next {
  position: static;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(11, 46, 74, 0.08);
  box-shadow: var(--shadow-soft);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 14px;
  color: var(--blue-900);
}

.swiper-pagination {
  position: static;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(11, 46, 74, 0.22);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--gold-500);
}

@media (max-width: 980px) {
  .gallery-slide {
    height: 340px;
  }
}

@media (max-width: 640px) {
  .gallery-slide {
    height: 280px;
  }
}
