/* ============================================================
   TRAMPIX — HOMES (cliente e prestador)
   Mobile-first. Roxo sólido do logo (#41009A) em BLOCO: header + topo da
   home, como momento de marca. Abaixo, base quase preta com leve toque de
   roxo. Âmbar #FCBA04 é a cor de ação. Sem glows.
   ============================================================ */

body.page-home {
    --hx-brand: #41009a;
    --hx-bg: #0d0a16;
    --hx-surface: #19142a;
    --hx-raised: #241d3a;
    --hx-line: rgba(255, 255, 255, .08);
    --hx-line-strong: rgba(255, 255, 255, .17);
    --hx-text: #ffffff;
    --hx-muted: #ada6c2;
    --hx-lilac: #c6b2ff;
    --hx-amber: #fcba04;
    --hx-on-amber: #170b33;
    --hx-font: 'Onest', 'Manrope', system-ui, sans-serif;

    background: var(--hx-bg);
    color: var(--hx-text);
    font-family: var(--hx-font);
    padding-top: 64px;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

html:has(body.page-home) {
    background: #0d0a16;
}

body.page-home::before {
    display: none !important;
}

body.page-home .discovery-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* ---------- Header (cores e componentes vêm do tema.css) ---------- */

body.page-home .header__inner {
    height: 64px;
    width: min(1120px, calc(100% - 40px));
}

/* ---------- Estrutura ---------- */

.hx {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0 20px 40px;
    font-family: var(--hx-font);
}

body.page-home.provider-home-mode .hx {
    display: none !important;
}

.hx h1,
.hx h2,
.hx p {
    margin: 0;
}

/* ---------- Hero ---------- */

.hx-hero {
    display: grid;
    gap: 24px;
    padding-top: 24px;
}

.hx-greet {
    margin-bottom: 10px !important;
    font-size: 15px;
    font-weight: 500;
    color: var(--hx-muted);
}

.hx-greet span {
    color: var(--hx-text);
    font-weight: 600;
}

.hx-title {
    max-width: 11ch;
    font-family: var(--hx-font);
    font-size: clamp(32px, 9vw, 52px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--hx-text);
    text-wrap: balance;
}

/* ---------- Busca ---------- */

.hx-search {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 56px;
    margin-top: 20px;
    padding: 0 18px;
    background: var(--hx-surface);
    border: 1.5px solid var(--hx-line);
    border-radius: 16px;
    transition: border-color .15s ease;
}

.hx-search:focus-within {
    border-color: var(--hx-amber);
}

.hx-search .bi {
    font-size: 18px;
    color: var(--hx-muted);
    flex: none;
}

.hx-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--hx-text);
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
}

.hx-search input::placeholder {
    color: #a79cc8;
    font-weight: 400;
}

.hx-search input::-webkit-search-cancel-button {
    display: none;
}

/* ---------- Categorias ---------- */

.hx-cats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 10px;
    margin-top: 24px;
}

