/* Customizações do site de Alex Uiliams sobre o template iPortfolio */

.service-item .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.service-item .tag-chip {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

.service-item .tag-chip.chip-alt {
  background: color-mix(in srgb, #0d9488, transparent 88%);
  color: #0d9488;
}

/* Portfolio cover art should fill the card like the original stock photos did */
/*
.portfolio .portfolio-content img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
*/

/* Competências: cartões que viram (seção #services) */
.comp-group { margin-bottom: 2rem; }
.comp-group-title { font-size: 20px; font-weight: 700; margin: 0 0 .75rem; color: var(--heading-color); }
.comp-group-title span { font-size: 14px; font-weight: 400; color: var(--default-color); margin-left: .5rem; }

.comp-card { position: relative; height: 160px; perspective: 800px; cursor: pointer; outline: none; }
.comp-card:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; border-radius: 10px; }
.comp-inner { position: absolute; inset: 0; transition: transform .5s; transform-style: preserve-3d; }
.comp-face { position: absolute; inset: 0; padding: 12px; border-radius: 10px; display: flex; flex-direction: column; justify-content: space-between; -webkit-backface-visibility: hidden; backface-visibility: hidden; }

.comp-front { background: var(--surface-color); border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%); }
.comp-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-color); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.comp-name { font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--heading-color); }

.comp-back { transform: rotateY(180deg); background: #0f7db3; color: #fff; }
.comp-evid { font-size: 13px; line-height: 1.3; }
.comp-years { display: flex; justify-content: space-between; font-size: 11px; opacity: .85; margin-bottom: 3px; }
.comp-line { position: relative; display: flex; justify-content: space-between; align-items: center; }
.comp-line::before { content: ""; position: absolute; left: 5px; right: 5px; top: 50%; border-top: 1.5px solid rgba(255, 255, 255, .4); }
.comp-line i { position: relative; width: 11px; height: 11px; border-radius: 50%; box-sizing: border-box; background: #0f7db3; border: 1.5px solid rgba(255, 255, 255, .4); }
.comp-line i.is-part { border-color: #fff; }
.comp-line i.is-core { background: #fff; border-color: #fff; }
.comp-cap { font-size: 11px; opacity: .85; margin-top: 3px; }
.comp-legend { font-size: 13px; opacity: .8; margin: 1rem 0 0; }

.comp-card:focus-visible .comp-inner,
.comp-card.is-flipped .comp-inner { transform: rotateY(180deg); }
@media (hover: hover) { .comp-card:hover .comp-inner { transform: rotateY(180deg); } }
@media (prefers-reduced-motion: reduce) { .comp-inner { transition: none; } }