/* ============================================================
   Protegido.Digital — Credenciais / Certificações
   ============================================================ */

/* ── Page header ── */
.page-header {
  padding: calc(72px + 56px) 0 56px;
  background: var(--c-bg);
  position: relative; overflow: hidden;
  text-align: center;
}
.page-header-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.page-header-content { position: relative; z-index: 2; }
.page-header-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.page-header-sub {
  color: var(--c-muted); font-size: clamp(0.92rem, 2vw, 1.05rem);
  max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* ── Perfil resumido ── */
.cred-profile {
  padding: 48px 0 0;
  background: var(--c-bg);
}
.cred-profile-inner {
  display: flex; align-items: center; gap: 28px;
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: 20px; padding: 28px 32px;
  flex-wrap: wrap;
}
.cred-profile-avatar {
  width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0;
  background: rgba(73,235,211,0.08);
  border: 2.5px solid rgba(73,235,211,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--c-accent);
  overflow: hidden;
}
.cred-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cred-profile-info { flex: 1; min-width: 200px; }
.cred-profile-info h2 {
  font-size: 1.25rem; font-weight: 800; margin-bottom: 4px;
}
.cred-profile-title {
  font-size: 0.84rem; color: var(--c-muted); margin-bottom: 14px;
}
.cred-profile-links { display: flex; gap: 10px; flex-wrap: wrap; }
.cred-profile-link {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem; font-weight: 600; color: var(--c-muted);
  text-decoration: none; transition: all 0.2s ease;
}
.cred-profile-link:hover {
  border-color: rgba(73,235,211,0.25);
  color: var(--c-accent);
  background: rgba(73,235,211,0.06);
}
.cred-profile-link i { font-size: 0.8rem; }
.cred-profile-stats {
  display: flex; gap: 0;
  border: 1px solid var(--c-border);
  border-radius: 14px; overflow: hidden;
  flex-shrink: 0;
}
.cred-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 24px;
  border-right: 1px solid var(--c-border);
  background: rgba(255,255,255,0.02);
  min-width: 80px;
}
.cred-stat:last-child { border-right: none; }
.cred-stat-num {
  font-size: 1.6rem; font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  background: var(--g-main);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.cred-stat-label {
  font-size: 0.65rem; color: var(--c-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; margin-top: 4px; white-space: nowrap;
}

/* ── Toolbar — busca + filtros (visual unificado) ── */
.cred-filters-section {
  padding: 32px 0 0;
  background: var(--c-bg);
}

/* Container que une busca + filtros num bloco coeso (linha única) */
.cred-toolbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px 10px 14px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(73,235,211,0.04) 0%, transparent 60%),
    rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  margin-bottom: 24px;
}

/* Search — compacto à esquerda */
.cred-search {
  position: relative;
  display: flex; align-items: center;
  width: 280px;
  flex-shrink: 0;
  margin: 0;
}
.cred-search > i {
  position: absolute; left: 14px;
  color: rgba(73,235,211,0.55);
  font-size: 0.82rem;
  pointer-events: none;
  z-index: 2;
  transition: color 0.2s ease;
}
.cred-search:focus-within > i { color: var(--c-accent); }
.cred-search input {
  width: 100%;
  height: 38px;
  padding: 0 38px 0 38px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  color: var(--c-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  outline: none;
  transition: all 0.22s ease;
}
.cred-search input:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.34);
}
.cred-search input:focus {
  border-color: rgba(73,235,211,0.5);
  background: rgba(0,0,0,0.4);
  box-shadow: 0 0 0 3px rgba(73,235,211,0.08);
}
.cred-search input::placeholder {
  color: rgba(255,255,255,0.32);
  font-weight: 400;
}
.cred-search-clear {
  position: absolute;
  right: 6px;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  transition: all 0.2s ease;
}
.cred-search-clear:hover {
  background: rgba(239,68,68,0.12);
  border-color: rgba(239,68,68,0.25);
  color: #fca5a5;
}

/* Divisor vertical entre busca e filtros */
.cred-toolbar-divider {
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  flex-shrink: 0;
}

