/* Styles spécifiques à la page réalisations */
.realisations-hero {
    background-image: url('../imgs/hero/realisation.jpg');
    background-size:cover; 
    background-position:center; 
    background-repeat:no-repeat;
    color: white;
    text-align: center;
    padding: 5rem 2rem;
    margin-top: 0;
}
.realisations-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: white;
}
.realisations-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Filtres */
.realisations-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 2rem 1rem 2rem;
}
.filter-btn {
    background: #f1f5f9;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f1a68;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-btn:hover {
    background: #e2e8f0;
}
.filter-btn.active {
    background: #a41324;
    color: white;
}

/* Grille des projets */
.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
}
.project-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eef2ff;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px -12px rgba(31, 26, 104, 0.1);
}
.project-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.project-card:hover .project-image img {
    transform: scale(1.05);
}
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 26, 104, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.project-card:hover .project-overlay {
    opacity: 1;
}
.project-link {
    background: white;
    color: #a41324;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}
.project-link:hover {
    transform: scale(1.1);
    background: #a41324;
    color: white;
}
.project-info {
    padding: 1.2rem;
}
.project-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f1a68;
    margin-bottom: 0.3rem;
}
.project-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #a41324;
    font-weight: 600;
    margin-bottom: 0.8rem;
}
.project-info p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .realisations-hero h1 {
        font-size: 2rem;
    }
    .realisations-filters {
        gap: 0.5rem;
    }
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    .realisations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}