@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap");

body,
html {
	font-family: "Poppins", sans-serif;
}

h1 {
	font-family: "Dosis", sans-serif !important;
	font-size: 3.2rem !important;
}

h2 {
	font-family: "Dosis", sans-serif !important;
	font-weight: 400 !important;
	font-size: 3.2rem !important;
	line-height: 1 !important;
}

@media (min-width: 1028px) {
	h2 {
		font-size: 5rem !important;
		font-weight: 500 !important;
		letter-spacing: 0.2rem;
	}
}

h3 {
	font-family: "Dosis", sans-serif !important;
	font-size: 1.8rem !important;
	line-height: 1 !important;
	font-weight: 800 !important;
	color: #000 !important;
}

.post-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: normal;
	width: 100%;
}

.kc-program-header {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 5% 1rem 1rem 1rem;
}

.kc-program-image-container {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.kc-program-main-image {
	width: 100%;
	height: auto;
	display: block;
}

.kc-program-eligibility-pin {
	position: absolute;
	top: 0%;
	right: 5%;
	width: 25%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: url("../img/pin.png") center center no-repeat;
	background-size: contain;
	color: #2d312f;
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1;
	z-index: 0;
	text-align: center;
	border: none;
	padding: 20px;
	transform: rotate(-10deg);
}

@media (min-width: 1028px) {
	.kc-program-eligibility-pin {
		font-size: 1.5em;
		top: 10rem;
		right: 5rem;
		width: 25%;
		height: 40%;
		display: flex;
		align-items: center;
		justify-content: center;
		background: url("../img/pin.png") center center no-repeat;
		background-size: contain;
		color: #2d312f;
		font-weight: 700;
		z-index: 0;
		text-align: center;
		border: none;
		padding: 5rem 16rem;
		transform: rotate(-10deg);
	}
}

.kc-program-status-rect {
	position: absolute;
	bottom: 0px;
	left: 0px;
	background: #a41a20;
	color: #fff;
	padding: 1rem 2rem;
	font-size: 1.5rem;
	font-weight: 500;
	box-shadow: 0 2px 8px #0001;
	text-align: center;
	text-transform: lowercase;
}

.kc-program-status-rect::first-letter {
	text-transform: uppercase;
}

@media (min-width: 1028px) {
	.kc-program-status-rect {
		font-size: 2rem;
		padding: 1rem 4rem;
	}
}

.kc-program-area {
	font-size: 1rem;
	font-weight: 700;
}

.kc-program-title {
	font-family: "Dosis", sans-serif;
	color: #000000 !important;
	font-weight: 300 !important;
	text-transform: uppercase;
	font-size: 32px !important;
	line-height: 42px !important;
}

.kc-program-price-range {
	color: #b2b2b2;
	font-size: 1.375rem;
	font-weight: 600;
	text-transform: uppercase;
}

.kc-program-desc {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	margin-bottom: 18px;
	background: #fff;
}

.kc-program-info-block {
	display: flex;
	position: relative;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #fff;
	padding: 0;
	margin: 0;
	flex: 1;
}

.kc-program-info-block:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 12.5%;
	right: 0;
	width: 2px;
	height: 75%;
	background: #d8d8d8;
	transform: translateY(0);
}

.kc-program-info-icon img {
	width: 32px;
	height: 32px;
	margin-bottom: 8px;
}

.kc-program-info-title {
	font-weight: 600;
	font-size: 1.5rem;
	color: #222;
	display: block;
	padding: 0.5rem 2rem;
}

.kc-program-info-title b {
	font-weight: 800;
	font-size: 1.15rem;
}

.kc-program-logo {
	text-align: center;
	margin: 18px 0 0 0;
	width: 100%;
}

.kc-program-logo img {
	max-width: 250px;
	height: auto;
	display: inline-block;
	object-fit: contain;
}

.kc-progam-values .row {
	align-items: stretch;
	margin-top: 5%;
	margin-bottom: 5%;
}

.kc-progam-values-title {
	margin-top: 3rem;
	margin-bottom: 3rem;
	text-transform: uppercase;
	font-weight: 800;
	font-size: 3rem;
	line-height: 3.1rem !important;
}

