:root {
  --primary: #2E7D32;
  --primary-light: #66BB6A;
  --secondary: #ffffff;
  --accent: #f1f1f1;
  --text: #333;
  --highlight: #e0f2f1;
  --shadow: rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background-color: var(--secondary);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.header {
  background-color: var(--primary);
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px var(--shadow);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  border-radius: 8px;
}

.logo-text {
  font-weight: 700;
  margin-left: 10px;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width 0.3s ease-in-out;
}

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 40%, var(--primary-light));
  color: #fff;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero-text {
  flex: 1 1 400px;
  padding: 20px;
  z-index: 1;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  border-right: 2px solid #fff;
  white-space: nowrap;
  overflow: hidden;
}

.hero-text p {
  font-size: 1.1rem;
}

.store-buttons {
  margin-top: 25px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--primary);
  padding: 12px 20px;
  border-radius: 8px;
  margin: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 8px var(--shadow);
}

.store-btn:hover {
  transform: translateY(-3px);
  background-color: var(--highlight);
}

.store-btn i {
  margin-right: 10px;
}

.hero-image img {
  width: auto;            /* largura automática para respeitar proporção */
  max-width: 120px;       /* limita a largura máxima no desktop */
  height: auto;           /* mantém proporção natural */
  max-height: 180px;      /* limita altura máxima para não esticar */
  object-fit: contain;    /* evita distorção */
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* Features */
.section-title {
  text-align: center;
  margin: 60px 0 40px;
  font-size: 2.2rem;
  color: var(--primary);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.feature {
  background: var(--accent);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 12px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.feature .icon {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 12px;
}

.seguranca {
  padding: 80px 0;
  background-color: var(--accent);
  text-align: center;
}

.seguranca p {
  max-width: 700px;
  margin: auto;
  font-size: 1.2rem;
  color: #444;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: #fff;
  padding: 25px 0;
  text-align: center;
}

/* Responsivo */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    background-color: var(--primary);
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }

  .nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 0;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-image {
    justify-content: center;
  }

  .hero-image img {
    max-width: 95vw;        /* quase toda a largura da tela */
    max-height: 280px;      /* aumenta a altura máxima */
    width: auto;            /* largura automática para manter proporção */
    height: auto;
    border: 3px solid #fff; /* borda branca destacada */
    box-shadow: 0 12px 24px rgba(0,0,0,0.35); /* sombra mais forte */
    border-radius: 20px;    /* borda arredondada maior */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .hero-image img:active {
    transform: scale(1.1);
    box-shadow: 0 16px 32px rgba(0,0,0,0.5);
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 80%;
    justify-content: center;
  }
}

.hidden {
  display: none;
}

#typed-paragraph {
  opacity: 0;
  transition: opacity 1s ease;
  margin-top: 15px;
}

#typed-paragraph.visible {
  opacity: 1;
}
