.landing-features .features-portal-link {
  color: var(--bs-primary);
  text-decoration: none;
}

.landing-features .features-portal-link:hover,
.landing-features .features-portal-link:focus {
  color: var(--bs-primary);
  text-decoration: underline;
}

html.dark-style .landing-features .features-portal-link,
html[data-style="dark"] .landing-features .features-portal-link {
  color: #a78bfa;
}

.app-brand-logo.demo {
    width: auto !important;
    height: 45px !important;
}

/* Mobile: na barra superior, só o botão de tema (Entrar/Registrar ficam no menu) */
@media (max-width: 991.98px) {
  .landing-navbar-toolbar > .nav-item:not(.landing-nav-theme-item) {
    display: none !important;
  }
}

/* Mobile: Entrar e Registrar dentro do menu, alinhados na base */
@media (max-width: 991.98px) {
  .landing-navbar .landing-nav-menu.show {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    min-height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .landing-navbar .landing-nav-menu .landing-nav-links {
    flex: 1 1 auto;
    overflow-y: auto;
  }

  .landing-nav-auth-actions {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    margin-top: auto;
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid rgba(47, 43, 61, 0.12);
    flex-shrink: 0;
  }

  .landing-nav-auth-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

html.dark-style .landing-nav-auth-actions,
html[data-style="dark"] .landing-nav-auth-actions {
  border-top-color: rgba(255, 255, 255, 0.12);
}

/* Botão Registrar — mobile (cor da logo / dourado Anexo) + dedo apontando */
.landing-floating-register-wrap {
  --landing-register-gold: #9c7c52;
  --landing-register-gold-dark: #7a5f3a;
  --landing-register-gold-light: #c4a574;

  position: fixed;
  top: 50%;
  right: 0;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.landing-floating-register-finger {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  color: var(--landing-register-gold);
  font-size: 1.85rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(156, 124, 82, 0.45));
  transform: rotateX(40deg);
  animation: landing-floating-finger-point 1.4s ease-in-out infinite;
}

.landing-floating-register-finger .ti {
  display: block;
}

.landing-floating-register {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.55rem;
  border-radius: 0.5rem 0 0 0.5rem;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  background-color: var(--landing-register-gold);
  box-shadow: -4px 0 18px rgba(122, 95, 58, 0.4);
}

.landing-floating-register__label {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.landing-floating-register:hover,
.landing-floating-register:focus {
  color: #fff;
  background-color: var(--landing-register-gold);
}

.landing-floating-register:focus-visible {
  outline: 2px solid var(--landing-register-gold-light);
  outline-offset: -2px;
}

@keyframes landing-floating-finger-point {
  0%,
  100% {
    transform: rotateX(40deg) translateY(0);
  }
  50% {
    transform: rotateX(40deg) translateY(-6px);
  }
}

@media (max-width: 991.98px) {
  .landing-floating-register-wrap {
    padding-right: env(safe-area-inset-right, 0px);
  }

  .landing-floating-register {
    padding-right: max(0.55rem, env(safe-area-inset-right, 0px));
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}

html.dark-style .landing-floating-register,
html[data-style="dark"] .landing-floating-register,
html.dark-style .landing-floating-register:hover,
html[data-style="dark"] .landing-floating-register:hover,
html.dark-style .landing-floating-register:focus,
html[data-style="dark"] .landing-floating-register:focus {
  background-color: #9c7c52;
}

html.dark-style .landing-floating-register-finger,
html[data-style="dark"] .landing-floating-register-finger {
  color: #d4af37;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.35));
}

@media (prefers-reduced-motion: reduce) {
  .landing-floating-register-finger {
    animation: none;
  }
}

#navbarThemeIcon.theme-icon--light {
    color: #ffca28 !important;
}

#navbarThemeIcon.theme-icon--dark {
    color: #ffffff !important;
}

/* Hero — imagem abaixo do CTA / Navegação Imersiva, centralizada com folga */
#hero-animation .hero-text-box {
  position: relative;
  z-index: 2;
}

#hero-animation .hero-cta-block {
  margin-bottom: 0.5rem;
}

#hero-animation .hero-platform-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  clear: both;
  position: relative;
  z-index: 1;
}

.hero-dashboard-link {
  text-decoration: none;
  max-width: 100%;
  margin-inline: auto;
}

.hero-dashboard-img.hero-lux-frame {
  margin-inline: auto;
}

/* Desktop: espaço para seta “Navegação Imersiva” não sobrepor texto nem imagem */
@media (min-width: 768px) {
  #hero-animation .hero-cta-block {
    margin-bottom: 2.5rem;
  }

  #hero-animation .hero-platform-wrap {
    margin-top: 0.5rem;
    padding-top: 2.75rem;
  }

  #hero-animation .hero-btn-item {
    white-space: nowrap;
    pointer-events: none;
  }
}

/* Mobile: folga do topo, menu e botão Registrar flutuante */
@media (max-width: 991.98px) {
  #hero-animation .hero-text-box {
    padding-bottom: 0.25rem;
  }

  #hero-animation .hero-cta-block {
    margin-bottom: 1.25rem;
  }

  #hero-animation .hero-platform-wrap {
    margin-top: 1.25rem;
    padding-top: 1rem;
    padding-inline: 0.75rem;
    padding-right: 3.25rem;
  }

  #hero-animation .hero-lux-frame {
    max-width: min(100%, 22rem);
  }
}

/* Hero — luz bem leve só sobre a imagem (sem glow nas laterais) */
.hero-lux-frame {
  position: relative;
  display: inline-block;
  max-width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-lux-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}

.hero-lux-shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 40%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.04) 60%,
    transparent 100%
  );
  animation: hero-lux-shine-sweep 7s ease-in-out infinite;
}

.hero-lux-frame .hero-lux-img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: inherit;
}

@keyframes hero-lux-shine-sweep {
  0% {
    left: -70%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  52% {
    left: 120%;
    opacity: 1;
  }
  68%,
  100% {
    left: 120%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-lux-shine::before {
    animation: none;
    opacity: 0;
  }
}
