@font-face {
    font-family: 'DMSans';
    src: url('fonts/DM_Sans/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'DMSans';
    src: url('fonts/DM_Sans/DMSans-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-style: italic;
}

@font-face {
    font-family: 'Switzer';
    src: url('fonts/Switzer_Complete/Fonts/TTF/Switzer-Variable.ttf') format('truetype');
}

.dm{
    font-family: 'DMSans';
}

#loading-spinner{
    display: flex;
}

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

.translate{
    transform: translateY(135px);
}

.bg-dark {
    background-color: #000000 !important;
}

.text-light {
    color: #ffffff !important;
}

*{
    box-sizing: border-box;
}

a,a:hover{
    color:black;
    text-decoration: none;
}

body{
    font-family: 'DMSans';
    font-size: 20px;
}

.container-sm{
    max-width: 1076px!important;
    margin: auto;
}

h1,h2,h3,h4{
    font-family: 'switzer';
}

.pt-30{
    padding-top: 16px;
}

.fs-12{
    font-size: 12px;
}

.fs-14{
    font-size: 14px;
}

.fs-16{
    font-size: 16px;
}

.fs-18{
    font-size: 18px;
}

.fs-20{
    font-size: 20px;
}

.fs-22{
    font-size: 22px;
}

.fs-24{
    font-size: 24px;
}

.fs-32{
    font-size: 32px;
}   

.fs-36{
    font-size: 36px;
}

.fs-46{
    font-size: 46px;
}

.fs-48{
    font-size: 48px;
}

.fs-66{
    font-size: 66px;
}

.fs-86{
    font-size: 86px;
}

.fw-100{
    font-weight:100;
}

.fw-200{
    font-weight:200;
}

.fw-300{
    font-weight:300;
}

.fw-400{
    font-weight:400!important;
}

.fw-500{
    font-weight:500;
}

.fw-600{
    font-weight:600;
}

.fw-700{
    font-weight:700;
}

.fw-800{
    font-weight:800;
}

.fw-900{
    font-weight:900;
}

.mw-450{
    max-width: 450px;
}

.ps-cs-2{
    padding-left: 2rem;
}

.line-height-7{
    line-height: 0.7;
}

b, strong {
    font-weight: 800;
}

.maincolor{
    color:#B5B0A1;
}

.borderGreenBottom{
    border-bottom: 1px solid #B5B0A1;
}

.mainBackground{
    background-color:#B5B0A1;
}

.pointer{
    cursor: pointer;
}

.header{
z-index: 1000;
position: absolute;
top: 0;
left: 0;
width: 100%;
}  

.header .container{
    padding-top: 32px;
    padding-bottom: 32px;
}

.container{
    padding-left: 0;
    padding-right: 0;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #B5B0A1;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1; /* Ensure the background is behind the content */
}

.header.open::before {
    opacity: 1;
}

.header.open .container,#search-modal.open .header .container{
    border-bottom: 1px solid #FFFFFF;   
}

.search-button{
    border: none;
}

