/* Page publique /ameliorations — timeline grand public (réutilise home.css) */

.ameliorations-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.ameliorations-hero {
    padding: 120px 24px 48px;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.ameliorations-hero h1 {
    font-size: clamp(1.7rem, 4vw, 2.35rem);
    line-height: 1.2;
    font-weight: 800;
    color: var(--dark-navy, #0f172a);
    letter-spacing: -0.02em;
    margin: 0 0 18px;
}

.ameliorations-hero .amelio-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-light, #64748b);
    margin: 0 0 14px;
}

.ameliorations-hero .amelio-lead strong {
    color: var(--text-dark, #1e293b);
    font-weight: 600;
}

.ameliorations-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-blue, #1e3a8a);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 18px;
}

.ameliorations-list {
    max-width: 760px;
    margin: 0 auto 24px;
    padding: 0 24px 8px;
}

.ameliorations-item {
    position: relative;
    padding: 0 0 36px 0;
    border-left: 2px solid #e2e8f0;
    margin-left: 8px;
    padding-left: 28px;
}

.ameliorations-item:last-child {
    border-left-color: transparent;
    padding-bottom: 8px;
}

.ameliorations-item::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary-blue, #1e3a8a);
    box-shadow: 0 0 0 3px #eff6ff;
}

.ameliorations-date {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--primary-blue, #1e3a8a);
    margin: 0 0 8px;
}

.ameliorations-item h2 {
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark-navy, #0f172a);
    margin: 0 0 10px;
}

.ameliorations-item p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-light, #64748b);
}

.ameliorations-item p + p {
    margin-top: 8px;
}

.ameliorations-note {
    max-width: 760px;
    margin: 8px auto 48px;
    padding: 22px 24px;
    background: var(--surface, #f8fafc);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-dark, #1e293b);
}

.ameliorations-note p {
    margin: 0;
}

.ameliorations-cta {
    text-align: center;
    padding: 8px 24px 56px;
}

.ameliorations-cta .btn-hero {
    display: inline-flex;
}

.ameliorations-cta .btn-hero-primary {
    background: #1e3a5f;
    color: #fff;
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.22);
}

.ameliorations-cta .btn-hero-secondary {
    background: transparent;
    color: #1e3a5f;
    border: 2px solid rgba(30, 58, 95, 0.28);
}

.ameliorations-cta .btn-hero-secondary:hover {
    background: rgba(30, 58, 95, 0.06);
}

.ameliorations-cta-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 600px) {
    .ameliorations-hero {
        padding: 104px 18px 36px;
        text-align: left;
    }

    .ameliorations-list {
        padding: 0 18px;
    }

    .ameliorations-item {
        margin-left: 4px;
        padding-left: 22px;
        padding-bottom: 32px;
    }

    .ameliorations-note {
        margin-left: 18px;
        margin-right: 18px;
        text-align: left;
    }
}

body[data-theme="dark"] .ameliorations-kicker {
    background: rgba(96, 165, 250, 0.12);
    border-color: rgba(96, 165, 250, 0.28);
    color: #93c5fd;
}

body[data-theme="dark"] .ameliorations-hero h1,
body[data-theme="dark"] .ameliorations-item h2 {
    color: inherit;
}

body[data-theme="dark"] .ameliorations-hero .amelio-lead,
body[data-theme="dark"] .ameliorations-item p {
    color: rgba(255, 255, 255, 0.72);
}

body[data-theme="dark"] .ameliorations-hero .amelio-lead strong {
    color: inherit;
}

body[data-theme="dark"] .ameliorations-item {
    border-left-color: rgba(255, 255, 255, 0.12);
}

body[data-theme="dark"] .ameliorations-item:last-child {
    border-left-color: transparent;
}

body[data-theme="dark"] .ameliorations-item::before {
    background: #1e293b;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}

body[data-theme="dark"] .ameliorations-date {
    color: #93c5fd;
}

body[data-theme="dark"] .ameliorations-note {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: inherit;
}

body[data-theme="dark"] .ameliorations-cta .btn-hero-secondary {
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.28);
}
