/* CSS Document */

html, body {
    width: 100%;
    height: 100%;
	
}


.fundo-imagem {
    background-image: url("img2/linha-magnific.jpg");
    width: 100%;
    min-height: 100vh;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 180px 20px;
}


.fundo-imagem::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(40px);
    background: rgba(0,0,0,0.2);
}








.painel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px;
}




/* Painel */
.painel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;

    max-width: 1200px;
    width: 100%;
    padding: 30px;

    background: rgba(255, 255, 255, 3.75);
    backdrop-filter: blur(10px);
        border-top-left-radius: 26px;
border-bottom-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-right-radius: 26px;
}



/* Cards */
.card {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 26px;
border-bottom-right-radius: 0px;
border-top-right-radius: 0px;
border-bottom-right-radius: 26px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    cursor: pointer;
    text-decoration: none;
}

/* Imagem */
.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Texto sobre a imagem */
.card span {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

/* Animação ao passar o mouse */
.card:hover img {
    transform: scale(1.);
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::after {
    opacity: 1;
}










@media (max-width: 768px) {
    .fundo-imagem {
        padding: 60px 15px;
    }
}