.kc-recall-btn {
	position: fixed;
	top: 50%;
	right: 2%;
	transform: translateY(-50%);
	z-index: 1000;
	width: 80px;
	height: 80px;
	background: #a41a20;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px #0002;
	transition: background 0.2s, box-shadow 0.2s;
	cursor: pointer;
	border: none;
	text-decoration: none;
}

.kc-recall-btn img {
	width: 32px;
	height: 32px;
	filter: brightness(0) invert(1);
	pointer-events: none;
}

.kc-recall-btn:hover,
.kc-recall-btn:focus {
	background: #c82333;
	box-shadow: 0 4px 16px #0003;
	outline: none;
}

@media (max-width: 1028px) {
	.kc-recall-btn {
		display: none;
	}
}

#kc-program-bottombar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	display: flex;
	z-index: 1001;
	height: 36px;
	box-shadow: 0 -2px 8px #0002;
}

.kc-brochure-block,
.kc-recall-block {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Poppins", Arial, sans-serif;
	font-weight: 700;
	font-size: 1rem;
	text-transform: uppercase;
	text-decoration: none;
	height: 100%;
	border: none;
	outline: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	margin: 0;
	padding: 0;
}

.kc-brochure-block {
	background: #8ffacd;
	color: #111;
}

.kc-recall-block {
	background: #a41a20;
	color: #fff !important;
}

.kc-brochure-block:active,
.kc-brochure-block:focus {
	background: #6be6b7;
}

.kc-recall-block:active,
.kc-recall-block:focus {
	background: #c82333;
}

.kc-program-gallery-wrapper {
	max-width: 1600px;
	margin: 5% auto;
	padding: 0 15px;
}

.kc-program-gallery {
	height: 320px;
	/* Hauteur augmentée */
	position: relative;
}

.kc-program-gallery .slick-list,
.kc-program-gallery .slick-track {
	height: 100%;
}

.kc-program-gallery .slick-slide {
	height: 100%;
	padding: 0 8px;
	/* Espacement entre les images */
}

.gallery-slide {
	height: 100%;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.kc-program-gallery img {
	width: 100%;
	height: 310px;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.3s ease;
}

.gallery-slide:hover img {
	transform: scale(1.05);
}

/* Style des flèches */
.kc-program-gallery .slick-prev,
.kc-program-gallery .slick-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	font-size: 0;
}

.kc-program-gallery .slick-prev:hover,
.kc-program-gallery .slick-next:hover,
.kc-program-gallery .slick-prev:active,
.kc-program-gallery .slick-next:active,
.kc-program-gallery .slick-prev:focus,
.kc-program-gallery .slick-next:focus {
	background: #000 !important;
}

.kc-program-gallery .slick-prev:hover:before,
.kc-program-gallery .slick-next:hover:before,
.kc-program-gallery .slick-prev:active:before,
.kc-program-gallery .slick-next:active:before,
.kc-program-gallery .slick-prev:focus:before,
.kc-program-gallery .slick-next:focus:before {
	color: #fff;
}

.kc-program-gallery .slick-prev {
	left: -75px;
}

.kc-program-gallery .slick-next {
	right: -75px;
}

.kc-program-gallery .slick-prev:before,
.kc-program-gallery .slick-next:before {
	font-size: 16px;
	color: #333;
	opacity: 1;
}

/* Style des dots */
.kc-program-gallery .slick-dots {
	bottom: -40px;
	text-align: center;
}

.kc-program-gallery .slick-dots li button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ccc;
	border: none;
	font-size: 0;
}

.kc-program-gallery .slick-dots li.slick-active button {
	background: #333;
}

/* Pour la première image plus grande comme sur la maquette */
.kc-program-gallery .slick-slide:first-child .gallery-slide {
	height: 100%;
}

@media (max-width: 768px) {
	.kc-program-gallery {
		height: 250px;
	}

	.kc-program-gallery .slick-prev,
	.kc-program-gallery .slick-next {
		display: none !important;
	}

	.kc-program-gallery-wrapper {
		max-width: 100%;
	}
}

