/* Styles propres à la page de veille : le style.css du portfolio reste utilisé. */

.veille-page {
    min-height: 100vh;
}

.home-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.veille-hero {
    width: min(1050px, 90%);
    margin: 0 auto;
    padding: 175px 0 55px;
}

.veille-kicker {
    color: #7dff4e;
    font-family: monospace;
    letter-spacing: 2px;
    font-size: .9rem;
    text-shadow: 0 0 8px rgba(125, 255, 78, .35);
}

.veille-hero h1 {
    max-width: 900px;
    margin: 12px 0 25px;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.12;
    background: linear-gradient(90deg, #4e9eff, #ff4ecd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.veille-intro,
.veille-method {
    max-width: 900px;
    color: #dedede;
    font-size: 1.08rem;
    line-height: 1.8;
}

.veille-method {
    color: #aaa;
    font-size: 1rem;
}

.back-link {
    display: inline-block;
    margin-top: 18px;
    color: #7dff4e;
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    color: #4e9eff;
}

.veille-content {
    width: min(1050px, 90%);
    margin: 25px auto 110px;
}

.timeline-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 35px;
}

.timeline-heading h2 {
    margin: 5px 0 0;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    background: linear-gradient(90deg, #4e9eff, #7dff4e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.article-count {
    color: #bbb;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 30px;
    padding: 8px 14px;
    white-space: nowrap;
    font-size: .9rem;
}

.timeline {
    position: relative;
    padding-left: 35px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 9px;
    width: 2px;
    background: linear-gradient(#4e9eff, #ff4ecd, rgba(255,255,255,.12));
}

.timeline-item {
    position: relative;
    margin: 0 0 28px;
    padding: 25px 28px;
    background: #171717;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 15px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -33px;
    top: 31px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #4e9eff;
    border: 3px solid #0d0d0d;
    box-shadow: 0 0 12px rgba(78,158,255,.7);
}

.timeline-item:hover {
    transform: translateY(-4px);
    border-color: rgba(78,158,255,.65);
    box-shadow: 0 8px 25px rgba(78,158,255,.1);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 13px;
    color: #aaa;
    font-family: monospace;
    font-size: .9rem;
}

.article-category {
    color: #7dff4e;
    border: 1px solid rgba(125,255,78,.35);
    border-radius: 20px;
    padding: 4px 10px;
}

.timeline-item h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.45rem;
    line-height: 1.35;
}

.article-summary {
    color: #d0d0d0;
    line-height: 1.7;
    margin: 0 0 15px;
}

.article-impact {
    margin: 0 0 18px;
    padding: 13px 16px;
    background: rgba(78,158,255,.08);
    border-left: 3px solid #4e9eff;
    border-radius: 0 8px 8px 0;
    color: #e5e5e5;
    line-height: 1.6;
}

.article-impact strong {
    color: #7db8ff;
}

.article-source {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7dff4e;
    text-decoration: none;
    font-weight: 600;
}

.article-source:hover {
    color: #ff4ecd;
}

.no-articles {
    padding: 25px;
    color: #bbb;
    background: #171717;
    border: 1px dashed rgba(255,255,255,.2);
    border-radius: 12px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .veille-hero {
        padding-top: 190px;
    }

    .timeline-heading {
        align-items: start;
        flex-direction: column;
    }

    .timeline {
        padding-left: 27px;
    }

    .timeline::before {
        left: 6px;
    }

    .timeline-item {
        padding: 20px 18px;
    }

    .timeline-item::before {
        left: -27px;
    }

    .timeline-item h3 {
        font-size: 1.2rem;
    }
}
