.homecentre {
    box-sizing:border-box;
    width:1440px;
    max-width:1440px;
    margin-left:auto;
    margin-right:auto;
    padding-left:10px;
    padding-right:10px;
}
@media only screen and (max-width:1439px) {
    .homecentre { width:1260px; max-width:1260px; }
}
@media only screen and (max-width:1279px) {
    .homecentre { width:1000px; max-width:1000px; }
}
@media only screen and (max-width:980px) {
    .homecentre { display:block; width:100%; max-width:100%; }
}

#bandeauhaut {
    background-color:#fff;

}
#menumobile {
    background-color:transparent;
}
ul.espaceperso {
    background-color:#74CBF3;
    background-color:transparent;
}

@media only screen and (min-width:981px) {
#hautpage1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: white;
}
}



#logo {
    display:none;
}
#milieupage {
    margin-top:0;
}


#homefixed {
    position:fixed;
    box-sizing:border-box;
    top:206px;
    right:0;
    width:80px;
    height:150px;
    background:#fff;
    box-shadow:0px 3px 6px #00000029;
    border-radius:20px 0px 0px 20px;
    text-align:center;
    z-index:1000;
    padding:10px;
}
#homefixed img {
    margin-bottom:10px;
}

#homeintroslider1 {
    background-color: #fff;
    padding-bottom: 60px;
    position: relative;
	margin-top:100px;
    z-index: 1; /* plus de z-index négatif ! */
}
#homeintroslider2 {
    width: 100%;
}

.homeslidegris {
  display:inline-block;
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  z-index:10;
  background-color:#333;
  opacity:0.3;
}

.homeintro {
    position:relative;
    background-position:center center;
    background-repeat:no-repeat;
    background-size:cover;
    width:100%;
    aspect-ratio: 3 / 2; /* ratio moderne, responsive */
    min-height: 400px;
    max-height: 750px;
}


.homeintro p {
    position:absolute;
    width:45%;
    text-align:right;
    right:50px;
    bottom:50px;
    font-size:30px;
    letter-spacing:1px;
    color:#fff;
    z-index:20;
}
.homeintro em {
    font-size:15px;
    font-style:normal;
    letter-spacing:0.75px;
    text-transform:uppercase;
}


.homerecherche {
    position:relative;
    text-align:center;
    height:850px;
    margin-top:-700px;
	z-index:20;
}
@media only screen and (min-width:981px) {
#recherchehorizontalepage {
    position:absolute;
    top:460px;
    width:40%;
	z-index:21;
	left:6%
}
}
#recherchehorizontaletype, #recherchehorizontalebudget, #recherchehorizontaleplus {
    display:none;
}
#recherchehorizontaletable11, #recherchehorizontalecol2, #recherchehorizontalecol12, #recherchehorizontalerechercher {
    width:210px;
}

@media only screen and (min-width: 1921px) {
  #recherchehorizontalepage {
    position: absolute;
    top: 460px;
    width: 30%;
    z-index: 21;
    left: calc((100vw - 1800px) / 2 + 100px); /* 100px de décalage depuis le bord gauche du cadre slider */
  }
}

.colonnes2 {
    box-sizing:border-box;
    padding-left:20px;
    padding-right:20px;
}

.homesociete {
	margin-top:-80px;
    padding-left:10%;
    padding-right:10%;
    padding-bottom:90px;
}

.homesociete div.colonnes2:first-child {
    padding-right:60px;
    text-align:right;
}
.homesociete div.colonnes2 img {
    width:100%;
    border-radius:12px;
}

.homesociete h2 {
    font-family:'Josefin Sans',Arial;
    font-size:18px;
    font-weight:600;
    letter-spacing:1px;
    color:#080A09;
    margin-bottom:50px;
}
.homesociete h2 strong {
    font-size:25px;
}
.homesociete p {
    font-size:15px;
    color:#080A09;
    margin-bottom:15px;
}
.homesociete a.homebutton {
    display:inline-block;
    color:#FFFFFF;
    background-color:#08534E;
    padding:15px;
    padding-left:24px;
    padding-right:24px;
    border-radius:2px;
    font-family:'Josefin Sans',Arial;
    font-size:20px;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-top:40px;
    margin-bottom:5px;
}
.homesociete a.homebutton:hover {
    background-color:#A34932;
}


