/* 🎨 Declaration de police personnalisee utilisee pour les titres ou le corps du texte */
@font-face {
  font-family: 'LazyDog';
  src: url('/assets/fonts/lazy_dog.ttf') format('truetype');
}

/* 🎨 Declaration de police personnalisee utilisee pour les titres ou le corps du texte */
@font-face {
  font-family: 'OctoberCrow';
  src: url('/assets/fonts/October_Crow.ttf') format('truetype');

}

* {
  margin: 0;
  padding: 0;
/* ✅ Garantit que le padding et border sont inclus dans les dimensions d’un element */
  box-sizing: border-box;
}

/* 🌐 Style general du corps de page : police, fond, couleur de texte, majuscules */
body {
  font-family: 'LazyDog', sans-serif;
  background-color: #090013;
  color: #dbdbdb;
  text-transform: uppercase;
}

a {
/* 🚫 Supprime le soulignement par defaut des liens */
  text-decoration: none;
/* 🎨 Utilise la couleur du parent pour les liens */
  color: inherit;
}

ul {
  list-style: none;
}

/* 🧭 Barre de navigation principale, fixe en haut de la page */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  background: #110024d9;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10001;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
/* 🔍 Applique un flou d’arriere-plan sur les elements semi-transparents */
  backdrop-filter: blur(4px);
  border-bottom: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}

/* 🧭 Barre de navigation principale, fixe en haut de la page */
.navbar .logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #dbdbdb;
  font-size: 1rem;
  transition: color 0.3s;
    border-bottom: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
  text-shadow: 0 0 10px #1cce5b;
}

