/* ==========================================================================
   Components — Voowork
   Botões, cards, header, hero, FAQ, footer, etc.
   ========================================================================== */

/* ------------------------------------------------------------------ */
/*  LOGO                                                              */
/* ------------------------------------------------------------------ */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  display: block;
  height: 40px;
  width: auto;
}

/* ------------------------------------------------------------------ */
/*  NAVEGAÇÃO                                                         */
/* ------------------------------------------------------------------ */
.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition-fast);
  padding: var(--space-1) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--gray-900);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Mobile menu */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transform: translateX(100%);
  transition: var(--transition-base);
  z-index: 99;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu .nav-link {
  font-size: var(--text-lg);
  padding: var(--space-2) 0;
}

/* ------------------------------------------------------------------ */
/*  BOTÕES                                                            */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(255, 49, 50, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 20px rgba(255, 49, 50, 0.35);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-900);
  border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
}

.btn-ghost:hover {
  color: var(--gray-900);
  background: var(--gray-50);
}

.btn-lg {
  padding: 16px 32px;
  font-size: var(--text-base);
}

.btn-sm {
  padding: 8px 16px;
  font-size: var(--text-xs);
}

.btn-full {
  width: 100%;
}

/* CTA group */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.cta-group-center {
  justify-content: center;
}

/* ------------------------------------------------------------------ */
/*  CARD                                                              */
/* ------------------------------------------------------------------ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}

.card-lg {
  padding: var(--space-5);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: var(--space-3);
  flex-shrink: 0;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--gray-900);
  margin-bottom: var(--space-1);
}

.card-text {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.7;
}

/* Card de feature com hover elevado */
.card-feature {
  position: relative;
  overflow: hidden;
}

.card-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-base);
}

.card-feature:hover::before {
  transform: scaleX(1);
}

/* ------------------------------------------------------------------ */
/*  HERO                                                              */
/* ------------------------------------------------------------------ */
.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  letter-spacing: 0.01em;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.hero-headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-4xl);
  line-height: 1.1;
  color: var(--black);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-3);
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: var(--text-5xl);
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: var(--text-6xl);
  }
}

.hero-subheadline {
  font-size: var(--text-lg);
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  max-width: 520px;
}

@media (min-width: 768px) {
  .hero-subheadline {
    font-size: var(--text-xl);
  }
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--gray-50);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
}

.hero-visual-inner {
  width: 100%;
  height: 100%;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Dashboard Mockup */
.dashboard-mockup {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dashboard-topbar {
  height: 32px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}

.dashboard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dashboard-dot.red { background: #FF5F57; }
.dashboard-dot.yellow { background: #FFBD2E; }
.dashboard-dot.green { background: #28C840; }

.dashboard-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.dashboard-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.dashboard-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--gray-100);
  flex: 1;
}

.dashboard-bar.active {
  background: var(--primary-light);
}

.dashboard-bar.fill-60 { width: 60%; }
.dashboard-bar.fill-80 { width: 80%; }
.dashboard-bar.fill-40 { width: 40%; }
.dashboard-bar.fill-90 { width: 90%; }
.dashboard-bar.fill-70 { width: 70%; }

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

.dashboard-stat {
  text-align: center;
}

.dashboard-stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--gray-900);
}

.dashboard-stat-label {
  font-size: 11px;
  color: var(--gray-400);
}

/* Pulse glow on the hero */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary) 0%, transparent 50%, var(--primary) 100%);
  opacity: 0.08;
  z-index: -1;
}

/* ------------------------------------------------------------------ */
/*  SECTION HEADERS                                                   */
/* ------------------------------------------------------------------ */
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-3xl);
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--text-4xl);
  }
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Toggle Group */
.toggle-group {
  display: inline-flex;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 2px;
}

.toggle-wrapper {
  display: flex;
  justify-content: center;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 10px;
  background: transparent;
  color: var(--gray-600);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  font-family: var(--font-body);
  white-space: nowrap;
}

