@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/* GENERAL */
html, body{
    width:100%;
    margin:0px;
    font-family: "Roboto", sans-serif;
    font-size:1rem;
    font-weight:300;
    line-height:1.5;
    color:#333333;
    background-color: #004544;
}

.badwidth{
    display:none;
}

h1{
    font-size:2.5rem;
    font-weight:500;
    line-height:1.25;
    margin:0 0 2rem 0;
    color:#004544;
}
h1::after{
    content:"";
    margin-top:1.5rem;
    width:10rem;
    display:block;
    border-top:5px solid #aad038;
}
h2{
    font-size:2rem;
    font-weight:500;
    line-height:1.25;
    margin:0 0 2rem 0;
    color:#004544;
}
h2.center{
    text-align:center;
    margin:0 auto 2rem auto;
}
h2::after{
    content:"";
    width:10rem;
    display:block;
    margin:1.5rem auto 0 0;
    border-top:5px solid #aad038;
}
h2.center::after{
    margin:1.5rem auto 0 auto;
}
h1+h2{
    font-size:1.5rem;
    color:#333333;
}
h1+h2::after{
    border:none;
}

h3{
    margin-top:2rem;
    margin-bottom:1rem;
    font-size:1.2rem;
    font-weight:400;
    line-height:1.25;
    color:#004544;
}
h3>span{
    display:block;
    font-size:1.75rem;
    font-weight:500;
}
a{
    color:#333333;
    text-decoration:none;
}
.ctabt{
    display:inline-block;
    padding:1rem 2rem;
    position: relative;
    border-radius: 0px;
    border:2px solid #aad038;
    background-color: transparent;
    color:#333333;
    font-size:1rem;
    font-weight:400;
    text-decoration:none;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
    overflow: hidden;
    cursor: pointer;
    z-index:2;
}

.ctabt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #aad038;
    z-index: -1;
    transition: width 0.3s ease;
}
.ctabt:hover::before {
    width: 100%;
}
.ctabt span {
    position: relative;
    z-index: 1;
}

.row{
    width:100%;
    display:flex;
    color:#333333;
    background-color:#e2e2e2;
    overflow:hidden;
}
.row-inner{
    width:100%;
    max-width:1920px;
    margin:0 auto;
    padding-top:6rem;
    display:flex;
    flex-direction:column;
    position:relative;
    z-index:2;
}
.row.intro{
    min-height:800px;
    background:#dcdbdb url("/images/intro2.png") no-repeat;
    background-size:cover;
    background-position:bottom center;
}

.row.intro h1{
    max-width:800px;
    font-size:3.5rem;
}
.row.intro p{
    max-width:800px;
    font-size:1.25rem;
}
.row.intro .col70 .ctabt{
    margin-top:2rem;
}
.section{
    flex:1;
    display:flex;
    justify-content:space-between;
    margin:0 4rem 8rem 4rem;
}
.section.topbox{
    margin:0 4rem 4rem 4rem;
}

/* BIO */
.bio{
    background-color:#dcdbdb;
}
.bio .section{
    max-width:1000px;
    margin: 0 auto 6rem auto;
    align-items:center;
}
.bio-photo {
    width:200px;
    margin-right:2rem;
    padding-right:2rem;
    display:flex;
    flex-direction:column;
    align-items:center;
    border-right:5px solid #aad038;
}
.bio-photo img{
    width:200px;
    height:200px;
    border-radius:200px;
}
.bio-photo p span{
    display:block;
    font-size:1.2rem;
    font-weight:500;
}
.bio-social{
    display:flex;
    gap:0.5rem;
}
.bio-social img{
    width:30px;
    height:30px;
}
.bio-social a{
	-webkit-transition: all 0.8s;
	-moz-transition: all 0.8s;
	-o-transition: all 0.8s;
	transition: all 0.8s;
}
.bio-social a:hover{
    transform: scale(1.1);
}
.bio-text{
    flex:1;
}
.bio-text h2::after{
    display:none;
}
.bio-text a.sold-properties{
    display:flex;
    align-items:center;
    margin-bottom:1rem;
	transition: all 0.8s;
}
.bio-text a.sold-properties:after{
    content:"";
    width:1rem;
    height:1rem;
    margin-left:1rem;
    display:flex;
    background:url("/images/icons/arrow-right.svg") no-repeat;
    background-position:contain;
}
.bio-text a.sold-properties:hover{
    margin-left:1rem;
}


/* Colonnes */
.col100{
    width:100%;
}
.col70{
    flex:1;
    width:70%;
}
.col30{
    width:30%;
    margin-left:6rem;
}

/* BANNER */
.bannerbox{
    width:100%;
    height:300px;
    position:relative;
    display:flex;
    flex-direction:column;
    background: url("/images/banniere.jpg") center/cover no-repeat;
    background-color: #004544; 
}

