
:root {
  --dark: #0d0f1e;
  --dark2: #13162a;
  --neon-cyan: #00f5ff;
  --neon-magenta: #ff00cc;
  --neon-yellow: #ffe600;
  --neon-orange: #ff6600;
  --neon-green: #00ff88;
  --neon-purple: #8855ff;
  --neon-pink: #ff3d8f;
  --neon-blue: #4488ff;
  --white: #ffffff;
  --text-muted: rgba(255,255,255,0.55);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--dark);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(13,15,30,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--neon-cyan);
  box-shadow: 0 0 18px rgba(0,245,255,0.35), 0 1px 0 rgba(0,245,255,0.15);
  isolation: isolate;
}

.nav-logo {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  text-shadow: 0 0 14px rgba(0,245,255,0.32), 0 0 28px rgba(255,0,204,0.18);
}

.nav-links {
  display: none;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--neon-cyan); }

.nav-cta {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  color: var(--dark) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-weight: 700 !important;
  -webkit-text-fill-color: var(--dark) !important;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── HERO ─── */
#hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  overflow: visible;
  padding: 80px 1rem 3rem !important; /* override section { padding: 5rem } */
  z-index: 1;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(13,15,30,0.98) 0%, rgba(13,15,30,0.9) 10%, rgba(13,15,30,0.32) 24%, rgba(13,15,30,0.08) 38%, rgba(13,15,30,0.14) 54%, rgba(13,15,30,0.48) 68%, rgba(13,15,30,0.88) 84%, rgba(13,15,30,0.98) 100%),
    radial-gradient(ellipse 58% 38% at 50% 34%, rgba(136,85,255,0.1) 0%, transparent 58%);
  pointer-events: none;
  z-index: 3;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(136,85,255,0.15) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 20% 30%, rgba(0,245,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 80% 20%, rgba(255,0,204,0.08) 0%, transparent 60%);
  z-index: 0;
}

/* SVG absolument positionné — centré, grand, déborde haut et bas librement */
#hero-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 96vw);
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

#hero-canvas svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* Boutons dans le flow, tout en bas du hero */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-magenta), var(--neon-purple));
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(255,0,204,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(255,0,204,0.5);
}

.btn-secondary {
  background: var(--dark);
  color: var(--neon-cyan);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--neon-cyan);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: var(--dark);
  box-shadow: 0 0 30px rgba(0,245,255,0.2);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s infinite;
}
.scroll-indicator::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--neon-cyan), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── SECTIONS COMMON ─── */
section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section.full-width {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.section-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.72rem;
  color: var(--neon-cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-title .accent {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── STATS STRIP ─── */
#stats-strip {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 2rem;
  max-width: none;
  position: relative;
  z-index: 100;
  margin-top: 0;
  /* Écraser le padding-top hérité de section */
  padding-top: 3rem !important;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 0.4rem;
  letter-spacing: 0.03em;
}

/* ─── LIGNES ─── */
#lignes {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(0,245,255,0.08);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 0.6rem 1.2rem;
  margin-bottom: 2rem;
  max-width: 420px;
}

.search-bar input {
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  flex: 1;
}
.search-bar input::placeholder { color: var(--text-muted); }

.search-bar svg { color: var(--text-muted); flex-shrink: 0; }

.network-map-card {
  background:
    radial-gradient(circle at top right, rgba(0,245,255,0.12), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.6rem;
  padding: 1.4rem;
  margin-bottom: 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  width: 100%;
}

.network-map-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.network-map-header h2 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.network-map-header p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.88rem;
}

.map-controls {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.map-control-btn {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(13,15,30,0.72);
  color: var(--white);
  border-radius: 999px;
  min-width: 48px;
  height: 40px;
  padding: 0 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.map-control-btn:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.map-stage {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  aspect-ratio: 896 / 768;
  width: 100%;
  cursor: default;
  touch-action: none;
  user-select: none;
}

.map-panzoom {
  position: absolute;
  inset: 0;
  transform-origin: center center;
  transform: translate(var(--map-x, 0px), var(--map-y, 0px)) scale(var(--map-scale, 1));
  transition: transform 0.35s ease;
  will-change: transform;
}

.map-stage.is-dragging .map-panzoom {
  transition: none;
}

.map-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}

.map-info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1rem;
}

.map-stage.is-zoomed .map-base {
  cursor: grab;
}

.map-stage.is-dragging .map-base {
  cursor: grabbing;
}

.map-source {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.42);
}

.lines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.2rem;
}

.line-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  padding: 1.4rem;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.line-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(90deg, var(--line-color, var(--neon-cyan)), color-mix(in srgb, var(--line-color, var(--neon-cyan)) 35%, white));
}