.btn-alert{
    width: 60px;
    height: 60px;
    border-radius: 40px;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-alert:hover{
    background-color: #FFFFFF;
}

.btn-alert:hover svg path{
    fill: black;
}

.btn-black{
    background-color: black;
    width: fit-content;
    color: white;
    border: none;
    border-radius: 50rem;
    padding: 15px 30px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-black.tag:hover{
    background-color: black !important;
    color: white !important;
    border: none !important;
}

.btn-black:hover{
    background-color: #B5B0A1;
    color: white;
}

.btn-black.btn-white:hover{
    background-color: #FFFFFF;
    color: black;
}

.buttons-galerie{
    position: absolute;
    bottom: 15px;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.btn-galerie{
    background-color: transparent;
    color: white;
    border: 1px solid #FFFFFF;
    border-radius: 50rem;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1;
}

.btn-galerie:hover{
    background-color: #FFFFFF;
    color: black;
}

.menu-toggle,.search-toggle {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    width: 53px;
    height: 53px;
    border: 1px solid #FFFFFF;
    border-radius: 21px;
}

.bar {
    width: 15px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.menu-toggle:hover .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle:hover .bar:nth-child(1) {
    transform: rotate(45deg) translate(3.2px, 1.8px);
}

.menu-toggle:hover .bar:nth-child(3) {
    transform: rotate(-45deg) translate(3.2px, -1.8px);
}

.menu-toggle.cross .bar:nth-child(1),.menu-toggle.cross:hover .bar:nth-child(1),.search-toggle .bar:nth-child(1)  {
    transform: rotate(45deg) translate(6.5px, 6px);
}

.menu-toggle.cross .bar:nth-child(2),.search-toggle .bar:nth-child(2)  {
    opacity: 0;
}

.menu-toggle.cross .bar:nth-child(3),.menu-toggle.cross:hover .bar:nth-child(3),.search-toggle .bar:nth-child(3)  {
    transform: rotate(-45deg) translate(6.5px, -6px);
}

.main-menu,#search-modal {
    display: block;
    position: fixed;
    padding-top: 151px;
    top: 0;
    left: 0;
    width: 100%;
    height: 102vh;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: opacity 0.5s ease;
    overflow: auto;
    padding-bottom: 2rem;
}

#search-modal {
    z-index: 9999;
    overflow: hidden;
    overflow-y: auto;
    padding-bottom: 22rem;
}

.ico-Search{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ico-Search span{
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    border: 1.5px solid #FFFFFF;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ico-Search.selected span{
    background-color: #FFFFFF;
}

.ico-Search.selected span svg path{
    fill: #B5B0A1;
}

.main-menu.open,#search-modal.open {
    opacity: 1;
    visibility: visible;
}

.main-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.main-menu li {
    margin: 7.5px 0;
}

.main-menu li a:hover{
    font-weight: bold;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero .container {
    height: 100%;
}

.hero .logoD{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-buttons {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 20px;
    position: absolute;
}

.hero-button {
    display: flex;
    width: 350px;
    height: 80px;
    align-items: center;
    justify-content: center;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: black;
    border-radius: 35px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.hero-button img:nth-child(1){
    display: block;
}

.hero-button img:nth-child(2){
display: none;
}

.hero-button img,.hero-button span{
    position: relative;
    z-index: 1;
}

.hero-button:after{
    content: "";
    background-color: black;
    width: 0%;
    height: 0%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 30%;
    transition: all 0.3s ease;
    z-index: 0;
    border-radius: 50rem;
    opacity: 0.3;
}

.hero-button:hover:after{
    width: 400px;
    height: 400px;
    left: 0;
    opacity: 1;
}

.hero-button:hover{
    color: white;
}

.hero-button:hover img:nth-child(1){
    display: none;
 }

.hero-button:hover img:nth-child(2){
   display: block;
}

.hero-bottom {
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
}

.hero-bottom-left{
    display: flex;
    align-items: center;
}

.hero-bottom-left span,
.hero-bottom-right {
    display: flex;
    align-items: center;
    margin-right: 10px;
    color: white;
    gap: 10px;
}

.carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: none;
    border: none;
    opacity: 1;
}

#sliderBiens .carousel-control-prev,#sliderBiens .carousel-control-next {
    transform: translate(+50%, -50%);
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-next {
    transform: translate(50%, -50%);
}

#sliderBiens .carousel-control-next {
    transform: translate(-50%, -50%);
}

.arrow-container {
    display: flex;
    align-items: center;
    width: 52px;
    height: 52px;
    background-color: #B5B0A1;
    border-radius: 21px;
    position: relative;
}

#sliderBiens .arrow-container {
    display: flex;
    align-items: center;
    width: 52px;
    height: 52px;
    position: relative;
    background-color: transparent;
}

.arrow-bar {
    width: 30px;
    height: 1px;
    background: linear-gradient(to right, #B1ABA4, #FFFFFF);
    position: absolute;
    transition: width 0.3s ease;
}

.arrow-container:hover .arrow-bar {
    width: 40px; /* Nouvelle largeur au survol */
}

.arrow-head {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.3s ease; /* Ajoutez une transition pour le déplacement */
}

.arrow-container:hover .arrow-head {
    right: 10px; /* Nouvelle position au survol */
}

.arrow-head::before,
.arrow-head::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 1px;
    background-color: white;
}

.arrow-head::before {
    transform: rotate(45deg);
    top: -3px;
    right: 0;
}

.arrow-head::after {
    transform: rotate(-45deg);
    bottom: -3px;
    right: 0;
}

.carousel-control-prev .arrow-container, .carousel-control-next .arrow-container{
    width: 52px;
    height: 52px;
}

.carousel-control-prev .arrow-container{
    transform:rotate(180deg) ;
}

.backImg{
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

#about{
    max-width: 1076px;
}

#about .btn-black{
    padding: 15px 46px;
}

#about .btn-black:hover{
    background-color: #ffffff;
    color: #000000;
}

