/* Page Articles - Liste des articles */

.articles-page {
    background: linear-gradient(to bottom, white 0%, var(--gris-clair) 100%);
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.articles-hero {
    background: linear-gradient(135deg, var(--bleu-nuit) 0%, #2d4a7c 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.articles-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(215, 174, 84, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(76, 175, 80, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.articles-hero h1 {
    font-family: var(--font-titre);
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.articles-hero .subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Articles Section */
.articles-section {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Article Card */
.article-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--dore);
}

.article-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.article-category {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--dore) 0%, #c9a055 100%);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-date {
    font-size: 14px;
    color: var(--gris-secondaire);
    font-weight: 600;
}

.article-card-title {
    font-family: var(--font-titre);
    font-weight: 700;
    font-size: 24px;
    color: var(--bleu-nuit);
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-card-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: var(--noir-textuel);
    margin-bottom: 25px;
    flex-grow: 1;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
    border-top: 2px solid var(--gris-clair);
}

.article-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--bleu-nuit);
    margin-bottom: 4px;
}

.author-role {
    font-size: 13px;
    color: var(--gris-secondaire);
}

.article-link {
    color: var(--dore);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.article-link:hover {
    color: var(--bleu-nuit);
    transform: translateX(5px);
}

/* CTA Section */
.articles-cta {
    background: linear-gradient(135deg, var(--bleu-nuit) 0%, #2d4a7c 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.articles-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(215, 174, 84, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(76, 175, 80, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.articles-cta h2 {
    font-family: var(--font-titre);
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.articles-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.articles-cta .button {
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .articles-hero {
        padding: 60px 0;
    }

    .articles-hero h1 {
        font-size: 32px;
    }

    .articles-hero .subtitle {
        font-size: 18px;
    }

    .articles-section {
        padding: 60px 0;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .article-card {
        padding: 25px;
    }

    .article-card-title {
        font-size: 20px;
    }

    .article-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .article-link {
        align-self: flex-end;
    }

    .articles-cta {
        padding: 60px 0;
    }

    .articles-cta h2 {
        font-size: 28px;
    }

    .articles-cta p {
        font-size: 16px;
    }
}
