/* Memorável — Hero Full-Bleed em Arco Translúcido (inspiração Tokaya Beach Club)
   Mantém fotos e vídeos reais dos destinos em tela cheia com portal central em vidro fosco. */

.travel-site .site-header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(16, 10, 38, 0.48) 0%, rgba(16, 10, 38, 0.16) 62%, transparent 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
}

.travel-site .site-header:not(.is-scrolled) .header-nav a {
  color: #ffffff;
  font-family: 'Noto Sans', Inter, sans-serif;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.travel-site .site-header:not(.is-scrolled) .header-nav a:hover,
.travel-site .site-header:not(.is-scrolled) .header-nav a:focus-visible {
  color: #fcf295;
}

.travel-site .site-header:not(.is-scrolled) .header-actions .whatsapp-action {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ff5631;
  border-radius: 2px;
  font-family: 'Noto Sans', Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 20px;
  min-height: 40px;
}

.travel-site .site-header:not(.is-scrolled) .header-actions .whatsapp-action:hover,
.travel-site .site-header:not(.is-scrolled) .header-actions .whatsapp-action:focus-visible {
  background: #ff5631;
  border-color: #ff5631;
  color: #ffffff;
}

.travel-site .site-header:not(.is-scrolled) .menu-toggle {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
}

/* Seção Hero Full-Bleed */
.travel-site .hero.hero-tokaya {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100svh;
  min-height: 700px;
  max-height: 1040px;
  padding: 0;
  display: block;
  overflow: hidden;
  background-color: #1a1235;
  color: #ffffff;
}

.hero-tokaya-viewport {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.hero-tokaya-viewport.is-dragging {
  cursor: grabbing;
}

.hero-tokaya-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.hero-tokaya-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: layout paint style;
}

.hero-tokaya-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #1a1235;
}

.hero-tokaya-poster,
.hero-tokaya-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-tokaya-poster {
  z-index: 1;
}

.hero-tokaya-video {
  z-index: 2;
  opacity: 0;
  transform: translateZ(0);
  transition: opacity 0.3s ease;
}

.hero-tokaya-bg.is-playing .hero-tokaya-video {
  opacity: 1;
}

.hero-tokaya-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    180deg,
    rgba(16, 10, 38, 0.34) 0%,
    rgba(16, 10, 38, 0.14) 40%,
    rgba(16, 10, 38, 0.28) 100%
  );
  pointer-events: none;
}

/* Portal central em formato de arco translúcido */
.hero-tokaya-stage {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 92px 72px 56px;
  pointer-events: none;
}

.hero-arch {
  position: relative;
  pointer-events: auto;
  width: min(44vw, 66vh, 600px);
  min-width: 440px;
  min-height: min(66vh, 590px);
  padding: clamp(54px, 7vh, 78px) clamp(32px, 3.6vw, 56px) clamp(36px, 4.5vh, 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 999px 999px 0 0;
  background: rgba(24, 14, 58, 0.24);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  border: 0;
  box-shadow: 0 28px 72px rgba(10, 6, 28, 0.34);
}

.hero-arch::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--mem-border-angle, 100deg),
    rgba(99, 74, 255, 0.88) 0%,
    rgba(255, 86, 49, 0.84) 38%,
    rgba(245, 215, 110, 0.92) 68%,
    rgba(99, 74, 255, 0.88) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  animation: memBorderSpin 5.5s linear infinite;
}

.hero-arch-emblem {
  width: clamp(168px, 15vw, 220px);
  height: auto;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 16px rgba(10, 6, 28, 0.28));
}

.hero-arch-stars {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  color: #fdc82f;
}

