@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
@import url("./animate.min.css");
html {
  scroll-behavior: smooth;
}
body {
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  color: #000000;
}

/* Header transparent (over hero) */
#header-page {
  padding-block: 1rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
#header-page.header-scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
#header-page.header-scrolled .brand-lnk,
#header-page.header-scrolled .brand-lnk:hover,
#header-page.header-scrolled .line-mnu > a,
#header-page.header-scrolled .line-mnu .dropdown-toggle,
#header-page.header-scrolled .btns-right .dropdown-toggle {
  color: #000 !important;
}

/* Header over hero - texte clair */
#header-page:not(.header-scrolled) .brand-lnk,
#header-page:not(.header-scrolled) .brand-lnk:hover,
#header-page:not(.header-scrolled) .line-mnu > a,
#header-page:not(.header-scrolled) .line-mnu .dropdown-toggle {
  color: #fff !important;
}
#header-page:not(.header-scrolled) .btns-right .dropdown-toggle {
  color: #fff !important;
}
#header-page:not(.header-scrolled) .btns-right button {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.5);
}
#header-page:not(.header-scrolled) .btns-right button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}
#header-page:not(.header-scrolled) .btn-primary {
  background: #fff;
  color: #0A6A35 !important;
  border-color: #fff;
}
#header-page:not(.header-scrolled) .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #0A6A35 !important;
}

.brand-lnk {
  height: 100%;
  color: #000000;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.brand-lnk:hover, .brand-lnk:focus {
  color: #000000;
}
.brand-lnk .brand-txt {
  display: inline-block;
  margin: 0;
  margin-left: 1rem;
  font-size: 21px;
  font-weight: 600;
  text-transform: uppercase;
}

.logo-img {
  width: 85px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 100%;
}

.line-mnu {
  display: flex;
  justify-content: center;
  align-items: center;
}
.line-mnu > a, .line-mnu > *, .line-mnu .dropdown {
  text-decoration: none !important;
  color: #000000 !important;
  font-size: 15px;
  font-weight: 500;
  margin-right: 1.95rem;
}
.line-mnu .dropdown-toggle {
  text-decoration: none !important;
  color: #000000 !important;
  font-size: 16px;
  font-weight: 500;
}

.btns-right {
  text-align: right;
}
.btns-right button {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}
.btns-right > * {
  display: inline-flex;
}
.btns-right a.dropdown-toggle {
  text-decoration: none;
  color: inherit;
}

/* Offcanvas au-dessus du header (1050) et de tout le contenu */
/* Le panneau doit être au-dessus du backdrop (souvent inséré après dans le DOM) */
.offcanvas {
  z-index: 1070 !important;
  background-color: rgba(0, 0, 0, 0.05);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
}

.offcanvas-backdrop {
  z-index: 1060 !important;
}

.offcanvas-backdrop.show {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.offcanvas-header {
  background-color: #F6F4F1;
}

.offcanvas-title {
  font-weight: 700;
  text-transform: uppercase;
}

.offcanvas-body {
  padding: 0;
}

.side-nav {
  position: relative;
  height: 100%;
}
.side-nav .dropdown {
  position: unset !important;
}

.side-nav-item {
  display: block;
  width: 100%;
  padding: 0.35rem 0.75rem;
  border: none;
  border-bottom: 1px solid var(--bs-gray-500);
  box-shadow: none;
  background-color: transparent;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  text-align: left;
  position: relative;
}
.side-nav-item:hover, .side-nav-item:focus {
  color: #ffffff;
}

.dropdown-menu.dm-lg {
  width: 100%;
  height: 100%;
  padding: 1rem 0.5rem;
  z-index: 2000;
  transform: unset !important;
  border-radius: 0;
  animation: fadeInUp 0.25s;
  border: none;
}
.dropdown-menu.dm-lg::before {
  content: "\e605  RETOUR";
  font-family: "simple-line-icons", "Poppins", sans-serif;
  font-style: normal;
  display: inline-block;
  width: 100%;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #0A6A35;
  cursor: pointer;
}

.side-nav-item.dropdown-toggle::after {
  content: url("../img/chevron-right.svg");
  display: inline-block;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  margin-left: unset;
  vertical-align: unset;
  border-top: unset;
  border-right: unset;
  border-bottom: unset;
  border-left: unset;
}

.title-dm {
  font-weight: 700;
  font-size: 18px;
  color: #0A6A35;
  display: flex;
  margin: 0;
  margin-bottom: 1rem;
}
.title-dm a {
  color: #0A6A35;
  text-decoration: none;
}
.title-dm::before {
  content: url("../img/arrow-left.svg");
  display: inline-block;
  margin-right: 1rem;
  color: var(--black);
}

.dm-links {
  display: block;
  margin-bottom: 1rem;
  margin-left: 0.75rem;
}

.dm-link-title {
  color: #0A6A35;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 0.5rem;
}
.dm-link-title a {
  color: #0A6A35;
  text-decoration: none;
}

.dm-link {
  display: block;
  color: #000000;
  text-decoration: none;
  font-size: 16px;
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--bs-gray-500);
}

/* Hero moderne - plein écran photo/vidéo */
#jumbo-tron.hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media video {
  display: block;
}

/* Overlay gradient pour lisibilité */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 6rem 0 5rem;
}

