:root {
  --verde-escuro: #0b3d2e;
  --verde-medio: #145c3f;
  --bege-claro: #f4f1e1;
  --verde-claro: #2f8f5b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: var(--verde-escuro);
  color: var(--bege-claro);
  line-height: 1.6;
}

header {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--verde-medio);
  color: var(--bege-claro);
  border-bottom: 4px solid var(--verde-claro);
}

header h1 {
  font-size: 2.5rem;
}

header p {
  margin-top: 0.5rem;
  color: #e7e2c7;
}

main {
  padding: 2rem 10%;
}

section {
  background: #114736;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

section h2 {
  color: var(--verde-claro);
  margin-bottom: 1rem;
}

.floor-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

.floor {
  width: 300px;
  height: 40px;
  background: var(--bege-claro);
  border: 3px solid var(--verde-claro);
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s;
}

.floor:active {
  transform: translateY(5px);
  background: #e1dcc5;
}

.light {
  font-size: 2.5rem;
  opacity: 0.2;
  transition: opacity 0.3s ease;
}

.light.on {
  opacity: 1;
  text-shadow: 0 0 10px yellow, 0 0 20px gold;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat {
  background: var(--verde-medio);
  padding: 1rem 2rem;
  border-radius: 15px;
  text-align: center;
  width: 180px;
}

.stat p {
  font-size: 2rem;
  font-weight: bold;
  margin: 0.5rem 0;
}

.impacto {
  text-align: center;
  margin-top: 1rem;
  font-weight: bold;
  color: var(--verde-claro);
}

footer {
  text-align: center;
  background: var(--verde-medio);
  padding: 1rem;
  border-top: 3px solid var(--verde-claro);
  color: #e7e2c7;
}

ol {
  list-style-position: inside;
  padding-left: 0;
  margin-left: 0;
  margin-top: 1rem;
}

ol li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  header h1 {
    font-size: 2rem;
  }

  main {
    padding: 2rem 5%;
  }

  .stats {
    gap: 1.5rem;
  }

  .stat {
    width: 160px;
  }
}

@media (max-width: 600px) {
  header {
    padding: 2rem 1rem;
  }

  header h1 {
    font-size: 1.8rem;
  }

  header p {
    font-size: 0.9rem;
  }

  main {
    padding: 1.5rem 1rem;
  }

  section {
    padding: 1.5rem 1rem;
  }

  ol {
    font-size: 0.95rem;
  }

  .floor {
    width: 100%;
    max-width: 280px;
  }

  .light {
    font-size: 2rem;
  }

  .stats {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .stat {
    width: 90%;
  }

  footer {
    font-size: 0.9rem;
  }
}
