.hero {
  position: relative;
  padding: 8rem 2rem 6rem;
  text-align: center;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}
.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease;
}
.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}
.stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 6rem;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  animation: scaleIn 0.8s ease;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.features {
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100vw;
}
.container {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease;
}
.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.section-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2.5rem 4rem 2.5rem;
  /* padding: 2.5rem; ANTIGO*/
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  /* NÃO TINHA POSITION ANTES */
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px var(--shadow);
  border-color: var(--primary);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--primary);
}
.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.feature-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: justify;
}
.feature-card small {
  /* ANTIGO AQUI 
  color: var(--primary);
  display: none;
  margin-top: 0.3rem; NOVO ABAIXO*/
  color: var(--primary);
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  width: 100%;
  text-align: left;
  padding-left: 2.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.features-grid a {
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.feature-card-link:hover .feature-card-hidden {
  /* display: block;
  animation: fadeIn 0.3s ease; */

  opacity: 1;
  transform: translateY(0);
}
.feature-card-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.cta {
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100vw;
}
.cta-box {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 80px var(--shadow);
  animation: scaleIn 0.8s ease;
}
.cta h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .stats {
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem 3rem;
    width: 100%;
    box-sizing: border-box;
  }
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .hero p {
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .hero-content {
    max-width: 100%;
    padding: 0 0.5rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-buttons .btn {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }
  .stats {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
    width: 100%;
  }
  .stat-item {
    width: 100%;
    padding: 1rem;
  }
  .stat-number {
    font-size: 2rem;
  }
  .features {
    padding: 3rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  .section-header h2 {
    font-size: 1.8rem;
    word-wrap: break-word;
  }
  .section-header p {
    font-size: 1rem;
    word-wrap: break-word;
  }
  .section-header {
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
  }
  .feature-card {
    padding: 2rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
  .feature-card h3 {
    font-size: 1.2rem;
    word-wrap: break-word;
  }
  .feature-card p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .cta {
    padding: 3rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  .cta-box {
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    width: 100%;
    box-sizing: border-box;
  }
  .cta h2 {
    font-size: 1.8rem;
    word-wrap: break-word;
  }
  .cta p {
    font-size: 1rem;
    margin-bottom: 2rem;
    word-wrap: break-word;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
    padding: 0 1rem;
  }
  .footer-section {
    padding-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  .scroll-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }
}
