@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Bree+Serif&family=Oswald:wght@200..700&display=swap");
body {
  padding: 0 !important;
  margin: 0 !important;
  background-repeat: no-repeat;
  background-position: center 80px;
  background-size: cover;
  background-color: #ffffff;
  color: #000;
  width: 100vw;
  overflow-x: hidden !important;
  border-radius: 12px;
  --BlueMDA: #092a50;
  --GoldMDA: #d29834;
  --BlueFRA: #09225d;
  --BlueFD: #033896;
  --ffv-blanc: #ffffff;
  --ffv-gris: #f5f6fa;
  --ffv-ombre: 0 6px 18px rgba(0, 0, 0, 0.08);
  --radius: 12px;
}
html {
  height: 100%;
}
.CarouselBaseItemTitle {
  display: block;
}
.CarouselBaseItemTitle_Mobile {
  display: none;
}
.carousel-button {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  padding: 10px 20px;
  background-color: #0000006e;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  &:hover {
    background-color: #00000046;
    border: 1px solid #fff;
  }
}
.carousel-button i {
  font-size: 32px;
}
.carousel-button.prev {
  left: 10px;
  z-index: 100;
}
.carousel-button.next {
  right: 10px;
  z-index: 100;
}
.CarrouselSection {
  position: relative;
}
.CarouselBase {
  background-size: cover;
  min-width: 100vw;
  max-height: 77vh;
  margin-bottom: 3rem;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
.CarrouselItem {
  min-width: 100vw;
  max-height: max-content;
}
.image-container {
  position: relative;
  min-width: 100vw;
  padding-top: 26%;
  padding-bottom: 26%;
  overflow: hidden;
}
.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.CarouselBaseItemTitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  position: absolute;
  padding: 0.8rem;
  max-width: 33%;
  min-height: 100%;
  background-color: rgba(0, 0, 0, 0.61);
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  color: #fff;
}
.CarouselBaseItemTitle h2 {
  font-size: calc(16px + 1.5vw);
  padding: 8px;
  text-align: left;
  font-weight: bold;
  color: #fff;
  margin-left: 16px;
}
.CarouselBaseItemTitle a {
  font-size: 16px;
  text-decoration: none;
  color: #fff;
}
.CarrouselCounter {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  bottom: 5%;
  padding: 16px;
  margin-top: 5px;
  text-align: center;
  background-color: #ffffff4f;
  gap: 0.5rem;
  border-radius: 24px;
}
.CarouselBaseItemTitleBottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
}
.btn2 {
  text-align: right;
  border: 1px solid #fff;
  border-radius: 16px;
  text-wrap: nowrap;
  background-color: transparent;
  padding: 8px;
  color: #000;
  transition:
    background-color 0.3s,
    border 0.3s,
    color 0.3s;
  &:hover {
    background-color: #fff;
    color: #000;
  }
}
@media screen and (max-width: 850px) {
}
.count {
  overflow: visible;
  z-index: 80;
  display: flex;
  position: fixed;
  bottom: 0;
  margin: 0 auto;
  width: 100%;
  flex-direction: row;
  align-items: center;
  text-decoration: none !important;
  font-family: "Oswald";
}
.floatBarJO {
  margin: 0 auto;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: end;
  transition: transform 0.85s ease-in-out;
  transform: translateY(0);
}
.floatBarJO.hidden {
  transform: translateY(150%);
}
.countdown {
  background-image: url("/ffv/web/Communaute/Marin_Annee_2024/Includes/iMG/fond.jpg");
  background-position-y: center;
  background-position-x: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 60vw;
  border-radius: 16px;
  color: #000;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px;
  margin: 0;
  opacity: 95%;
  box-shadow: 5px 10px #092a50a6;
  transition: ease-in all 0.6s;
  pointer-events: fill;
}
.countdown:hover {
  box-shadow: none;
  transition: ease-out all 0.6s;
}
.countdown h2 {
  color: var(--GoldMDA);
  font-size: 28px;
  text-align: center;
  padding: 18px;
  padding-left: 8px;
  margin: 0;
}
.countdownImg {
  width: 8rem;
}
@media screen and (max-width: 1100px) {
  .countdown {
    background-position-y: bottom;
    width: 80vw;
  }
}
@media screen and (max-width: 1030px) {
  .countdown h2 {
    font-size: 24px;
  }
}
@media screen and (max-width: 850px) {
  .countdown {
    width: 75vw;
  }
  .AthlYm {
    display: none;
  }
}
@media screen and (max-width: 680px) {
  .countdown h2 {
    text-wrap: wrap;
    text-align: left;
    width: 55%;
  }
}
@media screen and (max-width: 580px) {
  .countdown {
    justify-content: space-between;
    width: 95vw;
  }
  .countdownImg {
    width: auto;
    height: 3rem;
  }
  .Marino {
    display: none;
  }
  .MobileForm {
    margin-bottom: 6.2rem;
    margin-right: 1rem;
  }
}
.h1,
.text-center {
  color: #000;
  font-size: 28px;
  pointer-events: fill;
  opacity: 100%;
  width: 100%;
  margin: 0;
  font-family: "Oswald";
}
.h1 {
  font-size: 28px;
}
.text-center {
  font-size: 23px;
  font-weight: 600;
}
.countdown-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  color: #000;
}
.Marino {
  width: fit-content;
}
.Marino img {
  width: 10rem;
}
.toggleButton {
  position: fixed;
  bottom: 2rem;
  right: 1rem;
  border-radius: 32px;
  z-index: 999;
  background-color: #0c2660;
  opacity: 90%;
  border: 2px solid transparent;
  color: white;
  padding: 12px;
  transition: ease-in 0.5s;
}
.toggleButton:hover {
  border: 2px solid #fff;
}
.toggleButton img {
  transition: opacity 0.85s ease-in-out;
  position: static;
}
.toggleButton #showImage {
  width: 4.5rem;
}
.toggleButton #hideImage {
  width: 2rem;
}
.toggleImage.hidden {
  opacity: 0;
  transition: opacity 0.85s ease-in-out;
  display: none;
}
.toggleImage:not(.hidden) {
  opacity: 1;
  transition: opacity 0.85s ease-in-out;
}
.AllActuBtn {
  display: block;
  z-index: 2;
  position: absolute;
  right: 1%;
  color: #000;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  padding: 16px;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #0000004d 50%, #fff 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all 0.5s ease-in-out;
  font-weight: bold;
  border: 1px solid #000;
  &:hover {
    color: #fff;
    border-color: #fff;
    background-position: left bottom;
  }
}
.AllActuBtnMobile {
  z-index: 99;
  position: absolute;
  width: fit-content;
  right: 0.1%;
  background: rgba(0, 0, 0, 0.1) !important;
  color: #fff;
  text-align: center;
  padding: 8px;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 2rem;
  font-weight: 800;
}
.AllActuBtnMobile i {
  font-size: 16px;
  margin-left: 1rem;
}
@media screen and (max-width: 650px) {
  .AllActuBtn {
    display: none;
  }
}

