/* ── Section principale ── */
.section-actu {
    padding: 40px 30px 60px;
    margin: 0 auto;
}

.section-actu .section-label {
    font-size: 0.85rem;
    color: var(--color-blue);
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.section-actu .section-title {
    font-weight: 400;
    color: var(--color-blue);
    letter-spacing: 0.03em;
    margin-bottom: 36px;
}

/* ── Grille ── */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 44px;
}

/* ── Carte ── */
.article-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.article-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.article-card:hover img {
    transform: scale(1.04);
}

.card-overlay {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 48px;
    background: rgba(255, 255, 255, 0.93);
    border-radius: 12px;
    padding: 12px 14px;
}

.card-title {
    font-family: 'Courier New', monospace;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.card-desc {
    font-family: Arial, sans-serif;
    font-size: 0.75rem;
    color: #555;
    line-height: 1.4;
}

.card-arrow {
    position: absolute;
    bottom: 18px;
    right: 14px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.93);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #1a1a2e;
    transition: background 0.2s, color 0.2s;
}

.article-card:hover .card-arrow {
    background: #5b5bcc;
    color: #fff;
}

/* ── CTA ── */
.cta-wrapper {
    display: flex;
    justify-content: center;
}

.cta-btn {
    display: inline-block;
    padding: 15px 56px;
    background: linear-gradient(135deg, #a78bfa 0%, #818cf8 100%);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.cta-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.cta-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ── Popup ── */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.popup-overlay.active {
    display: flex;
}

.popup {
    background: #fff;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    overflow: hidden;
    position: relative;
    animation: popIn 0.25s ease;
}

@keyframes popIn {
    from {
        transform: scale(0.92);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.popup-body {
    padding: 28px 30px 30px;
}

.popup-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 14px;
}

.popup-meta span {
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    color: #5b5bcc;
    display: flex;
    align-items: center;
    gap: 5px;
}

.popup-title {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 14px;
}

.popup-text {
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    color: #444;
    line-height: 1.7;
}

.popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.popup-close:hover {
    background: #fff;
}

.popup-cta {
    display: inline-block;
    margin-top: 22px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #a78bfa, #818cf8);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.popup-cta:hover {
    opacity: 0.88;
}

/* ── Responsive ── */
@media (max-width: 700px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}