.parcelles-wrapper {
    position: relative;
}

/* Grille */
.parcelles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 2px;
    overflow: hidden;
    position: relative;
}

.parcelles-grid img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    display: block;
    border-radius: 5px 5px 0px 0px;
    object-fit: cover;
	margin-bottom: 6px;
	border: 1px solid #4d3dac !important;
}

/* Dégradé bas indiquant qu’il y a plus de contenu */
.parcelles-grid::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;

    background: linear-gradient(rgba(26, 26, 26, 0) 0%, rgb(2 0 11) 100%);

    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 1;
}

/* Masque caché quand tout est chargé */
.parcelles-grid.full::after {
    opacity: 0;
}

/* Cartes fade + blur */
.parcelles-card {
background: #0b0337;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    filter: blur(6px);
    transform: translateY(15px);
    background-color: #0b033b;
    border: 1px solid #372a7d;
color: #ffffff;
text-shadow: 0px 1px 1px black;
    font-weight: bold;
    animation: fadeBlurIn 0.6s ease-out forwards;
	 transition: 
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}
.parcelles-card:hover {
    background: #16095f;
    border: 1px solid #4c3d9e;

    box-shadow: 0 0 18px rgba(90, 70, 200, 0.55);
	 transform: translateY(-8px) scale(1.05);
}
.parcelles-card:hover img {
    filter: brightness(1.1);
}


@keyframes fadeBlurIn {
    0% { opacity: 0; filter: blur(6px); transform: translateY(15px); }
    100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

/* Boutons */
.load-controls {
text-align: center;
    margin-top: 10px;
    display: flex
;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.load-btn {
color: #b8aaff;
    padding: 13px 25px;
    text-shadow: 0px 1px 1px black;
    font-weight: bold;
    border-radius: 0px;
    cursor: pointer;
    font-size: 16px;
    border: none;
    background-color: #0b033b;
    border: 1px solid #372a7d;
    transition: background 0.2s 
ease;
}

.load-btn:hover {
    background: #231388;
}