.hero-inner {
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
}

.hero-title {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.hero-brand {
  color: #02BF4D;
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.hero-btns .btn {
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
}

/* Indicateur de scroll */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  text-decoration: none;
  animation: heroScrollBounce 2s ease-in-out infinite;
}
.hero-scroll:hover {
  color: #fff;
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}
.hero-scroll:hover {
  color: #fff;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* Héritage anciennes classes si utilisées ailleurs */
.jumbo-caption { position: relative; z-index: 2; width: 100%; padding: 8rem 0 4rem; }
.j-txt-ctn { max-width: 800px; }
.jumbo-txt { color: #fff; font-size: clamp(28px, 4.5vw, 48px); font-weight: 600; margin-bottom: 1.25rem; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.ylw-phrase { color: rgba(255,255,255,0.95); font-size: 1.125rem; margin-bottom: 2rem; }

/* Taille unique des boutons (hero) - sauf header */
.btn {
  font-weight: 500;
  border-radius: 30px;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.btn.btn-link {
  padding: 0.25rem 0;
  padding-inline: 0;
  font-size: inherit;
}
/* Header : conserver taille réduite */
#header-page .btns-right .btn {
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
}
/* Boutons outline : effet verre dépoli (fond transparent) */
.btn-outline-light,
.btn-outline-secondary,
.btn-outline-primary {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.25);
}
.btn-outline-secondary {
  background-color: rgba(0, 0, 0, 0.04);
}
.btn-outline-secondary:hover {
  background-color: rgba(0, 0, 0, 0.08);
}
.btn-outline-primary {
  background-color: rgba(10, 106, 53, 0.06);
}
.btn-outline-primary:hover {
  background-color: rgba(10, 106, 53, 0.15);
}

#red-sx {
  background-color: #C73F3B;
}

.tr-red {
  padding: 4rem 1rem;
  text-align: center;
}
.tr-red.diff {
  background-color: #A80500;
}

.inred-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}
.inred-link:hover, .inred-link:focus {
  color: #ffffff;
}

#sponsors-sx {
  padding-block: 4rem;
  background: #F6F4F1;
}

.partners-intro {
  max-width: 640px;
  font-size: 1.0625rem;
  color: #575555;
  line-height: 1.6;
  margin-bottom: 2.5rem !important;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 576px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .partners-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.75rem;
  }
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(10, 106, 53, 0.06);
}

.partner-card:hover {
  box-shadow: 0 8px 30px rgba(10, 106, 53, 0.12);
  transform: translateY(-4px);
}

.partner-logo-wrap {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(10, 106, 53, 0.08) 0%, rgba(10, 106, 53, 0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.partner-logo-wrap.partner-logo-img {
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(10, 106, 53, 0.12);
}

.partner-logo-wrap.partner-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-initials {
  font-size: 1rem;
  font-weight: 700;
  color: #0A6A35;
  letter-spacing: 0.02em;
}

.partner-info {
  flex: 1;
  min-width: 0;
}

.partner-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.35;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.partner-role {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.partner-role.role-organizer {
  background: linear-gradient(135deg, #0A6A35 0%, #0d8a45 100%);
  color: #fff;
}

.partner-role.role-coorg {
  background: rgba(10, 106, 53, 0.18);
  color: #0A6A35;
}

.partner-role.role-host {
  background: rgba(10, 106, 53, 0.12);
  color: #0A6A35;
}

.partner-role.role-partner {
  background: rgba(10, 106, 53, 0.08);
  color: #0A6A35;
}
#actu-sx {
  padding-block: 4rem;
  background-color: #F6F4F1;
}

.title-sx {
  font-size: 42px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 3rem;
}
.title-sx::after {
  content: "";
  display: block;
  height: 8px;
  width: 180px;
  margin-top: 0.6rem;
  background-image: linear-gradient(to right, rgba(10, 106, 53, 0.955), rgba(10, 106, 53, 0));
}
.title-sx.centered {
  text-align: center;
}
.title-sx.centered::after {
  margin-inline: auto;
  background-image: linear-gradient(to right,  rgba(10, 106, 53, 0), rgba(10, 106, 53, 0.955), rgba(10, 106, 53, 0));
}
.sized-p912 {
  aspect-ratio: 9/13;
  object-fit: cover;
}
.card-post {
  position: relative;
  margin-bottom: 1rem;
  overflow: hidden;
}
.card-post:hover .post-card-caption::after {
  width: 100%;
}

.post-card-img {
  width: 100%;
  aspect-ratio: 1.793721;
  object-fit: cover;
}

.post-card-caption {
  padding-block: 1rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.post-card-caption::after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: #0A6A35;
  transition: all 0.2s;
}

.post-date {
  color: var(--bs-gray-800);
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 0.8rem;
}

.post-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

#post-une {
  padding-block: 5rem;
}

.no-img .post-card-caption {
  padding-block: 0;
  padding-bottom: 1.5rem;
}
.no-img .post-card-caption::after {
  top: unset;
  bottom: 0;
}
.no-img .card-post {
  margin-bottom: 1.75rem;
}
.no-img .card-post a {
  color: #000000;
  text-decoration: none;
}
.no-img .card-post:first-child {
  border-bottom: 1px solid var(--bs-gray-200);
}

#compte-rebours {
  background-color: #0A6A35;
  color: #ffffff;
  padding-block: 2.5rem;
}

/* Dates limites - style inspiré argeo-c11.com */
#deadlines-sx .deadlines-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0A6A35;
  margin-bottom: 0.75rem;
}
#deadlines-sx .deadlines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}
#deadlines-sx .deadlines-grid::-webkit-scrollbar {
  height: 6px;
}
#deadlines-sx .deadlines-grid::-webkit-scrollbar-thumb {
  background: rgba(10, 106, 53, 0.25);
  border-radius: 3px;
}
#deadlines-sx .deadline-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid rgba(10, 106, 53, 0.08);
  min-width: 0;
  overflow: hidden;
}
#deadlines-sx .deadline-card:hover {
  box-shadow: 0 4px 20px rgba(10, 106, 53, 0.12);
  transform: translateY(-2px);
}
#deadlines-sx .deadline-date {
  font-size: 1rem;
  font-weight: 700;
  color: #0A6A35;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
