html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #f5f6fa;
}

body {
    display: flex;
    flex-direction: column;
}

.perfil-fornecedor-page {
    background: transparent;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.container-custom-75-retirado.container-mobile-95.mt-4.mb-4 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.section-header.perfil-hero-card,
.perfil-card {
    border: 1px solid #e6ebf2;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(11, 53, 72, 0.08);
}

.section-header.perfil-hero-card {
    padding: 32px;
    border-bottom: none;
    background:
        radial-gradient(circle at top right, rgba(219, 104, 38, 0.12), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.div_centro {
    text-align: left !important;
    padding-right: 2%;
}

.perfil-hero__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.perfil-hero__avatar-img,
.perfil-hero__avatar-placeholder {
    width: min(220px, 100%);
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    object-fit: cover;
    background: #f4f7fb;
    border: 1px solid #edf1f5;
    box-shadow: 0 12px 30px rgba(11, 53, 72, 0.1);
}

.perfil-hero__avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aa7b5;
    font-size: 5rem;
}

.perfil-hero__eyebrow,
.perfil-section-heading__eyebrow {
    margin: 0 0 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #DB6826;
}

.nome_empresa_wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    color: #0B3548;
    margin-bottom: 16px;
}

.nome_empresa {
    margin: 0;
    color: #0B3548;
}

.nome_empresa__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.perfil-hero__descricao {
    margin-bottom: 18px;
    color: #415367;
    line-height: 1.75;
    font-size: 1rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.perfil-hero__descricao--muted {
    color: #7b8794;
}

.perfil-hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.perfil-hero__highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f6f8fb;
    color: #334155;
    font-size: 0.92rem;
    max-width: 100%;
    box-sizing: border-box;
}

.perfil-hero__highlight span {
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: inherit;
}

.perfil-hero__highlight i {
    color: #DB6826;
}

.perfil-hero__actions-card {
    height: 100%;
    padding: 24px;
    border-radius: 22px;
    background: #0B3548;
    color: #fff;
}

.perfil-hero__actions-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.perfil-hero__actions-title {
    margin: 10px 0 10px;
    color: #fff;
    font-size: 1.55rem;
    line-height: 1.2;
}

.perfil-cta-principal,
.perfil-cta-secundario,
.perfil-gallery-open,
.perfil-btn-neutral {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.perfil-cta-principal {
    width: 100%;
    margin-bottom: 14px;
}

.perfil-hero__cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.perfil-cta-secundario,
.perfil-gallery-open,
.perfil-btn-neutral {
    border: 1px solid rgba(11, 53, 72, 0.12);
    background: #fff;
    color: #0B3548;
}

.perfil-cta-secundario:hover,
.perfil-gallery-open:hover,
.perfil-btn-neutral:hover,
.perfil-cta-principal:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(11, 53, 72, 0.12);
    text-decoration: none;
}

.perfil-cta-secundario--whatsapp {
    border-color: rgba(34, 197, 94, 0.25);
    color: #0f5132;
    background: #f0fdf4;
}

.perfil-hero__actions-state {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.5;
}

.perfil-card {
    padding: 26px;
}

.perfil-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.perfil-section-heading__title {
    margin: 0;
    font-size: 1.55rem;
    color: #0f172a;
}

.perfil-section-count {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f3f6fb;
    color: #0B3548;
    font-weight: 800;
}

.perfil-metricas .perfil-metricas__item {
    height: 100%;
    padding: 16px;
    border: 1px solid #edf1f5;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

.perfil-metricas .perfil-metricas__valor {
    font-weight: 800;
    font-size: 1.5rem;
    margin-top: 4px;
    color: #111827;
}

.perfil-metricas .perfil-metricas__sub {
    margin-top: 6px;
    line-height: 1.35rem;
}

.perfil-galeria-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 1fr);
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.perfil-galeria-strip__item {
    border: none;
    background: transparent;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(11, 53, 72, 0.12);
}

.perfil-galeria-strip__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.perfil-info-box {
    height: 100%;
    padding: 20px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #edf1f5;
}

.perfil-info-box__title {
    margin: 0 0 16px;
    font-size: 1.05rem;
    color: #0B3548;
}

.perfil-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.perfil-info-item + .perfil-info-item {
    margin-top: 16px;
}

.perfil-info-item i {
    width: 18px;
    margin-top: 3px;
    color: #DB6826;
    text-align: center;
}

.perfil-info-item strong {
    display: block;
    margin-bottom: 4px;
    color: #0f172a;
}

.perfil-info-item span {
    color: #475569;
    line-height: 1.6;
}

.perfil-info-box__empty {
    margin: 0;
    color: #6b7280;
}

.perfil-inline-link {
    display: inline-flex;
    margin-top: 8px;
    color: #DB6826;
    font-weight: 700;
    text-decoration: none;
}

.perfil-interacao-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border-radius: 20px;
    border: 1px dashed #d5dde6;
    background: #f8fafc;
}