.hx-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--hx-text);
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.hx-cat__icon {
    display: grid;
    place-items: center;
    width: 100%;
    height: 64px;
    border-radius: 18px;
    background: var(--hx-surface);
    border: 1px solid var(--hx-line);
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.hx-cat__icon .bi {
    font-size: 24px;
    line-height: 1;
}

.hx-cat__label {
    max-width: 100%;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hx-cat:hover .hx-cat__icon {
    background: var(--hx-raised);
}

.hx-cat[aria-pressed="true"] .hx-cat__icon {
    background: var(--hx-amber);
    border-color: var(--hx-amber);
    color: var(--hx-on-amber);
}

.hx-cat[aria-pressed="true"] .hx-cat__label {
    color: var(--hx-amber);
}

.hx-cat--all .hx-cat__icon {
    background: transparent;
    border: 1px dashed var(--hx-line-strong);
    color: var(--hx-muted);
}

.hx-cat:focus-visible {
    outline: none;
}

.hx-cat:focus-visible .hx-cat__icon {
    outline: 2px solid var(--hx-amber);
    outline-offset: 2px;
}

/* ---------- Card de orçamento ---------- */

.hx-request {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 20px 18px 20px 22px;
    border-radius: 22px;
    background: var(--hx-amber);
    color: var(--hx-on-amber);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.hx-request__text {
    display: grid;
    gap: 6px;
}

.hx-request__text strong {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.hx-request__text span {
    font-size: 14px;
    line-height: 1.45;
    color: rgba(23, 11, 51, .76);
}

.hx-request__go {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--hx-on-amber);
    color: var(--hx-amber);
    font-size: 18px;
    transition: transform .15s ease;
}

.hx-request:hover {
    color: var(--hx-on-amber);
}

.hx-request:hover .hx-request__go {
    transform: translate(2px, -2px);
}

.hx-request:focus-visible {
    outline: 2px solid var(--hx-text);
    outline-offset: 3px;
}

/* ---------- Seções ---------- */

.hx-section {
    margin-top: 36px;
}

.hx-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.hx-section h2 {
    font-family: var(--hx-font);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--hx-text);
}

.hx-section__sub {
    margin-top: 2px !important;
    font-size: 13.5px;
    color: var(--hx-muted);
}

.hx-link {
    flex: none;
    padding: 8px 0;
    border: 0;
    background: none;
    color: var(--hx-lilac);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.hx-link:hover {
    color: var(--hx-text);
}

/* ---------- Lista de prestadores ---------- */

.hx-list {
    margin-top: 14px;
    background: var(--hx-surface);
    border: 1px solid var(--hx-line);
    border-radius: 20px;
    overflow: hidden;
}

.hx-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    color: var(--hx-text);
    text-decoration: none;
    transition: background .12s ease;
}

.hx-row + .hx-row {
    border-top: 1px solid var(--hx-line);
}

.hx-row:hover {
    background: var(--hx-raised);
    color: var(--hx-text);
}

.hx-row:focus-visible {
    outline: 2px solid var(--hx-amber);
    outline-offset: -2px;
}

.hx-row__avatar {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--hx-raised);
    color: var(--hx-lilac);
    font-size: 16px;
    font-weight: 700;
    overflow: hidden;
}

.hx-row__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hx-row__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hx-row__name,
.hx-row__service {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hx-row__name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.hx-row__service {
    margin-top: 1px;
    font-size: 13.5px;
    line-height: 1.35;
    color: var(--hx-muted);
}

.hx-row__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    font-size: 12.5px;
    min-width: 0;
}

.hx-row__rating {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.hx-row__rating .bi {
    font-size: 12px;
    color: var(--hx-amber);
}

.hx-row__new {
    flex: none;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(205, 187, 255, .14);
    color: var(--hx-lilac);
    font-size: 11.5px;
    font-weight: 600;
}

.hx-row__cat {
    color: var(--hx-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hx-row__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.hx-row__price small {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--hx-muted);
}

.hx-row--skel {
    height: 81px;
    background: linear-gradient(90deg, transparent 0, rgba(255, 255, 255, .05) 50%, transparent 100%) var(--hx-surface);
    background-size: 200% 100%;
    animation: hx-skel 1.4s ease-in-out infinite;
}

@keyframes hx-skel {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

.hx-empty {
    display: grid;
    justify-items: start;
    gap: 6px;
    padding: 24px 20px;
}

.hx-empty strong {
    font-size: 16px;
    font-weight: 600;
}

.hx-empty span {
    font-size: 14px;
    line-height: 1.5;
    color: var(--hx-muted);
}

.hx-empty a {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--hx-amber);
    color: var(--hx-on-amber);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* ---------- Cards de serviço (padrão marketplace) ---------- */

.hx-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
    margin-top: 16px;
}

.hx-card {
    position: relative;
    min-width: 0;
}

.hx-card__link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--hx-text);
    text-decoration: none;
    border-radius: 16px;
}

.hx-card__link:focus-visible {
    outline: 2px solid var(--hx-amber);
    outline-offset: 4px;
}

.hx-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: var(--hx-surface);
}

.hx-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.hx-card__link:hover .hx-card__media img {
    transform: scale(1.03);
}

.hx-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: var(--hx-raised);
    color: var(--hx-lilac);
    font-size: 34px;
}

.hx-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff;
    color: #170b33;
    font-size: 12px;
    font-weight: 600;
}

.hx-card__fav {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(13, 10, 22, .55);
    color: #fff;
    font-size: 17px;
    cursor: pointer;
}

.hx-card__fav[aria-pressed="true"] {
    color: var(--hx-amber);
}

.hx-card__fav:focus-visible {
    outline: 2px solid var(--hx-amber);
    outline-offset: 2px;
}

.hx-card__body {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.hx-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.hx-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.3;
}

.hx-card__rating {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13.5px;
    font-weight: 600;
}

.hx-card__rating .bi {
    font-size: 12px;
    color: var(--hx-amber);
}

.hx-card__rating small {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--hx-muted);
}