#deadlines-sx .deadline-label {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-break: break-word;
}
/* Tablette : timeline verticale avec barre */
@media (min-width: 768px) and (max-width: 991.98px) {
  #deadlines-sx .deadlines-scroll-wrap {
    overflow: visible;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  #deadlines-sx .deadlines-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    grid-template-columns: unset;
    overflow: visible;
    min-width: unset;
    padding-left: 2rem;
    position: relative;
  }
  #deadlines-sx .deadlines-grid::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #0A6A35 0%, rgba(10, 106, 53, 0.5) 50%, rgba(10, 106, 53, 0.2) 100%);
    border-radius: 2px;
    z-index: 0;
  }
  #deadlines-sx .deadlines-grid > * {
    position: relative;
    z-index: 1;
    flex: none;
  }
  #deadlines-sx .deadline-card {
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
    margin-bottom: 1rem;
    margin-left: 0;
    min-width: unset;
  }
  #deadlines-sx .deadline-card::before {
    content: "";
    position: absolute;
    left: calc(-2rem + 6px);
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0A6A35;
    border: 3px solid #F6F4F1;
    box-shadow: 0 0 0 2px #0A6A35;
    flex-shrink: 0;
    z-index: 2;
  }
  #deadlines-sx .deadline-item:last-child .deadline-card {
    margin-bottom: 0;
  }
  #deadlines-sx .deadline-date {
    font-size: 1rem;
  }
}
#deadlines-sx .deadlines-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-left: calc(-1 * var(--bs-gutter-x, 12px) / 2);
  margin-right: calc(-1 * var(--bs-gutter-x, 12px) / 2);
  padding-left: calc(var(--bs-gutter-x, 12px) / 2);
  padding-right: calc(var(--bs-gutter-x, 12px) / 2);
}
#deadlines-sx .deadlines-scroll-wrap::-webkit-scrollbar {
  height: 6px;
}
#deadlines-sx .deadlines-scroll-wrap::-webkit-scrollbar-thumb {
  background: rgba(10, 106, 53, 0.25);
  border-radius: 3px;
}

@media (min-width: 992px) {
  #deadlines-sx .deadlines-grid {
    grid-template-columns: repeat(6, minmax(140px, 1fr));
    gap: 1rem;
    min-width: 900px;
    position: relative;
    padding-top: 2rem;
  }
  #deadlines-sx .deadlines-grid::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    top: 1rem;
    height: 3px;
    background: linear-gradient(
      90deg,
      #0A6A35 0%,
      rgba(10, 106, 53, 0.6) 25%,
      rgba(10, 106, 53, 0.6) 75%,
      rgba(10, 106, 53, 0.2) 100%
    );
    border-radius: 2px;
    z-index: 0;
  }
  #deadlines-sx .deadlines-grid > * {
    position: relative;
    z-index: 1;
  }
  #deadlines-sx .deadline-card {
    padding: 1.5rem 1rem 1.25rem;
    min-width: 130px;
  }
  #deadlines-sx .deadline-card::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -1.7rem;
    transform: translate(-30%, 30%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0A6A35;
    border: 3px solid #F6F4F1;
    box-shadow: 0 0 0 2px #0A6A35;
    z-index: 2;
  }
  #deadlines-sx .deadline-card:hover::before {
    transform: translate(-50%, -50%) scale(1.15);
  }
  #deadlines-sx .deadline-date {
    font-size: 0.95rem;
  }
  #deadlines-sx .deadline-label {
    font-size: 0.875rem;
  }
}