.perfil-interacao-card p {
    margin: 0;
    color: #334155;
    line-height: 1.6;
}

.perfil-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.perfil-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #f6f8fb;
    color: #0f172a;
    font-weight: 600;
    border: 1px solid #e7edf4;
}

.perfil-tag i {
    color: #DB6826;
}

.perfil-catalogo-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
}

.perfil-catalogo-list--colapsado .perfil-tag--catalogo-oculto {
    display: none;
}

.perfil-catalogo-expand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 20px;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    color: #DB6826;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    align-self: center;
}

.perfil-catalogo-expand__icon {
    font-size: 0.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.perfil-catalogo-expand__text {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.perfil-catalogo-expand:hover,
.perfil-catalogo-expand:focus {
    color: #b8561f;
    background: none;
    border: none;
    box-shadow: none;
    transform: none;
}

.perfil-catalogo-expand:hover .perfil-catalogo-expand__text,
.perfil-catalogo-expand:focus .perfil-catalogo-expand__text {
    text-decoration: underline;
}

.perfil-catalogo-expand:focus-visible {
    outline: 2px solid rgba(219, 104, 38, 0.45);
    outline-offset: 2px;
}

.perfil-reviews {
    display: grid;
    gap: 16px;
}

.perfil-review-card {
    padding: 20px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #edf1f5;
}

.perfil-review-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.perfil-review-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
}

.perfil-review-card__edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #DB6826;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.perfil-review-card__edit:hover,
.perfil-review-card__edit:focus {
    color: #b8561f;
    text-decoration: underline;
}

.perfil-interacao-card__edit-avaliacao {
    margin-top: 10px;
}

.perfil-review-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.perfil-review-card--destaque {
    border: 2px solid #DB6826;
    background: linear-gradient(145deg, #fffaf7 0%, #f8fafc 100%);
    box-shadow: 0 8px 24px rgba(219, 104, 38, 0.12);
}

.perfil-review-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #DB6826;
    margin-bottom: 12px;
}

.perfil-review-card__reply {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e7edf4;
}

.perfil-review-card__reply-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 8px;
}

.perfil-review-card__reply p {
    margin: 0;
    color: #334155;
}

.perfil-reviews-note {
    margin: 0;
}