.toggle-btn:hover {
  color: var(--gray-900);
}

.toggle-btn.active {
  background: var(--white);
  color: var(--gray-900);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.toggle-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: tab-fade-in 0.3s ease;
}

@keyframes tab-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------------------------ */
/*  SOCIAL PROOF                                                      */
/* ------------------------------------------------------------------ */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .proof-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
  }
}

.proof-card {
  text-align: center;
  padding: var(--space-4) var(--space-3);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.proof-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.proof-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-2);
}

.proof-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 2px;
}

@media (min-width: 768px) {
  .proof-number {
    font-size: var(--text-3xl);
  }
}

.proof-label {
  font-size: var(--text-xs);
  color: var(--gray-500);
  line-height: 1.4;
}

/* Testimonial Marquee — estilo MagicUI */
.marquee {
  --marquee-gap: var(--space-4);
  --marquee-duration: 40s;
  overflow: hidden;
  padding: var(--space-2) 0;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
  margin-top: var(--space-5);
}

.marquee-track {
  display: flex;
  gap: var(--marquee-gap);
  width: max-content;
  animation: marquee-scroll var(--marquee-duration) linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - var(--marquee-gap) / 2));
  }
}

.marquee .testimonial-card {
  width: 420px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .marquee .testimonial-card {
    width: 300px;
  }
}

/* Testimonial card */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-3);
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--space-4);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--gray-100);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-200);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-weight: 600;
  font-size: var(--text-sm);
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--gray-900);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin-top: 1px;
}

/* Slider dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
}

.slider-dot:hover {
  background: var(--gray-400);
}

.slider-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 10px;
}

/* ------------------------------------------------------------------ */
/*  PROBLEM SECTION                                                   */
/* ------------------------------------------------------------------ */
.problem-block {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  max-width: var(--container-md);
  margin: 0 auto;
}

.problem-text {
  font-size: var(--text-lg);
  color: var(--gray-700);
  line-height: 1.7;
}

.problem-text strong {
  color: var(--gray-900);
}

/* ------------------------------------------------------------------ */
/*  STEPS / HOW IT WORKS — Timeline Vertical Alternado                */
/* ------------------------------------------------------------------ */
.steps-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.step-row {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: var(--space-6);
  position: relative;
}

.step-row:last-child {
  margin-bottom: 0;
}

.step-content {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-2) 0;
}

/* Linha vertical contínua — centro da grade (coluna do meio: 48px) */
.steps-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gray-200);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.step-line-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 1;
}

/* Circle marker on the timeline */
.step-line-col::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary-light);
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* Step number badge (always left-aligned with content, not on the line) */
.step-number {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body {
  flex: 1;
}

.step-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--gray-900);
  margin-bottom: var(--space-1);
}

.step-text {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 320px;
}

.step-spacer {
  /* empty column for alternating layout */
}

/* Right-side rows (even): alinha texto à direita */
.step-row:nth-child(even) .step-body {
  text-align: right;
}

.step-row:nth-child(even) .step-body .step-text {
  margin-left: auto;
}

/* Mobile: single column, line on left */
@media (max-width: 767px) {
  /* Move a linha contínua para o centro da coluna de 48px */
  .steps-timeline::before {
    left: 24px;
    transform: none;
  }

  .step-row:nth-child(even) .step-body {
    text-align: left;
  }

  .step-row:nth-child(even) .step-body .step-text {
    margin-left: 0;
  }

  .step-row {
    grid-template-columns: 48px 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
  }

  .step-spacer {
    display: none;
  }

  .step-content {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-3);
    padding: 0;
  }

  .step-body {
    order: 1;
    flex: 1;
  }

  .step-number {
    order: 0;
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: var(--text-base);
  }

  .step-line-col {
    order: -1;
  }

  .step-title {
    font-size: var(--text-base);
  }

  .step-text {
    max-width: 100%;
  }

  .step-line-col::before {
    top: 16px;
    width: 10px;
    height: 10px;
  }
}