/* Programme - cartes par jour */
#programme-sx {
  background: linear-gradient(165deg, #e2e5e1 0%, #d0d5d0 35%, #c4c9c4 70%, #b8beb8 100%);
}
#programme-sx .program-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
#programme-sx .program-day-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: box-shadow 0.25s, transform 0.25s, background 0.25s;
  min-width: 0;
}
#programme-sx .program-day-card:hover {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}
#programme-sx .program-day-header {
  background: linear-gradient(135deg, #0A6A35 0%, #0d8542 100%);
  color: #fff;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  min-height: auto;
}
#programme-sx .program-day-name {
  font-weight: 600;
  flex-shrink: 0;
}
#programme-sx .program-date-num {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.95;
}
#programme-sx .program-day-highlight .program-day-header {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}
#programme-sx .program-day-excursion .program-day-header {
  background: linear-gradient(135deg, #2d7d4a 0%, #0A6A35 100%);
}
#programme-sx .program-slots {
  list-style: none;
  margin: 0;
  padding: 1rem 1.25rem;
}
#programme-sx .program-slot {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
#programme-sx .program-slot:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
#programme-sx .slot-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0A6A35;
  min-width: 4.5rem;
}
@media (min-width: 768px) {
  #programme-sx .program-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 992px) {
  #programme-sx .program-cards {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }
  #programme-sx .program-day-header {
    padding: 0.5rem 1rem;
  }
  #programme-sx .program-slots {
    padding: 1rem;
  }
  #programme-sx .program-slot {
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.5rem 0;
    font-size: 0.85rem;
  }
  #programme-sx .slot-label {
    min-width: auto;
  }
}

/* Appel à communications - fond sombre, design incitatif */
#call-papers-sx {
  background: linear-gradient(180deg, #1a1d20 0%, #121416 50%, #0d0e10 100%);
  color: #fff;
  padding-block: 4rem;
}
#call-papers-sx .call-papers-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}
#call-papers-sx .call-papers-text {
  flex: 1;
  min-width: 280px;
}
#call-papers-sx .call-papers-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #02BF4D;
  margin-bottom: 1rem;
}
#call-papers-sx .call-papers-badge i {
  font-size: 1.1rem;
}
#call-papers-sx .call-papers-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #fff;
}
#call-papers-sx .call-papers-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}
#call-papers-sx .call-papers-deadline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
#call-papers-sx .call-papers-deadline i {
  font-size: 1.1rem;
  color: #02BF4D;
}
#call-papers-sx .call-papers-deadline strong {
  color: #fff;
  font-weight: 700;
}
#call-papers-sx .call-papers-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #02BF4D !important;
  border-color: #02BF4D !important;
  color: #0d0e10 !important;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  margin-bottom: 0.75rem;
}
#call-papers-sx .call-papers-cta:hover {
  background: #03d456 !important;
  border-color: #03d456 !important;
  color: #0d0e10 !important;
}
#call-papers-sx .call-papers-cta i {
  font-size: 1rem;
}
#call-papers-sx .call-papers-templates {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
#call-papers-sx .call-papers-illustration {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 191, 77, 0.12);
  border-radius: 24px;
  border: 1px solid rgba(2, 191, 77, 0.2);
}
#call-papers-sx .call-papers-illustration i {
  font-size: 3.5rem;
  color: #02BF4D;
  opacity: 0.9;
}
@media (max-width: 767.98px) {
  #call-papers-sx .call-papers-illustration {
    width: 100px;
    height: 100px;
  }
  #call-papers-sx .call-papers-illustration i {
    font-size: 2.5rem;
  }
}

#two-parts {
  padding-block: 3rem;
  background-color: #F6F4F1;
}

.agenda-pr, .conseil-min {
  min-height: 540px;
  padding: 1.5rem 2.5rem;
}

.head-date {
  font-size: 16px;
  font-weight: 600;
}

.agenda-pr {
  background-color: #ffffff;
}

.event-item {
  display: flex;
  flex-wrap: nowrap;
  margin-bottom: 0.75rem;
  align-items: center;
}
.event-item::before {
  content: "-";
}

.event-time, .event-txt {
  padding: 0.75rem 1rem;
}

.event-time {
  width: 18%;
  font-weight: 500;
  font-size: 16px;
  border-right: 9px solid #F6F4F1;
}

.event-txt {
  width: 80%;
  font-size: 16px;
  font-weight: 400;
}

.conseil-min {
  border: 1px solid #0A6A35;
}

#icons-state {
  padding-block: 4rem;
}

.card-icon-bslm {
  position: relative;
  border: 1px solid #0A6A35;
  border-radius: 4px;
  text-align: center;
  padding: 2rem;
  min-height: 280px;
  transition: all 0.3s;
}
.card-icon-bslm:hover {
  border-radius: 15px;
  background-color: #F6F4F1;
}
.card-icon-bslm:hover .ci-bslm {
  color: #0A6A35;
}

.svg-icon {
  width: 220px;
  height: 160px;
  object-fit: contain;
}

.ci-bslm {
  font-size: 18px;
  font-weight: 600;
  margin-top: 2rem;
  transition: color 0.3s;
}

#green-footer {
  background-color: #0A6A35;
  padding-block: 3rem;
  color: #fff;
}
#green-footer a:not(.btn) {
  color: #ffffff;
  text-decoration: none;
}
#green-footer a:not(.btn):hover, #green-footer a:not(.btn):focus {
  color: #ffffff;
}

