/* ==========================================================================
   ESTILOS BASE DO CATÁLOGO DE ANÚNCIOS (CSS PURO ULTRA RÁPIDO)
   ========================================================================== */

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

/* ==========================================================================
   ESTILO BASE DO SITE (CORREÇÃO DE RODAPÉ TRAVADO NO FINAL)
   ========================================================================== */
html, body {
    height: 100%; /* Força o site a reconhecer toda a altura do monitor */
    margin: 0;
    padding: 0;
}

body { 
    background-color: #f8f9fa; 
    font-family: 'Inter', system-ui, -apple-system, sans-serif; 
    color: #212529;
    
    /* O SEGREDO AQUI: Ativa o Flexbox para empurrar o rodapé para baixo */
    display: flex;
    flex-direction: column;
}

/* Menu Superior Preto */
.topo-nav { 
    background-color: #212529; 
    padding: 15px 25px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
}

.topo-nav a { 
    color: #fff; 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 24px; 
    font-family: 'Arial Black', sans-serif; 
}

/* Container Central */
.conteudo { 
    max-width: 950px; 
    margin: 20px auto; 
    padding: 0 15px; 
}

/* Botão Voltar */
.btn-voltar { 
    background-color: #b8b8b8; 
    color: #212529; 
    font-weight: bold; 
    text-transform: uppercase; 
    font-size: 13px; 
    padding: 8px 16px; 
    border-radius: 4px; 
    text-decoration: none; 
    display: inline-block; 
    margin-bottom: 15px; 
}

/* Divisão Lateral Profissional (Grid) */
.grid-perfil { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 25px; 
    align-items: start; 
}

.col-esquerda { 
    flex: 1.3; 
    min-width: 320px; 
    background: #fff; 
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
}

.col-direita-ensaio { 
    flex: 1; 
    min-width: 320px; 
    background: #fff; 
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
}

/* Títulos e Detalhes da Ficha */
.widget_title { 
    font-size: 28px; 
    font-weight: bold; 
    color: #111; 
    margin-bottom: 5px; 
}

.widget_title_bar { 
    height: 3px; 
    background-color: #8b7355; 
    width: 60px; 
    margin: 8px 0 15px 0; 
}

.sub-titulo-cidade { 
    font-size: 16px; 
    font-weight: bold; 
    color: #6c757d; 
    margin-bottom: 15px; 
}

.descricao-box { 
    font-size: 15px; 
    color: #495057; 
    line-height: 1.6; 
    margin-bottom: 25px; 
    background: #fdfdfd; 
    padding: 15px; 
    border-radius: 6px; 
    border: 1px solid #f1f1f1; 
}

.lista-perfil { 
    list-style: none; 
    margin-bottom: 25px; 
}

.lista-perfil li { 
    padding: 10px 0; 
    border-bottom: 1px solid #eee; 
    font-size: 15px; 
    display: flex; 
    justify-content: space-between; 
}

.lista-perfil li strong { 
    color: #555; 
}

/* Botões de Ação Dinâmicos */
.btn-acao { 
    color: #fff; 
    font-weight: bold; 
    font-size: 16px; 
    text-align: center; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    padding: 12px 0; 
    border-radius: 6px; 
    border: none; 
    width: 100%; 
    cursor: pointer; 
    margin-bottom: 10px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
}

.btn-ligar { 
    background-color: #333; 
}

.btn-whats { 
    background-color: #25D366; 
}

.btn-whats:hover { 
    background-color: #1ebd56; 
}

/* Grade da Galeria de Fotos */
.galeria-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px; 
}

.galeria-box { 
    aspect-ratio: 1/1; 
    overflow: hidden; 
    border-radius: 6px; 
    cursor: pointer; 
    border: 1px solid #ddd; 
    transition: 0.2s; 
}

.galeria-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.galeria-box:hover { 
    transform: scale(1.02); 
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); 
}

/* ==========================================================================
   MODAL DE VISUALIZAÇÃO DE CINEMA (RETÂNGULO HORIZONTAL PAISAGEM DEFINITIVO)
   ========================================================================== */

.lightbox-modal { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(10, 10, 10, 0.96); 
    z-index: 9999; 
    justify-content: center; 
    align-items: center; 
    flex-direction: column; 
}

/* FORÇA O FORMATO PAISAGEM: Encaixe atravessado largo de 650px */
.box-lightbox-wrapper {
    position: relative;
    display: block;
    width: 650px;        
    max-width: 92vw;     
    margin: 0 auto;
}

.lightbox-conteudo { 
    display: block;
    width: 100%;         
    height: 440px;       /* Proporção menor que a largura deita a foto em formato paisagem */
    border: 1px solid #fff; 
    border-bottom: none; 
    box-shadow: 0 12px 35px rgba(0,0,0,0.6); 
    background-color: #151515; 
    object-fit: contain; /* Encaixa a foto perfeitamente sem distorcer ou embaçar */
    image-rendering: auto; 
}

.lightbox-rodape { 
    background-color: #1a1a1a; /* Grafite escuro elegante unificado */
    color: #ffffff; 
    width: 100%;         
    text-align: left; 
    padding: 12px 18px; 
    font-weight: bold; 
    font-size: 15px; 
    font-family: sans-serif;
    border: 1px solid #fff; 
    border-top: none;    
    margin-top: 0; 
    box-sizing: border-box;
    line-height: 1.4; /* Espaçamento confortável para as duas linhas de texto */
}

/* Botão Fechar (X) acoplado e alinhado perfeitamente na barra grafite */
.lightbox-fechar { 
    position: absolute; 
    bottom: 16px;           
    right: 18px; 
    color: #fff; 
    font-size: 24px;        
    font-weight: bold; 
    cursor: pointer; 
    user-select: none; 
    line-height: 1;
}

/* Setas de Navegação Flutuantes nas Laterais da Tela */
.seta-lightbox { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    color: rgba(255, 255, 255, 0.5); 
    font-size: 45px; 
    font-weight: 300; 
    padding: 15px; 
    cursor: pointer; 
    user-select: none; 
    text-decoration: none; 
    transition: color 0.2s; 
    background-color: transparent !important; 
    border: none !important; 
    z-index: 10000;
}

.seta-lightbox:hover { 
    color: #fff; 
}

.seta-esq { left: 25px; }
.seta-dir { right: 25px; }


/* ==========================================================================
   RODAPÉ OFICIAL DO SITE (FOOTER INSTITUCIONAL)
   ========================================================================== */
.rodape-site {
    background-color: #111111;
    color: #aaaaaa;
    padding: 30px 20px;
    text-align: center;
    font-family: sans-serif;
    font-size: 14px;
    border-top: 3px solid #8b7355; /* Linha dourada discreta combinando com o menu */
    margin-top: 60px;
    width: 100%;
}

.rodape-site a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.2s;
}

.rodape-site a:hover {
    color: #8b7355;
}

.rodape-aviso, .rodape-legal {
    font-size: 15px; 
    
    /* TROCA DE COR: Dourado bronze premium de alto padrão */
    color: #c5a880;  
    
    font-weight: 600;  
    line-height: 1.6;
    letter-spacing: 0.3px;
    text-align: center;
    
    /* REMOVE A TRAVA: Deixa o texto ocupar o espaço horizontal natural sem se espremer */
    max-width: 100%;
    padding: 0 40px; /* Cria apenas um respiro confortável nas pontas do monitor */
    box-sizing: border-box;
}
