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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

header {
  background: #003366;
  color: white;
  padding: 1.5rem 0;
  text-align: center;
  border-bottom: 4px solid #0066cc;
}

header h1 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

header .ano {
  font-size: 0.9rem;
  opacity: 0.9;
}
.btn-voltar {
  position: absolute;
  left: 20px;
  top: 5%;
  transform: translateY(-50%);
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.95rem;
  transition: 0.3s;
}

.btn-voltar:hover {
  background: #0052a3;
}

.perfil {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 2rem 0;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.perfil .info {
  flex: 2;
}

.perfil h2 {
  font-size: 1.6rem;
  color: #003366;
  margin-bottom: 1rem;
}

.perfil h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.2rem;
  color: #0066cc;
}

.perfil ul {
  list-style: none;
}

.perfil ul li {
  margin: 0.5rem 0;
}

.perfil ul li a {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.perfil ul li a:hover {
  color: #003366;
  text-decoration: underline;
}

.perfil .foto {
  flex: 1;
  text-align: center;
}

.perfil .foto img {
  width: 200px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.imagem-lateral {
  position: fixed;
  top: 180px;  /* distancia do topo */
  right: 100px; /* distancia da direita */
}

.imagem-lateral img {
  width: 220px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #003366;
  color: white;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 4px solid #0066cc;
}