/* you can add your own custom css here if you don't want to worry about SASS/SCSS */

:root {
    --orange: #FC831D;
    --orangemiddle: #FCA051;
    --orangeclair: #FCC28B;
    --blanc: #F8F6F0;
    /*switch palette*/
    --rouge: #640000;
    --vert: #006E5E;
    -gris: #DFE0DF;
    /*cube palette*/
    --brun: #402E32;
}

/*.orangemiddle{*/
/*    background: var(--orangemiddle);*/
/*}*/

body.site{
    background: var(--blanc);
}

.site header{
    background: var(--orange);
}
.siteBody{
    background: var(--blanc);
}

p{
    color: var(--brun);
}

a{
    color: var(--rouge);
}

h1, h2{
    color: var(--vert);
}

h3{
    color: var(--orange);
}

/**** Top bar ***/

#top-bar{
    background: var(--rouge);
    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(--orange);
}

#top-bar ul > li:not(:last-child){
    margin-right: 10px;
}

#top-bar ul li a{
    color: var(--blanc);
    text-decoration: none;
}

header nav #mainmenu ul li a{
    color : var(--blanc);
    font-size: 17px;
    line-height : 60px;
    text-transform: uppercase;
    /*font-weight: 600;*/
    padding: 0;
    margin: 0 0.5em;
    position: relative;
}

header nav #mainmenu ul li a:hover{

}

/*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(--blanc), var(--blanc));
    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 #mainmenu ul li.current.active a{
     /*text-decoration: underline;*/
    color: var(--rouge);
 }

button.navbar-toggler {
    border :  var(--bs-border-width) solid var(--rouge);
    --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;
}

/*!* Conteneur du menu *!*/
/*!* Conteneur du menu *!*/
/*.moduletable.nos-lectures {*/
/*    background: linear-gradient(135deg, #F8F6F0, #fff);*/
/*    border-radius: 16px;*/
/*    padding: 1.2em 1.5em;*/
/*    margin-bottom: 2em;*/
/*    box-shadow: 0 8px 16px rgba(100, 0, 0, 0.1);*/
/*    transition: transform 0.3s ease;*/
/*}*/

/*.moduletable.nos-lectures:hover {*/
/*    transform: translateY(-4px);*/
/*}*/

/*!* Titre du module *!*/
/*.moduletable.nos-lectures h3 {*/
/*    color: #FC831D; !* Orange dynamique *!*/
/*    font-size: 1.4em;*/
/*    margin-bottom: 1em;*/
/*    font-weight: 600;*/
/*    position: relative;*/
/*}*/

/*.moduletable.nos-lectures h3::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    width: 40px;*/
/*    height: 3px;*/
/*    background-color: #FC831D;*/
/*    left: 0;*/
/*    bottom: -6px;*/
/*    border-radius: 2px;*/
/*}*/

/*!* Liste *!*/
/*.moduletable.nos-lectures ul {*/
/*    list-style: none;*/
/*    padding-left: 0;*/
/*    margin: 0;*/
/*}*/

/*.moduletable.nos-lectures li {*/
/*    margin-bottom: 0.8em;*/
/*    position: relative;*/
/*    padding-left: 1.2em;*/
/*}*/

/*.moduletable.nos-lectures li::before {*/
/*    content: "›";*/
/*    position: absolute;*/
/*    left: 0;*/
/*    color: #FC831D;*/
/*    font-weight: bold;*/
/*}*/

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.moduletable.nos-lectures {
    /*background: linear-gradient(135deg, #F8F6F0, #fff);*/
    border-radius: 16px;
    padding: 1.2em 1.5em;
    margin-bottom: 2em;
    /*box-shadow: 0 8px 16px rgba(100, 0, 0, 0.1);*/
    animation: slideInLeft 0.8s ease-out both;
}

/* Titre du module */
.moduletable.nos-lectures h3 {
    color: #FC831D;
    font-size: 1.4em;
    margin-bottom: 1em;
    font-weight: 600;
    position: relative;
}

.moduletable.nos-lectures h3::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: #FC831D;
    left: 0;
    bottom: -6px;
    border-radius: 2px;
}

