/* LESS Document */
/*************************/
/* Imports */
/*************************/
@import "/include/css/google-fonts.css";
@import "/include/css/ajaxStyle.css";
@import "/include/css/gijgo.min.css";
@import "/include/css/all.min.css";
@import "/include/css/dataTables.bootstrap5.min.css";
@import "/include/css/responsive.bootstrap5.min.css";
@import "/include/assets/vendor/boxicons/css/boxicons.min.css";
@import "/include/assets/vendor/swiper/swiper-bundle.min.css";
@import "/include/assets/vendor/lightgallery/css/lightgallery-bundle.min.css";
@import "/include/css/theme.min.css";
:root {
  /* Couleurs existantes */
  --primary-color: #087233;
  --secondary-color: #089C44;
  --accent-color: #8fb996;
  --light-green: #f8fdf9;
  --overlay-bg: rgba(44, 85, 48, 0.95);
  /* Couleur compl�mentaire (adoucie, professionnelle) */
  --complementary-color: #9C4A74;
  /* Variantes boutons */
  --btn-save: var(--primary-color);
  /* Sauvegarder */
  --btn-cancel: var(--complementary-color);
  /* Annuler */
  --btn-delete: #C4265F;
  /* Supprimer / Danger */
  --btn-download: #2F6EBB;
  /* T�l�charger / Export */
  /* Hovers */
  --btn-save-hover: #065a28;
  --btn-cancel-hover: #863e62;
  --btn-delete-hover: #a71f52;
  --btn-download-hover: #25589a;
  /* Texte boutons */
  --btn-text-light: #ffffff;
  --btn-text-dark: #1a1a1a;
  /* Fonds / surfaces admin */
  --surface-bg: #f5f7f9;
  --surface-card: #ffffff;
  --surface-border: #e3e9ef;
  /* Couleurs system messages */
  --success-color: #087233;
  --warning-color: #e5a90a;
  --danger-color: #C4265F;
  --info-color: #2F6EBB;
}
body {
  margin: 0;
  padding: 0;
}
a {
  color: var(--primary-color);
  text-decoration: none;
}
a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}
.bg-dark {
  opacity: 1;
  background-color: #087233 !important;
}
.bg-secondary {
  --si-bg-opacity: 1;
  background-color: #089C44 !important;
}
.btn-primary {
  background-color: #0C8E43;
  border-color: #0C8E43;
}
.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-danger {
  background-color: var(--btn-delete);
  border-color: var(--btn-delete);
}
.btn-danger:hover {
  background-color: var(--btn-delete-hover);
  border-color: var(--btn-delete-hover);
}
.btn-dark {
  background-color: #6b8e23;
  border-color: #6b8e23;
}
.btn-dark:hover {
  background-color: #57731e;
  border-color: #57731e;
}
.text-success {
  color: var(--primary-color) !important;
}
h1 > a,
.h1 > a,
h2 > a,
.h2 > a,
h3 > a,
.h3 > a,
h4 > a,
.h4 > a,
h5 > a,
.h5 > a,
h6 > a,
.h6 > a {
  color: var(--secondary-color);
  text-decoration: none;
}
h1 > a:hover,
.h1 > a:hover,
h2 > a:hover,
.h2 > a:hover,
h3 > a:hover,
.h3 > a:hover,
h4 > a:hover,
.h4 > a:hover,
h5 > a:hover,
.h5 > a:hover,
h6 > a:hover,
.h6 > a:hover {
  color: var(--primary-color);
  text-decoration: none;
}
.majuscule::first-letter {
  text-transform: uppercase;
}
/*===============================================================
 Breakpoints
============================================================== */
/* Forcer la navbar admin en mode mobile entre 992px et 1049px */
@media (min-width: 992px) and (max-width: 1049.98px) {
  .navbar-admin.navbar-expand-lg .navbar-collapse {
    display: none !important;
  }
  .navbar-admin.navbar-expand-lg .navbar-toggler {
    display: block !important;
  }
}
/* � partir de 1050px : d�ploiement normal uniquement pour la navbar admin */
@media (min-width: 1050px) {
  .navbar-admin.navbar-expand-lg .navbar-collapse {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .navbar-admin.navbar-expand-lg .navbar-toggler {
    display: none !important;
  }
}
/*===============================================================
 Top-header
============================================================== */
/* Au-dessus de l�overlay */
.top-header {
  background: var(--primary-color);
  color: #fff;
  border-bottom: none;
  padding: 8px 0;
  font-size: 0.9rem;
  z-index: 1100;
}
.top-header .text-muted {
  color: rgba(255, 255, 255, 0.85) !important;
}
/*===============================================================
 Navbar
============================================================== */
.sticky-top {
  top: 50px;
}
/* Au-dessus de l�overlay mais sous le top-header */
.main-navbar {
  background: #fff !important;
  /*box-shadow: 0 2px 10px rgba(0,0,0,.08);*/
  padding: 0;
  z-index: 1090;
  margin-top: 50px;
}
.navbar-brand {
  padding: 15px 0;
  font-weight: 700;
  font-size: 1.4rem;
  color: #000 !important;
}
.navbar-brand:hover {
  color: var(--primary-color) !important;
}
.navbar-nav {
  margin-left: auto;
}
.navbar-nav .nav-link {
  color: #000 !important;
  font-weight: 500;
  padding: 20px 18px !important;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  cursor: pointer;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}
/* Bouton hamburger noir */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
  margin: 10px;
}
.navbar-toggler:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
  border-color: transparent;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Overlay m�ga-menu (on ajustera top/height en JS) */