@media screen and (min-width: 650px) {
  .AllActuBtnMobile {
    display: none;
  }
}
.HomeMain {
  background-color: #fff;
  margin-bottom: 4rem;
}
.Annonce_BTNS {
  margin: 0 auto;
  width: 90vw;
  height: fit-content;
  padding-top: 1.5rem;
  padding-bottom: 3.5rem;
  gap: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}
.FastActBTN-Blue {
  color: #fff;
  background-color: #0047c2;
  padding: 16px;
  border-radius: 16px;
  font-size: 16px;
  &:hover {
    color: #fff;
    background-color: #0a3d70;
  }
}
.FastActBTN-White {
  color: #000;
  background-color: #ffffff;
  padding: 16px;
  border-radius: 16px;
  font-size: 16px;
  border: 1px solid #000;
  &:hover {
    color: #000;
    background-color: #dcdcdc;
  }
}
.FastActBTN-Red {
  color: #fff;
  background-color: #ef4135;
  padding: 16px;
  border-radius: 16px;
  font-size: 16px;
  &:hover {
    color: #fff;
    background-color: #ba251b;
  }
}
.AnnonceSection {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  height: fit-content;
  gap: 1rem;
  background-color: #eee;
  margin-bottom: 3rem;
  width: 100vw;
  padding: 1rem;
}
.AnnonceItem {
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  height: 24rem;
  width: 33rem;
}
.AnnonceItem span {
  overflow: hidden;
  position: absolute;
  display: block;
  border-radius: 24px;
  height: 24rem;
  width: 33rem;
  transition: 0.5s ease-in-out;
  &:hover {
    background-color: #ffffff3e;
    box-shadow: 4px 7px #28272770;
  }
}
@media screen and (max-width: 1649px) {
  .AnnonceItem,
  .AnnonceSection span {
    height: 24rem;
    width: 30rem;
  }
}
@media screen and (max-width: 1504px) {
  .AnnonceItem,
  .AnnonceSection span {
    height: 20rem;
    width: 24rem;
  }
}
@media screen and (max-width: 1216px) {
  .AnnonceItem,
  .AnnonceSection span {
    height: 16rem;
    width: 20rem;
  }
}
@media screen and (max-width: 1025px) {
  .AnnonceSection {
    flex-direction: column-reverse;
  }
}
.AnnonceItemLogoImg {
  min-width: 100%;
  min-height: 100%;
  overflow: hidden;
}
.Videorow {
  background-color: #033896;
  padding: 2rem;
  border-radius: 16px;
  width: 100%;
}
iframe {
  border-radius: 8px;
}
.btnVideo {
  margin: 0 auto;
  text-align: center;
}
.VideoShorts {
  width: 50%;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
@media screen and (max-width: 992px) {
  .VideoShorts {
    width: 90%;
  }
}
.ChevronCarrousel {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.chevronShorts {
  padding: 8px;
  background-color: #fff;
  font-size: 24px;
}
.chevronShorts:hover {
  background-color: #ebebeb;
  box-shadow: #000 5px 4px;
}
.chevronShorts svg {
  width: 3rem;
  padding: 8px;
  color: #033896;
}
#ShortsHome .ytp-chrome-top {
  z-index: 0 !important;
}
.SectionsTitle {
  text-align: left;
  padding: 2rem 3rem 2rem 3rem;
  width: fit-content;
  border-radius: 0 64px 64px 0;
  margin-top: 2.5rem;
  background-color: #033896;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.SectionsTitle h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  border: none;
}
/* ------ Cards Les réseaux pour naviguer ------------*/
.ReseauxFFV-wrap {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ReseauxFFV-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 258px 220px;
  gap: 12px;
}

.ReseauxFFV-c1 {
  grid-column: 1/6;
  grid-row: 1;
}
.ReseauxFFV-c2 {
  grid-column: 6/9;
  grid-row: 1;
}
.ReseauxFFV-c3 {
  grid-column: 9/13;
  grid-row: 1;
}
.ReseauxFFV-c4 {
  grid-column: 1/5;
  grid-row: 2;
}
.ReseauxFFV-c5 {
  grid-column: 5/9;
  grid-row: 2;
}
.ReseauxFFV-c6 {
  grid-column: 9/13;
  grid-row: 2;
}
.ReseauxFFV-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  cursor: pointer;
}
.ReseauxFFV-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease;
  z-index: 0;
}
.ReseauxFFV-card:hover .ReseauxFFV-card-img {
  transform: scale(1.055);
}
.ReseauxFFV-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 24, 60, 0.82) 0%,
    rgba(12, 24, 60, 0.3) 45%,
    rgba(12, 24, 60, 0.1) 100%
  );
  z-index: 1;
  transition: opacity 0.3s;
}
.ReseauxFFV-card:hover::after {
  opacity: 0.92;
}
.ReseauxFFV-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: 3;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s ease;
}
.ReseauxFFV-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.3));
}
.ReseauxFFV-card:hover .ReseauxFFV-logo {
  transform: translate(-50%, -60%) scale(1.07);
}
.ReseauxFFV-c1 .ReseauxFFV-logo,
.ReseauxFFV-c2 .ReseauxFFV-logo,
.ReseauxFFV-c3 .ReseauxFFV-logo {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: auto;
  height: 40px;
  margin-bottom: 6px;
  justify-content: flex-start;
  flex-shrink: 0;
}
.ReseauxFFV-c1 .ReseauxFFV-logo img,
.ReseauxFFV-c2 .ReseauxFFV-logo img,
.ReseauxFFV-c3 .ReseauxFFV-logo img {
  width: auto;
  height: 100%;
  object-fit: contain;
}
.ReseauxFFV-c1:hover .ReseauxFFV-logo,
.ReseauxFFV-c2:hover .ReseauxFFV-logo,
.ReseauxFFV-c3:hover .ReseauxFFV-logo {
  transform: none;
}
.ReseauxFFV-card-body {
  position: relative;
  z-index: 2;
  padding: 18px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.ReseauxFFV-c1 .ReseauxFFV-card-body,
.ReseauxFFV-c2 .ReseauxFFV-card-body,
.ReseauxFFV-c3 .ReseauxFFV-card-body {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.ReseauxFFV-c1 .ReseauxFFV-arr,
.ReseauxFFV-c2 .ReseauxFFV-arr,
.ReseauxFFV-c3 .ReseauxFFV-arr {
  position: absolute;
  bottom: 18px;
  right: 20px;
}
.ReseauxFFV-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  text-align: left;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}
.ReseauxFFV-c1 .ReseauxFFV-card-title {
  font-size: 22px;
}
.ReseauxFFV-arr {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  transition:
    background 0.2s,
    border-color 0.2s;
}
.ReseauxFFV-arr svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.ReseauxFFV-card:hover .ReseauxFFV-arr {
  background: var(--BlueFD);
  border-color: var(--BlueFD);
}
.ReseauxFFV-card:hover .ReseauxFFV-arr svg {
  transform: translate(2px, -2px);
}
@media (max-width: 780px) {
  .ReseauxFFV-wrap {
    display: block !important;
  }
  .ReseauxFFV-bento {
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 180px 160px 140px;
    max-width: 95%;
  }
  .ReseauxFFV-c1 {
    grid-column: 1/3;
    grid-row: 1;
  }
  .ReseauxFFV-c2 {
    grid-column: 1;
    grid-row: 2;
  }
  .ReseauxFFV-c3 {
    grid-column: 2;
    grid-row: 2;
  }
  .ReseauxFFV-c4 {
    grid-column: 1;
    grid-row: 3;
  }
  .ReseauxFFV-c5 {
    grid-column: 2;
    grid-row: 3;
  }
  .ReseauxFFV-c6 {
    grid-column: 1/3;
    grid-row: 4;
  }
}
@media (max-width: 480px) {
  .ReseauxFFV-bento {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .ReseauxFFV-card {
    height: 170px;
  }
  .ReseauxFFV-c1,
  .ReseauxFFV-c6 {
    height: 210px;
  }
}

/* Cards Evenements */
.Eventsect {
  margin: 0 auto;
  width: 80vw;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.Evenement {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.EventItem {
  position: relative;
  width: 21rem;
  height: 12rem;
  overflow: hidden;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
}
.EventItem h3 {
  font-size: 24px;
  position: absolute;
  top: 50%;
  font-weight: bold;
  left: 50%;
  color: #fff;
  width: 100%;
  height: 100%;
  background: linear-gradient(#0000009d, transparent);
  transform: translate(-50%, -50%);
  padding: 10px;
  &:hover {
    background-color: #0663f044;
  }
}
.EventItem img {
  width: 100%;
  object-fit: contain;
}
@media screen and (max-width: 1155px) {
  .Eventsect {
    width: 100vw;
  }
}
.SectionPartenaires {
  margin: 0 auto;
  margin-top: 3rem;
  width: 90vw;
}
.partenaires {
  margin: 0 auto;
  width: fit-content;
  margin-top: 3rem;
  background-color: #fff;
  padding: 8px;
  border: 1px solid #19b5fe;
  border-radius: 24px;
}
/* 
.partenaires {
  margin: 0 auto;
  width: 80%;
  padding: 32px;
  /* background: var(--ffv-gris); *
padding: clamp(16px, 3vw, 28px);
border-radius: var(--radius);
/* box-shadow: var(--ffv-ombre); 
}*/
*/

/* ---------- Onglets ---------- */
.partenaire_btn_container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.partenaire_btn_container button {
  appearance: none;
  border: 2px solid var(--BlueFRA);
  border-radius: 999px;
  padding: 10px 16px;
  background: transparent;
  color: var(--BlueFRA);
  font-weight: bolder;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  box-shadow: var(--ffv-ombre);
  outline: none;
  white-space: nowrap;
}

.partenaire_btn_container button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  border-color: var(--BlueFRA);
  background: #ffffff3a;
}

.partenaire_btn_container button.partenaire_btn_active {
  background: var(--BlueFRA);
  color: var(--ffv-blanc);
  border-color: var(--BlueFRA);
}

/* ---------- Contenus ---------- */
.partenaire_content {
  display: none;
  /* background: var(--ffv-blanc); */
  border-radius: var(--radius);
  padding: clamp(14px, 2.2vw, 22px);
  /* box-shadow: var(--ffv-ombre); */
}
.partenaire_content.active {
  display: block;
}

.partenaire_content h3 {
  font-family: "Oswald", sans-serif;
  margin: 0 0 12px;
  color: var(--ffv-blanc);
  font-weight: 800;
}

/* ---------- Grille de logos ---------- */
.partenaire_logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 18px;
  align-items: start;
}

.partenaire_logo_item {
  display: grid;
  cursor: pointer;
  grid-template-rows: auto auto;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: 14px;
  height: 170px;
  background: #ffffff;
  border: 1px solid #092a507a;
  border-radius: var(--radius);
  transition:
    transform 0.25s ease,
    box-shadow 0.12s ease,
    border-color 0.2s ease;
}

.partenaire_logo_item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px #03399677;
  border-color: rgba(33, 50, 95, 0.18);
}
#partenaire_content_1 .partenaire_logos .partenaire_logo_item img,
#partenaire_content_2 .partenaire_logos .partenaire_logo_item img {
  max-width: 150px !important;
  max-height: 110px !important;
  min-height: 110px !important;
  width: auto;
  height: auto;
  overflow: visible;
  object-fit: contain;
  filter: saturate(0.95) contrast(1.02);
}

.partenaire_logo_item img {
  max-width: 110px;
  max-height: 80px;
  min-height: 80px;
  width: auto;
  overflow: visible;
  height: auto;
  object-fit: contain;
  filter: saturate(0.95) contrast(1.02);
}

.partenaire_logo_item p {
  margin: 0;
  font-family: "Bree", sans-serif;
  font-weight: 700;
  font-style: italic;
  color: var(--BlueMDA);
  font-size: 0.95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .partenaire_logos {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .partenaires {
    width: 90% !important;
  }
  .partenaire_btn_container {
    grid-template-columns: repeat(4, 1fr);
    overflow: scroll;
  }
  .partenaire_logos {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 420px) {
  .SectionPartenaires {
    width: 95vw;
    overflow: visible;
  }
  .partenaire_logos {
    grid-template-columns: 1fr;
  }
  .partenaire_btn_container {
    overflow: scroll;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
}

/*
.partenaires img {
  max-width: 100%;
  max-height: 100%;
}
@media screen and (max-width: 800px) {
  .partenaires {
    width: 80vw;
  }
}
.PartenairesOFFI,
.PartenairesInstitu {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.PartenaireIMG1 {
  max-width: 15rem;
}
.PartenaireIMG2 {
  max-width: 10.5rem;
}
.PartenaireIMG3 {
  max-width: 20rem;
}*/
.CarrouselSectPart {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 80vw;
}
.carousel-container {
  margin-top: 2rem;
  margin-bottom: 4rem;
  margin: 0 auto;
  overflow: hidden !important;
}
.carouseAllLogo {
  display: flex;
  animation: scroll 30s linear infinite;
  width: 90vw;
  box-shadow: #000;
}
.carouseLogo {
  max-height: 5rem;
  margin: 0 30px;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.popup {
  margin: 0 auto;
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
}
.popup-content {
  margin: 0 auto;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  margin: 1rem 1rem 2rem 0;
}
.popup-contentImg {
  display: flex;
  align-items: start;
  justify-content: center;
  margin: 0 auto;
  background-color: transparent;
  text-align: center;
}
.popup-contentImg img {
  min-height: 70vh;
  max-height: 80vh;
  width: 100%;
}
body.popup-open {
  overflow: hidden;
}
#closePopupButton {
  z-index: 999;
  margin: 2rem 0 0 2rem;
  top: 0;
  border-radius: 50%;
  background-color: #fff;
}
#closePopupButton i {
  font-size: 24px;
}
@media screen and (max-width: 760px) {
  .CarouselBaseItemTitle,
  .AllActuBtn {
    display: none !important;
  }
  .CarouselBaseItemTitle_Mobile {
    position: absolute;
    z-index: 99 !important;
    height: 80vh;
    width: 100%;
    display: block;
  }
  .CarouselBase {
    height: 80vh;
  }
  .CarouselBaseItemTitle_Mobile {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.61) 78.08%
    ) !important;
    min-width: 100% !important;
  }
  .carousel-button,
  .CarouselBaseItemTitle {
    display: none;
  }
  .image-container {
    height: 80vh;
  }
  .Videorow {
    padding: 1rem 0.5rem 1rem 0.5rem;
  }
  .popup-contentImg img {
    min-height: 70vh;
    max-height: 75vh;
    width: 80vw;
  }
  .SectionsTitle {
    transition: 0.5s;
    min-width: 99vw;
    border-radius: 0 24px 24px 0;
  }
  .CarouselBaseItemTitleH2 {
    margin: 0 auto;
    top: 55vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    position: relative;
  }
  .CarrouselCounter {
    position: relative;
    margin-left: 1rem;
    top: 53vh;
    color: #fff !important;
    display: inline-flex !important;
    padding: 5px 16px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    border-radius: 24px !important;
    background: rgba(0, 0, 0, 0.31) !important;
  }
  .CarouselBaseItemTitleH2 h2 {
    width: 70%;
    color: #fff;
    /* text-align: left; */
    overflow: auto;
    max-width: 310px !important;
    text-wrap: wrap !important;
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 26.22px;
  }
  .CarouselBaseItemTitleH2 i {
    font-size: 32px;
    color: #fff;
  }
}
@media screen and (min-width: 1723px) {
  .espacesCards,
  .SeFairePlaisir,
  .Evenement {
    max-width: 80%;
  }
}
.grecaptcha-badge {
  visibility: hidden;
}

/*MDA POP IN**/

aside {
  position: absolute;
  z-index: 1000;
  overflow: visible;
}
:root {
  --MDA-popin-width: clamp(300px, 26vw, 370px);
  --MDA-popin-bg: #092a50;
  --MDA-popin-third: #d29834;
  --MDA-popin-fg: #ffffff;
  --MDA-popin-accent: #e7162e;
  --MDA-popin-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --MDA-z: 50;
  --MDA-arrow-size: 44px;
  --MDA-radius: 14px;
}

/* ===== POPIN ===== */
.MDA-popin {
  z-index: 1000;

  height: fit-content;
  max-height: 650px;
  height: 85vh;
  position: fixed;
  top: 10vh;
  right: 30px;
  bottom: 0;
  /* Empêche toute règle globale (ex: .module {width:100%}) de forcer la largeur */
  width: var(--MDA-popin-width) !important;
  max-width: none !important;
  left: auto !important;
  box-sizing: border-box;
  background: var(--MDA-popin-bg);
  color: var(--MDA-popin-fg);
  box-shadow: var(--MDA-popin-shadow);
  /* z-index: var(--MDA-z); */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--MDA-radius);
  overflow: clip;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  will-change: transform;
  padding-bottom: 3%;
  contain: layout paint; /* isole du layout global */
}
/* Ouvert */
.MDA-popin.is-open {
  transform: translateX(0);
}
/* Fermé : inutilisable */
.MDA-popin.is-closed {
  transform: translateX(120%);
  pointer-events: none; /* non cliquable/inaccessible */
}

