.title-home-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.titre-menu {
	font-size: 38px;
	margin: 0;
	text-transform: capitalize
}

.titre-menu span {
    color: rgba(186, 67, 46, 1);
    border-radius: 50px;
	font-family: 'Poppins', sans-serif;
	letter-spacing: 0.1px;
	font-weight: bold;
}

.sous-titre-menu {
	font-size: 1.8em;
	text-transform: uppercase;
	font-weight: bold
}

.home-divider img {
	height: 20px;
}

.home-divider-white img {
	height: 20px;
}

.home-divider-white {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 5px 0;
}

.beautiful-paragraph {
    padding: 20px;
    border-left: 4px solid rgba(186, 67, 46, 1);
	background-color: rgba(186, 67, 46, 0.05);
}

.beautiful-paragraph--gestion {
	 margin: 25px 40px;
}

.btn-validate {
	padding: 1.5rem 5rem;
	text-transform: uppercase;
	color: white;
	font-weight: bold;
	cursor: pointer;
	background-color: rgba(186, 67, 46, 1);
}


/** begin carousel **/
#main_carousel_form_search {
	position: absolute;
	bottom: 15px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	z-index: 4;
}

#main_carousel_text_presentation {
	height: 100%;
	position: absolute;
	bottom: 25px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 4;
	gap: 25px;
}

#main_carousel_text_presentation h2 {
	font-size: 5rem;
	color: white;
	margin-bottom: 0;
}

#main_carousel_text_presentation h3 {
	font-size: 1.8em;
	font-weight: bold;
	color: white;
}

#main_carousel_text_presentation p {
	font-size: 2rem;
	color: white;
}

.image-carousel-container img {
	max-width: 400px;
}

.main-slide-overlay {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 2;
	background-color: #000000;
    opacity: 0.5;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.btn-carousel-container {
	display: flex;
	gap: 15px;
}

.btn-carousel {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    overflow: hidden;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-carousel--one {
    color: #fff;
    background-color: #814594;
    border-color: #814594;
}

.btn-carousel--one:hover {
    background-color: #fff;
    color: #814594;
}

.btn-carousel--two {
	border: 2.5px solid;
    color: white;
    background-color: #0fb9ee !important;
	border-color: #0fb9ee !important;
}

.btn-carousel--two:hover {
    background-color: #814594;
    color: #fff;
}
.btn-carousel--white {
	border: 2.5px solid white;
	color: white;
}

#main_carousel_mouse_wheel {
	position: absolute;
	bottom: 0;
	z-index: 3;
}

/** end carousel **/

/** section notre cabinet **/
#section_notre_cabinet {
	display: flex;
	flex-direction: column;
}

#section_notre_cabinet_alta {
	display: flex;
	margin-top: 3rem;
}

.panel-alta {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 600px;
    height: 650px;
    background-color: #814594;
    padding: 30px 60px;
    margin-left: -40px;
    z-index: 1;
}

.panel-alta p {
	color: white;
}

.panel-title {
	color: white;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 3rem;
}

.panel-blue {
	padding: 15px;
	background-color: #1c3645;
	color: white;
}

.img-with-border {
	border: 5px solid white;
    box-shadow: 0 0 0 1px #aaa;
}

.img-cabinet-container {
    display: flex;
    z-index: 3;
    margin-bottom: -5rem;
	margin-top: 8rem;
}

/* Section principale */

#section_notre_cabinet .home-divider {
	margin-top: 3rem;
}

