/* ========================================
   BREADCRUMB NAVIGATION
   ======================================== */

.breadcrumb-wrapper {
  background: var(--bg, #0f172a);
  border-bottom: 1px solid var(--border, #334155);
  padding: 12px 0;
  position: sticky;
  top: 70px; /* Abaixo do header */
  z-index: 100;
  backdrop-filter: blur(8px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary, #cbd5e1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item a {
  color: var(--text-secondary, #cbd5e1);
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--accent, #38bdf8);
  background: rgba(56, 189, 248, 0.1);
}

.breadcrumb-item a .breadcrumb-icon {
  font-size: 1rem;
}

.breadcrumb-separator {
  color: var(--muted, #94a3b8);
  font-size: 0.85rem;
  user-select: none;
}

.breadcrumb-item.active {
  color: var(--text, #f1f5f9);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item.active .breadcrumb-icon {
  font-size: 1rem;
  color: var(--accent, #38bdf8);
}

/* Responsividade */
@media (max-width: 768px) {
  .breadcrumb-wrapper {
    top: 60px; /* Header menor no mobile */
    padding: 10px 0;
  }

  .breadcrumb {
    font-size: 0.85rem;
    gap: 6px;
  }

  .breadcrumb-item a {
    padding: 3px 6px;
  }

  /* Esconder ícones em telas muito pequenas */
  @media (max-width: 480px) {
    .breadcrumb-icon {
      display: none;
    }
  }
}

/* Animação de entrada */
.breadcrumb-wrapper {
  animation: breadcrumbSlideDown 0.3s ease;
}

@keyframes breadcrumbSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Schema.org - esconder visualmente mas manter para SEO */
.breadcrumb-schema {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
