/* =========================================================
   /historique — Corporate refresh matching /ipa and /virtu
   Hero blue + stats bar + timeline cards + final CTA.
   Scoped under #historique.histo-page.
   ========================================================= */

#historique.histo-page {
    color: #1a2a3a;
    background: #fff;
    text-align: left;
    padding: 0;
    margin: 0;
}

#historique.histo-page .container {
    max-width: 1140px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

/* ---------- Hero ---------- */
.histo-hero {
    background: linear-gradient(135deg, #00549a 0%, #003d72 100%);
    color: #fff;
    padding: 130px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.histo-hero::after {
    content: "";
    position: absolute;
    right: -160px; top: -160px;
    width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(74, 168, 255, 0.28), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.histo-hero .container { position: relative; z-index: 1; }

.histo-hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a8d4ff;
    margin-bottom: 20px;
}
.histo-hero h1 {
    font-size: 46px;
    line-height: 1.12;
    font-weight: 700;
    margin: 0 auto 22px;
    color: #fff;
    letter-spacing: -0.01em;
    max-width: 880px;
}
.histo-hero-lead {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 auto;
    max-width: 720px;
}

/* ---------- Stats ribbon ---------- */
.histo-stats {
    background: #f6f9fc;
    padding: 44px 0;
    border-bottom: 1px solid #e6ecf2;
}
.histo-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.histo-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.histo-stat-num {
    font-size: 38px;
    font-weight: 800;
    color: #00549a;
    line-height: 1;
    letter-spacing: -0.02em;
}
.histo-stat-num sup {
    font-size: 0.55em;
    top: -0.7em;
}
.histo-stat-label {
    font-size: 13px;
    color: #586b7d;
    line-height: 1.4;
    max-width: 220px;
}

/* ---------- Timeline section ---------- */
.histo-timeline-section {
    padding: 80px 0;
    background: #fff;
}
.histo-timeline-section .histo-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
}
.histo-timeline-section .histo-head h2 {
    font-size: 32px;
    font-weight: 700;
    color: #00549a;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.histo-timeline-section .histo-head p {
    font-size: 16px;
    color: #586b7d;
    line-height: 1.55;
    margin: 0;
}

.histo-timeline {
    max-width: 880px;
    margin: 0 auto;
}
.histo-entry {
    background: #fff;
    border: 1px solid #e3ebf3;
    border-left: 4px solid #00549a;
    border-radius: 0 10px 10px 0;
    padding: 24px 28px;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(0, 84, 154, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-left-color 0.2s ease;
}
.histo-entry:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 28px rgba(0, 84, 154, 0.12);
}
.histo-entry--today {
    border-left-color: #28a745;
    background: linear-gradient(90deg, #f4fbf6 0%, #fff 40%);
}
.histo-entry__head {
    display: flex;
    align-items: baseline;
    gap: 22px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.histo-entry__year {
    font-size: 26px;
    font-weight: 800;
    color: #00549a;
    letter-spacing: -0.01em;
    line-height: 1;
    flex-shrink: 0;
    min-width: 100px;
}
.histo-entry--today .histo-entry__year {
    color: #28a745;
}
.histo-entry__head h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0;
    line-height: 1.3;
}
.histo-entry p {
    font-size: 15px;
    line-height: 1.65;
    color: #3a4a5c;
    margin: 0 0 10px;
}
.histo-entry p:last-child { margin-bottom: 0; }

/* ---------- Final CTA ---------- */
.histo-cta {
    background: linear-gradient(135deg, #00549a 0%, #003d72 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.histo-cta h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.25;
}
.histo-cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 auto 30px;
    max-width: 580px;
}
.histo-cta a.histo-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #ffe500;
    color: #333;
    border: 2px solid #d8ca52;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(216, 202, 82, 0.4);
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.histo-cta a.histo-cta-btn:hover {
    background: #f5d900;
    color: #222;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(216, 202, 82, 0.55);
    text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .histo-hero { padding: 100px 0 60px; }
    .histo-hero h1 { font-size: 32px; }
    .histo-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .histo-stat-num { font-size: 32px; }
}
@media (max-width: 580px) {
    .histo-hero h1 { font-size: 26px; }
    .histo-hero-lead { font-size: 15px; }
    .histo-stats-grid { grid-template-columns: 1fr; }
    .histo-entry__year { font-size: 22px; min-width: 0; }
    .histo-entry { padding: 20px 22px; }
}
