* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #7a1f3d, #2c3e50);
  color: #ffffff;
  min-height: 100vh;
}

.foto-perfil {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid rgba(243, 182, 198, 0.8);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

header {
  text-align: center;
  padding: 80px 20px 40px;
}

header h1 {
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

header span {
  color: #f3b6c6;
}

header p {
  margin-top: 15px;
  font-size: 1.1rem;
  opacity: 0.9;
}

main {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

section {
  margin-bottom: 60px;
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  border-left: 5px solid #f3b6c6;
  padding-left: 10px;
}

.sobre p {
  line-height: 1.8;
  opacity: 0.95;
}

/* ===== PROJETOS ===== */

.projetos {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.projeto {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: stretch;
}

.card,
.card-projeto.imagem {
  min-height: 320px;
}

.card {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.card h3 {
  margin-bottom: 12px;
  color: #00ffd5;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 18px;
  opacity: 0.9;
}

.card a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #00ffd5;
  width: fit-content;
}

.card-projeto.imagem {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-projeto.imagem img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.card-projeto.imagem:hover img {
  transform: scale(1.05);
}

/* ===== HABILIDADES ===== */

.habilidades {
  margin-top: 50px;
}

.skills {
  max-width: 700px;
}

.skill {
  margin-bottom: 20px;
}

.skill span {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.barra {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  overflow: hidden;
}

.nivel {
  height: 100%;
  border-radius: 10px;
  background: #f3b6c6;
}

.nivel.html { width: 80%; }
.nivel.css { width: 75%; }
.nivel.js { width: 30%; }
.nivel.Git { width: 50%; }
.nivel.GitHub { width: 60%; }
.nivel.SQL { width: 40%; }
.nivel.Excel { width: 40%; }

/* ===== CONTATO ===== */

.contato {
  margin-top: 100px;
  padding-bottom: 60px;
}

.contato-texto {
  max-width: 600px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.contato-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contato-links a {
  text-decoration: none;
  color: #f3b6c6;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 18px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.contato-links a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ===== FOOTER ===== */

footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  opacity: 0.7;
}

a:hover {
  opacity: 0.85;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 768px) {
  .projeto {
    grid-template-columns: 1fr;
  }

  header h1 {
    font-size: 2.2rem;
  }

  .card,
  .card-projeto.imagem {
    min-height: auto;
  }
}