.bannerbox .topnav{
    width:100%;
    display:flex;    
    background: linear-gradient(
        to right,
        transparent 50%,
        rgba(20, 67, 67, 0.8) 100%
    );
}
.bannerbox .topnav>div{
    width:100%;
    max-width:1920px;
    margin:0 auto;
    display:flex;
    justify-content:flex-end;
}

.bannerbox .topnav a{
    display:flex;
    align-items:center;
    font-size:0.9rem;
    font-weight:200;
    margin:0.5rem;
    color:#ffffff;
	-webkit-transition: transform 0.8s;
	-moz-transition: transform 0.8s;
	-o-transition: transform 0.8s;
	transition: transform 0.8s;
}
.bannerbox .topnav a:last-child {
    margin-right:4rem;
}

.bannerbox .topnav a:hover{
    transform: scale(1.05);
}
.bannerbox .topnav a.langselect::before,
.bannerbox .topnav a.ico-mail::before,
.bannerbox .topnav a.ico-phone::before{
    content:"";
    width:1rem;
    height:1rem;
    margin-right:0.5rem;
    display:flex;
}
.bannerbox .topnav a.langselect::before{
    background:url("/images/icons/lang.svg") no-repeat center / contain;
}
.bannerbox .topnav a.ico-mail::before{
    background:url("/images/icons/email.svg") no-repeat center / contain;
}
.bannerbox .topnav a.ico-phone::before{
    background:url("/images/icons/phone.svg") no-repeat center / contain;
}
.bannerbox .banner{
    flex:1;
    width:100%;
    height:100%;
    max-width:1920px;
    margin:0 auto;
    display:flex;
    align-items:center;
    position:relative;
}
.bannerbox .banner .logo{
    width:15rem;
    height:100%;
    display:flex;
    margin-left:4rem;
    align-items:center;
    position:relative;
    z-index:2;
}
.bannerbox .banner .logo img{
    width:100%;
}
.bannerbox .banner p{
    flex:1;
    margin-right:4rem;
    text-align:right;
    font-size:2rem;
    font-weight:200;
    color:#fff;
}

/* NAVIGATION */
.navprincipal{ 
    width:100%;
    display:flex;
}
.navprincipal::before,
.navprincipal::after{
    content:"";
    flex:1;
    min-width:4rem;
    display:flex;
}
.navprincipal::before{
    background:#aad038;
}

.navprincipal>div{
    width:100%;
    max-width:calc(1920px - 8rem);
    display:flex;
    align-items:center;
}

.navprincipal a{
    font-weight:300;  
	-webkit-transition: padding 0.8s, background-color 0.8s;
    -moz-transition: padding 0.8s, background-color 0.8s;
    -o-transition: padding 0.8s, background-color 0.8s;
    transition: padding 0.8s, background-color 0.8s;
    display:flex;
    align-items:center;
    color:#ffffff;
    line-height:1.75rem;
    padding:0.5rem 1rem;
    background-color:rgba(15, 92, 92, 0);
}


.navprincipal a.proprietesbt{
    display:none;
    font-weight:400;  
    color:#333333;
    background:#aad038;
}
.accueil .navprincipal a.proprietesbt{
    display:flex;
}

.navprincipal a.proprietesbt:hover{
    padding:0.5rem 2rem;
}
.navprincipal a.proprietesbt::after{
    content:"";
    width:1rem;
    height:1rem;
    margin-left:1rem;
    display:flex;
    background:url("/images/icons/arrow-right.svg") no-repeat;
    background-position:contain;
}

/* DROPDOWN MENU */
.dropdown {
    height:100%;
    position: relative;
    display: inline-flex;
    background-color: #aad038;
}