.nav-links li a img {
  height: 35px;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.nav-links li a:hover img,
.nav-links li a:hover span,
.nav-links li a:hover {
  transform: scale(1.15);
  color: #1cce5b;
}

.burger {
  display: none;
  font-size: 2rem;
  color: #1cce5b;
  cursor: pointer;
  background: none;
  border: none;
}

/* ===================================== */
/* 🧩 Hero Section */
/* ===================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
    border-bottom: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/FONDECRAN1.webp') no-repeat center center;
  background-size: cover;
  z-index: 0;
  animation: heroFloat 20s ease-in-out infinite;
  will-change: transform, background-position;
}


@keyframes heroFloat {
  0%   { transform: scale(1); background-position: 50% 50%; }
  50%  { transform: scale(1.1); background-position: 48% 52%; }
  100% { transform: scale(1); background-position: 50% 50%; }
}



.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
  opacity: 0;
  transition: opacity 1s ease;
  flex-direction: column;
}

.hero-image-container.fade-in-active {
  opacity: 1;
}

.hero-image {
  width: 450px;
  max-width: 90%;
  height: auto;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
}

.main-title {
  font-size: 1.2rem;
  font-weight: lighter;
  text-shadow: 0 0 10px #1cce5b;
}

.main-subtitle {
  font-size: 1.5rem;
  margin-top: 1rem;
  opacity: 0.9;
}

.btn {
  margin-top: 2rem;
  padding: 12px 24px;
  background-color: #1cce5b;
  color: #dbdbdb;
  border-radius: 8px;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #ea580c;
}


/* ===================================== */
/* 🧩 Grid Showcase */
/* ===================================== */
.grid-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.grid-item {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.grid-item img {
  width: 100%;
  height: 40px;
  object-fit: contain;
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid #333;
}

.grid-item h2 {
  margin: 1rem 0 0.5rem;
  font-size: 1.3rem;
  color: #1cce5b;
  font-family: 'LazyDog', sans-serif;
  font-weight: lighter;
}

.grid-item p {
  font-size: 1rem;
  padding: 0 1rem 1.5rem;
  color: #dbdbdb;
}

/* ===================================== */
/* 🧩 Intro Section */
/* ===================================== */
.intro-section {
  background: #110024;
  padding: 5rem 2rem;
  color: #dbdbdb;
  line-height: 1.5;
    border-bottom: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
    width: 100%;
  height: 100%;
  background: url('/assets/images/FONDECRAN1.webp') no-repeat center center;
  background-size: cover;
  z-index: 0;
  animation: gradientShift 80s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.intro-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1300px;
  margin: auto;
}

.intro-block {
  flex: 1 1 500px;
  background: #110024d9;
/* 🔍 Applique un flou d’arriere-plan sur les elements semi-transparents */
  backdrop-filter: blur(4px);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
    border: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}

.intro-block h2 {
  font-family: 'OctoberCrow', cursive;
  font-weight: lighter;
  font-size: 3rem;
  color: #1cce5b;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px #1cce5b;
}

.intro-block h3 {
  font-size: 1.3rem;
  font-weight: lighter;
  color: #1cce5b;
  margin-bottom: 1rem;
    border-bottom: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}

.intro-block p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.intro-block ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.intro-block li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #dbdbdb;
}

.intro-block strong {
  color: #1cce5b;
  font-weight: lighter;
  font-size: 1.1rem;
}

/* ===================================== */
/* 🧩 Call To Action Section */
.cta-section {
  padding: 1rem 2rem;
  text-align: center;

}

.cta-section h2 {
  color: #1cce5b;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #dbdbdb;
}

.cta-section .btn {
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.cta-buttons a img {
  height: 40px;
  transition: transform 0.3s ease, filter 0.3s ease;
  border: 1px solid #1cce5b;
  border-radius: 50%;
}

.cta-buttons a:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}


/* ☰ MENU BURGER MOBILE (structure) */
.mobile-menu {
  display: none;
}

@media (max-width: 768px) {

.main-title {
  font-size: 1.2rem;
  text-align: center;
}

  .nav-links {
    display: none;
  }
  

  .burger {
    display: block;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #110024;
    z-index: 1000;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
  }

  .mobile-menu.open {
    transform: translateX(0);
  }

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1cce5b;
    font-family: 'LazyDog', cursive;
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .close-btn {
    background: none;
    border: none;
    color: #1cce5b;
    font-size: 2rem;
    cursor: pointer;
  }
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mobile-menu-links .menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px dashed #1cce5b;
  background-color: #1e0036;
  color: #dbdbdb;
  padding: 1rem;
  border-radius: 8px;
  width: 100%;
  transition: background 0.3s, color 0.3s;
}

.mobile-menu-links .menu-link:hover,
.mobile-menu-links .menu-link.active {
  background-color: #1cce5b;
  color: #110024;
}

.mobile-menu-links .menu-link img {
  width: 50px;
  height: 30px;
  margin-right: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.mobile-menu-links .menu-link span {
  font-family: 'LazyDog', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  flex-grow: 1;
}

.mobile-menu-links .menu-link .arrow {
  color: #1cce5b;
  font-size: 1.5rem;
  margin-left: 1rem;
}

/* ===================================== */
/* 🧩 Footer Section */
.footer {
  background-color: #0a0017;
  padding: 2rem 2rem;
  text-align: center;
  color: #dbdbdb;
  font-size: 0.8rem;
      border-top: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}

.footer a {
  color: #1cce5b;
  text-decoration: underline;
}

.footer-links {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.footer-links a {
  color: #1cce5b;
  text-decoration: underline;
}


/* ===================================== */
/* 🧩 Modals */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.active {
  display: flex;
}


.modal-content {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  color: #dbdbdb;
}

/* ===================================== */
/* 🎞️ Animations */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.fade-in-active {
  opacity: 1;
}

.slide-in-left,
.slide-in-right,
.slide-in-bottom {
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: var(--delay, 0ms);
}

.slide-in-left {
  transform: translateX(-40px);
}

.slide-in-right {
  transform: translateX(40px);
}

.slide-in-bottom {
  transform: translateY(40px);
}

.slide-in-active {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===================================== */
/* 🧩 Responsive Adjustments */
@media (max-width: 600px) {


  .main-subtitle {
    font-size: 1rem;
  }

  .grid-showcase {
    padding: 3rem 1rem;
    gap: 1rem;
  }

  .intro-section h2 {
    font-size: 2rem;
  }

  .news-section h2 {
    font-size: 1.6rem;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}

/* === News Slider === */
.news-slider {
  padding: 1rem 3rem;
  background: #1e0036;
  color: #dbdbdb;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
  width: 100%;
  height: 100%;
  background: url('/assets/images/FONDECRAN2.webp') no-repeat center center;
  background-size: cover;
  z-index: 0;
  animation: gradientShift 80s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.news-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  position: relative;
}

.news-carousel {
  display: flex;
  gap: 0.1rem;
  will-change: transform;
  flex-wrap: nowrap;
}

.news-carousel:hover {
  animation-play-state: paused;
}

/* Masquer les barres de scroll */
.news-carousel::-webkit-scrollbar {
  display: none;
}
.news-carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}



.news-frame {
  position: relative;
  width: 500px;
  height: 363px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 486px;
  height: 363px;
  z-index: 2;
  pointer-events: none;
}

.news-item {
  position: relative;
  z-index: 1;
  width: 350px;
  height: 270px;
  background: #110024d9;
/* 🔍 Applique un flou d’arriere-plan sur les elements semi-transparents */
  backdrop-filter: blur(4px);
  padding: 1rem;
/* ✅ Garantit que le padding et border sont inclus dans les dimensions d’un element */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}



.news-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
    border-bottom: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}

.news-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  overflow: hidden;
}

.news-content h3 {
  font-size: 1.1rem;
  color: #1cce5b;
  font-weight: lighter;
  margin-bottom: 0.3rem;
  line-height: 1.2;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
    border-bottom: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}

.news-content p {
  font-size: 1rem;
  color: #dbdbdb;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  white-space: normal;
  word-break: break-word;
  flex-shrink: 1;
  flex-grow: 1;
}

.news-content .btn.small {
  padding: 4px 16px;
  font-size: 1rem;
  background-color: #1cce5b;
  color: #110024;
  border-radius: 6px;
  transition: background 0.3s;
  align-self: flex-start;
  flex-shrink: 0;
}








/* 🎯 Mise en forme commune pour les pages RGPD */
.cookie-policy,
.privacy-policy,
.legal-notice {
  max-width: 900px;
  margin: 5rem auto;
  padding: 3rem;
  background-color: #0f001e;
  border-radius: 12px;
  color: #dbdbdb;
  line-height: 1.6;
  font-size: 1rem;
  border-bottom: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}

.cookie-policy h1,
.privacy-policy h1,
.legal-notice h1 {
  color: #1cce5b;
  font-family: 'LazyDog', cursive;
  font-weight: lighter;
  font-size: 2rem;
  text-align: center;
  text-shadow: 0 0 10px #1cce5b;
  margin-bottom: 1rem;
  border-bottom: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}

.cookie-policy h2,
.privacy-policy h2,
.legal-notice h2 {
  color: #1cce5b;
  font-size: 1.4rem;
  text-shadow: 0 0 10px #1cce5b;
  margin-top: 2rem;
  padding-bottom: 0.5rem;
  font-weight: lighter;
  border: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}

.cookie-policy h3,
.privacy-policy h3,
.legal-notice h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  color: #1cce5b;
  font-weight: lighter;
}

.cookie-policy a,
.privacy-policy a,
.legal-notice a {
  color: #1cce5b;
  text-decoration: underline;
}

.cookie-policy ul,
.privacy-policy ul,
.legal-notice ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: square;
}

