/* === Containers === */
.projeto-container {
  background: #F8F9FA;
  overflow: visible;
}

.item_fields {
  background: #F8F9FA;
}

/* === Banner === */
.banner-projeto {
  background: url("../../../../../images/banners/banner_projeto.svg") center/cover;
  color: white;
  width: 100vw;
  min-height: 600px;
  margin: 0 calc(50% - 50vw);
  padding: 30px 30px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.programa-badge {
  height: 40px;
  /* margin: 0 auto 20px; */
  filter: grayscale(100%) brightness(1000%);
}

.banner-projeto h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
  color: white;
}

.banner-projeto dl {
  display: flex;
  justify-content: center;
  /* gap: 80px; */
  margin-top: 100px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
}

.banner-projeto dl > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

.banner-projeto dt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.banner-projeto dt i {
  font-size: 2rem;
}

.banner-projeto dd {
  font-size: 1.2rem;
  letter-spacing: -0.5px;
  text-align: center;
}

/* === Resumo === */
.resumo-projeto {
  background: white;
  border-radius: 16px;
  padding: 50px 40px;
  margin: -70px auto 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
  position: relative;
  max-width: 1200px;
  width: calc(100% - 80px);
}

.resumo-projeto dl {
  display: flex;
  justify-content: space-around;
  gap: 60px;
  margin: 0;
  text-align: center;
}

.resumo-projeto dl > div {
  flex: 1;
  border-right: 1px solid #E5E5E5;
}

.resumo-projeto dl > div:last-child {
  border-right: none;
}

.resumo-projeto dt {
  font-size: 1.9rem;
  font-weight: 600;
  color: #00284E;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.resumo-projeto dd {
  font-size: 1rem;
  color: #666;
}

/* === Seções de Conteúdo (Acordeon) === */
.secao-conteudo {
  background: white;
  border-radius: 16px;
  margin: 0 auto 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  max-width: 1200px;
  width: calc(100% - 80px);
}

.secao-conteudo h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #00284E;
  margin: 0;
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.3s;
}

.secao-conteudo h2:hover {
  background: #f8f9fa;
}

.secao-conteudo h2::before {
  display: none;
}

.secao-conteudo h2::after {
  content: "−";
  font-size: 1.5rem;
  color: #00284E;
  font-weight: 300;
}

.secao-conteudo.collapsed h2::after {
  content: "+";
}

.secao-conteudo .conteudo-secao {
  padding: 0 40px 30px;
  max-height: 800px;
  overflow-y: auto;
  transition: max-height 0.5s ease, padding 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.secao-conteudo.collapsed .conteudo-secao {
  max-height: 0;
  padding: 0 40px;
  overflow: hidden;
  opacity: 0;
}

.secao-conteudo p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.secao-conteudo ul {
  padding-left: 20px;
  color: #555;
  line-height: 1.8;
}

.secao-conteudo li {
  margin-bottom: 10px;
}

/* === Responsividade === */
@media (max-width: 768px) {
  .banner-projeto {
    padding: 40px 20px 80px;
  }

  .banner-projeto h1 {
    font-size: 1.8rem;
  }

  .banner-projeto dl {
    flex-direction: column;
    gap: 30px;
  }

  .resumo-projeto {
    margin: -50px 20px 20px;
    padding: 30px 20px;
    width: calc(100% - 40px);
  }

  .resumo-projeto dl {
    flex-direction: column;
    gap: 30px;
  }

  .resumo-projeto dl > div {
    border: none;
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 20px;
  }

  .resumo-projeto dl > div:last-child {
    border: none;
    padding-bottom: 0;
  }

  .secao-conteudo {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
  }

  .secao-conteudo h2,
  .secao-conteudo .conteudo-secao {
    padding-left: 20px;
    padding-right: 20px;
  }
}