.dropdown-content {
    overflow:hidden;
  display: none;
    flex-direction:column;
  position: absolute;
  top: 100%;
  left: 0;
  background-color:#025454;
  min-width: 180px;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.dropdown-content a {
  display: block;
  padding: 8px 12px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.dropdown-content .auto-items a {
    padding-left:24px;
  background: #004544;
}

.dropdown-content a:hover {
  background: #2a7678;
}
.more-btn {
    width:2rem;
    height:100%;
    display: flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:0.25rem;
    border:0px;
    cursor: pointer;
    background: none;
    color: #ffffff;
    background-color: #aad038;
    font-size: 20px;
    z-index:0;
	-webkit-transition: gap 0.5s;
	-moz-transition: gap 0.5s;
	-o-transition: gap 0.5s;
	transition: gap 0.5s;
}
.more-btn span {
    width: 100%;
    height: 3px;
    display: inline-block;
    background-color: #333333;
}

.more-btn:hover {     
    gap:0.5rem;
}

/* BREADCRUMB */
.breadcrumb {
    margin-left:1rem;
    display:flex;
}   
.breadcrumb a,     
.breadcrumb strong{   
    color:#ffffff;
    line-height:1.75rem;
    padding:0.5rem 0;
    display:flex;
    align-items:center;
	-webkit-transition: transform 0.8s;
	-moz-transition: transform 0.8s;
	-o-transition: transform 0.8s;
	transition: transform 0.8s;
} 
.breadcrumb a:hover{    
    transform: scale(1.05);
} 
.breadcrumb strong{    
    font-weight:400;  
} 
.breadcrumb .separator {
    font-size:1.75rem;
    color: #aad038;
    margin: 0 0.5rem;
}


/* INTRO */
.services{
    font-size:1.25rem;
    font-weight:200;
    position:relative;
    display:grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 1fr;
    border-left:5px solid #aad038;
    -moz-box-shadow:    0 0 10px rgba(0,0,0, 0.25);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0, 0.25);
    box-shadow:         0 0 10px rgba(0,0,0, 0.25);
    color:#ffffff;
    z-index:2;
}
.services>div{
    flex:1;
    padding:2rem;
    display:flex;
    align-items:center;
}
.services>div:nth-of-type(1){
    background: #004544;
}
.services>div:nth-of-type(2){
    background: #025454;
}
.services>div:nth-of-type(3){
    background: #1a6465;
}
.services>div:nth-of-type(4){
    background: #2a7678;
}

/* Blogue */
.blog{
    background-color:#dcdbdb;
}
.blog .section{
    flex-direction:column;
}
.blog .section>div{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}
.blog .ctabt{
    margin-top:4rem;
}
.blog-grid{
    display:flex;
    align-items:flex-start;
}
.blog-grid .col30 {
    display:grid;
    grid-template-columns: repeat(1, 1fr);
    gap:2rem;
}

.col70 .blog-post .blogimg { 
    width: 100%; 
    height:500px;
    margin-bottom:2rem;
    display:flex;
    align-items: stretch;
 } 
.col70 .blog-post {
    display:flex;
    flex-direction:column;
 }
.col30 .blog-post {
    display:flex;
    align-items:flex-start;
	transition: all 0.8s;
 }
.col30 .blog-post:hover {
    transform:scale(1.025);
 }
.col30 .blog-post .blogimg { 
    width: 100px; 
    height:100px;
    margin-right:1rem;   
 } 
.col30 .blog-post .blogtext { 
    flex:1;  
 } 
.col30 .blog-post .blogtext h3 { 
    margin-top:0;
 } 
 .blog-post img { 
    width: 100%; 
    height: 100%;
    object-fit: cover;
 } 

.col70 .blog-post .blogtext a,
.col30 .blog-post .blogtext span{
    display:flex;
    align-items:center;
	transition: all 0.8s;
}
.col70 .blog-post .blogtext a:after,
.col30 .blog-post .blogtext span:after{
    content:"";
    width:1rem;
    height:1rem;
    margin-left:1rem;
    display:flex;
    background:url("/images/icons/arrow-right.svg") no-repeat;
    background-position:contain;
}
.col70 .blog-post .blogtext a:hover{
    padding-left:1rem;
}

/* CONTACT */
.contact{
    background:#aad038 url("/images/footer.jpg") no-repeat;
    background-size:cover;
    background-position:center center;
}
.contact h2{
    margin:0px;
}
.contact h2::after{
    display:none;
}

.contact .row-inner{
    padding:0;
}
.contact .section{
    padding:2rem;
    margin:4rem;
    background-color:#e2e2e2;
}


/* FORM */
.formprincipal, .formsearch{
    flex:1;
    margin:0;
    display:flex;
    flex-direction:column;
}
.formprincipal .form-row,
.formsearch .form-row{
    flex:1;
    display:flex;  
    gap: 2rem; 
}
.formprincipal .form-column,
.formsearch .form-column{
    flex:1;
    display:flex;
    flex-direction:column;
}
.formprincipal .form-column>div,
.formsearch .form-column>div{
    flex:1;
    margin:1rem 0;
    display:flex;
    flex-direction:column;
}
.formprincipal label,
.formsearch label{
    margin-bottom:0.25rem;
}
.formsearch label{
    margin-top:1rem;
}
.formprincipal input[type=text],
.formsearch input[type=text],
.formprincipal textarea{
    font-size:1rem;
    padding:0.25rem;
    border-radius:0;
    border:none;
    background-color:#dcdbdb;
}
.formprincipal input[type=text],
.formsearch input[type=text]{
    height:2rem;
}
.formprincipal textarea{
    height:100%;
}
.formsearch .formsubmit{
    margin-top:1rem;
}
.formsearch .formsubmit .ctabt{
    color:#ffffff;
}
.formsearch .formsubmit .ctabt:hover {
    color:#333333;
}

/* Custom Select */
.select-wrapper {
    height: 2rem;
    padding:0.25rem;
    background-color: #dcdbdb;
    display: flex;
    align-items: center;
    position: relative;
    transition: background 0.3s;
}

.select-wrapper:hover {
    background-color: #c0c0c0;
}

.select-wrapper select {
    flex: 1;
    border: none;
    background: transparent;
    height: 100%;
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0 1.5rem 0 0.5rem;
    color: #333333;
    transition: color 0.3s;
}

.select-wrapper select:focus {
    outline: none;
    color: #000;
}

/* Flèche custom */
.select-wrapper::after {
    content: '';
    position: absolute;
    right: 0.5rem;
    width: 0.6rem;
    height: 0.6rem;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    pointer-events: none;
    transition: border-color 0.3s;
}

.select-wrapper:hover::after {
    border-color: #000;
}


/* FORM MESSAGE */
.formprincipal p.message,
.formsearch p.message{
    margin:2rem 0;
}
.formprincipal p.message.error,
.formsearch p.message.error{    
    color:#144343;
    font-weight:bold;
}
.formsearch p.message.error{    
    color:#ffffff;
}
.formprincipal .error-text,
.formsearch .error-text{
    padding:0.25rem;
    color:#333333;
    background-color:#aad038;
}

/* INDEX PROPRIETES */
.cards{
    width:100%;
    display:flex;
    flex-direction:column;
}
.cards .ctabt{
    margin:0 auto;
}
.cardsbox{
    display:flex;
    flex-wrap:wrap;
    gap: 4rem;
}
.cardsbox>a{
    width:calc((100% - 8rem) / 3);
    min-height: 400px; 
    margin:0 0 4rem 0;
    display:flex;
    flex-direction:column;
    justify-content: space-between;   
	-webkit-transition: all 0.8s;
	-moz-transition: all 0.8s;
	-o-transition: all 0.8s;
	transition: all 0.8s;
}
.cardsbox>a:hover{
    transform: scale(1.025);
}
.cardsbox>a>.cardimg{
    width:100%;
    height:20rem;
    display:flex;
    flex-direction:column;
    position:relative;
}
.cardsbox>a>.cardimg>span{
    margin-right:auto;
    margin-bottom:0.5rem;
    padding:0.5rem 1rem;
    color:#ffffff;
    background-color:#144343;
    position:relative;
    z-index:1;
}
.cardsbox>a>.cardimg>img{
    width:100%;
    height:100%;
    object-fit:cover;
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:0;
}
.cardsbox>a>.cardimg.sold>img{

    filter: grayscale(1) brightness(0.8);
    opacity: 0.5;

}
.cardsbox>a>p{
    flex:1;
    margin:0 0 1rem 0;
}
.cardsbox>a>span{
    display:flex;
    align-items:center;
}
.cardsbox>a>span:after{
    content:"";
    width:1rem;
    height:1rem;
    margin-left:1rem;
    display:flex;
    background:url("/images/icons/arrow-right.svg") no-repeat;
    background-position:contain;

}

.accueil .cardsbox>a:last-of-type{
    display:none;
}

.soldlabel {
    font-weight:400 !important;
    color:#333333 !important;
    background-color:#aad038 !important;
}

/* FILTRES */
.filtres form{
    display:flex;
    flex-wrap:wrap;
}
.filtres form>div{

    display:flex;
    margin-right:2rem;
    margin-bottom:1rem;
}
.filtres form>div:last-of-type{
    margin-right:0;
}
.filtres form select {
    appearance: none;           
    -webkit-appearance: none;
    -moz-appearance: none;
  
    flex:1;
    max-width:100%;
    background:transparent;
    border: 2px solid #144343;
    border-radius: 0px;
    padding: 10px 40px 10px 12px; 
    font-size: 0.75rem;
    color: #333333;
    cursor: pointer;
  
    background-image: url('/images/icons/arrow-down.svg');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
  }
  
  .filtres form select:focus {
    outline: none;
    border-color: #144343;
  }


/* PAGINATION */
.pagination {
    justify-content:center;
    align-items: center;
}

.pagination a,
.pagination strong{
    display: flex;
    justify-content: center;
    color: #333333;
    text-decoration: none;
}
.pagination .pagenumber{
    display:flex;
    justify-content:center;
}
.pagination .pagenumber a,
.pagination .pagenumber strong {
    width:2rem;
    margin:0 0.5rem;
    position:relative;
    z-index:2;
}
.pagination .pagenumber a::before,
.pagination .pagenumber strong::before {
    content:"";
    width:100%;
    padding-top:100%;
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    border: 2px solid #aad038;

    z-index:-1;


	-webkit-transition: all 0.8s;
	-moz-transition: all 0.8s;
	-o-transition: all 0.8s;
	transition: all 0.8s;
}


.pagination .pagenumber a:hover::before {
    background: #aad038;
}

.pagenumber strong::before {
    font-weight: bold;
    background: #aad038;
}

.pagination .precedent,
.pagination .suivant { 
    width:150px;
    padding: 2rem 0.5rem;
    display: flex;
    align-items: center;
    position:relative;
}

.pagination .suivant::after{
    right:0;
    background-image: url('/images/icons/arrow-right.svg');
}
.pagination .precedent::before{
    left:0;
    background-image: url('/images/icons/arrow-left.svg');
}
.pagination .suivant::after,
.pagination .precedent::before{
    content:"";
    width:1.5rem;
    height:100%;
    display:flex;
    position:absolute;
    top:0;
    bottom:0;
    background-size:1.5rem 1.5rem;
    background-repeat:no-repeat;
    background-position:center center;

	-webkit-transition: all 0.8s;
	-moz-transition: all 0.8s;
	-o-transition: all 0.8s;
	transition: all 0.8s;
}
.pagination .suivant:hover::after{
    right:-1rem;
}
.pagination .precedent:hover::before{
    left:-1rem;
}

/* FEATURED */
.section.featured.vedette{
    margin-bottom:4rem;
}
.section.featured.recent{
    margin-top:4rem;
}
.section.featured>div{
    display:flex;
    flex-direction:column;
}
.section.featured.vedette>div{
    padding:2rem;
    background-color:#dcdbdb;
}
.section.featured.vedette>div h2{
    margin:0 0 1rem 0;
    font-size:1rem;
}
.section.featured.vedette>div h2::after{
    display:none;
}
.section.featured>div .items{
    width:100%;
    height:150px;
    display:flex;
    gap:1rem;
}
.section.featured>div .items a{
    flex:1;
    max-width:350px;
    position:relative; 
    color:#fff;
	-webkit-transition: all 0.8s;
	-moz-transition: all 0.8s;
	-o-transition: all 0.8s;
	transition: all 0.8s;
}
.section.featured>div .items a:hover{
    transform: scale(1.025);
}
.section.featured>div .items a p{
    display:flex;
    flex-direction:column;
    padding:0.5rem;
    margin:0;
    font-size:0.75rem;
    font-weight:400;
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    z-index:1;
    background-color:rgba(20, 67, 67, 0.9);
}
.section.featured>div .items a p span{
    font-size:1rem;
}
.section.featured>div .items a img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* ALT links */
.altlink>div{
    width:100%;
}
.altlink>div>div{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap:1rem;
}
.altlink a{
    padding:0.5rem;
    display:flex;  
    align-items:center; 
    text-decoration:none;
    background-color:#dcdbdb;
    cursor: pointer;
	-webkit-transition: all 0.8s;
	-moz-transition: all 0.8s;
	-o-transition: all 0.8s;
	transition: all 0.8s;    
}
.altlink a:hover {
    background-color: #aad038;
}


/* DETAILS */
.detail-propriete .col30 .ctabt{
    margin-top:2rem;
}
.detail-propriete .col30 h3{
    margin-top:0;
    font-size:1.75rem;
    font-weight:400;
}
.detail-propriete .col30 .desc{
    font-size:1.25rem;
}
.detail-propriete .col30 hr{
    border:none;
    border-bottom:1px solid #dcdbdb;
}


.share-box{
    display:flex;
    align-items:center;
    gap:0.5rem;
}
.share-box a{
    width:1.5rem;
    height:1.5rem;
    display:flex;
	-webkit-transition: all 0.8s;
	-moz-transition: all 0.8s;
	-o-transition: all 0.8s;
	transition: all 0.8s;
}
.share-box a img{
    width:100%;
    height:auto;
}
.share-box a:hover{
    transform: scale(1.1);
}

.pdf_box{
    display:flex;
    gap:1rem;
    margin:0;
}
.pdf_link{
    flex:1;
    max-width:calc(50% - 1.5rem);
    padding:1rem 0.5rem;
    display:flex;
    align-items:center;
    text-align:center;
    color:#ffffff;
	-webkit-transition: all 0.8s;
	-moz-transition: all 0.8s;
	-o-transition: all 0.8s;
	transition: all 0.8s;
    background-color: #004544;
}
.pdf_link:hover{
    transform: scale(1.05);
}
.pdf_link img{
    width:40px;
    height:40px;
    margin-right:10px;
}

/*  SEARCH  */

.search .col30{
    font-size:1rem;
    font-weight:200;
    display:flex;
    border-left:5px solid #aad038;
    -moz-box-shadow:    0 0 10px rgba(0,0,0, 0.25);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0, 0.25);
    box-shadow:         0 0 10px rgba(0,0,0, 0.25);
    color:#ffffff;
    z-index:2;
}
.search .col30>div{
    flex:1;
    padding:2rem;
    display:flex;
    flex-direction:column;
    background: #004544;
}
.search .col30>div h3{
    margin-top:0;
    color:#ffffff;
}

