/* ============================================
   PESSOA SINGLE PAGE STYLES
   ============================================ */

/* ============================================
   HEADER SECTION
   ============================================ */

.pessoa-page {
    padding: 1rem;
}

.pessoa-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: stretch;
}

/* Left Sidebar: Photo + Details */
.pessoa-left-column {
    width: 319px;
    flex-shrink: 0;
    border: 1px solid #E7E7E7;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.pessoa-foto-container {
    /* gap on parent handles spacing */
}

.pessoa-foto {
    width: 100%;
    height: 225px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.pessoa-foto-placeholder {
    width: 100%;
    height: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
    border-radius: 8px;
    font-size: 4rem;
    font-weight: 600;
    color: #888;
}

/* Info List Below Photo - Matches Figma Exactly */
.pessoa-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.pessoa-info-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pessoa-info-label {
    font-size: 16px;
    color: #303030;
    font-weight: 400;
    line-height: 1.21;
}

.pessoa-info-val {
    font-size: 16px;
    color: #303030;
    font-weight: 600;
    line-height: 1.21;
}

/* Mobile-only name heading (hidden on desktop, shown above info card on mobile) */
.pessoa-nome-header {
    display: none;
}

/* Right Column: Name + Bio */
.pessoa-right-column {
    flex: 1;
    min-width: 0;
    max-height: 555px;
    border: 1px solid #E7E7E7;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pessoa-nome {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.21;
    color: #0A376E;
    margin: 0;
}

.pessoa-biografia {
    font-size: 16px;
    line-height: 1.5;
    color: #303030;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    margin: 0;
}

.ad-container-pessoa {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.ad-placeholder-pessoa {
    width: 1220px;
    height: 125px;
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
    font-weight: bold;
}

/* ============================================
   CAREER RATING SECTION (Avaliação crítica da carreira)
   ============================================ */

.pessoa-career-rating {
    margin-bottom: 2.5rem;
}

.pessoa-section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-main, #0A376E);
    margin: 0 0 1rem 0;
}

/* Rating Distribution Box - matches Figma node 3884-30782 */
.pessoa-career-rating .rating-distribution-box {
    background: #FDFDFD;
    border: 1px solid #E7E7E7;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 53px;
    align-items: center;
}

.pessoa-career-rating .rating-score-box {
    width: 252px;
    height: 208px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pessoa-career-rating .rating-score-number {
    font-size: 96px;
    font-weight: 600;
    color: white;
    line-height: 1.21;
}

.pessoa-career-rating .rating-score-label {
    font-size: 16px;
    color: white;
    font-weight: 400;
}

.pessoa-career-rating .rating-score-label-mobile {
    display: none;
}

.pessoa-career-rating .rating-distribution-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Best/Worst Movies */
.pessoa-best-worst {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pessoa-highlight-row {
    display: flex;
    align-items: center;
    gap: 11px;
}

/* Icon + badge group on the left */
.pessoa-highlight-icon-group {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.pessoa-highlight-icon {
    width: 16px;
    height: 16px;
}

.pessoa-highlight-row .rating-badge-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

/* Label + film name column on the right */
.pessoa-highlight-text-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pessoa-highlight-label {
    font-size: 16px;
    font-weight: 400;
    color: #303030;
    line-height: 1.21;
}

.pessoa-highlight-film {
    font-size: 16px;
    font-weight: 700;
    color: #0A376E;
    line-height: 1.21;
}

.pessoa-highlight-film a {
    color: #0A376E;
    text-decoration: none;
}

.pessoa-highlight-film a:hover {
    text-decoration: underline;
}

/* Divider between best/worst and distribution bars */
.career-rating-divider {
    border: none;
    border-top: 0.5px solid #D1D1D1;
    margin: 0;
}

/* Distribution Bars Section */
.rating-distribution-bars {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.pessoa-career-rating .rating-distribution-title {
    font-size: 16px;
    font-weight: 600;
    color: #0A376E;
    margin: 0;
    line-height: 1.21;
}

.pessoa-career-rating .rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pessoa-career-rating .rating-bar-label {
    width: 84px;
    font-size: 16px;
    color: #5D5D5D;
    flex-shrink: 0;
}

.pessoa-career-rating .rating-bar-container {
    flex: 1;
    height: 5px;
    background: #e7e7e7;
    border-radius: 10px;
    overflow: hidden;
}

.pessoa-career-rating .rating-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.pessoa-career-rating .rating-bar-fill.green {
    background: #48AD3A;
}

.pessoa-career-rating .rating-bar-fill.orange {
    background: #FF720D;
}

.pessoa-career-rating .rating-bar-fill.yellow {
    background: #F0C72D;
}

.pessoa-career-rating .rating-bar-fill.red {
    background: #f44336;
}

.pessoa-career-rating .rating-bar-value {
    width: 65px;
    text-align: right;
    font-size: 16px;
    color: #5D5D5D;
}

/* ============================================
   FILMOGRAFIA SECTION
   ============================================ */

.filmografia-section {
    margin-bottom: 2.5rem;
}

.filmografia-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.filmografia-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-main, #0A376E);
    margin: 0;
}

.filmografia-count {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    margin-left: 0.5rem;
}

.filmografia-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filmografia-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--main-blue-950, #0a2463);
    border-radius: 6px;
    color: var(--main-blue-950, #0a2463);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filmografia-tab:hover,
.filmografia-tab.active {
    background: var(--main-blue-950, #0a2463);
    color: #fff;
}

.filmografia-table {
    width: 100%;
    border-collapse: collapse;
}

.filmografia-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    background: var(--main-blue-950, #0a2463);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.filmografia-table th:first-child {
    border-radius: 8px 0 0 0;
}

.filmografia-table th:last-child {
    border-radius: 0 8px 0 0;
}

.filmografia-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 16px;
    vertical-align: middle;
}

.filmografia-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.filmografia-table tbody tr:hover {
    background: #f3f4f6;
}

.filmografia-table .rating-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    color: #fff;
}

.filmografia-table .rating-green {
    background: #22c55e;
}

.filmografia-table .rating-yellow {
    background: #eab308;
}

.filmografia-table .rating-red {
    background: #ef4444;
}

.filmografia-table .rating-gray {
    background: #9ca3af;
}

.filmografia-table a {
    color: var(--main-blue-950, #0a2463);
    text-decoration: none;
    font-weight: 500;
}

.filmografia-table a:hover {
    text-decoration: underline;
}

/* Style for movies/series not in our database catalog */
.filmografia-table .filme-not-in-db {
    color: #6b7280;
    font-weight: 400;
    font-style: italic;
}

/* Role-based grouping headings (e.g. "Direção em Filmes") */
.filmografia-role-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
    padding-bottom: 0.4rem;
}

.filmografia-role-heading:first-child {
    margin-top: 0;
}

/* ============================================
   VIDEOS SECTION
   ============================================ */

.pessoa-videos-section {
    margin-bottom: 2.5rem;
}

.pessoa-videos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.pessoa-videos-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-main, #0A376E);
    margin: 0;
}

.pessoa-videos-container {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0a0a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.pessoa-videos-main {
    flex: 1;
    min-width: 0;
    background: #000;
}

.pessoa-videos-main iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
}

.pessoa-videos-sidebar {
    width: 320px;
    flex-shrink: 0;
    background: #111;
    display: flex;
    flex-direction: column;
    max-height: 400px;
    overflow-y: auto;
}

.pessoa-videos-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pessoa-videos-item:hover,
.pessoa-videos-item.active {
    background: rgba(255, 255, 255, 0.1);
}

.pessoa-videos-thumb {
    width: 120px;
    height: 68px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.pessoa-videos-info {
    flex: 1;
    min-width: 0;
}

.pessoa-videos-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #f4b400;
    margin-bottom: 4px;
}

.pessoa-videos-name {
    font-size: 0.85rem;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   FOTOS SECTION
   ============================================ */

.pessoa-fotos-section {
    margin-bottom: 2.5rem;
}

.pessoa-fotos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.pessoa-fotos-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-main, #0A376E);
    margin: 0;
}

.pessoa-fotos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.pessoa-fotos-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    cursor: pointer;
}

.pessoa-fotos-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.pessoa-fotos-item:hover img {
    transform: scale(1.05);
}

.pessoa-fotos-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}

.pessoa-fotos-overlay svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
}

