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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
  background: linear-gradient(180deg, #0d1b2a, #0b1320);
  color: white;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #1b263b, #0d1b2a);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hero-content {
  display: flex;
  gap: 30px;
  align-items: center;
}

.avatar {
  width: 130px;
  height: 130px;
  border-radius: 100%;
  border: 3px solid #3a86ff;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 18px;
  font-weight: normal;
  color: #a0c4ff;
  margin-bottom: 10px;
}

.buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.buttons a,
.tag {
  padding: 8px 12px;
  background: #1f2a44;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.buttons .btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.buttons .devicon.btn-icon {
  font-size: 18px;
}

.buttons .btn-icon.fa-solid,
.buttons .btn-icon.fa-regular,
.buttons .btn-icon.fa-brands {
  width: auto;
  height: auto;
  font-size: 18px;
}

.buttons .btn-icon-char {
  width: auto;
  height: auto;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* SECTIONS */
.section h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

.alt {
  background: rgba(255,255,255,0.02);
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
}

.card {
  background: #1b263b;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.2s ease, border 0.2s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border: 1px solid #3a86ff;
}

.card h4 {
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 12px;
  margin-bottom: 0;
  line-height: 1.4;
}

.project-icon {
  font-size: 26px;
  color: #3a86ff;
  display: block;
  margin-bottom: 8px;
}

/* ICONS */
.icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  font-size: 42px;
  max-width: 100%;
}

@media (max-width: 500px) {
  .icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.icons .devicon-newrelic-plain {
  font-size: 1.6em;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.icon-item img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.icon-item span {
  font-size: 12px;
  font-weight: bold;
  opacity: 0.9;
  text-align: center;
  max-width: 80px;
  line-height: 1.2;
}

/* IMPACTO */
.impact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.impact-card p {
  font-size: 14px;
  opacity: 0.8;
}


/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  opacity: 0.6;
  font-size: 14px;
}
