/* ========================================
   HERO SLIDER — Unique Plástica Avançada
   Premium crossfade slider with navigation
   ======================================== */

/* --- Container --- */
.hero-slider {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

/* --- Track & Slides --- */
.hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100vh;
}

/* Slides marcados com [hidden] ficam fora do slider (ex.: banner Copa oculto) */
.hero-slide[hidden] {
  display: none !important;
}

/* Com apenas 1 slide ativo, esconde a navegação (setas + bolinhas) */
.hero-slider[data-count="1"] .hero-slider__nav {
  display: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.015);
  z-index: 1;
}

.hero-slide--active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

/* First slide uses position relative to define container height */
.hero-slide:first-child {
  position: relative;
}

/* ========================================
   BOTTOM NAVIGATION BAR:  ←  ● ●  →
   ======================================== */

.hero-slider__nav {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* --- Navigation Arrows --- */
.hero-slider__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(197, 169, 116, 0.4);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.4s ease,
              background-color 0.35s ease,
              border-color 0.35s ease,
              transform 0.35s ease;
  padding: 0;
  outline: none;
  flex-shrink: 0;
}

.hero-slider__nav:hover .hero-slider__arrow {
  opacity: 1;
}

.hero-slider__arrow:focus-visible {
  opacity: 1;
  border-color: #c5a974;
}

.hero-slider__arrow:hover {
  background: rgba(197, 169, 116, 0.18);
  border-color: rgba(197, 169, 116, 0.7);
}

.hero-slider__arrow:active {
  transform: scale(0.92);
}

.hero-slider__arrow svg {
  width: 18px;
  height: 18px;
  stroke: #c5a974;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.hero-slider__arrow:hover svg {
  stroke: #e2cfa0;
}

/* --- Dot Indicators --- */
.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(197, 169, 116, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.4s ease,
              border-color 0.4s ease,
              transform 0.4s ease,
              box-shadow 0.4s ease;
  outline: none;
}

.hero-slider__dot:hover {
  border-color: #c5a974;
  background: rgba(197, 169, 116, 0.3);
  transform: scale(1.25);
}

.hero-slider__dot--active {
  background: #c5a974;
  border-color: #c5a974;
  box-shadow: 0 0 8px rgba(197, 169, 116, 0.35);
}

/* --- Progress Bar (optional) --- */
.hero-slider__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c5a974, transparent);
  z-index: 10;
  width: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-slider--autoplay .hero-slider__progress {
  opacity: 1;
  animation: heroSliderProgress var(--hero-slider-interval, 6s) linear infinite;
}

@keyframes heroSliderProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* ========================================
   SLIDE 2 — Copa Unique Musas 2026
   ======================================== */

@font-face {
  font-family: 'Moneta';
  src: url('../assets/Moneta-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Moneta';
  src: url('../assets/Moneta-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Moneta';
  src: url('../assets/Moneta-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

.hero-slide--sp {
  overflow: hidden;
}

/* Background — venue photo */
.sp-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Flat dark filter (reproduz a SOMBRA chapada do banner) */
.hero-slide--sp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.60);
  z-index: 1;
  pointer-events: none;
}

/* Scrim lateral (desktop): escurece os cantos onde fica o texto,
   mantém o centro (casal) limpo — garante leitura do dourado. */
.hero-slide--sp::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.45) 20%,
      rgba(0, 0, 0, 0.12) 36%,
      rgba(0, 0, 0, 0) 52%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.80) 0%,
      rgba(0, 0, 0, 0.62) 20%,
      rgba(0, 0, 0, 0.18) 34%,
      rgba(0, 0, 0, 0) 44%,
      rgba(0, 0, 0, 0) 56%,
      rgba(0, 0, 0, 0.18) 66%,
      rgba(0, 0, 0, 0.62) 80%,
      rgba(0, 0, 0, 0.80) 100%
    );
}

/* Couple cut-out — centered, anchored to bottom */
.sp-slide__couple {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 80%;
  width: auto;
  max-width: none;
  z-index: 2;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

/* Shimmer animation — gold gradient running across text */
@keyframes spGoldShine {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ===== Layout LADO A LADO (telas largas, >= 1200px) ===== */
.sp-slide__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 90px clamp(48px, 4vw, 92px);
  gap: 24px;
}

.sp-slide__col {
  display: flex;
  flex-direction: column;
  max-width: 40%;
}

.sp-slide__col--left {
  align-items: flex-start;
  text-align: left;
}

.sp-slide__col--right {
  align-items: flex-end;
  text-align: right;
}

/* Dourado POSICIONAL (fixo, sem animação): médio na esquerda,
   forte/vivo no centro, claro na direita — como na arte. */
.sp-slide__title,
.sp-slide__from,
.sp-slide__date {
  background: linear-gradient(
    90deg,
    #a7813a 0%,
    #d1ab55 50%,
    #f2e387 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  width: fit-content;
}

.sp-slide__title {
  font-family: 'Moneta', Georgia, serif;
  font-size: calc(clamp(44px, 6.15vw, 124px) + 3px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.005em;
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 12px rgba(0, 0, 0, 0.55));
}

.sp-slide__tagline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.35vw, 48px);
  line-height: 1.15;
  color: #fff;
  margin: 18px 0 0 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.sp-slide__from {
  font-family: 'Moneta', Georgia, serif;
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 84px);
  line-height: 1.12;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 10px rgba(0, 0, 0, 0.65));
}