.mega-menu-overlay {
  position: fixed;
  top: 0;
  /* sera recalcul� en JS pour passer sous le top-header */
  left: 0;
  width: 100%;
  height: 100vh;
  /* sera recalcul� en JS */
  background: #fff;
  z-index: 999;
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.mega-menu-overlay.show {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
/* permet le scroll du contenu, tout en gardant le header/footers en place */
.mega-menu-content {
  width: 100%;
  height: 100%;
  background: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* empile header, body, footer */
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  overflow: hidden;
  /* le conteneur global ne scrolle pas */
}
/* Header du m�ga-menu : pas de margin-top fixe; g�r� en JS */
.mega-menu-header {
  color: #fff;
  padding: 30px 0;
  margin-top: 0 !important;
  /* important: g�r� dynamiquement */
  position: relative;
}
.mega-menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 1001;
}
.mega-menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
/* Corps du m�ga-menu */
.mega-menu-body {
  padding: 60px 0 0;
  min-height: calc(100vh - 200px);
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 0;
  /* on laisse flex g�rer la hauteur */
  overflow-y: auto;
  /* active le scroll interne */
  -webkit-overflow-scrolling: touch;
  /* scroll fluide iOS */
  -ms-scroll-chaining: none;
      overscroll-behavior: contain;
  /* �vite de faire scroller la page derri�re */
}
/* optionnel : un peu d�espace pour ne pas "coller" le footer sticky */
.mega-menu-body {
  padding-bottom: 12px;
}
/* footer sticky reste en bas m�me quand on scrolle */
.mega-menu-footer {
  position: sticky;
  bottom: 0;
}
/* Pleine largeur pour les colonnes */
.mega-menu-columns-container {
  max-width: none;
  width: 100%;
  padding: 0 clamp(12px, 3vw, 48px) 24px;
  margin: 0 auto;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}
#megaMenuContent.row {
  --bs-gutter-x: 0;
}
.mega-menu-column {
  padding: 0 20px;
  margin-bottom: 40px;
}
.mega-menu-column h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent-color);
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}
.mega-menu-link {
  display: block;
  color: #333;
  text-decoration: none;
  padding: 5px 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
}
.mega-menu-link:hover {
  color: var(--primary-color);
  padding-left: 15px;
  text-decoration: none;
}
.mega-menu-link i {
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--secondary-color);
  width: 16px;
}
.mega-menu-link:last-child {
  border-bottom: none;
}
/* Footer du m�ga-menu : bouton (x) Fermer le menu */
.mega-menu-footer {
  position: sticky;
  bottom: 0;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(255, 255, 255, 0.96)), to(rgba(255, 255, 255, 0.9)));
  background: linear-gradient(to top, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
  padding: 18px 0 24px;
  margin-top: 6px;
  backdrop-filter: blur(3px);
}
.mega-menu-close-bottom {
  border: 0;
  background: none;
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}
.mega-menu-close-bottom:hover {
  color: var(--primary-color);
  text-decoration: underline;
}
/* Animations des colonnes */
@-webkit-keyframes slideInFromTop {
  from {
    opacity: 0;
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes slideInFromTop {
  from {
    opacity: 0;
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
.mega-menu-column {
  -webkit-animation: slideInFromTop 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
          animation: slideInFromTop 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
  -webkit-transform: translateY(-20px);
          transform: translateY(-20px);
}
.mega-menu-column:nth-child(1) {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s;
}
.mega-menu-column:nth-child(2) {
  -webkit-animation-delay: 0.15s;
          animation-delay: 0.15s;
}
.mega-menu-column:nth-child(3) {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}
.mega-menu-overlay.show .mega-menu-column {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
/* Responsive */
@media (max-width: 991.98px) {
  .navbar-nav {
    margin-left: 0;
    background: #fff;
    border-radius: 8px;
    margin-top: 10px;
    padding: 10px 0;
  }
  .navbar-nav .nav-link {
    padding: 15px 20px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .mega-menu-header {
    padding: 25px 0;
  }
  .mega-menu-body {
    padding: 40px 0 0;
  }
  .mega-menu-columns-container {
    padding: 0 20px 20px;
    margin-top: 50px;
  }
  .mega-menu-column {
    margin-bottom: 40px;
    padding: 0 10px;
  }
  .search-container {
    margin: 15px 20px;
  }
  .search-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.05);
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.15);
  }
  .search-input::-webkit-input-placeholder {
    color: #666;
  }
  .search-input::-moz-placeholder {
    color: #666;
  }
  .search-input:-ms-input-placeholder {
    color: #666;
  }
  .search-input::-ms-input-placeholder {
    color: #666;
  }
  .search-input::placeholder {
    color: #666;
  }
}
@media (max-width: 576px) {
  .mega-menu-header {
    padding: 20px 0;
  }
  .mega-menu-close {
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
  }
  .mega-menu-body {
    padding: 30px 0 0;
  }
  .mega-menu-columns-container {
    padding: 0 15px 15px;
    margin-top: 50px;
  }
}
.menu-chevron {
  font-size: 0.8rem;
  -webkit-transition: -webkit-transform 0.25s ease;
  transition: -webkit-transform 0.25s ease;
  transition: transform 0.25s ease;
  transition: transform 0.25s ease, -webkit-transform 0.25s ease;
  vertical-align: middle;
  display: inline-block;
  margin-left: 0.35rem;
}
.menu-chevron.rotate {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
.navbar-nav .nav-link .menu-chevron {
  margin-left: 0.35rem;
}
/* Administration */
.navbar-nav .nav-link-admin {
  color: #000 !important;
  font-size: 14px;
  font-weight: 500;
  padding: 20px 15px !important;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  cursor: pointer;
}
@media only screen and (max-width: 1090px) {
  .navbar-nav .nav-link-admin {
    padding: 20px 10px !important;
  }
}
@media only screen and (max-width: 990px) {
  .navbar-nav .nav-link-admin {
    padding: 20px 15px !important;
  }
}
.navbar-nav .nav-link-admin:hover,
.navbar-nav .nav-link-admin.active {
  color: var(--primary-color) !important;
}
/*===============================================================
 Logo
============================================================== */
.logo-admin {
  width: 250px;
}
@media only screen and (max-width: 1200px) {
  .logo-admin {
    width: 150px;
  }
}
@media only screen and (max-width: 990px) {
  .logo-admin {
    width: 250px;
  }
}
@media only screen and (max-width: 525px) {
  .logo-admin {
    width: 120px;
  }
}
/*===============================================================
  Avatar
=================================================================*/
.avatar-xs {
  height: 1.5rem;
  width: 1.5rem;
}
.avatar-sm {
  height: 3rem;
  width: 3rem;
}
.avatar-md {
  height: 4.5rem;
  width: 4.5rem;
}
.avatar-lg {
  height: 6rem;
  width: 6rem;
}
.avatar-xl {
  height: 7.5rem;
  width: 7.5rem;
}
.avatar-title {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-weight: 500;
  height: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
}
/*===============================================================
 Carousel
============================================================== */
.btn-prev:not(.bg-transparent):hover,
.btn-next:not(.bg-transparent):hover {
  color: #fff !important;
  background-color: var(--primary-color) !important;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}
/* Card du carousel */
.carousel-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  /* prend la largeur exacte du container */
  max-width: none !important;
}
/* Corps de la card */
.carousel-card .card-body {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding-bottom: 2rem !important;
}
/* Footer compact */
.carousel-card .card-footer {
  padding: 1.25rem 1.5rem 0 !important;
}
/* Emp�che le texte de d�border des autres slides */
.swiper-slide {
  overflow: hidden;
}
.botons-carousel-mobile {
  padding-bottom: 10px;
}
@media only screen and (max-width: 990px) {
  .botons-carousel-mobile {
    margin-top: -50px;
    padding-bottom: 10px;
  }
}
/* ic�ne size */
.icon-carousel {
  font-size: 48px;
}
@media only screen and (max-width: 1199px) {
  .icon-carousel {
    font-size: 36px;
  }
}
/* Tooltip ic�ne */
.icon-tooltip {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 60px;
  /* m�me largeur pour tous */
  height: 60px;
  /* carr� tooltip centr� */
  position: relative;
}
.icon-tooltip i {
  margin: 0;
  /* enlever les me-5 */
  line-height: 1;
}
/*=============================================================== 
  Texte
============================================================== */
.titres {
  color: var(--primary-color);
  font-family: 'Playfair Display SC';
  font-weight: 700;
  font-size: 120px;
  line-height: 120px;
}
@media only screen and (min-width: 576px) and (max-width: 990px) {
  .titres {
    font-size: 90px;
    line-height: 90px;
  }
}
@media only screen and (max-width: 575px) {
  .titres {
    font-size: 68px;
    line-height: 68px;
  }
}
.titres-blancs {
  color: #fff;
  font-family: 'Playfair Display SC';
  font-weight: 700;
  font-size: 120px;
  line-height: 120px;
}
@media only screen and (min-width: 576px) and (max-width: 990px) {
  .titres-blancs {
    font-size: 90px;
    line-height: 90px;
  }
}
@media only screen and (max-width: 575px) {
  .titres-blancs {
    font-size: 68px;
    line-height: 68px;
  }
}
.titres-pages {
  color: #2C3034;
  font-family: 'Playfair Display SC';
  font-weight: 700;
  font-size: 80px;
  line-height: 80px;
}
@media only screen and (min-width: 576px) and (max-width: 990px) {
  .titres-pages {
    font-size: 60px;
    line-height: 60px;
  }
}
@media only screen and (max-width: 575px) {
  .titres-pages {
    font-size: 40px;
    line-height: 40px;
  }
}
.titres-pages-long {
  color: #2C3034;
  font-family: 'Playfair Display SC';
  font-weight: 700;
  font-size: 70px;
  line-height: 70px;
}
@media only screen and (min-width: 576px) and (max-width: 990px) {
  .titres-pages-long {
    font-size: 50px;
    line-height: 50px;
  }
}
@media only screen and (max-width: 575px) {
  .titres-pages-long {
    font-size: 40px;
    line-height: 40px;
  }
}
.titres-pages-admin {
  color: #2C3034;
  font-family: 'Playfair Display SC';
  font-weight: 700;
  font-size: 60px;
  line-height: 60px;
}
@media only screen and (min-width: 576px) and (max-width: 990px) {
  .titres-pages-admin {
    font-size: 48px;
    line-height: 48px;
  }
}
@media only screen and (max-width: 575px) {
  .titres-pages-admin {
    font-size: 36px;
    line-height: 36px;
  }
}
.sous-titres-vert {
  color: var(--primary-color);
}
.sous-titres-gris {
  color: #565973;
}
.lead-list {
  font-size: 1.25rem;
  font-weight: 400;
}
.btn-success {
  background-color: #087233 !important;
  border-color: #087233 !important;
}
.btn-success:hover {
  background-color: #1ca44e !important;
  border-color: #1ca44e !important;
}
/*=============================================================== 
  Footer
============================================================== */
@media (max-width: 991.98px) {
  .hours-item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    /* stack */
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    /* align� � gauche */
  }
  .hours-item span:last-child {
    margin-top: 2px;
    /* un petit espace entre jour et heures */
  }
}
/*===============================================================
  Copyright
=================================================================*/
.copyright {
  padding: 15px 0 15px 0;
}
.copyright p {
  font-weight: 400;
  font-size: 14px;
  color: #fff;
  margin-bottom: 0;
}
.parro {
  color: #fff;
  text-decoration: none;
}
.parro:hover {
  color: var(--secondary-color);
}
/*===============================================================
  Form
=================================================================*/
.form-select {
  color: #9397ad !important;
}
.form-signin {
  max-width: 330px;
  padding: 1rem;
}
.form-signin .form-floating:focus-within {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.form-check-input:invalid:checked,
.form-check-input.is-invalid:checked {
  background-color: #ef4444;
  border: 2px solid #ef4444;
}
/*===============================================================
  Admin carrousel + evenements
=================================================================*/
/* Conteneur principal */
.position-actions-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  /* aligne verticalement input + boutons */
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.75rem;
}
/* Champ Position (desktop compact) */
.position-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: auto;
}
.position-wrapper input {
  width: 90px;
  /* largeur desktop ajustable */
}
/* Boutons */
.actions-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  margin-top: 25px;
}
/* ----------- Version MOBILE ----------- */
@media (max-width: 575.98px) {
  /* Input full width */
  .position-wrapper {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
  }
  .position-wrapper input {
    width: 100%;
  }
  /* Boutons align�s � gauche */
  .actions-wrapper {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    /* align� � gauche */
    margin-top: 10px;
  }
}
.position-wrapper-compact {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: auto;
  /* largeur minimale possible */
  margin: 0 auto;
  /* centre dans la card */
}
.position-wrapper-compact input {
  width: 90px;
  /* ajustable selon ce que tu veux */
  margin: 0 auto;
}
/* Pagination
====================================*/
.navigationSMDS {
  margin-right: 10px;
  font-size: 12px;
  font-weight: bold;
}
.navSMDS {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 5px;
  font-weight: 600;
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  color: #2C3034;
  text-decoration: none;
  background-color: transparent;
  border: none;
}
.navSMDS:hover {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 5px;
  font-weight: 600;
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  background-color: var(--secondary-color);
  border: none;
  cursor: pointer;
}
.navSMDSActive {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 5px;
  font-weight: 600;
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  color: #2C3034;
  text-decoration: none;
  background-color: transparent;
  border: none;
}
.navSMDS[disabled=disabled] {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 5px;
  font-weight: 600;
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  background-color: var(--primary-color);
  border: none;
}
/* ==========================================================================
   Datepicker
 ========================================================================== */
