/* ----------------- syn_header.php ----------------- */
/*:root {
  --nav-theme-color: #6b8e23;
  --nav-theme-fond: #fdfcf7;
  --nav-theme-hover: #4e6b1f;
  --nav-theme-active: #3b5218;
  --nav-theme-disabled: #cddbb0;

  --nav-cancel-color: #b22222;
  --nav-cancel-hover: #8b1a1a;
  --nav-cancel-active: #6e1414;
  --nav-cancel-disabled: #e8c1c1;

  --nav-text-disable: #dcdcdc;
  --nav-text-color: #ffffff;
  --theme-text: #6b8e23;
  --theme-text_dark: #2f2f2f;
  --theme-text_light: #f5f5f5;
  --theme-text-white: #ffffff;

  --color-background: #f4f1e9;
  --color-gray-lightest: #fdfcf7;
  --color-border: #d6d1c4;

  --text-primary: #3e4c2c;
  --text-secondary: #7a7f6f;
  --text-muted: #9ca08f;

  --nav-theme-color-dark: #5a7520;

  --font-family-base: 'Merriweather', serif; 
}*/
:root {
  /* ===================== Couleurs principales ===================== */
  --nav-theme-color: #4d6d9a;        /* Vert olive, couleur principale pour boutons et liens */
  --nav-theme-fond: #ffffff;         /* Fond très clair, évoque la lumière naturelle */
  --nav-theme-hover: #304460;        /* Vert plus foncé pour hover */
  --nav-theme-active: #263a56;       /* Vert profond pour état actif */
  --nav-theme-disabled: #aab8d8;     /* Vert pâle pour éléments désactivés */

  /* ===================== Couleurs “annuler / danger” ===================== */
  --nav-cancel-color: #d9534f;       /* Rouge brique, pour actions critiques */
  --nav-cancel-hover: #c9302c;       /* Rouge foncé au survol */
  --nav-cancel-active: #ac2925;      /* Rouge très foncé actif */
  --nav-cancel-disabled: #e6b9b5;    /* Rouge pâle désactivé */

  /* ===================== Couleurs texte ===================== */
  --nav-text-disable: #e0e0e0;       /* Texte désactivé (gris clair) */
  --nav-text-color: #fafafa;         /* Texte clair pour boutons foncés */
  --theme-text: #4d6d9a;             /* Vert olive pour titres ou liens */
  --theme-text_dark: #000000;        /* Texte sombre */
  --theme-text_light: #f9f9f9;       /* Texte très clair */
  --theme-text-white: #ffffff;       /* Texte blanc */

  /* ===================== Fond et bordures ===================== */
  --color-background: #f5f7fa;       /* Fond général, beige doux */
  --color-gray-lightest: #f9f9f9;    /* Fond très clair pour formulaires */
  --color-border: #d1d9e6;           /* Bordures dans des tons pierreux */

  /* ===================== Texte articles ===================== */
  --text-primary: #1f3c5b;           /* Titre articles, vert foncé naturel */
  --text-secondary: #5a6b85;         /* Meta articles, gris vert doux */
  --text-muted: #7d879c;             /* Description articles, ton neutre */

  /* ===================== Hover boutons ===================== */
  --nav-theme-color-dark: #3a5a85;   /* Hover des boutons verts */

  /* ===================== Typographie ===================== */
  --font-family-base: 'Bellota Text', display; /* Police élégante et rustique */
}


body {
  font-family: var(--font-family-base);
  background-color: var(--nav-theme-fond);
  overflow-x: hidden;
}

img.blason-mairie {
    height: 3rem;
}

.display-1, .display-2, .display-4, .display-5, .display-7 {
  font-family: var(--font-family-base);
}

.display-1 {
  font-size: 4.6rem;
  line-height: 1.1;
}
.display-1 > .syn-iconfont {
  font-size: 5.75rem;
}
.display-2 {
  font-size: 3rem;
  line-height: 1.1;
}
.display-2 > .syn-iconfont {
  font-size: 3.75rem;
}
.display-4 {
  font-size: 1.1rem;
  line-height: 1.5;
}
.display-4 > .syn-iconfont {
  font-size: 1.375rem;
}
.display-5 {
  font-size: 2rem;
  line-height: 1.5;
}
.display-5 > .syn-iconfont {
  font-size: 2.5rem;
}
.display-7 {
  font-size: 1.2rem;
  line-height: 1.5;
}
.display-7 > .syn-iconfont {
  font-size: 1.5rem;
}

@media (max-width: 992px) {
  .display-1 {
    font-size: 3.68rem;
  }
}
@media (max-width: 768px) {
  .display-1 {
    font-size: calc( 2.26rem + (4.6 - 2.26) * ((100vw - 20rem) / (48 - 20)));
    line-height: calc( 1.1 * (2.26rem + (4.6 - 2.26) * ((100vw - 20rem) / (48 - 20))));
  }
  .display-2 {
    font-size: calc( 1.7rem + (3 - 1.7) * ((100vw - 20rem) / (48 - 20)));
    line-height: calc( 1.3 * (1.7rem + (3 - 1.7) * ((100vw - 20rem) / (48 - 20))));
  }
  .display-4 {
    font-size: calc( 1.035rem + (1.1 - 1.035) * ((100vw - 20rem) / (48 - 20)));
    line-height: calc( 1.4 * (1.035rem + (1.1 - 1.035) * ((100vw - 20rem) / (48 - 20))));
  }
  .display-5 {
    font-size: calc( 1.35rem + (2 - 1.35) * ((100vw - 20rem) / (48 - 20)));
    line-height: calc( 1.4 * (1.35rem + (2 - 1.35) * ((100vw - 20rem) / (48 - 20))));
  }
  .display-7 {
    font-size: calc( 1.07rem + (1.2 - 1.07) * ((100vw - 20rem) / (48 - 20)));
    line-height: calc( 1.4 * (1.07rem + (1.2 - 1.07) * ((100vw - 20rem) / (48 - 20))));
  }
}
<!--
/* Boutons */
.btn {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
}
.btn-sm {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
}
.btn-md {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
}
.btn-lg {
  padding: 1rem 2.6rem;
  border-radius: 4px;
}

/* Couleurs */
.bg-primary {
  background-color: var(--nav-theme-color) !important;
}
.bg-success {
  background-color: var(--nav-theme-color) !important;
}

