@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Open+Sans');/*font-family: 'Open Sans', sans-serif;*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300');/*font-family: 'Open Sans Condensed', sans-serif;*/
/*Font bouton custom*/
@import url("https://fonts.googleapis.com/css?family=Roboto:900");



/* =========================================================
   SLIDER DU HAUT
   Images en 3:2 (720x480, 960x640, 1920x1280)
   ========================================================= */

/* --- Base : desktop / paysage --- */
.hero-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;               /* évite le saut de la barre d'adresse mobile */
    background-color: #000;
    background-size: cover;
    background-position: center 60%; /* garde l'assiette, rogne le haut sombre */
    background-repeat: no-repeat;
}

/* dégradé bas pour la lisibilité du texte blanc */
.hero-slide::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
    pointer-events: none;
}

.hero-slide .content {
    position: relative;
    z-index: 2;
    padding: 0 15px 40px;
}
.hero-slide .content p,
.hero-slide .content a,
.carousel-item p a {
    color: #fff;
    font-weight: bold;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.hero-slide .hero-scroll { margin-bottom: .75rem; }
.hero-slide .hero-infos  { margin-bottom: 0; }

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next { width: 10%; }

/* --- Images : grand écran --- */
.banner-image   { background-image: url('../charte/banner-img-1-1920.webp'); }
.banner-slider2 { background-image: url('../charte/banner-img-2-1920.webp'); }
.banner-slider3 { background-image: url('../charte/banner-img-3-1920.webp'); }

/* --- Images : tablette (version 1920 si écran Retina) --- */
@media (max-width: 960px) {
    .banner-image {
        background-image: url('../charte/banner-img-1-960.webp');
        background-image: -webkit-image-set(url('../charte/banner-img-1-960.webp') 1x, url('../charte/banner-img-1-1920.webp') 2x);
        background-image: image-set(url('../charte/banner-img-1-960.webp') 1x, url('../charte/banner-img-1-1920.webp') 2x);
    }
    .banner-slider2 {
        background-image: url('../charte/banner-img-2-960.webp');
        background-image: -webkit-image-set(url('../charte/banner-img-2-960.webp') 1x, url('../charte/banner-img-2-1920.webp') 2x);
        background-image: image-set(url('../charte/banner-img-2-960.webp') 1x, url('../charte/banner-img-2-1920.webp') 2x);
    }
    .banner-slider3 {
        background-image: url('../charte/banner-img-3-960.webp');
        background-image: -webkit-image-set(url('../charte/banner-img-3-960.webp') 1x, url('../charte/banner-img-3-1920.webp') 2x);
        background-image: image-set(url('../charte/banner-img-3-960.webp') 1x, url('../charte/banner-img-3-1920.webp') 2x);
    }
}

/* --- Images : mobile --- */
@media (max-width: 720px) {
    .banner-image {
        background-image: url('../charte/banner-img-1-720.webp');
        background-image: -webkit-image-set(url('../charte/banner-img-1-720.webp') 1x, url('../charte/banner-img-1-1920.webp') 2x);
        background-image: image-set(url('../charte/banner-img-1-720.webp') 1x, url('../charte/banner-img-1-1920.webp') 2x);
    }
    .banner-slider2 {
        background-image: url('../charte/banner-img-2-720.webp');
        background-image: -webkit-image-set(url('../charte/banner-img-2-720.webp') 1x, url('../charte/banner-img-2-1920.webp') 2x);
        background-image: image-set(url('../charte/banner-img-2-720.webp') 1x, url('../charte/banner-img-2-1920.webp') 2x);
    }
    .banner-slider3 {
        background-image: url('../charte/banner-img-3-720.webp');
        background-image: -webkit-image-set(url('../charte/banner-img-3-720.webp') 1x, url('../charte/banner-img-3-1920.webp') 2x);
        background-image: image-set(url('../charte/banner-img-3-720.webp') 1x, url('../charte/banner-img-3-1920.webp') 2x);
    }
}

/* --- Portrait (téléphones + tablettes) : le slide prend le ratio 3:2
       de l'image -> photo entière, ni rognée ni étirée --- */
@media (orientation: portrait) and (max-width: 1024px) {
    .hero-slide {
        height: auto;
        aspect-ratio: 3 / 2;
        background-position: center;
    }
    .hero-slide .content { padding-bottom: 20px; }
}

/* --- Mobile : décalage sous le header + texte compact --- */
@media (max-width: 720px) {
    .hero-slider { margin-top: 176px; }

    .hero-slide .content { padding: 0 10px 10px; }
    .hero-slide .content p { font-size: 13px; line-height: 1.3; }
    .hero-slide .hero-scroll { margin-bottom: .25rem; }
    .hero-slide .hero-scroll .fa-2x { font-size: 1.4em; }
    .hero-slide .hero-sep { display: none; }
    .hero-slide .hero-infos strong { display: block; }

    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next { width: 12%; }
}

/* --- Téléphone en paysage (écran très bas) --- */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-slide .content { padding-bottom: 10px; }
    .hero-slide .hero-scroll { display: none; }
}
/* ========== FIN SLIDER ========== */