.gj-datepicker-md [role=right-icon] {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 24px;
  color: #1F3B5C;
}
.gj-picker div[role=navigator] div {
  padding-left: 15px !important;
  padding-right: 25px !important;
  font-size: 18px !important;
}
/* ==========================================================================
   Modal
========================================================================== */
.modalSmds {
  display: block;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100%;
  height: 100%;
  outline: 0;
}
/* ==========================================================================
   Data tables pagination
========================================================================== */
.page-link.active,
.active > .page-link {
  z-index: 3;
  color: #fff;
  background-color: #0C8E43;
  border-color: #0C8E43;
}
table.dataTable {
  margin-top: 1rem !important;
  /* ou 10px */
}
.table thead {
  background-color: #0C8E43 !important;
  color: #ffffff !important;
}
.table thead th {
  border-color: rgba(255, 255, 255, 0.15) !important;
}
/* ==========================================================================
   Cards
========================================================================== */
.equal-cards .card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  /* m�me hauteur pour toutes les cards dans la colonne */
}
.equal-cards .card-header {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  min-height: 125px;
  /* ajuste selon le nb de lignes possible */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  /* centre verticalement le <h5> */
  /* justify-content: center;  si tu veux centrer le texte, sinon enl�ve */
}
/* Pour garder le footer bien coll� en bas et �tirer le body */
.equal-cards .card-body {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}
/*@media (max-width: 768px) {
    .equal-cards .card-header {
        min-height: 60px;
    }
}*/
/* ==========================================================================
   Cards event
========================================================================== */
.event-card {
  border: 1px solid #ddd !important;
  border-radius: 15px;
}
/* Image par d�faut sur mobile */
.event-card-img {
  width: 100%;
  min-height: 16rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
/* � partir de md : image de la m�me hauteur que le contenu */
@media (min-width: 768px) {
  .event-card > .row {
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }
  .event-card .col-md-4 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .event-card-img {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    min-height: 16rem;
  }
}
/* Tu peux r�utiliser ces classes si d�j� d�finies pour les autres cards */
.position-actions-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  gap: 0.75rem;
}
.position-wrapper {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  max-width: 180px;
}
.actions-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5rem;
}
/* ==========================================================================
   Cards galerie
========================================================================== */
.gallery-card {
  border: 1px solid #ddd !important;
  border-radius: 15px;
}
/* Image par d�faut (mobile) */
.gallery-card-img {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 220px;
  /* hauteur limit�e en mobile */
}
/* � partir de md : image pleine hauteur */
@media (min-width: 768px) {
  .gallery-card .col-md-4 {
    height: 100%;
    /* la colonne image suit la hauteur de la row/card */
  }
  .gallery-card-img {
    height: 100%;
    /* le div interne suit la colonne */
    min-height: 16rem;
    /* pour �viter trop petit si peu de contenu */
  }
}
/* D�j� utilis� sur l'autre card */
.position-actions-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  gap: 0.75rem;
}
.position-wrapper {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  max-width: 180px;
}
.actions-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5rem;
}
/* ==========================================================================
   Carousel cards
========================================================================== */
.carousel-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  min-height: clamp(260px, 32vw, 320px);
}
.carousel-card .card-body {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  /* prend tout l�espace restant */
}
/* Seulement pour le swiper du carousel cards */
.swiper-carousel-cards {
  overflow: hidden;
}
.swiper-carousel-cards .swiper-wrapper {
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.swiper-carousel-cards .swiper-slide {
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* Au cas */
}
/* ==========================================================================
   Carousel actualit�s + �v�nements
========================================================================== */
.truncate-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  /* nombre de lignes */
  overflow: hidden;
}
.wysiwyg-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  /* nombre de lignes */
  overflow: hidden;
}
.wysiwyg-excerpt > * {
  margin: 0;
}
.nav-tabs .nav-link.active {
  color: #fff;
  background-color: #0C8E43;
  border-color: #0C8E43;
}
.nav-tabs .nav-link {
  color: #fff;
  background-color: #777;
  border-color: #777;
}
.nav-tabs .nav-link:hover {
  color: #fff !important;
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}
/* ==========================================================================
   Lightgallery
========================================================================== */
.lg-backdrop {
  z-index: 1150 !important;
}
.lg-outer {
  z-index: 1200 !important;
}
/* ==========================================================================
   Location de salles - grille de tarifs
========================================================================== */
.smss-pricing-grid {
  width: 100%;
  border: 1px solid #e4e4e4;
  background-color: #fff;
}
.smss-pricing-grid__header {
  color: #087233;
  font-weight: 600;
  line-height: 1.6;
}
.smss-pricing-grid__header > [class*="col-"]:not(:last-child),
.smss-pricing-grid__row > [class*="col-"]:not(:last-child) {
  border-right: 1px solid #e4e4e4;
}
.smss-pricing-grid__row {
  border-top: 1px solid #e4e4e4;
}
.smss-pricing-grid__cell {
  height: 100%;
  padding: 14px 22px;
  font-size: 17px;
  line-height: 1.45;
}
.smss-pricing-grid__header .smss-pricing-grid__cell {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.smss-pricing-grid__room {
  font-weight: 700;
}
.smss-pricing-grid__prices {
  margin: 0;
  padding: 0;
  list-style: none;
}
.smss-pricing-grid__prices li + li {
  margin-top: 2px;
}
.smss-pricing-grid__mobile-label {
  display: none;
}
/* Version mobile */
@media (max-width: 767.98px) {
  .smss-pricing-grid {
    border: 0;
    background-color: transparent;
  }
  .smss-pricing-grid__row {
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 8px;
    background-color: #fff;
  }
  .smss-pricing-grid__row > [class*="col-"]:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid #e4e4e4;
  }
  .smss-pricing-grid__cell {
    padding: 16px 18px;
    font-size: 16px;
  }
  .smss-pricing-grid__room {
    padding: 14px 18px;
    background-color: #f7f2eb;
    color: #222;
    font-size: 18px;
  }
  .smss-pricing-grid__mobile-label {
    display: block;
    margin-bottom: 7px;
    color: #a86f30;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
  }
}
/* ==========================================================================
   Cards organismes - alignement du header
========================================================================== */
.organismes-grid .card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.organismes-grid .card-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  min-height: 110px;
}
.organismes-grid .card-body {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}
@media (max-width: 767.98px) {
  .organismes-grid .card-header {
    min-height: auto;
  }
}
/* ==========================================================================
   Page d�tail actualit�
========================================================================== */
.smmds-news-detail-section {
  padding: 70px 0 90px;
  background-color: #fff;
}
.smmds-news-back-link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 35px;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}
.smmds-news-back-link:hover {
  color: var(--secondary-color);
  text-decoration: none;
}
.smmds-news-detail {
  position: relative;
}
.smmds-news-detail-header {
  margin-bottom: 35px;
}
.smmds-news-detail-kicker {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.smmds-news-detail-title {
  margin-bottom: 22px;
  color: #2C3034;
  font-family: 'Playfair Display SC';
  font-weight: 700;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
}
.smmds-news-detail-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 0;
}
.smmds-news-detail-meta-item {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  background-color: var(--light-green);
  color: #2C3034;
  font-size: 1rem;
  font-weight: 600;
}
.smmds-news-detail-meta-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
}
.smmds-news-detail-gallery {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 42px;
}
.smmds-news-detail-image-wrapper {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background-color: #f5f5f5;
  -webkit-box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
          box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}
.smmds-news-detail-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  -o-object-fit: cover;
     object-fit: cover;
}
.smmds-news-detail-content {
  color: #2C3034;
  font-size: 1.1rem;
  line-height: 1.75;
}
.smmds-news-detail-content p {
  margin-bottom: 1.35rem;
}
.smmds-news-detail-content h2,
.smmds-news-detail-content h3,
.smmds-news-detail-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 700;
}
.smmds-news-detail-content ul,
.smmds-news-detail-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.5rem;
}
.smmds-news-detail-content a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.smmds-news-detail-content a:hover {
  color: var(--secondary-color);
}
@media (max-width: 767.98px) {
  .smmds-news-detail-section {
    padding: 45px 0 65px;
  }
  .smmds-news-back-link {
    margin-bottom: 25px;
  }
  .smmds-news-detail-title {
    font-size: clamp(36px, 11vw, 54px);
  }
  .smmds-news-detail-meta {
    gap: 10px;
  }
  .smmds-news-detail-meta-item {
    width: 100%;
    border-radius: 12px;
    font-size: 0.95rem;
  }
  .smmds-news-detail-image-wrapper {
    border-radius: 14px;
  }
  .smmds-news-detail-content {
    font-size: 1rem;
    line-height: 1.65;
  }
}
