/* ========================================
   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;
}

.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 — 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
   ======================================== */

/* 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 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;
  }
}
