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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

main {
  text-align: center;
  font-weight: bold;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Cabeçalho */
header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.cabecalho {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo-img {
  height: 40px;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #219653;
  color: white;
  text-decoration: none;
}

/* Destaque */
.destaque {
  height: 400px;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.destaque h1 {
  font-size: 2.8rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.destaque-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.sobreposicao {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.conteudo-destaque {
  position: relative;
  z-index: 2;
  padding: 20px;
}

/* Introdução */
.intro-texto {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

/* Tipos de Resíduos */
.tipos-residuos {
  padding: 60px 0;
}

.tipos-residuos h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.tipos-residuos h2 i {
  margin-right: 10px;
}

/* Grade de Benefícios (adaptada para os cards de papel) */
.grade-beneficios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.cartao-beneficio {
  background-color: #ffffff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.cartao-beneficio:hover {
  transform: translateY(-5px);
}

.icon {
  font-size: 2rem;
  color: #e67e22;
  margin-bottom: 15px;
}

.cartao-beneficio h3 {
  margin-bottom: 15px;
  color: #333;
}

/* Listas */
.lista-processo {
  counter-reset: passo;
}

.lista-processo li {
  margin-bottom: 8px;
  position: relative;
  list-style-type: none;
}

.lista-processo li:before {
  content: counter(list-item);
  counter-increment: list-item;
  color: #e67e22;
  font-weight: bold;
  margin-right: 10px;
}

.lista-itens {
  text-align: left;
  padding-left: 0;
}

.lista-itens li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
}

.lista-itens li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 15px;
  height: 2px;
  background-color: #e67e22;
}

/* Seção de Dicas */
.dicas-section {
  margin: 60px 0;
}

.dicas-section h2 {
  margin-bottom: 30px;
}

.dicas-section h2 i {
  margin-right: 10px;
}

.dicas-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.dica-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.dica-item:hover {
  transform: translateY(-5px);
}

.dica-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.dica-item h3 {
  color: #e67e22;
  margin: 15px 20px 10px;
}

.dica-item p {
  padding: 0 20px 20px;
  color: #555;
  line-height: 1.5;
}

/* Curiosidades */
.card-curiosidade {
  background-color: #e67e22;
  color: white;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  margin: 60px 0;
}

.card-curiosidade h2 {
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.card-curiosidade h2 i {
  margin-right: 10px;
}

.lista-impacto {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 600px;
  margin: 20px auto 30px;
  padding: 0;
}

.lista-impacto li {
  background: rgba(255,255,255,0.15);
  padding: 10px 20px;
  border-radius: 30px;
  list-style: none;
}

/* Botão laranja */
.btn {
  display: inline-block;
  padding: 8px 12px;
  background-color: #E99142;
  color: white;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-laranja {
  background-color: #E99142 !important;
  padding: 12px 30px !important;
  font-size: 1rem !important;
  margin-top: 20px;
}

.btn-laranja:hover {
  background-color: #B7671A !important;
  color: white !important;
}

.btn-laranja i {
  margin-right: 8px;
}

/* Rodapé */
footer {
  background-color: #2C3E50;
  color: white;
  padding: 40px 0;
  margin-top: 60px;
}

.conteudo-rodape {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-rodape,
.contato-info {
  margin-bottom: 20px;
}

.contato-info {
  margin-top: 0;
}

.rodape-logo-img {
  height: 50px;
  margin-bottom: 15px;
}

.redes-sociais-icon {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.redes-sociais-icon a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.redes-sociais-icon a i {
  color: white;
}

.redes-sociais-icon a:hover:nth-child(1) {
  background-color: #E1306C;
  text-decoration: none;
}

.redes-sociais-icon a:hover:nth-child(2) {
  background-color: #1877F2;
  text-decoration: none;
}

.redes-sociais-icon a:hover:nth-child(3) {
  background-color: #0A66C2;
  text-decoration: none;
}

.redes-sociais-icon a:hover:nth-child(4) {
  background-color: #1DA1F2;
  text-decoration: none;
}

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

  nav ul {
    margin-top: 15px;
  }

  nav ul li {
    margin: 0 10px;
  }

  .destaque {
    height: 300px;
  }

  .destaque h1 {
    font-size: 2.2rem;
  }

  .destaque p {
    font-size: 1.2rem;
  }

  .conteudo-rodape {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contato-info {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 5px;
  }

  nav ul li a {
    text-decoration: none;
  }

  .grade-beneficios,
  .dicas-container {
    grid-template-columns: 1fr;
  }

  .lista-impacto {
    flex-direction: column;
    gap: 10px;
  }
}