

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0EA5E9;
  --primary-dark: #0284C7;
  --primary-light: #38BDF8;
  --secondary: #10B981;
  --dark: #0F172A;
  --dark-light: #1E293B;
  --gray: #64748B;
  --gray-light: #CBD5E1;
  --gray-lighter: #F1F5F9;
  --white: #FFFFFF;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-lighter);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  height: 74px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  text-decoration: none;
}

.logo-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
  margin: 0;
}

.nav-menu a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a.btn-primary {
  color: var(--white);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001; /* Garante que fique acima de outros elementos */
}

.mobile-menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--gray-lighter) 0%, var(--white) 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 64px;
}

.hero-content {
  text-align: left;
  max-width: 550px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--dark);
}

.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: 64px;
  margin-top: 60px;
}

.stat { text-align: left; }
.stat-number { font-size: 36px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--gray); font-weight: 500; }
.hero-image { flex: 1; display: flex; justify-content: center; }

.dashboard-preview-image {
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
  object-fit: cover;
}

@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }

.features { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-title { font-size: 42px; font-weight: 800; margin-bottom: 16px; color: var(--dark); }
.section-subtitle { font-size: 18px; color: var(--gray); max-width: 600px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.feature-card { padding: 32px; background: var(--white); border-radius: 16px; border: 1px solid var(--gray-light); transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.feature-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--white); }
.feature-title { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.feature-description { color: var(--gray); line-height: 1.8; }

.benefits { padding: 80px 0; background: var(--gray-lighter); }
.benefits-content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.benefit-list { display: flex; flex-direction: column; gap: 32px; margin-top: 32px; }
.benefit-item { display: flex; gap: 20px; }
.benefit-check { width: 48px; height: 48px; background: var(--secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; }
.benefit-item h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.benefit-item p { color: var(--gray); line-height: 1.6; }
.stats-card { background: var(--white); padding: 32px; border-radius: 16px; box-shadow: var(--shadow-lg); }
.stats-card h4 { font-size: 20px; font-weight: 700; margin-bottom: 24px; color: var(--dark); }
.stat-row { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--gray-light); }
.stat-row:last-of-type { border-bottom: none; }
.stat-value { font-weight: 700; color: var(--primary); }
.chart-placeholder { height: 150px; background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%); border-radius: 12px; margin-top: 24px; opacity: 0.3; }

.pricing { padding: 80px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; max-width: 1000px; margin: 0 auto; }
.pricing-card { background: var(--white); padding: 40px 32px; border-radius: 16px; border: 2px solid var(--gray-light); position: relative; transition: all 0.3s ease; display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.popular-badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); padding: 8px 24px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.plan-name { font-size: 24px; font-weight: 700; margin-bottom: 16px; color: var(--dark); }
.plan-price { display: flex; align-items: baseline; margin-bottom: 32px; }
.currency { font-size: 24px; font-weight: 600; color: var(--gray); }
.amount { font-size: 56px; font-weight: 800; color: var(--dark); }
.period { font-size: 18px; color: var(--gray); margin-left: 8px; }
.plan-features { list-style: none; margin-bottom: 32px; flex-grow: 1; }
.plan-features li { padding: 12px 0; color: var(--gray); position: relative; padding-left: 28px; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--secondary); font-weight: 700; }

.cta-section { padding: 100px 0; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); }
.cta-content { text-align: center; max-width: 700px; margin: 0 auto; }
.cta-title { font-size: 42px; font-weight: 800; margin-bottom: 16px; }
.cta-description { font-size: 20px; margin-bottom: 40px; opacity: 0.95; }
.cta-form { display: flex; gap: 16px; max-width: 500px; margin: 0 auto 24px; }
.email-input { flex: 1; padding: 16px 24px; border-radius: 8px; border: none; font-size: 16px; outline: none; }
.cta-note { font-size: 14px; opacity: 0.8; }

.footer { background: var(--dark); color: var(--gray-light); padding: 60px 0 24px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-description { line-height: 1.8; max-width: 300px; }
.footer-column h4 { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column a { color: var(--gray-light); text-decoration: none; transition: color 0.3s ease; }
.footer-column a:hover { color: var(--primary); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--dark-light); }


/* === MEDIA QUERIES === */

@media (max-width: 992px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero-content { text-align: center; }
    .hero-cta, .hero-stats { justify-content: center; }
    .hero-image { margin-top: 60px; }
    .hero-title { font-size: 48px; }

    .benefits-content { grid-template-columns: 1fr; }
    .benefits-image { order: -1; margin-bottom: 40px; }
}

@media (max-width: 768px) {
  .mobile-menu-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 73px;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: calc(100vh - 73px);
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  
  .hero { padding-top: 120px; }
  .hero-title { font-size: 36px; }
  .hero-description { font-size: 18px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 32px; }
  
  .section-title { font-size: 32px; }
  
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  
  .cta-form { flex-direction: column; }
  
  .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-logo, .footer-description { margin: 0 auto 16px auto; }
  .footer-column ul li { text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-description { font-size: 16px; }
  .btn-large { padding: 14px 24px; font-size: 16px; }
  .section-title, .cta-title { font-size: 28px; }
  .container { padding: 0 16px; }
}

/* Ajuste para o botão dentro do menu mobile */
@media (max-width: 768px) {
  .nav-menu .nav-menu-button a.btn-primary {
    display: inline-block;
    margin-top: 20px;
    width: 100%;
  }
}