.perfil-reviews__more-wrap {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.perfil-reviews-load-more:disabled {
    opacity: 0.65;
    cursor: wait;
}

.perfil-empty-state {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px dashed #d5dde6;
    color: #6b7280;
    text-align: center;
    padding: 24px;
}

.perfil-empty-state--compact {
    min-height: 120px;
}

.perfil-empty-state i {
    font-size: 1.4rem;
    color: #94a3b8;
}

.perfil-conexoes-card {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
}

.perfil-galeria-modal__principal {
    position: relative;
    height: min(70vh, 560px);
    width: 100%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: #f8fafc;
}

.perfil-galeria-modal__imagem {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.perfil-galeria-modal__nav {
    opacity: 0.72;
}

.perfil-galeria-modal__thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.perfil-galeria-modal__thumb {
    width: 76px;
    height: 76px;
    opacity: 0.6;
    cursor: pointer;
    object-fit: cover;
    border-radius: 14px;
}

.cc-badge-nome-fornecedor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: white;
    border-radius: 999px;
    line-height: 1;
    vertical-align: middle;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.cc-badge-nome-fornecedor i {
    color: inherit !important;
    font-size: 0.9em;
}

/* Letras E/A/T: mesma escala visual dos ícones Font Awesome do badge (~0.9em do texto do pill) */
.cc-badge-nome-fornecedor__letra {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9em;
    line-height: 1;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Arial Black", Arial, sans-serif;
}

.cc-badge-nome-fornecedor__texto {
    display: inline-block;
}

.container {
    max-width: 90% !important;
}

@media (max-width: 991.98px) {
    /* Este stylesheet só é carregado em perfil_fornecedor.php */
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    #content.perfil-fornecedor-page {
        /* 90px (não 20px) pra casar com o padrão do resto do site: a tarja
           mobile do admin (.mobile-header, position:fixed) cobria a foto de
           perfil do fornecedor com só 20px de folga. Nos outros logins a
           .top-bar é fluxo normal (não fixed), então a folga extra aqui não
           quebra nada — só sobra um pouco mais de espaço em branco no topo. */
        margin-top: 90px !important;
        min-width: 0;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .section-header.container-fluid.perfil-hero-card {
        max-width: 100%;
        overflow-x: hidden;
    }

    .perfil-fornecedor-page [class*="col-"] {
        min-width: 0;
    }

    .container-mobile-95 {
        max-width: 95% !important;
        margin-left: 2.5% !important;
    }

    .section-header.perfil-hero-card,
    .perfil-card {
        border-radius: 20px;
    }

    .section-header.perfil-hero-card {
        padding: 22px;
    }

    .div_centro {
        text-align: center !important;
        padding-right: 0;
    }

    .nome_empresa_wrap {
        flex-direction: column;
        align-items: center;
    }

    .nome_empresa {
        font-size: 1.9rem !important;
        justify-content: center;
    }

    .nome_empresa__badges {
        justify-content: center;
    }

    .perfil-section-heading,
    .perfil-interacao-card,
    .perfil-review-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .perfil-hero__cta-grid {
        grid-template-columns: 1fr;
    }

    /* Colunas não podem ter min em vw maior que o pai — isso gerava barra horizontal na página */
    .perfil-galeria-strip {
        grid-auto-columns: minmax(min(240px, 100%), min(82vw, 100%));
    }

    .perfil-galeria-strip__image {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    .container {
        max-width: 100% !important;
    }

    .section-header.perfil-hero-card,
    .perfil-card {
        padding: 18px;
    }

    .perfil-hero__avatar-img,
    .perfil-hero__avatar-placeholder {
        width: 170px;
        border-radius: 24px;
    }

    .nome_empresa {
        font-size: 1.65rem !important;
    }

    .perfil-hero__highlights {
        justify-content: center;
    }

    .perfil-hero__highlight,
    .perfil-tag {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .perfil-galeria-modal__principal {
        height: min(52vh, 420px);
    }
}

/* Pastas de trabalho (perfil público) — mosaico compacto */
.perfil-pastas-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.85rem;
}

.perfil-pasta-teaser {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: #fff;
    padding: 0;
    margin: 0;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.22s cubic-bezier(0.34, 1.2, 0.64, 1),
        box-shadow 0.22s ease,
        border-color 0.2s ease;
    box-shadow: 0 2px 12px rgba(11, 53, 72, 0.06);
    font: inherit;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.perfil-pasta-teaser:hover,
.perfil-pasta-teaser:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(11, 53, 72, 0.12);
    border-color: rgba(219, 104, 38, 0.35);
    outline: none;
}

.perfil-pasta-teaser__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, #e8eef5 0%, #f4f7fb 100%);
    overflow: hidden;
}

.perfil-pasta-teaser__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.perfil-pasta-teaser:hover .perfil-pasta-teaser__img,
.perfil-pasta-teaser:focus-visible .perfil-pasta-teaser__img {
    transform: scale(1.07);
}

.perfil-pasta-teaser__count {
    position: absolute;
    top: 10px;
    right: 10px;
    min-width: 1.75rem;
    height: 1.75rem;
    padding: 0 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #fff;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.perfil-pasta-teaser__hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(
        180deg,
        rgba(11, 53, 72, 0.05) 0%,
        rgba(11, 53, 72, 0.72) 100%
    );
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 1;
    pointer-events: none;
}

.perfil-pasta-teaser:hover .perfil-pasta-teaser__hint,
.perfil-pasta-teaser:focus-visible .perfil-pasta-teaser__hint {
    opacity: 1;
}

.perfil-pasta-teaser__body {
    padding: 0.65rem 0.85rem 0.8rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}

.perfil-pasta-teaser__pasta {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #DB6826;
    line-height: 1.25;
    margin-bottom: 0.35rem;
}

.perfil-pasta-teaser__legenda {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.42;
    color: #374151;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.perfil-pasta-teaser__legenda--muted {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.82rem;
}

@media (max-width: 575.98px) {
    .perfil-pastas-mosaic {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
    }
}

/* Modal das pastas */
.perfil-pastas-modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.perfil-pastas-modal__principal {
    position: relative;
    background: radial-gradient(ellipse 80% 80% at 50% 40%, #1e293b 0%, #0f172a 100%);
    border-radius: 14px;
    overflow: hidden;
    height: min(56vh, 480px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.perfil-pastas-modal__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.perfil-pastas-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 999px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff !important;
    backdrop-filter: blur(8px);
}

.perfil-pastas-modal__nav i { color: #fff !important; }
.perfil-pastas-modal__nav:hover { background: rgba(219, 104, 38, 0.92); border-color: transparent; }

.perfil-pastas-modal__nav--prev { left: 12px; }
.perfil-pastas-modal__nav--next { right: 12px; }

.perfil-pastas-modal__thumbs-wrap {
    margin-top: 0.85rem;
}

.perfil-pastas-modal__thumbs-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    text-align: center;
}

.perfil-pastas-modal__thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.35rem 0.15rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(219, 104, 38, 0.45) transparent;
    justify-content: center;
}

.perfil-pastas-modal__thumbs::-webkit-scrollbar {
    height: 6px;
}

.perfil-pastas-modal__thumbs::-webkit-scrollbar-thumb {
    background: rgba(219, 104, 38, 0.4);
    border-radius: 99px;
}

.perfil-pastas-modal__thumb {
    flex: 0 0 auto;
    width: 68px;
    height: 68px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #f1f5f9;
    opacity: 0.72;
    transition:
        opacity 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.perfil-pastas-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.perfil-pastas-modal__thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.perfil-pastas-modal__thumb.is-active {
    opacity: 1;
    border-color: #DB6826;
    box-shadow: 0 4px 14px rgba(219, 104, 38, 0.35);
}

.perfil-pastas-modal__info {
    padding-top: 0.85rem;
    text-align: center;
}

.perfil-pastas-modal__legenda {
    color: #1f2937;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 auto 0.45rem;
    max-width: 640px;
}

.perfil-pastas-modal__legenda--vazia {
    color: #9ca3af;
    font-style: italic;
}

.perfil-pastas-modal__contagem {
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .perfil-pastas-modal__principal {
        height: min(42vh, 320px);
        border-radius: 12px;
    }

    .perfil-pastas-modal__thumbs {
        justify-content: flex-start;
    }

    .perfil-pastas-modal__thumb {
        width: 56px;
        height: 56px;
        border-radius: 10px;
    }
}

/* Modal do FAQ do Fornecedor */
.perfil-faq-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.perfil-faq-modal-header {
    background: linear-gradient(135deg, #0B3548 0%, #133E52 100%);
    color: #ffffff;
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.perfil-faq-modal-eyebrow {
    display: block;
    color: #DB6826;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}

.perfil-faq-modal-header .modal-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    max-width: 420px;
}

.perfil-faq-modal-body {
    padding: 22px 24px;
    background: #f7fafb;
}

.perfil-faq-item {
    border: 1px solid rgba(11, 53, 72, 0.10);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 12px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.perfil-faq-item:last-child {
    margin-bottom: 0;
}

.perfil-faq-item[open] {
    border-color: rgba(219, 104, 38, 0.35);
    box-shadow: 0 10px 24px rgba(219, 104, 38, 0.10);
}

.perfil-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: background-color 0.15s ease;
}

.perfil-faq-item summary::-webkit-details-marker {
    display: none;
}

.perfil-faq-item summary:hover {
    background: #fbfcfd;
}

.perfil-faq-item__num {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(219, 104, 38, 0.12);
    color: #DB6826;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 0.78rem;
    flex: 0 0 auto;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.perfil-faq-item[open] .perfil-faq-item__num {
    background: #DB6826;
    color: #ffffff;
}

.perfil-faq-item__question {
    flex: 1;
    min-width: 0;
    color: #0B3548;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.35;
}

.perfil-faq-item__chevron {
    color: #9fb0b9;
    font-size: 0.82rem;
    flex: 0 0 auto;
    transition: transform 0.25s ease, color 0.25s ease;
}

.perfil-faq-item[open] .perfil-faq-item__chevron {
    transform: rotate(180deg);
    color: #DB6826;
}

.perfil-faq-item__answer {
    padding: 0 16px 16px 60px;
}

.perfil-faq-item__answer p {
    color: #5d6d7a;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 575.98px) {
    .perfil-faq-modal-header {
        padding: 18px;
    }

    .perfil-faq-modal-header .modal-title {
        font-size: 1.05rem;
        max-width: none;
    }

    .perfil-faq-modal-body {
        padding: 16px;
    }

    .perfil-faq-item__answer {
        padding-left: 16px;
    }
}