#section_notre_cabinet_bis {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 50px 0;
	background-image: url('../images/diamond_background.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Conteneur principal */
.container-cabinet-main {
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1200px;
    margin: 90px auto;
    background-color: rgba(255, 255, 255, 0.9);
	z-index: 3;
}

/* Style du titre */
.container-cabinet-main h3 {
    font-size: 28px;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

/* Conteneur des cartes */
.container-cabinet {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

/* Style des cartes */
.card-cabinet {
    display: flex;
	flex-direction: column;
    align-items: center;
	gap: 15px;
	justify-content: space-between;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-cabinet img {
	height: 60px;
}

.card-cabinet:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Style de l'icône */
.card-cabinet strong {
    font-size: 18px;
}

/* Style du texte */
.card-cabinet .text {
    color: #333;
    line-height: 1.5;
}

.overlay-cabinet {
	height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 2;
	background-image: linear-gradient(315deg, #7fcec5 0%, #14557b 74%);
    opacity: 0.6;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
	background: rgb(56,68,75);
	background: radial-gradient(circle, rgba(56,68,75,1) 0%, rgba(35,43,48,1) 100%); 
}

.main-slide-full-overlay {
    
}


/** Fin SECTION CABINET **/


/** Section Transition **/

#section_transition {
    background: url(../images/home_transition.jpeg) center no-repeat fixed;
    background-size: cover;
    height: 400px
}

/** Fin Section Transition **/

/** BEGIN section_gestion **/

.background-left-section {
    padding-top: 150px;
    padding-bottom: 150px;
    position: relative;
	width: 100%;
	height: 700px;
	display: flex;
	align-items: center;
}

.background-left-section::before {
    position: absolute;
    top: 0;
    left: 0;
    height: 700px;
    width: 500px;
    background-color: #1c3645;
    content: "";
}

#section_gestion_container {
    display: flex;
    z-index: 1;
    position: relative;
}

#section_gestion_container img {
    max-width: 100%;
    height: auto;
}

#section_gestion_bloc_right {
    margin-left: 20px;
    flex: 1;
}

/** END section_gestion **/


/** Block Coup Coeur **/
.img-coup-de-coeur {
    overflow: hidden;
	
}

.img-coup-de-coeur > a > .img-cc-main {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease-in-out;
}

.img-coup-de-coeur > a:hover > .img-cc-main {
    transform: scale(1.3);
}

.container-cc {
	border: 1px solid #e9e9e9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
	background-color: white;
}

.container-cc p {
	padding: 0.5rem;
}

.cc-container {
	margin-top: 8rem;
	margin-bottom: 8rem;
}

.overlay-img-cc {
    position: absolute;
    bottom: 0;
    height: 70px;
    width: 100%;
    transform: matrix(-1, 0, 0, -1, 0, 0);
    background: transparent linear-gradient(180deg, #000 0, #00000000 100%) 0 0 no-repeat padding-box;
    opacity: 0.68;
}

.label-cc {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 12px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: var(--primary-color);
    width: 86px;
    text-align: center;
    color: #fff !important;
    text-decoration: inherit !important;
    text-transform: uppercase;
    font-weight: 700;
}

.ville-cc {
	position: absolute;
	left: 15px;
	bottom: 5px;
	color: white;
	z-index: 1;
}

.price-cc {
	font-size: 20px;
	color: var(--primary-color);
	font-weight: bold;
	margin-top: 1rem;
}

.title-cc {
	font-size: 18px;
	font-weight: bold;
	padding : 1rem;
}

.description-cc {
	margin-top: 2rem;
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nb-photo {
    position: absolute;
    bottom: 5px;
    right: 15px;
}

.nb-photo img {
	width: 25px;
}

.amenities-cc-container {
	display: flex;
	justify-content: space-between;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

.amenities-cc {
	display: flex;
	flex-direction : column;
}

.amenities-cc-bar {
    width: 1px;
    height: 45px;
    background-color: #ddd;
}

.btn-show-cc {
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.btn-show-cc:hover {
    letter-spacing: 0.1px;
    color: #d5ab48;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(213, 171, 72, 0.5);
}

.add-cc-container {
	display: flex;
	gap: 5px;
	position: absolute;
	top: 10px;
	right: 10px;
}

.add-cc {
	padding: 1px 7px;
	border-radius: 50%;
	background-color: rgba(47, 72, 88, 0.2);
}

.block-cc-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

.block-cc {
    cursor: pointer;
	padding: 0.5rem;
}

.row-cc {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.d-flex-cc {
    display: flex;
}

.px-cc {
	padding-left : 1rem;
	padding-right : 1rem;
}

.btn-heart-result img {
    height: 20px;
}

.btn-heart-container {
    position: absolute;
    right: 15px;
	bottom: 5px;
}

.all-sales-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.all-sales-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.full-image {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.full-image > .img-cc-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease-in-out;
}

.full-image:hover > .img-cc-main {
    transform: scale(1.2);
}

.overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Overlay sombre */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 1rem;
    opacity: 1; /* Toujours visible */
}

.title-sales {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
	color: white;
}

.subtitle-sales {
    font-size: 16px;
    margin-bottom: 1rem;
}

.btn-sales {
    display: inline-block;
    padding: 10px 17px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-sales:hover {
    background-color: #d5ab48;
    transform: scale(1.1);
}

/** endblock **/

/** components **/

.circle-check {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(186, 67, 46, 0.25);
    color: rgba(186, 67, 46, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    vertical-align: middle;
}

.username-css {
    display: none;
}

@media (min-width: 1600px) {	
	.footer-logo-size img {
		max-width: 370px;
	}
}

@media (min-width: 1500px) and (max-width: 1600px) {
	.background-left-section {
		height: 800px;
	}
	.background-left-section::before {
		height: 800px;
	}	
}

@media (max-width: 1700px) {
	#main_carousel_mouse_wheel {
		display: none;
	}
}

@media (min-width: 1400px) and (max-width: 1700px) {
	#main_carousel_form_search {
		bottom: 110px;
	}
}

@media (min-width: 1400px) and (max-width: 1600px) {
	.img-cabinet-container {
		margin-bottom: 0;
	}
}

@media (min-width: 1200px) and (max-width: 1400px) {
	#main_carousel_form_search {
		bottom: 60px;
	}
	#main_carousel_text_presentation h2 {
		font-size: 4rem;
	}
	#main_carousel_text_presentation p {
		font-size: 1.8rem;
	}
	.btn-carousel {
		padding: 0.7rem 1.5rem;
	}
	.all-sales-card {
		display: none;
	}
	.block-cc-container {
		grid-template-columns: repeat(3, 1fr);
	}
	.img-cabinet-container {
		margin-bottom: 0;
	}
	#main_carousel_text_presentation {
		bottom: 0
	}
	.image-carousel-container img {
		max-width: 275px;
	}
}

@media (min-width: 1200px) and (max-width: 1300px) {
	.btn-extranet {
		padding: 10px;
	}
}

@media (max-width: 1200px) {
	#main_carousel_text_presentation {
		align-items: center;
	}
}

