html, body { 
  height: 100%; 
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header transparente inicialmente, com background ao fazer scroll */
#site-header {
  background: transparent;
  border-bottom: 1px solid transparent;
}

#site-header.header-scrolled {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(11, 11, 11, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@supports (backdrop-filter: blur(10px)) {
  #site-header.header-scrolled {
    background: rgba(11, 11, 11, 0.7);
  }
}
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 4rem; }
.section-title { letter-spacing: 0.2px; }

/* Animação da setinha para baixo */
.scroll-arrow {
  animation: bounce-arrow 2s ease-in-out infinite;
}

.scroll-arrow i {
  display: block;
}

@keyframes bounce-arrow {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}
.scribble-star {
  position: absolute;
  right: -50%;
  top: 40px;
  max-width: 740px;
  height: auto;
  pointer-events: none;
  opacity: .9;
}

/* Ajuste específico para a estrela da hero (canto direito, visível sobre o vídeo) */
.hero-star {
  right: -100px;
  top: 10%;
  max-width: 680px;
}

@media (max-width: 1024px) {
  .hero-star { right: -80px; top: 8%; max-width: 520px; }
}
@media (max-width: 640px) {
  .hero-star { right: -60px; top: 6%; max-width: 360px; }
}

/* Estrela como background na hero (atrás do texto) */
.hero-star-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/estrela.png');
  background-repeat: no-repeat;
  background-position: right -170px top 50%;
  background-size: 570px auto;
  pointer-events: none;
  filter: grayscale(100%);
  opacity: 0.1;
}

/* Estrela original (sem grayscale e sem opacidade) para layouts maiores que 1140px */
@media (min-width: 1141px) {
  .hero-star-bg {
    filter: none;
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .hero-star-bg { background-position: right -80px top 8%; background-size: 520px auto; }
}
@media (max-width: 640px) {
  .hero-star-bg { background-position: right -60px top 6%; background-size: 360px auto; }
}

/* Owl Carousel custom styles for dark theme */
.owl-nav button {
  background: rgba(75, 31, 176, 0.2) !important;
  color: #4b1fb0 !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 20px !important;
  line-height: 1 !important;
  border: 2px solid rgba(75, 31, 176, 0.3) !important;
}
.owl-nav button:hover {
  background: rgba(75, 31, 176, 0.4) !important;
  border-color: #4b1fb0 !important;
}

/* Brands carousel navigation styles */
.brands-nav-container .owl-nav {
  display: flex !important;
  gap: 8px !important;
  justify-content: center !important;
}

.brands-nav-container .owl-nav button {
  background: rgb(232, 239, 53) !important;
  color: white !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 18px !important;
  line-height: 1 !important;
  border: none !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  outline: none !important;
}

.brands-nav-container .owl-nav button:hover {
  background: rgba(232, 239, 53, 0.8) !important;
  color: white !important;
  transform: scale(1.1) !important;
}

.brands-nav-container .owl-nav button:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(232, 239, 53, 0.3) !important;
}

/* Estilização direta dos botões owl-prev e owl-next */
.brands-nav-container .owl-prev,
.brands-nav-container .owl-next {
  display: none !important;
}

.brands-nav-container .owl-prev:hover,
.brands-nav-container .owl-next:hover {
  background: rgba(232, 239, 53, 0.8) !important;
  color: black !important;
  transform: scale(1.1) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

.brands-nav-container .owl-prev:focus,
.brands-nav-container .owl-next:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(232, 239, 53, 0.3) !important;
}

/* Estilos para o carousel de talentos/influenciadoras */
.talents-nav-container .owl-nav {
  display: flex !important;
  gap: 8px !important;
  justify-content: center !important;
}

.talents-nav-container .owl-prev,
.talents-nav-container .owl-next {
  display: none !important;
}

.talents-nav-container .owl-prev:hover,
.talents-nav-container .owl-next:hover {
  background: transparent !important;
  color: white !important;
  border-color: rgb(232, 239, 53) !important;
  transform: scale(1.1) !important;
}

.talents-nav-container .owl-prev:focus,
.talents-nav-container .owl-next:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(232, 239, 53, 0.3) !important;
}

/* FAQ custom styles */
.faq-item {
  transition: box-shadow 0.3s ease;
  position: relative;
  overflow: visible;
}
.faq-item::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border: 1px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 0.3s ease;
  z-index: 0;
  box-sizing: border-box;
}
.faq-item:hover::after {
  border-color: #4b1fb0;
}
.faq-item:hover {
  box-shadow: 0 4px 6px -1px rgba(75, 31, 176, 0.1);
}
.faq-question {
  position: relative;
  margin: 0;
  border: none;
  z-index: 1;
  background: transparent;
  border-radius: 8px 8px 0px 0px;
}
.faq-question:hover {
  color: #4b1fb0;
}
.faq-item.active {
  box-shadow: 0 4px 6px -1px rgba(75, 31, 176, 0.2);
}
.faq-item.active::after {
  border-color: #4b1fb0;
}
.faq-answer {
  position: relative;
  z-index: 1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.faq-question:hover {
  color: #4b1fb0;
}
.faq-item.active::after {
  border-color: #4b1fb0;
}
.faq-item.active {
  box-shadow: 0 4px 6px -1px rgba(75, 31, 176, 0.2);
}
.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Toast Notification (paleta do projeto) */
#toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: rgb(232,239,53); /* brand.accent */
  color: #0B0B0B; /* texto preto */
  padding: 14px 20px;
  border-radius: 9999px; /* pill */
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15), 0 4px 8px rgba(0,0,0,0.1);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(400px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#toast.show {
  opacity: 1;
  transform: translateX(0);
}

#toast.error {
  background-color: #0B0B0B; /* fundo do site */
  color: rgb(232,239,53);
  border: 1px solid rgb(232,239,53);
}

#toast-icon {
  font-size: 18px;
}

/* Estilos para inputs dos modais */
#influencer-modal input,
#brand-modal input {
  color: #666 !important;
}

#influencer-modal input::placeholder,
#brand-modal input::placeholder {
  color: #999 !important;
}