/* Filtros — chips inline à direita, com scroll horizontal e fade nas bordas */
.cred-filters-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.cred-filters-wrap::before,
.cred-filters-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 24px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.cred-filters-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(11,12,18,0.85) 0%, transparent 100%);
}
.cred-filters-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(11,12,18,0.85) 0%, transparent 100%);
}
.cred-filters-wrap.has-overflow-left::before  { opacity: 1; }
.cred-filters-wrap.has-overflow-right::after  { opacity: 1; }

.cred-filters {
  display: flex;
  gap: 6px;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
  scroll-behavior: smooth;
}
.cred-filters::-webkit-scrollbar { display: none; }
.cred-filters-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.32);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 4px;
}
.cred-filters-label i { font-size: 0.66rem; opacity: 0.7; }

.cred-filter {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px;
  border-radius: 9px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 32px;
  letter-spacing: 0.01em;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}
.cred-filter i {
  font-size: 0.7rem;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.cred-filter:hover {
  border-color: rgba(73,235,211,0.22);
  color: var(--c-white);
  background: rgba(73,235,211,0.05);
}
.cred-filter:hover i { opacity: 1; }
.cred-filter.active {
  background: linear-gradient(135deg, rgba(73,235,211,0.16) 0%, rgba(73,235,211,0.06) 100%);
  border-color: rgba(73,235,211,0.45);
  color: var(--c-accent);
  box-shadow:
    inset 0 1px 0 rgba(73,235,211,0.18),
    0 2px 10px -2px rgba(73,235,211,0.25);
}
.cred-filter.active i { opacity: 1; }

/* ── Grid ── */
.cred-grid-section {
  padding: 28px 0 80px;
  background: var(--c-bg);
}
.cred-count {
  font-size: 0.78rem; color: var(--c-dim);
  margin-bottom: 20px; font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cred-count::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 8px rgba(73,235,211,0.6);
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* ── Grid compacto, cards do mesmo tamanho ── */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  perspective: 1500px;
}

/* ── TROPHY CARD — formato vertical premium tipo carteirinha ── */
.cred-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(73,235,211,0.04) 0%, rgba(13,14,26,0.85) 40%, rgba(13,14,26,0.95) 100%),
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(73,235,211,0.06), transparent 60%);
  border: 1px solid rgba(73,235,211,0.1);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1);
  transform-style: preserve-3d;
  will-change: transform;
  display: flex; flex-direction: column;
  min-height: 340px;
}

/* Holographic shimmer overlay — animated gradient that scans the card */
.cred-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(73,235,211,0.06) 45%,
    rgba(73,235,211,0.12) 50%,
    rgba(73,235,211,0.06) 55%,
    transparent 70%
  );
  background-size: 250% 250%;
  background-position: 100% 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 4;
}
/* Cursor-following spotlight */
.cred-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(73,235,211,0.18),
    rgba(73,235,211,0.05) 30%,
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 3;
}
.cred-card:hover {
  border-color: rgba(73,235,211,0.4);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(73,235,211,0.15),
    0 0 50px rgba(73,235,211,0.12);
}
.cred-card:hover::before {
  opacity: 1;
  animation: cred-shimmer 2.4s linear infinite;
}
.cred-card:hover::after { opacity: 1; }
@keyframes cred-shimmer {
  0%   { background-position: 100% 100%; }
  100% { background-position: -100% -100%; }
}

/* Badges row — STATUS sempre visível, no topo */
.cred-card-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 0;
  position: relative;
  z-index: 5;
  gap: 8px;
  min-height: 30px;
}
.cred-card-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 9px;
  border-radius: 50px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  background: linear-gradient(135deg, rgba(73,235,211,0.08) 0%, rgba(73,235,211,0.02) 100%);
  border: 1px solid rgba(73,235,211,0.28);
  color: var(--c-accent);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 1 auto;
  min-width: 0;
  cursor: default;
  position: relative;
}
.cred-card-cat::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(73,235,211,0.7);
}
.cred-card-cat i {
  font-size: 0.6rem;
  flex-shrink: 0;
  opacity: 0.85;
  display: none; /* substituido pelo dot */
}
.cred-card-status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 9px;
  border-radius: 50px;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  background: transparent;
}
.cred-card-status.active {
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.4);
}
.cred-card-status.active::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.95), 0 0 14px rgba(74,222,128,0.5);
  flex-shrink: 0;
  animation: cred-pulse 2s ease-in-out infinite;
}
@keyframes cred-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.75); }
}
.cred-card-status.expired {
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
}
.cred-card-status.expired::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.5); flex-shrink: 0;
}
.cred-card-status.no-expiry {
  color: var(--c-accent);
  border: 1px solid rgba(73,235,211,0.4);
}
.cred-card-status.no-expiry::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 8px rgba(73,235,211,0.95), 0 0 14px rgba(73,235,211,0.5);
  flex-shrink: 0;
}

