* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #f5f5f5;
  color: #333;
  padding: 20px;
}

/* ==== HEADER ==== */
header {
  text-align: center;
  background-color: #1a1a1a;
  color: white;
  padding: 40px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

header h1 {
  font-size: 2.2em;
  margin: 10px 0 0 0;
}

header p {
  font-size: 1.1em;
  margin-top: 10px;
  color: #ccc;
}

/* ==== FOTO DE PERFIL ==== */
.profile-photo {
  width: 120px;       /* tamanho da foto */
  height: 120px;      /* tamanho da foto */
  border-radius: 50%; /* deixa redondo */
  object-fit: cover;  /* mantém proporção da imagem */
  display: block;
  margin: 0 auto 20px auto; /* centraliza e dá espaçamento abaixo */
  border: 3px solid #fff;   /* borda branca ao redor */
}

/* ==== MAIN ==== */
main {
  max-width: 960px;
  margin: auto;
}

section {
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

h2 {
  border-left: 6px solid #1a1a1a;
  padding-left: 10px;
  margin-bottom: 20px;
}

/* ==== LISTAS ==== */
.stack ul,
.certificates ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.stack li,
.certificates li {
  background: #e0e0e0;
  border-radius: 20px;
  padding: 10px 20px;
  margin: 5px;
  font-weight: bold;
}

/* ==== EXPERIÊNCIAS & PROJETOS ==== */
.experience-item,
.project {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.experience-item h3,
.project h3 {
  margin-top: 0;
}

.experience-item span {
  font-style: italic;
  color: #555;
}

.experience-item p,
.project p {
  margin: 10px 0;
}

.experience-item ul,
.project ul {
  padding-left: 20px;
}

/* ==== LINKS & CONTATO ==== */
.project a,
.contact a {
  text-decoration: none;
  color: #007BFF;
}

.contact a {
  display: inline-block;
  margin-top: 10px;
  background: #1a1a1a;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
}

/* ==== FOOTER ==== */
footer {
  text-align: center;
  font-size: 14px;
  color: #ccc;
  margin-top: 30px;
}
