/* ============================================
   RESET GLOBAL
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f4f6fa;
    font-family: "Inter", Arial, sans-serif;
    color: #333;
    padding-bottom: 60px;
}

/* ============================================
   LINKS
============================================ */
a {
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    opacity: .8;
}

/* ============================================
   HEADER
============================================ */
.header-main {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e4e4e4;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0d6efd;
}

.nav-menu a {
    margin-left: 22px;
    text-decoration: none;
    font-weight: 600;
    color: #444;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #0d6efd;
}

/* ============================================
   GLASS CARD GLOBAL
============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 22px;
    border: 1px solid rgba(220, 220, 220, 0.7);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

/* ============================================
   TITULOS PADRÃO
============================================ */
.section-title {
    font-weight: 800;
    font-size: 1.6rem;
    color: #0d6efd;
}

/* ============================================
   INPUTS E FORMULÁRIOS GLOBAIS
============================================ */
.form-control,
input,
textarea,
select {
    border-radius: 10px !important;
    padding: 12px !important;
    border: 1px solid #d7d7d7;
    font-size: 1rem;
}

.form-control:focus,
input:focus,
textarea:focus {
    border-color: #0d6efd !important;
    box-shadow: 0 0 6px rgba(13, 110, 253, 0.3);
}

/* ============================================
   BOTÕES PADRONIZADOS
============================================ */
.btn-main {
    background: linear-gradient(45deg, #0d6efd, #003fa5);
    border: none !important;
    padding: 12px 24px !important;
    font-size: 1.05rem;
    border-radius: 12px !important;
    font-weight: 600;
    color: white !important;
    transition: 0.25s;
}

.btn-main:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-outline-main {
    border: 2px solid #0d6efd !important;
    background: none;
    color: #0d6efd !important;
    border-radius: 12px !important;
    padding: 10px 20px !important;
    font-weight: 600;
}

.btn-outline-main:hover {
    background: #0d6efd !important;
    color: white !important;
}

/* Botões extra */
.btn-save {
    background: #198754 !important;
    color: white !important;
    border-radius: 12px !important;
}

.btn-clear {
    background: #6c757d !important;
    color: white !important;
    border-radius: 12px !important;
}

/* ============================================
   TABELAS (CADASTRO / RELATÓRIOS)
============================================ */
.table {
    border-radius: 12px !important;
    overflow: hidden;
}

table thead {
    background: #0d6efd !important;
    color: white;
}

.table-striped tbody tr:nth-child(even) {
    background: #f1f5ff !important;
}

/* Excluir com aparência padrão */
.btnDelete {
    background: #dc3545 !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 6px 12px;
}

/* ============================================
   HOME – IMAGENS PADRONIZADAS
============================================ */
.news-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
}

.hero-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* ============================================
   NEWS CARDS
============================================ */
.news-card {
    transition: 0.25s;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.15);
}

.news-card h5 {
    font-weight: 700;
    font-size: 1.2rem;
}

/* ============================================
   RODAPÉ GLOBAL
============================================ */
.footer-main {
    background: #fff;
    padding: 40px 0;
    border-top: 1px solid #ddd;
}

.footer-main a {
    color: #0d6efd;
}

.footer-main a:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVIDADE GLOBAL
============================================ */
@media (max-width: 768px) {
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-img {
        height: 180px;
    }

    .news-card img {
        height: 150px;
    }
}