﻿#home_simulateur_rentabilite {
	width: 100%;
	background-color: #000;
	text-align: center;
	padding: 20px 0;
	color: #fff;
	margin: auto;
}

#home_simulateur_rentabilite img {
	margin: auto;
}

.home_section {
	margin-top: 0px !important;
}

/* Simulateur Rentabilité Section */
.sim-rentabilite-container {
	background-image: url('../../img/home/slides/home_sim_renta_mobile.jpg');
	background-size: cover;
	background-position: center;
	position: relative;
	width: 100%;
	min-height: 250px;
	/* Adjust based on mobile design needs */
	display: flex;
	align-items: center;
	justify-content: center;
	/* Reset previous styles */
	background-color: transparent !important;
	padding: 0 !important;
}

.sim-rentabilite-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.sim-rentabilite-content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 20px;
	color: #fff;
	width: 100%;
}

.sim-rentabilite-content h2 {
	font-size: 1.8rem;
	margin-bottom: 15px;
	text-transform: uppercase;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.sim-rentabilite-content p {
	font-size: 1rem;
	margin-bottom: 20px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.sim-rentabilite-content .button1 {
	display: inline-block;
	margin: 0 auto;
	width: auto;
	padding: 10px 20px;
	font-size: 1rem;
}

@media (min-width: 768px) {
	.sim-rentabilite-container {
		background-image: url('../../img/home/slides/home_sim_renta_pc.jpg');
		min-height: 400px;
	}

	.sim-rentabilite-content h2 {
		font-size: 2.5rem;
		margin-bottom: 20px;
	}

	.sim-rentabilite-content p {
		font-size: 1.2rem;
		margin-bottom: 30px;
	}

	.sim-rentabilite-content .button1 {
	}
}

/* Hero Street Background & Simplified 3 Buttons */
main#home > div.home-hero-bg {
	background-image: url('../../img/home/fond_accueil_rue.jpg') !important;
	background-position: center top !important;
	background-size: 100% 100% !important;
	background-repeat: no-repeat !important;
	position: relative !important;
	width: 100% !important;
	aspect-ratio: 1024 / 371 !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	align-items: center !important;
	box-sizing: border-box !important;
	overflow: visible !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

main#home #section1 {
	margin-top: 54px !important;
	margin-bottom: 0px !important;
	text-align: center !important;
}

main#home #section1 img {
	max-width: 820px !important;
	width: 90% !important;
	height: auto !important;
	margin: 0 auto !important;
	display: block !important;
}

main#home #section1 h1,
main#home #section1 h1 *,
#home #section1 h1,
#home #section1 #phraseAccueil {
	color: #ffffff !important;
	font-family: 'Albert Sans', sans-serif !important;
	font-weight: 800 !important;
	font-style: normal !important;
}

#home #section1 #phraseAccueil {
	color: #ffffff !important;
	font-family: 'Albert Sans', sans-serif !important;
	font-weight: 800 !important;
	font-synthesis: none !important;
	-webkit-font-smoothing: antialiased !important;
	-moz-osx-font-smoothing: grayscale !important;
	text-rendering: optimizeLegibility !important;
	text-shadow: none !important;
}

main#home #section1 h1 {
	margin-top: 0px !important;
	margin-bottom: 8px !important;
	font-size: 3.1rem !important;
	line-height: 1.2 !important;
}

#section2 {
	margin-top: 6px !important;
	padding-top: 0 !important;
	padding-bottom: 10px !important;
}

.home-hero-buttons {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 16px !important;
	width: 100% !important;
	max-width: 650px !important;
	margin: 0 auto !important;
}

.home-hero-cards-col {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 16px !important;
}

.home-hero-btn-round {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.home-hero-btn-round img {
	width: 74px !important;
	height: 74px !important;
	object-fit: contain !important;
	border-radius: 50% !important;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)) !important;
	transition: transform 0.2s ease !important;
}

.home-hero-btn-card {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.home-hero-btn-card img {
	width: 169px !important;
	height: auto !important;
	object-fit: contain !important;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)) !important;
	transition: transform 0.2s ease !important;
}

