/* Variables CSS */
:root {
  --dark-bg: #051a33;
  --dark-surface: #072448;
  --dark-card: #0a2e5c;
  --blue-light: #00c3ff;
  --blue-medium: #0078d4;
  --blue-deep: #004c8c;
  --blue-dark: #003366;
  --gold: #ffd700;
  --gold-light: #ffea80;
  --white: #FFFFFF;
  --gray-light: #AAAAAA;
  --gray-dark: #333333;
  --text-primary: #E0E0E0;
  --text-secondary: #AAAAAA;
  --font-family: 'Inter', sans-serif;
  --gradient-blue: linear-gradient(135deg, var(--blue-light), var(--blue-deep));
  --gradient-water: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-medium) 50%, var(--blue-deep) 100%);
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--dark-bg);
  background-image: 
    linear-gradient(0deg, transparent 24%, rgba(0, 195, 255, 0.03) 25%, rgba(0, 195, 255, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 195, 255, 0.03) 75%, rgba(0, 195, 255, 0.03) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(0, 195, 255, 0.03) 25%, rgba(0, 195, 255, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 195, 255, 0.03) 75%, rgba(0, 195, 255, 0.03) 76%, transparent 77%, transparent);
  background-size: 50px 50px;
  scroll-behavior: smooth;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header fixe */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(5, 26, 51, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--blue-light);
  box-shadow: 0 0 10px var(--blue-light), 0 0 20px rgba(0, 195, 255, 0.3);
  z-index: 1000;
  padding: 1rem 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  margin-right: 10px;
}

.logo h2 {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.5rem;
  text-shadow: 0 0 5px var(--gold-light), 0 0 10px var(--gold-light);
}



.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--blue-light);
  text-shadow: 0 0 5px var(--blue-light), 0 0 10px var(--blue-light);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--blue-light);
  box-shadow: 0 0 5px var(--blue-light), 0 0 10px var(--blue-light);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  margin: 3px 0;
  transition: 0.3s;
}

/* Section Hero */
.hero {
  background: var(--dark-bg);
  position: relative;
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-water);
  opacity: 0.15;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 195, 255, 0.03) 3px, rgba(0, 195, 255, 0.03) 5px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 195, 255, 0.03) 3px, rgba(0, 195, 255, 0.03) 5px);
  background-size: 100px 100px;
  z-index: 1;
  animation: grid-move 15s linear infinite;
}

@keyframes grid-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold-light), 0 0 20px var(--gold-light);
  letter-spacing: 2px;
}



.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--blue-light);
  text-shadow: 0 0 5px var(--blue-light);
  letter-spacing: 1px;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--blue-light);
  cursor: pointer;
  font-size: 1rem;
  background-color: transparent;
  color: var(--blue-light);
  text-shadow: 0 0 5px var(--blue-light);
  box-shadow: 0 0 10px rgba(0, 195, 255, 0.3), inset 0 0 10px rgba(0, 195, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 195, 255, 0.3), transparent);
  transition: all 0.6s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 195, 255, 0.5), inset 0 0 15px rgba(0, 195, 255, 0.3);
  color: var(--white);
  text-shadow: 0 0 8px var(--blue-light);
}

.btn:hover::before {
  left: 100%;
}

.btn-white {
  border-color: var(--gold);
  color: var(--gold);
  text-shadow: 0 0 5px var(--gold-light);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3), inset 0 0 10px rgba(255, 215, 0, 0.2);
}

.btn-white:hover {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5), inset 0 0 15px rgba(255, 215, 0, 0.3);
  text-shadow: 0 0 8px var(--gold);
}

.btn-blue {
  border-color: var(--blue-medium);
  color: var(--blue-medium);
  text-shadow: 0 0 5px var(--blue-medium);
  box-shadow: 0 0 10px rgba(0, 120, 212, 0.3), inset 0 0 10px rgba(0, 120, 212, 0.2);
}

.btn-blue:hover {
  box-shadow: 0 0 15px rgba(0, 120, 212, 0.5), inset 0 0 15px rgba(0, 120, 212, 0.3);
  text-shadow: 0 0 8px var(--blue-medium);
}

/* Sections génériques */
section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
  margin-bottom: 3rem;
}

.section-title.white {
  color: var(--white);
}

/* Section À propos */
.about {
  background-color: var(--dark-surface);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--blue-light);
  opacity: 0.1;
  filter: blur(70px);
}

.about::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--blue-deep);
  opacity: 0.1;
  filter: blur(80px);
}

