/* you can add your own custom css here if you don't want to worry about SASS/SCSS */
@import url('https://fonts.googleapis.com/css2?family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');
/*@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=La+Belle+Aurore&display=swap');


:root {
    --jaune: #FCCC29;
    --jauneFonce: #f4b122;
    --rouge: #851b19;
    --bleu: #232f5d;
    --blanc: #FFFFFF;
}

/*** Ggle font ***/
.zain-extralight {
    font-family: "Zain", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.zain-light {
    font-family: "Zain", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.zain-regular {
    font-family: "Zain", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.zain-bold {
    font-family: "Zain", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.zain-extrabold {
    font-family: "Zain", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.zain-black {
    font-family: "Zain", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.zain-light-italic {
    font-family: "Zain", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.zain-regular-italic {
    font-family: "Zain", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.shadows-into-light-regular {
    font-family: "Shadows Into Light", cursive;
    font-weight: 400;
    font-style: normal;
}

.la-belle-aurore-regular {
    font-family: "La Belle Aurore", cursive;
    font-weight: 400;
    font-style: normal;
}

.dancing-script-400 {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body.site{
    background: var(--jaune);
}

.site header{
    background: var(--jaune);
}
.siteBody{
    /*background: var(--jaune);*/
}

@media screen and (min-width: 992px){
    html body.site div.siteBody .container{
        min-height: 600px;
    }
}

p{
    color: var(--bleu);
}

a{
    color: var(--bleu);
}

h1, h2{
    color: var(--bleu);
    font-family: "Zain", sans-serif;
    font-weight: 400;
    font-size: 3.5rem;
}

h3{
    color: var(--bleu);
    font-family: "Zain", sans-serif;
    font-weight: 400;
    font-size: 3rem;
}

/**** Top bar ***/

#top-bar{
    background: var(--bleu);
    color: var(--blanc);
    padding: 8px 0;
    font-size: 16px;
}

#top-bar ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

#top-bar ul li{
    display: inline-block;
    line-height: 1.5;
}
#top-bar #top1 ul li{
    margin: 0 15px 0 0;
}
#top-bar #top1 ul li span{
    margin: 0 3px;
    color: var(--blanc);
}

#top-bar ul > li:not(:last-child){
    margin-right: 10px;
}

#top-bar ul li a{
    color: var(--blanc);
    text-decoration: none;
}
header #brandBar,
header nav .container,
body.site .siteBody .container{
    background: #fff;
}

header #brandBar{
    padding-top: 5px;
    padding-bottom: 5px;
}

#brandMessage{
    padding-top: 1.5rem;
}
#brandMessage h1{
    color: var(--jauneFonce);
}

#brandMessage h2{
    font-size: 3rem;
}

@media screen and (min-width: 768px){
    #brandMessage h2{
        font-size: 2rem;
    }
}

@media screen and (min-width: 992px) {
    #brandMessage h2{
        font-size: 2.5rem;
    }
}

@media screen and (min-width: 1200px) {
    #brandMessage h2{
        font-size: 3rem;
    }
}

header nav #mainmenu ul li a{
    color : var(--bleu);
    font-size: 17px;
    line-height : 60px;
    text-transform: uppercase;
    /*font-weight: 600;*/
    padding: 0;
    margin: 0 0.5em;
    position: relative;
    transition: color 0.3s ease;
    /*background-image: linear-gradient(to left,*/
    /*var(--bleu) 50%,*/
    /*var(--jauneFonce) 50%);*/
    /*-webkit-background-clip: text;*/
    /*background-clip: text;*/
    /*transition: background-position var(--duree) var(--courbe);*/
    /*text-decoration: none;*/
}

header nav #mainmenu ul li a:hover{
    color: var(--jauneFonce);
}

header nav #mainmenu ul li.current.active a{
    /*text-decoration: underline;*/
    color: var(--jauneFonce);
}
header nav #mainmenu ul li.current.active a:hover{
    /*text-decoration: underline;*/
    color: var(--bleu);
}
/*L'effet vient d'ici : https://wpshout.com/snippets/animated-underline-on-hover-with-css/#gref*/