@media (min-width: 992px) and (max-width: 1200px) {
	.block-cc-container {
		grid-template-columns: repeat(2, 1fr);
	}
	#main_carousel_form_search {
		bottom: 45px;
	}
	.img-cabinet-container {
		margin-bottom: 0;
	}
	.img-cabinet-container img {
		min-width: 600px;
		max-width: 650px;
	}
	.img-section-gestion img {
		margin-top: 12rem;
		max-width: 450px !important;
	}
	.background-left-section::before {
		width: 400px;
	}
	.background-left-section {
		height: 800px;
	}
	.background-left-section::before {
		height: 800px;
	}
	#main_carousel_text_presentation h2 {
		font-size: 4.5rem;
	}
	#main_carousel_text_presentation p {
		font-size: 1.8rem;
	}
	.btn-carousel {
		padding: 0.7rem 1.5rem;
	}
	.image-carousel-container img {
		max-width: 350px;
	}
}

@media (max-width: 992px) {
	.container-cabinet {
		grid-template-columns: repeat(2, 1fr);
	}
	.titre-menu--gestion {
		margin-top: 3rem;
	}
}

@media (min-width: 768px) and (max-width: 992px) {
	.block-cc-container {
		grid-template-columns: repeat(2, 1fr);
	}
	#main_carousel_text_presentation {
		bottom: 10px;
	}
	.img-cabinet-container {
		margin-top: 4rem;
		margin-bottom: 0;
	}
	.img-cabinet-container img {
		min-width: 600px;
		max-width: 550px;
	}
	.panel-alta {
		height: 430px;
		width: 100%;
	}
	#section_notre_cabinet_alta {
		flex-direction: column;
	}
	.image-carousel-container img {
		max-width: 250px;
	}
}

@media (max-width: 768px) {
	#section_notre_cabinet_alta {
		flex-direction: column;
	}
	.img-cabinet-container {
		margin-bottom: 0;
	}
	.block-cc-container {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media (min-width: 550px) and (max-width: 768px) {
	#main_carousel_text_presentation {
		top: 0px;
	}
	
	#main_carousel_text_presentation p {
		font-size: 1.8rem;
	}

	.carousel-logo-mobile img {
		width: 200px !important;
	}
	
}

@media (max-width: 576px) {
	.container-cabinet {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media (min-width: 550px) {
	.contact-info-carousel {
		display: none;
	}
}
@media (max-width: 550px) {
	.container-cabinet {
		grid-template-columns: repeat(1, 1fr);
	}
	.container-cabinet-main {
		padding: 15px;
	}
	.panel-alta {
		width: 100%;
		height: auto;
		padding: 15px;
		margin-left: 0;
	}
	#main_carousel_text_presentation {
        top: 25px;
        padding: 15px;
    }
	#main_carousel_text_presentation h2 {
		font-size: 4rem;
		text-align: center;
	}
	#main_carousel_text_presentation p {
		font-size: 1.8rem;
		color: white;
	}
	.btn-carousel {
		padding: 0.8rem 1.5rem;
	}
	.beautiful-paragraph--gestion {
		margin: 0;
	}
	#section_gestion_bloc_right {
		margin-left: 0;
	}
	.hidden-text-presentation {
		display: none;
	}
	.img-cabinet-container {
		margin-top: 0;
	}
	.contact-info-carousel {
        font-size: 16px;
    }
	.contact-info-carousel-text {
		color: white;
	}
    .contact-info-carousel-text i {
        margin-right: 8px;
    }
	.contact-info-carousel-text a {
        color: white;
    }
	.btn-carousel-container {
		flex-direction: column;
		align-items: center;
		margin-top: 2rem;
	}
	.btn-carousel-container a {
		width: 300px;
	}
	.panel-alta-text-carousel {
		margin-bottom: 3rem;
	}
	.btn-carousel--two {
		border: none;
		background-color: #814594;
	}
	.image-carousel-container img {
		max-width: 250px;
	}
}