.hx-card__provider {
    font-size: 13.5px;
    color: var(--hx-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hx-card__price {
    margin-top: 2px;
    font-size: 13.5px;
    color: var(--hx-muted);
}

.hx-card__price b {
    font-size: 15px;
    font-weight: 700;
    color: var(--hx-text);
    font-variant-numeric: tabular-nums;
}

.hx-card--skel {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background: linear-gradient(90deg, transparent 0, rgba(255, 255, 255, .05) 50%, transparent 100%) var(--hx-surface);
    background-size: 200% 100%;
    animation: hx-skel 1.4s ease-in-out infinite;
}

.hx-grid > .hx-empty {
    grid-column: 1 / -1;
    background: var(--hx-surface);
    border: 1px solid var(--hx-line);
    border-radius: 20px;
}

.hx-request__go-label {
    display: none;
}

/* Duas colunas no celular: avaliação vai para baixo do título */
@media (max-width: 639px) {
    .hx-card__top {
        flex-direction: column;
        gap: 2px;
    }

    .hx-card__rating {
        order: 1;
    }
}

@media (min-width: 640px) {
    .hx-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 16px;
    }
}

/* ---------- Catálogo completo (tela cheia no celular) ---------- */

.hx-sheet {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    font-family: var(--hx-font);
}

.hx-sheet[hidden] {
    display: none;
}

.hx-sheet__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 3, 20, .64);
}

.hx-sheet__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-width: 0;
    background: var(--hx-bg);
    color: var(--hx-text);
    overflow: hidden;
    animation: hx-sheet-in .2s ease-out;
}

@keyframes hx-sheet-in {
    from { transform: translateY(16px); opacity: 0; }
    to { transform: none; opacity: 1; }
}

.hx-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 0;
}

.hx-sheet__head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--hx-text);
}

.hx-sheet__head p {
    margin: 2px 0 0;
    font-size: 13.5px;
    color: var(--hx-muted);
}

.hx-sheet__close {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--hx-line-strong);
    border-radius: 50%;
    background: transparent;
    color: var(--hx-text);
    font-size: 15px;
    cursor: pointer;
}

.hx-sheet__close:hover {
    background: var(--hx-surface);
}

.hx-sheet__close:focus-visible,
.hx-pill:focus-visible {
    outline: 2px solid var(--hx-amber);
    outline-offset: 2px;
}

.hx-sheet__controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 16px 0 14px;
    border-bottom: 1px solid var(--hx-line);
}

.hx-search--sheet {
    margin: 0 20px;
    height: 50px;
}

.hx-pills {
    display: flex;
    gap: 8px;
    min-width: 0;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-padding-inline: 20px;
}

.hx-pills::-webkit-scrollbar {
    display: none;
}

.hx-pill {
    flex: none;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--hx-line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--hx-text);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.hx-pill:hover {
    background: var(--hx-surface);
}

.hx-pill[aria-pressed="true"] {
    background: var(--hx-amber);
    border-color: var(--hx-amber);
    color: var(--hx-on-amber);
}

.hx-sheet__results {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    overscroll-behavior: contain;
}

.hx-sheet__results .hx-grid {
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .hx-sheet__results .hx-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.hx-sheet__results .hx-list {
    margin-top: 0;
    display: block;
}

/* ---------- Home do prestador ---------- */

body.page-home .provider-home.hp {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0 20px 40px;
    font-family: var(--hx-font);
    color: var(--hx-text);
}

.hp h1,
.hp h2,
.hp p,
.hp dl,
.hp dd {
    margin: 0;
}

.hp-hero {
    display: grid;
    gap: 20px;
    padding-top: 24px;
}

.hp-title {
    max-width: 16ch;
    font-family: var(--hx-font);
    font-size: clamp(28px, 7.6vw, 44px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.hp-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: var(--hx-surface);
    border: 1px solid var(--hx-line);
    border-radius: 18px;
    overflow: hidden;
}

.hp-stats > div {
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
    padding: 14px 16px;
}

.hp-stats > div + div {
    border-left: 1px solid var(--hx-line);
}

.hp-stats dt {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--hx-muted);
}

.hp-stats dd {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.hp-publish {
    margin-top: 20px;
}

.hp-publish[hidden] {
    display: none;
}

.hp-req .hx-row__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.hp-status {
    flex: none;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

.hp-status--new {
    background: rgba(252, 186, 4, .16);
    color: var(--hx-amber);
}

.hp-status--talk {
    background: rgba(205, 187, 255, .14);
    color: var(--hx-lilac);
}

.hp-status--work {
    background: rgba(126, 226, 168, .14);
    color: #9ff0c2;
}

.hp-search {
    margin-top: 14px;
    height: 50px;
}

.hp-filters {
    margin: 12px -20px 0;
    padding: 0 20px;
}

.hp-opps {
    margin-top: 12px;
}

.hp-opp {
    display: grid;
    gap: 6px;
    padding: 16px;
    color: var(--hx-text);
    text-decoration: none;
    transition: background .12s ease;
}

.hp-opp + .hp-opp {
    border-top: 1px solid var(--hx-line);
}

.hp-opp:hover {
    background: var(--hx-raised);
    color: var(--hx-text);
}

.hp-opp:focus-visible {
    outline: 2px solid var(--hx-amber);
    outline-offset: -2px;
}

.hp-opp__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.hp-opp__top strong {
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.3;
}

.hp-opp__price {
    flex: none;
    font-size: 15.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.hp-opp__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.45;
    color: var(--hx-muted);
}

.hp-opp__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: 12.5px;
    color: var(--hx-muted);
}

.hp-opp__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hp-opp__cta {
    justify-self: start;
    margin-top: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--hx-amber);
    color: var(--hx-on-amber);
    font-size: 13.5px;
    font-weight: 600;
}

/* ---------- Bloco de marca (roxo sólido no topo das homes) ---------- */

.hx-hero,
.hp-hero {
    position: relative;
    isolation: isolate;
    padding-bottom: 28px;
}

.hx-hero::before,
.hp-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    background: var(--hx-brand);
    border-radius: 0 0 28px 28px;
}