/* Boutons primaires */
.btn-primary,
.btn-primary:active {
  background-color: var(--nav-theme-color) !important;
  border-color: var(--nav-theme-color) !important;
  color: var(--theme-text-white) !important;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary.active {
  color: var(--theme-text-white) !important;
  background-color: var(--nav-theme-hover) !important;
  border-color: var(--nav-theme-hover) !important;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.btn-primary.disabled,
.btn-primary:disabled {
  color: var(--theme-text-white) !important;
  background-color: var(--nav-theme-hover) !important;
  border-color: var(--nav-theme-hover) !important;
}

/* Boutons secondaires */
.btn-secondary,
.btn-secondary:active {
  background-color: var(--nav-cancel-color) !important;
  border-color: var(--nav-cancel-color) !important;
  color: var(--theme-text-white) !important;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary.focus,
.btn-secondary.active {
  color: var(--theme-text-white) !important;
  background-color: var(--nav-cancel-hover) !important;
  border-color: var(--nav-cancel-hover) !important;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.btn-secondary:active {
  background-color: var(--nav-cancel-active) !important;
  border-color: var(--nav-cancel-active) !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}
.btn-secondary.disabled,
.btn-secondary:disabled {
  color: var(--theme-text-white) !important;
  background-color: var(--nav-cancel-disabled) !important;
  border-color: var(--nav-cancel-disabled) !important;
}

/* Boutons success */
.btn-success,
.btn-success:active {
  background-color: var(--nav-theme-color) !important;
  border-color: var(--nav-theme-color) !important;
  color: var(--theme-text-white) !important;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-success:hover,
.btn-success:focus,
.btn-success.focus,
.btn-success.active {
  color: var(--theme-text-white) !important;
  background-color: var(--nav-theme-hover) !important;
  border-color: var(--nav-theme-hover) !important;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.btn-success:active {
  background-color: var(--nav-theme-active) !important;
  border-color: var(--nav-theme-active) !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}
.btn-success.disabled,
.btn-success:disabled {
  color: var(--nav-text-disable) !important;
  background-color: var(--nav-theme-disabled) !important;
  border-color: var(--nav-theme-disabled) !important;
}

/* Boutons blancs */
.btn-white,
.btn-white:active {
  background-color: var(--nav-text-color) !important;
  border-color: var(--nav-theme-color) !important;
  color: var(--nav-theme-color) !important;
  font-weight: bold !important;
  border-width: 2px !important;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-white:hover,
.btn-white:focus,
.btn-white.focus,
.btn-white.active {
  color: var(--nav-text-color) !important;
  background-color: var(--nav-theme-color) !important;
  border-color: var(--nav-theme-color) !important;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.btn-white:active {
  background-color: var(--nav-theme-hover) !important;
  border-color: var(--nav-theme-hover) !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}
.btn-white.disabled,
.btn-white:disabled {
  color: var(--nav-text-disable) !important;
  background-color: var(--theme-text_dark) !important;
  border-color: var(--nav-text-disable) !important;
}

/* Textes */
.text-primary {
  color: var(--theme-text) !important;
}
.text-white {
  color: var(--nav-text-color) !important;
}
a.text-primary:hover,
a.text-primary:focus,
a.text-primary.active {
  color: var(--nav-theme-hover) !important;
}
a.text-white:hover,
a.text-white:focus,
a.text-white.active {
  color: var(--nav-theme-disabled) !important;
}
a[class*="text-"]:not(.nav-link):not(.dropdown-item):not([role]):not(.navbar-caption) {
  position: relative;
  background-image: transparent;
  background-size: 10000px 2px;
  background-repeat: no-repeat;
  background-position: 0px 1.2em;
  background-position: -10000px 1.2em;
}
a[class*="text-"]:not(.nav-link):not(.dropdown-item):not([role]):not(.navbar-caption):hover {
  transition: background-position 2s ease-in-out;
  background-image: linear-gradient(currentColor 50%, currentColor 50%);
  background-position: 0px 1.2em;
}
a,
a:hover {
  color: var(--theme-text);
}

/* Formulaire */
.form-control,
.form-control:-webkit-input-placeholder {
  font-family: var(--font-family-base);
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 400;
}
.form-control > .syn-iconfont,
.form-control:-webkit-input-placeholder > .syn-iconfont {
  font-size: 1.375rem;
}
.form-control:hover,
.form-control:focus {
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px 0px, rgba(0, 0, 0, 0.07) 0px 1px 3px 0px, rgba(0, 0, 0, 0.03) 0px 0px 0px 1px;
  border-color: var(--nav-theme-color) !important;
}

/* Lazy */
.lazy-bg {
  background-image: none !important;
}
.lazy-placeholder:not(section),
.lazy-none {
  display: block;
  position: relative;
  padding-bottom: 56.25%;
  width: 100%;
  height: auto;
}-->
body {
  overflow-x: hidden;
}
a {
  transition: color 0.6s;
}
	
.syn-sect-barre-menu {
  z-index: 1000;
  width: 100%;
  position: relative;
  min-height: 60px;
}
.syn-sect-barre-menu nav.navbar {
  position: fixed;
}
.syn-sect-barre-menu .dropdown-item:before {
  font-family: Moririse2 !important;
  content: "\e966";
  display: inline-block;
  width: 0;
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  margin-right: 0.5rem;
  line-height: 1;
  font-size: inherit;
  vertical-align: middle;
  text-align: center;
  overflow: hidden;
  transform: scale(0, 1);
  transition: all 0.25s ease-in-out;
}
.syn-sect-barre-menu .dropdown-menu {
  padding: 0;
  border-radius: 4px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
.syn-sect-barre-menu .dropdown-item {
  border-bottom: 1px solid #e6e6e6;
}
.syn-sect-barre-menu .dropdown-item:hover,
.syn-sect-barre-menu .dropdown-item:focus {
  background: var(--nav-theme-color) !important;
  color: white !important;
}
.syn-sect-barre-menu .dropdown-item:hover span {
  color: white;
}
.syn-sect-barre-menu .dropdown-item:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.syn-sect-barre-menu .dropdown-item:last-child {
  border-bottom: none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.syn-sect-barre-menu .nav-dropdown .link {
  padding: 0 0.3em !important;
  margin: 0.667em 1em !important;
}
.syn-sect-barre-menu .nav-dropdown .link.dropdown-toggle::after {
  margin-left: 0.5rem;
  margin-top: 0.2rem;
}
.syn-sect-barre-menu .nav-link {
  position: relative;
}
.syn-sect-barre-menu .container {
  display: flex;
  margin: auto;
  flex-wrap: nowrap;
}
@media (max-width: 991px) {
  .syn-sect-barre-menu .container {
    flex-wrap: wrap;
  }
}
.syn-sect-barre-menu .container-fluid {
  flex-wrap: nowrap;
}
@media (max-width: 991px) {
  .syn-sect-barre-menu .container-fluid {
    flex-wrap: wrap;
  }
}
.syn-sect-barre-menu .iconfont-wrapper {
  color: var(--theme-text_dark) !important;
  font-size: 1.5rem;
  padding-right: 0.5rem;
}
.syn-sect-barre-menu .dropdown-menu,
.syn-sect-barre-menu .navbar.opened {
  background: var(--nav-theme-color) !important;
}
.syn-sect-barre-menu .nav-item:focus,
.syn-sect-barre-menu .nav-link:focus {
  outline: none;
}
.syn-sect-barre-menu .dropdown .dropdown-menu .dropdown-item {
  width: auto;
  transition: all 0.25s ease-in-out;
}
.syn-sect-barre-menu .dropdown .dropdown-menu .dropdown-item::after {
  right: 0.5rem;
}
.syn-sect-barre-menu .dropdown .dropdown-menu .dropdown-item .syn-iconfont {
  margin-right: 0.5rem;
  vertical-align: sub;
}
.syn-sect-barre-menu .dropdown .dropdown-menu .dropdown-item .syn-iconfont:before {
  display: inline-block;
  transform: scale(1, 1);
  transition: all 0.25s ease-in-out;
}
.syn-sect-barre-menu .collapsed .dropdown-menu .dropdown-item:before {
  display: none;
}
.syn-sect-barre-menu .collapsed .dropdown .dropdown-menu .dropdown-item {
  padding: 0.235em 1.5em 0.235em 1.5em !important;
  transition: none;
  margin: 0 !important;
}
.syn-sect-barre-menu .navbar {
  min-height: 70px;
  transition: all 0.3s;
  border-bottom: 1px solid transparent;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  background: var(--nav-theme-color);
}
.syn-sect-barre-menu .navbar.opened {
  transition: all 0.3s;
}
.syn-sect-barre-menu .navbar .dropdown-item {
  padding: 0.5rem 1.8rem;
}
.syn-sect-barre-menu .navbar .navbar-logo img {
  width: auto;
}
.syn-sect-barre-menu .navbar .navbar-collapse {
  justify-content: flex-end;
  z-index: 1;
}
.syn-sect-barre-menu .navbar.collapsed {
  justify-content: center;
}
.syn-sect-barre-menu .navbar.collapsed .nav-item .nav-link::before {
  display: none;
}
.syn-sect-barre-menu .navbar.collapsed.opened .dropdown-menu {
  top: 0;
}
@media (min-width: 992px) {
  .syn-sect-barre-menu .navbar.collapsed.opened:not(.navbar-short) .navbar-collapse {
    max-height: calc(98.5vh - 3rem);
  }
}
.syn-sect-barre-menu .navbar.collapsed .dropdown-menu .dropdown-submenu {
  left: 0 !important;
}
.syn-sect-barre-menu .navbar.collapsed .dropdown-menu .dropdown-item:after {
  right: auto;
}
.syn-sect-barre-menu .navbar.collapsed .dropdown-menu .dropdown-toggle[data-toggle="dropdown-submenu"]:after {
  margin-left: 0.5rem;
  margin-top: 0.2rem;
  border-top: 0.35em solid;
  border-right: 0.35em solid transparent;
  border-left: 0.35em solid transparent;
  border-bottom: 0;
  top: 41%;
}
.syn-sect-barre-menu .navbar.collapsed ul.navbar-nav li {
  margin: auto;
}
.syn-sect-barre-menu .navbar.collapsed .dropdown-menu .dropdown-item {
  padding: 0.25rem 1.5rem;
  text-align: center;
}
.syn-sect-barre-menu .navbar.collapsed .icons-menu {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
@media (max-width: 991px) {
  .syn-sect-barre-menu .navbar .nav-item .nav-link::before {
    display: none;
  }
  .syn-sect-barre-menu .navbar.opened .dropdown-menu {
    top: 0;
  }
  .syn-sect-barre-menu .navbar .dropdown-menu .dropdown-submenu {
    left: 0 !important;
  }
  .syn-sect-barre-menu .navbar .dropdown-menu .dropdown-item:after {
    right: auto;
  }
  .syn-sect-barre-menu .navbar .dropdown-menu .dropdown-toggle[data-toggle="dropdown-submenu"]:after {
    margin-left: 0.5rem;
    margin-top: 0.2rem;
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-left: 0.35em solid transparent;
    border-bottom: 0;
    top: 40%;
  }
  .syn-sect-barre-menu .navbar .navbar-logo img {
    height: 3rem !important;
  }
  .syn-sect-barre-menu .navbar ul.navbar-nav li {
    margin: auto;
  }
  .syn-sect-barre-menu .navbar .dropdown-menu .dropdown-item {
    padding: 0.25rem 1.5rem !important;
    text-align: center;
  }
  .syn-sect-barre-menu .navbar .navbar-brand {
    flex-shrink: initial;
    flex-basis: auto;
    word-break: break-word;
    padding-right: 2rem;
  }
  .syn-sect-barre-menu .navbar .navbar-toggler {
    flex-basis: auto;
  }
  .syn-sect-barre-menu .navbar .icons-menu {
    padding-left: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}
@media (max-width: 991px) and (max-width: 767px) {
  .syn-sect-barre-menu .navbar .navbar-brand {
    width: calc(100% - 31px);
  }
}
.syn-sect-barre-menu .navbar.navbar-short {
  min-height: 60px;
}
.syn-sect-barre-menu .navbar.navbar-short .navbar-logo img {
  height: 2.5rem !important;
}
.syn-sect-barre-menu .navbar.navbar-short .navbar-brand {
  min-height: 60px;
  padding: 0;
}
.syn-sect-barre-menu .navbar-brand {
  min-height: 70px;
  flex-shrink: 0;
  align-items: center;
  margin-right: 0;
  padding: 10px 0;
  transition: all 0.3s;
  word-break: break-word;
  z-index: 1;
}
.syn-sect-barre-menu .navbar-brand .navbar-caption {
  line-height: inherit !important;
}
.syn-sect-barre-menu .navbar-brand .navbar-logo a {
  outline: none;
}
.syn-sect-barre-menu .dropdown-item.active,
.syn-sect-barre-menu .dropdown-item:active {
  background-color: transparent;
}
.syn-sect-barre-menu .navbar-expand-lg .navbar-nav .nav-link {
  padding: 0;
}
.syn-sect-barre-menu .nav-dropdown .link.dropdown-toggle {
  margin-right: 1.667em;
}
.syn-sect-barre-menu .nav-dropdown .link.dropdown-toggle[aria-expanded="true"] {
  margin-right: 0;
  padding: 0.667em 1.667em;
}
.syn-sect-barre-menu .navbar.navbar-expand-lg .dropdown .dropdown-menu {
  background: var(--nav-theme-color);
}
.syn-sect-barre-menu .navbar.navbar-expand-lg .dropdown .dropdown-menu .dropdown-submenu {
  margin: 0;
  left: 100%;
}
.syn-sect-barre-menu .navbar .dropdown.open > .dropdown-menu {
  display: block;
}
.syn-sect-barre-menu ul.navbar-nav {
  flex-wrap: wrap;
}
.syn-sect-barre-menu .navbar-buttons {
  text-align: center;
  min-width: 170px;
}
.syn-sect-barre-menu button.navbar-toggler {
  outline: none;
  width: 31px;
  height: 20px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  align-self: center;
}
.syn-sect-barre-menu button.navbar-toggler .hamburger span {
  position: absolute;
  right: 0;
  width: 30px;
  height: 2px;
  border-right: 5px;
  background-color: var(--theme-text-white);
}
.syn-sect-barre-menu button.navbar-toggler .hamburger span:nth-child(1) {
  top: 0;
  transition: all 0.2s;
}
.syn-sect-barre-menu button.navbar-toggler .hamburger span:nth-child(2) {
  top: 8px;
  transition: all 0.15s;
}
.syn-sect-barre-menu button.navbar-toggler .hamburger span:nth-child(3) {
  top: 8px;
  transition: all 0.15s;
}
.syn-sect-barre-menu button.navbar-toggler .hamburger span:nth-child(4) {
  top: 16px;
  transition: all 0.2s;
}
.syn-sect-barre-menu nav.opened .hamburger span:nth-child(1) {
  top: 8px;
  width: 0;
  opacity: 0;
  right: 50%;
  transition: all 0.2s;
}
.syn-sect-barre-menu nav.opened .hamburger span:nth-child(2) {
  transform: rotate(45deg);
  transition: all 0.25s;
}
.syn-sect-barre-menu nav.opened .hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  transition: all 0.25s;
}
.syn-sect-barre-menu nav.opened .hamburger span:nth-child(4) {
  top: 8px;
  width: 0;
  opacity: 0;
  right: 50%;
  transition: all 0.2s;
}
.syn-sect-barre-menu .navbar-dropdown {
  padding: 0 1rem;
  position: fixed;
}
.syn-sect-barre-menu a.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
}
.syn-sect-barre-menu .icons-menu {
  flex-wrap: nowrap;
  display: flex;
  justify-content: center;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.3rem;
  text-align: center;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .syn-sect-barre-menu .navbar {
    height: 70px;
  }
  .syn-sect-barre-menu .navbar.opened {
    height: auto;
  }
  .syn-sect-barre-menu .nav-item .nav-link:hover::before {
    width: 175%;
    max-width: calc(100% + 2rem);
    left: -1rem;
  }
}


/* ----------------- syn_presentation.php ----------------- */
#illustration.syn-sect-parallax {
    position: relative;
    padding-top: 17rem;
    padding-bottom: 16rem;
    overflow: hidden;
    color: var(--theme-text-white);
    text-align: center;
}
#illustration .parallax-bg {
    position: absolute;
    top: -15%;
    left: 0; right: 0; bottom: -15%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    will-change: transform;
    z-index: -2;
}
#illustration .mbr-overlay {
    background: rgba(0,0,0,0.1);
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    pointer-events: none;
    z-index: -1;
}
#illustration .container { position: relative; z-index: 1; }

.syn-sect-presentation .line {
    background-color: var(--nav-theme-color);
    height: 2px;
    margin: 0 auto;
}
@media (max-width: 768px) {
  #illustration .parallax-bg {
    transform: none !important;
  }
}


/* ----------------- syn_index_agenda.php ----------------- */
/* =======================
   Agenda - Harmonisation
   ======================= */
#agenda.syn-agenda {
  padding: 2rem 1rem 3rem 1rem;
}

/* Header */
#agenda.syn-agenda .agenda-header {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 24px rgba(30, 60, 80, 0.08);
  padding: 2rem 1.7rem 1rem 1.7rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#agenda.syn-agenda .agenda-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--nav-theme-color);
  margin-bottom: 0.4rem;
  line-height: 1.1;
}

#agenda.syn-agenda .agenda-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: 600px;
}

#agenda.syn-agenda .agenda-header::after {
  content: "";
  display: block;
  width: 80px;
  border-bottom: 3px solid var(--nav-theme-color);
  margin-top: 1rem;
}

/* Filters */
#agenda.syn-agenda .filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 1rem;
}

#agenda.syn-agenda form#agenda-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1;
  min-width: 180px;
}
#agenda.syn-agenda form#agenda-filters input[type=search],
#agenda.syn-agenda form#agenda-filters select {
  border: 1px solid #ced4da;
  border-radius: 0.38rem;
  font-size: 1.09rem;
  padding: 0.46rem 0.9rem;
}

