.history-section {
    padding: 60px 20px;
    background-color: var(--white);
}

.history-header {
    text-align: center;
    margin-bottom: 50px;
}

.history-header h1 {
    color: var(--gray-dark);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.history-header i {
    color: var(--blue-primary);
    font-size: 2.5rem;
}

.history-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.history-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.history-intro .highlight-italic {
    font-style: italic;
    color: #666;
}

.history-intro .birth-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--gray-dark);
    margin: 30px 0;
}

.history-divider {
    width: 100px;
    height: 3px;
    background-color: var(--blue-primary);
    margin: 40px auto;
}

.history-expansion {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

.history-expansion p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.history-expansion .highlight-italic {
    font-style: italic;
    color: #666;
}

.history-expansion strong {
    color: var(--gray-dark);
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 50px auto;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: var(--gray-light);
    border-radius: 10px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.blue {
    background-color: var(--blue-primary);
}

.stat-icon.red {
    background-color: var(--red-primary);
}

.stat-icon i {
    color: var(--white);
    font-size: 28px;
}

.stat-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-dark);
    margin-bottom: 5px;
}

.stat-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

.highlight-box {
    background-color: var(--blue-primary);
    color: var(--white);
    padding: 25px 40px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10px;
    max-width: 900px;
    margin: 50px auto;
}

/* Section Secteur */
.sector-section {
    padding: 60px 20px;
    background-color: var(--gray-light);
}

.sector-header {
    text-align: center;
    margin-bottom: 50px;
}

.sector-header h2 {
    color: var(--gray-dark);
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.sector-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.sector-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

.sector-intro strong {
    font-weight: bold;
}

.sector-intro .highlight-italic {
    font-style: italic;
    color: #666;
}

.content-with-image {
    max-width: 1000px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-with-image.reverse {
    direction: rtl;
}

.content-with-image.reverse > * {
    direction: ltr;
}

.content-text-block {
    padding: 20px;
}

.content-text-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.content-text-block strong {
    font-weight: bold;
}

.content-text-block .highlight-red {
    color: var(--red-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.content-image-block {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    width: 100%;
    height: auto; /* Changé de 100% à auto */
}

.content-image-block img {
    width: 100%;
    height: auto; /* Changé de 100% à auto */
    object-fit: cover;
    display: block; /* Ajouté pour éliminer l'espace sous l'image */
}

.chart-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.chart-container h4 {
    text-align: center;
    color: var(--gray-dark);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.chart-wrapper {
    position: relative;
    height: 400px;
}

/* Responsive */
@media (max-width: 768px) {
    .history-header h1 {
        font-size: 1.8rem;
        flex-direction: column;
    }

    .history-header i {
        font-size: 2rem;
    }

    .history-intro p,
    .history-expansion p,
    .sector-intro p {
        font-size: 1rem;
    }

    .history-intro .birth-text {
        font-size: 1.1rem;
    }

    .history-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
    }

    .highlight-box {
        font-size: 1rem;
        padding: 20px 25px;
    }

    .sector-header h2 {
        font-size: 1.6rem;
    }

    .content-with-image {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-with-image.reverse {
        direction: ltr;
    }

    .chart-wrapper {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .history-header h1 {
        font-size: 1.5rem;
    }

    .sector-header h2 {
        font-size: 1.4rem;
    }

    .stat-content h3 {
        font-size: 1.3rem;
    }

    .chart-wrapper {
        height: 250px;
    }
}

.section-title-histoire {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-dark);
    margin-bottom: 60px;
    position: relative;
}

.section-title-histoire::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: var(--blue-primary);
    margin: 20px auto 0;
}