/* ========================================
   TIMELINE LAUREATS V2 - AVEC IMAGES
   ======================================== */

.pf-timeline-v2 {
    position: relative;
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
}

/* Ligne centrale */
.timeline-ligne-centrale {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        #D4AF37 5%,
        #D4AF37 95%,
        transparent 100%
    );
    transform: translateX(-50%);
}

/* Items de timeline */
.timeline-item {
    position: relative;
    margin-bottom: 80px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

/* Node année */
.timeline-node {
    position: absolute;
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    z-index: 10;
}

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: bold;
    color: #2B3E50;
}

/* Cards */
.timeline-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.timeline-gauche .timeline-card {
    margin-right: calc(50% + 60px);
}

.timeline-droite .timeline-card {
    margin-left: calc(50% + 60px);
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
    border-color: #D4AF37;
}

/* Images section */
.card-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    flex-shrink: 0;
}

/* Photo lauréat */
.laureate-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #D4AF37;
    background: #f5f5f5;
}

.laureate-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #346C62, #2B3E50);
    color: white;
    font-size: 32px;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}

/* Couverture livre */
.book-cover {
    width: 80px;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

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

.book-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.book-spine {
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #999;
}

.book-title {
    font-size: 10px;
    text-align: center;
    color: #666;
    line-height: 1.2;
    word-break: break-word;
}

/* Content */
.card-content {
    flex: 1;
}

.laureate-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin: 0 0 10px 0;
    color: #2B3E50;
}

.laureate-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.laureate-name a:hover {
    color: #D4AF37;
}

.book-title {
    font-style: italic;
    font-size: 18px;
    color: #346C62;
    margin: 10px 0;
    font-weight: 500;
}

.publisher {
    font-size: 14px;
    color: #999;
    margin: 5px 0 15px 0;
}

.description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 15px 0 20px 0;
}

.btn-decouvrir {
    display: inline-block;
    padding: 10px 25px;
    background: #D4AF37;
    color: #2B3E50;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-decouvrir:hover {
    background: #2B3E50;
    color: #D4AF37;
    transform: translateY(-2px);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .timeline-ligne-centrale {
        left: 40px;
    }
    
    .timeline-node {
        left: 40px;
        width: 70px;
        height: 70px;
    }
    
    .timeline-year {
        font-size: 18px;
    }
    
    .timeline-gauche .timeline-card,
    .timeline-droite .timeline-card {
        margin-left: 100px;
        margin-right: 20px;
    }
    
    .card-images {
        flex-direction: row;
    }
    
    .laureate-photo {
        width: 80px;
        height: 80px;
    }
    
    .book-cover {
        width: 60px;
        height: 90px;
    }
}

@media (max-width: 600px) {
    .timeline-card {
        flex-direction: column;
        padding: 20px;
    }
    
    .card-images {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
}