#agenda.syn-agenda form#agenda-filters input[type=search] {
  flex: 1;
  min-width: 180px;
}

#agenda.syn-agenda form#agenda-filters select {
  width: 180px;
  padding: 0.46rem 0.85rem;
}

#agenda.syn-agenda form#agenda-filters button {
  white-space: nowrap;
}

/* View toggle */
#agenda.syn-agenda .view-toggle {
  display: flex;
  gap: 0.5rem;
}

#agenda.syn-agenda .view-toggle button {
  width: 41px;
  height: 41px;
  font-size: 1.3rem;
  border-radius: 9px;
  border: 1.5px solid #1879bc;
  background: #ffffff;
  color: #1761a8;
  transition: .18s;
  cursor: pointer;
}

#agenda.syn-agenda .view-toggle button.active {
  background: #1761a8;
  color: #fff;
  box-shadow: 0 2px 10px rgba(13,110,253,0.09);
}

/* Map container */
#agenda.syn-agenda .map-container {
  background: #f6f8fa;
  border: 1px solid #dde3eb;
  border-radius: 15px;
  margin-bottom: 2.1rem;
  padding: 1.4rem 1.8rem 1.3rem 1.8rem;
  box-shadow: 0 1px 10px rgba(30,60,80,0.07);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#agenda.syn-agenda #agenda-map {
  width: 100%;
  height: 260px;
  min-height: 180px;
  border-radius: 10px;
  z-index: 1;
}

