/* Eleições GEAP 2020 - Design Otimizado */
/* Tema: Democrático e Institucional - Verde, Amarelo e Branco */

:root {
    --cor-verde: #009739;
    --cor-verde-escuro: #006B28;
    --cor-amarelo: #FFD700;
    --cor-branco: #FFFFFF;
    --cor-cinza: #F5F7FA;
    --borda: 12px;
    --fonte: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--fonte);
    color: #2C3E50;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F7FA 30%, #E6F9E6 70%, #FFFFFF 100%);
    background-attachment: fixed;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 151, 57, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #009739 0%, #00A742 50%, #00B347 100%);
    background-size: 200% 200%;
    color: var(--cor-branco);
    padding: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 151, 57, 0.2),
                0 4px 12px rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(10px);
    animation: headerFlow 8s ease infinite;
    position: relative;
}

@keyframes headerFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #FFD700 50%, transparent 100%);
}

.logo h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--cor-branco), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 0.5rem;
}

.logo .tagline {
    text-align: center;
    font-size: 1.1rem;
    color: var(--cor-amarelo);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-navigation ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    list-style: none;
}

.main-navigation a {
    color: var(--cor-branco);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.main-navigation a:hover {
    background: rgba(255, 215, 0, 0.9);
    color: #006B28;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 151, 57, 0.95) 0%, rgba(0, 179, 71, 0.90) 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '🗳️';
    position: absolute;
    top: -50px;
    right: 10%;
    font-size: 8rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    min-width: 150px;
    transition: all 0.4s ease;
}

.stat-box:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Content Sections */
.content-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    margin: 3rem 0;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 151, 57, 0.08),
                0 4px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(0, 151, 57, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 151, 57, 0.02), rgba(255, 215, 0, 0.02));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.content-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 151, 57, 0.15),
                0 8px 24px rgba(255, 215, 0, 0.1);
    border-color: #009739;
}

.content-section:hover::before {
    opacity: 1;
}

.content-section h2 {
    color: var(--cor-verde);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #009739, #FFD700);
}

.content-section p {
    color: #5A6A7A;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #5A6A7A;
    line-height: 1.7;
}

.content-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #009739;
    font-weight: bold;
    font-size: 1.2rem;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #009739 0%, #00B347 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 151, 57, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 16px 48px rgba(0, 151, 57, 0.4),
                0 8px 24px rgba(255, 215, 0, 0.2);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 151, 57, 0.08);
    border: 2px solid rgba(0, 151, 57, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 151, 57, 0.15);
    border-color: #009739;
}

.info-card h3 {
    color: #009739;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p {
    color: #5A6A7A;
    line-height: 1.7;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #006B28 0%, #009739 100%);
    color: white;
    text-align: center;
    padding: 3rem 0;
    border-top: 3px solid #FFD700;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #FFD700 50%, transparent 100%);
}

.site-footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

.site-footer a {
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    .logo h1 {
        font-size: 2rem;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}