.search .col30>div p{
    margin:0;
}




.search-grid>div>div{
    width:100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap:1rem;
    align-items: stretch;
    grid-auto-rows: 80px;
}
.search-grid a{
    padding:0.5rem;
    display:flex;  
    align-items:center; 
    justify-content: center; 
    text-decoration:none;
    background-color:#dcdbdb;
    cursor: pointer;
	-webkit-transition: all 0.8s;
	-moz-transition: all 0.8s;
	-o-transition: all 0.8s;
	transition: all 0.8s;    
}
.search-grid a:hover {
    background-color: #aad038;
}


/* Carte interactive */
.carte-interactive{
    flex:1;
    display:flex;
    margin:0 0 8rem 0;
    background-color:#c4c6c7;

}
.carte-interactive svg{
    flex:1;
    position: relative;
}
.carte-interactive svg a{
  cursor: pointer;
  stroke: #004544;
        stroke-miterlimit: 10;
        stroke-width: 2px;
  transition: fill 0.3s;
        fill: #dcdbdb;
}

.carte-interactive svg a:hover {
    fill: #abd037;
}
.carte-interactive .hover-label{
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: white;
    padding: 0.5rem 1rem;
    border: 1px solid #004544;
    border-radius: 4px;
    font-weight: 500;
    color: #004544;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.carte-interactive svg a:hover .hover-label{
    opacity: 1;
}