/* ==========================
   Grid View
   ========================== */
#agenda.syn-agenda .agenda-grid.grid-view {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  padding-bottom: 1rem;
}

#agenda.syn-agenda .agenda-grid.grid-view .agenda-item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#agenda.syn-agenda .agenda-grid.grid-view .card {
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 2px 11px rgb(0 0 0 / 0.10);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

#agenda.syn-agenda .agenda-grid.grid-view .card:hover {
  box-shadow: 0 12px 25px rgb(30 60 100 / 0.25);
  transform: translateY(-4px);
}

#agenda.syn-agenda .card-img-top {
  height: 135px;
  width: 100%;
  object-fit: cover;
  background: var(--color-gray-light);
}

#agenda.syn-agenda .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 0.9rem 1rem 1.1rem 1rem;
}

#agenda.syn-agenda .card-title {
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.22;
  margin-bottom: 0.3rem;
  font-size: 1.18em;
}

#agenda.syn-agenda .card-sub {
  font-size: 0.98em;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

#agenda.syn-agenda .card-desc {
  color: var(--text-dark);
  font-size: 0.97em;
  margin-bottom: 0.4rem;
  flex: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

#agenda.syn-agenda .chips {
  display: flex;
  gap: 0.5em;
  margin-bottom: 0.4rem;
}

#agenda.syn-agenda .chip-time {
  background: #d5f9ea;
  color: #29795d;
}

#agenda.syn-agenda .chip-dist {
  background: #e0f0ff;
  color: #1760a9;
}

#agenda.syn-agenda .card-action {
  margin-top: auto;
  text-align: right;
}

#agenda.syn-agenda .btn-outline-primary {
  font-size: 1rem;
  border-radius: 7px;
  padding: 0.45em 1.2em;
  font-family: inherit;
  min-width: 44px;
  min-height: 44px;
  color: var(--nav-theme-color);
  border: 1px solid var(--nav-theme-color);
  background: transparent;
}

#agenda.syn-agenda .no-events {
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* Wrapper image + logo superposé */
#agenda.syn-agenda .card-img-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

#agenda.syn-agenda .card-img-wrapper .sma-logo {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 40px;
  height: auto;
  z-index: 2;
}

/* Badge categories */
#agenda.syn-agenda .badge-category {
  font-size: 0.77rem;
  padding: 0.24em 0.8em;
  border-radius: 11px;
  color: var(--color-white);
  margin-bottom: 0.3em;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
}

#agenda.syn-agenda .badge-category i {
  margin-right: 0.4em;
}

/* Bouton central */
#agenda.syn-agenda .btn-container {
  text-align: center;
  margin-top: 1rem;
}

/* ==========================
   LIST VIEW
   ========================== */
#agenda.syn-agenda .agenda-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-bottom: 1rem;
}

#agenda.syn-agenda .agenda-grid.list-view .event-list-item {
  display: flex;
  align-items: center;
  border-radius: 15px;
  box-shadow: 0 1px 10px rgba(30,60,80,0.08);
  background: #fff;
  padding: 0.65rem 1.2rem;
  transition: box-shadow 0.18s;
  cursor: pointer;
}

#agenda.syn-agenda .agenda-grid.list-view .event-list-item:hover {
  box-shadow: 0 6px 18px rgba(40,70,120,0.12);
}

#agenda.syn-agenda .agenda-grid.list-view .event-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 11px;
  margin-right: 1.3rem;
  background: #eee;
  flex-shrink: 0;
}

#agenda.syn-agenda .agenda-grid.list-view .event-list-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  overflow: hidden;
}

#agenda.syn-agenda .agenda-grid.list-view .event-title {
  font-weight: 700;
  font-size: 1.09rem;
  color: #174275;
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
}

#agenda.syn-agenda .agenda-grid.list-view .badge {
  font-size: 0.83em;
  padding: 0.17em 0.7em;
  background: #5c6f9d;
  border-radius: 9px;
  white-space: nowrap;
}

#agenda.syn-agenda .agenda-grid.list-view .event-meta {
  font-size: 0.96em;
  color: #4f688c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#agenda.syn-agenda .agenda-grid.list-view .event-desc {
  color: #3d4665;
  font-size: 0.96em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
}

#agenda.syn-agenda .agenda-grid.list-view .event-chips {
  margin-top: 0.2rem;
  display: flex;
  gap: 0.7em;
  flex-wrap: wrap;
}

#agenda.syn-agenda .agenda-grid.list-view .chip {
  background: #f3f6fa;
  color: #2371ad;
  font-size: 0.9em;
  border-radius: 9px;
  padding: 0.16em 0.8em;
  white-space: nowrap;
}

#agenda.syn-agenda .agenda-grid.list-view .chip-time {
  background: #d5f9ea;
  color: #29795d;
}

#agenda.syn-agenda .agenda-grid.list-view .chip-dist {
  background: #e0f0ff;
  color: #1760a9;
}

#agenda.syn-agenda .agenda-grid.list-view .btn {
  margin-left: 1em;
  font-size: 0.93em;
  border-radius: 7px;
  white-space: nowrap;
}

/* ==========================
   Responsive
   ========================== */
@media(max-width: 991px) {
  #agenda.syn-agenda .agenda-grid.grid-view {
    grid-template-columns: repeat(1, 1fr);
  }

  #agenda.syn-agenda .agenda-grid.list-view .event-desc {
    max-width: 250px;
  }

  #agenda.syn-agenda .agenda-grid.list-view .event-meta {
    font-size: 0.9rem;
    color: #667;
  }
}

/* Cluster markers */
#agenda.syn-agenda .marker-cluster div {
  background-color: #2979ff !important;
  border-radius: 50%;
  border: 3px solid #fff !important;
  color: #fff !important;
  font-weight: bold;
  font-size: 15px;
}

/* Wrapper image + logo superposé */
#agenda.syn-agenda .card-img-wrapper img.card-img-top {
  display: block;
  width: 100%;
  height: 135px;
  object-fit: cover;
}

#agenda.syn-agenda .card-img-wrapper .sma-logo {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 40px;
  height: auto;
  z-index: 2;
}

