.history-clean-section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: hidden; 
}

.clean-timeline {
    position: relative;
    padding: 40px 0;
}

.central-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--header-border);
    transform: translateX(-50%);
}

.timeline-box {
    position: relative;
    width: 50%;
    margin-bottom: 30px;
    opacity: 0; 
    box-sizing: border-box;
}

.timeline-box.left {
    left: 0;
    padding-right: 40px;
}

.timeline-box.right {
    left: 50%;
    padding-left: 40px;
}

.box-content {
    background: var(--header-bg);
    padding: 20px;
    border: 1px solid var(--header-border);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: border-color 0.3s ease;
}

.timeline-box.left .box-content {
    text-align: right;
}

.timeline-box::after {
    content: '';
    position: absolute;
    top: 30px; 
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border: 3px solid var(--background-color);
    border-radius: 50%;
    z-index: 5;
}

.timeline-box.left::after {
    right: -10px; 
}

.timeline-box.right::after {
    left: -10px;
}

.year {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.4rem;
    display: block;
    margin-bottom: 8px;
}

.box-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: var(--text-color);
    font-family: var(--font-main);
}

.box-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

.box-content:hover {
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .central-line {
        left: 20px;
    }
    .timeline-box {
        width: 100%;
        left: 0 !important;
        padding-left: 45px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    .timeline-box.left .box-content {
        text-align: left;
    }
    .timeline-box::after {
        left: 11px !important;
    }
}

.faq-section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--header-bg);
    border: 1px solid var(--header-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1.1rem;
    color: var(--text-color);
    text-align: left;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.faq-answer p {
    padding-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(61, 204, 61, 0.1);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* À ajouter à la fin du fichier */
.timeline-box.visible {
    animation: slideIn 0.6s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-box.left.visible {
    animation: slideInLeft 0.6s ease forwards;
}

.timeline-box.right.visible {
    animation: slideInRight 0.6s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}