/* ================================
   ESTILO GLOBAL DO SITE
   Funciona no XAMPP e na Hostinger
================================ */

/* Reset básico */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Fundo geral e tipografia */
body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, #e0f2fe 0, #f9fafb 40%, #f3f4f6 100%);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111827;
    line-height: 1.6;
}

/* Wrapper principal (engloba navbar, main e footer) */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER PRETO / TOPO */
.topbar {
    background-color: #000 !important;
    color: #fff !important;
    padding: 12px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.topbar .navbar-brand {
    color: #fff !important;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

/* LOGO / TEXTO DA MARCA */
.header-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.5));
    margin-right: 8px;
}

.brand-text {
    color: #ffffff;
    font-weight: 500;
}

.brand-text .highlight-blue {
    color: #3b82f6;
    font-weight: 700;
}

/* LINKS DO MENU */
.topbar .nav-link {
    color: #ddd !important;
    font-size: 1rem;
    font-weight: 500;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
}

.topbar .nav-link:hover,
.topbar .nav-link.active {
    color: #fff !important;
    text-decoration: underline;
}

/* Ícone do menu hamburguer branco */
.navbar-toggler {
    border-color: #fff !important;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Ícone em cada item de menu */
.nav-icon {
    height: 18px;
    width: auto;
    object-fit: contain;
    margin-right: 6px;
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.6));
}

/* ÁREA PRINCIPAL
   (entre header e footer, centraliza o conteúdo) */
.main-content {
    flex: 1 0 auto;               /* ocupa espaço flex, empurrando o footer para baixo */
    display: flex;
    justify-content: center;       /* centro horizontal */
    align-items: center;           /* centro vertical */
    padding: 20px 10px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #f9fafb 0%, #f1f5f9 50%, #e5e7eb 100%);
}

.main-inner {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

#pageContent {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* FOOTER PRETO COM EFEITO 3D */
#footer.footer-main {
    background-color: #000 !important;
    color: #fff !important;
    text-align: center;
    padding: 15px 20px;
    margin-top: auto;              /* gruda o footer no final da página */

    border-top: 3px solid #333;
    box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.6);

    font-size: 0.95rem;
    font-weight: 500;
}

/* Ajustes responsivos simples */
@media (max-width: 768px) {
    .topbar {
        padding: 8px 12px;
    }

    .header-logo {
        height: 34px;
    }

    #pageContent {
        padding: 0 4px;
    }
}