/* Vue liste thumbnails */
#agenda.syn-agenda .event-thumb-wrapper img.event-thumb {
  display: block;
}

#agenda.syn-agenda .event-thumb-wrapper .sma-logo {
  position: absolute;
  bottom: 4px;
  left: 4px;
  width: 26px;
  height: auto;
  z-index: 2;
}


/* ----------------- syn_agenda.php ----------------- */
#agenda.syn-agenda {
  padding: 2rem 1rem 3rem 1rem;
}
#agenda.syn-agenda .agenda-header {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 24px rgba(30, 60, 80, 0.08);
  padding: 2rem 1.7rem 1rem 1.7rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#agenda.syn-agenda .agenda-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--nav-theme-color);
  margin-bottom: 0.4rem;
  line-height: 1.1;
}
#agenda.syn-agenda .agenda-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: 600px;
}
#agenda.syn-agenda .agenda-header::after {
  content: "";
  display: block;
  width: 80px;
  border-bottom: 3px solid var(--nav-theme-color);
  margin-top: 1rem;
}
#agenda.syn-agenda .agenda-grid.grid-view {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  padding-bottom: 1rem;
}
#agenda.syn-agenda .agenda-item {
  display: flex;
  flex-direction: column;
  width: 100%;
}
#agenda.syn-agenda .agenda-grid.grid-view .card {
  border-radius: 15px;
  background: var(--color-white);
  box-shadow: 0 2px 11px rgb(0 0 0 / 0.10);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}
#agenda.syn-agenda .agenda-grid.grid-view .card:hover {
  box-shadow: 0 12px 25px rgb(30 60 100 / 0.25);
  transform: translateY(-4px);
}
#agenda.syn-agenda .card-img-top {
  height: 135px;
  width: 100%;
  object-fit: cover;
  background: var(--color-gray-light);
}
#agenda.syn-agenda .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 0.9rem 1rem 1.1rem 1rem;
}
#agenda.syn-agenda .card-title {
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.22;
  margin-bottom: 0.3rem;
  font-size: 1.18em;
}
#agenda.syn-agenda .card-sub {
  font-size: 0.98em;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}
#agenda.syn-agenda .card-desc {
  color: var(--text-dark);
  font-size: 0.97em;
  margin-bottom: 0.4rem;
  flex: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
#agenda.syn-agenda .chips {
  display: flex;
  gap: 0.5em;
  margin-bottom: 0.4rem;
}
#agenda.syn-agenda .chip-time {
  background: #d5f9ea;
  color: #29795d;
}
#agenda.syn-agenda .chip-dist {
  background: #e0f0ff;
  color: #1760a9;
}
#agenda.syn-agenda .card-action {
  margin-top: auto;
  text-align: right;
}
#agenda.syn-agenda .btn-outline-primary {
  font-size: 1rem;
  border-radius: 7px;
  padding: 0.45em 1.2em;
  font-family: inherit;
  min-width: 44px;
  min-height: 44px;
  color: var(--nav-theme-color);
  border: 1px solid var(--nav-theme-color);
  background: transparent;
}
#agenda.syn-agenda .no-events {
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  color: var(--text-muted);
  margin-top: 2rem;
}
#agenda.syn-agenda .card-img-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}
#agenda.syn-agenda .card-img-wrapper .sma-logo {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 40px;
  height: auto;
  z-index: 2;
}
#agenda.syn-agenda .badge-category {
  font-size: 0.77rem;
  padding: 0.24em 0.8em;
  border-radius: 11px;
  color: var(--color-white);
  margin-bottom: 0.3em;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
}
#agenda.syn-agenda .badge-category i {
  margin-right: 0.4em;
}
#agenda.syn-agenda .btn-container {
  text-align: center;
  margin-top: 1rem;
}


/* ----------------- syn_agenda_view.php ----------------- */
#event-view-container {
  max-width: 900px;
  margin: 2rem auto 4rem;
  background: var(--nav-theme-fond, #fff);
  border-radius: 12px;
  box-shadow: 0 2px 24px rgba(30, 60, 80, 0.08);
  padding: 2rem;
  font-family: var(--font-family-base, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
  color: var(--theme-text_dark, #000);
}

#event-view-container h1 {
  color: var(--theme-text, #4d6d9a);
  font-weight: 800;
  font-size: 2.6rem;
  margin-bottom: 0.4rem;
}

#event-view-container .event-date-location {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-secondary, #5a6b85);
  margin-bottom: 1.5rem;
}

#event-view-container section {
  margin-bottom: 2rem;
}

#event-view-container .section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--theme-text, #4d6d9a);
  border-bottom: 2px solid var(--theme-text, #4d6d9a);
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
}

#event-view-container p,
#event-view-container ul {
  font-size: 1rem;
  color: var(--theme-text_dark, #000);
  margin-top: 0.3rem;
  margin-bottom: 1rem;
}

#event-view-container ul {
  padding-left: 1.4rem;
}

#event-view-container .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#event-view-container .chip {
  background-color: var(--color-gray-lightest, #f9f9f9);
  color: var(--theme-text, #4d6d9a);
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
}

#print-btn {
  background: var(--nav-theme-color, #4d6d9a);
  color: var(--theme-text-white, #fff);
  border: none;
  padding: 8px 16px;
  border-radius: 7px;
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 1rem;
}

#print-btn:hover {
  background: var(--nav-theme-hover, #304460);
}

#event-view-container #event-view-hero-img {
  width: 100%;
  max-height: 350px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(30, 60, 80, 0.15);
  margin-bottom: 1.8rem;
}

#event-view-container #map {
  width: 100%;
  height: 280px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(30, 60, 80, 0.15);
  margin-top: 1rem;
}

#event-view-container .event-recurrence {
  background-color: var(--color-gray-lightest, #f9f9f9);
  border: 1px solid var(--theme-text, #4d6d9a);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--theme-text, #4d6d9a);
}

/* Galerie photos */
#event-view-container .gallery {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-behavior: smooth;
}

#event-view-container .gallery img {
  flex: 0 0 auto;
  height: 130px;
  width: auto;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(30, 60, 80, 0.1);
  transition: transform 0.25s ease;
}

#event-view-container .gallery img:hover,
#event-view-container .gallery img:focus {
  transform: scale(1.05);
}

/* Modal images */
#event-view-container .modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

#event-view-container .modal-content {
  max-width: 90%;
  max-height: 90vh;
  width: auto;
  height: auto;
  margin: auto;
  display: block;
  object-fit: contain;
  animation: zoom 0.3s;
}

@keyframes zoom {
  from {
    transform: scale(0.7);
  }
  to {
    transform: scale(1);
  }
}

/* Bouton fermer */
#event-view-container .close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: var(--theme-text-white, #fff);
  font-size: 38px;
  font-weight: bold;
  cursor: pointer;
}

#event-view-container .prev,
#event-view-container .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: var(--theme-text-white, #fff);
  font-weight: bold;
  font-size: 28px;
  user-select: none;
  transition: 0.3s;
}

#event-view-container .prev:hover,
#event-view-container .next:hover {
  color: var(--nav-theme-color, #4d6d9a);
}

#event-view-container .prev {
  left: 5%;
}

#event-view-container .next {
  right: 5%;
}

/* Alertes */
#event-view-container .alert-danger {
  background-color: var(--nav-cancel-color, #d9534f);
  color: var(--theme-text-white, #fff);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Print */
@media print {
  body * {
    visibility: hidden;
  }

  #print-btn {
    display: none !important;
  }

  @page {
    margin-top: 3cm;
    margin-bottom: 3cm;
    margin-left: 3cm;
    margin-right: 3cm;
  }

  #event-view-container,
  #event-view-container * {
    visibility: visible;
  }

  #event-view-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-sizing: border-box;
  }
  #event-view-container h1,
  #event-view-container #event-view-hero-img,
  #event-view-container section:nth-of-type(1) {
    page-break-inside: auto;
  }

  #event-view-container section:not(:nth-of-type(1)) {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  #event-view-container h2.section-title {
    page-break-before: avoid;
    page-break-after: avoid;
  }

  #event-view-container #map {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  #event-view-container img {
    max-width: 100%;
    height: auto;
    page-break-inside: avoid;
  }

  body,
  #event-view-container {
    color: #000;
    background: #fff;
    font-size: 12pt;
    font-family: Times, serif;
  }
}