.hx-hero .hx-title,
.hp-hero .hp-title {
    color: #fff;
}

.hx-hero .hx-greet,
.hp-hero .hx-greet {
    color: rgba(255, 255, 255, .78);
}

.hx-hero .hx-greet span {
    color: #fff;
}

.hx-hero .hx-search {
    background: #fff;
    border-color: #fff;
}

.hx-hero .hx-search:focus-within {
    border-color: var(--hx-amber);
}

.hx-hero .hx-search input {
    color: #170b33;
}

.hx-hero .hx-search input::placeholder {
    color: #6e6585;
}

.hx-hero .hx-search .bi {
    color: var(--hx-brand);
}

.hx-hero .hx-cat {
    color: #fff;
}

.hx-hero .hx-cat__icon {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .14);
    color: #fff;
}

.hx-hero .hx-cat:hover .hx-cat__icon {
    background: rgba(255, 255, 255, .2);
}

.hx-hero .hx-cat--all .hx-cat__icon {
    background: transparent;
    border-color: rgba(255, 255, 255, .32);
    color: #fff;
}

.hx-hero .hx-cat[aria-pressed="true"] .hx-cat__icon {
    background: var(--hx-amber);
    border-color: var(--hx-amber);
    color: var(--hx-on-amber);
}

.hx-hero .hx-cat:focus-visible .hx-cat__icon {
    outline-color: #fff;
}

.hp-hero .hp-stats {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .14);
}

.hp-hero .hp-stats > div + div {
    border-left-color: rgba(255, 255, 255, .14);
}

.hp-hero .hp-stats dt {
    color: rgba(255, 255, 255, .75);
}

.hp-hero .hp-stats dd {
    color: #fff;
}

.hx-row__avatar {
    background: #2e2150;
    color: #d6c7ff;
}

/* ---------- Telas largas ---------- */

@media (min-width: 960px) {
    body.page-home {
        padding-top: 72px;
    }

    body.page-home .header__inner {
        height: 72px;
        width: min(1056px, calc(100% - 64px));
    }

    .hx {
        padding: 0 32px 80px;
    }

    .hx-hero {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        align-items: end;
        gap: 48px;
        padding-top: 56px;
    }

    .hx-cats {
        gap: 18px 12px;
        margin-top: 28px;
    }

    /* Card de orçamento: abraça o conteúdo e tem botão escrito, sem área vazia */
    .hx-request {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 24px;
        padding: 30px;
        border-radius: 28px;
    }

    .hx-request__text strong {
        font-size: 28px;
        line-height: 1.1;
    }

    .hx-request__text span {
        font-size: 15px;
        max-width: 34ch;
    }

    .hx-request__go {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        justify-self: start;
        width: auto;
        height: 50px;
        padding: 0 22px;
        border-radius: 999px;
        font-size: 15px;
        font-weight: 600;
        color: #fff;
    }

    .hx-request__go .bi {
        color: var(--hx-amber);
    }

    .hx-request__go-label {
        display: inline;
    }

    .hx-request:hover .hx-request__go {
        transform: none;
        background: var(--hx-brand);
    }

    .hx-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 32px 20px;
    }

    .hx-section {
        margin-top: 56px;
    }

    .hx-section h2 {
        font-size: 24px;
    }

    .hx-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hx-row {
        padding: 18px 22px;
    }

    .hx-list > .hx-row:nth-child(2) {
        border-top: 0;
    }

    .hx-list > .hx-row:nth-child(odd) {
        border-right: 1px solid var(--hx-line);
    }

    .hx-list > .hx-empty {
        grid-column: 1 / -1;
    }

    body.page-home .provider-home.hp {
        padding: 0 32px 80px;
    }

    .hp-hero {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
        align-items: end;
        gap: 40px;
        padding-top: 56px;
    }

    .hp-title {
        font-size: 44px;
    }

    .hp-stats dd {
        font-size: 28px;
    }

    .hp-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
        gap: 32px;
        align-items: start;
    }

    .hp .hx-list {
        display: block;
    }

    .hp .hx-list > .hx-row:nth-child(2) {
        border-top: 1px solid var(--hx-line);
    }

    .hp .hx-list > .hx-row:nth-child(odd) {
        border-right: 0;
    }

    .hp .hp-filters {
        margin: 12px 0 0;
        padding: 0;
    }

    .hp .hp-publish {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 24px;
        min-height: 0;
        margin-top: 24px;
        padding: 22px 24px 22px 28px;
        border-radius: 22px;
    }

    .hp .hp-publish .hx-request__text strong {
        font-size: 22px;
    }

    .hp .hp-publish .hx-request__go {
        width: 52px;
        height: 52px;
    }

    .hx-sheet {
        align-items: center;
        justify-content: center;
        padding: 32px;
    }

    .hx-sheet__panel {
        width: min(720px, 100%);
        height: min(820px, 100%);
        border: 1px solid var(--hx-line);
        border-radius: 24px;
    }

    .hx-sheet__head {
        padding: 24px 28px 0;
    }

    .hx-search--sheet {
        margin: 0 28px;
    }

    .hx-pills {
        padding: 0 28px;
    }

    .hx-sheet__results {
        padding: 16px 28px 28px;
    }

    .hx-sheet__results .hx-row:nth-child(2) {
        border-top: 1px solid var(--hx-line);
    }

    .hx-sheet__results .hx-row:nth-child(odd) {
        border-right: 0;
    }
}