.ft-head {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.ft-lnks {
  margin-bottom: 2.5rem;
}

.ft-lnk {
  display: block;
  font-size: 16px;
  margin-bottom: 0.6rem;
  transition: 0.3s all;
}
.ft-lnk::after {
  content: "";
  display: block;
  width: 0%;
  height: 1px;
  background-color: transparent;
  transition: 0.3s all;
}
.ft-lnk:hover::after, .ft-lnk:focus::after {
  background-color: #ffffff;
  width: 50px;
}

.social-lnks {
  margin-bottom: 1rem;
  display: flex;
}
.social-lnks a {
  font-size: 1.5rem;
  display: inline-block;
  margin-right: 1.5rem;
}

.p-copy {
  text-align: right;
  font-size: 16px;
}

/* Page */
#pre-header {
  background-color: #0A6A35;
  padding-block: 4rem;
  color: #ffffff;
}
#pre-header .dropdown {
  text-align: right;
  margin-top: 3.5rem;
}
#pre-header .btn.dropdown-toggle {
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: #ffffff;
}
#pre-header .btn.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "...";
  border-top: unset;
  border-right: unset;
  border-bottom: unset;
  border-left: unset;
  color: #ffffff;
}

.publish-date {
  font-size: 16px;
  font-weight: 400;
  margin-top: 2rem;
}

.page-title {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 0;
}

#page-in {
  padding-block: 4rem;
  background-color: #F6F4F1;
}
#page-in .agenda-pr, #page-in .conseil-min {
  min-height: auto;
}

.first-img img {
  width: 100%;
  /*aspect-ratio: 1240/700;
  object-fit: cover;*/
}

.content-txt {
  max-width: 770px;
  margin: 1.5rem auto;
  font-size: 16px;
  line-height: 1.688;
}
.content-txt p {
  margin-bottom: 1.25rem;
}

blockquote {
  font-weight: 500;
  padding: 2rem 2.5rem 3rem;
}
blockquote::before {
  content: url("../img/quote.svg");
  display: block;
  margin-block: 1rem;
  line-height: 0;
}

.chapo {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.bg-wpd {
  background-color: #ffffff;
  padding: 1.5rem 2.5rem;
  font-weight: 500;
}

.toupper {
  text-transform: uppercase;
}

/* FAQ - présentation moderne */
#faq-sx {
  padding-block: 4rem;
  background: #F6F4F1;
}

#faq-sx .faq-intro {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: #575555;
  font-size: 1.0625rem;
}

.accordion-faq {
  --bs-accordion-border-color: rgba(10, 106, 53, 0.12);
  --bs-accordion-border-width: 1px;
  --bs-accordion-border-radius: 12px;
  --bs-accordion-inner-border-radius: 11px;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(10, 106, 53, 0.15);
  --bs-accordion-active-bg: rgba(10, 106, 53, 0.06);
  --bs-accordion-active-color: #0A6A35;
}

.accordion-faq .accordion-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(10, 106, 53, 0.08);
}

.accordion-faq .accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-faq .accordion-button {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1a1a1a;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: none;
}

.accordion-faq .accordion-button:not(.collapsed) {
  color: #0A6A35;
  background: rgba(10, 106, 53, 0.05);
}

.accordion-faq .accordion-button::after {
  flex-shrink: 0;
}

.accordion-faq .accordion-button:hover {
  color: #0A6A35;
}

.accordion-faq .accordion-body {
  padding: 0 1.5rem 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

.accordion-faq .accordion-body a {
  color: #0A6A35;
  font-weight: 600;
}

.accordion-faq .accordion-body a:hover {
  text-decoration: underline;
}

.accordion-button i::after {
  content: " ";
  display: inline-block;
  margin-right: 1rem;
}

#sx-priorites {
  margin-bottom: 4rem;
  counter-reset: list-number;
}
#sx-priorites .g-5 {
  --bs-gutter-y: 1rem !important;
}

.card-priority {
  position: relative;
  padding-top: 6rem;
  padding-left: 0.5rem;
  counter-increment: list-number;
}
.card-priority::after {
  content: counter(list-number);
  font-size: 200px;
  font-weight: 700;
  color: #6D6D6D;
  opacity: 0.05;
  line-height: 0;
  display: inline-block;
  position: absolute;
  top: 5rem;
  left: 0;
}

.cpri-title {
  font-size: 18px;
  font-weight: 700;
}

.cpri-caption {
  font-size: 16px;
  font-weight: 400;
}

.discr-bloc {
  position: relative;
  overflow: hidden;
}

.card-discr.discr-mini {
  aspect-ratio: 496/375;
}
.card-discr.discr-mini .discr-img {
  aspect-ratio: 496/375;
}
.card-discr.discr-mini .date-discr {
  margin-top: 1rem;
  font-size: 16px;
}
.card-discr.discr-mini .discr-caption {
  padding: 10px 50px 50px 50px;
}
.card-discr.discr-mini .discr-caption::before {
  margin-top: 1.5rem;
}
.card-discr.discr-mini .discr-title {
  font-size: 16px;
}

.discr-img {
  aspect-ratio: 496/280;
  width: 100%;
  object-fit: cover;
}

.discr-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bs-gray-200);
  color: #ffffff;
  padding: 10px 80px 50px 50px;
}
.discr-caption::before {
  content: url("../img/quote-mini.svg");
  display: block;
  transform: translateX(-2rem);
  margin-top: 3.5rem;
}

.discr-title {
  font-size: 18px;
}

.card-presi {
  position: relative;
}
.card-presi.c-gouv .presi-caption {
  min-height: 164px;
}

.presi-img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.presi-caption {
  background-color: #ffffff;
  padding: 1rem 1rem;
  text-align: center;
  font-size: 13px;
  min-height: 125px;
}