/* ----------------- syn_actualite.php ----------------- */
/* Conteneur général avec padding */
#actualites.syn-actualites {
  padding: 2rem 1rem 3rem 1rem;
}

/* Header Actualités */
#actualites.syn-actualites .actualites-header {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 24px rgba(30, 60, 80, 0.08);
  padding: 2rem 1.7rem 1rem 1.7rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Titre principal */
#actualites.syn-actualites .actualites-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--nav-theme-color);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

/* Sous-titre / description */
#actualites.syn-actualites .actualites-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 1rem;
}

/* Grille responsive */
#actualites-results.actualites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem; /* harmonisé avec agenda */
}

/* Carte actualité */
#actualites.syn-actualites .actualite-item {
  background: var(--color-white);
  border-radius: 15px;
  box-shadow: 0 2px 11px rgb(0 0 0 / 0.10);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

#actualites.syn-actualites .actualite-item:hover,
#actualites.syn-actualites .actualite-item:focus {
  box-shadow: 0 12px 25px rgb(30 60 100 / 0.25);
  transform: translateY(-4px);
  outline: none;
}

#actualites.syn-actualites .actualite-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: var(--color-gray-light);
}

#actualites.syn-actualites .actualite-content {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

#actualites.syn-actualites .actualite-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

#actualites.syn-actualites .actualite-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

#actualites.syn-actualites .actualite-date-author {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: auto;
}

/* Footer carte et bouton */
#actualites.syn-actualites .actualite-footer {
  margin-top: 1rem;
  text-align: right;
}

#actualites.syn-actualites .actualite-footer .btn {
  font-size: 1rem;
  padding: 0.45em 1.2em;
  border-radius: 7px;
  min-width: 44px;
  min-height: 44px;
  color: var(--nav-theme-color);
  border: 1px solid var(--nav-theme-color);
  background: transparent;
}

/* Badge top actu */
#actualites.syn-actualites .actualite-top-label {
  position: absolute;
  top: 0;
  right: 0;
  background: #d2232a;
  color: #fff;
  padding: 0.2em 0.6em;
  font-weight: 700;
  font-size: 0.8rem;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 8px;
  z-index: 10;
}

/* Bouton "Consultez toutes les actualités" */
#actualites.syn-actualites .btn-container .btn {
  color: var(--nav-theme-color);
  border: 1px solid var(--nav-theme-color);
  background: transparent;
  font-size: 1rem;
  border-radius: 7px;
  padding: 0.45em 1.2em;
  min-width: 44px;
  min-height: 44px;
  margin-top: 1.5rem; /* espace harmonisé avec agenda */
}

/* Message aucune actualité */
#actualites.syn-actualites .no-news {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 2rem;
}


/* ----------------- syn_index_actu.php ----------------- */
/* ===================== SECTION ACTUALITÉS ===================== */
#actualites {
  padding: 2rem 1rem 3rem 1rem;
  background: var(--color-background);
}

/* Header Actualités */
#actualites .header {
  background: var(--nav-theme-fond);
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(30, 60, 80, 0.1);
  padding: 1.6rem 1.7rem 1rem 1.7rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Titre principal */
#actualites .title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--nav-theme-color);
  text-align: center;
  margin: 0;
}

/* ===================== FORMULAIRE FILTRE ===================== */
#actualites form#filter-actu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  width: 100%;
  max-width: 720px;
  justify-content: center;
  align-items: center;
  background: var(--color-gray-lightest);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#actualites form#filter-actu input[type=search],
#actualites form#filter-actu input[type=date] {
  flex: 1 1 180px;
  min-width: 160px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--nav-theme-fond);
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#actualites form#filter-actu input:focus {
  border-color: var(--nav-theme-color);
  box-shadow: 0 0 0 3px rgba(23,97,168,0.2);
  outline: none;
}

#actualites form#filter-actu button {
  flex: 0 0 auto;
  background-color: var(--nav-theme-color);
  border: none;
  color: var(--theme-text-white);
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#actualites form#filter-actu button:hover {
  background-color: var(--nav-theme-color-dark);
}

/* Toggle vue */
#actualites .view-toggle {
  display: flex; /* horizontal */
  flex-direction: row; /* s'assurer qu'ils sont côte à côte */
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Boutons */
#actualites .view-toggle button {
  width: 41px;
  height: 41px;
  font-size: 1.3rem;
  border-radius: 9px;
  border: 2px solid var(--nav-theme-color);
  background: var(--theme-text-white);
  color: var(--nav-theme-color);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Texte et icône forcés en blanc pour actif */
#actualites .view-toggle button.active,
#actualites .view-toggle button.active i {
  background: var(--nav-theme-color);
  color: var(--theme-text-white) !important;
  box-shadow: 0 2px 10px rgba(23,97,168,0.3);
}

/* Boutons inactifs */
#actualites .view-toggle button:not(.active),
#actualites .view-toggle button:not(.active) i {
  background: var(--nav-theme-fond);
  color: var(--nav-theme-color) !important;
}

/* ===================== GRILLE ===================== */
#actualites .grid-view {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  padding-bottom: 1rem;
}

#actualites .actualite-card {
  position: relative;
  background: var(--nav-theme-fond);
  border-radius: 15px;
  box-shadow: 0 2px 11px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

#actualites .actualite-card:hover {
  box-shadow: 0 10px 25px rgba(40,70,120,0.25);
  transform: translateY(-5px);
}

#actualites .card-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  background: var(--color-gray-light);
}

#actualites .card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#actualites .card-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

#actualites .card-meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

#actualites .card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

#actualites .read-more-badge {
  justify-self: end;
  align-self: start;
  margin-left: auto;
  padding: 0.25em 0.5em;
  font-size: 0.85rem;
  background: var(--nav-theme-color);
  color: var(--theme-text-white);
  border-radius: 8px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ===================== VUE LISTE ===================== */
#actualites .list-view {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

#actualites .list-view .actualite-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--nav-theme-fond);
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  align-items: start;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#actualites .list-view .card-img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}

#actualites .list-view .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

#actualites .list-view .card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

#actualites .list-view .card-meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

#actualites .list-view .card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Badge liste */
#actualites .list-view .read-more-badge {
  margin-left: auto;
  justify-self: end;
  align-self: start;
}

/* Mobile responsive */
@media (max-width: 600px) {
  #actualites .list-view .actualite-card {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  #actualites .list-view .read-more-badge {
    margin-left: 0;
    margin-top: 0.5rem;
    justify-self: start;
  }
}

/* Focus clavier */
#actualites .actualite-card:focus {
  outline: 3px solid var(--nav-theme-color);
  outline-offset: 2px;
}

/* ===================== MODALE ===================== */
.modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1050;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.show {
  display: flex;
  opacity: 1;
}
.modal-content {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  outline: none;
}
.modal.show .modal-content {
  transform: scale(1);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
}
.modal-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.modal-meta {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Message aucun article */
#actualites .no-results {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* Pagination */
#pagination-controls button {
  padding:0.3rem 0.6rem;
  border:1px solid var(--color-border);
  background: var(--nav-theme-fond);
  cursor:pointer;
  border-radius:4px;
}

#pagination-controls button:disabled {
  background: var(--nav-theme-color);
  color: var(--theme-text-white);
  border-color: var(--nav-theme-color);
}


/* ----------------- syn_venir.php ----------------- */
/* Conteneur général */
#venir .container {
  max-width: 1140px; /* harmonisation avec Agenda/Actualités */
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* Header */
#venir .venir-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem 1.5rem 1rem 1.5rem;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 24px rgba(30, 60, 80, 0.08);
}

#venir .venir-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--nav-theme-color);
  margin-bottom: 0.4rem;
}

#venir .venir-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 1rem;
}