.about-text {
  font-size: 1.125rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Section Services */
.services {
  background-color: var(--dark-bg);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--blue-medium);
  opacity: 0.1;
  filter: blur(60px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--dark-card);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--blue-medium);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 2px;
  background: var(--gradient-water);
  transform: translateX(-100%);
  transition: all 0.6s ease;
}

.service-card:hover::before {
  transform: translateX(0);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 120, 212, 0.2);
  border-color: var(--blue-light);
  background-color: rgba(10, 46, 92, 0.9);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.service-card h3 {
  color: var(--blue-light);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-shadow: 0 0 5px rgba(0, 195, 255, 0.3);
}

.service-card p {
  color: var(--text-secondary);
}

/* Section Recrutement */
.recruitment {
  background-color: var(--dark-surface);
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(to bottom, var(--dark-surface), var(--dark-bg));
}

.recruitment::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--gradient-secondary);
  opacity: 0.1;
  filter: blur(70px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.recruitment-text {
  font-size: 1.125rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.recruitment .btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* Section Contact */
.contact {
  background-color: var(--dark-bg);
  position: relative;
  overflow: hidden;
  color: var(--white);
  border-top: 3px solid var(--blue-light);
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink), var(--neon-purple), var(--neon-blue));
  background-size: 300% 100%;
  animation: gradient-move 5s linear infinite;
}

@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

.contact::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, rgba(106, 13, 173, 0.1), transparent);
  z-index: 0;
}

.contact-info {
  text-align: center;
}

.contact-info p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.contact-info p {
  margin-bottom: 1.5rem;
}

.contact-info a {
  color: var(--blue-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: var(--gold);
  text-shadow: 0 0 5px var(--gold-light);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-link {
  color: var(--blue-light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  border-radius: 8px;
  border: 2px solid var(--blue-medium);
  background-color: rgba(0, 120, 212, 0.15);
  cursor: pointer;
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--blue-medium);
  background-color: rgba(0, 120, 212, 0.1);
  width: auto;
  max-width: fit-content;
  transition: all 0.3s ease;
}

.email-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.email-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  background-color: rgba(255, 215, 0, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.social-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background-color: var(--black-deep);
  color: var(--white);
  text-align: center;
  padding: 2rem 0;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--blue-manaflow);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    gap: 1rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .social-links {
    flex-direction: column;
    gap: 1rem;
  }

  section {
    padding: 3rem 0;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

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

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

.recruitment-slider {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.slide {
  opacity: 1;
  transform: none;
  position: static;
  pointer-events: auto;
  transition: none;
  width: 100%;
  margin: 0;
}
/* Remove any .slide.active or .slide:not(.active) rules that hide/show slides */
.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-content {
  background: rgba(10, 10, 30, 0.4);
  border: 1px solid rgba(0, 120, 212, 0.25);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.role-title {
  color: var(--blue-light);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.role-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.role-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.role-benefits li::before {
  content: "✔";
  color: var(--gold);
  margin-right: 8px;
}

.slider-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.nav-btn {
  background: rgba(0, 120, 212, 0.12);
  border: 1px solid var(--blue-medium);
  color: var(--white);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.6s ease;
}

.nav-btn:hover::before {
  left: 100%;
}

.nav-btn .nav-title {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-btn .nav-subtitle {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  transition: color 0.3s ease;
}

.nav-btn:hover {
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.nav-btn.active {
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.15);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2), 0 8px 25px rgba(0,0,0,0.2);
}

.nav-btn.active .nav-title {
  color: var(--gold);
}

.nav-btn.active .nav-subtitle {
  color: rgba(255, 215, 0, 0.8);
}

.slider-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1rem;
}

.indicator {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: var(--gold);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.indicator:hover {
  border-color: var(--gold);
  transform: scale(1.2);
}

.indicator.active {
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.2);
  transform: scale(1.3);
}

.indicator.active::before {
  width: 6px;
  height: 6px;
}

@media (max-width: 768px) {
  .recruitment-slider {
    padding: 0.5rem 0 0;
  }
  
  .slide {
    padding: 0.5rem 0 0;
  }
  
  .slide-content {
    padding: 1rem;
    border-radius: 8px;
    max-width: 100%;
  }
  
  .role-title {
    font-size: 1.25rem;
  }
  
  .role-description {
    font-size: 1rem;
  }
  
  .role-benefits ul {
    margin-bottom: 1rem;
  }
  
  .slider-nav {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  
  .nav-btn {
    padding: 0.75rem 1rem;
    text-align: center;
  }
  
  .nav-btn .nav-title {
    font-size: 1rem;
  }
  
  .nav-btn .nav-subtitle {
     font-size: 0.85rem;
   }
}