body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

#btnDownload {
  background-color: transparent;
  color: #0ea5e9;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.6em;
  transition: transform 0.3s;
  outline: none;
  box-shadow: none;
}

#btnDownload:hover {
  transform: scale(1.1);
}

header {
  background-color: #f5f7fa;
  padding: 30px 0;
  border-bottom: 2px solid #e2e8f0;
  animation: fadeSlideDown 1.2s ease;
}

header h1 {
  margin: 0;
  font-size: 2em;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.contact-info,
.links-info {
  text-align: left;
  font-size: 1em;
  color: #475569;
  margin-top: 8px;
}

.links-info a {
  color: #0a66c2;
  text-decoration: none;
}
.links-info a:hover {
  text-decoration: underline;
}

main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  flex: 1;
}

section {
  margin-bottom: 35px;
}

section h2 {
  border-bottom: 2px solid #0ea5e9;
  padding-bottom: 5px;
  color: #0f172a;
  margin-bottom: 10px;
  font-size: 1.3em;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 10px;
}

.job, .education {
  margin-bottom: 15px;
}

.job h3, .education h3 {
  margin: 0;
  font-size: 1.1em;
  color: #1e293b;
}

.job span, .education span {
  color: #64748b;
  font-size: 0.9em;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill {
  background-color: #e0f2fe;
  color: #0369a1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9em;
}

footer {
  background-color: #f5f7fa;
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
  color: #475569;
  border-top: 1px solid #e2e8f0;
  position: fixed;
  bottom: -80px;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: all 0.6s ease;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
}

footer.visible {
  bottom: 0;
  opacity: 1;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  text-align: left;
  color: #1e293b;
  animation: fadeIn 0.6s ease;
  overflow-y: auto;
  max-height: 80vh;
}

#btnCurriculo {
  display: block;
  margin: 20px auto 0;
  background-color: #16a34a;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: 0.3s;
}
#btnCurriculo:hover {
  background-color: #15803d;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .header-container { padding: 0 10px; }
  header h1 { font-size: 1.6em; flex-direction: column; align-items: flex-start; gap: 5px; }
  main { padding: 0 10px; }
  section h2 { font-size: 1.1em; }
}