.kc-program-lots {
	position: relative;
	align-items: center;
	background-color: #c7c7c7;
}

.kc-program-lots-section-title {
	display: flex;
	justify-content: center;
}

@media (max-width: 1028px) {
	.kc-program-lots-section-title {
		margin-bottom: 5rem;
	}
}

.kc-program-lots-title {
	color: #ffffff !important;
}

.kc-program-lots .kc-program-eligibility-pin {
	position: absolute;
	top: 10%;
	right: 0%;
	width: 33%;
	height: 15%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: url(../img/pin.png) center center no-repeat;
	background-size: contain;
	color: #2d312f;
	font-size: 1.4rem;
	font-weight: 900;
	line-height: 1;
	z-index: 1;
	text-align: center;
	border: none;
	padding: 5rem;
	transform: rotate(-10deg);
}

@media (min-width: 1028px) {
	.kc-program-lots .kc-program-eligibility-pin {
		font-size: 1em;
		top: 5%;
		right: 0%;
		width: 50%;
		height: 25%;
		display: flex;
		align-items: center;
		justify-content: center;
		background: url(../img/pin.png) center center no-repeat;
		background-size: contain;
		color: #2d312f;
		font-weight: 700;
		z-index: 0;
		text-align: center;
		border: none;
		padding: 0rem 1rem;
		transform: rotate(-10deg);
	}
}

.apartment-list {
	margin: 0 auto;
	padding: 0 15px;
}

.apartment-item {
	padding: 20px 30px;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: all 0.3s ease;
}

.apartment-item.alternate {
	background-color: #e5e5e5;
	/* transform: translateY(-1px); */
}

.apartment-type {
	font-size: 28px;
	font-weight: bold;
	color: #333;
	min-width: 60px;
}

.apartment-surface {
	font-size: 18px;
	color: #333;
	flex: 1;
	margin-left: 40px;
}

.apartment-price {
	font-size: 18px;
	color: #333;
	flex: 1;
	text-align: center;
}

.apartment-availability {
	font-size: 18px;
	color: #333;
	font-weight: 600;
	text-align: right;
	min-width: 200px;
}

.apartment-availability strong {
	color: #000;
}

.kc-program-contact-form .gfield_description {
	color: #ffffff !important;
}

.kc-program-contact-form-link {
	color: #ffffff !important;
	font-weight: 600 !important;
	text-decoration: underline !important;
}

@media (max-width: 768px) {
	.apartment-item {
		flex-direction: row;
		flex-wrap: wrap;
		text-align: left;
		padding: 15px 20px;
	}

	.apartment-surface {
		margin-left: 0;
		margin: 10px 0;
	}

	.apartment-price,
	.apartment-availability {
		text-align: left;
		margin: 5px 0;
	}

	.apartment-type {
		font-size: 24px;
	}

	.apartment-surface,
	.apartment-price,
	.apartment-availability {
		font-size: 16px;
	}
}

@media (max-width: 576px) {
	.apartment-item {
		padding: 12px 15px;
	}

	.apartment-type {
		font-size: 22px;
	}

	.apartment-surface,
	.apartment-price,
	.apartment-availability {
		font-size: 14px;
	}
}

.kc-program-virtualbuilding-switch button {
	font-size: 15px !important;
	font-weight: 500 !important;
}

.kc-program-virtualbuilding-switch .btn.active,
.kc-program-virtualbuilding-switch .btn.active:focus,
.kc-program-virtualbuilding-switch .btn.active:active {
	background: #fff !important;
	color: #000 !important;
	border: 0.3rem solid #000 !important;
}

.kc-program-contact-form {
	position: relative;
	background-color: #a41a20;
	min-height: 420px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #ffffff;
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.kc-program-contact-form h2 {
	color: #ffffff;
	padding-top: 5rem;
	padding-bottom: 5rem;
	font-size: 4rem !important;
	font-weight: 300 !important;
}

.kc-program-contact-form .gfield_checkbox label {
	color: #ffffff;
	font-style: italic;
}

#gform_submit_button_1 {
	background-color: #ffffff !important;
	color: black !important;
	font-weight: 600 !important;
	font-size: 1.5rem !important;
	padding: 10px 20px !important;
	border-radius: 25px !important;
	border: none !important;
	text-transform: uppercase;
}