/*header nav #mainmenu ul li a::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    top: 0;*/
/*    bottom: 0;*/
/*    background-image: linear-gradient(90deg, var(--jaune), var(--jauneFonce));*/
/*    background-size: 0 2px;*/
/*    background-repeat: no-repeat;*/
/*    background-position: right bottom;*/
/*    transition: background-size .3s ease-in;*/
/*}*/

/*header nav #mainmenu ul li a:hover::before {*/
/*    background-size: 100% 2px;*/
/*}*/

@media screen and (min-width: 992px){
    header nav #mainmenu ul li a{
        font-size: 17px;
        /*padding: 0 0.5em;*/
    }
}

@media screen and (min-width: 1200px){
    header nav #mainmenu ul li a{
        font-size: 18px;
    }
}

@media screen and (min-width: 1400px){
    header nav #mainmenu ul li a{
        font-size: 22px;
    }
}


header nav.navbar{
    padding-top: 5px;
    padding-bottom: 5px;
}



button.navbar-toggler {
    border :  var(--bs-border-width) solid var(--bleu);
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23640000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.slide-collapse {
    transition: height 0.4s ease;
    overflow: hidden;
}


/*.evenements-liste {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 1rem;*/
/*    max-width: 700px;*/
/*    margin: 0 auto;*/
/*}*/

/*.evenement-item {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    background-color: #F8F6F0;*/
/*    border-left: 6px solid #FC831D;*/
/*    border-radius: 12px;*/
/*    padding: 1rem 1.5rem;*/
/*    box-shadow: 0 2px 8px rgba(100, 0, 0, 0.1);*/
/*    transition: transform 0.3s, background-color 0.3s;*/
/*}*/

/*.evenement-item:hover {*/
/*    background-color: #FC831D;*/
/*    transform: scale(1.02);*/
/*}*/

/*.evenement-icon {*/
/*    font-size: 1.8rem;*/
/*    color: #640000;*/
/*    margin-right: 1rem;*/
/*    min-width: 30px;*/
/*}*/

/*.evenement-item:hover .evenement-icon {*/
/*    color: #F8F6F0;*/
/*}*/

/*.evenement-date {*/
/*    color: #FC831D;*/
/*    font-weight: bold;*/
/*    margin-bottom: 0.3rem;*/
/*}*/

/*.evenement-item:hover .evenement-date {*/
/*    color: #F8F6F0;*/
/*}*/

/*.evenement-titre a {*/
/*    color: #640000;*/
/*    text-decoration: none;*/
/*    font-size: 1.1rem;*/
/*    font-weight: 600;*/
/*}*/

/*.evenement-item:hover .evenement-titre a {*/
/*    color: #F8F6F0;*/
/*}*/

/*@keyframes fadeInSlide {*/
/*    0% {*/
/*        opacity: 0;*/
/*        transform: translateY(20px);*/
/*    }*/
/*    100% {*/
/*        opacity: 1;*/
/*        transform: translateY(0);*/
/*    }*/
/*}*/

/*.evenement-item {*/
/*    !* … ton style habituel … *!*/
/*    animation: fadeInSlide 0.6s ease forwards;*/
/*    opacity: 0; !* pour ne pas voir avant animation *!*/
/*}*/

/*** Module Librel accueil ***/

/*** Lectures ***
 */
.lectureBlog-item .page-header h2,
.lecture-item .page-header h1{
    margin-bottom: 2rem;
}

.lectureBlog-item div.page-header h2,
.lecture-item.item-page div.page-header h1{
    font-size: 2rem;
}
.lectureBlog-item div.page-header h2 a{
    text-decoration: none;
}

.lectureBlog-item div.page-header h2 a:hover{
    text-decoration: underline;
}

.ficheTexte{
    margin-bottom: 2rem;
}

@media screen and (max-width: 768px){
    .ficheTexte .ficheTexteImage{
        margin-bottom: 2rem;
    }
}

@media screen and (min-width: 992px) {
    .ficheDetail {
        margin: 0 100px;
    }
}

@media screen and (min-width: 1200px) {
    .ficheDetail {
        margin: 0 200px;
    }
}

.ficheDetail .ficheDetailInformations p{
    color: var(--bleu);
    border-bottom: 1px dotted var(--jauneFonce);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.ficheDetail .ficheDetailInformations p i{
    color: var(--bleu);
}

#edito div.com-content-article.item-page,
 .librel-module {
     background-color: #FFF;
     border: 2px solid var(--jaune);
     border-left: 8px solid var(--bleu);
     border-radius: 12px;
     padding: 1.5rem;
     margin: 1.5rem 0;
     font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
     color: #640000;
 }

#edito{

}

.librel-module h3,
.librel-module strong {
    color: var(--jauneFonce);
}

.librel-module p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

#SEPForm {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
}

