/* ===========================
   BLOCO 1 — FOTO + NOME + FUNÇÃO
=========================== */

.portfolio-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 20px 10px 20px;
  text-align: center;
  background: #0a0a0a;
}

.photo-wrapper {
  width: 100%;
  max-width: 1100px;
  height: 420px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 16px;
}

.photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.portfolio-header h1 {
  font-size: 3rem;
  margin: 0 0 2px 0;
  color: #fff;
}

.portfolio-header h2 {
  font-size: 1.6rem;
  font-weight: 400;
  color: #d6d6d6;
  margin: 0;
}

/* ===========================
   BLOCO 2 — BIO
=========================== */

.portfolio-bio {
  background: #0a0a0a;
  color: #e4e4e4;
  padding: 20px 20px 10px;
}

.portfolio-bio .bio-container {
  max-width: 900px;
  margin: 0 auto;
}

.portfolio-bio p {
  font-size: 1rem;
  line-height: 1.62;
  margin-bottom: 14px;
  text-align: justify;
}

/* ===========================
   BLOCO 3 — CONTATO
=========================== */

.portfolio-contact {
  padding: 10px 20px;
  text-align: center;
  background: #0a0a0a;
}

.portfolio-contact h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #fff;
}

.footer-email {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

.footer-email:hover {
  border-bottom: 1px solid #fff;
}

/* ===========================
   RESPONSIVO
=========================== */

@media (max-width: 768px) {
  .portfolio-header {
    padding: 100px 20px 20px 20px;
  }

  .photo-wrapper {
    height: 300px;
  }

  .portfolio-header h1 {
    font-size: 2.2rem;
  }

  .portfolio-header h2 {
    font-size: 1.2rem;
  }
}
