/* ============================================================================
 * URBAN VOLT — ETAPA 05: GALERIA DE CLIENTES E PROVA SOCIAL (PÚBLICO & ADMIN)
 * ============================================================================
 * Identidade visual oficial Urban Volt: preto (#0b0e11), branco (#ffffff),
 * verde neon (#a5ff39 / #44b824), tipografia Montserrat + Outfit.
 * Fotos reais em destaque, sem excesso de molduras ou poluição visual.
 * ============================================================================ */

/* Seção na Página Inicial */
.uv-gal-home-section {
  background: #0b0e11;
  color: #ffffff;
  padding: 72px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.uv-gal-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 38px;
}

.uv-gal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #a5ff39;
  background: rgba(165, 255, 57, 0.1);
  border: 1px solid rgba(165, 255, 57, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.uv-gal-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.75rem, 3.6vw, 2.55rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 12px;
  color: #ffffff;
}

.uv-gal-title span {
  color: #a5ff39;
}

.uv-gal-subtitle {
  font-family: "Outfit", sans-serif;
  font-size: 1.02rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

/* Grid Home (6 cards desktop / carrossel horizontal mobile) */
.uv-gal-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.uv-gal-card {
  background: #131922;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.uv-gal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(165, 255, 57, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.uv-gal-photo-btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #0f151d;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.uv-gal-photo-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Enquadramento ligeiramente superior preserva rostos e guidão/farol das motos */
  object-position: center 22%;
  display: block;
  transition: transform 0.35s ease;
}

.uv-gal-card:hover .uv-gal-photo-btn img {
  transform: scale(1.03);
}

.uv-gal-brand-mark {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(11, 14, 17, 0.72);
  backdrop-filter: blur(4px);
  color: #a5ff39;
  font-family: "Montserrat", sans-serif;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(165, 255, 57, 0.28);
  pointer-events: none;
}

.uv-gal-featured-dot {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(165, 255, 57, 0.92);
  color: #0b0e11;
  font-family: "Montserrat", sans-serif;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  pointer-events: none;
}

.uv-gal-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.uv-gal-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.uv-gal-location {
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.uv-gal-model-pill {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: #a5ff39;
  background: rgba(165, 255, 57, 0.1);
  border: 1px solid rgba(165, 255, 57, 0.24);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.uv-gal-caption {
  font-family: "Outfit", sans-serif;
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
}

.uv-gal-card-foot {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.uv-gal-model-link {
  font-family: "Montserrat", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: #a5ff39;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease;
}

.uv-gal-model-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.uv-gal-zoom-hint {
  font-family: "Outfit", sans-serif;
  font-size: 0.74rem;
  color: #94a3b8;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.uv-gal-zoom-hint:hover {
  color: #ffffff;
}

.uv-gal-home-cta-wrap {
  margin-top: 34px;
  text-align: center;
}

.uv-gal-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #a5ff39;
  color: #0b0e11;
  font-family: "Montserrat", sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.uv-gal-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(165, 255, 57, 0.28);
}

.uv-gal-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: all 0.2s ease;
}

.uv-gal-btn-outline:hover {
  border-color: #a5ff39;
  color: #a5ff39;
}

/* ============================================================================
 * PÁGINA EXCLUSIVA DA GALERIA (clientes-urbanvolt.html)
 * ============================================================================ */
.uv-gal-page-hero {
  background: linear-gradient(180deg, #080b0f 0%, #101620 100%);
  color: #ffffff;
  padding: 64px 0 46px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.uv-gal-indicators {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.uv-gal-ind-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(165, 255, 57, 0.25);
  border-radius: 14px;
  padding: 16px 26px;
  min-width: 190px;
  text-align: center;
}

.uv-gal-ind-num {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #a5ff39;
  line-height: 1.1;
}

.uv-gal-ind-label {
  display: block;
  margin-top: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 0.84rem;
  color: #cbd5e1;
  font-weight: 600;
}

.uv-gal-page-body {
  background: #f8fafc;
  padding: 36px 0 72px;
  min-height: 460px;
}

/* Barra de Filtros */
.uv-gal-filters-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.uv-gal-filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.uv-gal-filter-group label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
}

.uv-gal-filter-select {
  width: 100%;
  height: 42px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 0 12px;
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  color: #0f172a;
  background: #ffffff;
  cursor: pointer;
}

.uv-gal-filter-select:focus {
  outline: none;
  border-color: #44b824;
}

.uv-gal-btn-clear {
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-family: "Montserrat", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.uv-gal-btn-clear:hover {
  border-color: #0f172a;
  color: #0f172a;
}

/* Grid Principal Página Exclusiva (modo claro com cards limpos) */
.uv-gal-full-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.uv-gal-page-body .uv-gal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.uv-gal-page-body .uv-gal-card:hover {
  border-color: #44b824;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.uv-gal-page-body .uv-gal-location {
  color: #0f172a;
}

.uv-gal-page-body .uv-gal-model-pill {
  color: #166534;
  background: #ecfdf5;
  border-color: #86efac;
}

.uv-gal-page-body .uv-gal-caption {
  color: #475569;
}

.uv-gal-page-body .uv-gal-model-link {
  color: #166534;
}

.uv-gal-page-body .uv-gal-zoom-hint {
  color: #64748b;
}

.uv-gal-page-body .uv-gal-zoom-hint:hover {
  color: #0f172a;
}

.uv-gal-load-more-wrap {
  text-align: center;
  margin-top: 34px;
}

.uv-gal-count-note {
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 14px;
}

/* Bloco Final de Conversão ("A próxima conquista pode ser a sua!") */
.uv-gal-final-cta {
  margin-top: 56px;
  background: #0b0e11;
  color: #ffffff;
  border-radius: 22px;
  padding: 44px 28px;
  text-align: center;
  border: 1px solid rgba(165, 255, 57, 0.3);
}

.uv-gal-final-cta h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 900;
  margin: 0 0 10px;
  color: #ffffff;
}

.uv-gal-final-cta h2 span {
  color: #a5ff39;
}

.uv-gal-final-cta p {
  font-family: "Outfit", sans-serif;
  font-size: 0.98rem;
  color: #cbd5e1;
  margin: 0 auto 24px;
  max-width: 560px;
}

.uv-gal-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ============================================================================
 * LIGHTBOX (AMPLIAÇÃO SEM CORTES E NAVEGAÇÃO ENTRE FOTOS)
 * ============================================================================ */
.uv-gal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(5, 8, 12, 0.94);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.uv-gal-lightbox.open {
  display: flex;
}

.uv-gal-lb-dialog {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.uv-gal-lb-close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.uv-gal-lb-close:hover {
  border-color: #a5ff39;
  color: #a5ff39;
}

.uv-gal-lb-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uv-gal-lb-img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background: #0b0e11;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.uv-gal-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(11, 14, 17, 0.82);
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.uv-gal-lb-nav:hover {
  border-color: #a5ff39;
  color: #a5ff39;
}

.uv-gal-lb-prev {
  left: 10px;
}

.uv-gal-lb-next {
  right: 10px;
}

.uv-gal-lb-meta {
  width: 100%;
  max-width: 820px;
  background: rgba(19, 25, 34, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #ffffff;
}

.uv-gal-lb-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.uv-gal-lb-title {
  font-family: "Montserrat", sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  color: #ffffff;
}

.uv-gal-lb-caption {
  font-family: "Outfit", sans-serif;
  font-size: 0.86rem;
  color: #cbd5e1;
}

.uv-gal-lb-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.uv-gal-lb-counter {
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
}

/* ============================================================================
 * RESPONSIVIDADE (TABLET & MOBILE)
 * ============================================================================ */
@media (max-width: 1120px) {
  .uv-gal-full-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .uv-gal-filters-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .uv-gal-home-section {
    padding: 52px 0;
  }

  /* Carrossel horizontal suave na página inicial em celulares (sem troca automática) */
  .uv-gal-home-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 10px;
  }

  .uv-gal-home-grid .uv-gal-card {
    flex: 0 0 82vw;
    max-width: 340px;
    scroll-snap-align: start;
  }

  .uv-gal-full-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .uv-gal-filters-bar {
    grid-template-columns: 1fr;
  }

  .uv-gal-ind-card {
    flex: 1 1 140px;
    min-width: 140px;
    padding: 12px 14px;
  }

  .uv-gal-lb-nav {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .uv-gal-full-grid {
    grid-template-columns: 1fr;
  }
}