.hero-arch-stars svg {
  width: 15px;
  height: 15px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.travel-site .hero-arch-title {
  margin: 0;
  font-family: 'Marcellus', Georgia, serif;
  font-weight: 400;
  font-size: clamp(42px, 4.4vw, 64px);
  line-height: 1.1;
  letter-spacing: 0;
  color: #ffffff;
  max-width: 14ch;
  text-shadow: 0 3px 20px rgba(12, 8, 30, 0.42);
}

.travel-site .hero-arch-title.is-long-title {
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.12;
}

.hero-arch-caption {
  margin: 16px auto 0;
  max-width: 34ch;
  font-family: 'Noto Sans', Inter, sans-serif;
  font-size: clamp(14px, 1.02vw, 15.5px);
  font-weight: 400;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 12px rgba(12, 8, 30, 0.48);
}

.hero-arch-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  min-height: 44px;
  padding: 11px 28px;
  background: #ff5631;
  color: #ffffff;
  border: 0;
  border-radius: 2px;
  font-family: 'Noto Sans', Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

.hero-arch-cta:hover,
.hero-arch-cta:focus-visible {
  background: #e24320;
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(255, 86, 49, 0.42);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Setas laterais estilo Tokaya em laranja da marca */
.hero-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 16;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: #ff5631;
  padding: 0;
  cursor: pointer;
  transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.hero-arrow-btn--prev {
  left: 8px;
  border-radius: 0 20px 20px 0;
}

.hero-arrow-btn--next {
  right: 8px;
  border-radius: 20px 0 0 20px;
}

.hero-arrow-btn svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.hero-arrow-btn:hover,
.hero-arrow-btn:focus-visible {
  background: rgba(24, 14, 58, 0.36);
  color: #fcf295;
}

.hero-arrow-btn:focus-visible {
  outline: 2px solid #fcf295;
  outline-offset: -4px;
}

/* Paginação fracionária (1 / 6) no canto inferior direito */
.hero-tokaya-pagination {
  position: absolute;
  right: clamp(22px, 3vw, 42px);
  bottom: clamp(22px, 3.6vh, 38px);
  z-index: 16;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: 'Noto Sans', Inter, sans-serif;
  font-size: 19px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.hero-tokaya-sep,
.hero-tokaya-total {
  opacity: 0.55;
}

.hero-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Telas muito largas */
@media (min-width: 1600px) {
  .hero-arch {
    width: min(42vw, 66vh, 640px);
    min-height: min(68vh, 640px);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-tokaya-stage {
    padding: 92px 60px 56px;
  }

  .hero-arch {
    width: min(62vw, 520px);
    min-width: 360px;
    min-height: min(62vh, 520px);
    padding: 52px 32px 40px;
  }
}

/* Mobile (validado em 390x844 e <= 420px) */
@media (max-width: 760px) {
  .travel-site .hero.hero-tokaya {
    min-height: 680px;
    height: 100svh;
    max-height: 940px;
  }

  .hero-tokaya-stage {
    padding: 88px 20px 64px;
  }

  .hero-arch {
    width: min(88vw, 370px);
    min-width: 0;
    min-height: 455px;
    padding: 52px 24px 36px;
    border-radius: 190px 190px 0 0;
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
  }

  .hero-arch::before {
    padding: 2px;
  }

  .hero-arch-emblem {
    width: 158px;
    margin-bottom: 10px;
  }

  .hero-arch-stars {
    margin-bottom: 14px;
    gap: 5px;
  }

  .hero-arch-stars svg {
    width: 13px;
    height: 13px;
  }

  .travel-site .hero-arch-title {
    font-size: clamp(32px, 8.8vw, 44px);
    line-height: 1.08;
  }

  .travel-site .hero-arch-title.is-long-title {
    font-size: clamp(26px, 7.2vw, 36px);
  }

  .hero-arch-caption {
    margin-top: 12px;
    font-size: 13.5px;
    line-height: 1.55;
    max-width: 28ch;
  }

  .hero-arch-cta {
    margin-top: 20px;
    padding: 10px 24px;
    font-size: 11.5px;
  }

  .hero-arrow-btn {
    top: auto;
    bottom: 18px;
    transform: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(24, 14, 58, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
  }

  .hero-arrow-btn--prev {
    left: 20px;
    border-radius: 50%;
  }

  .hero-arrow-btn--next {
    left: 70px;
    right: auto;
    border-radius: 50%;
  }

  .hero-arrow-btn svg {
    width: 20px;
    height: 20px;
  }

  .hero-tokaya-pagination {
    right: 22px;
    bottom: 29px;
    font-size: 16px;
  }
}

@media (max-width: 390px) {
  .hero-arch {
    width: min(88vw, 344px);
    min-height: 430px;
    padding: 46px 20px 30px;
    border-radius: 175px 175px 0 0;
  }

  .hero-arrow-btn--prev {
    left: 18px;
  }

  .hero-arrow-btn--next {
    left: 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-tokaya-video {
    display: none !important;
  }

  .hero-arch-cta,
  .hero-arrow-btn {
    transition: none !important;
  }
}
