/* =========================================================
   Audicor Serviços Paralegais — Edição 2026 (Aurora Glass)
   Paleta: #7c3aed (brand) · #22d3ee (accent) · #e879f9 (fuchsia)
   ========================================================= */

:root {
  --brand: #7c3aed;
  --accent: #22d3ee;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #a8a5c0;
}

/* Ancoragem considerando o header fixo */
section[id],
div[id="hero"] {
  scroll-margin-top: 110px;
}

/* ---------- Blobs de fundo animados ---------- */
@keyframes pulse-slow {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: .9; transform: scale(1.08); }
}

.animate-pulse-slow {
  animation: pulse-slow 8s ease-in-out infinite;
}

/* ---------- Swiper ---------- */
.swiper {
  padding-bottom: 44px;
}

.swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, .25);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

/* ---------- Botão voltar ao topo ---------- */
#scroll-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .35s ease;
}

#scroll-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- FAQ ---------- */
.faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.faq-item .faq-content > div {
  overflow: hidden;
}

.faq-item.faq-active .faq-content {
  grid-template-rows: 1fr;
}

.faq-item.faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent);
}

.faq-item.faq-active {
  border-color: rgba(124, 58, 237, .45);
}

/* ---------- Header / navegação ---------- */
#header.header-scrolled > div:last-child {
  box-shadow: 0 4px 30px rgba(0, 0, 0, .45);
}

/* Menu mobile aberto */
@media (max-width: 1023px) {
  #navmenu.nav-open {
    display: flex;
    transform: translateX(0);
  }
}

/* Link ativo (scrollspy) */
#navmenu a.nav-active {
  color: var(--accent);
}
