/* Página pública do profissional PJ — /{id}/{slug} */

body#perfilpagina {
    background: #f4f7fc;
}

body#perfilpagina nav#sidebarhome {
    display: none !important;
}

.pp-public {
    display: block;
    width: 100%;
    padding-bottom: 48px;
}

.pp-hero {
    position: relative;
    margin-bottom: 24px;
}

.pp-hero__banner {
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #0368ff 0%, #00bfa6 100%);
}

.pp-hero__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pp-hero__inner {
    max-width: 960px;
    margin: -72px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.pp-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    padding: 24px;
}

.pp-card__head {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.pp-card__avatar {
    width: 112px;
    height: 112px;
    border-radius: 18px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    flex-shrink: 0;
    background: #e2e8f0;
}

.pp-card__info {
    flex: 1;
    min-width: 220px;
}

.pp-card__info h1 {
    margin: 0 0 6px;
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.pp-card__role {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #0368ff;
}

.pp-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.pp-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.pp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
}

.pp-btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.pp-btn--primary {
    background: #0368ff;
    color: #fff !important;
}

.pp-btn--ghost {
    background: #fff;
    color: #0368ff !important;
    border-color: rgba(3, 104, 255, 0.2);
}

.pp-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.pp-about {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.pp-about h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.pp-about__body {
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-line;
}

#ppLoginModal .modal-content {
    border-radius: 14px;
    border: none;
}

@media (max-width: 640px) {
    .pp-hero__banner {
        height: 160px;
    }

    .pp-hero__inner {
        margin-top: -56px;
    }

    .pp-card__avatar {
        width: 88px;
        height: 88px;
    }

    .pp-card__info h1 {
        font-size: 1.4rem;
    }
}
