/* =============================================
   PÁGINAS INTERNAS DE PROJETO
   ============================================= */

.proj-header {
  position: fixed;
  top: 28px;
  left: 66px;
  z-index: 100;
}

/* Logo esquerda com bolinhas */
.proj-logo-left {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 10px 14px;
}

.proj-logo-text {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--preto);
  line-height: 1.3;
  opacity: 0.75;
  transition: opacity 0.3s;
  position: relative;
  z-index: 1;
}

.proj-logo-text em {
  display: block;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.proj-logo-left:hover .proj-logo-text { opacity: 1; }

/* Bolinhas decorativas do logo */
.plb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.plb1 { width: 10px; height: 10px; background: #f57824; top: 2px;  left: 50px; }
.plb2 { width:  7px; height:  7px; background: #1a59fa; top: 6px;  right: 8px; }
.plb3 { width:  8px; height:  8px; background: #a39c21; bottom: 4px; left: 28px; }
.plb4 { width:  6px; height:  6px; background: #942133; bottom: 2px; right: 20px; }

/* ---- Info do projeto ---- */
.proj-info {
  padding: 140px 80px 80px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 3px;
}

.proj-titulo {
  font-family: var(--font);
  font-size: clamp(28px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.proj-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.proj-meta span {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.45;
}

.proj-meta span::before {
  content: '. ';
}

/* ---- Galeria ---- */
.proj-galeria {
  padding-bottom: 120px;
}

.proj-row {
  display: flex;
  gap: 3px;
  margin-bottom: 3px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.proj-row.visible {
  opacity: 1;
  transform: translateY(0);
}

.proj-row img {
  display: block;
  width: 100%;
  height: auto;
}

/* 2 retratos lado a lado */
.proj-row.portrait.pair img {
  width: 50%;
  object-fit: cover;
  aspect-ratio: 2/3;
}

/* retrato sozinho: centralizado e mais estreito */
.proj-row.portrait.single {
  justify-content: center;
}

.proj-row.portrait.single img {
  width: 60%;
  max-width: 700px;
}

/* ---- Créditos ---- */
.proj-creditos {
  padding: 40px 80px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.proj-creditos span {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.35;
}

/* ---- Footer ---- */
.proj-footer {
  padding: 60px 80px;
  border-top: 1px solid rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.proj-footer a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.proj-footer a:hover { opacity: 1; }

/* ---- Responsivo ---- */
@media (max-width: 900px) {
  .proj-header    { left: 18px; }
  .proj-info      { padding: 100px 32px 60px; }
  .proj-footer    { padding: 40px 32px; flex-direction: column; gap: 20px; text-align: center; }
  .proj-creditos  { padding: 32px 32px; }

  .proj-row.portrait.single img { width: 100%; }
  .proj-row.portrait.pair img   { aspect-ratio: 3/4; }
}
