.homecentre { position: relative; width: 1520px; max-width: 1520px; margin-left: auto; margin-right: auto; }

@media only screen and (max-width:1519px) {
    .homecentre { width: 1280px; max-width: 1280px; }
}
@media only screen and (max-width:1279px) {
    .homecentre { width: 1000px; max-width: 1000px; }
}
@media only screen and (max-width:999px) {
    .homecentre { width: 970px; max-width: 970px; }
}
@media only screen and (max-width:980px) {
    .homecentre { display: block; width: 100%; max-width: 100%; }
}


html {
    scroll-behavior: smooth;
}
h1 {
    color: #FFFFFF;
    margin-top: 60px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 36px;
    font-weight: 500;
    line-height: 40px;
    text-shadow: 1px 1px 2px #000;
}
h2 {
    color: #2B2B2B;
    position: relative;
    margin-bottom: 60px;
    text-align: left;
    font-size: 40px;
    line-height: 46px;
}
h2::before {
    content: '';
    display: block;
    height: 150px;
    margin-top: -150px;
    visibility: hidden;
}
h2::after {
    content: '';
    background: #3AB136;
    position: absolute;
    width: 200px;
    height: 5px;
    left: 0;
    bottom: -20px;
}
p {
    color: #555555;
    margin-bottom: 30px;
    font-size: 18px;
}
a.homelien {
    color: #3AB136;
}
a.homelien:hover {
    text-decoration: underline;
}
a.homebouton {
    background-color: #3AB136;
    color: #FFFFFF;
    display: inline-block;
    min-width: 320px;
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 21px;
    font-weight: 500;
    border: 2px solid #3AB136;
    border-radius: 10px;
}
a.homebouton:hover {
    background-color: #024030;
    border: 2px solid #024030;
}


#fondhautpage1 {
    display: none;
}
#bandeauhaut {
    background-color: transparent;
    box-shadow: none;
}
#bandeauhaut.scroll {
    background-color: #FFFFFF;
    box-shadow: 0 10px 10px -13px #999;
}
#logo {
    visibility: hidden;
}
ul.menuhaut li a {
    color: #FFFFFF;
}


#homeintro {
    height: 1080px;
    text-align: center;
}
#homeintro .homecentre {
    box-sizing: border-box;
    margin-top: -920px;
    padding-left: 15px;
    padding-right: 15px;
}
#homeintro #logoslider {
    width: 660px;
}
#homeintro span {
    color: #FFFFFF;
    font-size: 26px;
    font-weight: 500;
    line-height: 30px;
    text-shadow: 1px 1px 2px #000;
}
#homeintro #homeintrobouton {
    margin-top: 50px;
}


#homeintroslider {
    height: 1080px;
}
.homeslider {
    height: 1080px;
    background-position: center top;
    background-size: cover;
}
#homeslider1 {
    background-image: url(/upload/parametres/1-slide-vivez-ou-investissez-a-gap.jpg);
}


#homeopportunites {
    margin-top: 80px;
    padding-left: 15px;
    padding-right: 15px;
}
#homeopportunites .homevignette {
    box-sizing: border-box;
    padding: 25px;
}
#homeopportunites .homevignette2 {
    position: relative; 
    width: 100%;
    height: 450px;
    overflow: hidden; 
}
#homeopportunites .homevignette2::before {
    content:'';
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    transition:opacity 0.5s ease;
}
#homeopportunites .homevignette2:hover::before {
    opacity: 0;
}
#homeopportunites .homevignettephoto {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
#homeopportunites .homevignettephoto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
#homeopportunites .homevignettetexte {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
#homeopportunites .homevignetteligne1 {
    color:#FFF;
    position: absolute;
    left: 30px;
    top: 30px;
    width: 85%;
    z-index: 1;
}
#homeopportunites .homevignette2 a .intitule {
    font-size: 30px;
    font-weight: bold;
}
#homeopportunites .homevignette2 a .description {
    display: block;
    margin-top: 10px;
    font-size: 18px;
}
#homeopportunites .homevignette2 .homevignettetexte .lien, #homeopportunites .homevignette2 .homevignettetexte .lien2 {
    color: #FFF;
    display: flex;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 70px;
    bottom: 0;
    padding-left: 30px;
    font-size: 20px;
    font-weight: bold;
    z-index: 1;
}
#homeopportunites .homevignette2 .homevignettetexte .lien::before, #homeopportunites .homevignette2 .homevignettetexte .lien2::before {
    content: '';
    background-color: #1C1C1E;
    position: absolute;
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: height 0.2s ease-in-out;
}
#homeopportunites .homevignette2:hover .homevignettetexte .lien::before, #homeopportunites .homevignette2:hover .homevignettetexte .lien2::before {
    height: 100%;
}
#homeopportunites .homevignette2 .homevignettetexte .lien img, #homeopportunites .homevignette2 .homevignettetexte .lien2 img {
    display: inline-block;
    margin-left: 10px;
}
#homeopportunites .homevignetteligne2, #homeopportunites .homevignetteligne3, #homeopportunites .nbphoto, #homeopportunites .photomoins, #homeopportunites .photoplus {
    display: none;
}
#homeopportunites .prev-left, #homeopportunites .next-right {
    position: absolute;
    width: 12px;
    top: 50%;
    cursor: pointer;
}
#homeopportunites .prev-left {
    left: 0px;
}
#homeopportunites .next-right {
    right: 0px;
}
#homeopportunites #homeencartsprogrammes { margin-bottom: 40px; }


