/* --- GERAL --- */
* {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

:root {
  --roxo-escuro: #4a3b61;
  --roxo-medio: #6b5a8e;
  --roxo-claro: #e9e4f0;
  --branco: #ffffff;
}

body { background: var(--branco); scroll-behavior: smooth; }

/* --- NAVEGAÇÃO --- */
.navegacao {
  background: rgba(74, 59, 97, 0.95);
  padding: 1rem; position: sticky; top: 0; z-index: 1000;
}
.menu { display: flex; justify-content: center; list-style: none; gap: 20px; }
.menu a { color: white; text-decoration: none; font-size: 0.8rem; text-transform: uppercase; }

/* --- CABEÇALHO --- */
.cabecalho {
  position: relative; height: 80vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: white;
}
.cabecalho::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: url('./img/img-costas.jpg.jpeg') center/cover;
  opacity: 0.5; z-index: -1;
}
.cabecalho::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); z-index: -1;
}
.foto-perfil {
  width: 175px; height: 175px; /* Tamanho aumentado */
  border-radius: 50%; border: 4px solid var(--roxo-claro);
  margin-bottom: 15px; object-fit: cover; background: white;
}

/* --- SEÇÕES --- */
section { padding: 80px 10%; max-width: 1200px; margin: 0 auto; }
h2 { 
  color: var(--roxo-escuro); margin-bottom: 30px; 
  text-transform: uppercase; border-bottom: 2px solid var(--roxo-claro);
  display: inline-block;
}

/* --- PROJETOS (2 colunas no PC, 1 no Celular) --- */
.projetos-caixa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.projetos-card {
  text-decoration: none; color: inherit;
  background: white; border-radius: 12px; overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: 0.3s;
}
.projetos-card:hover { transform: translateY(-10px); }

/* Capas dos Projetos - Roxas com Título Branco */
.projeto-capa {
  height: 180px;
  background-color: var(--roxo-escuro);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.projeto-capa h3 {
  color: white;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.info-projeto { padding: 20px; }
.info-projeto p { font-size: 0.9rem; color: #555; text-align: justify; }

/* --- CURRÍCULO (Botão Centralizado) --- */
.secao-curriculo { text-align: center; background: var(--roxo-claro); border-radius: 20px; }
.curriculo-link {
  display: inline-block; margin-top: 20px; padding: 15px 35px;
  background: var(--roxo-escuro); color: white; text-decoration: none;
  border-radius: 50px; font-weight: bold;
}

/* --- CONTATO (Centralizado) --- */
.secao-contato { text-align: center; }
.contato-lista {
  list-style: none; display: flex; flex-direction: column;
  align-items: center; gap: 15px; margin-top: 20px;
}
.contato-item { display: flex; align-items: center; gap: 10px; }
.logo-contato { width: 24px; height: 24px; fill: var(--roxo-medio); }
.contato-item a { color: var(--roxo-medio); text-decoration: none; font-weight: 600; }

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
  .projetos-caixa { grid-template-columns: 1fr; }
  .cabecalho h1 { font-size: 2rem; }
  section { padding: 40px 20px; }
}