.homeselections {
    background-image:url(/upload/parametres/fond-grandplace.jpg);
    background-size:cover;
    padding-top:110px;
    padding-bottom:80px;
}
.homeselections h2 {
    text-align:center;
    font-family:'Josefin Sans',Arial;
    font-size:20px;
    font-weight:600;
    letter-spacing:1px;
    color:#fff;
}
.homeselections .homevignette {
    width:33.33%;
    float:left;
    box-sizing:border-box;
    padding:15px;
}
.homeselections .homevignette2 {
    background-color:#fff;
    color:#080A09;
    padding:14px;
    padding-top:0;
}
.homeselections .homevignette2 .homevignettetexte {
    height:120px;
    padding:10px;
    padding-top:20px;
}
.homeselections .homevignette2 a {
	font-size:15px;
    letter-spacing:1px;
    font-weight:400;
    line-height:24px;
    color:#08534E;
}
.homeselections .homevignette2 strong {
    display:inline-block;
    margin-top:15px;
    font-size:18px;
    font-weight:600;
}
.homeselections .homevignette2 a.lien {
    display:none;
}
.homeselections .homevignette2 a .intitule {
    font-weight:600;
    color:#08534E;
}
.homeselections .homevignette2 a .ville {
    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    color:#080A09;
}
.homeselections .homevignette2 .homevignetteligne3 {
    display:block;
    margin-top:-60px;
    padding-bottom:7px;
    border-bottom:1px solid #DADADA;
}
.homeselections .homevignette2 .surface {
    margin-right:10px;
}
.homeselections .homevignettephoto {
    position:relative;
    overflow:hidden;
}
.homeselections .homevignettephoto img.photo {
    width:100%;
    aspect-ratio:4/3;
}
.homeselections .homevignettephoto .nbphoto {
    display:none;
}
#homevignette4 {
    display:none;
}


#homeavis {
    background-color:#fff;
    padding-top:100px;
    padding-bottom:100px;
}
#homeavis h2 {
    text-align:center;
    font-family:'Josefin Sans',Arial;
    font-size:20px;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
    color:#080A09;
}
#homeavis .homeavis1 {
    display:block;
    box-sizing:border-box;
    background-color:#F3F5F7;
    padding:30px;
    margin:0 15px 0 15px;
}
#homeavis .homeavis1 h3 {
    color:#080A09;
    font-size:15px;
    font-weight:600;
    margin-bottom:10px;
}
#homeavis .homeavis1 p {
    color:#080A09;
    font-size:14px;
    margin-bottom:10px;
}
#homeavis .homeavis1 .homeavistexte {
    min-height:160px;
}
#homeavis .prev-left {
    position:absolute;
    left:-30px;
    top:45%;
}
#homeavis .next-right {
    position:absolute;
    right:-30px;
    top:45%;
}


#homeactualite {
    position:relative;
    margin-top:100px;
	padding-bottom:50px;
}
#homeactualite h2 {
    text-align:center;
    font-family:'Josefin Sans',Arial;
    font-size:20px;
    font-weight:600;
    letter-spacing:1px;
    color:#080A09;
}
#homeactu2, #homeactu3 {
    display:none;
}
.homeactualite1 {
    position:relative;
    background-color:#fff;
    padding:50px;
}
.homeactualite2 {
    float:left;
    width:50%;
    height:400px;
    padding-bottom:100px;
    padding-right:150px;
    box-sizing:border-box;
    color:#080A09;
}
.homeactualite2 a h3 {
    font-family:'Josefin Sans',Arial;
    font-size:15px;
    letter-spacing:0.7px;
    color:#080A09;
    line-height:20px;
    margin-bottom:20px;
    text-transform:uppercase;
}
.homeactualite2 p {
    font-size:15px;
    letter-spacing:0.7px;
    color:#080A09;
    margin-bottom:20px;
    max-height:288px;
    overflow:hidden;
}
.homeactualite2 a.homelien {
    font-weight:500;
    color:#08534E;
    text-decoration:underline;
    text-transform:uppercase;
}
.homeactualitephoto {
    float:right;
    width:50%;
    height:470px;
    object-fit:cover;
    object-position:center top;
}
#homeactualitefleche {
    position:absolute;
    left:46%;
    bottom:45px;
}

