@charset "utf-8";
/* CSS Document */

.bola {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
    flex-shrink: 0; /* Impede que a bola seja afetada pelo flex */
}
.verde {
    background-color: #6BC904;
}
.vermelha {
    background-color: #C7C7C7;
}
	
	
/* Container principal */
	
.anuncios-container {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    max-width: 1230px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    justify-content: center;
}
	
.ann-info-info {
	z-index: 10;
	position: absolute;
	top:141px;
	left:200px;
	width: 16px;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.3s ease; /* Transição suave para o filtro */
	}

.ann-info-info:hover {
	opacity: 1;
	}
	
.ann-foto-int {
	transition: transform 0.4s ease; transform-origin: center;
	}	

.ann-contactos {
    display: flex;
    gap: 10px;
    width: 100%;
	margin: 35px 0 10px 0;
}

.ann-contactos-int {
    flex: 1;
    height: 22px;
    border-radius: 11px;
    border: 1px solid #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
	font-size: 12px;
	line-height:16pxx;
	color: #ccc;
}
	
#ann-info-modal { 
        display: none; 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100%; 
        z-index: 100;
        justify-content: center;
        align-items: center;
	    animation: on-ima 1s;
	    animation-fill-mode: forwards;
	}

 .ann-info-balao {
        position: fixed;
        top: 25%; 
        left: 50%;
        transform: translateX(-50%); 
        color: #6B6B6B;
        width: 260px;
        background-color: #fff;
        z-index: 101;
        font-size: 17px;
        font-weight: 400;
        padding: 22px;
        line-height: 32px;
        border-radius: 8px;
        border: thin solid #ccc;
        box-shadow: 1px 7px 21px -7px rgba(0,0,0,0.47);
    }
    
    .ann-info-fundo {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 100;
    }




/* Card individual */
.ann-anuncio {
	width: 280px;
	padding: 20px;
	border-radius: 20px;
	background: white;
	box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	border: 1px solid #E4E4E4;
	transition: all 0.9s ease;
	transform-origin: center; /* Define o ponto de origem da transformação */
	will-change: transform; /* Otimização para animações */
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Transição suave para tudo */
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); /* Sombra padrão */
	cursor: pointer;
	transition: box-shadow 0.4s ease, transform 0.4s ease;
}	


/* Container dos quadrados (foto + info) */
.quadrados-container {
    display: flex;
    gap: 10px;
    width: 100%;
}

/* Quadrado da foto */
.ann-foto {
	width: 152px;
	height: 152px;
	display: flex;                  /* Troca block por flex */
	justify-content: center;        /* Centraliza horizontalmente */
	align-items: center;            /* Centraliza verticalmente */
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	box-sizing: border-box;
	font-size: 70px;
	color: #67A81F;
	font-weight: 500;
	flex-shrink: 0;
	background: #F8F8F8;
}

/* Quadrado de informações */
.ann-info {
    flex: 1;
    height: 152px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: auto;
    box-sizing: border-box;
    background-color: #fff;
    padding: 4px 8px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}
.ann-nome {
    font-size: 15px;
	width: 150px;
	text-align: center;
	color: #505050;
	font-weight: 500;
	margin: 10px 0 12px 0;
}
	
.ann-texto-anuncio {
	color: #3A3A3A;
	font-size: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.7;
    max-height: calc(1.7em * 3);
	margin: 22px 0 30px 0;
	position: relative;
	padding-right: 10px; /* Espaço extra para as reticências */
	}
	
	
	
.ann-texto-ne {
	color: #505050;
	font-size: 14px;
	margin: 16px 0 5px 0;
	font-weight: 500;
	}

/* Estilos para o conteúdo do .ann-info */
.modalidades, .distancia {
    font-weight: 500;
    color: #000;
    margin: 8px 0 0 8px;
    overflow: hidden;
}

.o-p-d {
    font-weight: 400;
    overflow: hidden;
	margin: 0 0 0 10px;
	color: #555;
}



/* Estilo da imagem */
.ann-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Conteúdo de texto abaixo dos quadrados */
.conteudo-texto p {
    margin: 8px 0;
    color: #444;
    font-size: 14px;
    line-height: 1.4;
}

/* Efeito hover */
.ann-anuncio:hover .ann-foto-int {
    transform: scale(1.2);
    transition: transform 1.2s ease;
    filter: brightness(1.03);
}
		
.ann-anuncio:hover {
	 transform: translateY(0px); /* Leve elevação */
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}
		
}