/* ============================================
   MATERIAS SECTION
   ============================================ */

.pessoa-materias-section {
    margin-bottom: 2.5rem;
}

.pessoa-materias-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.pessoa-materias-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-main, #0A376E);
    margin: 0;
}

.pessoa-materias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pessoa-materia-card {
    text-decoration: none;
    color: inherit;
}

.pessoa-materia-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.pessoa-materia-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--main-blue-700, #1a56db);
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.pessoa-materia-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
    margin: 0;
}

.pessoa-materia-card:hover .pessoa-materia-title {
    color: var(--main-blue-950, #0a2463);
}

/* ============================================
   PERSONALITIES SECTION
   ============================================ */

.pessoa-relacionados-section {
    margin-bottom: 2.5rem;
}

.pessoa-relacionados-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.pessoa-relacionados-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-main, #0A376E);
    margin: 0;
}

.pessoa-relacionados-nav {
    display: flex;
    gap: 12px;
}

.pessoa-relacionados-nav-btn {
    background: transparent;
    border: none;
    color: var(--main-blue-950, #0a2463);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
}

.pessoa-relacionados-nav-btn:hover {
    opacity: 0.6;
}

.pessoa-relacionados-nav-btn.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pessoa-relacionados-card {
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pessoa-relacionados-foto {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 190px;
    margin: 0 auto 0.75rem;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}



.pessoa-relacionados-nome {
    font-size: 16px;
    font-weight: 600;
    color: var(--main-blue-950, #0a2463);
    margin-bottom: 0.25rem;
}

.pessoa-relacionados-role {
    font-size: 0.8rem;
    color: #666;
}

/* ============================================
   INFO ADICIONAL SECTION
   ============================================ */

.pessoa-info-section {
    background: var(--main-blue-950, #0a2463);
    padding: 2rem;
    margin: 0 -15px 2rem;
    color: #fff;
}

@media (min-width: 992px) {
    .pessoa-info-section {
        margin: 0 calc(-50vw + 50%) 2rem;
        padding: 2rem calc(50vw - 50%);
    }
}

.pessoa-info-header {
    margin-bottom: 1.5rem;
}

.pessoa-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.pessoa-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.pessoa-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pessoa-info-label {
    font-size: 0.90rem;
    color: #303030;
}

.pessoa-info-value {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

.pessoa-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.pessoa-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s;
}

.pessoa-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.pessoa-social-link svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
    /* Score box intermediate size for tablets */
    .pessoa-career-rating .rating-score-box {
        width: 160px;
        height: 160px;
    }

    .pessoa-career-rating .pessoa-career-rating-score-box-container {
        flex-direction: row;
        gap: 1rem;
    }

    .pessoa-career-rating .rating-score-number {
        font-size: 64px;
    }

    .pessoa-career-rating .rating-distribution-box {
        gap: 24px;
    }

    .pessoa-videos-container {
        flex-direction: column;
    }

    .pessoa-videos-sidebar {
        width: 100%;
        max-height: 200px;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .pessoa-videos-item {
        flex-direction: column;
        min-width: 150px;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pessoa-fotos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pessoa-materias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    /* Show mobile name heading above info card */
    .pessoa-nome-header {
        display: block;
        font-family: 'Inter', sans-serif;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.21;
        color: #0A376E;
        margin: 0 0 20px 0;
    }

    .pessoa-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .pessoa-left-column {
        width: 100%;
        max-width: none;
        border-radius: 8px;
    }

    .pessoa-right-column {
        max-height: none;
        border-radius: 8px;
        margin-top: 20px;
    }

    /* Info values: blue color + normal weight on mobile */
    .pessoa-info-val {
        font-weight: 400;
        color: #0A376E;
    }

    /* Person name inside bio card: smaller on mobile */
    .pessoa-nome {
        font-size: 20px;
        font-weight: 700;
        margin: 0;
    }

    .pessoa-biografia {
        font-size: 16px;
        max-height: none;
        overflow-y: visible;
    }

    .filmografia-table {
        display: block;
        overflow-x: auto;
    }

    .filmografia-table th,
    .filmografia-table td {
        white-space: nowrap;
    }

    .pessoa-relacionados-foto {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 575.98px) {
    /* pessoa-nome handled by 767.98 breakpoint */

    .pessoa-section-title,
    .filmografia-title,
    .pessoa-videos-title,
    .pessoa-fotos-title,
    .pessoa-materias-title,
    .pessoa-relacionados-title,
    .pessoa-info-importante-title,
    .pessoa-faq-title {
        font-size: 1.25rem;
    }

    .pessoa-fotos-grid,
    .pessoa-materias-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    /* Career rating mobile */
    .pessoa-career-rating .rating-distribution-box {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }

    .pessoa-career-rating .rating-score-box {
        width: 40%;
        height: 90px;
        flex-direction: row;
    }

    .pessoa-career-rating .rating-score-number {
        font-size: 3rem;
    }

    .pessoa-career-rating .rating-score-label {
        font-size: 1rem;
    }

    .pessoa-career-rating .rating-score-label-mobile {
        display: inline-flex;
        align-items: center;
        color: var(--color-main, #0A376E);
        font-size: 1rem;
        font-weight: 600;
        margin-left: 0.75rem;
    }

    .pessoa-highlight-row {
        flex-wrap: wrap;
    }
}

/* ============================================
   INFORMAÇÕES IMPORTANTES SECTION
   ============================================ */

.pessoa-info-importante-section {
    
}

.pessoa-info-importante-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-main, #0A376E);
    margin: 0 0 1.5rem 0;
}

.pessoa-info-importante-content {
    font-size: 1rem;
    line-height: 1.75;
    color: #374151;
}

.pessoa-info-importante-content p {
    margin: 0 0 1rem 0;
}

.pessoa-info-importante-content p:last-child {
    margin-bottom: 0;
}

.pessoa-info-subtitulo {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--main-blue-950, #0a2463);
    margin: 1.5rem 0 0.75rem 0;
}

/* ============================================
   FAQ ACCORDION SECTION
   ============================================ */

.pessoa-faq-section {
    margin-bottom: 2.5rem;
}

.pessoa-faq-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-main, #0A376E);
    margin: 0 0 1.5rem 0;
}

.pessoa-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pessoa-faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.pessoa-faq-item:first-child {
    border-top: 1px solid #e5e7eb;
}

.pessoa-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--main-blue-950, #0a2463);
    transition: color 0.2s ease;
}

.pessoa-faq-question:hover {
    color: var(--main-blue-700, #1a56db);
}

.pessoa-faq-question span {
    flex: 1;
    padding-right: 1rem;
}

.pessoa-faq-arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #d4a03e;
    transition: transform 0.3s ease;
}

.pessoa-faq-item.active .pessoa-faq-arrow {
    transform: rotate(180deg);
}

.pessoa-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0 0 0;
}

.pessoa-faq-item.active .pessoa-faq-answer {
    max-height: 500px;
    padding: 0 0 1.25rem 0;
}

.pessoa-faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .pessoa-info-importante-content {
        font-size: 16px;
    }

    .pessoa-faq-question {
        font-size: 16px;
        padding: 1rem 0;
    }

    .pessoa-faq-answer p {
        font-size: 16px;
    }
}

@media (max-width: 575.98px) {
    .pessoa-faq-question {
        font-size: 16px;
    }
}


/* top work section */
/* Styles for Top Works Section */
.pessoa-top-works-section {
    margin-bottom: 3rem;
    position: relative;
}

.pessoa-top-works-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.pessoa-top-works-nav {
    display: flex;
    gap: 0.5rem;
}

.pessoa-top-works-nav button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.pessoa-top-works-nav button:hover {
    opacity: 1;
}

.pessoa-top-works-nav button.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}

.pessoa-top-works-nav img {
    width: 32px;
    height: 32px;
}

.top-work-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.top-work-link.disabled {
    cursor: default;
}

.top-work-poster-container {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 2/3;
    margin-bottom: 0.75rem;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.top-work-link:not(.disabled):hover .top-work-poster-container {
    transform: translateY(-4px);
}

.top-work-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-work-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.score-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.score-icon {
    width: 20px;
    height: 20px;
    opacity: 0.6;
}

.score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 24px;
    padding: 0 4px;
    border-radius: 4px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1;
}

.badge-green {
    background-color: #22c55e;
}

.badge-yellow {
    background-color: #eab308;
}

.badge-red {
    background-color: #ef4444;
}

.badge-gray {
    background-color: #9ca3af;
}

.top-work-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.top-work-link:not(.disabled):hover .top-work-title {
    color: #2563eb;
}

/* Pessoas foto modal */ 
.pessoa-fotos-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    padding: 2rem;
    overflow-y: auto;
}

