/* ==========================================================================
   BIOGRAFIA & PERFIL TÉCNICO DE CASTING
   ========================================================================== */
.bio-section {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 35px;
    background-color: #12100e;
    border-radius: 6px;
    margin-bottom: 50px;
    border: 1px solid #24201a;
}

.bio-profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.perfil-foto {
    /* 160px */
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #c5a059;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.badge-iag {
    background-color: #24201a;
    color: #c5a059;
    padding: 6px 14px;
    font-size: 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid #383126;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bio-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.bio-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #b3aba2;
}

/* Área de Ficha Técnica (Escaneamento para Agentes) */
.recruiter-sheet {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px dashed #383126;
}

.recruiter-sheet h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #c5a059;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    font-weight: 600;
}

.sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 35px;
    list-style: none;
    padding: 0;
}

.sheet-grid li {
    font-size: 0.92rem;
    color: #b3aba2;
    border-bottom: 1px solid #1a1714;
    padding-bottom: 8px;
}

.sheet-grid li strong {
    color: #f5f5f5;
    font-weight: 600;
}

/* Bloco de Tags de Habilidades */
.skills-section {
    margin-top: 25px;
}

.skills-section h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    color: #7a7268;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skills-tags .tag {
    background-color: #1a1714;
    color: #b3aba2;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #24201a;
}

/* ==========================================================================
   DIVISORES DE CATEGORIA CÊNICA
   ========================================================================== */
.section-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 60px 0 35px 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #24201a;
}

.section-divider h2 {
    font-size: 2rem;
    color: #f5f5f5; 
    font-weight: 700;
    padding: 0 20px;
}

/* ==========================================================================
   CARDS DE PROJETOS E ATUAÇÕES
   ========================================================================== */
.art-card {
    display: flex;
    align-items: stretch;
    padding: 30px 10px;
    gap: 35px;
    margin-bottom: 15px;
    border-bottom: 1px solid #1a1714;
    transition: background-color 0.3s ease;
}

.art-card.reverse {
    flex-direction: row-reverse;
}

.art-card:hover {
    background-color: #141210;
}

.media-wrapper {
    width: 35%;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    min-height: 220px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.art-card:hover .media-wrapper img {
    transform: scale(1.03);
}

/* Botão de Vídeo Flutuante Cinema Style */
.video-card {
    position: relative;
}

.play-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(197, 160, 89, 0.95); 
    color: #0d0b0b; 
    text-decoration: none;
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.play-btn:hover {
    background-color: #f5f5f5;
    transform: scale(1.03);
}

/* Textos e Detalhes Internos do Card */
.art-text {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.card-header h3 {
    font-size: 1.5rem;
    color: #c5a059;
}

.year-tag {
    background-color: #24201a;
    color: #c5a059;
    padding: 3px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: bold;
    border: 1px solid #383126;
}

.role-text, .character-text, .production-text {
    font-size: 0.92rem;
    margin-bottom: 5px;
    color: #f5f5f5;
}

.role-text strong, .character-text strong, .production-text strong {
    color: #7a7268;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-right: 4px;
}

.art-text .description {
    font-size: 0.9rem;
    color: #b3aba2;
    line-height: 1.6;
    margin-top: 12px;
    text-align: justify;
}

.location-tag {
    font-size: 0.78rem;
    color: #7a7268;
    margin-top: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-tag i {
    color: #c5a059;
    margin-right: 4px;
}

/* --- SEÇÃO DA GALERIA --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-auto-rows: 180px; 
    grid-auto-flow: dense;
    gap: 15px;
    padding: 20px 0;
    margin-bottom: 40px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background-color: #1a1a1a;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Modificadores de Tamanho (Efeito Mosaico) */
.gallery-item.wide {
    grid-column: span 2; 
}

.gallery-item.tall {
    grid-row: span 2; 
}

.gallery-item.big {
    grid-column: span 2;
    grid-row: span 2; 
}

/* Hover Effects */
.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

/* --- ESTILIZAÇÃO DO LIGHTBOX (ZOOM DA IMAGEM) --- */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); 
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 85%;
    max-height: 85%;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #ff4d4d;
}

/* Responsividade para Celulares */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        grid-auto-rows: 140px;
    }
    
    .gallery-item.wide, .gallery-item.big { grid-column: span 2; }
    .gallery-item.tall { grid-row: span 2; }
}

/* ==========================================================================
   RESPONSIVIDADE EXCLUSIVA (ARTÍSTICO)
   ========================================================================== */
@media (max-width: 768px) {
    .bio-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px;
    }
    
    .sheet-grid {
        grid-template-columns: 1fr;
        text-align: left;
        max-width: 280px;
        margin: 0 auto;
        gap: 10px;
    }

    .skills-section h5 {
        text-align: center;
    }

    .skills-tags {
        justify-content: center;
    }

    .section-divider h2 {
        font-size: 1.6rem;
    }

    .art-card, .art-card.reverse {
        flex-direction: column;
        padding: 30px 0;
    }

    .media-wrapper, .art-text {
        width: 100%;
    }
    
    .media-wrapper {
        min-height: 240px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}