/* ===========================
   SECTION PARCOURS - TIMELINE
   =========================== */
.parcours {
    min-height: 100vh;
    padding: 4rem 2rem 3rem;
    background: var(--color-bg);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 10rem;
}

/* Ligne verticale de la timeline */
.timeline::before {
    content: '';
    position: absolute;
    left: 9rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        var(--accent-primary) 0%,
        var(--accent-secondary) 60%,
        rgba(140, 168, 124, 0.2) 100%
    );
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 1.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Date à l'extérieur du bloc, à gauche de la ligne */
.timeline-date-outside {
    position: absolute;
    left: -10rem;
    top: 0.5rem;
    width: 8rem;
    text-align: right;
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Marqueur supprimé - la ligne seule suffit */
.timeline-marker {
    display: none;
}

.timeline-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.8rem;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    background: var(--color-surface-strong);
    border-color: var(--color-border-strong);
    transform: translateX(5px);
}

/* Ancienne classe date (supprimée du HTML mais gardée pour compatibilité) */
.timeline-date {
    display: none;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-company {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-style: italic;
}

.timeline-skill {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-skill strong {
    color: var(--accent-primary);
    font-weight: 600;
}

/* ===========================
   SECTION COMPÉTENCES
   =========================== */
.skills {
    padding: 4rem 2rem 3rem;
    background: var(--color-bg);
}

.skills-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-carousel-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 1rem 0;
}

.skills-carousel-container::-webkit-scrollbar {
    display: none;
}

.skills-category {
    flex: 1;
    min-width: 300px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.5rem;
}

.skills-category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: var(--color-surface-strong);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background: var(--accent-primary);
    color: var(--color-bg);
    transform: translateY(-2px);
}

.skill-tag.selected {
    background: var(--accent-secondary);
    color: var(--color-bg);
    box-shadow: 0 0 15px rgba(255, 223, 186, 0.5);
}

.skill-filtered {
    opacity: 1 !important;
    transform: scale(1.02);
    border-color: var(--accent-secondary) !important;
}

.skill-dimmed {
    opacity: 0.3;
    filter: grayscale(80%);
}

.carousel-btn {
    display: none;
}

.carousel-btn:hover {
    background: var(--accent-primary);
    color: var(--color-bg);
    border-color: var(--accent-primary);
}

.carousel-btn-prev {
    left: -20px;
}

.carousel-btn-next {
    right: -20px;
}


/* ===========================
   FOOTER / CONTACT
   =========================== */
.footer {
    padding: 3rem 2rem 2rem;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.footer-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 300px;
    justify-content: center;
}

.footer-link svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.footer-link:hover {
    background: rgba(140, 168, 124, 0.15);
    border-color: var(--color-border-strong);
    color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(140, 168, 124, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}
