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

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

.programme-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.programme-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bleu-clair);
    margin-bottom: 1.5rem;
}

.programme-intro {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.8;
}

/* Wrapper avec Sidebar */
.programme-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
}

/* Navigation Latérale */
.programme-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-nav h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bleu-marine);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--bleu-clair);
}

.sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    transition: var(--transition-medium);
    position: relative;
}

.sidebar-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--bleu-clair);
    border-radius: 4px;
    opacity: 0;
    transition: var(--transition-medium);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--gris-clair);
}

.sidebar-nav a.active::before {
    opacity: 1;
}

.nav-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--bleu-royal), var(--bleu-clair));
    color: var(--blanc);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.sidebar-nav a.active .nav-number {
    box-shadow: 0 4px 12px rgba(70, 154, 218, 0.4);
}

.nav-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bleu-marine);
    line-height: 1.4;
}

/* Contenu Principal */
.programme-content {
    max-width: 900px;
}

/* Sections de Priorités */
.priority-section {
    margin-bottom: 6rem;
    opacity: 1;
    transform: translateY(0px);
}


.priority-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.priority-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gris-clair);
}

.priority-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--bleu-royal), var(--bleu-clair));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    box-shadow: var(--shadow-lg);
}

.priority-title {
    flex: 1;
}

.priority-number {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bleu-clair);
    margin-bottom: 0.5rem;
}

.priority-title h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--bleu-marine);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.priority-subtitle {
    font-size: 1.125rem;
    color: var(--gris-moyen);
    font-weight: 500;
}

/* Corps de la Priorité */
.priority-body {
    padding-left: 0;
}

.intro-text {
    margin-bottom: 2.5rem;
}

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

/* Engagements */
.commitments {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.commitment-item {
    background: var(--blanc);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--bleu-clair);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

.commitment-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.commitment-item.highlight {
    background: linear-gradient(135deg, rgba(70, 154, 218, 0.05), rgba(51, 96, 181, 0.05));
    border-left-color: var(--bleu-royal);
}

.commitment-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bleu-marine);
    margin-bottom: 1rem;
}

.commitment-item p {
    color: var(--gris-fonce);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.commitment-item p:last-child {
    margin-bottom: 0;
}

.commitment-item ul {
    list-style: none;
    padding: 0;
}

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

.commitment-item ul li:last-child {
    margin-bottom: 0;
}

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

/* Conclusion du Programme */
.programme-conclusion {
    margin-top: 6rem;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bleu-marine), var(--bleu-royal));
    border-radius: 24px;
    color: var(--blanc);
}

.conclusion-content {
    padding: 0 3rem;
    text-align: center;
}

.conclusion-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.conclusion-content > p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.95;
}

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

.vote-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.list-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bleu-clair);
    margin-bottom: 1rem;
}

.list-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.vote-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.vote-date {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
}

.vote-date strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--bleu-clair);
}

.vote-date p {
    font-size: 1rem;
    opacity: 0.9;
}

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

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

@media (max-width: 1024px) {
    .programme-wrapper {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }

    .sidebar-nav a {
        padding: 0.75rem;
    }

    .nav-text {
        font-size: 0.875rem;
    }
}

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

    .programme-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }

    .programme-sidebar {
        position: static;
        order: -1;
        margin-bottom: 2rem;
    }

    .sidebar-nav {
        background: var(--gris-clair);
        padding: 1.5rem;
        border-radius: 16px;
    }

    .sidebar-nav h3 {
        font-size: 1.125rem;
    }

    .priority-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .priority-icon {
        width: 80px;
        height: 80px;
    }

    .conclusion-content {
        padding: 0 1.5rem;
    }

    .vote-cta {
        padding: 2rem 1.5rem;
    }

    .vote-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

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

    .commitment-item ul li {
        padding-left: 1.5rem;
    }
}
/* Décalage pour les ancres (éviter que le menu cache le début) */
.priority-section::before {
    content: "";
    display: block;
    height: 180px;
    margin-top: -180px;
    visibility: hidden;
}