/* ==========================================================================
   DAVIS LIMA - EXPOSIÇÃO NYCJW 2026 (VAZANTEIROS DO CERRADO BRASILEIRO)
   Estrutura exclusiva da participação de Davis Lima (Tramas da Morada)
   ========================================================================== */

/* ─── Hero Atmosférico NYCJW 2026 ────────────────────────────────────────── */
.nycjw-hero {
  position: relative;
  background:
    radial-gradient(circle at 75% 22%, rgba(24, 163, 168, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 70% 50%, rgba(29, 78, 216, 0.20) 0%, transparent 55%),
    radial-gradient(circle at 65% 78%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #090c15 0%, #111728 42%, #1b1928 76%, #090a0d 100%);
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.poster-guide-line {
  position: absolute;
  left: 2.25rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(212, 175, 55, 0.85) 0%,
    rgba(212, 175, 55, 0.35) 35%,
    transparent 48%,
    transparent 62%,
    rgba(212, 175, 55, 0.45) 75%,
    rgba(212, 175, 55, 0.85) 100%
  );
  pointer-events: none;
}

@media (max-width: 1024px) {
  .poster-guide-line {
    left: 1rem;
    opacity: 0.4;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

/* Lockup Oficial estilo NYCJW26 */
.nycjw-lockup {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.nycjw-lockup-brand {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #ffffff;
  user-select: none;
}

.nycjw-lockup-num {
  color: #18a3a8;
}

.nycjw-lockup-divider {
  width: 1px;
  height: 3rem;
  background: rgba(255, 255, 255, 0.35);
}

.nycjw-lockup-text {
  font-size: clamp(0.72rem, 1.1vw, 0.85rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  line-height: 1.55;
}

/* Título Oficial */
.nycjw-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.nycjw-main-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 300;
}

.nycjw-title-bar {
  width: 5rem;
  height: 2px;
  background: var(--gold-primary);
  margin-bottom: 1.75rem;
}

.nycjw-opening-copy {
  max-width: 650px;
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nycjw-lead-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-style: italic;
  color: #f3f4f6;
  line-height: 1.5;
  font-weight: 300;
}

.nycjw-curatorship-text {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.7;
  font-weight: 300;
}

.nycjw-curatorship-text strong {
  color: #ffffff;
  font-weight: 500;
}

/* Assinatura Editorial Davis Lima */
.artist-signature-block {
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.artist-signature-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

.artist-signature-loc {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.artist-signature-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Coluna Direita: Obra em Destaque (Apenas a foto da joia) */
.hero-artwork-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-artwork-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 682 / 1024;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border-gold);
  background: #090a0d;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.15);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.3s ease;
  cursor: zoom-in;
  margin: 0;
}

.hero-artwork-frame:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.95), 0 0 50px rgba(212, 175, 55, 0.28);
}

.hero-artwork-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-artwork-frame:hover .hero-artwork-img {
  transform: scale(1.02);
}

.poster-zoom-hint {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ─── 02. Subcoleção Davis Lima (Padrão ifjoias.org / crisvirgili.com) ─── */
.artist-section {
  padding: 5rem 0 6rem;
  background: #090a0d;
  color: var(--text-main);
  border-top: 1px solid var(--border-gold);
}

.artist-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.artist-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  margin: 0.2rem 0 0.4rem;
  color: #ffffff;
  font-weight: 300;
  line-height: 1.1;
}

.subcollection {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--gold-light);
  font-style: italic;
  margin-top: 0.25rem;
}

.artist-copy {
  max-width: 660px;
  font-size: 1.02rem;
  line-height: 1.78;
}

.artist-copy p {
  margin-bottom: 1.25rem;
  color: #d1d5db;
}

.artist-copy .english {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.65;
  color: #9ca3af;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(212, 175, 55, 0.35);
}

.artist-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.75rem;
}

.artist-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.25s ease;
}

