/* v7.50.8.100 — sistema canónico premium de selos do perfil profissional */
.fim-profy-photo-wrap{overflow:visible}


/* Insígnia da fotografia: mesma linguagem visual do selo actual e mesmo hover/shine. */
.fim-profy-photo-badge{
  --stage-accent:#64748b;
  --stage-soft:#f1f5f9;
  --stage-ring:#cbd5e1;
  --stage-metal:#e2e8f0;
  position:absolute;
  z-index:7;
  width:31px;
  height:31px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:50%;
  border:1px solid var(--stage-ring-strong, var(--stage-ring));
  background:var(--stage-wash, #f8fafc);
  color:var(--stage-text, var(--stage-accent));
  box-shadow:0 7px 16px rgba(15,35,52,.12),inset 0 1px 0 rgba(255,255,255,.92);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease,filter .18s ease;
}
.fim-profy-photo-badge::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:radial-gradient(circle at 28% 24%,rgba(255,255,255,.44),rgba(255,255,255,0) 55%);
  pointer-events:none;
}
.fim-profy-photo-badge:hover{
  transform:translateY(-1px) scale(1.04);
  border-color:var(--stage-hover);
  background:var(--stage-wash-hover, var(--stage-wash));
  box-shadow:0 10px 20px rgba(15,35,52,.16),inset 0 1px 0 rgba(255,255,255,.94);
}
.fim-profy-photo-badge i{
  position:relative;
  z-index:2;
  font-size:11px;
  line-height:1;
  color:var(--stage-text, var(--stage-accent));
  text-shadow:0 1px 0 rgba(255,255,255,.28);
}
.fim-profy-photo-badge.is-achievement{left:7px;bottom:7px}

.fim-rank-mini{display:flex;flex-wrap:wrap;align-items:flex-start;gap:9px}
.fim-rank-mini>.fim-profy-stage-system{width:100%}
.fim-profy-stage-system{display:grid;gap:8px}
.fim-profy-stage-badge-list{display:flex;flex-wrap:wrap;align-items:center;gap:8px}

