@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;*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');/*font-family: 'Poppins', sans-serif;*/
@import url('https://fonts.googleapis.com/css2?family=Yeseva+One&display=swap');/*font-family: 'Yeseva One', cursive;*/



/* HEADER */
/*#header { background:#fff; width: 100%; height: 200px; background-size:100%;}*/


/*HEADER VIDEO*/
#header { background:#fff; background-size: 100%; height: auto; color:#fff}
#logo {text-align:center; margin-top:10px}
#slogan p {font-size:20px; font-family: 'Poppins', sans-serif; margin-top:20px;  color:#2367b0; line-height: 1.2em; margin-bottom: 30px}
#slogan p a {color:#333333}
#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: center; font-size: 14px; margin-top:0px}

.membre {background:#fff; padding-bottom:3px}

@media (max-width: 1024px) {
#header { background:#fff; background-size: 100%; height: auto; color:#fff}
#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:0px}
}
/*HEADER*/


/*MENU*/
.bg-light {
background-color: #fff !important;
    border-top:1px solid #eee;
    border-bottom:1px solid #eee
}

.navbar-brand {
	display: none!important
}
.navbar-brand.scrolled{
display: block!important
}

.navbar-nav { margin: 0 auto}

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

.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: #fff;
background-color:  #2367b0; border-radius:20px
}


.navbar-light .navbar-nav .nav-link {
    color: #2367b0;
	 font-family: 'Poppins', sans-serif;
	font-size:18px; border-radius:20px
}


.navbar-light .navbar-nav .nav-link:hover {
    color: #fff;
    background-color:  #2367b0; border-radius:20px
}

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

.dropdown-item {
    color:#000; font-family: 'Poppins', sans-serif;
    font-size:16px;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: #fff;
    background-color:#2367b0;
}

.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: 54px;
        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:#2367b0;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.4em}
#section1 h2 {color:#333333 !important; line-height: 1.4em}
#section1 h3  {color:#333333 !important; line-height: 1.4em}
#section1 h4 {color:#333333 !important; line-height: 1.4em}
#section1 h5 {color:#333333 !important; line-height: 1.4em}
#section1 h4 {color:#333333 !important; line-height: 1.4em}
#section1 p {color:#0A0A0A;}

#section2 {background:#eee; background-size: 100%}
#section2 h1 {color:#000; line-height: 1.4em}
#section2 h2 {color:#000 !important; line-height: 1.4em}
#section2 h3 {color:#000 !important; line-height: 1.4em}
#section2 h4 {color:#000 !important; line-height: 1.4em}
#section2 h5 {color:#000 !important; line-height: 1.4em}
#section2 p {color:#000;}
#section2 i {color:#000;}

#section3 {background: none}
#section3 h1 {color:#333333; line-height: 1.4em}
#section3 h2, h3, h4, h5 {color:#333333 !important; 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 !important; 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-parallax img {padding-top:200px;}
#section-parallax h2 { color:#000; text-align: center }

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