.line-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.line-card.active {
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--line-color, var(--neon-cyan)) 55%, transparent), 0 20px 60px rgba(0,0,0,0.4);
}

.line-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.line-badge {
  width: 44px;
  height: 44px;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
  background: var(--line-color, var(--neon-cyan));
  color: var(--line-text-color, var(--dark));
  box-shadow: 0 0 18px color-mix(in srgb, var(--line-color, var(--neon-cyan)) 45%, transparent);
}

.line-info h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.line-info p { color: var(--text-muted); font-size: 0.8rem; }

.line-hours {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hour-chip {
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  font-family: 'Roboto Mono', monospace;
  color: var(--text-muted);
}

.line-stops {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.stop-chip {
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  color: var(--white);
  background: color-mix(in srgb, var(--line-color, var(--neon-cyan)) 16%, rgba(255,255,255,0.03));
  border: 1px solid color-mix(in srgb, var(--line-color, var(--neon-cyan)) 38%, rgba(255,255,255,0.08));
}

.empty-lines-state {
  grid-column: 1 / -1;
  background: var(--dark2);
  border: 1px dashed rgba(255,255,255,0.14);
  border-radius: 1rem;
  padding: 1.5rem;
  color: var(--text-muted);
}

.line-type-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.8rem;
}

.line-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.line-details-title {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.line-stops-ordered {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.line-stop-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-size: 0.84rem;
}

.line-stop-index {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--line-color, var(--neon-cyan)) 22%, rgba(255,255,255,0.04));
  border: 1px solid color-mix(in srgb, var(--line-color, var(--neon-cyan)) 38%, rgba(255,255,255,0.08));
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--neon-cyan);
  text-decoration: none;
  margin-bottom: 1.25rem;
  font-size: 0.86rem;
}

.detail-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.4rem;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}

.detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--line-color, var(--neon-cyan)), color-mix(in srgb, var(--line-color, var(--neon-cyan)) 35%, white));
}

.detail-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.detail-badge {
  width: 58px;
  height: 58px;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 900;
  background: var(--line-color, var(--neon-cyan));
  color: var(--line-text-color, var(--dark));
  box-shadow: 0 0 22px color-mix(in srgb, var(--line-color, var(--neon-cyan)) 45%, transparent);
}