.slider-wrapper {
  width: 92%;
  max-width: 1800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.texte-cache {
  display: -webkit-box;
  -webkit-line-clamp: 6; /* Limite à 6 lignes visibles */
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}

.lire-plus {
  color: #08534E;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0.5px;
  margin-bottom:10px;
}


@media only screen and (max-width:1280px) {
    .homeintro p { width:30%; }
}
@media only screen and (max-width:980px) {
    #fondhautpage1 { position:fixed; z-index:100; }
    #homeintroslider1 {top:25px; }
    #menuhaut { top:105px; }
	#homelogo { display:none; }
    #homefixed { display:none; }

	.homeslidegris {  opacity:0.5;}


	.homesociete {margin-top:-40px;}
	.homesociete div.colonnes2 img { width:100%; }
	 div.colonnes2 { display:block; width:100%; margin-bottom:25px; }
	 .homesociete div.colonnes2:first-child {
    padding-right:10px;
    text-align:center;
	padding-left:10px;
	}

    .homeintro p { bottom:290px; width:75%; right:5%; }

    .homerecherche { margin-top:-750px; }
    #recherchehorizontalepage { margin-left:10%; width:75%;padding-top:420px; }
    #recherchehorizontaletype, #recherchehorizontalebudget, #recherchehorizontaleplus { display:initial; }
    #recherchehorizontalebudget { display:none; }
    #recherchehorizontaletable11, #recherchehorizontalecol2, #recherchehorizontalecol12, #recherchehorizontalerechercher { width:initial; }
    .labelhorizontal { text-align:left; letter-spacing:1px; }
	.labelhorizontal label {font-weight: 600;}
    .homeselections .homevignette { padding:10px; }

    #homeavis { width:90%; margin-left:auto; margin-right:auto; margin-bottom:20px; }
    #homeavis h2 { padding:0; }
    #homeavis .homeavis1 .homeavistexte { min-height:180px; }

    .homeactualite1 { float:none; padding-left:10px; padding-right:10px; }
    .homeactualite2 { width:100%; height:auto; padding-bottom:100px; padding-right:40px; }
    .homeactualite2 p { max-height:auto; }
    .homeactualitephoto { float:none; width:85%; margin-left:7.5%; }
    #homeactualitefleche { position:absolute; right:15%; bottom:10px; }
}
@media only screen and (max-width:750px) {
    #recherchehorizontalepage { margin-left:2%; width:95%; }
    .homeintro p { bottom:250px; width:90%; font-size:16px; }
    #homeavis .homeavis1 .homeavistexte { min-height:200px; }

}
@media only screen and (max-width:700px) {
    #homeavis .homeavis1 { margin:0; }
}
@media only screen and (max-width:600px) {
    #homeavis { width:99%; }
    #homeavis .homeavis1 .homeavistexte { min-height:160px; }
    #homeavis .prev-left, #homeavis .next-right { display:none !important; }
	.homesociete { padding-top:50px; padding-bottom:0; margin-bottom:20px; }


    .homeselections .homevignette { width:50%; }
}
@media only screen and (max-width:480px) {
        #recherchehorizontaletype { display:none; }
    .homeselections .homevignette { width:100%; }
}
@media only screen and (max-width:370px) {
    #homeavis .homeavis1 .homeavistexte { min-height:200px; }
}