.artist-link:hover {
  background: var(--gold-primary);
  color: #090a0d;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

/* ─── Carrossel Oficial de Peças (8 Fotografias) ────────────────────────── */
.artist-carousel-container {
  position: relative;
  margin-top: 2rem;
}

.artist-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.artist-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.25rem 1.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-primary) transparent;
  width: 100%;
  cursor: grab;
}

.artist-carousel-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.artist-carousel-track::-webkit-scrollbar {
  height: 6px;
}

.artist-carousel-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.artist-carousel-track::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 3px;
}

.carousel-slide {
  flex: 0 0 clamp(290px, 32vw, 400px);
  scroll-snap-align: start;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.carousel-slide .work {
  margin: 0;
  background: #11141b;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s ease;
  cursor: zoom-in;
}

.carousel-slide .work:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.15);
}

.carousel-slide .work img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide .work:hover img {
  transform: scale(1.04);
}

.carousel-btn {
  position: absolute;
  top: calc(50% - 24px);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(17, 20, 27, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.25s ease;
}

.carousel-btn:hover {
  background: var(--gold-primary);
  color: #090a0d;
  border-color: var(--gold-primary);
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.carousel-btn.prev {
  left: -22px;
}

.carousel-btn.next {
  right: -22px;
}

.carousel-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0 0.25rem;
}

.carousel-counter {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  font-weight: 500;
  font-family: var(--font-serif);
}

/* ─── 03. O Conceito dos Vazanteiros: Uma Comunidade de Vida ─────────────── */
.concept-section {
  padding: 6rem 0;
  background:
    radial-gradient(circle at 15% 40%, rgba(24, 163, 168, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(212, 175, 55, 0.08) 0%, transparent 45%),
    #0d0f15;
  border-top: 1px solid var(--border-gold);
}

.concept-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5vw;
  align-items: start;
}

.concept-grid h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.1;
  margin: 0.4rem 0 1.5rem;
  color: #ffffff;
  font-weight: 300;
}

.concept-text {
  max-width: 680px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.concept-text p {
  margin-bottom: 1.25rem;
  color: #cbd5e1;
}

.concept-text .english {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-top: 0.5rem;
  margin-bottom: 1.75rem;
}

.concept-text .closing {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #ffffff;
  margin-top: 2rem;
  line-height: 1.35;
  font-weight: 400;
}

.concept-text .english.closing {
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-top: 0.5rem;
}

/* ─── Modal de Zoom em Alta Resolução (Padrão ifjoias.org / crisvirgili) ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 7, 10, 0.94);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-body {
  position: relative;
  max-width: 1040px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-close-btn {
  position: absolute;
  top: -2.75rem;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 15;
}

.modal-close-btn:hover {
  color: var(--gold-primary);
  transform: rotate(90deg);
}

.modal-media-wrap {
  position: relative;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: #090a0d;
}

.modal-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.15s ease;
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(17, 20, 27, 0.9);
  border: 1px solid var(--border-gold);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

.modal-nav-btn:hover {
  background: var(--gold-primary);
  color: #090a0d;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.modal-prev {
  left: -3.5rem;
}

.modal-next {
  right: -3.5rem;
}

.modal-caption {
  margin-top: 1.25rem;
  text-align: center;
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.modal-counter {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--gold-light);
  font-family: var(--font-serif);
  letter-spacing: 0.12em;
}

/* ─── Responsividade ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .modal-prev {
    left: 0.5rem;
  }
  .modal-next {
    right: 0.5rem;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .artist-heading,
  .concept-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .carousel-slide {
    flex: 0 0 clamp(260px, 60vw, 340px);
  }

  .carousel-btn.prev {
    left: 4px;
  }

  .carousel-btn.next {
    right: 4px;
  }
}

@media (max-width: 600px) {
  .nycjw-hero {
    padding: 4rem 0 3.5rem;
  }

  .artist-section {
    padding: 3.5rem 0 4.5rem;
  }

  .concept-section {
    padding: 4rem 0;
  }

  .artist-signature-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}