.update-date {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1rem;
  text-align: center;
  color: #dbdbdb;
}





.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0a0017;
  color: #dbdbdb;
  padding: 1rem;
  font-size: 0.9rem;
  text-align: center;
  border-top: 1px solid #1cce5b;
  z-index: 9999;
  border: 1px solid;
  border-image: linear-gradient(to right, #090013, #1cce5b, #090013) 1;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner a {
  color: #1cce5b;
  text-decoration: underline;
}

.cookie-buttons {
  margin-top: 0.5rem;
}

.cookie-buttons button {
  margin: 0 0.5rem;
  padding: 0.4rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'LazyDog', cursive;
}



#accept-cookies {
  background-color: #1cce5b;
  color: #dbdbdb;
  text-transform: uppercase;
}

#accept-cookies:hover {
scale: 1.1;
transition: all 0.3s ease-in-out;
}

#decline-cookies {
  background-color: #555;
  color: #dbdbdb;
  text-transform: uppercase;
}





.with-particles {
  position: relative;
  z-index: 1;
}

.particles-floating {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.particles-floating .particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #1cce5b;
  border-radius: 50%;
  opacity: 0.5;
  animation: floatParticle ease-in-out infinite;
}

@keyframes floatParticle {
  0% {
    transform: translate(0, 0) scale(var(--scale));
    opacity: 0.4;
  }
  50% {
    transform: translate(var(--x), var(--y)) scale(var(--scale));
    opacity: 0.9;
  }
  100% {
    transform: translate(0, 0) scale(var(--scale));
    opacity: 0.4;
  }
}