.banner-image2 {
    background-image: url('../charte/bandeau-header.webp');
    background-size: cover
}

.heighter {
    height: 23vh !important;
}


/* HEADER */
#header { background:#fff; width: 100%; height: 300px; background-size:100%;}
#logo {text-align:left; margin-top:40px}
#slogan p {font-size:24px; font-family: 'Open Sans Condensed', sans-serif;text-align:right; margin-top:40px; font-weight: bold; color:#000; line-height: 1.2em}
#slogan p a {color:#000}
#slogan p a:hover {text-decoration: none}
#slogan .icone {text-align: right; padding:5px 0px}
#slogan .icone a {color:#fff}
#slogan .icone a:hover {text-decoration: none; color:#000}
#slogan .langue p  {text-align: right; font-size: 14px; margin-top: 10px}



@media (max-width: 992px) {
    #header { background:#fff; width: 100%; height: auto}
    #logo {text-align:center}
    #slogan p {font-size:20px;text-align:center; margin-top:10px}
    #slogan p a{}
    #slogan .icone {text-align: center; padding-top: 15px}
    #slogan .langue p  {text-align: center; font-size: 14px; margin-top: 10px}
}
/*HEADER*/



/*MENU*/
.bg-light {
    background-color: #000 !important;
}
.bg-dark {background:#000!important}


.nav a  {color:#000}
.nav a:hover  {color:#000}

.navbar-nav { margin: 0 auto}

@media (max-width:992px) {
    .navbar-nav {margin: 20px 0px;}
    .bg-light {background-color: #000 !important;}
    .navbar {background: #000;}
}

.navbar-nav.active { display: block}
.navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show > .nav-link {
    color: #000;
    background-color:  #fff;
}


.navbar-light .navbar-nav .nav-link {
    color: #fff;
    font-family: 'Open Sans Condensed', sans-serif; font-size:20px
}


.navbar-light .navbar-nav .nav-link:hover {
    color: #000;
    background-color:  #fff;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
}


.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/*Custom ouverture menu mobile*/
@media (max-width: 992px) {
    .navbar-collapse {
        position: absolute;
        top: 220px;
        left: 0;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 15px;
        width: 100%;
    }
    .navbar-collapse.collapsing {
        height: auto;
        -webkit-transition: left 0.3s ease;
        -o-transition: left 0.3s ease;
        -moz-transition: left 0.3s ease;
        transition: left 0.3s ease;
        left: -100%;
    }
    .navbar-collapse.show {
        left: 0;
        -webkit-transition: left 0.3s ease-in;
        -o-transition: left 0.3s ease-in;
        -moz-transition: left 0.3s ease-in;
        transition: left 0.3s ease-in;
        background-color:#000 ;height: 900px;
        text-align: center;
    }
}


/*MENU*/



/*INTEGRATION*/
a, a:hover {color:#000; text-decoration: none}

#section1 {background: none}
#section1 h1 {color:#333333; line-height: 1.1em}
#section1 h2, h3, h4, h5 {color:#333333; line-height: 1.4em}
#section1 p {color:#000;}

#section2 {background: none}
#section2 h1 {color:#333333; line-height: 1.4em}
#section2 h2, h3, h4, h5 {color:#333333; line-height: 1.4em}
#section2 p {color:#000;}

#section3 {background: none}
#section3 h1 {color:#333333; line-height: 1.4em}
#section3 h2, h3, h4 {color:#333333; line-height: 1.4em}
#section3 h5 {color:#333333 !important; line-height: 1.4em}
#section3 p {color:#000;}

#section4 {background: none}
#section4 h1 {color:#333333; line-height: 1.4em}
#section4 h2, h3, h4, h5 {color:#333333; line-height: 1.4em}
#section4 p {color:#000;}

#section5 {background: #0A0A0A}
#section5 h1 {color:#fff; line-height: 1.4em}
#section5 h2 {color:#fff; line-height: 1.4em}
#section5 h3, h4 {color:#0A0A0A !important; line-height: 1.4em}
#section5 h5 {color:#333333 !important; line-height: 1.4em}
#section5 p {color:#fff;}


#section-bouton {background: #000}
#section-bouton h2 {color: #fff}

#section-parallax img {padding-top:200px;}
#section-parallax h2 { color:#000; text-align: center }


@media (max-width: 1400px) {
    #section-parallax h2 {padding-top:20px}
    #section-parallax img {padding-top:40px;}
}

@media (max-width: 992px) {
    #section-parallax h2 {padding-top:20px}
    #section-parallax img {padding-top:40px;}
}

.parallax {
    /* The image used */
    background-image: url("../../../assets/theme5/charte/img-parallax.webp");
    /* Set a specific height */
    height:600px;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
@media (max-width: 1400px) {
    .parallax {
        background-attachment: scroll;
        height:450px;
    }
}

@media (max-width:960px) {
    .parallax {
        background-attachment: scroll;
        height:1000px;
    }
}





.parallax2 {
    /* The image used */
    background-image: url("../../../assets/theme5/charte/img-parallax2.webp");
    /* Set a specific height */
    height:600px;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
@media only screen and (max-device-width: 1366px) {
    .parallax2 {
        background-attachment: scroll;
        height:300px;
    }
}




/*boutons custom bootstrap*/
.btn-custom {
    color: #fff;
    background-color: #333;
    border-color: #333;
}
.btn-custom:hover, .btn-custom:focus, .btn-custom:active, .btn-custom.active, .open>.dropdown-toggle.btn-custom {
    color: #fff;
    background-color: #333;
    border-color: #333; /*set the color you want here*/
}
/*fin boutons custom bootstrap*/


/*boutons custom bootstrap*/
.button {
    flex: 1 1 auto;
    margin: 10px;
    padding: 20px;
    border: 2px solid #fff;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: 0.3s; color:#000; background:#fff
}
.button:after {
    position: absolute;
    transition: 0.3s;
    content: "";
    width: 0;
    left: 50%;
    bottom: 0;
    height: 3px;
    background: #000;
}
.button:hover:nth-of-type(1) {
    border-radius: 30px;
}
.button:hover:nth-of-type(1):after {
    width: 0%;
}
.button:hover {
    cursor: pointer;
}
.button:hover:after {
    width: 100%;
    left: 0;
}


.button2 {
    flex: 1 1 auto;
    margin: 10px;
    padding: 20px;
    border: 2px solid #000;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: 0.3s; color:#fff; background:#000
}
.button2:after {
    position: absolute;
    transition: 0.3s;
    content: "";
    width: 0;
    left: 50%;
    bottom: 0;
    height: 3px;
    background: #000;
}
.button2:hover:nth-of-type(1) {
    border-radius: 30px;
}
.button2:hover:nth-of-type(1):after {
    width: 0%;
}
.button2:hover {
    cursor: pointer;
}
.button2:hover:after {
    width: 100%;
    left: 0;
}
/*Fin Boutons*/





/*FOOTER*/
footer {
    background: #000;
    padding: 20px;
    min-height: 100px;
}
footer h2 {color: #fff; font-size:18px}
footer p {color: #fff; font-size:14px}
footer p a {color: #fff; }
footer p a:hover {color:#fff; text-decoration: none}
footer p a:visited {color:#fff; text-decoration: none}
footer hr {border-color:#fff;    margin: 0rem 0 !important;}
footer ul.list-unstyled li a {color: #fff}
footer .rubrique { color: #fff}
footer .fab {color:#fff}
/*FOOTER*/

.encart { background-color: #9e9e9e;border: 1px solid #eee; padding:20px; border-radius: 10px}



.encart {
    border: 1px solid #eee;
    padding: 20px 10px 10px
}

.encart:hover {
    border: 1px solid #000;
    padding: 20px 10px 10px;
    background: #000
}


.encart-parallax {background: white; border-radius: 15px; padding: 40px 40px; margin-top: 100px}

@media only screen and (max-device-width: 1366px) {
    .encart-parallax {margin-top: 20px}

}