/* ============================================
   ABSS LP Ecossistema — Styles
   Mesma identidade visual das LPs v1 e v2
   ============================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Mulish:wght@300;400;600;700;800&family=Playfair+Display:wght@400;700;900&display=swap');

/* ---- Root Variables ---- */
:root {
  --color-blue: #000d49;
  --color-blue-light: #001a6e;
  --color-yellow: #ffc700;
  --color-bg: #F5F7FA;
  --color-text: #1A1A2E;
  --color-muted: #6B7280;
  --color-border: #E5E7EB;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-blue); border-radius: 3px; }

/* ---- General ---- */
html { scroll-behavior: smooth; }

/* ---- Navbar ---- */
#navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
#navbar.scrolled .nav-logo-white { display: none; }
#navbar.scrolled .nav-logo-color { display: block; }
#navbar.scrolled .nav-link {
  color: var(--color-blue) !important;
}
#navbar.scrolled .nav-link:hover { color: var(--color-yellow) !important; }
#navbar.scrolled #menuToggle { color: var(--color-blue); }

/* Mobile Menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }

/* ---- Hero ---- */
.hero-video {
  filter: blur(3px) brightness(0.5);
  transform: scale(1.04);
}

/* Hero Animations */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-anim { opacity: 0; animation: heroFadeUp 0.8s ease forwards; }
.hero-anim-d1 { animation-delay: 0.2s; }
.hero-anim-d2 { animation-delay: 0.4s; }
.hero-anim-d3 { animation-delay: 0.6s; }
.hero-anim-d4 { animation-delay: 0.8s; }

.hero-badge {
  animation: heroFadeUp 0.8s ease 1.2s forwards;
  opacity: 0;
}

/* ---- Marquee ---- */
.marquee-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll var(--marquee-duration, 30s) linear infinite;
}
.marquee-set {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
  flex-shrink: 0;
}
.marquee-logo {
  height: 32px;
  object-fit: contain;
  filter: grayscale(70%);
  opacity: 0.7;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.marquee-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--marquee-set-width, 50%))); }
}
@media (max-width: 639px) {
  .marquee-logo { height: 24px; }
  .marquee-set { gap: 2rem; padding-right: 2rem; }
}

/* ---- Counter Numbers ---- */
.counter-number {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ---- Event Cards ---- */
.event-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 300px;
}
.event-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}
.event-card:hover .event-card-bg{ transform: scale(1.08); }
.event-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,13,73,0.1) 0%, rgba(0,13,73,0.85) 70%);
  z-index: 5;
}
@media (max-width: 639px) {
  .event-card { min-height: 240px; }
}

/* ---- Profile Tabs ---- */
.profile-tab.active {
  background-color: var(--color-blue) !important;
  color: white !important;
  border-color: var(--color-blue) !important;
}
.profile-content { transition: opacity 0.3s ease, transform 0.3s ease; }
.profile-content.hidden { display: none; }

/* ---- Pricing Cards ---- */
.pricing-card { display: flex; flex-direction: column; justify-content: space-between; }
.pricing-card.featured { transform: scale(1.02); }
@media (max-width: 639px) {
  .pricing-card.featured { transform: none; }
}

/* ---- Testimonials ---- */
.testimonial-slide {
  transition: opacity 0.6s ease, transform 0.4s ease;
}
.testimonial-slide.hidden { display: none; }
.testimonial-dot {
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.testimonial-dot:hover { transform: scale(1.3); }

/* ---- FAQ Accordion ---- */
.faq-item details[open] .faq-chevron,
details[open] .faq-chevron {
  transform: rotate(180deg);
}
.faq-chevron { transition: transform 0.3s ease; }

/* ---- CTA Pulse ---- */
@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 199, 0, 0.45); }
  70% { box-shadow: 0 0 0 15px rgba(255, 199, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 199, 0, 0); }
}
.cta-pulse { animation: ctaPulse 2s infinite; }

/* ---- Sticky CTA ---- */
#stickyCta {
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(100%);
  opacity: 0;
}
#stickyCta.visible {
  transform: translateY(0);
  opacity: 1;
}

/* ---- Cookie Banner ---- */
.cookie-banner {
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.visible { transform: translateY(0); }

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---- Form Focus ---- */
input:focus, select:focus, textarea:focus {
  border-color: var(--color-yellow) !important;
  box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.15);
}

/* ---- Form Success ---- */
#formSuccess {
  animation: successPop 0.4s ease;
}
@keyframes successPop {
  0% { opacity: 0; transform: scale(0.9); }
  60% { transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}