#SEPForm input[type="text"]{
    padding: 0.5rem;
    border: 1px solid var(--bleu);
    border-radius: 6px;
    background-color: #fff;
    color: var(--bleu);
    flex: 1 1 200px;
}

#SEPForm button {
    background-color: var(--bleu);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#SEPForm button:hover {
    background-color: #e26f15;
}


/*** Module pag accueil ***/
/*.isHome{*/
/*    margin-top: 15px;*/
/*}*/
.isHome .blog-item .item-content h2.item-title a{
    color: var(--orange);
    font-size: 1.75rem;
    text-decoration: none;
}

/*** inscription newsletter ***/

.acym_module_form {
    background-color: #FFF;
    /*border-left: 6px solid #640000;*/
    /*border-radius: 10px;*/
    /*padding: 2rem;*/
    /*box-shadow: 2px 2px 10px rgba(100, 0, 0, 0.05);*/
    /*font-family: 'Georgia', serif;*/
    color: var(--bleu);
}

.acym_module_form .acym_introtext {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--bleu);
}

.acym_module_form input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--bleu);
    border-radius: 6px;
    background-color: #fff;
    color: var(--bleu);
    /*font-family: 'Georgia', serif;*/
    box-sizing: border-box;
    margin-bottom: 1rem;
}

.acym_module_form .acysubbuttons {
    text-align: right;
    margin-top: 1rem;
}

.acym_module_form input[type="button"] {
    background-color: var(--bleu);
    color: #fff;
    border: none;
    padding: 0.6rem 1.4rem;
    font-size: 1rem;
    /*font-family: 'Georgia', serif;*/
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.acym_module_form input[type="button"]:hover {
    background-color: var(--jauneFonce);
    transform: scale(1.03);
}

.acym_module_form .acym__field__error__block {
    color: #B00000;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

/*** slide accueil ***/

.swiper-container {
    width: 100%;
    height: 400px;
    position: relative;
}

/*.swiper-slide {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*}*/

/*.swiper-slide img {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*}*/

.swiper-slide {
    position: relative; /* clé pour que .slide-caption se place par-dessus */
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 20px;
    color: #fff;
    background: rgba(244, 177,34, 0.8); /* Fond semi-transparent noir */
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    z-index: 2;
}

.swiper-slide-active .slide-caption {
    opacity: 1;
    transform: translateY(0);
}

.mySwiperPapeterie .swiper-slide .slide-caption p{
    color: var(--blanc);
}

/*** Footer ***/

footer .container{
    background-color: var(--bleu);
}
footer .moduletable ul li a {
    color: #FFF;
}

footer .container .moduletable .mod-custom p{
    color: #FFF;
}

footer .container .moduletable{
    padding-top: 2rem;
    padding-left: 2rem;
}

footer .container .moduletable h3{
    color: #FFF;
}
footer .container .moduletable .acym_module_form{
    background: var(--bleu);
}
footer .container .moduletable .acym_module_form input[type="button"]{
    background: var(--jauneFonce);
    color: var(--bleu);
}





