/* ========== RÉALISATIONS – VERSION MODERNE & COHÉRENTE ========== */

.realisations-modern {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 5rem 2rem;
}

.realisations-modern h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 0.8rem;
}

.section-decoration {
    width: 60px;
    height: 3px;
    background-color: var(--bleu-tech);
    margin: 0 auto 4rem;
}

.projet-simple {
    max-width: 820px;
    margin: 4rem auto;
    background: var(--gris-clair);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--ombre-legere);
    transition: var(--transition);
}

/* Effet hover moderne */
.projet-simple:hover {
    transform: translateY(-5px);
    box-shadow: var(--ombre-forte);
}

.projet-simple:hover .projet-image img {
    transform: scale(1.05);
}

.projet-alt {
    background: var(--gris-clair);
}

.projet-image {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.projet-image img {
    width: 80%;
    height: 400px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    transition: transform 0.5s ease;

}

.projet-contenu {
    padding: 2rem 3rem;
}

.projet-contenu h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.projet-simple:hover .projet-contenu h3 {
    color: var(--bleu-tech);
}

.projet-contenu p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gris-fonce);
    font-weight: 500;
}

/* Badge optionnel au survol */
.projet-simple::before {
    /*content: "→ Voir le projet"; a finaliser ... */ 
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bleu-tech);
    color: var(--blanc);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    z-index: 10;
}

.projet-simple:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Barre d'accent latérale */
.projet-simple {
    position: relative;
    border-left: 4px solid transparent;
}

.projet-simple:hover {
    border-left-color: var(--bleu-tech);
}

/* Responsive */
@media (max-width: 768px) {
    .realisations-modern {
        padding: 3rem 1rem;
    }

    .realisations-modern h2 {
        font-size: 2rem;
    }

    .projet-simple {
        margin: 2.5rem auto;
    }

    .projet-image img {
        height: 250px;
    }

    .projet-contenu {
        padding: 2rem 1.5rem;
    }

    .projet-contenu h3 {
        font-size: 1.5rem;
    }

    .projet-contenu p {
        font-size: 1rem;
    }

    .projet-simple::before {
        display: none; /* Cache le badge sur mobile */
    }
}