.detail-name {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.detail-copy {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.detail-section + .detail-section {
  margin-top: 1.25rem;
}

.detail-section-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.activity-detail-card {
  padding: 1.2rem;
}

.activity-hero {
  height: 220px;
  border-radius: 1rem;
  margin-bottom: 1.2rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.activity-meta {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
}

.fake-route-bar {
  max-width: 100%;
  margin-bottom: 1rem;
}

.routes-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.route-suggestion {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.9rem;
  padding: 0.9rem;
}

.route-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.route-line {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.78rem;
  color: var(--neon-cyan);
}

.route-main {
  margin-top: 0.65rem;
  font-size: 0.86rem;
}

.route-sub {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── SORTIES ─── */
#sorties {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sorties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.sortie-card {
  display: block;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.2rem;
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.sortie-card:visited { color: inherit; }
.sortie-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}

.sortie-emoji-header {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sortie-body {
  padding: 1.2rem;
}
.sortie-body h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.sortie-body p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}
.sortie-tag {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tag-club { background: rgba(255,0,204,0.15); color: var(--neon-magenta); }
.tag-bar { background: rgba(0,245,255,0.12); color: var(--neon-cyan); }
.tag-festival { background: rgba(255,230,0,0.12); color: var(--neon-yellow); }
.tag-cinema { background: rgba(0,255,136,0.12); color: var(--neon-green); }

/* ─── PRATIQUE ─── */
#pratique {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pratique-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.pratique-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.2rem;
  padding: 2rem;
}

.pratique-card h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pratique-card h3 .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.pratique-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pratique-list li {
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}
.pratique-list li::before {
  content: '→';
  color: var(--neon-cyan);
  flex-shrink: 0;
  margin-top: 1px;
}

.tarif-highlight {
  background: linear-gradient(135deg, rgba(0,245,255,0.1), rgba(136,85,255,0.1));
  border: 1px solid rgba(0,245,255,0.2);
  border-radius: 0.8rem;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}
.tarif-highlight strong {
  font-family: 'Roboto', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--neon-cyan);
}
.tarif-highlight p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* FAQ */
.faq-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.8rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
  user-select: none;
}
.faq-question:hover { color: var(--neon-cyan); }

.faq-question .chevron {
  transition: transform 0.3s;
  flex-shrink: 0;
  color: var(--text-muted);
}
.faq-item.open .chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer-inner {
  padding: 0 1.4rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* app links */
.app-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.app-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.8rem;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.app-link:hover {
  background: rgba(0,245,255,0.08);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

/* ─── STORY ─── */
#story {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}

.story-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.testimonial {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  padding: 1.4rem;
  position: relative;
}
.testimonial::before {
  content: '"';
  font-family: 'Roboto', sans-serif;
  font-size: 3rem;
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.testimonial p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}
.testimonial-author {
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--neon-cyan);
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 2rem 2rem;
}

.footer-main {
  max-width: 1100px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  text-align: left;
}

.footer-logo {
  font-family: 'Roboto', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.footer-sub {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-end;
  margin-bottom: 0;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--neon-cyan); }

.footer-copy {
  text-align: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem;
}

/* ─── DIVIDER ─── */
.neon-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-magenta), transparent);
  opacity: 0.3;
  margin: 0;
  position: relative;
  z-index: 100;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  section,
  footer,
  nav,
  #stats-strip {
    width: 100%;
    max-width: 100%;
  }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .mobile-nav {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-120%);
    width: min(300px, 88vw);
  }
  .mobile-nav.open {
    transform: translateX(-50%) translateY(0);
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pratique-grid { grid-template-columns: 1fr; }
  .story-layout { grid-template-columns: 1fr; gap: 2rem; }
  .lines-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
  .footer-brand { text-align: center; }
  .footer-links { align-items: center; }
  .sorties-grid { grid-template-columns: repeat(2, 1fr); }
  .network-map-header,
  .map-info {
    flex-direction: column;
    align-items: stretch;
  }
  .search-bar {
    max-width: none;
  }
  .map-controls {
    justify-content: flex-start;
  }
  .network-map-card {
    padding: 1rem;
  }

  /* ── Hero mobile ── */
  #hero {
    justify-content: flex-start !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  #hero::after {
    background:
      linear-gradient(to bottom, rgba(13,15,30,0.88) 0%, rgba(13,15,30,0.72) 16%, rgba(13,15,30,0.38) 30%, rgba(13,15,30,0.14) 46%, rgba(13,15,30,0.18) 54%, rgba(13,15,30,0.7) 60%, rgba(13,15,30,0.96) 70%, rgba(13,15,30,1) 100%),
      radial-gradient(ellipse 72% 48% at 50% 30%, rgba(136,85,255,0.1) 0%, transparent 68%);
  }

  /* SVG : repositionné plus haut, le début des traits disparaît sous le nav */
  #hero-canvas {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    margin-top: -10px; /* colle sous le nav */
    z-index: 2;
  }

  #hero-canvas svg {
    width: 100% !important;
    height: 65vh !important; /* plus haut qu'en desktop */
  }

  /* Bloc boutons : fond sombre qui masque le bas des traits */
  .hero-actions {
    position: relative !important;
    z-index: 10 !important;
    width: 100%;
    max-width: 100%;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.8rem !important;
    margin-top: 0 !important;
    padding: 6rem 1.5rem 2.5rem !important;
    margin-top: -6rem !important;
    background: transparent !important;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .sorties-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  nav { padding: 1rem; }
}

/* ─── Mobile Nav ─── */
.mobile-nav {
  position: fixed;
  top: 70px; right: 2rem; left: auto;
  width: 260px;
  transform: translateY(-120%);
  margin-top: 0;
  background: rgba(13,15,30,0.98);
  backdrop-filter: blur(20px);
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 30px rgba(0,245,255,0.25), 0 0 80px rgba(0,245,255,0.08), inset 0 0 30px rgba(0,245,255,0.03);
  border-radius: 1.2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  padding: 3rem 2rem;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease;
  opacity: 0;
  bottom: auto;
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--neon-cyan); }
.mobile-nav-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* floating glow orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb1 { width: 300px; height: 300px; background: rgba(0,245,255,0.06); top: 10%; left: -5%; }
.orb2 { width: 400px; height: 400px; background: rgba(255,0,204,0.05); bottom: 10%; right: -10%; }
.orb3 { width: 200px; height: 200px; background: rgba(255,230,0,0.04); top: 50%; left: 50%; transform: translate(-50%,-50%); }

.nav-links a.nav-active { color: var(--neon-cyan); }

/* Cache la scrollbar du carousel */
.carousel-track-wrap::-webkit-scrollbar { display: none; }
.page-hero {
  padding: 140px 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.page-hero .section-label { margin-bottom: 0.8rem; }