/* Badge premium: gradiente metálico leve, mantendo a cor do estágio sem saturação excessiva. */
.fim-profy-stage-badge,
.fim-profy-stage-medal,
.fim-profy-photo-badge{
  --stage-accent:#64748b;
  --stage-soft:#f1f5f9;
  --stage-ring:#cbd5e1;
  --stage-hover:#94a3b8;
  --stage-wash:#f8fafc;
  --stage-text:#223042;
  --stage-meta:#66768a;
  --stage-metal:#e2e8f0;
}
.fim-profy-stage-badge{
  position:relative;
  min-height:31px;
  padding:0 11px 0 5px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  border-radius:999px;
  background:var(--stage-wash);
  color:var(--stage-text);
  border:1px solid var(--stage-ring);
  box-shadow:0 6px 14px rgba(15,35,52,.07),inset 0 1px 0 rgba(255,255,255,.9),inset 0 -1px 0 rgba(15,35,52,.025);
  white-space:nowrap;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.fim-profy-stage-badge:hover{
  transform:translateY(-1px);
  border-color:var(--stage-hover);
  background:var(--stage-wash-hover);
  box-shadow:0 10px 20px rgba(15,35,52,.10),inset 0 1px 0 rgba(255,255,255,.94),inset 0 -1px 0 rgba(15,35,52,.03);
}
.fim-profy-stage-badge.is-current{border-color:var(--stage-ring-strong)}
.fim-profy-stage-badge-icon{
  width:21px;
  height:21px;
  min-width:21px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:linear-gradient(145deg,#ffffff 0%,var(--stage-soft) 42%,var(--stage-metal) 100%);
  color:var(--stage-accent);
  border:1px solid var(--stage-ring);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88),0 1px 2px rgba(15,35,52,.05);
  font-size:8px;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease,border-color .18s ease;
}
.fim-profy-stage-badge:hover .fim-profy-stage-badge-icon{
  transform:scale(1.05);
  filter:saturate(1.04);
  border-color:var(--stage-ring-strong);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.94),0 3px 8px rgba(15,35,52,.06);
}
.fim-profy-stage-badge-copy{display:inline-flex;align-items:center;min-width:0}
.fim-profy-stage-badge-copy strong,
.fim-profy-stage-badge-copy small{font-size:11px;line-height:1;font-weight:800;letter-spacing:-.004em}
.fim-profy-stage-badge-copy strong{color:var(--stage-text);font-weight:900}
.fim-profy-stage-badge-copy small{color:var(--stage-meta)}
.fim-profy-stage-badge-copy small::before{content:"•";margin:0 6px;color:#94a3b8}

/* v7.50.8.107 — paleta metálica leve: acabamento adquirido/premium; gold continua exclusivo do Elite. */
.fim-profy-stage-badge.tone-slate,.fim-profy-stage-medal.tone-slate,.fim-profy-photo-badge.tone-slate{--stage-accent:#64748b;--stage-soft:#f1f5f9;--stage-metal:#d9e2ea;--stage-ring:#d7e0e7;--stage-ring-strong:#c8d3dc;--stage-hover:#96a6b5;--stage-wash:linear-gradient(135deg,#ffffff 0%,#f4f6f8 48%,#dfe5ea 100%);--stage-wash-hover:linear-gradient(135deg,#ffffff 0%,#eef2f5 44%,#d6dee5 100%);--stage-text:#334155;--stage-meta:#64748b}
.fim-profy-stage-badge.tone-cyan,.fim-profy-stage-medal.tone-cyan,.fim-profy-photo-badge.tone-cyan{--stage-accent:#0786a3;--stage-soft:#ecfeff;--stage-metal:#cfeef3;--stage-ring:#d4edf1;--stage-ring-strong:#c1e2e8;--stage-hover:#72cad8;--stage-wash:linear-gradient(135deg,#ffffff 0%,#effafb 48%,#d7eef2 100%);--stage-wash-hover:linear-gradient(135deg,#ffffff 0%,#e9f7f9 44%,#cde8ed 100%);--stage-text:#105064;--stage-meta:#397486}
.fim-profy-stage-badge.tone-blue,.fim-profy-stage-medal.tone-blue,.fim-profy-photo-badge.tone-blue{--stage-accent:#2b61c9;--stage-soft:#eff6ff;--stage-metal:#d8e5fb;--stage-ring:#d9e4f4;--stage-ring-strong:#cad9ef;--stage-hover:#91afe5;--stage-wash:linear-gradient(135deg,#ffffff 0%,#f0f5fc 48%,#dbe6f6 100%);--stage-wash-hover:linear-gradient(135deg,#ffffff 0%,#eaf1fa 44%,#d2e0f2 100%);--stage-text:#254886;--stage-meta:#5571a4}
.fim-profy-stage-badge.tone-green,.fim-profy-stage-medal.tone-green,.fim-profy-photo-badge.tone-green{--stage-accent:#188449;--stage-soft:#f0fdf4;--stage-metal:#d7efdf;--stage-ring:#d9eadf;--stage-ring-strong:#c9e1d2;--stage-hover:#82c89a;--stage-wash:linear-gradient(135deg,#ffffff 0%,#f0f8f2 48%,#dcecdf 100%);--stage-wash-hover:linear-gradient(135deg,#ffffff 0%,#eaf5ee 44%,#d2e6d8 100%);--stage-text:#21643b;--stage-meta:#4e7c5d}
.fim-profy-stage-badge.tone-violet,.fim-profy-stage-medal.tone-violet,.fim-profy-photo-badge.tone-violet{--stage-accent:#7550bd;--stage-soft:#f5f3ff;--stage-metal:#e6defd;--stage-ring:#e1dbef;--stage-ring-strong:#d5cbea;--stage-hover:#ad9bd6;--stage-wash:linear-gradient(135deg,#ffffff 0%,#f5f1fa 48%,#e5ddef 100%);--stage-wash-hover:linear-gradient(135deg,#ffffff 0%,#f0ebf7 44%,#ddd2ea 100%);--stage-text:#5d438d;--stage-meta:#756292}
.fim-profy-stage-badge.tone-coral,.fim-profy-stage-medal.tone-coral,.fim-profy-photo-badge.tone-coral{--stage-accent:#c96638;--stage-soft:#fff7ed;--stage-metal:#f8e0ca;--stage-ring:#eddfd4;--stage-ring-strong:#e4d1c2;--stage-hover:#dfa27f;--stage-wash:linear-gradient(135deg,#ffffff 0%,#fbf3ed 48%,#eaded4 100%);--stage-wash-hover:linear-gradient(135deg,#ffffff 0%,#f8eee7 44%,#e4d5ca 100%);--stage-text:#8e4a2c;--stage-meta:#9b6a55}
.fim-profy-stage-badge.tone-gold,.fim-profy-stage-medal.tone-gold,.fim-profy-photo-badge.tone-gold{--stage-accent:#a56a00;--stage-soft:#fff8dc;--stage-metal:#ecd79f;--stage-ring:rgba(180,83,9,.18);--stage-ring-strong:rgba(180,83,9,.24);--stage-hover:rgba(180,83,9,.32);--stage-wash:linear-gradient(135deg,#fff7cc,#f5c542);--stage-wash-hover:linear-gradient(135deg,#fff7cc,#f5c542);--stage-text:#5f4300;--stage-meta:#7c5b12}


/* v7.50.8.105 — Elite Profissional usa o mesmo fundo do Elite das Entidades. */
.fim-profy-stage-badge.tone-gold{
  background:linear-gradient(135deg,#fff7cc,#f5c542);
  color:#5f4300;
  border-color:rgba(180,83,9,.18);
  box-shadow:0 10px 26px rgba(245,197,66,.18);
}
.fim-profy-stage-badge.tone-gold:hover{
  background:linear-gradient(135deg,#fff7cc,#f5c542);
}
 
.fim-profy-photo-badge.tone-gold,
.fim-profy-photo-badge.tone-gold:hover{
  background:linear-gradient(135deg,#fff7cc,#f5c542);
  color:#5f4300;
  border-color:rgba(180,83,9,.18);
  box-shadow:0 8px 20px rgba(245,197,66,.22),inset 0 1px 0 rgba(255,255,255,.72);
}
.fim-profy-photo-badge.tone-gold i{color:#5f4300}

/* Percurso: medalhas maiores, sem Inicial, com mesma linguagem cromática. */
.fim-profy-stage-medals{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding-top:1px}
.fim-profy-stage-medal{
  width:30px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--stage-wash);
  color:var(--stage-accent);
  border:1px solid var(--stage-ring);
  box-shadow:0 5px 12px rgba(15,35,52,.06),inset 0 1px 0 rgba(255,255,255,.9);
  font-size:10px;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease;
}
.fim-profy-stage-medal:hover{
  transform:translateY(-2px);
  border-color:var(--stage-hover);
  background:var(--stage-wash-hover, var(--stage-wash));
  box-shadow:0 9px 16px rgba(15,35,52,.09),inset 0 1px 0 rgba(255,255,255,.95);
}

@media(max-width:720px){
  .fim-profy-photo-badge{width:28px;height:28px}
  .fim-profy-photo-badge i{font-size:10px}
  .fim-profy-photo-badge.is-achievement{left:4px;bottom:4px}
  .fim-profy-stage-badge{min-height:30px;padding:0 10px 0 5px}
  .fim-profy-stage-badge-copy strong,.fim-profy-stage-badge-copy small{font-size:10.5px}
  .fim-profy-stage-badge-copy small::before{margin:0 5px}
  .fim-profy-stage-medal{width:28px;height:28px;font-size:9.5px}
}

/* v7.50.8.103 — o mesmo badge no perfil, homepage e pesquisas de Profissionais. */
.fim-profy-stage-system.is-card{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-width:0;
  max-width:100%;
  vertical-align:middle;
}
.fim-profy-stage-system.is-card .fim-profy-stage-badge-list{
  gap:6px;
  flex-wrap:wrap;
}
.fim-profy-stage-system.is-card .fim-profy-stage-badge{
  min-height:31px;
}
.fpx-rankline>.fim-profy-stage-system.is-card{
  flex:1 1 100%;
}
.fim-home-pro-rank-row>.fim-profy-stage-system.is-card{
  grid-column:1/-1;
  width:100%;
}
.fim-home-pro-card-v18 .fim-profy-stage-badge-list{
  align-items:flex-start;
}
.fim-home-pro-card-v18 .fim-home-pro-rank-progress{
  grid-column:1/-1;
  width:100%;
  margin-top:2px;
}
.fpx-result-grid.is-compact .fim-profy-stage-system.is-card{
  display:inline-flex!important;
}
@media(max-width:720px){
  .fim-profy-stage-system.is-card .fim-profy-stage-badge-list{gap:5px}
  .fpx-rankline>.fim-profy-stage-system.is-card{flex-basis:100%}
}
