/* --- 1. CONFIGURAÇÕES GERAIS --- */
:root {
    --primary: #0E2E50;
    --secondary: #FF6922;
    --light: #f8f9fa;
    --dark: #0E2E50;
    --gray: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light);
    color: #333;
    line-height: 1.6;
}

/* --- 2. TIPOGRAFIA --- */
h1, h2, h3, h4, h5 {
    font-family: 'PT Serif', serif;
    color: var(--primary);
    font-weight: 700;
}

/* --- 3. COMPONENTES ESTRUTURAIS --- */
.container-fluid, .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Navbar Moderna */
.nav-bar {
    background: #ffffff !important;
    padding: 1rem 3rem !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    border-radius: 0 0 20px 20px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--primary) !important;
    padding: 10px 20px !important;
    transition: 0.3s;
}

/* Botões Estilizados */
.btn-primary {
    background-color: var(--secondary) !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary) !important;
    transform: translateY(-3px);
}

/* --- 4. DESIGN DOS CARDS (PLANOS E NOTÍCIAS) --- */
#planosP .card, .bg-light {
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    transition: 0.3s ease;
    background: #ffffff !important;
}

#planosP .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

/* --- 5. RODAPÉ (FOOTER) --- */
.footer {
    background-color: var(--primary) !important;
    color: #cbd5e0 !important;
    padding: 60px 0 30px !important;
    margin-top: 50px;
}

.footer h5 {
    color: #ffffff;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.footer a {
    color: #cbd5e0 !important;
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    color: var(--secondary) !important;
    padding-left: 5px;
}

/* --- 6. UTILITÁRIOS --- */
.back-to-top {
    background-color: var(--secondary) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 50px;
    height: 50px;
}

/* Spinner de carregamento */
#spinner {
    background: #ffffff !important;
    z-index: 99999;
}