@media (max-width: 400px) {
	.btn-carousel-container a {
		width: 250px;
	}
}

@media (max-width: 300px) {
	.btn-carousel-container a {
		width: 200px;
	}
}


/*********************
 * AGORA IMMOBILIER  *
 *********************/
 
 .text-purple-ai {
	color: #814594 !important
 }
 
 .text-blue-ai {
	color: #0fb9ee !important;
 }
 
 .img-gerance img {
	max-height: 500px;
 }

.h4-subtitle {
	font-size: 2rem;
	font-weight: bold;
}

.testimonial-background-agency {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 700px;
    height: 700px;
    opacity: .15;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-image: url(../images/home_agency_background.png);
    background-size: contain;
    transform: translateY(-28px);
    transition: transform 0.6s cubic-bezier(0, 0, 0, 1);
    will-change: transform;
    pointer-events: none;
    z-index: 0;
}

/** begin carousel **/
.carousel-logo-mobile {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

.carousel-logo-mobile img {
	width: 250px;
}
/** end carousel **/
 
/** section agence **/
.agence-img-bloc {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 10px;
	width: 500px;
	margin: auto;
}

.agence-img-item {
    position: relative;
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.agence-img-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.agence-img-item:hover::after {
    opacity: 1;
}

.agence-img-item > * {
    position: relative;
    z-index: 2;
}
.agence-img-item--blue {
	background-color: #0fb9ee !important
}

.agence-img-item--violet {
	background-color: #814594 !important
}

.agence-img-item--green {
	background-color: #9dbc1a !important
}

.agence-img-item--blue,
.agence-img-item--green,
.agence-img-item--violet {
    transition: background 0.3s ease;
    cursor: pointer;
}

.agence-img-item--blue:hover,
.agence-img-item--green:hover,
.agence-img-item--violet:hover {
    background: rgba(0, 0, 0, 0.2);
    color: white;
}


/** end section agence **/

/** section copropriete **/
 .copropriete-section {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	background-color: #3d4856;
	padding: 3rem;
}

.copropriete-left {
	flex: 1;
	max-width: 40%;
	padding: 4rem;
}

.copropriete-left h4 {
	color: #daa520;
	margin-bottom: 10px;
	font-weight: normal;
}

.copropriete-left h2 {
	font-weight: bold;
	color: white;
}

.copropriete-left h3 {
	color: white;
}

.copropriete-left p {
	line-height: 1.6;
	color: #d3d3d3;
}

.copropriete-right {
	flex: 1;
	max-width: 55%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.copropriete-box {
	background-color: rgba(0, 0, 0, 0.3);
	padding: 20px;
	border: 1px solid #333;
	transition: background 0.3s ease;
}

.copropriete-box i {
	font-size: 32px;
	color: #fff;
	margin-bottom: 15px;
}

.copropriete-box h3 {
	margin: 10px 0;
	color: #0fb9ee;
	font-size: 20px;
}

.copropriete-box p {
	font-size: 15px;
	color: #ccc;
	line-height: 1.4;
}

/** end section copropriete **/

/** begin section gerance **/
.gerance-section {
	display: flex;
	align-items: center;
}

#section_gerance {
	margin-top: 10rem;
	margin-bottom: 10rem;
}
/** end seection gerance **/

/** begin section contact **/
.contact-now-container {
	display: flex;
	justify-content: center;
}
/** end section contact **/

@media (max-width: 768px) {
	.copropriete-section {
		flex-direction: column;
	}
	.copropriete-left {
		max-width: 100%;
		padding: 3rem;
	}
	.copropriete-right {
		max-width: 100%;
	}
	.gerance-section {
		flex-direction: column-reverse;
	}
	.img-gerance {
		margin-top: 3rem;
	}
	.image-carousel-container img {
		max-width: 245px;
	}
}

@media (max-width: 550px) {
	#section_transition {
		display: none;
	}
	.copropriete-right {
		grid-template-columns: repeat(1, 1fr);
		grid-template-rows: repeat(1, 1fr);
	}
	.copropriete-left {
        padding: 0;
	}
	#section_gerance {
		margin-top: 5rem;
		margin-bottom: 5rem;
	}
	.mt-xxs-3 {
		margin-top: 3rem;
	}
	.sous-titre-menu {
		font-size: 1.2em;
		text-transform: inherit;
	}
	.titre-menu {
		font-size: 2em;
		text-transform: uppercase;
	}
	.agence-img-bloc {
		width: 100%;
	}
	.agence-img-item {
		height: auto;
	}
}