.gform-theme--foundation #field_submit,
.gform-theme--foundation .gform_footer,
.gform-theme--foundation .gform_page_footer {
	justify-content: end;
}

.kc-program-iframe {
	position: relative;
	margin-top: 5%;
	margin-bottom: 5%;
}

.kc-program-iframe-overlay {
	display: flex;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	text-align: center;
	font-size: 2.6rem;
	font-family: "Poppins", Arial, sans-serif;
	padding: 1.5rem 1rem;
	z-index: 10;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

@media (max-width: 1027px) {

	.gform-theme--foundation #field_submit,
	.gform-theme--foundation .gform_footer,
	.gform-theme--foundation .gform_page_footer {
		justify-content: center;
	}
}

.kc-program-virtualbuilding-switch {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	.kc-program-virtualbuilding-switch {
		margin-top: 0;
		margin-bottom: 0;
	}
}

@media (min-width: 768px) {
	.kc-program-map {
		margin-top: 3rem !important;
		margin-bottom: 3rem !important;
	}
}

#map {
	z-index: 0;
}

.kc-program-architect .row {
	align-items: center;
}

.kc-program-architect-description {
	line-height: 1.6;
}

.custom-navbar {
	background-color: #c7c7c7;
	padding: 15px 0;
	min-height: 128px;
	display: flex;
	align-items: center;
	position: sticky;
	top: 0;
	z-index: 1000;
	margin: 2% 0 5% 0;
}

@media (max-width: 768px) {
	.custom-navbar {
		display: none;
	}
}

.navbar-content {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
	justify-content: center;
}

.nav-link {
	color: white !important;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.5px;
	text-decoration: none;
	padding: 8px 16px !important;
	transition: all 0.3s ease;
}

.nav-link:hover {
	opacity: 0.8;
	transform: translateY(-1px);
}

.btn-telecharger {
	background: #8ffacd !important;
	color: black !important;
	border: none;
	border-radius: 25px !important;
	padding: 12px 24px !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	font-size: 13px !important;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.btn-telecharger:hover {
	transform: translateY(-2px);
}

.btn-rappel {
	background: #a41a20 !important;
	color: white !important;
	border: none;
	border-radius: 25px !important;
	padding: 12px 24px !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	font-size: 13px !important;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.btn-rappel:hover {
	transform: translateY(-2px);
}

.navbar-toggler {
	display: none;
}

.navbar-toggler:focus {
	display: none;
}

@media (max-width: 991px) {
	.nav-links {
		gap: 20px;
		text-align: center;
		margin-top: 20px;
	}

	.btn-telecharger,
	.btn-rappel {
		margin: 10px 0;
		display: block;
		width: fit-content;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (min-width: 1028px) {
	#kc-program-bottombar {
		display: none !important;
	}
}

@media (max-width: 1027px) {
	#kc-program-bottombar {
		display: flex;
	}
}

@media (min-width: 1028px) {
	.kc-program-desc {
		flex-direction: row;
		gap: 18px;
		justify-content: space-between;
	}

	.kc-program-info-block {
		flex: 1 1 0;
		margin: 0;
	}

	.kc-program-title {
		font-family: "Dosis", sans-serif;
		color: #000000 !important;
		font-weight: 300 !important;
		text-transform: uppercase;
		font-size: 50px !important;
		line-height: 63px !important;
	}

	.kc-program-main-image {
		min-height: 320px;
		object-fit: cover;
	}

	.kc-program-area {
		margin: 18px 0 8px 0;
		font-size: 1.375rem;
		font-weight: 700;
		color: #000;
		overflow-x: auto;
		white-space: nowrap;
		text-transform: uppercase;
	}
}

@media screen and (orientation: landscape) {
	.kc-program-iframe-overlay {
		display: none !important;
	}
}

@media screen and  (orientation: portrait) and (max-width: 1027px) {
	.kc-program-iframe-overlay {
		display: flex !important;
	}
}