/* ==========================================================================
   HERO SECTION — B.E.M. ARCHITECTURE
   Background Video Implementation with Full Responsiveness
   ========================================================================== */

.hero-section {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-black);
}

/* Background Wrapper */
.hero-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Video Element with High Precision Object-Fit (Vídeo Original Sem Filtros) */
.hero-section__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
  will-change: transform;
  transition: opacity 1.2s var(--ease-luxury);
}

/* Subtle Contrast Overlay (Escurecimento sutil e equilibrado para contraste da tipografia e botões) */
.hero-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: 
    radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0.48) 100%);
}

/* Container for Centered Hero Content */
.hero-section__container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-section__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1000px;
}


/* --------------------------------------------------------------------------
   2. Main Title: "A essência dos bons momentos" (Luxury Serif)
   -------------------------------------------------------------------------- */
.hero-section__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7.6vw, 6.8rem);
  line-height: 1.04;
  font-weight: 300;
  color: #ffffff;
  text-align: center;
  margin: 0 0 2.2rem;
  max-width: 1200px;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.75);
  animation: heroFadeInUp 1.2s var(--ease-luxury) 0.3s both;
}

.hero-section__br {
  display: block;
}

/* --------------------------------------------------------------------------
   3. Action Buttons: Simetria Editorial Fasano (Twin Architectural Frames)
   -------------------------------------------------------------------------- */
.hero-section__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  margin-top: 0.2rem;
  animation: heroFadeInUp 1.2s var(--ease-luxury) 0.45s both;
}

.hero-section__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.95rem 2.4rem;
  font-family: var(--font-sans, "Montserrat", sans-serif);
  font-size: 0.80rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-sizing: border-box;
}

.hero-section__btn--primary {
  background: rgba(255, 255, 255, 0.18);
  border: 1.2px solid rgba(255, 255, 255, 0.85);
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-section__btn--primary:hover {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
  text-shadow: none;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.75);
  transform: translateY(-2px);
}

.hero-section__btn--secondary {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.65rem 0.2rem;
  font-family: var(--font-sans, "Montserrat", sans-serif);
  font-size: 0.80rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

/* Apenas a linha elegante embaixo */
.hero-section__btn--secondary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.65);
  transition: background-color 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
}

.hero-section__btn--secondary:hover {
  background: transparent;
  border-color: transparent;
  color: var(--color-copper, #bf721e);
  box-shadow: none;
  text-shadow: 0 0 16px rgba(191, 114, 30, 0.45);
  transform: translateX(3px);
}

.hero-section__btn--secondary:hover::after {
  background: var(--color-copper, #bf721e);
  height: 2px;
  box-shadow: 0 0 10px rgba(191, 114, 30, 0.65);
}

.hero-section__btn-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
  stroke: currentColor;
  flex-shrink: 0;
}

.hero-section__btn:hover .hero-section__btn-icon {
  transform: translateX(4px);
}

.hero-section__btn--secondary:hover .hero-section__btn-icon {
  transform: translate(3px, -3px);
}


/* Aman Living Design System Button Base (.button) */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 3rem;
  color: var(--color-charcoal);
  letter-spacing: 0.12em;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--color-charcoal);
  background: transparent;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-sm, 2px); /* Retangular com cantos de precisão de 2px (NÃO arredondado) */
  transition: all var(--transition-fast);
}

/* Shimmer Highlight Effect (Aman Design System Token) */
.button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  pointer-events: none;
  transition: none;
}

.button:hover::after {
  left: 100%;
  transition: left 0.75s ease-in-out;
}

/* Transparent Outline Luxury Variant (Aman Design System) */
.button--transparent-outline {
  border: 1.2px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.1), 0 0 25px rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm, 2px);
}

.button--transparent-outline:hover {
  background: #ffffff;
  color: #000000;
  text-shadow: none;
  border-color: #ffffff;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.button--transparent-outline:active {
  transform: translateY(0);
}

.hero-section__btn {
  white-space: nowrap;
  padding: 0.95rem 2.6rem;
  border-radius: var(--radius-sm, 2px);
}

/* Button Micro-Interaction: Arrow Icon */
.button__icon {
  width: 15px;
  height: 15px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.button:hover .button__icon {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   4. Scroll Down Arrow Indicator (Seta Branca Centralizada no Bottom)
   -------------------------------------------------------------------------- */
.hero-section__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  animation: heroFadeIn 1.2s var(--ease-luxury) 0.6s both;
}

.hero-section__scroll:hover {
  opacity: 0.65;
}

.hero-section__scroll:focus-visible {
  outline: 1.5px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
}

.hero-section__scroll-arrow {
  width: 20px;
  height: 20px;
  display: block;
  stroke: #ffffff;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.6));
  animation: heroScrollBounce 2.4s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Animation Keyframes
   -------------------------------------------------------------------------- */
@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroScrollBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}


/* ==========================================================================
   RESPONSIVE ADAPTATIONS (MOBILE, TABLET, DESKTOP)
   ========================================================================== */

/* Tablet (Portrait & Landscape: 768px - 1024px) */
@media (max-width: 1024px) {
  .hero-section {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100dvh;
  }

  .hero-section__container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .hero-section__title {
    font-size: clamp(3.4rem, 6.8vw, 5.2rem);
    line-height: 1.05;
    margin-bottom: 1.8rem;
  }

  .hero-section__actions {
    gap: 1.6rem;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }

  .hero-section__btn {
    padding: 0.88rem 1.9rem;
    font-size: 0.74rem;
  }

  .hero-section__btn--secondary {
    padding: 0.45rem 0.15rem;
    font-size: 0.74rem;
  }
}

/* Mobile Devices (<= 767px) */
@media (max-width: 767px) {
  .hero-section {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100dvh;
  }

  .hero-section__container {
    padding-left: 1rem;
    padding-right: 1rem;
  }


  .hero-section__title {
    font-size: clamp(2.7rem, 10.5vw, 3.85rem);
    line-height: 1.08;
    margin-bottom: 1.5rem;
  }

  .hero-section__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    width: 100%;
    max-width: 280px;
    margin-top: 0.2rem;
  }

  .hero-section__btn {
    width: 100%;
    padding: 0.85rem 1.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    gap: 0.6rem;
  }

  .hero-section__btn--secondary {
    width: auto !important;
    padding: 0.4rem 0.2rem !important;
    margin-top: 0.25rem;
    font-size: 0.72rem;
  }

  .hero-section__btn-icon {
    width: 13px;
    height: 13px;
  }

  .button__icon {
    width: 13px;
    height: 13px;
  }

  .hero-section__video {
    object-position: center center;
    transform: scale(1.03);
  }

  .hero-section__scroll {
    bottom: 1.25rem;
    padding: 0.4rem;
  }

  .hero-section__scroll-arrow {
    width: 17px;
    height: 17px;
  }
}

/* Small Mobile Screens (<= 420px) */
@media (max-width: 420px) {
  .hero-section__actions {
    gap: 0.45rem;
  }

  .hero-section__btn {
    padding: 0.72rem 0.85rem;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
  }
}

/* Desktop Large Screens (>= 1440px) */
@media (min-width: 1440px) {
  .hero-section__container {
    max-width: 1600px;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .hero-section__title {
    font-size: clamp(6.2rem, 8vw, 7.8rem);
    max-width: 1380px;
  }
}