/* Ligne sous header */
#venir .venir-header::after {
  content: "";
  display: block;
  width: 80px;
  border-bottom: 3px solid var(--nav-theme-color);
  margin: 1rem auto 0;
}

/* Grille responsive */
#venir .row.align-items-stretch {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: stretch;
}

#venir .col-md-6.d-flex.flex-column {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#venir .col-md.d-flex.flex-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Card */
#venir .card {
  background: var(--color-white);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 2px 11px rgb(0 0 0 / 10%);
  display: flex;
  flex-direction: column;
}

#venir .card .fa-map-marker-alt,
#venir .card .fa-clock {
  color: var(--nav-theme-color);
}

#venir .card > div.d-flex.align-items-center {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.3rem;
}

#venir address {
  font-style: normal;
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.4;
}

/* Table horaires */
#venir table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  color: var(--text-dark);
}

#venir .card table,
#venir .card table thead,
#venir .card table tbody,
#venir .card table th,
#venir .card table td {
  background-color: var(--nav-theme-fond) !important;
}

#venir table thead th {
  text-align: left;
  color: var(--text-secondary);
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid var(--color-gray-light);
}

#venir table tbody tr td,
#venir table tbody tr th {
  padding: 0.3rem 0;
}

/* Carte map */
#venir #map-mairie {
  border-radius: 15px;
  box-shadow: 0 2px 11px rgb(0 0 0 / 10%);
  flex-grow: 1;
  min-height: 350px;
  width: 100%;
}

/* Bouton Contact */
#venir .btn-primary {
  font-family: inherit;
  border-radius: 7px;
  padding: 0.65rem 1.5rem;
  font-size: 1.15rem;
  background-color: var(--nav-theme-color);
  border-color: var(--nav-theme-color);
  color: var(--color-white);
  transition: background-color 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(35, 113, 173, 0.4);
}

#venir .btn-primary:hover,
#venir .btn-primary:focus {
  background-color: var(--nav-theme-color-dark);
  border-color: var(--nav-theme-color-dark);
  box-shadow: 0 4px 15px rgba(25, 90, 143, 0.6);
}

/* Marges section */
#venir .text-center.mt-4 {
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}

#venir + section,
#venir + div {
  margin-top: 3rem;
  border-top: 1px solid var(--color-gray-light);
  padding-top: 2rem;
}

/* Responsive mobile */
@media (max-width: 767px) {
  #venir .col-md-6.d-flex.flex-column,
  #venir .col-md.d-flex.flex-column {
    max-width: 100% !important;
    width: 100% !important;
  }

  #venir #map-mairie {
    height: 250px !important;
    flex-grow: 0 !important;
  }

  #venir .text-center.mt-4 {
    margin-bottom: 2rem !important;
  }
}


/* ----------------- syn_maire.php ----------------- */
#conseil.syn-conseil {
  padding: 2rem 1rem 3rem 1rem;
}

#conseil.syn-conseil .conseil-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

#conseil.syn-conseil .conseil-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--nav-theme-color);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

#conseil.syn-conseil .conseil-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 1rem;
}

/* Cards des élus harmonisées */
.syn-sect-trombi-big,
.syn-sect-trombi-small {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.syn-sect-trombi-big .item,
.syn-sect-trombi-small .item {
  margin-bottom: 2rem;
}

.syn-sect-trombi-big .item-wrapper,
.syn-sect-trombi-small .item-wrapper {
  background-color: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--nav-text-disable);
  box-shadow: 0 2px 15px rgba(30, 60, 80, 0.07);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.syn-sect-trombi-big .item-wrapper:hover,
.syn-sect-trombi-small .item-wrapper:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.syn-sect-trombi-big .image-wrapper img,
.syn-sect-trombi-small .image-wrapper img {
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  transition: transform 0.3s ease;
}

.syn-sect-trombi-big .image-wrapper img:hover,
.syn-sect-trombi-small .image-wrapper img:hover {
  transform: scale(1.05);
}

.syn-sect-trombi-big .card-box,
.syn-sect-trombi-small .card-box {
  padding: 1rem;
}

.syn-sect-trombi-big .card-title,
.syn-sect-trombi-small .card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.syn-sect-trombi-big .card-subtitle,
.syn-sect-trombi-small .card-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

@media (min-width: 768px) {
  .syn-sect-trombi-big .card-box,
  .syn-sect-trombi-small .card-box {
    padding-right: 2rem;
  }
}

@media (min-width: 992px) {
  .syn-sect-trombi-big .card-box,
  .syn-sect-trombi-small .card-box {
    padding-left: 2rem;
    padding-right: 4rem;
  }
}


/* ----------------- syn_seance.php ----------------- */
/* =====================
   Publications Harmonisées avec Agenda
   ===================== */
.syn-sect-seance {
    padding: 2rem 1rem 3rem 1rem;
    font-family: var(--font-family-base);
    background-color: var(--nav-theme-fond);
}

/* Header / titre section avec icône */
.syn-sect-seance .section-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--nav-theme-color); /* couleur Agenda */
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.syn-sect-seance .section-title i {
    font-size: 2.6rem;
}

.syn-sect-seance .section-divider {
    width: 80px;
    border-bottom: 3px solid var(--nav-theme-color);
    margin: 1rem auto 0;
}

/* Input & select filtres */
.syn-sect-seance .input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}
.syn-sect-seance .input-group .form-select,
.syn-sect-seance .input-group input[type=text],
.syn-sect-seance .input-group .input-group-text {
    min-height: 48px;
    font-size: 1rem;
    border-radius: 0.38rem;
    border: 1px solid var(--color-border);
    padding: 0.45rem 0.9rem;
}
.syn-sect-seance .input-group .form-select {
    flex: 1;
}
.syn-sect-seance .input-group-text {
    background-color: var(--color-gray-lightest);
    border-right: 0;
}
.syn-sect-seance .input-group-text i {
    color: var(--nav-theme-color); /* applique le bleu du thème */
    font-size: 1.2rem;
}
/* Accordéon */
.syn-sect-seance .accordion-button {
    background-color: var(--nav-theme-color);
    color: var(--theme-text-white);
    border: 1px solid var(--nav-theme-color);
    padding: 10px 15px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}
.syn-sect-seance .accordion-button:hover {
    background-color: var(--nav-theme-hover);
    color: var(--theme-text-white);
}
.syn-sect-seance .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(77, 109, 154, 0.5);
}
.syn-sect-seance .accordion-body {
    background-color: var(--nav-theme-fond) !important;
}
.syn-sect-seance .accordion-item:last-child {
    margin-bottom: 40px;
}

/* Items publications */
.syn-sect-seance .publi-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.syn-sect-seance .publi-item.fade-out {
    opacity: 0;
    transform: scale(0.98);
    pointer-events: none;
}
.syn-sect-seance .publi-item.fade-in {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.syn-sect-seance .publi-item .item-wrapper {
    border-radius: 12px;
    padding: 1rem;
    background-color: var(--color-gray-lightest);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}
.syn-sect-seance .publi-item .item-wrapper:hover {
    background-color: var(--theme-text_light);
    border-color: var(--nav-theme-color);
    box-shadow: 0 6px 18px rgba(30,60,100,0.12);
}

/* Documents liens */
.syn-sect-seance .publi-item .documents a {
    display: block;
    color: var(--nav-theme-color);
    text-decoration: none;
    margin-bottom: 0.3rem;
}
.syn-sect-seance .publi-item .documents a:hover {
    text-decoration: underline;
}

/* Alert info */
.syn-sect-seance .alert-info {
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-muted);
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 991px) {
    .syn-sect-seance .input-group {
        flex-direction: column;
    }
}
@media (max-width: 576px) {
    .syn-sect-seance .input-group,
    .syn-sect-seance .accordion-button {
        width: 100%;
    }
}


/* ----------------- syn_donnees.php ----------------- */
/* Sections Titres */
.syn-sect-titre {
  padding-top: 2rem;
  padding-bottom: 0rem;
  background-color: var(--nav-theme-fond);
}

