/* ==========================================================================
   SYMPLES — Tema CLARO oficial
   Paleta baseada na logo oficial (índigo/navy) + fundo branco/claro
   ========================================================================== */

:root {
  /* Cores da marca (extraídas da logo oficial) */
  --indigo-900: #1A1650;
  --indigo-800: #221D6B;
  --indigo-700: #2A2478;
  --indigo-600: #342D8C;
  --indigo-500: #4A42B0;
  --indigo-400: #6E64C9;
  --indigo-100: #E9E7FA;
  --indigo-50:  #F5F4FD;

  /* Cor de destaque (contraste quente) */
  --amber-500: #F5A623;
  --amber-600: #E0940F;

  /* Fundo CLARO — base de tudo */
  --bg-page:     #FFFFFF;
  --bg-section:  #FAFAFE;
  --bg-card:     #FFFFFF;
  --bg-soft:     #F5F4FD;

  /* Texto */
  --text-heading: var(--indigo-900);
  --text-body:    #4B4B63;
  --text-muted:   #8888A0;

  --border-soft: #ECECF7;
  --shadow-brand: 0 20px 45px -15px rgba(34, 29, 107, 0.25);
  --radius-lg: 22px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }

html, body {
  background: var(--bg-page) !important;
  color: var(--text-body);
  scroll-behavior: smooth;
  font-family: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--text-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   BACKGROUND ANIMADO — bolhas suaves em tom índigo/âmbar sobre fundo BRANCO
   ========================================================================== */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-page);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  animation: floatBlob 16s ease-in-out infinite;
}

.blob-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--indigo-100), transparent 70%);
  top: -120px; left: -100px;
}

.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--amber-500), transparent 70%);
  opacity: 0.15;
  top: 30%; right: -150px;
  animation-delay: -6s;
}

.blob-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--indigo-400), transparent 70%);
  opacity: 0.18;
  bottom: -100px; left: 20%;
  animation-delay: -10s;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.08); }
  66%      { transform: translate(-30px, 25px) scale(0.95); }
}

/* ==========================================================================
   HEADER / NAVBAR — sempre claro, para a logo (índigo) ter contraste
   ========================================================================== */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow .3s ease;
}

.navbar.scrolled {
  box-shadow: 0 8px 30px -10px rgba(34, 29, 107, 0.15);
}

.logo-symples img {
  height: 34px;
  width: auto;
  display: block;
  transition: transform .3s ease, filter .3s ease;
}

.logo-symples:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 14px rgba(34, 29, 107, 0.25));
}

.nav-link {
  color: var(--text-body);
  font-weight: 600;
  position: relative;
  transition: color .25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--indigo-700);
  transition: width .25s ease;
}

.nav-link:hover {
  color: var(--indigo-800);
}
.nav-link:hover::after { width: 100%; }

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn-primary {
  background: var(--indigo-800);
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-brand);
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}

.btn-primary:hover::before { left: 125%; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px -12px rgba(34, 29, 107, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #1A1650;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 15px 35px -10px rgba(224, 148, 15, 0.5);
  transition: transform .25s ease;
}
.btn-accent:hover { transform: translateY(-3px) scale(1.02); }

.btn-outline {
  border: 2px solid var(--indigo-700);
  color: var(--indigo-800);
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 700;
  transition: all .25s ease;
  background: transparent;
}
.btn-outline:hover {
  background: var(--indigo-800);
  color: #fff;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--indigo-50);
  color: var(--indigo-700);
  border: 1px solid var(--indigo-100);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  animation: pulseSoft 2.4s ease-in-out infinite;
}

@keyframes pulseSoft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 66, 176, 0.25); }
  50%      { box-shadow: 0 0 0 10px rgba(74, 66, 176, 0); }
}

.text-gradient {
  background: linear-gradient(90deg, var(--indigo-800), var(--indigo-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--indigo-800), var(--amber-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   CARDS / GLASS EFFECT — sobre fundo claro
   ========================================================================== */
.card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 10px 30px -15px rgba(34, 29, 107, 0.12);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.card-glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -20px rgba(34, 29, 107, 0.25);
  border-color: var(--indigo-100);
}

.icon-badge {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--indigo-100), #fff);
  color: var(--indigo-800);
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: transform .3s ease;
}
.card-glass:hover .icon-badge {
  transform: rotate(-8deg) scale(1.1);
}

/* ==========================================================================
   TIMELINE — "Como Funciona"
   ========================================================================== */
.timeline-line {
  position: absolute;
  left: 27px;
  top: 0; bottom: 0;
  width: 3px;
  background: var(--indigo-100);
}

.timeline-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--indigo-100);
  color: var(--indigo-700);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  position: relative;
  z-index: 2;
  transition: all .35s ease;
}

.timeline-item:hover .timeline-dot {
  background: var(--indigo-800);
  border-color: var(--indigo-800);
  color: #fff;
  box-shadow: 0 0 0 8px var(--indigo-50);
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-card.featured {
  border: 2px solid var(--indigo-700);
  transform: scale(1.04);
  position: relative;
}

.badge-popular {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #1A1650;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 6px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 18px -6px rgba(224,148,15,0.5);
}

/* ==========================================================================
   FOOTER — também claro, com logo em destaque suave
   ========================================================================== */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  color: var(--text-body);
}

.footer-logo img {
  height: 40px;
  filter: drop-shadow(0 8px 20px rgba(34, 29, 107, 0.15));
}

footer a {
  color: var(--text-body);
  transition: color .2s ease;
}
footer a:hover { color: var(--indigo-800); }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   TRENDING / INSIGHTS CARDS (alimentados pela API)
   ========================================================================== */
.trend-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.trend-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(34,29,107,0.2);
}
.trend-tag {
  display: inline-block;
  background: var(--indigo-50);
  color: var(--indigo-700);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 768px) {
  .pricing-card.featured { transform: none; }
  .stat-number { font-size: 1.8rem; }
  .blob { filter: blur(50px); }
}