.home-hero-btn:hover img {
	transform: scale(1.05) !important;
}

@media (max-width: 1650px) {
	main#home #section1 {
		margin-top: 54px !important;
	}
	main#home #section1 img {
		max-width: 660px !important;
	}
	main#home #section1 h1 {
		font-size: 2.2rem !important;
	}
	.home-hero-buttons {
		gap: 12px !important;
	}
	.home-hero-cards-col {
		gap: 12px !important;
	}
}

@media (max-width: 1200px) {
	main#home #section1 {
		margin-top: clamp(20px, 4vw, 45px) !important;
	}
	main#home #section1 img {
		max-width: 580px !important;
	}
	main#home #section1 h1 {
		font-size: 1.8rem !important;
	}
}

/* MODE TELEPHONE (< 768px) */
@media (max-width: 767px) {
	main#home > div.home-hero-bg {
		background-image: none !important;
		background-color: #ffffff !important;
		background: #ffffff !important;
		width: 100% !important;
		aspect-ratio: auto !important;
		min-height: calc(100vw * (971 / 718)) !important;
		padding-top: calc(100vw * (93 / 718)) !important;
		padding-bottom: calc(100vw * (74 / 718)) !important;
		margin-bottom: 0 !important;
		border-bottom: 2.5px solid #CCA533 !important; /* Ligne dorée de séparation */
		display: flex !important;
		flex-direction: column !important;
		justify-content: flex-start !important;
		align-items: center !important;
		box-sizing: border-box !important;
	}

	main#home #section1 {
		margin: 0 !important;
		padding: 0 !important;
		width: 100% !important;
		text-align: center !important;
	}

	main#home #section1 img {
		max-width: 710px !important;
		width: 98% !important;
		height: auto !important;
		margin: 0 auto !important;
		display: block !important;
	}

	main#home #section1 h1,
	main#home #section1 h1 *,
	#home #section1 h1,
	#home #section1 #phraseAccueil {
		color: #000000 !important;
		font-family: 'Albert Sans', sans-serif !important;
		font-weight: 800 !important;
		font-style: normal !important;
		font-synthesis: none !important;
		-webkit-font-smoothing: antialiased !important;
		-moz-osx-font-smoothing: grayscale !important;
		text-rendering: optimizeLegibility !important;
		font-size: 3.0rem !important; /* Doublé par 2 (précédemment 1.5rem) */
		line-height: 1.15 !important;
		margin-top: calc(100vw * (75 / 718)) !important;
		margin-bottom: 0 !important;
		text-shadow: none !important;
		text-align: center !important;
	}

	#section2 {
		margin-top: calc(100vw * (61 / 718)) !important;
		padding: 0 !important;
		width: 100% !important;
	}

	.home-hero-buttons {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		gap: calc(100vw * (25 / 718)) !important;
		width: 100% !important;
		padding: 0 !important;
		box-sizing: border-box !important;
		margin: 0 auto !important;
	}

	/* Macaron rond PREMIERE UTILISATION ? centré au-dessus */
	.home-hero-btn-round {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		margin: 0 auto !important;
	}

	.home-hero-btn-round img {
		width: calc(100vw * (128 / 718)) !important;
		max-width: 130px !important;
		height: auto !important;
		aspect-ratio: 1 / 1 !important;
		object-fit: contain !important;
		border-radius: 0 !important;
		filter: none !important;
		box-shadow: none !important;
	}

	/* Les 2 boutons Ma Capacité EMPRUNT et SIMULATEUR RENTABILITE empilés verticalement et centrés */
	.home-hero-cards-col {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		gap: calc(100vw * (30 / 718)) !important;
		width: 100% !important;
		margin: 0 auto !important;
	}

	.home-hero-btn-card {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		margin: 0 auto !important;
	}

	.home-hero-btn-card img {
		width: calc(100vw * (248 / 718)) !important;
		max-width: 250px !important;
		height: auto !important;
		display: block !important;
		filter: none !important;
		box-shadow: none !important;
	}
}
