/* ── Página de projeto ── */

/* Primeira dobra: imagem principal */
.projeto-hero {
  height: calc(100vh - 80px);
  padding: 0 20px;
  display: flex;
}

.projeto-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Segunda dobra: Infos do projeto */
.projeto-info {
  background-color: var(--algodao);
  background-image: url('../assets/images/textura-info-projeto.png');
  background-size: cover;
  background-position: center;
  min-height: 418px;
  display: flex;
  align-items: center;
  padding: 60px 20px;
}

.projeto-info-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.projeto-titulo {
  font-family: 'ZT Nature', serif;
  font-weight: 500; /* Medium */
  font-size: 50pt;
  color: var(--nanquim);
  margin-bottom: 20px;
  text-transform: capitalize;
}

.nanquim-line {
  border: 0;
  border-top: 1px solid var(--nanquim);
  margin: 0 0 30px 0;
  width: 100%;
}

.projeto-detalhes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.info-row {
  display: flex;
  margin-bottom: 5px;
}

.info-label {
  font-family: 'ZT Nature', serif;
  font-weight: 600; /* SemiBold */
  font-size: 12pt;
  line-height: 1.5;
  color: var(--nanquim);
  width: 150px;
}

.info-value {
  font-family: 'ZT Nature', serif;
  font-weight: 400; /* Regular */
  font-size: 12pt;
  line-height: 1.5;
  color: var(--nanquim);
}

.premios-titulo {
  font-family: 'ZT Nature', serif;
  font-weight: 600; /* SemiBold */
  font-size: 12pt;
  line-height: 1.5;
  color: var(--nanquim);
  margin-bottom: 0;
}

.premios-lista p {
  font-family: 'ZT Nature', serif;
  font-weight: 400; /* Regular */
  font-size: 12pt;
  line-height: 1.5;
  color: var(--nanquim);
}

/* Destaque 1: Imagem inteira */
.destaque-1 {
  width: 100%;
  line-height: 0;
}

.destaque-1 img {
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 1002;
  object-fit: cover;
  display: block;
}

/* Destaque 2: Imagem vertical centralizada */
.destaque-2 {
  padding: 0 20px;
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}

.destaque-2-wrapper {
  width: 100%;
  max-width: 800px; 
}

.destaque-2 img {
  width: 100%;
  height: auto;
  display: block;
}

/* Frase centralizada */
.projeto-frase {
  padding: 100px 20px;
  text-align: center;
}

.projeto-frase p {
  font-family: 'ZT Nature', serif;
  font-weight: 300; /* Light */
  font-size: 42pt;
  line-height: 1.2;
  color: var(--nanquim);
  max-width: 1000px;
  margin: 0 auto;
}

/* Destaque 3: Largura completa entre as margens de 142px */
.destaque-3 {
  padding: 0 142px;
  width: 100%;
  margin-bottom: 100px;
}

.destaque-3 img {
  width: 100%;
  height: auto;
  display: block;
}

/* Descrição e Elemento */
.projeto-descricao-elemento {
  padding: 0 142px;
  margin-bottom: 100px;
}

.descricao-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  width: 100%;
}

.descricao-wrapper {
  width: 50%; /* Limita à metade da largura */
}

.projeto-descricao {
  font-family: 'ZT Nature', serif;
  font-weight: 300; /* Light */
  font-size: 12pt;
  line-height: 1.5;
  color: var(--nanquim);
  text-align: left;
}

.elemento-wrapper {
  width: auto;
  display: flex;
  justify-content: flex-end;
}

.elemento-nanquim {
  width: 80px; /* Ajuste o tamanho do símbolo */
  height: auto;
  /* Garante que o símbolo seja nanquim (#111412) via filtro se necessário */
  filter: brightness(0.1); 
}

/* Grid de imagens */
.projeto-grid {
  padding: 0 20px 100px 20px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: row;
  gap: 20px;
}

/* Imagens horizontais ocupam as duas colunas */
.img-h {
  grid-column: span 2;
  width: 100%;
  height: auto;
  display: block;
}

/* Imagens verticais ocupam uma coluna */
.img-v {
  grid-column: span 1;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Seção Próximo Projeto */
.proximo-projeto {
  width: 100%;
  background-color: var(--algodao);
}

.proximo-projeto-header {
  padding: 60px 20px 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.proximo-label {
  display: block;
  font-family: 'ZT Nature', serif;
  font-weight: 400; /* Regular */
  font-size: 12pt;
  color: var(--nanquim);
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.proximo-titulo {
  font-family: 'ZT Nature', serif;
  font-weight: 500; /* Medium */
  font-size: 28pt;
  color: var(--areia);
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.proximo-link-text {
  text-decoration: none;
}

.proximo-link-text:hover .proximo-titulo {
  opacity: 0.7;
}

.proximo-projeto-arrow {
  color: var(--areia);
  margin-bottom: 5px;
}

.proximo-link-arrow {
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}

.proximo-link-arrow:hover {
  transform: translateX(10px);
}

.proximo-arrow-svg {
  width: 50px; /* Reduzido um pouco mais para ficar compacta */
  height: auto;
  display: block;
}

.proximo-projeto-teaser {
  width: 100%;
  height: 318px;
  overflow: hidden;
  line-height: 0;
}

.proximo-link-img {
  display: block;
  width: 100%;
  height: 100%;
}

.proximo-projeto-teaser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 0.3s ease, transform 0.5s ease;
}

.proximo-link-img:hover img {
  filter: brightness(0.9);
  transform: scale(1.02);
}

/* Garante que o rodapé encoste na imagem */
.site-footer {
  margin-top: 0 !important;
}

/* Responsividade Básica */
@media (max-width: 1024px) {
  .projeto-titulo { font-size: 36pt; }
  .projeto-frase p { font-size: 28pt; }
  .destaque-2, .projeto-descricao-elemento, .destaque-3 { padding: 0 60px; }
  .proximo-titulo { font-size: 22pt; }
  .proximo-arrow-svg { width: 100px; }
}

@media (max-width: 768px) {
  .projeto-detalhes { grid-template-columns: 1fr; }
  .projeto-titulo { font-size: 28pt; }
  .projeto-frase p { font-size: 22pt; }
  .destaque-2, .projeto-descricao-elemento, .destaque-3 { padding: 0 20px; }
  
  .descricao-container { 
    flex-direction: column; 
    align-items: flex-start; 
  }
  .descricao-wrapper { 
    width: 100%; 
    margin-bottom: 30px; 
  }
  .elemento-wrapper { 
    width: 100%; 
    justify-content: flex-start; 
  }
  .elemento-nanquim {
    width: 60px; /* Reduz um pouco no mobile */
  }

  .grid-container { 
    grid-template-columns: 1fr; 
    gap: 20px;
  }
  .img-v, .img-h { 
    grid-column: span 1; 
    width: 100%;
  }
  .proximo-projeto-header { flex-direction: row; align-items: flex-end; }
  .proximo-titulo { font-size: 18pt; }
  .proximo-arrow-svg { width: 80px; }
  .proximo-projeto-teaser { height: 200px; }
}
