/* Surcharge LESS
------------------------------------------------------------*/
.texte_diapo {
  display: none;
}
#footer .wrapRgpd a {
  color: #fff;
}
#menus {
  background-color: #515151;
}
#menus .dl-menuwrapper li ul a {
  background: #909090;
}
#menus ul a:hover,
#menus ul li.active a {
  color: #e26465;
}
#menus ul li:hover {
  border-bottom: 0;
}
/* ===== Section carousel ===== */
.sefg-section {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 15px;
}
.sefg-section *,
.sefg-section *::before,
.sefg-section *::after {
  box-sizing: border-box;
}
.sefg-title {
  text-align: center;
  color: #c00000;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 30px;
}
/* ===== Carousel ===== */
.sefg-carousel {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 50px;
}
.sefg-viewport {
  overflow: hidden;
  padding: 10px 0 20px;
}
/* évite que l'ombre soit coupée */
.sefg-track {
  --sefg-gap: 20px;
  display: flex;
  gap: var(--sefg-gap);
  transition: transform .45s ease;
  will-change: transform;
}
/* ===== Slide (fond + ombre) ===== */
.sefg-slide {
  flex: 0 0 calc(33.33333333%);
  padding: 0;
  background: #f7f7f7;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}
.sefg-slide:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
/* ===== Card ===== */
.sefg-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
  border: 1px solid #ddd;
  border-top: 4px solid #c00000;
  text-align: center;
}
.sefg-card-img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 1 !important;
  visibility: visible !important;
}
.sefg-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 20px;
  text-align: center;
}
.sefg-card-title {
  color: #c00000;
  font-size: 20px;
  text-align: center;
  margin: 0 0 12px;
}
.sefg-card-text {
  color: #555;
  text-align: center;
  margin: 0 0 15px;
  flex: 1;
}
.sefg-card-link {
  display: inline-block;
  align-self: center;
  padding: 8px 18px;
  border: 1px solid #c00000;
  color: #c00000;
  text-decoration: none;
  font-weight: 700;
  transition: background .2s, color .2s;
}
.sefg-card-link:hover {
  background: #c00000;
  color: #fff;
}
/* ===== Flèches ===== */
#sefgCarousel .sefg-btn {
  position: absolute !important;
  top: 50% !important;
  margin-top: -20px !important;
  width: 40px !important;
  height: 40px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #c00000 !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
#sefgCarousel .sefg-btn:hover {
  background: #900000 !important;
}
#sefgCarousel .sefg-prev {
  left: 0 !important;
  right: auto !important;
}
#sefgCarousel .sefg-next {
  right: 0 !important;
  left: auto !important;
}
/* Cache l'icône SVG si elle est encore dans le HTML */
#sefgCarousel .sefg-btn svg {
  display: none !important;
}
/* Caractères ‹ et › */
#sefgCarousel .sefg-btn::after {
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
#sefgCarousel .sefg-prev::after {
  content: "\2039";
}
/* ‹ */
#sefgCarousel .sefg-next::after {
  content: "\203A";
}
/* › */
/* ===== Points ===== */
.sefg-dots {
  text-align: center;
  margin-top: 20px;
}
.sefg-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: #ccc;
  margin: 0 4px;
  padding: 0;
  cursor: pointer;
}
.sefg-dots button.active {
  background: #c00000;
}
/* ===== Tablette : 2 cartes ===== */
@media (max-width: 991px) {
  .sefg-slide {
    flex-basis: calc(50%);
  }
}
/* ===== Mobile : 1 carte ===== */
@media (max-width: 767px) {
  .sefg-slide {
    flex-basis: 100%;
  }
  .sefg-carousel {
    padding: 0 40px;
  }
  .sefg-title {
    font-size: 24px;
  }
  #sefgCarousel .sefg-btn {
    width: 34px !important;
    height: 34px !important;
    margin-top: -17px !important;
  }
}
.sefg-text-block {
  box-sizing: border-box;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 15px;
  text-align: center;
}
.sefg-text-title {
  color: #373737;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 20px;
}
.sefg-text-content {
  color: #555;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 767px) {
  .sefg-text-title {
    font-size: 24px;
  }
}
