/* ==========================================
   HISTOIRE - DESIGN SIMPLE & ÉPURÉ
========================================== */
:root {
    --bleu: #173F8A;
    --bleu-dark: #0F2D5E;
    --orange: #F39C12;
    --noir: #101828;
    --gris: #667085;
    --off: #F7F9FB;
    --border: #E4E7EC;
    --font-titres: 'Cabinet Grotesk', 'EB Garamond', sans-serif;
    --font-corps: 'EB Garamond', 'Georgia', serif;
}

.his-container { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ==========================================
   OUVERTURE
========================================== */
.his-hero {
    background: var(--off);
    text-align: center;
    padding: 110px 24px 90px;
    border-bottom: 1px solid var(--border);
}

.his-label {
    display: inline-block;
    font-family: var(--font-titres);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--orange);
    margin-bottom: 22px;
}

.his-hero h1 {
    font-family: var(--font-titres);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--noir);
    margin-bottom: 22px;
}

.his-hero h1 span { color: var(--bleu); }

.his-subtitle {
    font-family: var(--font-corps);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--gris);
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto;
}

/* ==========================================
   SECTIONS
========================================== */
.his-section { padding: 80px 0; background: #FFFFFF; }
.his-alt { background: var(--off); }

.his-head { text-align: center; margin-bottom: 55px; }

.his-head h2 {
    font-family: var(--font-titres);
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--noir);
    margin-bottom: 10px;
}

.his-head h2 span { color: var(--bleu); }

.his-head p {
    font-family: var(--font-corps);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--gris);
}

/* ==========================================
   FRISE CHRONOLOGIQUE ÉDITORIALE
========================================== */
.his-timeline {
    position: relative;
    margin-top: 20px;
}

/* Ligne verticale */
.his-timeline::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
}

.his-item {
    position: relative;
    padding-left: 86px;
    padding-bottom: 60px;
}

.his-item:last-child { padding-bottom: 0; }

/* Point marqueur */
.his-marker {
    position: absolute;
    left: 21px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(243, 156, 18, 0.15);
}

.his-period {
    display: inline-block;
    font-family: var(--font-titres);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 10px;
}

.his-item h3 {
    font-family: var(--font-titres);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--noir);
    margin-bottom: 12px;
}

.his-item p {
    font-family: var(--font-corps);
    font-size: 1.02rem;
    color: var(--gris);
    line-height: 1.85;
    max-width: 760px;
}

/* Mini-stats dans un item */
.his-item-stats {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.his-stat-box {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 24px;
    text-align: center;
}

.his-stat-box strong {
    display: block;
    font-family: var(--font-titres);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--bleu);
    line-height: 1.2;
}

.his-stat-box span {
    font-family: var(--font-titres);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gris);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Partenariats en pastilles */
.his-item-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.his-item-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 16px;
    font-family: var(--font-titres);
    font-size: 0.82rem;
    font-weight: 600;
    color: #344054;
}

.his-item-list i {
    color: var(--bleu);
    font-size: 0.8rem;
}

/* ==========================================
   CHIFFRES FINAUX
========================================== */
.his-final-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.his-final-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 40px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.his-final-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(23, 63, 138, 0.12);
    border-color: transparent;
}

.his-final-icon {
    width: 64px;
    height: 64px;
    background: rgba(243, 156, 18, 0.15);
    color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.5rem;
}

.his-final-number {
    font-family: var(--font-titres);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--bleu);
    line-height: 1.1;
    margin-bottom: 8px;
}

.his-final-label {
    font-family: var(--font-titres);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gris);
}

/* ==========================================
   CTA FINAL
========================================== */
.his-cta { text-align: center; }

.his-cta h2 {
    font-family: var(--font-titres);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--noir);
    margin-bottom: 12px;
}

.his-cta p {
    font-family: var(--font-corps);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--gris);
    margin-bottom: 30px;
}

.his-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.his-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    background: var(--bleu);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-titres);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.his-btn:hover {
    background: var(--bleu-dark);
    transform: translateY(-3px);
    gap: 14px;
}

.his-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    background: #FFFFFF;
    color: var(--bleu);
    border: 1px solid var(--border);
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-titres);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.his-btn-ghost:hover {
    border-color: var(--bleu);
    transform: translateY(-3px);
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 768px) {
    .his-hero { padding: 80px 20px 65px; }
    .his-section { padding: 60px 0; }

    /* Frise resserrée */
    .his-timeline::before { left: 19px; }
    .his-marker { left: 13px; }
    .his-item { padding-left: 52px; padding-bottom: 48px; }
    .his-item h3 { font-size: 1.2rem; }

    .his-final-grid { grid-template-columns: 1fr; gap: 20px; }
    .his-final-number { font-size: 2rem; }

    .his-cta-buttons { flex-direction: column; }
    .his-btn, .his-btn-ghost { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
    .his-hero h1 { font-size: 1.9rem; }
    .his-subtitle { font-size: 1rem; }
    .his-head h2 { font-size: 1.5rem; }
    .his-item { padding-left: 44px; }
    .his-period { font-size: 0.68rem; letter-spacing: 1.5px; }
    .his-btn, .his-btn-ghost { padding: 13px 20px; font-size: 0.88rem; }
}