#about img{
    width: 100%;
}

#about svg path{
    fill: #000000;
}

#about svg rect{
    stroke: #000000;
}

#partner{
    background-color: #ffffff;
}

#carouselPartner{
    overflow: hidden;
}

.partner-logo{
    padding-left: 1rem;
    padding-right: 1rem;
}

.partner-logo svg{
    max-width: 100%;
    height: auto;
}

.carousel-partner-btn{
    transform: translate(-50%, -50%)!important;
}

.carousel-partner-btn.carousel-control-next{
    transform: translate(50%, -50%)!important;
}

#contact .btn-black{
    background-color: #FFFFFF;
    color: #000000;
}

#contact .btn-black:hover{
    background-color: #B5B0A1;
    color: #000000;
}

#contact-map{
    width:100%;
    height:400px;
}

.vertical-bar{
    width: 1px;
    height: 100%;
    background-color: #B5B0A1;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.border-bottom{
    border-bottom: 1px solid #FFFFFF!important;
}

footer h5{
    line-height: 1;
}

footer .bars{
    height:14px;
}

footer .bar{
    width:16px;
    height:1px;
    background-color: #FFFFFF;
}

.social-black svg path{
    fill: #000000;
}

.social-black svg rect{
    stroke: #000000;
}

.grid {
    display: flex;
    flex-wrap: wrap;  
    justify-content: center;
}

.grid-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 324px;
    width: 324px;
    position: relative;
    overflow: hidden;
    border: 1px solid #B5B0A1;
    background-color: #FFFFFF;
}

.grid-item img {
    max-width: 100%;
    height: auto;
}

.grid-item p {
    position: absolute;
    text-align: center;
    bottom: 0;
    font-size: 16px;
    color: #B5B0A1;
    width: 100%;
}

#referencement{
    border-bottom: 1px solid #FFFFFF;
}

@media (max-height: 610px) {
    .no-scroll {
        overflow: hidden;
    }
}

@media (max-width: 992px) {

    .container{
        padding-right: var(--bs-gutter-x, .75rem);
    padding-left: var(--bs-gutter-x, .75rem);
    }
    
    
    .btn-menu{
        flex-direction: column-reverse;
        justify-content: center;
    }

    .btn-menu span{
        margin-right: 0!important;
        width: 70px!important;
        text-align: center!important;
    }

    .menu-toggle:hover .bar:nth-child(1),
    .menu-toggle:hover .bar:nth-child(3),
    .menu-toggle.cross .bar:nth-child(1),
    .menu-toggle.cross .bar:nth-child(3) {
        transform: none;
    }

    .menu-toggle:hover .bar:nth-child(2) {
        opacity: 1;
    }

    .menu-toggle.cross .bar:nth-child(2) {
        opacity: 0;
    } 

    .hero .logoD{
        width: 90%;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-bottom{
        padding: 0 1rem;
    }

    .hero-bottom,.hero-bottom-left{
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    .hero-bottom-left{
        margin-bottom: 1rem;
    }

    .line-height-7 {
        line-height: 1;
    }

    .fs-32 {
        font-size: 24px;
    }

    .fs-36 {
        font-size: 25px;
    }

    .fs-46 {
        font-size: 26px;
    }

    .fs-48 {
        font-size: 28px;
    }

    .fs-86 {
        font-size: 45px;
    }

    .fs-66 {
        font-size: 35px;
    }  

    #partner,#exclus{  
        width: 85%; 
    }

    #about .p-5,#exclus.p-5{
        padding: 1rem!important;
    }

    #biens h1{
        margin: 1rem!important;
    }

    #biens .justify-content-between{
        justify-content: center!important;
    }

    #referencement .align-items-center{
        justify-content: center!important;
    }

    #alerte .container-sm .me-2,#alerte .container-sm .ms-2{
        margin-right: 0!important;
        margin-left: 0!important;
        width: 100%;
    }
    #alerte .container-sm{
        padding: 0!important;
    }    

    .p-5{
        padding: 1rem!important;
    }

    .px-5 {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }

    .vertical-bar{
        display: none;
    }

    footer ul.list-unstyled{
        padding-left: 2rem;
    }

    footer .border-bottom div:nth-child(3) ul.list-unstyled{
        padding-left: 0;
    }

    footer .border-bottom div:nth-child(3).align-items-end{
        align-items: center!important;
    }
}