/* Hero — logo gigante centralizado */
.cred-card-hero {
  position: relative;
  padding: 12px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  z-index: 2;
}
.cred-card-logo {
  width: 200px; height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5.5rem;
  position: relative;
  transform: translateZ(30px);
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.cred-card:hover .cred-card-logo {
  transform: translateZ(50px) scale(1.04);
}
.cred-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* High-quality scaling for upscaled images */
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.6));
  transition: filter 0.3s ease;
}
.cred-card:hover .cred-card-logo img {
  filter: drop-shadow(0 14px 36px rgba(73,235,211,0.4)) drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

/* Body */
.cred-card-body {
  padding: 0 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 2;
  transform: translateZ(10px);
  text-align: center;
}
.cred-card-issuer {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  position: relative;
  padding-bottom: 8px;
}
.cred-card-issuer::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
}
.cred-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4em;
  margin-top: 4px;
}

/* Detalhes — 2 colunas estilo stat-card */
.cred-card-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(73,235,211,0.08);
  background: rgba(73,235,211,0.025);
  border-radius: 10px;
  overflow: hidden;
}
.cred-card-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  background: rgba(8,10,18,0.4);
}
.cred-card-detail-label {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--c-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cred-card-detail-label i {
  font-size: 0.6rem;
  color: var(--c-accent);
  opacity: 0.7;
}
.cred-card-detail-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-white);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.005em;
}
.cred-card-detail--single {
  grid-column: span 2;
}

/* Footer */
.cred-card-footer {
  padding: 12px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid rgba(73,235,211,0.08);
  background: linear-gradient(180deg, transparent, rgba(73,235,211,0.03));
  position: relative;
  z-index: 2;
  transform: translateZ(10px);
}
.cred-card-verify {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 9px;
  background: rgba(73,235,211,0.08);
  border: 1px solid rgba(73,235,211,0.22);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-accent);
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.cred-card-verify:hover {
  background: rgba(73,235,211,0.18);
  border-color: rgba(73,235,211,0.5);
}
.cred-card-verify i { font-size: 0.7rem; }

/* Card expirado */
.cred-card--expired { opacity: 0.55; filter: saturate(0.6); }
.cred-card--expired:hover { opacity: 1; filter: saturate(1); }

/* ═══════════════════════════════════════════════════════
   DESTAQUE — TUDO em dourado, tratamento real de carta premium
═══════════════════════════════════════════════════════ */
.cred-card--destaque {
  border-color: rgba(245,158,11,0.35);
  background:
    linear-gradient(180deg, rgba(245,158,11,0.05) 0%, rgba(13,14,26,0.85) 40%, rgba(13,14,26,0.95) 100%),
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(245,158,11,0.08), transparent 60%);
  box-shadow: 0 4px 24px rgba(245,158,11,0.08), 0 0 0 1px rgba(245,158,11,0.15);
}
.cred-card--destaque:hover {
  border-color: rgba(245,158,11,0.5);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(245,158,11,0.4),
    0 0 50px rgba(245,158,11,0.18);
}

/* Animated golden line on top */
.cred-card--destaque > .cred-card-shine {
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(245,158,11,0.4) 25%,
    #fbbf24 50%,
    rgba(245,158,11,0.4) 75%,
    transparent 100%);
  background-size: 200% 100%;
  animation: cred-shine-gold 3s linear infinite;
  z-index: 5;
}
@keyframes cred-shine-gold {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.cred-card-shine { display: none; }

/* Holographic shimmer também dourado no destaque */
.cred-card--destaque::before {
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(245,158,11,0.06) 45%,
    rgba(251,191,36,0.14) 50%,
    rgba(245,158,11,0.06) 55%,
    transparent 70%
  );
  background-size: 250% 250%;
  background-position: 100% 100%;
}
.cred-card--destaque::after {
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(251,191,36,0.2),
    rgba(245,158,11,0.06) 30%,
    transparent 60%
  );
}