.parallax {
    /* The image used */
    background-image: url("../../../assets/theme1/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 only screen and (max-device-width: 1366px) {
    .parallax {
        background-attachment: scroll;
        height:300px;
    }
}
/*boutons custom bootstrap*/
.btn-custom {
	color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
.btn-custom:hover, .btn-custom:focus, .btn-custom:active, .btn-custom.active, .open>.dropdown-toggle.btn-custom {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545; /*set the color you want here*/
}
/*fin boutons custom bootstrap*/


/*boutons custom bootstrap*/
.button {
  flex: 1 1 auto;
  margin: 0px;
  padding: 20px;
  border: 1px solid #eee;
  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;
}
/*Fin Boutons*/

/*survol sur le photobox*/
.survol {color:#fff}
/*survol sur le photobox*/


/*FIN INTEGRATION*/


/*FOOTER*/
footer {
background: #2367b0;
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 hr {border-color:#fff;margin: 0rem 0 !important;}
footer ul.list-unstyled li a {color: #fff}
footer .rubrique { color: #fff}
/*FOOTER*/


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





.bloc-carte {
    height: 100%;                 /* prend toute la hauteur de la colonne */
    display: flex;
    flex-direction: column;
    justify-content: center;      /* centre le contenu verticalement */
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 20px;
}

.bloc-carte hr {
    width: 100%;
}

/* Si ta classe .button ne visait que <button>, pour qu'elle s'applique aussi au lien */
a.button {
    display: inline-block;
    text-decoration: none;
}

/* Sous-rubrique active dans le menu déroulant */
.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    background-color: #2367b0;
}

/* Mobile : le menu est bleu, donc l'élément actif passe en blanc pour rester visible */
@media (max-width: 992px) {
    .navbar-light .navbar-nav .nav-link {
        color: #fff;
    }
    .navbar-light .navbar-nav .nav-link.active,
    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .show > .nav-link {
        color: #2367b0;
        background-color: #fff;
    }
}






/* ===== FRISE DES PRÉSIDENTS ===== */
.frise {
    --frise-bleu: #2367b0;
    --frise-gris: #e3e8ef;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.frise-titre {
    color: var(--frise-bleu);
    font-family: 'Poppins', sans-serif;
}

/* Zone défilante */
.frise-scroll {
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--frise-bleu) var(--frise-gris);
    padding: 0 10px;
}
.frise-scroll::-webkit-scrollbar { height: 6px; }
.frise-scroll::-webkit-scrollbar-track { background: var(--frise-gris); border-radius: 3px; }
.frise-scroll::-webkit-scrollbar-thumb { background: var(--frise-bleu); border-radius: 3px; }

.frise-liste {
    position: relative;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 20px;
    width: max-content;
}

/* Ligne horizontale qui se dessine */
.frise-liste::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    margin-top: -2px;
    background: linear-gradient(90deg, var(--frise-bleu), #5a9be0);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.6s ease-out;
}
.frise.visible .frise-liste::before { transform: scaleX(1); }

/* Un président */
.frise-item {
    display: grid;
    grid-template-rows: 210px 40px 210px;
    justify-items: center;
    width: 170px;
    scroll-snap-align: center;
    opacity: 0;
    transition: opacity .5s ease, transform .5s ease;
    transition-delay: calc(var(--i) * 0.12s + 0.3s);
}
.frise-item.haut { transform: translateY(-25px); }
.frise-item.bas  { transform: translateY(25px); }
.frise.visible .frise-item { opacity: 1; transform: translateY(0); }

.frise-item .frise-carte { grid-row: 1; align-self: end; }
.frise-item .frise-annee { grid-row: 3; align-self: start; }
.frise-item.bas .frise-carte { grid-row: 3; align-self: start; }
.frise-item.bas .frise-annee { grid-row: 1; align-self: end; }

/* Carte */
.frise-carte {
    position: relative;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .2);
    padding: 14px 10px 10px;
    width: 150px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.frise-carte:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(35, 103, 176, .25);
}

/* Petit trait vertical carte ↔ point */
.frise-carte::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 2px;
    height: 20px;
    margin-left: -1px;
    background: var(--frise-bleu);
}
.frise-item.haut .frise-carte::after { top: 100%; }
.frise-item.bas  .frise-carte::after { bottom: 100%; }

.frise-photo {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--frise-bleu);
    filter: grayscale(40%);
    transition: filter .3s ease, transform .3s ease;
}
.frise-carte:hover .frise-photo {
    filter: grayscale(0);
    transform: scale(1.06);
}

.frise-nom {
    margin-top: 8px;
    font-size: 15px;
    color: #333;
    line-height: 1.2;
}

/* Point sur la ligne */
.frise-point {
    grid-row: 2;
    align-self: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--frise-bleu);
    position: relative;
    z-index: 1;
    transform: scale(0);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
    transition-delay: calc(var(--i) * 0.12s + 0.3s);
}
.frise.visible .frise-point { transform: scale(1); }
.frise-item:hover .frise-point { background: var(--frise-bleu); }

/* Dernier président : point qui pulse */
.frise-item.actuel .frise-point { background: var(--frise-bleu); }
.frise-item.actuel .frise-point::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--frise-bleu);
    animation: frise-pulse 2s ease-out infinite;
}
@keyframes frise-pulse {
    from { transform: scale(1); opacity: .8; }
    to   { transform: scale(2.4); opacity: 0; }
}

