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

.erro {
    color: red;
    font-size: 0.9em;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

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

/* Header */
header {
  background-color: #2e7d32;
  color: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  font-size: 28px;
}

.logo h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.8;
}

.auth-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 10px 20px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-primary {
  background: #ff9800;
  color: white;
}

.btn-primary:hover {
  background: #f57c00;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(46, 125, 50, 0.9), rgba(46, 125, 50, 0.8)), url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Rewards System */
.rewards {
  background-color: white;
  padding: 60px 0;
  text-align: center;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-family: 'Montserrat', sans-serif;
  color: #2e7d32;
}

.rewards-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.reward-card {
  background: #f1f8e9;
  border-radius: 15px;
  padding: 25px;
  width: 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.tree-icon {
  font-size: 50px;
  color: #2e7d32;
  margin-bottom: 15px;
}

.progress-container {
  background: #e0e0e0;
  border-radius: 10px;
  height: 20px;
  margin: 20px 0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 10px;
  background: #4caf50;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 12px;
}

.stats {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

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

.stat-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: #2e7d32;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

/* Forms */
.forms {
  padding: 60px 0;
  background: #e8f5e9;
}

.form-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.form-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  justify-content: center;
  align-items: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2e7d32;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.form-title {
  text-align: center;
  margin-bottom: 25px;
  color: #2e7d32;
  font-family: 'Montserrat', sans-serif;
}


/* Responsividade */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

.form-card h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #2e7d32;
  font-family: 'Montserrat', sans-serif;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-weight: 600;
  color: #2e7d32;
  display: block;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #ff9800;
  color: white;
  font-weight: bold;
  cursor: pointer;
}


.btn:hover {
  background: #f57c00;
}

.text-center {
  text-align: center;
  margin-top: 15px;
}

.text-center a {
  color: #2e7d32;
  text-decoration: none;
  font-weight: bold;
}