@media (max-width: 760px) {
    body.page-home .footer {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hx-row--skel,
    .hx-sheet__panel {
        animation: none;
    }

    .hx * {
        transition: none !important;
    }
}

/* "Perto de mim": cor própria (lilás), combina com uma categoria (âmbar) */
.hx-cat--near .hx-cat__icon { color: var(--hx-lilac, #c6b2ff); }
.hx-hero .hx-cat--near .hx-cat__icon { background: rgba(198, 178, 255, .16); border-color: rgba(198, 178, 255, .4); color: #e2d6ff; }
.hx-cat--near[aria-pressed="true"] .hx-cat__icon,
.hx-hero .hx-cat--near[aria-pressed="true"] .hx-cat__icon { background: #fff; border-color: #fff; color: var(--hx-brand, #41009a); }
.hx-cat--near[aria-pressed="true"] .hx-cat__label { color: #fff; }
.hx-section { scroll-margin-top: 88px; }
.hx-toast {
    position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 1200;
    transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
    width: max-content; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 14px;
    background: #fff; color: #170b33; font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center;
    transition: opacity .2s ease, transform .2s ease;
}
.hx-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .hx-toast { transition: none; } }

/* Distância no card (como iFood/Uber Eats): selo no canto da foto */
.hx-card__dist { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 99px; background: rgba(13, 10, 22, .82); color: #fff; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; backdrop-filter: blur(4px); }
.hx-card__dist .bi { font-size: 11px; color: var(--hx-amber, #fcba04); }

/* Celular: lista com foto à esquerda (como iFood/Uber Eats), card maior e mais legível */
@media (max-width: 639px) {
    .hx-grid { grid-template-columns: 1fr; gap: 12px; }
    .hx-card__link { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: 20px; background: var(--hx-surface); }
    .hx-card__media { aspect-ratio: 1; border-radius: 14px; }
    .hx-card__body { gap: 5px; padding-right: 36px; }
    .hx-card__title { font-size: 16.5px; font-weight: 700; }
    .hx-card__provider { font-size: 14px; }
    .hx-card__price { font-size: 14px; }
    .hx-card__price b { font-size: 16px; }
    .hx-card__fav { top: 14px; right: 12px; width: 34px; height: 34px; background: rgba(255, 255, 255, .06); }
    .hx-card__dist { left: 6px; bottom: 6px; padding: 3px 7px; font-size: 11.5px; }
    .hx-card__badge { top: 6px; left: 6px; }
}
@media (max-width: 639px) { .hx-sheet__results .hx-grid { grid-template-columns: 1fr; } }

/* ---------- Oportunidades: vitrine de pedidos abertos (prestador) ---------- */
/* Celular: foto grande à esquerda (como os cards de serviço do cliente). Tela maior: card em grade, foto em cima. */
.hx-list.hp-opps, .hp .hx-list.hp-opps { display: grid; gap: 12px; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.hx-list.hp-opps > :not(.hp-opp) { background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 20px; }
.hp-opp { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 14px; padding: 10px; border-radius: 20px; background: var(--hx-surface, #19142a); border: 0; color: var(--hx-text); text-decoration: none; transition: background .12s ease, border-color .12s ease; }
.hp-opp + .hp-opp { border-top: 0; }
.hp-opp:hover { background: var(--hx-raised, #241d3a); border-color: rgba(205, 187, 255, .28); color: var(--hx-text); }
.hp-opp:focus-visible { outline: 2px solid var(--hx-amber); outline-offset: 2px; }
.hp-opp__media { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: #261e3d; color: var(--hx-lilac, #c6b2ff); font-size: 36px; }
.hp-opp__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-opp__dist, .hp-opp__soon { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 700; line-height: 1.4; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hp-opp__dist { left: 6px; bottom: 6px; background: rgba(13, 10, 22, .84); color: #fff; }
.hp-opp__dist .bi { font-size: 10.5px; color: var(--hx-amber, #fcba04); }
.hp-opp__soon { left: 6px; top: 6px; background: var(--hx-amber, #fcba04); color: #1a1426; }
.hp-opp__soon .bi { font-size: 10.5px; }
.hp-opp__body { display: grid; gap: 5px; min-width: 0; }
.hp-opp__kicker { font-size: 12.5px; font-weight: 600; color: var(--hx-lilac, #c6b2ff); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-opp__title { font-size: 16px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-opp__line { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13px; color: var(--hx-muted); }
.hp-opp__line span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.hp-opp__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin-top: 2px; }
.hp-opp__budget { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hp-opp__resp { font-size: 12.5px; color: var(--hx-muted); display: inline-flex; align-items: center; gap: 4px; }
.hp-opp__resp.is-first { color: var(--hx-amber, #fcba04); font-weight: 600; }
@media (min-width: 640px) {
    .hx-list.hp-opps, .hp .hx-list.hp-opps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .hp-opp { grid-template-columns: 1fr; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
    .hp-opp__media { aspect-ratio: 16 / 10; border-radius: 0; font-size: 46px; }
    .hp-opp__body { padding: 14px 16px 16px; gap: 6px; align-content: start; }
    .hp-opp__dist { left: 12px; bottom: 12px; padding: 4px 10px; font-size: 12.5px; }
    .hp-opp__soon { left: 12px; top: 12px; padding: 4px 10px; font-size: 12px; }
    .hp-opp__foot { margin-top: auto; padding-top: 6px; }
}
@media (max-width: 380px) { .hp-opp { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; } }

/* "Seus pedidos": linha sem "valor A combinar" repetido */
.hp-req .hx-row__meta { flex-wrap: wrap; gap: 4px 8px; }
.hp-req__hint { font-size: 12px; color: var(--hx-muted); }
.hp-req__go { flex: none; font-size: 16px; color: var(--hx-muted); }
@media (min-width: 1024px) {
    .hp-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr) !important; }
}

/* Aviso de pedido aberto que encerrou sem respostas (cliente) */
.hx-expired { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; }
.hx-expired[hidden] { display: none; }
.hx-expired__icon { flex: 0 0 auto; font-size: 22px; color: #FCBA04; }
.hx-expired__text { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; font-size: 14px; line-height: 1.4; }
.hx-expired__text strong { font-size: 15px; }
.hx-expired__text span { color: rgba(255, 255, 255, .8); }
.hx-expired__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.hx-expired__go { padding: 9px 14px; border-radius: 999px; background: #FCBA04; color: #1a1426; font-weight: 700; font-size: 14px; white-space: nowrap; }
.hx-expired__close { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: rgba(255, 255, 255, .8); cursor: pointer; }
.hx-expired__close:hover { background: #ffffff14; }
@media (max-width: 640px) {
    .hx-expired { flex-wrap: wrap; align-items: flex-start; }
    .hx-expired__text { flex-basis: calc(100% - 40px); }
    .hx-expired__actions { width: 100%; justify-content: space-between; }
}

/* Filtros das Oportunidades: ícone + quantos pedidos cada um mostra */
.hp-filters .hp-pill { display: inline-flex; align-items: center; gap: 7px; padding-left: 12px; padding-right: 10px; }
.hp-filters .hp-pill[hidden] { display: none; }
.hp-pill .bi { font-size: 13.5px; color: var(--hx-lilac, #c6b2ff); }
.hp-pill[aria-pressed="true"] .bi { color: currentColor; }
.hp-pill__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .08); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hp-pill[aria-pressed="true"] .hp-pill__n { background: rgba(23, 11, 51, .16); }
.hp-pill__n:empty { display: none; }
/* Números do topo alinhados mesmo quando o rótulo quebra em duas linhas */
.hp-stats > div { justify-content: flex-end; }

/* "Ler mais" nos cards (serviços do cliente e oportunidades do prestador) */
.x-more { display: grid; justify-items: start; gap: 0; min-width: 0; }
.x-more__text { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--hx-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; overflow-wrap: anywhere; }
.is-open .x-more__text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.x-more__btn { position: relative; z-index: 2; padding: 4px 0; border: 0; background: none; color: var(--hx-lilac, #c6b2ff); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.x-more__btn:hover { text-decoration: underline; }
.x-more__btn:focus-visible { outline: 2px solid var(--hx-amber); outline-offset: 2px; border-radius: 4px; }
.x-more__btn[hidden] { display: none; }
/* Card de serviço: o texto fica no fim do corpo; o botão logo abaixo, fora do link */
.hx-card__desc { margin-top: 4px; }
.hx-card > .x-more__btn { display: block; margin-top: 2px; }
.hx-card > .x-more__btn[hidden] { display: none; }
@media (max-width: 639px) {
    .hx-card { background: var(--hx-surface); border-radius: 20px; }
    .hx-card__link { background: transparent; }
    .hx-card > .x-more__btn { margin: -8px 0 8px 148px; }
}
/* Oportunidade: só o título é link, mas ele cobre o card todo (o "ler mais" fica por cima) */
.hp-opp__title { color: inherit; text-decoration: none; }
.hp-opp__title::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.hp-opp__title:focus-visible { outline: none; }
.hp-opp:has(.hp-opp__title:focus-visible) { outline: 2px solid var(--hx-amber); outline-offset: 2px; }
.hp-opp__dist, .hp-opp__soon { pointer-events: none; }
.hp-opp .x-more { margin-top: 2px; }
.hp-opp.is-open { align-items: start; }
@media (max-width: 639px) { .hx-card.is-open .hx-card__link { align-items: start; } }

/* Oportunidades em escala: linha onde termina a área de atendimento e "carregar mais" */
.hp-opps__divider { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: 8px 0 0; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--hx-muted); }
.hp-opps__divider::before, .hp-opps__divider::after { content: ""; flex: 1 1 0; height: 1px; background: var(--hx-line); }
.hp-opps__divider span { flex: none; max-width: 80%; text-align: center; }
.hp-more { grid-column: 1 / -1; justify-self: center; min-height: 44px; margin-top: 4px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--hx-line); background: var(--hx-surface); color: var(--hx-text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.hp-more:hover { background: var(--hx-raised); }
.hp-more:disabled { opacity: .6; cursor: wait; }

/* Celular: card de serviço com foto grande em cima (a miniatura ao lado ficava apertada) */
@media (max-width: 639px) {
    .hx-grid { grid-template-columns: 1fr; gap: 16px; }
    .hx-card { background: var(--hx-surface); border-radius: 20px; overflow: hidden; }
    .hx-card__link { display: flex; flex-direction: column; gap: 0; padding: 0; border-radius: 20px; background: transparent; }
    .hx-card.is-open .hx-card__link { align-items: stretch; }
    .hx-card__media { aspect-ratio: 16 / 10; border-radius: 0; }
    .hx-card__placeholder { font-size: 44px; }
    .hx-card__body { gap: 4px; padding: 12px 16px 14px; }
    .hx-card__title { font-size: 17px; font-weight: 700; }
    .hx-card__provider { font-size: 14px; }
    .hx-card__price { font-size: 14px; }
    .hx-card__price b { font-size: 16px; }
    .hx-card__fav { top: 10px; right: 10px; width: 38px; height: 38px; background: rgba(13, 10, 22, .55); }
    .hx-card__badge { top: 10px; left: 10px; }
    .hx-card__dist { left: 10px; bottom: 10px; padding: 4px 9px; font-size: 12.5px; }
    .hx-card > .x-more__btn { margin: -10px 16px 12px; }
}
.hx-list.hp-opps > .hp-opps__divider { background: transparent; border: 0; border-radius: 0; }
.hx-list.hp-opps > .hp-more { border-radius: 999px; }
@media (min-width: 640px) { .hp .hp-filters { flex-wrap: wrap; overflow: visible; } }
@media (max-width: 639px) { .hx-card__link { align-items: stretch; } }

/* ---------- Card de prestador: rosto em destaque (gente contrata gente) ---------- */
/* Computador: foto | nome, avaliação, cidade / serviço e descrição | preço e botão. Celular: como o Triider,
   foto pequena ao lado do nome; serviço e descrição embaixo; preço e botão largos no fim. Sem borda externa. */
.hx-grid:has(> .hx-pro) { grid-template-columns: 1fr !important; gap: 14px; }
.hx-pro { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr) 210px; grid-template-areas: "face head side" "face body side"; column-gap: 20px; row-gap: 6px; align-items: start; padding: 16px; border-radius: 20px; background: var(--hx-surface); border: 0; overflow: visible; transition: background .12s ease; }
.hx-pro:hover { background: var(--hx-raised); }
.hx-pro:has(.hx-pro__service:focus-visible) { outline: 2px solid var(--hx-amber); outline-offset: 2px; }
.hx-pro__face { grid-area: face; position: relative; width: 132px; height: 132px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #2a2142; }
.hx-pro__face.plan-ring { overflow: visible; }
.hx-pro__face.plan-ring img { border-radius: 50%; }
.hx-pro__face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-pro__initials { font-size: 40px; font-weight: 800; color: var(--hx-lilac); letter-spacing: .02em; }
.hx-pro__head { grid-area: head; display: grid; gap: 3px; min-width: 0; align-self: end; }
.hx-pro__body { grid-area: body; display: grid; gap: 4px; min-width: 0; align-self: start; }
.hx-pro__head p { margin: 0; }
.hx-pro__who { display: flex; align-items: center; min-width: 0; font-size: 15px; line-height: 1.3; white-space: nowrap; }
.hx-pro__who strong { font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.hx-pro__who > span:last-child { margin-left: 4px; color: var(--hx-muted); overflow: hidden; text-overflow: ellipsis; }
.hx-pro__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 13.5px; color: var(--hx-muted); }
.hx-pro__stars { color: var(--hx-amber); letter-spacing: 1px; }
.hx-pro__rating b { color: var(--hx-text); }
.hx-pro__new { color: var(--hx-lilac); font-weight: 600; }
.hx-pro__place { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--hx-muted); }
.hx-pro__service { margin-top: 4px; font-size: 16.5px; font-weight: 700; line-height: 1.3; color: var(--hx-text); text-decoration: none; }
.hx-pro__service:hover { color: var(--hx-text); }
.hx-pro__service:focus-visible { outline: none; }
.hx-pro__service::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 20px; }
.hx-pro .x-more__btn { z-index: 2; justify-self: start; }
.hx-pro .hx-card__fav { z-index: 2; top: 22px; left: 112px; right: auto; }
.hx-pro__side { grid-area: side; align-self: stretch; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .04); }
.hx-pro__price { display: grid; justify-items: center; gap: 2px; }
.hx-pro__price small { font-size: 12.5px; color: var(--hx-muted); }
.hx-pro__price b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hx-pro__cta { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; border-radius: 12px; background: var(--hx-amber); color: var(--hx-on-amber, #1a1426); font-size: 15px; font-weight: 700; }
@media (max-width: 760px) {
    .hx-grid:has(> .hx-pro) { gap: 12px; }
    .hx-pro { grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "face head" "body body" "side side"; column-gap: 14px; row-gap: 12px; padding: 14px; }
    .hx-pro__face, .hx-pro__face.plan-ring img { width: 84px; height: 84px; border-radius: 50%; }
    .hx-pro__initials { font-size: 28px; }
    .hx-pro__head { align-self: center; padding-right: 40px; }
    .hx-pro__who { font-size: 15.5px; }
    .hx-pro__service { margin-top: 0; font-size: 17px; }
    .hx-pro__body .x-more__text { font-size: 14.5px; line-height: 1.5; }
    .hx-pro__side { display: grid; justify-items: stretch; gap: 10px; padding: 12px; }
    .hx-pro__price { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
    .hx-pro__price b { font-size: 22px; color: var(--hx-amber); }
    .hx-pro__price small { font-size: 13px; }
    .hx-pro__cta { min-height: 48px; font-size: 16px; }
    .hx-pro .hx-card__fav { top: 14px; right: 14px; left: auto; }
}
/* "Seu desempenho" (home do prestador) */
.hp-perf { display: grid; gap: 8px; }
.hp-perf__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: inherit; text-decoration: none; }
.hp-perf__label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: rgba(255, 255, 255, .78); }
.hp-perf__more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: #fff; }
.hp-perf__more .bi { font-size: 11px; }
.hp-perf__head:hover .hp-perf__more { text-decoration: underline; }
.hp-perf__head:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
/* Sem borda externa nas listas da home do prestador */
.hp .hx-list:not(.hp-opps) { border: 0; }

/* Chips sem contorno (pedido do Jefte, 04/11): só o fundo diferencia */
.hx-cat__icon, .hx-hero .hx-cat__icon { border: 0; }
.hx-cat--all .hx-cat__icon, .hx-hero .hx-cat--all .hx-cat__icon { border: 0; }
.hx-hero .hx-cat--near .hx-cat__icon { border: 0; }
.hx-pill { border: 0; background: var(--hx-surface); }
.hx-pill:hover { background: var(--hx-raised); }
.hx-pill .bi { margin-right: 6px; font-size: 13px; }

/* Coração: mesma cor nos dois lugares (vermelho, preferido do Jefte) e centralizado no círculo
   (o ícone da fonte desce .125em por padrão e ficava fora do centro) */
.hx-card__fav[aria-pressed="true"] { color: #ff6b8a; }
.hx-card__fav .bi { display: block; line-height: 1; }
.hx-card__fav .bi::before { display: block; vertical-align: 0; line-height: 1; }

/* Patrocinado (migração 188): anúncio pago tem de ser reconhecível na hora (CDC art. 36), sem chamar mais atenção que o serviço */
.sponsored-tag { display: inline-flex; align-items: center; flex: none; padding: 2px 8px; border-radius: 6px; background: rgba(110, 231, 160, .14); color: #8eeab0; font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.hx-pro__sponsored { margin: 4px 0 2px; line-height: 1; }
