:root {
  --bg: #0F0A1E;
  --menu-bg: #1C1533;
  --panel: rgba(255, 255, 255, 0.32);
  --accent: #b07add;
  --text: #fff;
  --muted: #908b8b;
  --card-gap: 20px;
}

/* reset */
* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

/* menu */
.navbar {
  background-color: #1c1533;
  /* Painéis e caixas */
}

.navbar .nav-link {
  color: #f5f5f7;
  font-size: 1.8rem;
  margin: 0 15px;
}

.navbar .nav-link:hover {
  transform: scale(1.25, 1.25);
  transition: transform 0.1s ease;
  ;
}

/* Logo */
.navbar img {
  width: 60px;
  height: 60px;
  margin-right: 10px;
}

/* page layout */
.page {
  width: min(1150px, 95%);
  margin: 140px auto 60px;
  padding: 0 12px;
}

/* intro */
.intro {
  text-align: center;
  margin-bottom: 28px;
}

.intro h2 {
  margin: 0 0 8px 0;
  font-size: 2rem;
}

.intro p {
  color: var(--muted);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.5;
}

/* cards */
.cards {
  display: flex;
  gap: var(--card-gap);
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
}

.card {
  background: var(--panel);
  border-radius: 18px;
  overflow: hidden;
  width: calc((100% - (var(--card-gap) * 3)) / 4);
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
  margin-top: 70px !important;
  margin-bottom: 50px !important;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.card-media {
  width: 100%;
  height: 220px;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 16px;
  color: var(--text);
}

.card-body h3 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
}

.role {
  margin: 0 0 8px 0;
  font-weight: 600;
  color: var(--accent);
}

.desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
  font-size: 0.95rem;
}

/* more info */
.more-info {
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.02);
  padding: 18px;
  border-radius: 12px;
  color: var(--muted);
}

.more-info h4 {
  margin: 0 0 8px 0;
  color: var(--text)
}

footer {
  background-color: #1c1533;
  padding: 40px 0;
  text-align: center;
  color: #b0a9c1;
}

.footer-link {
  color: #3ec1d3;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #ffd54f;
}

/* Efeito de sobreposição nos ícones do footer */
.icon-container {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 25px;
}

.footer-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  transition: opacity 0.3s ease;
}

.icon-default {
  opacity: 1;
}

.icon-hover {
  opacity: 0;
}

.icon-container:hover .icon-default {
  opacity: 0;
}

.icon-container:hover .icon-hover {
  opacity: 1;
}