.presi-name {
  font-size: 18px;
  font-weight: 600;
}

.card-symbole {
  position: relative;
}
.card-symbole .symb-img {
  aspect-ratio: 20/15;
  object-fit: contain;
  background-color: #ffffff;
  padding: 1rem;
}

.symb-img {
  width: 100%;
}

.symb-caption {
  background-color: #ffffff;
  padding: 1.5rem;
  text-align: center;
  min-height: 100px;
  border-top: 2px solid #F6F4F1;
}

.symb-name {
  font-size: 18px;
  font-weight: 600;
}

.mdl-txt {
  margin-top: 1.5rem;
  font-size: 16px;
}
.mdl-txt h3 {
  font-size: 21px;
  font-weight: 600;
}

.timerow {
  display: flex;
  flex-wrap: wrap;
}

.c-env {
  width: 25%;
  padding-inline: 0.325rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #000000;
  position: relative;
}
.c-env:first-child::after {
  content: "";
  display: block;
  height: 16px;
  width: 16px;
  border-top: 2px solid #000000;
  border-right: 2px solid #000000;
  position: absolute;
  bottom: -8px;
  left: 0;
  transform: rotate(45deg);
  background-color: #F6F4F1;
}
.c-env:last-child::after {
  content: "";
  display: block;
  height: 16px;
  width: 16px;
  border-top: 2px solid #000000;
  border-right: 2px solid #000000;
  position: absolute;
  bottom: -8.5px;
  right: 2px;
  transform: rotate(45deg);
}

.card-scroller {
  text-align: center;
  position: relative;
}
.card-scroller::after {
  content: "";
  display: block;
  margin: auto;
  width: 5px;
  background-color: #6D6D6D;
  height: 4rem;
}
.card-scroller::before {
  content: "";
  display: inline-block;
  height: 10px;
  width: 10px;
  border-radius: 100%;
  background-color: #575555;
  position: absolute;
  bottom: -4px;
  left: calc(50% - 5px);
}

.card-scr-caption {
  padding: 1.5rem;
  font-size: 14px;
  min-height: 175px;
  border-bottom: 3px solid #F6F4F1;
  background-color: #ffffff;
  box-shadow: 2px 0 3px rgba(0, 0, 0, 0.05);
  position: relative;
}
.card-scr-caption::first-letter {
  text-transform: uppercase;
}

.card-scr-date {
  padding: 1rem;
  background-color: #ffffff;
  box-shadow: 2px 0 3px rgba(0, 0, 0, 0.05);
}
.card-scr-date * {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.u-links {
  list-style: none;
}
.u-links li {
  font-size: 18px;
  margin-bottom: 1rem;
}
.u-links li a {
  color: #000000;
  text-decoration: underline;
}
.u-links li a:hover, .u-links li a:focus {
  color: #0A6A35;
}
.u-links li::before {
  content: url("../img/arrow.svg");
  display: inline-block;
  margin-right: 1rem;
}

.card-photo {
  background-color: #ffffff;
  position: relative;
  box-shadow: 2px 0 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}
.card-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background-color: #ffffff;
  color: #000000;
  border-radius: 3px;
  padding: 5px;
}
.card-photo .card-caption {
  padding: 1rem;
  min-height: 140px;
}
.card-photo .card-caption h4 {
  font-size: 16px;
  font-weight: 600;
}
.card-photo .card-caption p {
  color: var(--bs-gray-200);
}

.caption .image-title {
  display: none;
}

.bsalam-gallery img {
  width: 250px;
  height: 180px;
  object-fit: cover;
}

.pswp__img {
  object-fit: contain;
}

.card .form-control {
  border-radius: 0;
  border: none;
  border-bottom: 2px solid #575555;
  position: relative;
  transition: all 0.3s;
}
.card .form-control:focus {
  outline: 0;
  box-shadow: none;
  border-bottom: 2px solid #0A6A35;
  background-color: #F6F4F1;
}
.card .form-label {
  color: #575555;
}

.clr-green {
  color: #02BF4D;
}

/* Palais du Peuple - design minimaliste moderne */
#lieu-sx.lieu-modern {
  background: #fff;
  padding-block: 5rem;
}

#lieu-sx .lieu-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

#lieu-sx .lieu-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #0A6A35;
  margin-bottom: 0.5rem;
}

#lieu-sx .lieu-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

#lieu-sx .lieu-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: #0A6A35;
  margin: 0.75rem auto 0;
}

#lieu-sx .lieu-subtitle {
  font-size: 1.125rem;
  color: #575555;
}

#lieu-sx .lieu-content {
  display: grid;
  gap: 2rem;
  align-items: start;
}

#lieu-sx .lieu-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
}

#lieu-sx .lieu-img-main {
  grid-row: span 2;
  overflow: hidden;
}

#lieu-sx .lieu-img-main img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#lieu-sx .lieu-img-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  grid-row: span 2;
}

#lieu-sx .lieu-img-secondary {
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

#lieu-sx .lieu-img-secondary img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#lieu-sx .lieu-img-main:hover img,
#lieu-sx .lieu-img-secondary:hover img {
  transform: scale(1.03);
}

#lieu-sx .lieu-text {
  color: #444;
}

#lieu-sx .lieu-desc {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