/* Années */
.frise-annee {
    font-weight: 600;
    color: var(--frise-bleu);
    font-size: 15px;
    padding: 6px 0;
    white-space: nowrap;
}

/* Boutons de navigation */
.frise-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border: 0;
    border-radius: 50%;
    background: var(--frise-bleu);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    transition: opacity .3s, transform .2s;
}
.frise-nav:hover { transform: scale(1.1); }
.frise-nav:disabled { opacity: 0; pointer-events: none; }
.frise-nav.prev { left: -6px; }
.frise-nav.next { right: -6px; }

@media (max-width: 767px) {
    .frise-item { width: 140px; grid-template-rows: 190px 36px 190px; }
    .frise-carte { width: 128px; }
    .frise-photo { width: 80px; height: 80px; }
    .frise-nav { display: none; } /* on fait défiler au doigt */
}

/* Accessibilité : pas d'animation si l'utilisateur les a désactivées */
@media (prefers-reduced-motion: reduce) {
    .frise *, .frise *::before, .frise *::after,
    .frise-liste::before { transition: none !important; animation: none !important; }
}
/* ===== FIN FRISE ===== */





/* ===== COMPOSITION DU CA ===== */
.ca {
    --ca-bleu: #2367b0;
    font-family: 'Poppins', sans-serif;
}

/* Filtres */
.ca-filtres {

    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}
.ca-filtre {
    border: 1px solid var(--ca-bleu);
    background: #fff;
    color: var(--ca-bleu);
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 15px;
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.ca-filtre .badge {
    background: #e8f0fa;
    color: var(--ca-bleu);
    margin-left: 4px;
    font-weight: 600;
}
.ca-filtre:hover,
.ca-filtre.active {
    background: var(--ca-bleu);
    color: #fff;
}
.ca-filtre.active .badge,
.ca-filtre:hover .badge {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

/* Carte */
.ca-item {
    transition: opacity .35s ease, transform .35s ease;
}
.ca-item.masque {
    display: none;
}
.ca-item.apparait {
    opacity: 0;
    transform: translateY(10px);
}

.ca-carte {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .15);
    padding: 14px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.ca-carte:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(35, 103, 176, .2);
}

/* Photo ronde (les initiales s'affichent si l'image manque) */
.ca-photo {
    position: relative;
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--ca-bleu);
    background: #e8f0fa;
    color: var(--ca-bleu);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 24px;
}
.ca-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.ca-infos {
    min-width: 0;
    line-height: 1.3;
}
.ca-nom {
    font-size: 16px;
    color: #222;
    margin: 0;
}
.ca-nom strong {
    font-weight: 600;
}
.ca-role {
    display: block;
    color: var(--ca-bleu);
    font-weight: 600;
    font-size: 13.5px;
    margin: 3px 0 5px;
}
.ca-adresse {
    font-size: 12.5px;
    color: #666;
    margin: 0;
    font-style: normal;
}

/* Président : carte mise en avant */
.ca-item.vedette .ca-carte {
    border-left: 5px solid var(--ca-bleu);
}

/* Mobile : cartes plus serrées, adresse repliable */
@media (max-width: 575px) {
    .ca-filtres {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 6px;
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
        scrollbar-width: none;
    }
    .ca-filtres::-webkit-scrollbar { display: none; }
    .ca-carte { padding: 10px 12px; gap: 12px; }
    .ca-photo { flex-basis: 64px; width: 64px; height: 64px; font-size: 19px; }
    .ca-adresse { display: none; }
    .ca-carte.ouvert .ca-adresse { display: block; }
    .ca-voir {
        display: inline-block !important;
    }
}
.ca-voir {
    display: none;
    border: 0;
    background: none;
    padding: 0;
    font-size: 12.5px;
    color: var(--ca-bleu);
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    .ca-item, .ca-carte { transition: none !important; }
}
/* ===== FIN COMPOSITION DU CA ===== */




