/* ========================================
   PAGE ÉLECTIONS - STYLES SPÉCIFIQUES
   ======================================== */

/* Hero Elections */
.elections-hero {
    background: linear-gradient(135deg, var(--bleu-marine), var(--bleu-royal));
    color: var(--blanc);
    padding: 8rem 0 4rem;
    margin-top: 80px;
    text-align: center;
}

.elections-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.elections-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    color: var(--bleu-clair);
    font-weight: 600;
}

/* Intro Section */
.elections-intro {
    padding: 5rem 0;
    background: var(--gris-clair);
}

.intro-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--blanc);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.intro-card h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--bleu-marine);
    margin-bottom: 1.5rem;
}

.intro-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bleu-royal);
    margin: 2rem 0 1rem;
}

.intro-card p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gris-fonce);
    margin-bottom: 1.25rem;
}

.intro-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.intro-card ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--gris-fonce);
}

.intro-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bleu-clair);
    font-weight: 700;
    font-size: 1.25rem;
}

.highlight-text {
    background: linear-gradient(135deg, rgba(70, 154, 218, 0.1), rgba(51, 96, 181, 0.1));
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--bleu-clair);
    margin: 2rem 0;
    font-weight: 600;
    color: var(--bleu-marine);
}

/* Content Elections */
.elections-content {
    padding: 5rem 0;
}

.elections-content .container {
    max-width: 1000px;
}

/* Election Articles */
.election-article {
    background: var(--blanc);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    transition: var(--transition-medium);
}

.election-article:hover {
    box-shadow: var(--shadow-lg);
}

.article-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bleu-royal), var(--bleu-clair));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    flex-shrink: 0;
}

.article-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--bleu-marine);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bleu-royal);
    margin: 2rem 0 1rem;
}

.article-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--bleu-marine);
    margin: 1.5rem 0 0.75rem;
}

.article-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gris-fonce);
    margin-bottom: 1.25rem;
}

.article-text ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.article-text ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.article-text ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--bleu-clair);
    font-weight: 700;
    font-size: 1.25rem;
}

.info-box {
    background: var(--gris-clair);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    font-size: 1rem;
}

.info-box.highlight {
    background: linear-gradient(135deg, rgba(70, 154, 218, 0.1), rgba(51, 96, 181, 0.1));
    border-left: 4px solid var(--bleu-royal);
}

.info-box h4 {
    color: var(--bleu-marine);
    margin-bottom: 1rem;
}

.info-box ul {
    margin: 1rem 0;
}

/* Vote Methods */
.vote-method {
    background: var(--gris-clair);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    border-left: 4px solid var(--bleu-clair);
}

.vote-method h3 {
    color: var(--bleu-marine);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.date-highlight {
    background: linear-gradient(135deg, var(--bleu-royal), var(--bleu-clair));
    color: var(--blanc);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Vote CTA Section */
.vote-cta-section {
    background: linear-gradient(135deg, var(--bleu-marine), var(--bleu-royal));
    color: var(--blanc);
    padding: 5rem 0;
    text-align: center;
}

.vote-cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.vote-cta-section > .container > p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.vote-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.vote-date-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.vote-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.vote-date-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.vote-date-card .date {
    font-size: 1.125rem;
    color: var(--bleu-clair);
    font-weight: 600;
}

.btn-large {
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .elections-hero {
        padding: 6rem 0 3rem;
    }

    .intro-card,
    .election-article {
        padding: 2rem 1.5rem;
    }

    .election-article {
        grid-template-columns: 1fr;
    }

    .article-icon {
        margin: 0 auto 1.5rem;
    }

    .vote-dates {
        grid-template-columns: 1fr;
    }

    .vote-cta-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .intro-card {
        padding: 1.5rem;
    }

    .election-article {
        padding: 1.5rem;
    }

    .article-icon {
        width: 64px;
        height: 64px;
    }

    .article-icon svg {
        width: 36px;
        height: 36px;
    }

    .vote-method {
        padding: 1.5rem;
    }
}
