/* ==================================
   NEOHOME - Coup de Coeur Modern Design
   ================================== */

.neohome-cc-section {
	padding: 80px 0;
	background: linear-gradient(to bottom, #ffffff 0%, #f8f9fb 50%, #ffffff 100%);
	position: relative;
	overflow: hidden;
}

.neohome-cc-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.02;
	background-image:
		repeating-linear-gradient(90deg, transparent, transparent 50px, #073a8d 50px, #073a8d 51px),
		repeating-linear-gradient(0deg, transparent, transparent 50px, #073a8d 50px, #073a8d 51px);
	pointer-events: none;
}

.neohome-cc-container {
}

/* Header */
.neohome-cc-header {
	text-align: center;
	margin-bottom: 60px;
}

.neohome-cc-subtitle {
	font-size: 14px;
	color: #073a8d;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 15px;
}

.neohome-cc-title {
	font-family: 'Lato', Georgia, serif;
	font-size: 42px;
	font-weight: 700;
	color: #2b2b2b;
	line-height: 1.2;
	margin-bottom: 0;
}

/* Grid */
.neohome-cc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
	gap: 40px;
}

/* Card */
.neohome-cc-card {
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	border-radius: 18px;
	transition: all 0.4s ease;
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.neohome-cc-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Image wrapper */
.neohome-cc-image-wrapper {
	width: 100%;
	height: 280px;
	overflow: hidden;
	position: relative;
}

.neohome-cc-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.neohome-cc-card:hover .neohome-cc-image {
	transform: scale(1.08);
}

.neohome-cc-image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.6));
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 1;
}

.neohome-cc-card:hover .neohome-cc-image-overlay {
	opacity: 1;
}

/* Badges sur l'image */
.neohome-cc-label {
	position: absolute;
	top: 20px;
	left: 0;
	padding: 8px 20px;
	background: #892f30;
	border-radius: 0 8px 8px 0;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	z-index: 2;
	box-shadow: 0 5px 15px rgba(137, 47, 48, 0.4);
	text-decoration: none;
}

.neohome-cc-label:hover {
	color: #fff;
	text-decoration: none;
}

.neohome-cc-label.location {
	background: #073a8d;
	box-shadow: 0 5px 15px rgba(7, 58, 141, 0.4);
}

.neohome-cc-location {
	position: absolute;
	bottom: 20px;
	left: 20px;
	padding: 7px 14px;
	background: rgba(255, 255, 255, 0.96);
	border-radius: 8px;
	color: #073a8d;
	font-size: 12px;
	font-weight: 600;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 7px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.neohome-cc-location i {
	color: #892f30;
}


/* Content */
.neohome-cc-content {
	padding: 28px 30px 30px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

/* Price */
.neohome-cc-price {
	font-size: 27px;
	font-weight: 700;
	color: #073a8d;
	margin-bottom: 12px;
	font-family: 'Lato', Georgia, serif;
}

/* Title */
.neohome-cc-property-title {
	font-size: 19px;
	font-weight: 700;
	color: #2b2b2b;
	margin-bottom: 12px;
	font-family: 'Lato', Georgia, serif;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.neohome-cc-property-title a {
	color: #2b2b2b;
	text-decoration: none;
	transition: color 0.3s ease;
}

.neohome-cc-property-title a:hover {
	color: #073a8d;
}

/* Description */
.neohome-cc-description {
	font-size: 14px;
	color: #666;
	line-height: 1.65;
	margin-bottom: 18px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex-grow: 1;
}

/* Amenities */
.neohome-cc-amenities {
	display: flex;
	align-items: center;
	padding: 18px 0;
	border-top: 1px solid #e8e8e8;
	border-bottom: 1px solid #e8e8e8;
	margin-bottom: 20px;
}

.neohome-cc-amenity {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #999;
	flex: 1;
	text-align: center;
}

.neohome-cc-amenity-value {
	font-size: 15px;
	font-weight: 700;
	color: #2b2b2b;
	display: flex;
	align-items: center;
	gap: 6px;
	justify-content: center;
}

.neohome-cc-amenity-value i {
	color: #892f30;
	font-size: 13px;
}

.neohome-cc-amenity-label {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: #aaa;
}

.neohome-cc-amenity-divider {
	width: 1px;
	height: 28px;
	background: #e0e0e0;
}

/* Footer */
.neohome-cc-footer {
	display: flex;
	justify-content: flex-end;
}

.neohome-cc-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 24px;
	background: #073a8d;
	border-radius: 8px;
	color: #fff;
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.neohome-cc-cta::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.1);
	transition: left 0.3s ease;
}

.neohome-cc-cta:hover::before {
	left: 100%;
}

.neohome-cc-cta:hover {
	background: #892f30;
	color: #fff;
	text-decoration: none;
	transform: translateX(4px);
}

.neohome-cc-cta i {
	transition: transform 0.3s ease;
}

.neohome-cc-cta:hover i {
	transform: translateX(3px);
}

/* Card "Voir toutes les ventes" */
.neohome-cc-all-sales {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 500px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	transition: all 0.4s ease;
	cursor: pointer;
}

.neohome-cc-all-sales:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.neohome-cc-all-sales::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('images/home_cartouche_vente.jpeg') center/cover;
	transition: transform 0.6s ease;
}

.neohome-cc-all-sales:hover::before {
	transform: scale(1.08);
}

.neohome-cc-all-sales-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
	text-decoration: none;
}

.neohome-cc-overlay-all {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(7, 58, 141, 0.82);
	z-index: 1;
	transition: background 0.4s ease;
}

.neohome-cc-all-sales:hover .neohome-cc-overlay-all {
	background: rgba(137, 47, 48, 0.82);
}

.neohome-cc-all-sales-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #fff;
	padding: 40px;
}

.neohome-cc-sales-title {
	font-family: 'Lato', Georgia, serif;
	font-size: 34px;
	font-weight: 700;
	margin-bottom: 12px;
	letter-spacing: 3px;
	color: #fff;
}

.neohome-cc-sales-subtitle {
	font-size: 13px;
	margin-bottom: 30px;
	opacity: 0.9;
	color: rgba(255, 255, 255, 0.9);
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.neohome-cc-sales-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: #fff;
	color: #073a8d;
	border-radius: 50%;
	font-size: 22px;
	transition: all 0.35s ease;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.neohome-cc-all-sales:hover .neohome-cc-sales-btn {
	background: #fff;
	color: #892f30;
	transform: rotate(90deg) scale(1.1);
}

/* Responsive */
@media (max-width: 991px) {
	.neohome-cc-section {
		padding: 60px 0;
	}

	.neohome-cc-title {
		font-size: 32px;
	}

	.neohome-cc-grid {
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
		gap: 30px;
	}

	.neohome-cc-image-wrapper {
		height: 240px;
	}
}

@media (max-width: 767px) {
	.neohome-cc-section {
		padding: 50px 0;
	}


	.neohome-cc-title {
		font-size: 26px;
	}

	.neohome-cc-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.neohome-cc-image-wrapper {
		height: 220px;
	}

	.neohome-cc-content {
		padding: 22px 20px 24px;
	}

	.neohome-cc-price {
		font-size: 22px;
	}

	.neohome-cc-property-title {
		font-size: 17px;
	}

	.neohome-cc-amenities {
		flex-wrap: wrap;
		gap: 10px;
	}

	.neohome-cc-all-sales {
		min-height: 380px;
	}

	.neohome-cc-sales-title {
		font-size: 26px;
	}
}
