@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&family=Montserrat&display=swap');

:root {
  --gws-blue: #00e5ff;
  --gws-pink: #ff00aa;
  --gws-gold: #ffd700;
  --gws-orange: #ff8c00;
  --gws-text: #ffffff;
  --gws-red: #ff00009d;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #000; /* fallback si le dégradé ne couvre pas tout */
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #000000 0%, #452513 15%, #000000 35%, #000000 65%, #452513 90%, #000000 100%);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #333;
  box-sizing: border-box;
}

.nav-left {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
}

.nav-center a,
.nav-right a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s ease, color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--gws-text);
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #fff, 0 0 40px #fff;
}

.nav-right a.selected {
  text-shadow: 0 0 5px #ff80df, 0 0 10px var(--gws-pink), 0 0 20px #ff00aa, 0 0 40px #ff0077;
  color: var(--gws-text);
}

footer,
.site-footer {
  padding: 2rem;
  background-color: transparent;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  border-top: 1px solid #333;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 1rem; /* réduit */
  padding-top: 0.5rem; /* réduit */
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

.cta {
  display: inline-block;
  position: relative;
  background-color: transparent;
  color: #fff;
  padding: 1rem 2rem;
  margin-top: 5rem;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid #fff;
  border-radius: 50px;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 1;
}

.cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  background-color: #fff;
  z-index: 0;
  transition: width 0.4s ease;
}

.cta:hover::before {
  width: 100%;
}

.cta:hover {
  color: #000;
}

.cta span, input{
  position: relative;
  z-index: 1;
}


.fade-in {
  opacity: 0;
  transition: opacity 1.6s ease;
}

.fade-in.show {
  opacity: 1;
}

.neon-gold, .neon-blue, .neon-white, .neon-pink {
  font-weight: bold;
  color: var(--gws-text);
}

.neon-gold {
  text-shadow: 0 0 5px var(--gws-gold), 0 0 10px var(--gws-gold), 0 0 20px var(--gws-gold), 0 0 40px var(--gws-orange);
}

.neon-blue {
  text-shadow: 0 0 5px #00e5ff, 0 0 10px #00e5ff, 0 0 20px var(--gws-blue), 0 0 40px #0088ff;
}

.neon-white {
  text-shadow: 0 0 5px #fff, 0 0 5px #fff, 0 0 10px #fff;
}

.neon-pink {
  text-shadow: 0 0 5px #ff80df, 0 0 10px var(--gws-pink), 0 0 20px #ff00aa, 0 0 40px #ff0077;
}

.neon-green {
  text-shadow:
    0 0 5px #80ff80,     /* vert pâle */
    0 0 10px var(--gws-green, #00ff66), /* vert vif (variable si définie) */
    0 0 20px #00cc44,     /* vert moyen */
    0 0 40px #006622;     /* vert foncé */
}


.neon-red {
  text-shadow:
    0 0 5px #ff8080,
    0 0 10px #ff1a1a,
    0 0 20px #ff0000,
    0 0 40px #cc0000;
}


.cta.neon-blue {
  border: 2px solid var(--gws-blue);
  padding: 0.75em 1.5em;
  background-color: transparent;
  text-shadow: 0 0 5px #00e5ff, 0 0 10px #00e5ff, 0 0 20px var(--gws-blue), 0 0 40px #0088ff;
  box-shadow: 0 0 10px #00e5ff;
  transition: all 0.3s ease;
}

.cta.neon-blue:hover {
  background-color: var(--gws-blue);
  color: #000;
  box-shadow: 0 0 20px var(--gws-blue), 0 0 30px var(--gws-blue), 0 0 40px var(--gws-blue);
  border-color: #00e5ff;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: #111;
  color: #fff;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.modal-content h2,
.modal-content p {
  text-align: justify;
}

.legal-text p {
  text-align: justify;
  text-justify: inter-word;
}

.modal .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal .close:hover {
  color: #fff;
}

body.modal-open {
  overflow: hidden;
}

/* ----------- NAVIGATION RESPONSIVE ----------- */
/* ----------- HAMBURGER MENU ----------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001; /* au-dessus du menu */
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animation en croix */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* MENU MOBILE */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.50);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  padding: 0 2rem;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  z-index: 1000;
}

.mobile-menu.show {
  max-height: 400px; /* Ajuste selon le contenu */
  opacity: 1;
  pointer-events: auto;
  padding: 1rem 2rem;
}

/* LIENS DU MENU MOBILE */
.mobile-menu a {
  padding: 1rem 0;
  border-bottom: 1px solid #333;
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--gws-text);
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #fff, 0 0 40px #fff;
}



/* Responsive rules */
@media (max-width: 768px) {

  html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

  .nav-center {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu.show {
    display: flex;
  }

  .nav-right {
    margin-left: auto;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    width: 100%;
  }

  .mockup-prev,
  .mockup-next,
  .mockup-nav {
    display: none;
  }
}
