/* couleur de l'année : #fdea0cff (jaune) */

html, body {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", sans-serif;
  font-weight: 700; /* modifiable par titre */
}

h1 { font-size: 3rem; font-weight: 700; text-transform: uppercase; }
h2 { font-size: 2.4rem; font-weight: 700; }
h3 { font-size: 1.8rem; font-weight: 600; }
h4 { font-size: 1.3rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: .9rem; font-weight: 600; text-transform: uppercase; }

a {
	color: #000;
	text-decoration: underline;
}

body {
font-size : 16px;
}

.bs-footer {
	margin-top: 50px;
	border-top: 1px solid #EEEEEE;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #eee;
}

.bs-footer .nav > li > a {
	margin: 0;
	padding: 5px 0px;
}

.bs-footer .nav > li > a:hover {
	color: #a52fa1;
}

.navigation-diapo {
	margin: auto;
}

/* ——— Breadcrumb personnalisé ——— */

.breadcrumb-custom {
  padding: .75rem 0;
}

.breadcrumb-custom .container {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

/* Pastilles breadcrumb */
.breadcrumb-item-custom {
  display: inline-flex;
  align-items: center;
  padding: .35rem .6rem;
  background: #e6e6e6;              /* gris clair */
  color: #333;                      /* gris foncé */
  font-size: .85rem;
  font-weight: 600;
  border-radius: .3rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

/* Icône maison */
.breadcrumb-item-custom i {
  font-size: 1rem;
  margin-right: .2rem;
}

/* Hover */
.breadcrumb-item-custom:hover {
  background: var(--rubrique-color);
  color: #fff;
}

/* Élément actif (article) */
.breadcrumb-item-custom.active {
  background: #d4d4d4;            /* gris un peu plus foncé */
  color: #000;
  cursor: default;
  pointer-events: none;
}


/* SECTIONS */

.section-horaires h2 {
background-color : #fdea0cff; 
}


/* Section Bientôt */

.section-bientot {
	background-color: #eee;
	color: #000;
	margin-top: 20px;
	padding-bottom: 10px;
}

.section-bientot a {
	color: #000;
}

.section-bientot a:hover {
	color: #000;
	background-color: #fff;
}

.section-bientot ul {
	padding-left: 0px;
}

/* NEWSLETTER */

/* Conteneur général */
.newsletter-box {
  max-width: 520px;
  margin: 2rem auto;
  padding: 1.5rem 1.75rem;
  background: #f5f5f5;
  border-radius: .5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

/* On neutralise un peu le style brut des formulaires SPIP à l'intérieur */
.newsletter-box form {
  margin: 0;
}

/* Groupe des champs */
.newsletter-box .editer-groupe {
  margin: 0;
}

/* L'éditeur email (bloc) */
.newsletter-box .editer_session_email {
  margin-bottom: 1rem;
  width: 100%;
}

/* Label */
.newsletter-box .editer_session_email label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .25rem;
  color: #555;
}

/* Champ email long */
.newsletter-box input.email.text {
  width: 100%;
  padding: .6rem .75rem;
  font-size: .95rem;
  border-radius: .35rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.newsletter-box input.email.text:focus {
  box-shadow: 0 0 0 2px rgba(97,37,158,.22);
}

/* Bouton centré */
.newsletter-box p.boutons {
  text-align: center;
  margin: 0;
}

/* Bouton d’envoi */
.newsletter-box input.submit {
  display: inline-block;
  margin-top: .5rem;
  padding: .5rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  border-radius: .35rem;
  background: var(--rubrique-color);
  color: #fff;
  cursor: pointer;
}

.newsletter-box input.submit:hover {
  background: #fff;
}

/* On laisse le champ anti-spam invisible */
.newsletter-box .saisie_session_email {
  display: none !important;
}

/* On ne touche pas au honeypot (spam), il reste invisible */
.newsletter-box .saisie_session_email {
  display: none !important;
}

/* Liste des rubriques / obsolete */

.liste-rubriques {
	margin-top: 5px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.liste-articles {
	margin-top: 5px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #FDFDFD;
}

.liste-articles-selection {
	margin-top: 5px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #fae600;
}

.liste-sites {
	background-color: #EDEDED;
}

/* MOTS CLES ARTICLES */

.liste-motscles {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1rem;
}

.motcle-pill {
  display: inline-block;
  padding: .35rem .75rem;
  background: #e6e6e6;        /* gris clair */
  color: #333;                /* gris foncé */
  font-size: .85rem;
  font-weight: 600;
  border-radius: .3rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.motcle-pill:hover {
  background: var(--rubrique-color);    
  color: #fff;
}

/* ——— ARTICLE HEADER ——— */

.article-header {
  margin-bottom: 2.5rem;
}

/* Surtitre (style proche des labels des cards) */
.article-surtitre {
  display: inline-block;
  background: var(--rubrique-color);
  color: #fff;
  padding: .35rem .7rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: .25rem;
  margin-bottom: .5rem;
}

/* Titre principal */
.article-titre {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 .3rem 0;
  color: #111b2b;
}

/* Sous-titre */
.article-soustitre {
  font-size: 1.3rem;
  font-weight: 500;
  color: #444;
  margin: 0 0 1rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .article-titre {
    font-size: 2rem;
  }
  .article-soustitre {
    font-size: 1.1rem;
  }
}

/* Bloc de la colonne droite */

.sidebar-block {
  margin-bottom: 2rem;
}

/* Titre du bloc */
.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #444;
  margin-bottom: .75rem;
}

/* Liste des autres articles */
.sidebar-freres-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

/* Ligne article */
.sidebar-freres-item {
  margin: 0;
}

/* Lien global d’une ligne */
.sidebar-freres-link {
  display: flex;
  flex-direction: column;
  padding: .4rem .6rem;
  border-radius: .35rem;
  text-decoration: none;
  background: #f2f2f2;  /* gris clair, comme breadcrumb/tags */
  color: #222;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}

/* Titre */
.sidebar-freres-title {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .1rem;
}

/* Date */
.sidebar-freres-date {
  font-size: .75rem;
  color: #666;
}

/* Hover : rappel de ton violet */
.sidebar-freres-link:hover {
  background: var(--rubrique-color) !important;
  color: #fff;
  transform: translateX(2px);
}

.sidebar-freres-link:hover .sidebar-freres-date {
  color: #e6e6e6;
}


/* ——— RUBRIQUE HEADER ——— */

.rubrique-header {
  margin-bottom: 2.5rem;
}

/* Titre principal */
.rubrique-titre {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 .3rem 0;
  color: #111b2b;
}

/* Sous-titre */
.rubrique-descriptif {
  font-size: 1.3rem;
  font-weight: 500;
  color: #444;
  margin: 0 0 1rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .rubrique-titre {
    font-size: 2rem;
  }
  .rubrique-descriptif {
    font-size: 1.1rem;
  }
}

/* */

.article {
	margin-top: 10px;
	padding-top: 0px;
	padding-bottom: 10px;
}

.article h1 {
  font-size: 1.6rem;
  margin: 0 0 .25rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.document {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #eee;
	background: #FDFDFD;
}

.row {
	margin-top: 10px;
}

.hierarchie {
	margin-top: 20px;
}

.navbar {
	margin-bottom: 0px;
}

.navbar-galaxie {
	background-color: #FFFFFF;
}


.navbar-principale a {
	color: #000;
}

mark {
	background-color: #FF3380;
	color: #FFFFFF;
}


/* formulaires d'abonnement */

.formulaire_spip .explication {
	background-color: #ededed;
	margin-bottom: 0;
	padding: 0.5em;
}

.label {
	display: inline;
	font-weight: normal;
}

.checkbox {
	display: inline;
}

ul.editer-groupe {
	list-style-type: none;
}

/* Carrousel : utile pour la télé de l'accueil*/

.carousel-caption {
	bottom: 120px;
	color: #ffffff;
	left: 15%;
	padding-bottom: 20px;
	padding-top: 20px;
	position: absolute;
	right: 15%;
	text-align: left;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	z-index: 10;
}

.carousel-caption h1 {
	font-size: 60px;
	color: white;
	text-shadow: 3px 3px 5px #000000;
}


/* carrousel */

.carousel-inner {
  display: flex;
  flex-direction: row;
}

.carousel-item {
  display: flex;
  justify-content: center;
  transition: transform 0.8s ease-in-out;
}

.btn-danger {
	background-color: #c71010;
}

.menu-items__item {
	padding-top: 10px;
}

.navbar-form {
	padding-top: 10px;
}

.spip_document {
margin-bottom : 30px;
}



.event-card {
  max-width: 95%;
  margin: auto;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
}

.card-img-top {
  height: 180px;
  object-fit: cover;
}

/* Faire en sorte que le carrousel occupe toute la largeur */
.carousel-container {
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Assurer que l’image remplit l’espace */
.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Supprimer la contrainte des marges */
.container,
.container-fluid {
    max-width: 100%;
    padding: 0;
}

/* Personnalisation des boutons de navigation */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
}

/* CARDS RUBRIQUES */

/* Conteneur général de la card */
.card-rubrique {
  position: relative;
  border-radius: 0rem;
  overflow: hidden;
  color: #fff;
  display: block;
  aspect-ratio: 16 / 9;			/* card toujours “paysage” */
}

/* Image en fond */
.card-rubrique-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  transition: transform .6s ease;
}

/* Bandeau en bas (≈ 1/3 de la hauteur max) */
.card-rubrique-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.5rem;
  background : rgba(0, 0, 0, 0.5);
  z-index: 2;
  /*display: flex;*/
  flex-direction: column;
  justify-content: flex-end;
  min-height: 40%;        /* ~1/3 de la card */
  font-weight: 700;       /* tout en gras */
  overflow: hidden;
}

/* Surtitre (EXPOSITION, ATELIERS, etc.) */
.card-rubrique-label {
  display: inline-block;
  background: var(--rubrique-color) !important;
  color: #fff;
  padding: .3rem .6rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Titre principal */
.card-rubrique-title {
  font-size: 2.6rem;
  margin: 0 0 .25rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

/* Titre principal */
.card-rubrique-title-small {
  font-size: 1.6rem;
  margin: 0 0 .25rem;
  line-height: 1.1;
  text-transform: uppercase;
}

/* Meta (dates + lieu) */
.card-rubrique-meta {
  font-size: .9rem;
  margin: 0 0 .25rem;
}

/* Accroche */
.card-rubrique-hook {
  font-size: .9rem;
  margin: .25rem 0 0;
}

/* CARD ARTICLE – texte sous l'image */

/* Label overlay dans la zone image */
.card-article-texte-dessous-img {
  position: relative;
}

.card-article-texte-dessous-label-overlay {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--article-color) !important;
  color: #fff;
  padding: .3rem .6rem;

  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  z-index: 3;
}

.card-article-title-small {
  font-size: 1.4rem;
  margin: 0 0 .25rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.card-article-texte-dessous {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  color: #000;
}

/* Bloc image en haut */
.card-article-texte-dessous-img {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Image réelle : juste pour l’accessibilité/SEO */
.card-article-texte-dessous-img img {
  width: 100%;
  height: 100%;
  opacity: 0;          /* on cache visuellement */
  pointer-events: none;
}

/* Zone texte */
.card-article-texte-dessous-body {
  padding: 1rem 1.25rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  color : #333;
}

.card-article-texte-dessous-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 .25rem;
}

.card-article-texte-dessous-title-small {
  font-size: 1.4rem;
  margin: 0 0 .25rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.card-article-texte-dessous-meta {
  font-size: .9rem;
  margin: 0;
}

.card-article-texte-dessous:hover .card-article-texte-dessous-body {
 background: var(--article-color) !important;
}

/* Hover : aplat de couleur sur la zone texte */
.card-article-texte-dessous:hover .event-date,
.card-article-texte-dessous:hover .event-location,
.card-article-texte-dessous:hover .card-article-texte-dessous-meta,
.card-article-texte-dessous:hover .card-article-texte-dessous-title-small {
  color: #fff !important;
}

/* CARD RUBRIQUE – texte sous l'image */

/* Label overlay dans la zone image */
.card-rubrique-texte-dessous-img {
  position: relative;
}

.card-rubrique-texte-dessous-label-overlay {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--rubrique-color) !important;
  color: #fff;
  padding: .3rem .6rem;

  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  z-index: 3;
}

.card-rubrique-title-small {
  font-size: 1.4rem;
  margin: 0 0 .25rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.card-rubrique-texte-dessous {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  color: #000;
}

/* Bloc image en haut */
.card-rubrique-texte-dessous-img {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Image réelle : juste pour l’accessibilité/SEO */
.card-rubrique-texte-dessous-img img {
  width: 100%;
  height: 100%;
  opacity: 0;          /* on cache visuellement */
  pointer-events: none;
}

/* Zone texte */
.card-rubrique-texte-dessous-body {
  background: var(--rubrique-color) !important;
  padding: 1rem 1.25rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  color : #fff;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.75),
    rgba(0,0,0,.35) 60%,
    rgba(0,0,0,0)
  );
}

.card-rubrique-texte-dessous-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 .25rem;
}

.card-rubrique-texte-dessous-title-small {
  font-size: 1.4rem;
  margin: 0 0 .25rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.card-rubrique-texte-dessous-title-small:hover {
  color: #000;
}

.card-rubrique-texte-dessous-meta {
  font-size: .9rem;
  margin: 0;
}


/* Date de l’événement */
.event-date {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #444;
  margin: 0 0 0.2rem;
  line-height: 1.3;
}

/* Lieu */
.event-location {
  font-size: 0.85rem;
  font-weight: 200;
  color: #111b2b;
  margin: 0.3rem 0 0.3rem;
}

.card-rubrique-texte-dessous:hover .card-rubrique-texte-dessous-body {
 background: var(--rubrique-color) !important;
}

/* Hover : aplat de couleur sur la zone texte */
.card-rubrique-texte-dessous:hover .event-date,
.card-rubrique-texte-dessous:hover .event-location,
.card-rubrique-texte-dessous:hover .card-rubrique-texte-dessous-meta,
.card-rubrique-texte-dessous:hover .card-rubrique-texte-dessous-title-small {
  color: #fff !important;
}

/* MENUS / NAVIGATION */

/* On transforme le UL généré par Menus en barre de navigation Bootstrap-like */
.navbar .menu-liste.menu-items {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .5rem;
  margin-bottom: 0;
  padding-left: 0;          /* comme .navbar-nav de Bootstrap */
}

/* Les <li> du menu */
.navbar .menu-entree {
  list-style: none;
   font-weight: 700;
}

/* Les <a> deviennent visuellement des .nav-link */
.navbar .menu-items__lien {
  display: block;
  padding: .5rem 1rem;
  text-decoration: none;
  color: rgba(0, 0, 0, 1); 
}

/* Survol / focus */
.navbar .menu-items__lien:hover,
.navbar .menu-items__lien:focus {
  color: #000;
}

/* Optionnel : état “actif” si tu ajoutes une classe .on ou .active */
.navbar .menu-entree.on > .menu-items__lien,
.navbar .menu-entree.active > .menu-items__lien {
  color: #fff;
  font-weight: 600;
}

/* On centre le contenu de la navbar verticalement */
.navbar .navbar-collapse {
  align-items: center;
}

/* Pas de marge verticale supplémentaire sur le formulaire de recherche */
#formulaire_recherche form {
  margin-bottom: 0;
}

/* Largeur raisonnable pour le champ de recherche dans la navbar */
#formulaire_recherche .form-control {
  width: 180px; /* ajuste à ton goût (200, 220…) */
}

.header-topbar {
  font-size: 0.9rem;
}

.header-topbar a {
  text-decoration: none;
  color: #333;
}

.header-topbar a:hover {
  text-decoration: underline;
}

/* BARRE 3 : Navigation principale */
.main-nav {
  background: var(--site-color) !important;
}

.main-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0rem 0;
}
.site-slogan {
  font-size: 1.1rem;
  color: #555; /* à ajuster */
  font-style: italic;
  font-weight: 600;
}

.main-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-menu a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

/* Bouton burger */
.nav-toggle {
  display: none; /* visible en mobile */
}

/* Responsive : en mobile tu empiles tout */
@media (max-width: 768px) {
  .header-top-inner,
  .header-quicklinks-inner,
  .main-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
  }

  .main-menu {
    flex-direction: column;
    width: 100%;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }
}

/* Conteneur footer (à adapter au sélecteur réel de ton footer) */
.site-footer {
  padding: 3rem 0;
}

/* Titres de colonnes */
.site-footer h5 {
  margin: 0 0 .75rem 0;
  font-size: 0.95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Liste menus (plugin Menus) */
.site-footer .menu-liste {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .4rem;            /* espace vertical entre liens */
}

/* Items */
.site-footer .menu-entree {
  margin: 0;
}

/* Liens */
.site-footer .menu-items__lien {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  text-decoration: none;
  opacity: .9;
  transition: opacity .2s ease, transform .2s ease, text-decoration-color .2s ease;
}

/* Hover / focus (accessibilité clavier incluse) */
.site-footer .menu-items__lien:hover,
.site-footer .menu-items__lien:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Option : réduire l’encombrement des très longs libellés */
.site-footer .menu-items__lien {
  line-height: 1.05;
}

section .container-header a {
  text-decoration: none;
  color: inherit;
}

section .container-header a:hover,
section .container-header a:focus,
section .container-header a:active {
  text-decoration: none;
  color: inherit;
}