/* Gallery */
.gallery {
    max-width: 100%;
}

.main-photo-container {
    width: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding-bottom: 56.25%;
    background-color:#c4c6c7;
}

.main-photo-container span {
    margin:0;
    margin-right: auto;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    color: #fff;
    background-color: #144343;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}


.main-photo-container img.main-photo {
    position: absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;    
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Thumbnails */
.thumb-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    position:relative;
}

.thumbnails {
    display: flex;
    padding: 1rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1rem;
    flex: 1;
    touch-action: pan-x;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;

    position: relative;
    z-index: 2;
}
.thumbnails::-webkit-scrollbar {
    display: none;
}

.thumbnails > div {
    flex: 0 0 auto;
    max-width: calc((100% - 3rem) / 4); /* équivalent de 4 max */
    cursor: pointer;
    border-bottom: 5px solid transparent;
    transition: border 0.3s, transform 0.3s;
    scroll-snap-align: start;
}

.thumbnails > div.selected {
    border-color: #aad038;
    transform: scale(1.05);
}

.thumbnails > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

/* Dots */
.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index:100;
    pointer-events: none;
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.2s;
    pointer-events: auto;
}

.dots span.active {
    background: #fff;
    transform: scale(1.2);
}

/* Arrows thumbnails */
.thumb-arrow {
    padding:1rem;
    cursor: pointer;
    align-items:center;
    justify-content: center;
    user-select: none;
    position:absolute;
    z-index:100;
    background: rgba(20, 67, 67, 0.7);
}
.thumb-arrow.prev {
    left:10px;
}
.thumb-arrow.next {
    right:10px;
}

