/* MADMIX roles strip module
   Section immediately after the Hero. */

#credenciais-topo {
  padding: 40px 6vw;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.roles-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.roles-strip-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0 0 24px;
}

.top-roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}

.roles-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.roles-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.roles-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.58);
}

.role-avatar-link {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  opacity: 0.78;
  transition: border-color .18s, opacity .18s, transform .18s;
}

.role-avatar-link:hover {
  border-color: var(--red-text);
  opacity: 1;
  transform: translateY(-1px);
}

.role-avatar-link picture,
.roles-avatar picture,
.roles-avatar img {
  width: 100%;
  height: 100%;
  display: block;
}

.role-avatar-link img,
.roles-avatar img {
  object-fit: cover;
  object-position: center top;
}

.roles-copy {
  flex: 1;
  min-width: 0;
}

.roles-name {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 3px;
  color: var(--white);
}

.roles-title {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.roles-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 5px;
}

.roles-footer {
  margin-top: 20px;
  text-align: right;
}

.roles-more {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 1px;
}

.roles-more:hover {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.35);
}

@media (max-width: 640px) {
  #credenciais-topo .top-roles-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (min-width: 641px) and (max-width: 1080px) {
  #credenciais-topo .top-roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