.pessoa-fotos-modal.active {
    display: block;
}

.pessoa-fotos-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.pessoa-fotos-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-main);
    margin: 0;
}

.pessoa-fotos-modal-close {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
}

.pessoa-fotos-modal-close:hover {
    color: var(--color-main);
}

.pessoa-fotos-modal-main {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.pessoa-fotos-modal-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.pessoa-fotos-modal-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
    object-fit: contain;
}

.pessoa-fotos-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    padding: 1rem;
    transition: color 0.2s;
}

.pessoa-fotos-modal-nav:hover {
    color: var(--color-main);
}

.pessoa-fotos-modal-nav.prev {
    left: -60px;
}

.pessoa-fotos-modal-nav.next {
    right: -60px;
}

.pessoa-fotos-modal-caption {
    text-align: center;
    margin-top: 1rem;
    color: #666;
    font-size: 16px;
}

.pessoa-fotos-modal-thumbnails {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pessoa-fotos-modal-thumb {
    width: 150px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, border-color 0.2s;
    border: 3px solid transparent;
}

.pessoa-fotos-modal-thumb:hover {
    opacity: 0.9;
}

.pessoa-fotos-modal-thumb.active {
    opacity: 1;
    border-color: var(--color-main);
}

.pessoa-fotos-modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .pessoa-fotos-modal-nav.prev {
        left: 0;
    }

    .pessoa-fotos-modal-nav.next {
        right: 0;
    }
}

@media (max-width: 575.98px) {
    .pessoa-fotos-modal {
        padding: 1rem;
    }

    .pessoa-fotos-modal-thumb {
        width: 80px;
        height: 50px;
    }
}