:root {
    --preto: #0f0f0f;
    --dourado: #d4af37;
    --dourado-claro: #f0d76e;
    --branco: #ffffff;
    --azul-profundo: #0f172a;
    --cinza-suave: #f3f4f6;
    --texto-escuro: #333333;
}

/* === CORPO DA PÁGINA === */
body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: #fafafa;
    color: var(--texto-escuro);
    margin: 0;
    padding: 0;
}

.navbar .nav-link {
    color: #ffffff !important;
}
.navbar .nav-link:hover {
    color: var(--dourado) !important;
}
.navbar-brand {
    color: #ffffff !important;
}

/* === ÁREA PRINCIPAL DA PÁGINA INICIAL === */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1a2744 100%);
    min-height: 100vh;
    padding-top: 80px;
    color: #ffffff !important;
}
.hero h1, .hero h2, .hero h3, .hero p {
    color: #ffffff !important;
}

/* === BOTÃO DOURADO === */
.btn-gold {
    background: linear-gradient(135deg, var(--dourado) 0%, #b8962e 100%);
    border: none;
    color: #000000 !important;
    font-weight: bold;
    transition: transform 0.3s;
}
.btn-gold:hover {
    transform: translateY(-2px);
    color: #000000 !important;
    box-shadow: 0 4px 15px rgba(212,175,55,0.4);
}

/* === CONTEÚDO DAS PÁGINAS INTERNAS === */
.conteudo-principal {
    margin-left: 250px !important;
    margin-top: 0 !important;
    padding: 30px 50px !important;
    min-height: calc(100vh - 60px) !important;
    background-color: #fafafa !important;
    color: #333333 !important;
    max-width: 1600px !important;
    width: calc(100% - 250px) !important;
    box-sizing: border-box !important;
}

/* === BARRA LATERAL === */
.sidebar {
    width: 250px;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #0f172a !important;
    background: #0f172a !important;
    overflow-y: auto;
    z-index: 1045;
}
.sidebar h4, .sidebar p {
    color: #ffffff !important;
}
.sidebar a {
    display: block;
    padding: 12px 18px;
    color: #cccccc !important;
    text-decoration: none;
    border-radius: 8px;
    margin: 4px 10px;
    transition: all 0.2s;
}
.sidebar a:hover, .sidebar a.active {
    background: rgba(212,175,55,0.18);
    color: var(--dourado) !important;
}

/* === CARTÕES E TABELAS === */
/* === CARTÕES COM MAIS ESPAÇO === */
.card {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-radius: 10px;
    background: #ffffff;
    padding: 20px !important;
    margin-bottom: 25px !important;
}

/* === MOBILE — SEM MARGEM LATERAL === */
@media (max-width: 767px) {
    .conteudo-principal {
        margin-left: 0 !important;
        padding: 20px !important;
}

/* === RODAPÉ === */
footer, .site-footer {
    background-color: #0f172a !important;
    background: #0f172a !important;
    color: #ffffff !important;
    padding: 30px 0;
    margin-top: 60px;
}
footer p, footer a, footer span {
    color: #ffffff !important;
}
footer a:hover {
    color: var(--dourado) !important;
}

/* === TEXTO GERAL === */
.text-gold {
    color: var(--dourado) !important;
}
.text-muted {
    color: #6c757d !important;
}

/* === BANNER — TAMANHO PADRÃO E FUNDO BRANCO === */
.banner-preview,
table img {
    background-color: #ffffff !important;
    width: 180px !important;
    height: 110px !important;
    object-fit: contain !important;
    border-radius: 4px !important;
    border: 1px solid #eee !important;
    padding: 4px !important;
}