.MDA-popin__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 1rem calc(1rem + 0.25vw);
  overflow: auto;
}
.MDA-popin__footer {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== BOUTON FLÈCHE ===== */
.MDA-popin-toggle {
  position: fixed;
  top: 0px;
  transform: translateY(50%);
  right: 0px;
  width: var(--MDA-arrow-size);
  height: var(--MDA-arrow-size);
  border-radius: 999px 0 0 999px;
  display: grid;
  place-items: center;
  background: var(--MDA-popin-fg);
  color: var(--GoldMDA);
  border: 0;
  cursor: pointer;
  z-index: calc(var(--MDA-z) + 51);
  box-shadow: var(--MDA-popin-shadow);
  transition: right 0.4s ease;
}
/* quand fermé -> bouton collé complètement à droite de la fenêtre */
.MDA-popin.is-closed + .MDA-popin-toggle {
  right: 0;
} /* garde une petite transition sur l’icône */
.MDA-popin-toggle .bi-chevron-double-right {
  transition: transform 0.25s ease;
}

/* quand le popin est fermé, on ajoute .is-closed sur le bouton => on pivote l’icône */
.MDA-popin-toggle.is-closed .bi-chevron-double-right {
  transform: rotate(180deg);
}
.MDA-closeMobile {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .MDA-popin,
  .MDA-popin-toggle {
    transition: none;
  }
}
/* Sur petits écrans, garde un panneau étroit (pas plein écran) */
@media (max-width: 640px) {
  :root {
    --MDA-popin-width: 88vw;
  }
  .MDA-popin {
    top: 15vh;
    height: 75vh;
  }
  .MDA-popin-toggle {
    display: none;
  }
  .MDA-closeMobile {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #fff;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
  .logoMDA {
    max-width: 40vw !important;
  }
  .mdaCountdown {
    padding-top: 0 !important;
  }
}
.MDA-popin.is-closed {
  transform: translateX(120%);
  pointer-events: none;
}
.MDA-popin.is-open {
  transform: translateX(0);
}

/* Content*/

.logoMDA {
  max-width: 10vw;
}
.logoMDA img {
  width: 100%;
  height: auto;
}
.MDA_content,
.mdaCountdown {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.1rem !important;
}
.MDA_content h3 {
  text-align: center;
  line-height: 200%;
  font-family: "Bebas Neue";
  color: #fff;
  font-weight: 500;
  font-size: 20px;
}
.MDA_content h3 span {
  color: var(--MDA-popin-third);
  font-size: 25px;
  font-weight: 700;
}

.MDA_content p {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  /* font-family: "Oswald, sans-serif"; */
  font-weight: bold;
  /* font-style: italic; */
}

.MDA_content p span {
  font-style: normal;
  font-size: 24px !important;
  font-weight: 400;
  font-family: "Bree Serif", serif;
}
.mdaCountdown h3 {
  color: var(--MDA-popin-fg);
  font-size: 25px;
  font-family: "Bebas Neue";
  font-weight: 500;
}

#countdown {
  padding-left: 0;
  display: flex;
  flex-direction: row;
  list-style: none;
  gap: 0.9rem;
  line-height: 120%;
  font-family: "Oswald";
  align-items: center;
  justify-content: space-between;

  font-size: 22px;
  text-align: center;
  color: var(--GoldMDA);
}
#countdown li {
  font-weight: 400;
}
#countdown span {
  font-weight: 700;
  color: var(--White);
}
.MDA-popin__content a {
  color: #fff !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  transition: ease-in-out.45s;
  position: relative;
  justify-content: space-around;
  gap: 2rem;
  font-size: 20px;
}

.MDA-popin__content a::before {
  transition: 300ms;
  height: 2px;
  width: 0%;
  bottom: -5px;
  content: "";
  position: absolute;
  background-color: #fff;
}
.MDA-popin__content a:hover::before {
  width: 100%;
}
