/* E-VOTE - SISTEMA DE VOTAÇÃO ONLINE
   Estilos Consolidados: Navbar, Dashboard e Landing Page
*/

:root {
    --evote-primary: #EE4036;
    --evote-primary-dark: #D03128;
    --evote-dark: #1e1e2d;
    --evote-light-bg: #f8fafc;
    --evote-success: #28A745;
    --evote-warning: #FFC107;
    --evote-info: #17A2B8;
    --evote-danger: #DC3545;
    --white: #FFFFFF;
    --grey-100: #F8F9FA;
    --grey-200: #edf2f7;
    --grey-800: #1e293b;
    --font-main: 'Inter', sans-serif;
}

/* --- Base --- */
body {
    font-family: var(--font-main);
    background-color: var(--evote-light-bg);
    color: #334155;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .fw-bold { font-weight: 700 !important; }

/* --- NAVBAR BLINDADA --- */
body nav.navbar.navbar-expand-lg {
    background-color: var(--evote-dark) !important;
    min-height: 70px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 0.5rem 1rem !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar .navbar-nav .nav-link {
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.85) !important;
    text-transform: none !important;
    transition: 0.3s;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: #fff !important;
    background-color: rgba(255,255,255,0.08);
    border-radius: 8px;
}

/* --- SEÇÃO HERO COM VÍDEO --- */
.hero-video-section {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #000;
}

#heroVideo {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    object-fit: cover;
}

.hero-video-section .container {
    position: relative;
    z-index: 2;
}

/* --- NOVA SEÇÃO: COMO FUNCIONA (WIZARD DESIGN) --- */
.how-it-works-section { padding: 80px 0; background: #fff; }

.step-card {
    background: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--evote-primary);
}

.step-number {
    width: 40px; height: 40px;
    background: var(--evote-primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px rgba(238, 64, 54, 0.3);
}

.step-card i {
    font-size: 2.5rem;
    color: var(--evote-primary);
    margin-bottom: 1.2rem;
    display: block;
}

.step-card h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--evote-dark); }
.step-card p { font-size: 0.95rem; color: #64748b; }

/* --- SEÇÃO DE PLANOS --- */
.pricing-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.pricing-card:hover { transform: scale(1.03); }
.popular-plan { border: 2px solid var(--evote-primary); position: relative; }
.popular-badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--evote-primary); color: #fff; padding: 4px 15px;
    border-radius: 50px; font-size: 0.75rem; font-weight: 700;
}

/* --- FAQ --- */
.faq-section .accordion-item { border: none; margin-bottom: 1rem; }
.faq-section .accordion-button {
    background: #f8fafc; border-radius: 12px !important; font-weight: 600;
}
.faq-section .accordion-button:not(.collapsed) {
    color: var(--evote-primary); background: #fff5f5;
}

/* --- FORMULÁRIO DE CONTATO --- */
.contact-section .card { border: none; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); }
.honeypot-field { position: absolute; left: -9999px; opacity: 0; }

/* --- ANIMAÇÕES --- */
.fade-in-section { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-in-section.is-visible { opacity: 1; transform: translateY(0); }