#lieu-sx .lieu-text .btn {
  border-radius: 8px;
  font-weight: 600;
}

@media (min-width: 768px) {
  #lieu-sx .lieu-content {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (max-width: 767.98px) {
  #lieu-sx .lieu-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 1fr 1fr;
  }
  #lieu-sx .lieu-img-main {
    grid-row: span 1;
  }
  #lieu-sx .lieu-img-grid {
    grid-column: 1;
    flex-direction: row;
  }
  #lieu-sx .lieu-img-secondary {
    min-height: 160px;
  }
}

@media (max-width: 767.98px) {
  #lieu-sx .lieu-grid {
    aspect-ratio: 4/3;
    max-height: 280px;
    grid-template-rows: 1fr 1fr;
  }
}

.countdown {
  display: flex;
  gap: 20px;
  text-align: center;
}

.time-box {
  background: #0A6A35;
  padding: 25px 20px;
  border-radius: 12px;
  min-width: 100px;
  box-shadow: 0 10px 25px rgba(0, 78, 42, 0.3);
  transition: transform 0.3s ease;
}

.time-box:hover {
  transform: translateY(-5px);
}

.number {
  font-size: 2.5rem;
  font-weight: bold;
}

.label {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 5px;
}

@media (max-width: 600px) {
  .countdown {
    flex-wrap: wrap;
    justify-content: center;
  }
  .time-box {
    min-width: 80px;
    padding: 20px 15px;
  }
  .number {
    font-size: 2rem;
  }
}
/* Media Queries */
/* Extra Large devices */
@media screen and (max-width: 1399.98px) {
  .line-mnu > a, .line-mnu > *, .line-mnu .dropdown {
    font-size: 15.5px;
    margin-right: 1.3rem;
  }
  .btns-right button {
    font-size: 15.5px;
  }
  .jumbo-caption {
    top: 14rem;
  }
  .card-icon-bslm {
    min-height: 315px;
  }
}
/* Large devices */
@media screen and (max-width: 1199.98px) {
  .btns-right button {
    font-size: 18px;
  }
  .line-mnu, .hdn {
    display: none;
  }
  .jumbo-caption {
    top: 9rem;
  }
  .card-icon-bslm {
    min-height: 280px;
  }
  .c-env {
    width: 33.33%;
  }
  .card-discr.discr-mini {
    aspect-ratio: 1;
  }
  .card-discr.discr-mini .discr-img {
    aspect-ratio: 1;
  }
  .card-discr.discr-mini .discr-caption {
    padding: 10px 40px 30px 40px;
  }
  .card-discr.discr-mini .discr-caption::before {
    margin-top: 1.5rem;
  }
}
/* Medium devices */
@media screen and (max-width: 991.98px) {
  .jumbo-caption {
    top: 7rem;
  }
  .jumbo-txt {
    font-size: 21px;
  }
  .c-env {
    width: 50%;
  }
  .card-discr.discr-mini {
    aspect-ratio: 496/375;
  }
  .card-discr.discr-mini .discr-img {
    aspect-ratio: 496/375;
  }
  .card-priority {
    margin-bottom: 2rem;
  }
}
/* small devices */
@media screen and (max-width: 767.98px) {
  .jumbo-caption {
    position: static;
    background-color: #000000;
    color: #ffffff;
    padding: 2.5rem 1.5rem;
  }
  .card-scr-caption {
    min-height: 195px;
  }
}
/*Extra small*/
@media screen and (max-width: 575.98px) {
  .brand-lnk .logo-img {
    width: 80px;
  }
  .brand-lnk .brand-txt {
    display: inline-block;
    margin: 0;
    margin-left: 1rem;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
  }
  .g-5 {
    --bs-gutter-x: 1.5rem !important;
  }
  .btns-right button {
    padding-inline: 0.125rem;
  }
  .card-scroller {
    margin-bottom: 0;
  }
  .c-env {
    width: 100%;
  }
  .card-scr-caption {
    min-height: 130px;
  }
  .discr-img {
    aspect-ratio: 496/380;
  }
  .discr-caption {
    padding: 10px 15px 30px 15px;
  }
  .discr-caption::before {
    transform: translateX(0);
    margin-top: 0.5rem;
  }
  .discr-title {
    font-size: 14px;
  }
}
@media screen and (max-width: 410px) {
  .brand-lnk .logo-img {
    width: 70px;
  }
  .brand-lnk .brand-txt {
    margin-left: 0.5rem;
    font-size: 16px;
  }
  .btns-right button {
    font-size: 16px;
  }
  .event-time {
    width: 25%;
  }
  .event-txt {
    width: 75%;
  }
  .title-sx {
    font-size: 38px;
  }
}

/* ========== Pages internes (fusionné depuis pages.css) ========== */

/* Bandeau page avec titre */
.page-banner {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: linear-gradient(135deg, #0A6A35 0%, #0d8a45 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5rem;
}

.page-banner .banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 106, 53, 0.3) 0%, rgba(10, 106, 53, 0.75) 100%);
  z-index: 1;
}

.page-banner .banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
  width: 100%;
}

.page-banner .page-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  padding: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.page-banner .page-title::after {
  display: none;
}

.page-banner .page-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-top: 0.5rem;
  font-weight: 400;
}