.thumb-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;    /* couleur de la flèche */
    border-right: 3px solid #fff;  /* couleur de la flèche */
}
.thumb-arrow.prev::before {
    transform: translate(-30%, -50%) rotate(-135deg); /* flèche gauche */
}

.thumb-arrow.next::before {
    transform: translate(-70%, -50%) rotate(45deg);  /* flèche droite */
}

/* POPUP */
.gallery-popup {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: none;
    flex-direction: column;
}

.gallery-popup.open {
    display: flex;
}

.close-popup {
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}

.popup-content {
    overflow-y: auto;
    height: 100%;
    padding: 80px 20px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.popup-content img {
    width: 100%;
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* bouton X */
.close-popup {
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    z-index: 10000;
    cursor: pointer;
}

/* contenu scrollable */
.popup-content {
    overflow-y: auto;
    height: 100%;
    padding-top: 60px;
}

/* images */
.popup-content {
    overflow-y: auto;
    height: 100%;
    padding: 80px 20px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.popup-content img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
}


/* Youtube */
  
  .youtube{
    width:100%;
    position: relative;
  }
  .youtube::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 ratio */
}
  .youtube iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.caracteristiques h2{
    margin-bottom:4rem;
}
.tabinfo {
    width:100%;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 2fr;
}

.tabinfo .label,
.tabinfo .value {
    padding:1rem;
    display:flex;
    align-items:center;
    border-bottom:1px solid #dcdbdb;
}

.tabinfo .label {
    background-color:#dcdbdb;
    border-bottom:1px solid #e2e2e2;
}


.googlemap .row-inner{
    height:500px;
}
.googlemap>iframe{
    width:100%;
    height:100%;
}



/* FOOTER */

.footerbox {
  width: 100%;
  display: flex;
  background: #2c5a5b;
}
.footer { 
    flex: 1;
    padding: 2rem 4rem;
    color: #fff;
    display: flex;
    align-items:center;
}
.footer>div {
    display:flex;
    flex-direction:column;
}

.logo-footer {  
    min-width: 200px;
    position: relative;
    background: #004544;
}
.logo-footer::before {
  content: "";
  display: block;
  padding-top: 100%; /* la hauteur suit la largeur */
}

.logo-footer img {
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;right:0;bottom:0;left:0;
}

.footer .social {
    display:flex;
    gap: 1rem;
    margin-bottom:2rem;
}
.footer .social a{
	-webkit-transition: all 0.8s;
	-moz-transition: all 0.8s;
	-o-transition: all 0.8s;
	transition: all 0.8s;
}
.footer .social a:hover{
    transform: scale(1.1);
}
.footer .social img{
    height:40px;
}

.footerbox .copyright{
    font-size:0.75rem;
    margin:0;
}

.footerbox .copyright a{
    color:#ffffff;
}


/* COOKIE */
#cookie-banner{
    display:none; position: fixed; bottom: 0; left: 0; right: 0; color:#333333; background: #f9f9f9; border-top: 1px solid #ccc; padding: 15px; text-align: center; z-index: 1000; font-size: 14px;
}
#cookie-banner>a{
    font-weight:400;
    color:#004544;
}
#cookie-banner>button{
    margin-left: 15px; padding: 6px 12px; background-color: #004544; color: white; border: none; border-radius: 4px;
}