/* ===== STATUTS ===== */
.statuts {
    --st-bleu: #2367b0;
    --st-bleu-clair: #e8f0fa;
    --statuts-offset: 120px; /* recalculé en JS selon la hauteur toolbar + menu */
    font-family: 'Poppins', sans-serif;
}

/* En-tête */
.statuts-entete {
    text-align: center;
    margin-bottom: 2rem;
}
.statuts-entete h2 {
    color: var(--st-bleu) !important;
    font-weight: 600;
    margin-bottom: .5rem;
}
.statuts-date {
    display: inline-block;
    background: var(--st-bleu-clair);
    color: var(--st-bleu);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 14px;
    margin: 0;
}

/* Sommaire (ordinateur) */
.statuts-sommaire {
    position: sticky;
    top: calc(var(--statuts-offset) + 16px);
    max-height: calc(100vh - var(--statuts-offset) - 32px);
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .15);
    padding: 16px 10px;
    scrollbar-width: thin;
}
.statuts-sommaire-titre {
    font-weight: 600;
    color: var(--st-bleu);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .05em;
    padding: 0 10px;
    margin-bottom: 8px;
}
.statuts-sommaire ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.statuts-sommaire a {
    display: flex;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.35;
    color: #444;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background .2s, color .2s, border-color .2s;
}
.statuts-sommaire a .num {
    flex: 0 0 2.2em;
    font-weight: 600;
    color: var(--st-bleu);
}
.statuts-sommaire a:hover {
    background: #f3f6fa;
    color: #000;
}
.statuts-sommaire a.active {
    background: var(--st-bleu-clair);
    color: var(--st-bleu);
    border-left-color: var(--st-bleu);
    font-weight: 600;
}

/* Liste déroulante (mobile / tablette) */
.statuts-mobile {
    position: sticky;
    top: var(--statuts-offset);
    z-index: 5;
    background: #fff;
    padding: 10px 0;
    margin-bottom: 1rem;
}
.statuts-select {
    border-color: var(--st-bleu);
    color: var(--st-bleu);
    font-weight: 600;
    border-radius: 30px;
}

/* Cartes d'article */
.statuts-carte {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .15);
    padding: 26px 32px;
    margin-bottom: 20px;
    scroll-margin-top: calc(var(--statuts-offset) + 16px);
}
.statuts-carte h3 {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 1.1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}
.statuts-num {
    flex: 0 0 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--st-bleu);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}
.statuts-num small {
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 2px;
}
.statuts-carte p {
    font-size: 15.5px;
    line-height: 1.75;
    color: #333;
    margin-bottom: 0;
}
.statuts-carte p + p {
    margin-top: 1rem;
}
.statuts-carte strong {
    color: var(--st-bleu);
}

/* Petite animation à l'arrivée d'une carte */
.statuts-carte.cible {
    animation: statuts-flash 1.2s ease;
}
@keyframes statuts-flash {
    0%   { box-shadow: 0 0 0 3px var(--st-bleu); }
    100% { box-shadow: 0 0 5px rgba(0, 0, 0, .15); }
}

@media (max-width: 991px) {
    /* laisse la place à la liste déroulante collante */
    .statuts-carte { scroll-margin-top: calc(var(--statuts-offset) + 76px); }
}

@media (max-width: 767px) {
    .statuts-carte {
        padding: 18px 16px;
        border-radius: 12px;
    }
    .statuts-carte h3 { font-size: 1.05rem; gap: 12px; }
    .statuts-num { flex-basis: 44px; height: 44px; font-size: 17px; }
    .statuts-carte p { font-size: 15px; text-align: left !important; }
}

@media (prefers-reduced-motion: reduce) {
    .statuts-carte.cible { animation: none; }
}
/* ===== FIN STATUTS ===== */
