/* ==========================================================================
   VARIÁVEIS DE CORES (Identidade MeuVoto.AI - Cores do Brasil)
   ========================================================================== */
:root {
    /* Cores Fornecidas */
    --brazil-teal: #03755D;      /* Verde Petróleo */
    --brazil-green: #41A355;     /* Verde Bandeira */
    --brazil-yellow: #F2D330;    /* Amarelo Sol */
    --brazil-blue: #063F63;      /* Azul Profundo */
    
    /* Cores de Apoio */
    --bg-light: #F8FAFC;
    --text-main: #1E293B;
    --white: #FFFFFF;
    
    /* Gradiente Moderno (Sutil) */
    --hero-gradient: linear-gradient(135deg, var(--brazil-blue) 0%, var(--brazil-teal) 100%);
    
    /* Sombras e Transições */
    --shadow-sm: 0 2px 4px rgba(6, 63, 99, 0.08);
    --shadow-md: 0 12px 24px rgba(6, 63, 99, 0.12);
    --transition-fast: all 0.2s ease-in-out;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   CONFIGURAÇÕES GERAIS
   ========================================================================== */
body {
    background-color: var(--bg-light);
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-main);
    margin: 0;
}

/* ==========================================================================
   NAVBAR (Elegância Sólida)
   ========================================================================== */
.navbar {
    background-color: var(--brazil-blue) !important;
    border-bottom: 4px solid var(--brazil-yellow); /* Detalhe em amarelo para contraste */
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-weight: 800;
    color: var(--white) !important;
    letter-spacing: -0.5px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--brazil-yellow) !important;
}

/* ==========================================================================
   HERO SECTION (Contraste Moderno)
   ========================================================================== */
.hero-vota {
    background: var(--hero-gradient);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.glass-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brazil-yellow);
    display: inline-block;
    margin-bottom: 24px;
}

.stat-card-glass {
    background: var(--brazil-blue); /* Cor sólida para design limpo */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-top: 32px;
    transition: var(--transition-smooth);
}