/* Categoria com coroa (destaque) — substitui o dot por uma coroa dourada */
.cred-card--destaque .cred-card-cat {
  border-color: rgba(245,158,11,0.5);
  color: #fbbf24;
  background: linear-gradient(135deg, rgba(251,191,36,0.12) 0%, rgba(251,191,36,0.03) 100%);
}
.cred-card--destaque .cred-card-cat::before {
  content: '\f521'; /* fa-crown */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  width: auto; height: auto;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
  color: #fbbf24;
  font-size: 0.62rem;
  margin-right: 1px;
}

/* Status agora em dourado também (mesmo se "Ativo") */
.cred-card--destaque .cred-card-status {
  color: #fbbf24 !important;
  border-color: rgba(245,158,11,0.5) !important;
}
.cred-card--destaque .cred-card-status::before {
  background: #fbbf24 !important;
  box-shadow: 0 0 10px rgba(251,191,36,0.95), 0 0 16px rgba(251,191,36,0.5) !important;
}

/* Emissor — dourado */
.cred-card--destaque .cred-card-issuer {
  color: #fbbf24;
}
.cred-card--destaque .cred-card-issuer::after {
  background: linear-gradient(90deg, transparent, #fbbf24, transparent);
}

/* Detalhes — labels e ícones em dourado */
.cred-card--destaque .cred-card-details {
  background: rgba(245,158,11,0.04);
  border-top-color: rgba(245,158,11,0.12);
}
.cred-card--destaque .cred-card-detail-label i {
  color: #fbbf24;
}

/* Footer — borda dourada */
.cred-card--destaque .cred-card-footer {
  border-top-color: rgba(245,158,11,0.15);
  background: linear-gradient(180deg, transparent, rgba(245,158,11,0.04));
}

/* Botão "Verificar credencial" dourado */
.cred-card--destaque .cred-card-verify {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.35);
  color: #fbbf24;
}
.cred-card--destaque .cred-card-verify:hover {
  background: rgba(245,158,11,0.2);
  border-color: rgba(251,191,36,0.6);
}

/* Drop-shadow do logo em tom dourado no hover */
.cred-card--destaque:hover .cred-card-logo img {
  filter: drop-shadow(0 14px 36px rgba(251,191,36,0.4)) drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

/* Load more — pagination button */
.cred-loadmore-wrap {
  display: flex;
  justify-content: center;
  margin: 36px 0 0;
}
.cred-loadmore {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px;
  background: linear-gradient(135deg, rgba(73,235,211,0.06) 0%, rgba(73,235,211,0.02) 100%);
  border: 1px solid rgba(73,235,211,0.25);
  border-radius: 50px;
  color: var(--c-accent);
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.cred-loadmore::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(73,235,211,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.cred-loadmore:hover {
  border-color: rgba(73,235,211,0.6);
  background: linear-gradient(135deg, rgba(73,235,211,0.12) 0%, rgba(73,235,211,0.04) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(73,235,211,0.4);
}
.cred-loadmore:hover::before {
  transform: translateX(100%);
}
.cred-loadmore:active {
  transform: translateY(0);
}
.cred-loadmore i {
  font-size: 0.78rem;
  transition: transform 0.3s ease;
}
.cred-loadmore:hover i {
  transform: translateY(2px);
}
.cred-loadmore-count {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  background: rgba(73,235,211,0.18);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Empty state */
.cred-empty {
  text-align: center; padding: 60px 0;
  color: var(--c-dim);
}
.cred-empty i {
  font-size: 2.5rem; opacity: 0.15; margin-bottom: 14px;
  display: block; color: var(--c-accent);
}
.cred-empty p { font-size: 0.88rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .cred-profile-inner { flex-direction: column; align-items: flex-start; }
  .cred-profile-stats { width: 100%; }
  .cred-stat { flex: 1; }
  .cred-grid { grid-template-columns: 1fr; }
  .page-header { padding: calc(72px + 36px) 0 36px; }
  /* Toolbar empilha em mobile */
  .cred-toolbar { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
  .cred-search { width: 100%; }
  .cred-toolbar-divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent); }
}
@media (max-width: 480px) {
  .cred-profile-inner { padding: 20px; }
  .cred-filters { gap: 6px; }
  .cred-filter { padding: 6px 11px; font-size: 0.74rem; }
}