#homeinvestissement {
    background-color: #ECECEC;
    margin-top: 120px;
    padding: 130px 15px 130px 15px;
}
#homeinvestissement h2 { 
    margin-bottom: 90px;
    text-align: center;
}
#homeinvestissement h2:after {
    left: 50%;
    transform: translateX(-50%);
}
#homeinvestissement #colonne1 {
    box-sizing: border-box;
    padding-left: 110px;
    padding-right: 30px;
}
#homeinvestissement #colonne2 {
    box-sizing: border-box;
    padding-left: 30px;
    padding-right: 110px;
}


#homenature {
    background-image: url(/upload/parametres/home-nature.jpg);
    background-size: cover;
    background-position: center;
    color: #FFF;
    position: relative;
    padding: 85px 30px 80px 30px;
    text-align: center;
}
#homenature::before {
    content: '';
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    transition: opacity 0.5s ease;
}
#homenature h3 {
    position: relative;
    font-size: 40px;
    line-height: 46px;
    z-index: 2;
}


#homecontact {
    margin-top: 130px;
    padding-left: 15px;
    padding-right: 15px;
}
#homecontact #colonne1 {
    box-sizing: border-box;
    padding-right: 130px;
}
#homecontact #colonne2 {
    text-align: center;
}
#homecontact #colonne2 img {
    width: 100%;
    max-width: 530px;
}
#homecontact #colonne2 span {
    display: inline-block;
    color: #2B2B2B;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
}
#homecontact #colonne2 #tel {
    color: #3AB136;
    font-size: 30px;
    font-weight: bold;
}
#homecontact #colonne2 #tel:hover {
    color: #024030;
}
#homecontact #colonne2 #formhome {
    margin-top: 30px;
}
#homecontact #colonne2 #formhome .formulaire {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}
#homecontact #colonne2 #formhome .formulaire div.col {
    padding: 10px;
}
#homecontact #colonne2 #formhome .formulaire textarea {
    min-height: 130px;
}
#homecontact #colonne2 #formhome .formulaire label[for^="CheckboxConsentement"] {
    color: #2D383F;
    font-size: 16px;
}
#homecontact #colonne2 #formhome .formulaire input[type="submit"]:hover {
    background-color: #024030;
    border: 2px solid #024030;
}

@media only screen and (max-width:1279px) {
	#homeintro span {font-size: 22px; line-height: 26px;}
	h1 {font-size: 32px;line-height: 36px;}
}

@media only screen and (max-width:980px) {
    h1 { margin-top: 60px; font-size: 30px; line-height: 36px; }

    #homeintro, #homeintroslider, .homeslider { height: 900px; }
    #homeintro .homecentre { margin-top: -780px; }
    #homeintro #logoslider { width: 500px; }
    #homeintro span { font-size: 20px; line-height: 26px; }
    #homeintro #homeintrobouton { margin-top: 40px; }
    #homeintro .homebouton { min-width: 270px; margin: 10px; }

    #homeopportunites { margin-top: 60px; }

    #homeinvestissement { margin-top: 40px; padding: 60px 15px 60px 15px; }
    #homeinvestissement #colonne1 { padding-left: 60px; }
    #homeinvestissement #colonne2 { padding-right: 60px; }

    #homenature h3 { font-size: 36px; line-height: 40px; }



    #homecontact { margin-top: 60px; }
    #homecontact #colonne1 { padding-right: 80px; }
}

@media only screen and (max-width:680px) { 
    #homecontact .colonnes2 { width: 100%; }
    #homecontact #colonne1 { padding-right: 0; }
}

@media only screen and (max-width:600px) {
    h1 { margin-top: 30px; font-size: 26px; line-height: 30px; }

    #homeintro #logoslider { width: 400px; }
    #homeintro .homebouton { font-size: 18px; }

    #homeinvestissement #colonne1 { padding-left: 0; }
    #homeinvestissement #colonne2 { padding-right: 0; }
}

@media only screen and (max-width:480px) {
    #homeintro #logoslider { width: 80%; }
    #homeintro #homeintrobouton { margin-top: 30px; }

    #homeinvestissement #colonne1 { padding-right: 0; }
    #homeinvestissement #colonne2 { padding-left: 0; }
}