body {
  width: 100vw;
  overflow-x: hidden;
  background: #000 url(../img/bg.svg) center no-repeat;
  background-size: cover;
  font-family: 'Poppins', sans-serif;
}
.container {
  max-width: 1520px;
}
header {
  margin-bottom: -45px;
}
.products .item {
  text-align: center;
}
.products .item img {
  height: 420px;
  width: auto !important;
}
.products .item a {
  display: inline-block;
  margin: 20px auto 45px;
  line-height: 32px !important;
  font-size: 28px;
  font-weight: 300;
  color: #9DC41A;
  padding: 10px 25px 15px;
  border: 2px solid #9DC41A;
  border-radius: 45px;
  text-decoration: none !important;
  transition: all 0.2s ease-in;
}
.products .item a:hover {
  color: #fff;
}
.products .item a i {
  display: inline-block;
  width: 18px;
  height: 18px;
  transition: all 0.3s ease;
  position: relative;
}
.products .item a .ico {
  mask-image: url('../img/info.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  color: #9DC41A;
  font-style: normal;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  width: 0;
  opacity: 0;
  background-color: #fff;
}
.products .item a .arrow {
  width: 16px;
  height: 34px;
  top: 4px;
  background-color: #9DC41A;
  mask-image: url('../img/btn-arrow.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  margin-left: 10px;
}
.products .item a:hover .arrow {
  background: #fff;
}
.products .item a:hover .ico {
  width: 18px;
  opacity: 1;
  margin-right: 5px;
  top: -6.5px;
}
.content {
  color: #fff;
}
.content h1 {
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  color: #fff;
}
.content h1 strong {
  color: #9DC41A;
  font-weight: 500;
}
.content a {
  color: #fff;
}
.content .links .btn-prod {
  display: none;
}
.content .links > a {
  display: inline-block;
  margin: 20px auto 60px;
  font-size: 24px;
  font-weight: 300;
  color: #fff;
  background: #9DC41A;
  padding: 7px 25px 8px;
  border: 2px solid #9DC41A;
  border-radius: 45px;
  line-height: 1;
  text-decoration: none !important;
  transition: all 0.2s ease-in;
}
.content .links > a:hover {
  background: transparent;
  color: #9DC41A;
}
.content .links > a + a {
  margin-left: 15px;
}
.content .links .langs {
  list-style: none;
  margin: 0 0 0 15px;
  padding: 4px;
  display: inline-flex;
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.9s ease-in-out;
  border: 2px solid #9DC41A;
  position: relative;
  top: 2px;
}
.content .links .langs li {
  display: flex;
  align-items: center;
  border-radius: 50px;
  transition: all 0.9s ease;
  max-width: 0;
  opacity: 0;
  visibility: hidden;
}
.content .links .langs li.active {
  max-width: 100px;
  opacity: 1;
  visibility: visible;
  color: #9DC41A;
}
.content .links .langs li.active::before {
  content: '';
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-left: 12px;
  background-color: #9DC41A;
  mask-image: url('../img/globe.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  transition: all 0.6s ease-in-out;
}
.content .links .langs li.active a {
  color: #fff;
}
.content .links .langs li a {
  display: block;
  padding: 0px 12px;
  text-decoration: none;
  font-family: sans-serif;
  font-weight: bold;
  white-space: nowrap;
  color: #fff;
  transition: color 0.3s ease;
}
.content .links .langs:hover li {
  max-width: 100px;
  opacity: 1;
  visibility: visible;
}
.content .links .langs:hover li.active {
  background-color: transparent;
}
.content .links .langs:hover li.active::before {
  width: 0;
  opacity: 0;
  margin-left: 0;
}
.content .links .langs:hover li.active a {
  color: #9DC41A;
}
.content .links .langs:hover a:hover {
  color: #9DC41A;
}
.content .meta {
  font-size: 20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 3px solid #9DC41A;
}
.content .meta a {
  text-decoration: none;
  transition: all 0.2s ease-in;
}
.content .meta a:hover {
  color: #9DC41A;
}
.content .meta .sep {
  background: #9DC41A;
  height: 20px;
  width: 2px;
  position: relative;
  top: 2px;
  display: inline-block;
  margin: 0 15px ;
}
.footer {
  color: #fff;
  text-align: center;
  font-size: 22px;
  line-height: 2;
}
.footer strong,
.footer span {
  color: #9DC41A;
}
.footer .highlight {
  filter: drop-shadow(0 0 30px #9dc41a);
  text-shadow: 0 0 30px #9dc41a;
}
.prod {
  display: none;
}
span.seps {
  display: none;
}
.btn-prod {
  background: #000;
}
@media screen and (max-width: 1280px) {
  body {
    min-height: 100vh;
  }
  .products {
    display: none;
  }
  .prod {
    text-align: center;
    display: block;
    max-width: 125px;
    margin-top: 45px;
  }
  .btn-prod {
    display: inline-block !important;
    background: transparent !important;
    color: #9DC41A !important;
  }
  .btn-prod:hover {
    background: #9DC41A !important;
    color: #fff !important;
  }
  .content .links > a,
  .btn-prod {
    font-size: 24px;
    margin: 30px 15px;
  }
  span.seps {
    display: block;
    height: 2px;
    width: 100%;
  }
  .container {
    max-width: 85%;
  }
  .datas {
    max-width: 100%;
    flex: 0 0 100%;
    width: 100%;
    margin: 0 !important;
  }
  .datas .meta {
    border-width: 15px;
    padding-bottom: 45px;
    margin-bottom: 0;
    margin-top: 60px;
  }
  .header img {
    max-width: 70%;
  }
  .footer {
    margin: 45px 0;
    font-size: 20px;
  }
}
@media screen and (max-width: 800px) {
  header {
    margin-bottom: 45px;
  }
  .content .meta .sep {
    display: none;
  }
  .content .meta a {
    display: block;
    padding: 10px 0;
  }
  .container {
    max-width: 95%;
  }
  .content .links > a,
  .btn-prod {
    font-size: 24px;
    margin: 15px 10px;
  }
}
@media screen and (max-width: 600px) {
  .container {
    max-width: 95%;
  }
  .content .links > a,
  .btn-prod {
    font-size: 24px;
    margin: 15px 10px;
    width: fit-content;
  }
  .links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .langs {
    margin: 10px 0 0 !important;
  }
}
/* style.css (Corrigé) */
/* Fond sombre semi-transparent quand la popup est active */
.popup-container {
  display: none;
  /* Caché par défaut (c'est la seule ligne "display" qui doit être ici) */
  position: fixed;
  /* Reste en place au scroll */
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  /* Les propriétés de centrage seront utilisées quand le JS changera le display en flex */
  justify-content: center;
  align-items: center;
}
/* La boîte blanche de la popup */
.popup-content {
  background-color: #000;
  filter: drop-shadow(0 0 30px #9dc41a);
  padding: 20px 30px;
  border: 3px solid #9DC41A;
  width: 80%;
  max-width: 780px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-height: 80vh;
  /* Hauteur maximale */
  overflow-y: auto;
  /* Ajoute une barre de scroll si le contenu est trop long */
  color: #fff;
}
.popup-content .item + .item {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 2px solid #9DC41A;
}
.popup-content .item strong.title {
  color: #9DC41A;
  font-size: 20px;
}
.popup-content::-webkit-scrollbar {
  display: none;
}
.popup-content a {
  display: inline-block;
  margin: 20px 0 0 0;
  line-height: 24px !important;
  font-size: 20px;
  font-weight: 300;
  color: #9DC41A;
  padding: 5px 15px 10px;
  border: 2px solid #9DC41A;
  border-radius: 45px;
  text-decoration: none !important;
  transition: all 0.2s ease-in;
}
.popup-content a:hover {
  color: #fff;
}
.popup-content .meta .date {
  display: block;
  font-weight: 600;
}
.popup-content .meta .hour {
  display: block;
  margin-bottom: 25px;
}
/* Le bouton pour fermer (la croix) */
.close-btn {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
}
.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