.sp-slide__date {
  font-family: 'Moneta', Georgia, serif;
  font-weight: 700;
  font-size: calc(clamp(72px, 8.75vw, 176px) + 3px);
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 2px 0 16px 0;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 14px rgba(0, 0, 0, 0.55));
}

.sp-slide__address {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.85vw, 37px);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* ========================================
   SLIDE 2 — LuxSkin
   ======================================== */

.slide-luxskin {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slide-luxskin__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.slide-luxskin__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 100px;
  min-height: 100vh;
  gap: 0;
}

.slide-luxskin__subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: #fff;
  line-height: 1.5;
  margin: 0 0 32px 0;
  letter-spacing: 0.5px;
}

.slide-luxskin__subtitle strong {
  font-weight: 700;
  color: #fff;
}

.slide-luxskin__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.slide-luxskin__title-gold {
  color: #c5a974;
  display: block;
}

.slide-luxskin__cta-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: #fff;
  margin: 0 0 6px 0;
  letter-spacing: 0.5px;
}

.slide-luxskin__escolhida {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 28px;
  color: #c5a974;
  position: relative;
  display: inline-block;
  padding: 4px 20px;
  letter-spacing: 1px;
}

.slide-luxskin__escolhida svg {
  position: absolute;
  inset: -6px -10px;
  width: calc(100% + 20px);
  height: calc(100% + 12px);
  overflow: visible;
}

.slide-luxskin__escolhida svg ellipse {
  fill: none;
  stroke: #c5a974;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.hero-slide--active .slide-luxskin__escolhida svg ellipse {
  animation: drawOval 2.5s ease-in-out infinite;
}

@keyframes drawOval {
  0%   { stroke-dasharray: 0 300; stroke-dashoffset: 0; }
  40%  { stroke-dasharray: 300 300; stroke-dashoffset: 0; }
  60%  { stroke-dasharray: 300 300; stroke-dashoffset: 0; }
  100% { stroke-dasharray: 0 300; stroke-dashoffset: -300; }
}

/* CTA Button — matching site pattern (btn-inicio-copy-v) */
.slide-luxskin__btn {
  display: inline-flex;
  margin-top: 24px;
  padding: 18px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: #fff;
  background-color: #906e2b;
  border: 1px solid #906e2b;
  border-radius: 200px;
  cursor: pointer;
  transition: all 0.9s;
}

.slide-luxskin__btn:hover {
  background-color: #a58546;
  border-color: #a58546;
  color: #fff;
}

.slide-luxskin__dates {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: #fff;
  margin: 12px 0 0 0;
  letter-spacing: 0.3px;
}

.slide-luxskin__dates strong {
  font-weight: 700;
}

.slide-luxskin__brand {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.slide-luxskin__brand-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.slide-luxskin__brand-text strong {
  font-weight: 600;
  color: #fff;
}

.slide-luxskin__logo {
  width: 180px;
  height: auto;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* ===== Slide Unique SP — layout EMPILHADO (pôster) =====
   Aplica em telas estreitas (<1200px) OU pouco largas (aspecto < 7/5),
   onde o lado-a-lado não cabe. Texto agrupado no topo, casal embaixo. */
@media screen and (max-width: 1100px) {
  .hero-slide--sp::before {
    background: rgba(0, 0, 0, 0.58);
  }

  /* Scrim superior: escurece o topo (onde fica o texto) e clareia embaixo (casal) */
  .hero-slide--sp::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.80) 0%,
      rgba(0, 0, 0, 0.52) 24%,
      rgba(0, 0, 0, 0.20) 44%,
      rgba(0, 0, 0, 0) 62%
    );
  }

  .sp-slide__couple {
    height: auto;
    width: auto;
    max-width: 86%;
    max-height: 48vh;
  }

  .sp-slide__content {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    max-width: 820px;
    padding: 92px 24px 0;
    gap: 0;
  }

  .sp-slide__col {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .sp-slide__col--left,
  .sp-slide__col--right {
    align-items: center;
    text-align: center;
  }

  .sp-slide__col--right {
    margin-top: 18px;
  }

  /* dourado posicional centrado em cada frase */
  .sp-slide__title,
  .sp-slide__from,
  .sp-slide__date {
    margin-left: auto;
    margin-right: auto;
  }

  .sp-slide__title {
    font-size: clamp(36px, 7.6vw, 66px);
    line-height: 1.06;
  }

  .sp-slide__tagline {
    font-size: clamp(20px, 4vw, 32px);
    margin-top: 10px;
  }

  .sp-slide__from {
    font-size: clamp(22px, 4.4vw, 44px);
  }

  .sp-slide__date {
    font-size: clamp(50px, 9.6vw, 92px);
    margin: 2px 0 12px 0;
  }

  .sp-slide__address {
    font-size: clamp(15px, 2.9vw, 27px);
  }
}