.syn-sect-titre-blue {
  padding-top: 3rem;
  padding-bottom: 0rem;
  background-color: #9fdbf8;
}
.syn-sect-titre-blue .mbr-fallback-image.disabled {
  display: none;
}
.syn-sect-titre-blue .mbr-fallback-image {
  display: block;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}
.syn-sect-titre-blue .mbr-section-title {
  color: var(--theme-text);
}

.syn-sect-titre-mention {
  padding-top: 4rem;
  padding-bottom: 2rem;
  background-color: var(--nav-theme-fond);
}
.syn-sect-titre-mention .mbr-text {
  text-align: left;
}
.syn-sect-titre-mention .mbr-section-subtitle {
  color: var(--theme-text);
}

.syn-sect-titre-donnees {
  padding-top: 0rem;
  padding-bottom: 1rem;
  background-color: var(--nav-theme-fond);
}
.syn-sect-titre-donnees .mbr-section-subtitle {
  color: #2299aa;
}


/* ----------------- syn_map.php ----------------- */
/* ===================== Section Plan du site - Titre ===================== */
#mapping {
    padding-top: 5rem; /* espace supérieur */
    padding-bottom: 2rem;
    background-color: var(--nav-theme-fond);
    text-align: center;
}

#mapping .mbr-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 1rem; /* réduit l'espace sous le titre */
}

/* ===================== Section Plan du site - Liste ===================== */
#mapping_liste {
    padding: 2rem 1rem; /* réduit l'espace global sous le titre */
    background-color: var(--nav-theme-fond);
}

#mapping_liste .card {
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Listes */
#mapping_liste ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

#mapping_liste ul li {
    margin: 0.6em 0; /* espace entre les items un peu plus serré */
    display: flex;
    align-items: center;
}

#mapping_liste ul li i {
    margin-right: 10px;
    color: #1A5D8B;
    flex-shrink: 0;
}

#mapping_liste ul li a {
    text-decoration: none;
    color: #1A5D8B;
    font-weight: bold;
    transition: all 0.3s ease;
}

#mapping_liste ul li a:hover {
    color: #ffffff;
    background-color: #1A5D8B;
    padding: 0.2em 0.5em;
    border-radius: 4px;
}

#mapping_liste ul ul {
    margin-left: 2em;
    border-left: 2px solid #ddd;
    padding-left: 1em;
}

/* ===================== Responsive ===================== */
@media (max-width: 991px) {
    #mapping {
        padding-top: 4rem;
    }
    #mapping .mbr-section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    #mapping {
        padding-top: 3rem;
    }
    #mapping .mbr-section-title {
        font-size: 1.75rem;
    }
}


/* ----------------- syn_footer.php ----------------- */
/* Footer principal */
#footer-main {
  background: var(--nav-theme-color);
  color: var(--nav-text-color);
  font-family: var(--font-family-sans, 'Bellota Text', sans-serif);
  font-size: var(--font-size-base, 1rem);
  line-height: var(--line-height-base, 1.5);
  padding: 2.5rem 0;
}

#footer-main h5 {
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  color: var(--nav-text-color);
}

#footer-main address {
  font-style: normal;
  color: var(--nav-text-color);
}

#footer-main a {
  color: var(--nav-text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer-main a:hover,
#footer-main a:focus {
  color: var(--nav-theme-hover);
  text-decoration: underline;
  outline: none;
}

#footer-main ul.list-unstyled {
  padding-left: 0;
  list-style: none;
  margin-bottom: 1rem;
}

#footer-main ul.list-unstyled li {
  margin-bottom: 0.6rem;
}

#footer-main .horizontal-bar {
  width: 40%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 1px;
  margin: 1rem auto 0.5rem auto;
}

#footer-main .partner-logos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

#footer-main .partner-logo {
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

#footer-main .iframe-container {
  padding: 5px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  width: 150px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

#footer-main #iframe-meteo {
  width: 150px;
  height: 300px;
  border: none;
  border-radius: 10px;
}

@media (max-width: 767px) {
  #footer-main .iframe-container {
    margin-top: 1rem;
  }
  #footer-main .partner-logos-container {
    justify-content: center;
  }
}

/* Panneau d'accessibilité */
#accessibility-panel {
  position: fixed;
  top: 80px;
  right: -320px;
  max-width: 280px;
  width: auto;
  min-width: 220px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  border-left: 1px solid rgba(200, 200, 200, 0.5);
  padding: 20px;
  box-shadow: -4px 0 8px rgba(0,0,0,0.2);
  transition: right 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  z-index: 998;
  height: auto;
  border-radius: 8px 0 0 8px;
}

#accessibility-panel.open {
  right: 0;
  opacity: 1;
}

#accessibility-panel button.active {
  background-color: #4CAF50;
  color: white;
  font-weight: bold;
}

#accessibility-panel button {
  display: block;
  width: 100%;
  margin: 6px 0;
  padding: 8px 12px;
  font-size: 0.9rem;
  border: none;
  background-color: #eee;
  color: #333;
  border-radius: 4px;
  cursor: pointer;
}

#accessibility-panel button:hover {
  background-color: #ddd;
}

#accessibility-panel .audio-controls button {
  width: auto;
  display: inline-block;
}

#accessibility-toggle {
  position: fixed;
  top: 80px;
  right: 0px;
  background-color: #444;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 0;
  width: 40px;
  height: 40px;
  font-size: 0;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

#accessibility-toggle img {
  width: 100%;
  height: 100%;
}

#accessibility-toggle:focus {
  outline: 3px solid var(--theme-text-white);
}

body.high-contrast,
body.high-contrast * {
  background-color: var(--theme-text_dark) !important;
  color: var(--theme-text-white) !important;
  border-color: var(--theme-text-white) !important;
}

body.high-contrast a {
  color: #0FF !important;
  text-decoration: underline;
}

body.high-contrast a:hover,
body.high-contrast a:focus {
  background-color: #444 !important;
  color: #0FF !important;
}

body.high-contrast button,
body.high-contrast input,
body.high-contrast select,
body.high-contrast textarea {
  background-color: #111 !important;
  color: var(--theme-text-white) !important;
  border: 1px solid var(--theme-text-white) !important;
}

body.high-contrast img,
body.high-contrast video {
  opacity: 0.7;
}

body.high-contrast .container,
body.high-contrast .navbar,
body.high-contrast .card,
body.high-contrast section {
  background-color: var(--theme-text_dark) !important;
}

body.invert-colors {
  filter: invert(100%) hue-rotate(180deg);
  background-color: inherit;
}

body.invert-colors img,
body.invert-colors video {
  filter: invert(100%) hue-rotate(180deg);
}

body.dyslexic-font {
  font-family: 'OpenDyslexic', Arial, sans-serif !important;
}

body.spaced {
  letter-spacing: 0.08em;
  word-spacing: 0.16em;
  line-height: 1.8;
}

body.night-mode {
  background-color: #1c1c1c;
  color: #d3d3d3;
}

.audio-controls {
  display: none;
  margin: 10px 0;
  flex-direction: row;
  justify-content: space-between;
  gap: 8px;
}

.audio-controls.show {
  display: flex;
}

.audio-controls button {
  flex: 1;
  padding: 6px 0;
  font-size: 0.85rem;
  border: none;
  border-radius: 4px;
  background-color: #eee;
  cursor: pointer;
}

.audio-controls button:hover {
  background-color: #ddd;
}

#accessibility-panel button#hover-read-btn {
  margin-top: 6px;
}
#hover-read-btn svg {
  vertical-align: middle;
}
#hover-read-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hover-reading {
  outline: 4px solid #ff9800 !important;
  outline-offset: 4px;
  background-color: rgba(255, 152, 0, 0.3);
  transition: background-color 0.3s ease, outline 0.3s ease, transform 0.3s ease;
  transform: scale(1.05);
}

.hover-reading:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.8);
}

body.high-contrast .hover-reading {
  outline: 4px solid #ff9800 !important;
  outline-offset: 4px;
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.8);
}

body.high-contrast *:hover, body.high-contrast *:focus {
  outline: 4px solid #ff9800 !important;
  outline-offset: 4px;
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.8);
}