:root {
  --bg: #050505;
  --accent: #8b5cf6;
  --accent-soft: rgba(139,92,246,0.15);
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0;
  overflow-x: hidden;
}

/* NAVBAR */
.nav-container {
  display:flex;
  justify-content:space-between;
  align-items:center;
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}
nav {
  position: fixed;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.4s ease;
}
nav.scrolled {
  backdrop-filter: blur(20px);
  background: rgba(0,0,0,0.6);
}
.logo {
  font-weight: 800;
  font-size: 1.4rem;
  white-space: nowrap;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: #aaa;
  text-decoration: none;
  margin-left: 25px;
  transition:0.3s;
  white-space: nowrap;
  font-size: 0.9rem;
}
.nav-links a:hover { color:white; }

/* HERO */
.hero {
  position: relative;
  height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

/* IMAGE */
.hero-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  transform: translate(-50%, -50%) translateY(0);
  z-index: -3;
  will-change: transform;
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.8) 0%,
    rgba(0,0,0,0.5) 40%,
    rgba(0,0,0,0.85) 100%
  );
  z-index: -2;
}

/* CONTENU */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.badge {
  display:inline-block;
  padding:8px 20px;
  border-radius:30px;
  font-size:0.75rem;
  letter-spacing:2px;
  border:1px solid rgba(255,255,255,0.2);
  backdrop-filter:blur(10px);
  margin-bottom:30px;
}

h1 {
  font-size: clamp(2.5rem,8vw,6rem);
  font-weight: 800;
  line-height:1;
  margin-bottom:25px;
}

.gradient {
  background: linear-gradient(90deg, #a855f7, #ec4899);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero-content p {
  font-size:1.1rem;
  opacity:0.85;
  margin-bottom:40px;
}

.hero-buttons {
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.btn-primary {
  background:white;
  color:black;
  padding:14px 30px;
  border-radius:12px;
  font-weight:600;
  text-decoration:none;
  transition:0.3s;
}
.btn-primary:hover { background: var(--accent); color:white; }

.btn-secondary {
  border:1px solid rgba(255,255,255,0.3);
  padding:14px 30px;
  border-radius:12px;
  text-decoration:none;
  color:white;
  transition:0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* SCROLL */
.scroll-indicator {
  position:absolute;
  bottom:40px;
  left:50%;
  transform:translateX(-50%);
  font-size:0.8rem;
  opacity:0.6;
  animation:bounce 2s infinite;
}
@keyframes bounce {
  0%,100%{transform:translate(-50%,0);}
  50%{transform:translate(-50%,8px);}
}

/* SECTIONS */
.section {
  padding:120px 20px;
  text-align:center;
  position:relative;
}
.section.dark {
  background: linear-gradient(to bottom, #050505 0%, #0b0b0f 100%);
}
.section h2 {
  font-size: clamp(1.8rem,4vw,3rem);
  margin-bottom:40px;
}
.section p {
  max-width:800px;
  margin:0 auto 20px auto;
  font-size:1rem;
  opacity:0.85;
  line-height:1.7;
}

.highlight-quote {
  font-size: clamp(1.3rem,3vw,2rem);
  font-weight:600;
  margin:60px auto;
  max-width:900px;
}

.glow-divider {
  width:180px;
  height:3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin:50px auto;
  opacity:0.6;
}

/* GRID */
.collective-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
  margin-top:60px;
}

.collective-card {
  background: rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.1);
  padding:30px;
  border-radius:20px;
  transition:0.3s;
}
.collective-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

/* TIMER */
#timer {
  font-size:1.8rem;
  margin-top:20px;
}

/* TIMELINE */
.timeline-container {
  position: relative;
  margin: 60px auto;
  max-width: 400px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--accent-soft));
}

.timeline-item {
  margin-bottom: 50px;
  text-align: center;
}

.timeline-icon {
  margin: 0 auto 10px;
  border: 2px solid var(--accent);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.timeline-content {
  background: rgba(255,255,255,0.03);
  padding: 20px;
  border-radius: 15px;
}

/* FULL WIDTH SECTIONS */
.full-width-section {
  width: 100%;
  background: linear-gradient(135deg, rgba(139,92,246,0.05), rgba(0,0,0,0.05));
  padding: 80px 20px;
}

.full-width-section p {
  max-width: 900px;
  margin: 20px auto;
}

/* FOOTER */
.footer {
  background: rgba(0,0,0,0.4);
  padding: 25px;
  text-align:center;
  font-size:0.8rem;
}

.social-links {
  display:flex;
  justify-content:center;
  gap:15px;
  margin-top:10px;
}

.social-links a {
  color: rgba(139,92,246,0.7);
  text-decoration:none;
}

.social-links a:hover {
  color:white;
}

/* ===================== */
/* 📱 MOBILE OPTIMISATION */
/* ===================== */
@media (max-width: 768px) {

  .nav-links {
    display: none; /* simplifie mobile */
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-image {
    width: 130%;
    height: 130%;
  }

  .section {
    padding: 90px 20px;
  }

  .collective-grid {
    gap:20px;
  }

}