/* Label cacher */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}




/* Under 1300px */
@media screen and (max-width: 1300px) { 
    /* Featured */
    .section.featured>div .items a:nth-child(5){
        display:none;
    }

}

/* Under 1200px */
@media screen and (max-width: 1200px) { 

    /* GENERAL */
    .section{
        margin:0 2rem 4rem 2rem;
    }
    .row.intro{
        background-size:auto;
    }
    .row-inner{
        padding-top:4rem;
    }

    /* BANNER */
    .bannerbox{
        height:300px;
    }

    .bannerbox .banner{
        z-index:3;
    }
   .bannerbox .banner .logo{
        width:15rem;
        margin-left:2rem;
   }
   .bannerbox .banner p{
        margin-right:2rem;
   }
   .bannerbox .topnav a:last-child{
        margin-right:2rem;
   }

   /* NAVIGATION */
   .navprincipal::before, .navprincipal::after{
    min-width:2rem;
   }

   /* Colonnes */
    .col30{        
        margin-left:2rem;
    }

    /* TOPBOX */
    .section.topbox{
        margin:0 2rem 4rem 2rem;
    }

    /* Featured */
    .section.featured.vedette>div{
        padding:1rem;
    }
    /* CARDS */
    .cardsbox>a{
        width:calc((100% - 4rem) / 3);
    }
    .cardsbox{
        gap: 2rem;
    }
    /* Contact */
    .contact .section{
        margin:4rem;
    }

    
    /* Accueil */
    .row.intro h1{
        font-size:3rem;
    }
    .row.intro p{
        font-size:1.25rem;
    }

    /* Bio */
    .bio .section{
        max-width:inherit;
        margin:0 2rem 4rem 2rem;
    }

    /* DETAILS */
    .detail-propriete .col30 .desc{
        font-size:1.25rem;
    }
    /* ALT links */
    .altlink>div>div{
        grid-template-columns: repeat(3, 1fr);
    }


}

/* Under 900px MOBILE  */ 
@media screen and (max-width: 900px) {

    /* GENERAL */
    h2.center{
        text-align:left;
        margin:0 0 2rem 0;
    }
    h2.center::after{
        margin:1.5rem 0 0 0;
    }
    .section{
        flex-direction:column;
    }
    .row.intro{
        padding-bottom:6rem;
        background-size:150% auto;
    }
    

    /* Colonnes */
    .col70{
        width:100%;
    }
    .col30{
        width:100%;
        margin-left:0;
    }
    /* BANNER */
    .bannerbox .banner{
        width:auto;
        margin:0;
        justify-content:center;
    }
    .bannerbox .banner p{
        display:none;
    }
    .bannerbox .topnav a{
        margin:0.25rem 0.5rem;
    }


    /* SERVICES */
    .services{
        width:100%;
        margin:4rem 0;
        border-left:none;
        border-top:5px solid #aad038;
        grid-template-columns: repeat(2, 1fr);
    }

    /* Bio */
    .bio-photo{
        width:inherit;
        margin:2rem 0 4rem 0;
        padding:0;
        border-right:none;
    }
    .bio-photo p{
        text-align:center;
    }

    /* Blog */
    .blog .blog-grid{
        flex-direction:column;
    }
    .blog .col70{
        margin-bottom:4rem;
    }
    .blog-grid .col30{
        grid-template-columns: repeat(2, 1fr);

    }
    /* FORM */
    .formprincipal .form-row{
        flex-direction:column;
        gap:0;
    }
    .formprincipal .form-column{
        margin:0;
    }
    .formprincipal p.message{
        margin:2rem 0;
    }
    .formprincipal input[type=text]{
        height:2rem;
    }
    .formprincipal textarea{
        flex:auto;
        height:6rem;
    }

    /* FILTRES */
    .filtres form{
        flex-direction:column;
    }
    .filtres form>div{
        width:100%;
        margin-right:0;
        margin-bottom:1rem;
    }

    /* PAGINATION */
    .pagination{
        flex-direction:row;
        flex-wrap:wrap;
    }

    /* CARDS */
    .cardsbox>a{
        width:calc((100% - 2rem) / 2);
    }
    .accueil .cardsbox>a:last-of-type{
        display:flex;
    }
    .cardsbox>a>.cardimg{
        height:15rem;
    }
    .cards .ctabt{
        margin:0 auto 0 0;
    }

    /* Featured */
    .section.featured>div .items{
        gap:1rem;
    }
    .section.featured>div .items a:nth-child(4){
        display:none;
    }

    /* ALT links */
    .altlink>div>div{
        grid-template-columns: repeat(2, 1fr);
    }
    .altlink a:nth-of-type(n + 13) {
        display: none;
    }

    
    /* DETAILS */
    .section.topbox{
        margin:0 2rem 4rem 2rem;
    }

    /* TABLEAU */
    .tabinfo{
        grid-template-columns: 1fr 2fr;
    }

    /* FOOTER */
    .footerbox{
        flex-direction:column;
        height:auto;
    }
    .logo-footer{
        display:none;
    }
    .footer{
        padding:4rem;
    }
}


