/* ===================================
   ACTUALITÉS - STYLES SECTION ACCUEIL
   =================================== */

.actualites-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.view-all-link {
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.view-all-link:hover {
    color: #0891b2;
    transform: translateX(5px);
}

.view-all-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.view-all-link:hover i {
    transform: translateX(5px);
}

/* Grille des actualités */
.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Carte d'actualité */
.actualite-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.actualite-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.25);
}

.actualite-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.actualite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.actualite-card:hover .actualite-image img {
    transform: scale(1.1);
}

.actualite-categorie {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(30, 64, 175, 0.95);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.actualite-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.actualite-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.actualite-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.actualite-meta i {
    color: #1e40af;
}

.actualite-titre {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.actualite-titre a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.actualite-titre a:hover {
    color: #1e40af;
}

.actualite-chapeau {
    color: #64748b;
    font-size: 0.938rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.actualite-lire-plus {
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.actualite-lire-plus:hover {
    color: #0891b2;
    gap: 0.75rem;
}

/* ===================================
   PAGE ACTUALITÉS
   =================================== */

.actualites-page {
    min-height: 100vh;
    background: #f8fafc;
}

.actualites-hero {
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.actualites-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.1;
}

.actualites-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.actualites-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.actualites-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Filtres */
.actualites-filters {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.filters-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px 0 0 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #1e40af;
}

.search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
    color: white;
    border: none;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.05);
}

.categories-filter {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.categories-filter label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.categories-filter input[type="radio"] {
    display: none;
}

.categories-filter span {
    padding: 0.6rem 1.2rem;
    background: #f1f5f9;
    border-radius: 25px;
    font-size: 0.938rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.categories-filter input[type="radio"]:checked + span {
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.categories-filter label:hover span {
    transform: translateY(-2px);
}

/* Liste des articles */
.actualites-list {
    padding: 4rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.2);
}

.article-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.15);
}

.article-categorie {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(30, 64, 175, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.article-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #64748b;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-titre {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-titre a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-titre a:hover {
    color: #1e40af;
}

.article-chapeau {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.article-lire-plus {
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    background: #f1f5f9;
    border-radius: 8px;
    align-self: flex-start;
}

.article-lire-plus:hover {
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
    color: white;
    gap: 0.75rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    color: #1e40af;
    border: 2px solid #1e40af;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
    color: white;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-numbers a,
.pagination-numbers span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #64748b;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pagination-numbers a:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-2px);
}

.pagination-numbers a.active {
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Message aucun résultat */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.no-results h3 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.no-results p {
    color: #64748b;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .actualites-hero h1 {
        font-size: 1.875rem;
    }

    .actualites-hero p {
        font-size: 1rem;
    }

    .actualites-grid,
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .categories-filter {
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .categories-filter span {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .actualites-filters {
        position: relative;
    }
}

@media (max-width: 480px) {
    .actualites-hero h1 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .search-box {
        flex-direction: column;
    }

    .search-input,
    .search-btn {
        border-radius: 12px;
        width: 100%;
    }

    .pagination-numbers a,
    .pagination-numbers span {
        width: 36px;
        height: 36px;
    }
}

