/* ============================= */
/* CONFIGURAÇÃO BASE */
/* ============================= */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    margin-bottom: 60px;
    background-color: #f8f9fa;
}

/* ============================= */
/* TÍTULO SEÇÃO */
/* ============================= */

.titulo-secao {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
}

/* ============================= */
/* MENU ESTILIZADO */
/* ============================= */

.navbar-nav .nav-link {
    font-weight: 600; /* Negrito */
    color: #333;
    transition: all 0.2s ease-in-out;
    position: relative;
}

    /* Hover efeito */
    .navbar-nav .nav-link:hover {
        color: #0d6efd; /* Azul Bootstrap */
    }

    /* Linha animada abaixo */
    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0%;
        height: 2px;
        background-color: #0d6efd;
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

/* ============================= */
/* MENU ESPAÇAMENTO */
/* ============================= */

.navbar-nav .nav-item {
    margin: 0 12px; /* Espaço lateral entre itens */
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #333;
    transition: all 0.2s ease-in-out;
    position: relative;
    padding: 8px 4px; /* Ajuste fino vertical */
}



/* ============================= */
/* EVENTO CARD MELHORADO */
/* ============================= */

.evento-card {
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

    .evento-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.evento-img {
    height: 180px;
    object-fit: cover;
}

/* ============================= */
/* BARRA DE VENDAS */
/* ============================= */

.barra-vendas {
    height: 24px;
    border-radius: 20px;
    background: #e5e7eb;
    overflow: hidden;
}

.barra-vendas-preenchida {
    background: linear-gradient(90deg, #4caf50, #66bb6a);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: width 0.6s ease;
    color: white;
    min-width: 45px; /* garante espaço para o texto */
}

/* ============================= */
/* BOTÕES FOCUS */
/* ============================= */

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* ============================= */
/* NAVBAR */
/* ============================= */

.navbar {
    border-bottom: 1px solid #e5e5e5;
}

.navbar-brand img {
    height: 40px;
}

/* ============================= */
/* SLIDER FULL WIDTH */
/* ============================= */

#heroSlider {
    width: 100%;
}

.hero-img {
    width: 100%;
    height: 220px; /* mais fino */
    object-fit: cover;
}

/* ============================= */
/* CARDS DE EVENTOS */
/* ============================= */

.card {
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
}

    .card:hover {
        transform: translateY(-4px);
    }

.card-title {
    font-weight: 600;
}

.card .btn {
    border-radius: 8px;
}

/* ============================= */
/* FOOTER */
/* ============================= */

footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e5e5;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    color: #6c757d;
}


/* ============================= */
/* LAYOUT FLEX PARA FOOTER FIXO */
/* ============================= */

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    background-color: #f8f9fa;
}

main {
    flex: 1;
}

/* ============================= */
/* FOOTER */
/* ============================= */

.site-footer {
    background-color: #0b2239;
    color: #ffffff;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-logo {
    height: 40px;
    margin-top: 10px;
}