/* Under 700px  */ 
@media screen and (max-width: 700px) {

    /* Featured */
    .section.featured>div .items{
        height:inherit;
        flex-wrap:wrap;
    }
    .section.featured>div .items a{
        width:calc((100% - 1rem) / 2);
        flex:inherit;
    }
    .section.featured>div .items a:nth-child(4){
        display:flex;
    }
}

/* Under 600px MOBILE  */ 
@media screen and (max-width: 600px) {

    /* GENERAL */
    .row-inner{
        padding-top:2rem;
    }
    .section{
        flex-direction:column;
    }
    h1{
        font-size:1.75rem;
    }
    .row.intro h1{
        font-size:2.5rem;
    }
    h2{
        font-size:1.70rem;
    }
    

    /* BANNER */
    .bannerbox{
        height:auto;
    }
    .bannerbox .topnav {
        width:auto;
        padding:0rem 2rem;
    }
    .bannerbox .topnav a:last-child{
        margin-right:0;
    }
    .bannerbox .banner .logo{
        width:12rem;
        margin:2rem;
    }
    .bannerbox .topnav a.ico-mail::before, .bannerbox .topnav a.ico-phone::before{
        width:1rem;
        height:1rem;
    }


    
    /* Contact */
    .contact .section{
        margin:4rem 2rem;
    }

    /* SERVICES */
    .services{
        grid-template-columns: repeat(1, 1fr);
    }

    /* Blog */
    .blog-grid .col30{
        grid-template-columns: repeat(1, 1fr);
    }

    /* TOPBOX */
    .section.topbox{
        margin:0 2rem 2rem 2rem;
    }

    /* CARDS */
    .cardsbox>a{
        width:100%;
        margin:0 0 3rem 0;
    }

    .cardsbox>a>.cardimg{
        height:15rem;
    }

    /* ALT links */
    .altlink>div>div{
        grid-template-columns: repeat(1, 1fr);
    }
    .altlink a:nth-of-type(n + 9) {
        display: none;
    }

    /* PDF ZONE */
    .pdf_box{
        flex-direction:column;
    }
    .pdf_link{
        max-width:100%;
    }


    /* PAGINATION */
    .pagination{
        flex-direction:row;
    }

    /* TABLEAU */
    .tabinfo{
        grid-template-columns: 1fr;
    }
    .tabinfo .label{
        font-weight:400;
        padding-bottom:0;
        background-color:transparent;
    }
    .tabinfo .label, .tabinfo .value{
        padding-left:0;
        padding-right:0;
    }
    
    /* FOOTER */    
    .footer{
        padding:2rem;
    }
}


/* Under 500px ULTRA MOBILE  */ 
@media screen and (max-width: 500px) {

    /* GENERAL */
    .content{
        padding-top:3rem;
    }
    .section{
        margin:0 1rem 3rem 1rem;
    }
    .section.topbox{
        margin:0 1rem 2rem 1rem
    }

    /* BANNER */
    
    .bannerbox .banner .logo{
        margin:2rem 1rem;
    }
    

    /* NAVIGATION */
   
   
   .navprincipal::before, .navprincipal::after{
    min-width:1rem;
   }
    

    /* featured */
    .section.featured>div .items{
        max-height:inherit;
        flex-wrap:wrap;
    }
    .section.featured>div .items a{
        width:100%;
        max-width:100%;
    }
    .section.featured>div .items a:nth-child(3),
    .section.featured>div .items a:nth-child(4){
        display:none;
    }

    /* CONTACT */
   .contact .section{
        margin:3rem 1rem;
        padding:2rem 1rem;
   }


    /* FOOTER */    
    .footer{
        padding:2rem 1rem;
    }

}


/* Under 300px   */ 
@media screen and (max-width: 300px) {
    .bannerbox, main, .footerbox{
        display:none;
    }
    .badwidth{
        width:100vw;
        height:100vh;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        color:#fff;
        background: #004544;
    }
    .badwidth>div{
        width:80%;
        margin:2rem 0;
        display:flex;
        flex-direction:column;
    }
    .badwidth>div a{
        font-weight:500;
        color:#fff;
    }
    .badwidth img{
        width:80%;
    }
    .badwidth p{
        width:80%;
    }

}