/* ===== PAGE HISTOIRE (histoire.css) ===== */

/* Navigation active */
nav ul li a.active {
    color: #2c5530;
    font-weight: bold;
    position: relative;
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2c5530;
}

/* Introduction de la timeline */
.timeline-intro {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
}

.timeline-intro h2 {
    color: #2c5530;
    font-size: 2.2em;
    margin-bottom: 15px;
}

.timeline-intro p {
    font-size: 1.1em;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Timeline améliorée */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 60px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #2c5530;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
    padding: 0 40px;
    opacity: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    background-color: #e8f4ea;
    padding: 25px;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.timeline-icon {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.timeline-content:after {
    content: '';
    position: absolute;
    top: 25px;
    width: 20px;
    height: 20px;
    background-color: #2c5530;
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content:after {
    right: -50px;
}

.timeline-item:nth-child(even) .timeline-content:after {
    left: -50px;
}

/* Stats Section */
.stats {
    background-color: white;
    padding: 50px 0;
    text-align: center;
}

.stats h2 {
    color: #2c5530;
    margin-bottom: 10px;
}

.stats > p {
    color: #666;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #2c5530;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Section témoignages */
.testimonials-section {
    margin: 80px 0;
}

.testimonials-section h2 {
    color: #2c5530;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    padding: 30px;
    background: #f8f9fa;
    position: relative;
}

.testimonial-content:after {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4em;
    color: #e8f4ea;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    background: white;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0 0 5px;
    color: #2c5530;
}

.author-info p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.comparison-section {
    margin: 60px 0;
}

.comparison-section h2 {
    color: #2c5530;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comparison-table th, .comparison-table td {
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.comparison-table th {
    background-color: #2c5530;
    color: white;
    font-weight: bold;
}

.comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.roadmap-section {
    margin-top: 60px;
    margin-bottom: 60px;
}

.roadmap-section h2 {
    color: #2c5530;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.roadmap-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #2c5530;
    transition: transform 0.3s ease;
}

.roadmap-card:hover {
    transform: translateY(-5px);
}

.roadmap-card h3 {
    color: #2c5530;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.roadmap-card ul {
    list-style: none;
}

.roadmap-card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: #555;
}

.roadmap-card li:before {
    content: "•";
    color: #2c5530;
    font-weight: bold;
    position: absolute;
    left: 0;
}

