.section-hero {
  height: 70vh;
  background-image: url('../images/bg_empreendimentos.jpg');
  background-size: cover;
  background-position: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.4);
}

.section1-title {
    bottom: 40px; 
    left: 11rem; 
    text-align: left; 
    position: absolute;
    color: #f5f5f5;
}

.btn-section2 {
  height: 45px;
}

.btn-section2.active {
  background-color: #c73626 !important;
  color: #f5f5f5 !important;
  border-color: #c73626 !important;
}

.btn-section2:hover {
  background-color: #4A5359;
  color: #f5f5f5;
  border-color: #4A5359;
}

.tracinho {
    height: 2px; 
    background: #6b737a; 
    border: none; 
    min-width: 200px;
}

.section2 {
    padding-top: 3rem !important;
    padding-bottom: 5rem !important;
}

.item {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.item img {
  height: 420px;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Badge vermelha (LANÇAMENTO, EM OBRA, etc) */
.custom-badge {
  background-color: #dc3545;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 8px;
  white-space: nowrap;
  display: inline-block;
}

.custom-badge-2 {
  background-color: #8f959b;
  color: #fff;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  display: inline-block;
}

.orverlay-text-2 {
  position: absolute;
  top: 55px;
  left: 20px;
  z-index: 2;
}

/* Overlay agora cobre toda a imagem */
.overlay-project-name {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.5) 100%); /* gradiente suave */
  display: flex;
  align-items: flex-end;  /* texto no final (embaixo) */
  padding: 20px;
  z-index: 1;
  border-radius: 6px;
}

/* Texto do nome do projeto */
.project-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.images-hidden {
  display: none;
}

/* Override badge position */
.overlay-text {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  .section1-title {
    left: 40px;
  }

  .tracinho {
    min-width: auto;
  }
}