/* Liste */
.moduletable.nos-lectures ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.moduletable.nos-lectures li {
    margin-bottom: 0.3em;
    display: flex;
    align-items: center;
    gap: 0.5em;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

.moduletable.nos-lectures li:nth-child(1) { animation-delay: 0.2s; }
.moduletable.nos-lectures li:nth-child(2) { animation-delay: 0.3s; }
.moduletable.nos-lectures li:nth-child(3) { animation-delay: 0.4s; }
/* Ajoute d'autres delays si plus d'éléments */

.moduletable.nos-lectures li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* pour les icônes solides (fas) */
    content: "\f02d"; /* Unicode pour l’icône "book" */
    color: #FC831D;
    margin-right: 0.5em;
}

/* Liens */
.moduletable.nos-lectures a {
    color: #640000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.moduletable.nos-lectures a:hover {
    color: #FC831D;
    text-decoration: underline;
}



/* Liens */
.moduletable.nos-lectures a {
    color: #640000; /* Bordeaux pour contraste */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.moduletable.nos-lectures a:hover {
    color: #FC831D; /* Orange au survol */
    text-decoration: underline;
}


/* Module des événements */

/*.evenements-liste {*/
/*    list-style: none;*/
/*    padding: 0;*/
/*    margin: 0;*/
/*    background-color: #F8F6F0;*/
/*    border: 1px solid #FC831D;*/
/*    border-radius: 8px;*/
/*    padding: 1rem;*/
/*    box-shadow: 2px 2px 8px rgba(100, 0, 0, 0.1);*/
/*}*/

/*.evenements-liste li {*/
/*    margin-bottom: 1rem;*/
/*    position: relative;*/
/*    padding-left: 2rem;*/
/*    transition: background-color 0.3s, transform 0.3s;*/
/*    border-left: 4px solid #FC831D;*/
/*}*/

/*.evenements-liste li::before {*/
/*    content: "📚";*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 0.1rem;*/
/*    font-size: 1.2rem;*/
/*    color: #640000;*/
/*}*/

/*.evenements-liste li a {*/
/*    color: #640000;*/
/*    text-decoration: none;*/
/*    font-weight: bold;*/
/*}*/

/*.evenements-liste li strong {*/
/*    color: #FC831D;*/
/*    margin-right: 0.5rem;*/
/*    font-weight: normal;*/
/*}*/

/*.evenements-liste li:hover {*/
/*    background-color: #FC831D;*/
/*    transform: translateX(5px);*/
/*    border-left-color: #640000;*/
/*}*/

/*.evenements-liste li:hover a {*/
/*    color: #F8F6F0;*/
/*}*/

/*.evenements-liste li:hover::before {*/
/*    color: #F8F6F0;*/
/*}*/


/*.evenements-liste {*/
/*    list-style: none;*/
/*    padding: 0;*/
/*    margin: 0 auto;*/
/*    background-color: #F8F6F0;*/
/*    border: 1px solid #FC831D;*/
/*    border-radius: 8px;*/
/*    padding: 1rem;*/
/*    box-shadow: 2px 2px 8px rgba(100, 0, 0, 0.1);*/
/*    max-width: 600px;*/
/*}*/

/*.evenements-liste li {*/
/*    margin-bottom: 1rem;*/
/*    position: relative;*/
/*    padding-left: 2.5rem;*/
/*    transition: background-color 0.3s, transform 0.3s;*/
/*    border-left: 4px solid #FC831D;*/
/*}*/

/*.evenements-liste li::before {*/
/*    content: "\f073";*/
/*    font-family: "Font Awesome 6 Free";*/
/*    font-weight: 900;*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 0.2rem;*/
/*    font-size: 1.2rem;*/
/*    color: #640000;*/
/*}*/

/*.evenements-liste li a {*/
/*    color: #640000;*/
/*    text-decoration: none;*/
/*    font-weight: bold;*/
/*}*/

/*.evenements-liste li strong {*/
/*    color: #FC831D;*/
/*    margin-right: 0.5rem;*/
/*    font-weight: normal;*/
/*}*/

/*.evenements-liste li:hover {*/
/*    background-color: #FC831D;*/
/*    transform: translateX(5px);*/
/*    bor*/
/*    .evenements-liste li:hover a {*/
/*        color: #F8F6F0;*/
/*    }*/

/*    .evenements-liste li:hover::before {*/
/*        color: #F8F6F0;*/
/*    }der-left-color: #640000;*/
/*}*/

