/* ============================================
   COMPONENTS — Botões, cards, badges, accordion
   ============================================ */

/* === CTA Button (Verde Pulsante) === */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-3xl);
  background: var(--color-accent-green);
  color: var(--color-text-white);
  font-family: var(--font-family);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-glow-green);
  animation: pulse 2.5s infinite;
  position: relative;
  overflow: hidden;
}

.btn-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-cta:hover {
  background: var(--color-accent-green-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 50px rgba(113, 191, 68, 0.4);
}

.btn-cta:hover::after {
  left: 100%;
}

.btn-cta--large {
  padding: var(--space-xl) var(--space-4xl);
  font-size: var(--font-size-xl);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(113, 191, 68, 0.25); }
  50% { box-shadow: 0 0 40px rgba(113, 191, 68, 0.5); }
}

/* === Card de Identificação === */
.card-id {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card-id::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-purple), transparent);
}

.card-id:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent-purple);
  box-shadow: var(--shadow-glow-purple);
}

.card-id__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background: var(--color-accent-purple-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  color: var(--color-accent-purple);
}

.card-id__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-white);
  margin-bottom: var(--space-xs);
}

.card-id__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* === Step / Bloco de Metodologia === */
.step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  position: relative;
}

.step__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-accent-purple), #6a1a5c);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text-white);
  box-shadow: var(--shadow-glow-purple);
}

.step__content h4 {
  margin-bottom: var(--space-xs);
  color: var(--color-text-white);
}

.step__content p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* === Checklist (Oferta) === */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  font-size: var(--font-size-base);
  color: var(--color-text-light);
}

.checklist li::before {
  content: '✓';
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(113, 191, 68, 0.15);
  color: var(--color-accent-green);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
}

/* === Accordion / FAQ === */
.accordion-item {
  border-bottom: 1px solid var(--color-border-subtle);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  color: var(--color-text-white);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.accordion-trigger:hover {
  color: var(--color-accent-green);
}

.accordion-trigger__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-accent-purple);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-purple);
  transition: transform var(--transition-base);
}

.accordion-item.active .accordion-trigger__icon {
  transform: rotate(45deg);
  background: var(--color-accent-purple);
  color: var(--color-text-white);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow),
              padding var(--transition-slow);
}

.accordion-item.active .accordion-content {
  max-height: 300px;
}

.accordion-content__inner {
  padding: 0 0 var(--space-lg);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

/* === Badge === */
.badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-accent-purple-light);
  color: var(--color-accent-purple);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-purple);
}

/* === Social Proof Logos === */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.social-proof:hover {
  opacity: 0.9;
}

.social-proof__item {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
}

.social-proof__divider {
  width: 4px;
  height: 4px;
  background: var(--color-accent-purple);
  border-radius: var(--radius-full);
}

/* === Responsividade dos Componentes === */
@media (max-width: 768px) {
  .btn-cta {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-base);
    width: 100%;
  }

  .btn-cta--large {
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--font-size-lg);
  }

  .step {
    gap: var(--space-md);
  }

  .step__number {
    width: 44px;
    height: 44px;
    font-size: var(--font-size-xl);
  }
}
