/* Thème personnalisé aux couleurs de Ze Provençaux */
:root {
    --provence-bleu: #1b4f72;
    --provence-bleu-clair: #2874a6;
    --provence-jaune: #f39c12;
    --provence-jaune-doux: #fef9e7;
    
    --pico-primary: var(--provence-bleu);
    --pico-primary-hover: var(--provence-bleu-clair);
    --pico-background-color: #fafbfc;
    --pico-card-background-color: #ffffff;
}

body {
    background: linear-gradient(135deg, #f4f7f9 0%, var(--provence-jaune-doux) 100%);
    min-height: 100vh;
}

.header-asso {
    background-color: var(--provence-bleu);
    color: white;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-bottom: 5px solid var(--provence-jaune);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(27, 79, 114, 0.15);
}

.header-asso h1, .header-asso h2 {
    color: white;
    margin: 0;
    font-size: 1.4rem;
}

.header-asso span.badge-asso {
    background-color: var(--provence-jaune);
    color: #1b2631;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
}

article {
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(27, 79, 114, 0.1);
}

.btn-pour {
    background-color: #27ae60 !important;
    border-color: #27ae60 !important;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.8rem;
}
.btn-pour:hover { background-color: #219653 !important; }

.btn-contre {
    background-color: #c0392b !important;
    border-color: #c0392b !important;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.8rem;
}
.btn-contre:hover { background-color: #a93226 !important; }

.btn-abstention {
    background-color: #5d6d7e !important;
    border-color: #5d6d7e !important;
    font-weight: bold;
    padding: 0.8rem;
}
.btn-abstention:hover { background-color: #4d5656 !important; }

.bar-container {
    width: 100%;
    background-color: #eaeded;
    border-radius: 10px;
    margin: 8px 0 22px 0;
    height: 42px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.08);
}

.bar {
    height: 100%;
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: right;
    padding-right: 15px;
    color: white;
    font-weight: bold;
    line-height: 42px;
    font-size: 1rem;
}
