body { 
  margin-top: 100px;
  background: #0f2e20;
  font-family: 'Montserrat';
}

/* ==== TÍTULO CENTRALIZADO ==== */
.titulo-centralizado {
  font-size: 2.2rem;
  color: #e7c063;
  font-weight: bold;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-align: center;
}
.titulo-centralizado::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #e7c063;
  margin: 12px auto 0;
  border-radius: 2px;
}
.subtitulo-centralizado {
  color: #fff;
  opacity: 0.94;
  font-size: 1.13rem;
  margin-bottom: 32px;
  text-align: center;
}

/* ==== CONTROLES E FILTROS ==== */
.projects-controls-simples {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100vw;
  max-width: 620px;
  margin: 0 auto 36px auto;
  background: none;
  padding: 0 12px;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
}
.search-filtros-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  justify-content: center;
  align-items: stretch;
}
.search-container {
  flex: 1;
  display: flex;
  align-items: center;
}
.search-input {
  width: 100%;
  padding: 13px 20px;
  border: 2px solid #e7c063;
  border-radius: 10px;
  font-size: 1.08rem;
  background-color: #fff;
  color: #222;
  box-shadow: 0 1px 5px #0001;
  margin-bottom: 0;
  transition: border 0.2s, box-shadow 0.2s;
}
.btn-mostrar-filtros {
  background: #e7c063;
  color: #14321d;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 8px 22px;
  font-size: 1.07rem;
  cursor: pointer;
  box-shadow: 0 1px 4px #0002;
  transition: background 0.2s, color 0.2s;
  margin-left: 8px;
  white-space: nowrap;
  height: 44px;
  align-self: stretch;
}
.btn-mostrar-filtros.active,
.btn-mostrar-filtros:active {
  background: #14321d;
  color: #e7c063;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  width: 100%;
  background: none;
  box-shadow: none;
  padding: 0;
}

.category-filter {
  padding: 15px 30px;
  background: transparent;
  border: 2px solid #e7c063;
  border-radius: 12px;
  cursor: pointer;
  color: #e7c063;
  font-weight: 700;
  font-size: 1.16rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin: 0;
  box-shadow: 0 1px 6px #0001;
  min-width: 140px;
  min-height: 52px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-filter.active,
.category-filter:hover {
  background-color: #e7c063;
  color: #14321d;
  box-shadow: 0 2px 8px #f0c04033;
  transform: translateY(-2px);
}




/*==== pagina =====*/
.paginacao {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 30px 0;
}
.paginacao button {
  background: #e7c063;
  color: #1b3b22;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.paginacao button.active,
.paginacao button:hover {
  background: #e7c063;
}

  .filtro-ativo-texto {
  margin-top: 10px;
  margin-bottom: 26px;
  font-size: 1.06rem;
  color: #e7c063;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.4px;
  }

/* ==== LISTAGEM DE PROJETOS ==== */
.projetos-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 50px 20px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.projeto-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
  width: 320px; /* ou ajuste conforme seu minmax do grid */
  margin-bottom: 0;
}

.projeto-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

/* IMAGEM EM DESTAQUE */
.projeto-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.projeto-card:hover img {
  transform: scale(1.03);
}

/* ESCONDE TODA A INFOS */
.projeto-info,
.projeto-info *,
.btn-solicitar,
.projeto-desc,
.projeto-categoria,
.projeto-info h3 {
  display: none !important;
}

/* LIGHTBOX */
.lb-data {
  position: relative;
}
.btn-lightbox {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 999;
  padding: 12px 24px;
  background-color: var(--dourado);
  color: var(--verde-escuro);
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}
.btn-lightbox:hover {
  background-color: var(--dourado-escuro);
}
/* Telas médias (tablets e pequenos desktops) */
@media (max-width: 900px) {
  .projeto-card img {
    width: 100%;
    height: 320px;
    min-height: 240px;
    max-height: 420px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 10px;
    background: #132c20;
    box-shadow: 0 6px 18px #0001;
  }
}

/* Mobile: até 700px */
@media (max-width: 700px) {
  .projeto-card img {
    width: 100%;
    height: 290px;
    min-height: 180px;
    max-height: 380px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 10px;
    background: #132c20;
    box-shadow: 0 6px 18px #0003;
  }

  /* -------- CONTROLES (FILTRO/BUSCA) MOBILE -------- */
  @media (max-width: 700px) {
  .projects-controls-simples {
    flex-direction: column;
    gap: 7px;
    align-items: stretch;
    width: 100vw;
    max-width: 100vw;
    padding: 0 1vw;
    margin: 0 auto 18px auto;
    box-sizing: border-box;
  }
  .search-filtros-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }
  .search-container {
    flex: 1;
    min-width: 0;
  }
  .search-input {
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    padding: 10px 16px;
  }
  .btn-mostrar-filtros {
    background: #e7c063;
    color: #14321d;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 1px 4px #0002;
    transition: background 0.2s, color 0.2s;
    margin-left: 6px;
    white-space: nowrap;
    height: 44px;
    align-self: stretch;
  }
  .btn-mostrar-filtros.active,
  .btn-mostrar-filtros:active {
    background: #14321d;
    color: #e7c063;
  }

  .btn-lightbox {
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 8px;
    min-width: 0;
    max-width: 85vw;
    margin-bottom: 6px;
  }
}
}

/* Mobile "hard": até 480px */
@media (max-width: 480px) {
  .projeto-card img {
    width: 100%;
    height: 240px;
    min-height: 140px;
    max-height: 320px;
    border-radius: 14px;
    margin-bottom: 7px;
    background: #132c20;
    object-fit: cover;
    box-shadow: 0 4px 14px #0002;
  }

  .btn-lightbox {
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 8px;
    min-width: 0;
    max-width: 85vw;
    margin-bottom: 6px;
  }

}

/* Mini telas: até 370px */
@media (max-width: 370px) {
  .projeto-card img {
    height: 170px;
    min-height: 100px;
    max-height: 190px;
    border-radius: 10px;
    margin-bottom: 4px;
  }
}