.stat-card-glass:hover {
    transform: translateY(-5px);
    border-color: var(--brazil-green);
}

    :root {
        --brazil-blue: #063F63;
        --brazil-yellow: #F2D330;
        --brazil-green: #41A355;
        --brazil-teal: #03755D;
        --bg-destaque: #f1f5f9;
        --white: #ffffff;
    }

    /* ESTRUTURA NETFLIX (ROLLING) */
  .netflix-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 10px 5px 25px 5px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    
    /* Configuração do Snap Container */
    scroll-snap-type: x mandatory; 
    scroll-padding: 0 1.5rem; /* Alinha o card com o espaçamento da grid */
}
    .netflix-row::-webkit-scrollbar { display: none; }
    .netflix-row { -ms-overflow-style: none; scrollbar-width: none; }

    /* ITEM CORTADO (Indicador de Scroll) */
    .netflix-item {
        flex: 0 0 28.5%; 
        min-width: 310px;
    }

    /* HEADER DAS SEÇÕES */
    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    /* CARDS BASE */
    .card-base {
        border-radius: 30px;
        transition: all 0.3s ease;
        background: var(--white);
        border: 1px solid rgba(0,0,0,0.05);
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .card-base:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0,0,0,0.1); }

    /* --- DESIGN DESTAQUE (ESTILO PREMIUM) --- */
    .card-destaque-premium {
        background: var(--brazil-blue);
        color: var(--white);
        border: none;
    }
    .badge-master {
        background: var(--brazil-yellow);
        color: var(--brazil-blue);
        font-weight: 800;
        border-radius: 12px;
        padding: 8px 15px;
    }
    .destaque-stats {
        display: flex;
        justify-content: space-between;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    /* --- BORDAS DAS OUTRAS SEÇÕES --- */
    .card-ativa-style { border-left: 8px solid var(--brazil-green) !important; }
    .card-votada-style { border-top: 6px solid var(--brazil-yellow) !important; }
    .card-finalizada-style { border-bottom: 6px solid #64748b !important; border: 1px solid #e2e8f0 !important; }

    /* UTILITÁRIOS */
    .data-box { background: rgba(6, 63, 99, 0.03); border-radius: 15px; padding: 15px; }
    .cat-icon-box { width: 55px; height: 55px; background: rgba(3, 117, 93, 0.1); color: var(--brazil-teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }

    /* CATEGORIA (LINHA ÚNICA) */
    .category-item { flex: 0 0 auto; width: 170px; }

 /* Ajuste específico para Mobile: Metade do próximo item + Snap */
@media (max-width: 767.98px) {
    .netflix-item {
        /* 80% do card visível + 20% do próximo aparecendo */
        flex: 0 0 80%; 
        min-width: 80%;
        
        /* Configuração do Snap Item */
        scroll-snap-align: start; 
    }

    .category-item {
        /* Categorias menores: aparecem duas e um pedaço da terceira */
        flex: 0 0 42%;
        min-width: 42%;
        scroll-snap-align: start;
    }
    
    .netflix-row {
        gap: 1rem;
        scroll-padding: 0 1rem;
    }
}
    .hero-vota { 
    background: var(--brazil-blue); 
    color: white; 
    text-align: center; 
    padding: 40px 0; /* Reduzido de 60px/80px para 40px */
    }

    /* Estilo para as linhas em formato de card */
    .table-audit { border-separate: separate; border-spacing: 0 10px; }
    .table-audit tbody tr { background-color: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.04); transition: transform 0.2s; }
    .table-audit tbody tr:hover { transform: scale(1.005); }
    .table-audit td:first-child { border-radius: 12px 0 0 12px; border-left: 5px solid var(--brazil-teal) !important; }
    .table-audit td:last-child { border-radius: 0 12px 12px 0; }
    .audit-code { font-family: 'Monaco', monospace; font-size: 0.85rem; background: #f1f5f9; padding: 4px 8px; border-radius: 6px; color: var(--brazil-blue); }

    .hero-contact { background: var(--brazil-blue); color: white; padding: 40px 0; text-align: center; }
    .contact-card { border-radius: 30px; border: none; overflow: hidden; }
    .form-control-custom { border-radius: 15px; padding: 12px 20px; border: 1px solid #e2e8f0; }
    .form-control-custom:focus { box-shadow: 0 0 0 3px rgba(3, 117, 93, 0.1); border-color: var(--brazil-teal); outline: none; }

      :root {
        --brazil-blue: #063F63;
        --brazil-teal: #03755D;
        --brazil-yellow: #F2D330;
    }
    .hero-about { background: var(--brazil-blue); color: white; padding: 60px 0; text-align: center; }
    .card-feature { 
        border-radius: 25px; 
        border: 1px solid rgba(0,0,0,0.05); 
        transition: transform 0.3s ease; 
        background: #fff;
    }
    .card-feature:hover { transform: translateY(-5px); }
    .icon-circle { 
        width: 80px; height: 80px; 
        background: rgba(3, 117, 93, 0.1); 
        color: var(--brazil-teal); 
        border-radius: 50%; 
        display: flex; align-items: center; justify-content: center; 
        margin: 0 auto 20px; 
    }
     /* Estilos específicos para a página de privacidade */
    .hero-privacidade { background: var(--brazil-blue); color: white; padding: 40px 0; text-align: center; }
    .acc-button-custom { font-weight: bold; color: var(--brazil-blue) !important; background-color: #fff !important; }
    .acc-button-custom:not(.collapsed) { color: var(--brazil-teal) !important; box-shadow: none; }
    .border-lgpd { border-left: 6px solid var(--brazil-teal) !important; }

     .card-feature:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
        border: 1px solid var(--brazil-teal) !important;
    }

    /*animacao da campanhas_ativas*/
    .pulse { animation: pulse-green 2s infinite; }
    @keyframes pulse-green {
        0% { opacity: 1; }
        50% { opacity: 0.4; }
        100% { opacity: 1; }
    }

        :root {
            --sidebar-width: 260px;
            --admin-blue: #063F63;
        }

        body { background-color: #f4f7f6; overflow-x: hidden; }

        /* Sidebar Modernizado */
        #sidebar {
            position: fixed;
            top: 0;
            left: 0;
            min-width: var(--sidebar-width);
            max-width: var(--sidebar-width);
            background: var(--admin-blue);
            color: #fff;
            transition: all 0.3s;
            min-height: 100vh;
            z-index: 1000;
        }
        #sidebar.active { left: calc(-1 * var(--sidebar-width)); }

        #sidebar .sidebar-header {
            padding: 25px;
            background: rgba(0,0,0,0.1);
            text-align: center;
        }

        .nav-link-admin {
            padding: 12px 25px;
            display: block;
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            transition: 0.2s;
            border-left: 4px solid transparent;
        }

        .nav-link-admin:hover, .nav-link-admin.active {
            color: #fff;
            background: rgba(255,255,255,0.1);
            border-left-color: #F2D330; /* Amarelo da sua marca */
        }

        /* Navbar Superior */
        .navbar-admin {
            background: #fff;
            padding: 15px 25px;
            border-bottom: 1px solid #eef2f6;
        }

        #content { 
            margin-left: var(--sidebar-width);
            width: calc(100% - var(--sidebar-width));
            transition: all 0.3s;
        }
        
        #sidebar.active + #content, 
        #sidebar.active ~ #content { 
            margin-left: 0 !important; 
            width: 100% !important;
        }
        
       @media (max-width: 768px) {
            #sidebar { left: calc(-1 * var(--sidebar-width)); }
            #sidebar.active { left: 0; }
            #content { margin-left: 0 !important; width: 100% !important; }
        }