/* ------------------------------------------------------------------ */
/*  DIFFERENTIALS / COMPARISON                                        */
/* ------------------------------------------------------------------ */
.diff-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: var(--container-md);
  margin: 0 auto;
}

.diff-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.diff-item:hover {
  background: var(--gray-50);
}

.diff-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.diff-icon svg {
  width: 14px;
  height: 14px;
}

.diff-title {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--gray-900);
  margin-bottom: 4px;
}

.diff-text {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/*  FAQ                                                               */
/* ------------------------------------------------------------------ */
.faq-list {
  max-width: var(--container-md);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item:hover {
  border-color: var(--gray-300);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--gray-900);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 var(--space-4);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: var(--space-2) var(--space-4) var(--space-3);
}

.faq-answer p {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/*  CTA FINAL                                                         */
/* ------------------------------------------------------------------ */
.cta-final {
  text-align: center;
  padding: var(--space-7) 0;
}

.cta-final .section-title {
  margin-bottom: var(--space-2);
}

.cta-final .section-subtitle {
  margin-bottom: var(--space-5);
}

.cta-risk-reversal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-3);
}

.risk-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.risk-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* ------------------------------------------------------------------ */
/*  FOOTER                                                            */
/* ------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--gray-200);
  padding: var(--space-5) 0;
  background: var(--gray-50);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-text {
  font-size: var(--text-sm);
  color: var(--gray-400);
}

.footer-links {
  display: flex;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--gray-500);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--gray-900);
}

/* ------------------------------------------------------------------ */
/*  ANIMAÇÕES                                                         */
/* ------------------------------------------------------------------ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ------------------------------------------------------------------ */
/*  RESPONSIVE                                                         */
/* ------------------------------------------------------------------ */
@media (max-width: 767px) {
  .hero-headline {
    font-size: var(--text-3xl);
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .cta-group .btn-lg {
    padding: 12px 20px;
    font-size: var(--text-sm);
  }

  .proof-number {
    font-size: var(--text-2xl);
  }

  .grid-2, .grid-3 {
    gap: var(--space-3);
  }
}

@media (max-width: 639px) {
  .hero-section {
    padding-top: calc(var(--header-height) + var(--space-5));
    padding-bottom: var(--space-5);
  }

  .section {
    padding: var(--space-5) 0;
  }

  .section-lg {
    padding: var(--space-6) 0;
  }

  .hero-visual {
    aspect-ratio: 3/4;
  }
}

/* ------------------------------------------------------------------ */
/*  BOTÃO DE SCROLL TO TOP                                            */
/* ------------------------------------------------------------------ */
.scroll-top {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-base);
  z-index: 50;
  cursor: pointer;
  border: none;
}

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

.scroll-top:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------ */
/*  LANGUAGE SWITCHER                                                  */
/* ------------------------------------------------------------------ */
.lang-switcher {
  position: relative;
  display: inline-flex;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--gray-600);
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.lang-switcher-btn:hover {
  background: var(--gray-50);
  color: var(--gray-900);
  border-color: var(--gray-200);
}

.lang-icon {
  width: 14px;
  height: 14px;
  color: var(--gray-400);
}

.lang-chevron {
  width: 10px;
  height: 10px;
  color: var(--gray-400);
  transition: var(--transition-fast);
}

.lang-switcher-btn:hover .lang-chevron {
  color: var(--gray-600);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 100px;
  z-index: 200;
  overflow: hidden;
  padding: 4px;
}

.lang-dropdown.open {
  display: block;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  color: var(--gray-700);
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition-fast);
  border: none;
  font-family: var(--font-body);
}

.lang-option:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}

.lang-option.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.lang-switcher-container-desktop {
  display: flex;
  align-items: center;
  margin-left: var(--space-1);
  padding-left: var(--space-2);
  border-left: 1px solid var(--gray-200);
}

/* Scroll to top button lang fix */
.scroll-top[data-i18n-translated] {
  font-size: 0;
}