/* Fil d'Ariane */
.breadcrumb-section {
  background: #F6F4F1;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(10, 106, 53, 0.15);
}

.breadcrumb {
  margin: 0;
  padding: 0;
  background: none;
  font-size: 0.9rem;
}

.breadcrumb-item {
  color: #575555;
}

.breadcrumb-item a {
  color: #0A6A35;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.breadcrumb-item a:hover {
  color: #0d8a45;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #2c2c2c;
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #0A6A35;
  font-weight: 700;
}

/* Zone contenu page */
.page-main {
  padding: 3rem 0 4rem;
  background: #fff;
}

.page-main .page-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0A6A35;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.page-main .page-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: #0A6A35;
  border-radius: 2px;
}

/* Contenu standard */
.page-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #333;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A6A35;
  margin: 2.5rem 0 1rem;
}

.page-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
}

.page-content p {
  margin-bottom: 1.25rem;
}

.page-content ul, .page-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

/* Formulaire inscription */
.inscription-section {
  padding: 3rem 0 4rem;
  background: linear-gradient(180deg, #F6F4F1 0%, #fff 100%);
}

.inscription-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(10, 106, 53, 0.12), 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  background: #fff;
}

.inscription-card .card-header {
  background: linear-gradient(135deg, #0A6A35 0%, #0d8a45 100%);
  color: #fff;
  padding: 1.5rem 2rem;
  border: none;
  font-weight: 600;
  font-size: 1.25rem;
}

.inscription-card .form-control {
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
  transition: all 0.2s;
}

.inscription-card .form-control:focus {
  border-color: #0A6A35;
  box-shadow: 0 0 0 3px rgba(10, 106, 53, 0.15);
}

.inscription-card .form-label {
  font-weight: 500;
  color: #333;
}

/* Liste actualités */
.actualites-section {
  padding: 3rem 0 4rem;
  background: #F6F4F1;
}

.actualites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.actualite-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.actualite-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(10, 106, 53, 0.15);
}

.actualite-card .card-img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.actualite-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.actualite-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.actualite-card .card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.actualite-card .card-date {
  font-size: 0.875rem;
  color: #0A6A35;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.actualite-card .card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.actualite-card .card-text {
  font-size: 0.9375rem;
  color: #575555;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.actualite-card .card-link {
  color: #0A6A35;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}

.actualite-card .card-link:hover {
  color: #0d8a45;
  gap: 0.5rem;
}

/* Pagination */
.pagination-event .page-link {
  color: #0A6A35;
  border-radius: 8px !important;
  margin: 0 0.2rem;
  border: 1px solid rgba(10, 106, 53, 0.3);
}

.pagination-event .page-link:hover {
  background: #0A6A35;
  color: #fff;
  border-color: #0A6A35;
}

.pagination-event .page-item.active .page-link {
  background: #0A6A35;
  border-color: #0A6A35;
}

/* Article single */
.article-section {
  padding: 3rem 0 4rem;
  background: #fff;
}

.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #F6F4F1;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: #575555;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.article-chapo {
  font-size: 1.25rem;
  color: #575555;
  line-height: 1.5;
  margin-top: 1rem;
}

.article-featured-img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A6A35;
  margin: 2.5rem 0 1rem;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
}

.article-body blockquote {
  border-left: 4px solid #0A6A35;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #575555;
}

.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #F6F4F1;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0A6A35;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.article-back:hover {
  color: #0d8a45;
  gap: 0.75rem;
}

/* Programme */
.programme-section {
  padding: 3rem 0 4rem;
  background: #F6F4F1;
}

.programme-day {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
}

.programme-day-header {
  background: linear-gradient(135deg, #0A6A35 0%, #0d8a45 100%);
  color: #fff;
  padding: 1.25rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.programme-day-body {
  padding: 1.5rem;
}

.programme-event {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid #F6F4F1;
  align-items: flex-start;
}

.programme-event:last-child {
  border-bottom: none;
}

.programme-event-time {
  flex: 0 0 100px;
  font-weight: 600;
  color: #0A6A35;
  font-size: 1rem;
}

.programme-event-content h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.programme-event-content p {
  margin: 0;
  font-size: 0.9375rem;
  color: #575555;
}

/* Intervenants */
.intervenants-section {
  padding: 3rem 0 4rem;
  background: #F6F4F1;
}

.intervenant-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.intervenant-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(10, 106, 53, 0.15);
}

.intervenant-card .card-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
}

.intervenant-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.intervenant-card .card-body {
  padding: 1.5rem;
  flex: 1;
}

.intervenant-card .card-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0A6A35;
  margin-bottom: 0.25rem;
}

.intervenant-card .card-role {
  font-size: 0.9375rem;
  color: #575555;
  margin-bottom: 0.5rem;
}

.intervenant-card .card-bio {
  font-size: 0.875rem;
  color: #333;
  line-height: 1.5;
}

/* Pages responsive */
@media (max-width: 991.98px) {
  .page-banner {
    height: 220px;
  }
  .page-banner .page-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .page-banner {
    height: 180px;
  }
  .page-banner .page-title {
    font-size: 1.5rem;
  }
  .page-main, .inscription-section, .actualites-section {
    padding: 2rem 0 3rem;
  }
  .actualites-grid {
    grid-template-columns: 1fr;
  }
}
