.left-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

/* ===== PERFIL ===== */
.profile-header {
  text-align: center;
  padding: 0 0 16px 0;
}

/* .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
} */

.role {
  display: block;
  font-size: 15px;
  color: #666;
}

/* ===== STACK ===== */
.profile-section {
  border-top: 1px solid #eee;
  padding: 12px 16px;
}

.profile-section h3 {
  font-size: 14px;
  margin-bottom: 8px;
  /* color: #333; */
}

.stack-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-icons img {
  width: 28px;
  height: 28px;
}

/* LOCALIZAÇÃO */
.location {
  display: block;
  font-size: 13px;
  color: #2a2a2a;
  margin-top: 4px;
}

/* RESUMO */
.profile-summary p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* EXPERIÊNCIA */
.experience-list {
  list-style: none;
  padding-left: 0;
}

.experience-list li {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
}

.experience-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

/* LINKS */
.profile-links {
  display: flex;
  gap: 8px;
}

/* ===== STACK SLIDER ===== */
.stack-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 8px;
}

/* TRACK ANIMADO */
.stack-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: scroll-stack 25s linear infinite;
}

/* ÍCONES */
.stack-track img {
  width: 28px;
  height: 28px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.stack-track img:hover {
  opacity: 1;
}

/* ANIMAÇÃO */
@keyframes scroll-stack {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.profile-link {
  flex: 1;
  text-align: center;
  padding: 8px;
  font-size: 14px;
  border-radius: 6px;
  background: rgba(10, 102, 194, 0.15);
  color: var(--accent-primary);
  text-decoration: none;
  transition: background 0.2s ease;
}

.profile-link:hover {
  background: rgba(10, 102, 194, 0.25);
}

.title-first-name {
  padding: 0 7.5px;
  font-weight: 600;
  color: black;
  font-family: "Raleway", sans-serif;
  font-size: 24px;
}

.title-last-name {
  font-size: 24px;
  font-weight: 400;
  color: #cacaca;
  font-family: "Raleway", sans-serif;
}


/* ===== SUMMARY EXPAND ===== */
.profile-summary {
  position: relative;
}

.summary-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Texto oculto inicialmente */
.summary-more {
  display: none;
}

/* Botão */
.summary-toggle {
  margin-top: 8px;
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-primary);
  cursor: pointer;
}

.summary-toggle:hover {
  text-decoration: underline;
}

/* impede reflow externo */
.sidebar-left {
  position: relative;
}

/* conteúdo interno pode crescer sem afetar grid */
.left-inner {
  position: relative;
}

/* Estado expandido */
.profile-summary.expanded .summary-more {
  display: inline;
}

/* ===== STACK ITEM ===== */
.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 48px;
}

/* ÍCONE */
.stack-item img {
  width: 28px;
  height: 28px;
}

/* LABEL */
.stack-item span {
  font-size: 10px;
  line-height: 1;
  color: #6b7280;
  /* cinza elegante */
  white-space: nowrap;
  opacity: 0.9;
}

.stack-item:hover span {
  color: #0a66c2;
  /* azul LinkedIn */
}

/* ===== PERFIL MOBILE / DESKTOP ===== */
.profile-mobile {
  display: none;
}


.profile-cover {
  height: 130px;
  background-image: url("../SVGIcons/1732416468255.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* .profile-header {
  position: relative;
  padding: 0;
  text-align: center;
} */



.profile-info {
  position: relative;
  margin-top: -48px;
  padding-bottom: 16px;
}

.avatar {
  width: 115px;
  height: 115px;
  border-radius: 50%;
  object-fit: cover;

  border: 4px solid #ffffff;
  /* efeito LinkedIn */
  background: #ffffff;
}

.profile-header h2 {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 600;
}

.role {
  display: block;
  font-size: 14px;
  color: #6b7280;
}

.location {
  display: block;
  font-size: 13px;
  color: #9ca3af;
}

@media (max-width: 700px) {
  .profile-desktop {
    display: none;
  }

  .profile-mobile {
    display: block;
    margin-bottom: 16px;
    margin-top: -32px;
  }
}

/* ===== STACK MOBILE (FEED) ===== */
@media (max-width: 700px) {

  .profile-mobile .stack-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    justify-items: center;
  }

  .profile-mobile .stack-icons img {
    width: 32px;
    height: 32px;
    opacity: 0.9;
  }

}




@media (max-width: 700px) {
  .profile-cover {
    height: 170px;

  }

  .avatar {
    margin-top: -53px;
  }
}


@media (max-width: 700px) {
  .profile-info {
    margin-top: -36px;
    /* menos invasão */
    padding-bottom: 12px;
  }

  .avatar {
    width: 120px;
    height: 120px;
    border-width: 3px;
    margin-top: -53px !important;
  }
}