/* Telas baixas (tablet landscape, layout empilhado) — compacta p/ caber */
@media screen and (max-width: 1100px) and (max-height: 760px) and (min-width: 700px) {
  .sp-slide__couple {
    max-height: 42vh;
  }

  .sp-slide__content {
    padding-top: 68px;
  }

  .sp-slide__title {
    font-size: clamp(34px, 5.6vw, 56px);
  }

  .sp-slide__date {
    font-size: clamp(46px, 8.4vw, 78px);
  }

  .sp-slide__from {
    font-size: clamp(20px, 4vw, 38px);
  }
}

/* Tablet */
@media screen and (max-width: 991px) {
  .hero-slider__nav {
    bottom: 28px;
    gap: 16px;
  }

  .hero-slider__arrow {
    width: 38px;
    height: 38px;
  }

  .hero-slider__arrow svg {
    width: 16px;
    height: 16px;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .hero-slider__nav {
    bottom: 22px;
    gap: 14px;
  }

  .hero-slider__arrow {
    width: 36px;
    height: 36px;
    opacity: 1;
  }

  .hero-slider__arrow svg {
    width: 15px;
    height: 15px;
  }

  .hero-slider__dot {
    width: 9px;
    height: 9px;
  }

  .hero-slider__dots {
    gap: 8px;
  }

  /* Slide LuxSkin mobile */
  .slide-luxskin__subtitle {
    font-size: 17px;
    margin-bottom: 20px;
  }

  .slide-luxskin__title {
    font-size: clamp(2rem, 10vw, 3rem);
    margin-bottom: 20px;
  }

  .slide-luxskin__cta-text {
    font-size: 19px;
  }

  .slide-luxskin__escolhida {
    font-size: 24px;
    padding: 3px 14px;
  }

  .slide-luxskin__dates {
    font-size: 18px;
  }

  .slide-luxskin__brand {
    margin-top: 32px;
  }

  .slide-luxskin__logo {
    width: 150px;
  }

  .slide-luxskin__btn {
    margin-top: 20px;
    padding: 15px 28px;
    font-size: 13px;
  }
}

/* Small mobile */
@media screen and (max-width: 479px) {
  .hero-slider__nav {
    bottom: 16px;
    gap: 12px;
  }

  .hero-slider__arrow {
    width: 32px;
    height: 32px;
  }

  .hero-slider__arrow svg {
    width: 14px;
    height: 14px;
  }

  .hero-slider__dot {
    width: 8px;
    height: 8px;
  }

  /* Slide Unique São Paulo small mobile */
  .sp-slide__content {
    padding: 82px 16px 0;
  }

  .sp-slide__couple {
    max-height: 48vh;
    max-width: 90%;
  }

  .sp-slide__title {
    font-size: clamp(34px, 10.5vw, 56px);
  }

  .sp-slide__tagline {
    font-size: clamp(18px, 5.2vw, 26px);
  }

  .sp-slide__from {
    font-size: clamp(20px, 6vw, 36px);
  }

  .sp-slide__date {
    font-size: clamp(46px, 15vw, 80px);
  }

  .sp-slide__address {
    font-size: clamp(14px, 3.8vw, 20px);
  }

  /* Slide LuxSkin small mobile */
  .slide-luxskin__content {
    padding: 70px 20px 80px;
  }

  .slide-luxskin__subtitle {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .slide-luxskin__title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
    margin-bottom: 16px;
  }

  .slide-luxskin__cta-text {
    font-size: 17px;
  }

  .slide-luxskin__escolhida {
    font-size: 21px;
    padding: 2px 12px;
  }

  .slide-luxskin__dates {
    font-size: 16px;
  }

  .slide-luxskin__brand {
    margin-top: 24px;
    gap: 10px;
  }

  .slide-luxskin__brand-text {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .slide-luxskin__logo {
    width: 120px;
  }

  .slide-luxskin__btn {
    margin-top: 16px;
    padding: 11px 28px;
    font-size: 12px;
    letter-spacing: 1.5px;
  }
}