.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;
}

.articleImageAffiche{
    margin-top: 20px;
}

.eventDetails{
    margin: 25px 0;
}
.eventDetails p{
    color: var(--rouge);
    border-bottom: 1px dotted var(--orange);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.eventDetails p i{
    color: var(--orange);
    margin-right: 10px;
}

.lecture-item.item-page div.page-header h1,
.lectureBlog-item div.page-header h2,
.evenementBlog-item div.page-header h2{
    margin-bottom: 2rem;
}

.lecture-item.item-page div.page-header h1,
.lectureBlog-item div.page-header h2 a,
.evenementBlog-item div.page-header h2 a{
    color: var(--vert);
    font-weight: bold;
    text-decoration: none;
}


@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 */
}

/*** Dateila lectures ***/

.lecture-item .ficheDetail,
.lectureBlog-item .ficheDetail{
    margin-top: 2rem;
    font-size: 0.8rem;
}

.lecture-item .ficheDetail .ficheDetailInformations p,
.lectureBlog-item .ficheDetail .ficheDetailInformations p{
    color: var(--rouge);
    border-bottom: 1px dotted var(--orange);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.lecture-item .ficheDetail .ficheDetailInformations i.fas,
.lectureBlog-item .ficheDetail .ficheDetailInformations i.fas {
    color:  var(--orange);
    margin-right: 10px;
}

/*** Module Librel accueil ***/

#mod-custom119 {
    margin-top: 3rem;
    margin-bottom: 6rem;
}

/* .librel-module {*/
/*     background-color: #F8F6F0;*/
/*     border: 2px solid #FC831D;*/
/*     border-left: 8px solid #640000;*/
/*     border-radius: 12px;*/
/*     padding: 1.5rem;*/
/*     margin: 1.5rem 0;*/
/*     font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
/*     color: #640000;*/
/* }*/

/*.librel-module h3,*/
/*.librel-module strong {*/
/*    color: #FC831D;*/
/*}*/

/*.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"],
#SEPForm select {
    padding: 0.5rem;
    border: 1px solid #640000;
    border-radius: 6px;
    background-color: #fff;
    color: #640000;
    flex: 1 1 200px;
}

#SEPForm button {
    background-color: #FC831D;
    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: #F8F6F0;
    /*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: #640000;
}

.acym_module_form .acym_introtext {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #640000;
}

.acym_module_form input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #b88f7a;
    border-radius: 6px;
    background-color: #fff;
    color: #640000;
    /*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: #FC831D;
    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: #e26f15;
    transform: scale(1.03);
}

.acym_module_form .acym__field__error__block {
    color: #B00000;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

/*** slide accueil ***/

.swiper{
    width: 100% !important;
    height: 400px !important;
    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(100, 0, 0, 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(--orange);
}
footer .moduletable ul li a {
    color: var(--blanc);
}

footer .container .moduletable .mod-custom p{
    color: var(--blanc);
}

footer .container .moduletable{
    padding-top: 2rem;
    padding-left: 2rem;
}

footer .container .moduletable h3{
    color: var(--blanc);
}
footer .container .moduletable .acym_module_form{
    background: var(--orange);
}
footer .container .moduletable .acym_module_form input[type="button"]{
    background: var(--blanc);
    color: var(--rouge);
}
/* Bloc général "éditorial" */
.edito {

    margin: 1rem 0;
    padding: 2rem 2.5rem;

    background: #ffffff;                 /* bloc blanc sur fond beige */
    border-radius: 16px;
    border-left: 8px solid #fc831d;      /* orange */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);

    position: relative;
}

/* Petite pastille décorative orange en haut à gauche (optionnel) */
.edito::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: rgba(252, 131, 29, 0.10);  /* #fc831d très transparent */
    border-radius: 50%;
    pointer-events: none;
}

/* Titre "En décembre ... Fêtes de fin d'année" */
.edito h1,
.edito h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 2rem;
    line-height: 1.2;
    color: #fc831d;        /* orange */
}

/* Texte de l’édito */
.edito p {
    margin: 0 0 0.7rem;
    line-height: 1.7;
    color: #640000;        /* rouge foncé */
    font-size: 1rem;
}

/* Mises en avant en*



