/* ===== Variáveis ===== */
:root {
  --color-primary: #388E3C;
  --color-primary-hover: #2E7D32;
  --color-primary-light: #43A047;
  --color-bg: #F5F0E8;
  --color-text: #1A1A1A;
  --color-text-muted: #5a5a5a;
  --color-white: #ffffff;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(56, 142, 60, 0.12);
  --shadow-hover: 0 8px 30px rgba(56, 142, 60, 0.18);
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(56, 142, 60, 0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary) !important;
}

.logo:hover {
  color: var(--color-primary-hover) !important;
}

.nav {
  display: flex;
  gap: var(--space-lg);
}

.nav a {
  font-weight: 500;
  color: var(--color-text);
}

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

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  padding: 100px var(--space-lg) var(--space-2xl);
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-android {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow);
}

.btn-android:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

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

.btn-ios:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.hero-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero-image {
  flex: 1;
  max-width: 450px;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ===== Features ===== */
.features {
  padding: var(--space-2xl) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.features h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-2xl);
  color: var(--color-text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-md);
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.feature-card p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.btn-whatsapp,
.btn-instagram {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border-radius: var(--radius);
  font-weight: 500;
  transition: background 0.2s;
}

.btn-whatsapp:hover,
.btn-instagram:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ===== Responsivo ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-image {
    max-width: 100%;
  }

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

@media (max-width: 480px) {
  .header-inner {
    padding: var(--space-sm) var(--space-md);
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-contact {
    flex-direction: column;
  }
}
