/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --bg: #08080c;
  --surface: #111118;
  --surface-soft: rgba(255, 255, 255, 0.05);
  --border: #282833;
  --border-soft: rgba(40, 40, 51, 0.5);
  --border-faint: rgba(40, 40, 51, 0.4);

  --text: #fafafa;
  --text-muted: #97a3b4;

  --accent: #965af6;
  --accent-soft: rgba(150, 90, 246, 0.1);
  --accent-border: rgba(150, 90, 246, 0.3);
  --blue: #21b0f2;
  --blue-soft: rgba(33, 176, 242, 0.1);
  --green: #12d393;
  --yellow: #f8c630;
  --orange: #f97316;
  --red: #ef4343;

  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 1216px;
  --edge: 351px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;  /* repli pour les navigateurs sans overflow: clip */
  overflow-x: clip;
  max-width: 100%;
}

a { color: inherit; text-decoration: none; }
svg { display: block; flex-shrink: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: -0.16px; }
.mono--xs { font-size: 10px; }
.mono--bold { font-weight: 700; }
.mono--muted { color: var(--text-muted); }

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  position: relative;
  isolation: isolate;
}
.dot::before,
.rec-dot::before,
.brand__dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(151, 163, 180, 0.22);
  z-index: -1;
}
.dot--blue { background: var(--blue); }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.sep { color: var(--border); font-family: var(--font-mono); font-size: 12px; }

.status-ok { color: var(--text); text-transform: uppercase; }
.status-live { color: var(--blue); }
.status-dante { color: var(--green); }
.status-ndi { color: var(--blue); }
.status-ma { color: var(--accent); }

/* ==========================================================================
   Buttons & pills
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 3px rgba(150, 90, 246, 0.1), 0 4px 6px -1px rgba(150, 90, 246, 0.1);
}
.btn--primary:hover { background: #a56ff8; }

.btn--dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: #1a1a23;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}
.btn--dark:hover { border-color: var(--accent-border); }

.btn--outline {
  border-color: var(--border-faint);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}
.btn--outline:hover { color: var(--text); border-color: var(--border); }

.btn--ghost {
  background: transparent;
  border-color: var(--border-faint);
  color: var(--text);
}
.btn--sm { height: 32px; padding: 0 16px; font-size: 13px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 54px;
  padding: 0 24px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1.08px;
  text-transform: uppercase;
  color: var(--text);
}
.pill--outline {
  background: rgba(8, 8, 12, 0.18);
  border: 1px solid var(--accent-border);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(8, 8, 12, 0.18);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}
.tag--accent { color: var(--blue); }

/* ==========================================================================
   Top bar / nav
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 65px;
  background: rgba(8, 8, 12, 0.45);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-faint);
}
.topbar__inner {
  max-width: 1920px;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--surface-soft);
  border: 1px solid var(--border-faint);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
}
.brand__name .brand__dot { background: var(--blue); }
.brand__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 22.5px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--border-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  color: var(--text);
}
.brand__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); position: relative; isolation: isolate; }

.mainnav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
}
.mainnav a { transition: color 0.15s ease; }
.mainnav a:hover { color: var(--text); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 66px var(--edge) 100px;
  /* pas d'overflow: les halos débordent d'une section à l'autre */
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero__glow--a {
  width: 896px; height: 384px;
  background: radial-gradient(closest-side, rgba(150, 90, 246, 0.20), rgba(150, 90, 246, 0.07) 55%, rgba(150, 90, 246, 0) 100%);
  top: 15%; left: 25%;
}
.hero__glow--b {
  width: 753px; height: 704px;
  background: radial-gradient(closest-side, rgba(33, 176, 242, 0.18), rgba(33, 176, 242, 0.06) 55%, rgba(33, 176, 242, 0) 100%);
  top: 30%; right: -5%;
}

.hero__statusbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 33px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 65px;
  flex-wrap: wrap;
}
.statusbar__group { display: flex; align-items: center; gap: 12px; }
.statusbar__group--right { gap: 16px; }

.hero__grid {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 700px;
}

.hero__content { padding-top: 12px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -2.1px;
  text-transform: uppercase;
  margin: 32px 0 24px;
}
.hero__title .highlight {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(150, 90, 246, 0.4);
  text-underline-offset: 4px;
}

.hero__lede {
  max-width: 560px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.16px;
  margin-bottom: 24px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}


.console__topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 26px;
  border-bottom: 1px solid rgba(40, 40, 51, 0.7);
  margin-bottom: 20px;
}
.rec-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); position: relative; isolation: isolate; }
.console__center { flex: 1; text-align: center; }

.console__frame {
  aspect-ratio: 353 / 384;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(160deg, #1a1a23, #08080c);
  margin-bottom: 16px;
}
.console__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.console__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(40, 40, 51, 0.7);
  margin-bottom: 16px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 8px 9px;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: -0.16px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat__value {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16px;
}

.console__master {
  display: flex;
  align-items: center;
  gap: 12px;
}
.master-bars { flex: 1; display: flex; gap: 6px; height: 8px; }
.bar { display: block; height: 8px; border-radius: 8px; width: var(--w); }
.bar--green { background: var(--green); }
.bar--yellow { background: var(--yellow); }
.bar--red { background: var(--red); }

.corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent);
  pointer-events: none;
}
.corner--tl { top: -4px; left: -4px; border-right: none; border-bottom: none; }
.corner--tr { top: -4px; right: -4px; border-left: none; border-bottom: none; }
.corner--bl { bottom: -4px; left: -4px; border-right: none; border-top: none; }
.corner--br { bottom: -4px; right: -4px; border-left: none; border-top: none; }

/* ==========================================================================
   Vision Globale
   ========================================================================== */
.vision {
  position: relative;
  padding: 65px 68px 100px var(--edge);

  /* pas d'overflow: les halos débordent d'une section à l'autre */
}

.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.glow--top {
  width: 700px; height: 500px;
  left: 50%; top: 6%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(150, 90, 246, 0.20), rgba(150, 90, 246, 0.07) 55%, rgba(150, 90, 246, 0) 100%);
}
.glow--corner {
  width: 450px; height: 350px;
  right: 40px; bottom: 40px;
  background: radial-gradient(closest-side, rgba(33, 176, 242, 0.18), rgba(33, 176, 242, 0.06) 55%, rgba(33, 176, 242, 0) 100%);
}

.section-head { position: relative; z-index: 1; max-width: 780px; margin-bottom: 65px; }

.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.eyebrow__bar { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.mono--bold.status-live { letter-spacing: 1.08px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -1.68px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-lede {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.16px;
  max-width: 620px;
}

/* Deux colonnes plaquées aux bords : l'espace central reste vide pour
   laisser voir la vidéo de fond. */
.vision__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 589px) minmax(0, 584px);
  justify-content: space-between;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}
.vision__left, .vision__right { min-width: 0; }
/* Colonnes inversées : la console passe à gauche, les cartes à droite.
   Les noms de classe reflètent l'ordre du HTML, pas l'affichage. */
.vision__left { order: 2; }
.vision__right { order: 1; }

/* --- Feature cards --- */
.feature-list { display: flex; flex-direction: column; gap: 24px; }

.feature-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(8, 8, 12, 0.18);
  backdrop-filter: blur(3px);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(150, 90, 246, 0.1), 0 2px 4px -1px rgba(150, 90, 246, 0.1);
}

.feature-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(40, 40, 51, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.feature-card__body { flex: 1; min-width: 0; }

.feature-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.feature-card__top h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.16px;
  text-transform: uppercase;
  color: #f0f2f5;
}

.chip {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgba(8, 8, 12, 0.18);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: -0.16px;
}

.feature-card__body p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.16px;
}

/* --- Stats bar --- */
.stats-bar {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(8, 8, 12, 0.18);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 1.5px rgba(150, 90, 246, 0.05);
  padding: 24px 0;
  text-align: center;
}
.stats-bar__item { display: flex; flex-direction: column; gap: 8px; }
.stats-bar__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 30px;
}
.stats-bar__label {
  color: var(--text-muted);
  font-size: 12px;
}

/* --- Protocols --- */
.protocols__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.mono--label { text-transform: uppercase; letter-spacing: 0.48px; }
.protocols__list { display: flex; flex-wrap: wrap; gap: 10px; }
.proto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.16px;
}

/* --- Live console (Vision Globale) --- */
.live-console {
  position: relative;
  background: rgba(8, 8, 12, 0.18);
  backdrop-filter: blur(3px);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(150, 90, 246, 0.1), 0 8px 10px -1px rgba(150, 90, 246, 0.1);
  overflow: hidden;
}

.live-console__topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 53px;
  padding: 0 20px;
  background: rgba(29, 29, 38, 0.22);
  border-bottom: 1px solid var(--border);
}
.live-console__btns { margin-left: auto; display: flex; gap: 8px; }
.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.16px;
  color: var(--text-muted);
}
.mini-btn--active {
  background: var(--blue);
  color: var(--bg);
  box-shadow: 0 1px 1.5px rgba(150, 90, 246, 0.05);
}

.live-console__body { padding: 24px; display: flex; flex-direction: column; gap: 24px; }

.telemetry-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.signal { display: flex; flex-direction: column; gap: 10px; }
.signal__row { display: flex; align-items: center; gap: 8px; }
.signal__name { flex-shrink: 0; }
.signal__meta { margin-left: auto; }
.signal__track {
  height: 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.signal__fill { display: block; height: 100%; width: var(--w); border-radius: 8px; }
.signal__fill--blue { background: var(--blue); }
.signal__fill--green { background: var(--green); }
.signal__fill--purple { background: var(--accent); }

.live-console__divider { height: 1px; background: var(--border); }

.live-console__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.live-console__footer .btn--primary {
  text-transform: uppercase;
  letter-spacing: 0.48px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.corner--sm { width: 8px; height: 8px; border-color: rgba(33, 176, 242, 0.7); }

/* --- Console photo (mixing desk) --- */
.console-photo {
  position: relative;
  margin: 0 24px 24px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.console-photo img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  filter: saturate(0.9);
}
.console-photo__tc {
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--text-muted);
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.console-photo__tag {
  position: absolute;
  bottom: 14px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(8, 8, 12, 0.28);
  backdrop-filter: blur(3px);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  letter-spacing: 0.4px;
}
.console-photo__tag--left { left: 14px; color: var(--blue); }
.console-photo__tag--right { right: 14px; }

/* ==========================================================================
   Méthode
   ========================================================================== */
.methode {
  position: relative;
  padding: 100px var(--edge) 120px;

  /* pas d'overflow: les halos débordent d'une section à l'autre */
}

.glow--methode {
  width: 900px; height: 480px;
  left: 50%; top: 0;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(150, 90, 246, 0.20), rgba(150, 90, 246, 0.07) 55%, rgba(150, 90, 246, 0) 100%);
}

.section-head--center { max-width: 820px; margin: 0 auto 65px; text-align: center; }
.section-head--center .section-title,
.section-lede--center { text-align: center; margin-left: auto; margin-right: auto; }

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 26px;
  padding: 0 14px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(3px);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.08px;
  text-transform: uppercase;
}

.phases {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.phase-card {
  background: rgba(8, 8, 12, 0.18);
  backdrop-filter: blur(3px);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(150, 90, 246, 0.1), 0 2px 4px -1px rgba(150, 90, 246, 0.1);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.phase-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.phase-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.phase-card__num {
  height: 36px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(150, 90, 246, 0.4);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
}

.mono--label { text-transform: uppercase; letter-spacing: 0.48px; }

.phase-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.84px;
  text-transform: uppercase;
  margin: 6px 0 10px;
}
.phase-card__subtitle {
  color: rgba(250, 250, 250, 0.9);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.21px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.phase-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.proto--sm {
  height: 28px;
  font-size: 11px;
  gap: 7px;
}

.phase-card__desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.625;
  letter-spacing: -0.16px;
  margin-bottom: 24px;
}

.phase-card__divider { height: 1px; background: rgba(40, 40, 51, 0.6); margin-bottom: 20px; }

.phase-card__deliverables ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.phase-card__deliverables li {
  position: relative;
  padding-left: 22px;
  font-size: 12px;
  color: rgba(250, 250, 250, 0.8);
}
.phase-card__deliverables li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}
.phase-card__deliverables li::after {
  content: "✓";
  position: absolute;
  left: 3px; top: 0;
  font-size: 9px;
  color: var(--accent);
}

/* --- Skills banner --- */
.skills-banner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--surface-soft);
  backdrop-filter: blur(3px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 40px;
}
.skills-banner__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.16px;
  text-transform: uppercase;
  max-width: 280px;
  margin-top: 8px;
}
.skills-banner__tags { display: flex; flex-wrap: wrap; gap: 10px; max-width: 720px; }
.skill-tag {
  height: 30px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  background: rgba(8, 8, 12, 0.18);
  border: 1px solid var(--border);
  color: rgba(250, 250, 250, 0.9);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.42px;
}

.methode__cta { position: relative; z-index: 1; display: flex; justify-content: center; }
.btn--lg {
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.56px;
  font-weight: 600;
}

/* ==========================================================================
   Outils & Protocoles
   ========================================================================== */
.outils {
  position: relative;
  padding: 100px var(--edge) 120px;

  /* pas d'overflow: les halos débordent d'une section à l'autre */
}

.glow--outils-a {
  width: 650px; height: 350px;
  left: 50%; top: -160px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(150, 90, 246, 0.20), rgba(150, 90, 246, 0.07) 55%, rgba(150, 90, 246, 0) 100%);
}
.glow--outils-b {
  width: 450px; height: 450px;
  right: 40px; bottom: -128px;
  background: radial-gradient(closest-side, rgba(33, 176, 242, 0.18), rgba(33, 176, 242, 0.06) 55%, rgba(33, 176, 242, 0) 100%);
}

.outils__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.outils__head-text { max-width: 700px; }

.pill-tag--accent { color: var(--accent); }

.dot--green { background: var(--green); }

.outils__filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
  height: 32px;
  padding: 0 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #1a1a23;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.filter-btn:hover { border-color: var(--accent-border); }
.filter-btn--active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.tools-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.tool-card {
  position: relative;
  background: rgba(8, 8, 12, 0.18);
  backdrop-filter: blur(3px);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(150, 90, 246, 0.1), 0 4px 6px -1px rgba(150, 90, 246, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.tool-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-soft);
}
.mono--label { text-transform: uppercase; letter-spacing: 0.44px; }
.mono--label .dot { margin-right: 6px; }

.latency-chip {
  height: 21px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: -0.16px;
  text-transform: uppercase;
  white-space: nowrap;
}

.tool-card__icon {
  position: absolute;
  top: 60px;
  right: 20px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.tool-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.16px;
  margin-bottom: 6px;
  padding-right: 50px;
}
.tool-card__cat {
  display: block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  margin-bottom: 14px;
}
.tool-card__desc {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.625;
  letter-spacing: -0.16px;
  margin-bottom: auto;
  padding-bottom: 20px;
}

.tool-card__meta {
  background: rgba(8, 8, 12, 0.2);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tool-card__meta-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tool-card__meta-row .status-dante { font-weight: 700; }

/* --- Protocols panel --- */
.protocols-panel {
  position: relative;
  z-index: 1;
  background: rgba(8, 8, 12, 0.18);
  backdrop-filter: blur(3px);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(150, 90, 246, 0.1), 0 8px 10px -1px rgba(150, 90, 246, 0.1);
  padding: 32px;
}

.protocols-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.protocols-panel__icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.protocols-panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.protocols-panel__sub { color: var(--text-muted); font-size: 14px; max-width: 560px; }

.qos-chip {
  margin-left: auto;
  height: 30px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.protocols-panel__divider { height: 1px; background: var(--border); margin-bottom: 24px; }

.proto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.proto-cell {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.proto-cell__name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
}
.proto-cell__bar {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
  width: 80%;
}
.proto-cell__label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.cert-bar {
  background: rgba(8, 8, 12, 0.18);
  border: 1px solid var(--border-faint);
  border-radius: 16px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cert-bar span { color: var(--text-muted); }

/* ==========================================================================
   Projets & Réalisations
   ========================================================================== */
.projets {
  position: relative;
  padding: 100px var(--edge) 120px;

  /* pas d'overflow: les halos débordent d'une section à l'autre */
}
.glow--projets-a {
  width: 650px; height: 350px;
  left: 50%; top: -160px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(150, 90, 246, 0.20), rgba(150, 90, 246, 0.07) 55%, rgba(150, 90, 246, 0) 100%);
}
.glow--projets-b {
  width: 450px; height: 450px;
  right: 40px; bottom: 0;
  background: radial-gradient(closest-side, rgba(33, 176, 242, 0.18), rgba(33, 176, 242, 0.06) 55%, rgba(33, 176, 242, 0) 100%);
}

.projets__tabs {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  background: rgba(8, 8, 12, 0.18);
  backdrop-filter: blur(3px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 5px;
  max-width: 545px;
  margin: 0 auto 40px;
}
.proj-tab {
  height: 25px;
  padding: 0 16px;
  border-radius: 12px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.proj-tab--active {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #1a1a23;
  color: var(--text);
}

.projets-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.proj-card {
  background: rgba(8, 8, 12, 0.18);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(150, 90, 246, 0.1), 0 8px 10px -1px rgba(150, 90, 246, 0.1);
  overflow: hidden;
}

.proj-card__media {
  position: relative;
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid var(--border);
  padding: 16px;
}
.proj-card__media img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
}
.proj-card__rec {
  position: absolute;
  top: 28px; left: 24px;
  color: rgba(150, 90, 246, 0.8);
  text-transform: uppercase;
}
.proj-card__tc {
  position: absolute;
  top: 28px; right: 24px;
  color: var(--text-muted);
}
.proj-card__loc {
  position: absolute;
  top: 16px; right: 24px;
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.proj-card__specs {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  height: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 12px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.proj-card__specs .mono:last-child { margin-left: auto; }

.proj-card__body { padding: 24px; }
.proj-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.proj-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.84px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.proj-card__desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.625;
  letter-spacing: -0.16px;
  margin-bottom: 20px;
}
.proj-card__rider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 58px;
  padding: 0 20px;
  border-radius: 16px;
  background: rgba(8, 8, 12, 0.18);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  margin-bottom: 20px;
}

.proj-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.btn-debrief {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #1a1a23;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.16px;
  cursor: pointer;
}
.btn-debrief:hover { border-color: var(--accent-border); }

.projets__cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: rgba(8, 8, 12, 0.16);
  backdrop-filter: blur(3px);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 20px 24px;
}
.projets__cta-icon {
  width: 32px; height: 32px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.projets__cta-text { flex: 1; min-width: 240px; }
.projets__cta-text p { color: var(--text-muted); font-size: 12px; margin-top: 4px; }
.projets__cta-btn {
  text-transform: uppercase;
  letter-spacing: -0.16px;
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ==========================================================================
   Lieux d'Exploitation & Festivals
   ========================================================================== */
.lieux {
  position: relative;
  padding: 100px var(--edge) 120px;

  /* pas d'overflow: les halos débordent d'une section à l'autre */
}
.glow--lieux-a {
  width: 650px; height: 450px;
  left: 50%; top: -160px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(150, 90, 246, 0.20), rgba(150, 90, 246, 0.07) 55%, rgba(150, 90, 246, 0) 100%);
}
.glow--lieux-b {
  width: 320px; height: 320px;
  right: 40px; bottom: 0;
  background: radial-gradient(closest-side, rgba(33, 176, 242, 0.18), rgba(33, 176, 242, 0.06) 55%, rgba(33, 176, 242, 0) 100%);
}

.venues-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.venue-card {
  background: rgba(8, 8, 12, 0.18);
  backdrop-filter: blur(3px);
  border-radius: 20px;
  overflow: hidden;
}

.venue-card__media {
  position: relative;
  aspect-ratio: 352 / 198;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.07);
}
.venue-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.venue-card__corner {
  position: absolute;
  width: 24px; height: 24px;
  border: 2px solid rgba(150, 90, 246, 0.8);
  pointer-events: none;
}
.venue-card__corner--tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.venue-card__corner--tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.venue-card__corner--bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.venue-card__corner--br { bottom: 10px; right: 10px; border-left: none; border-top: none; }
.venue-card__livenet {
  position: absolute;
  top: 12px; right: 12px;
  height: 26.5px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  background: rgba(8, 8, 12, 0.4);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.venue-card__body { padding: 24px; }
.venue-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.venue-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.84px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.venue-card__desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.625;
  letter-spacing: -0.16px;
}
.venue-card__divider { height: 1px; background: var(--border); margin: 24px 0; }

.venue-card__specs { display: flex; flex-direction: column; gap: 16px; }
.venue-spec { display: flex; align-items: flex-start; gap: 10px; color: var(--text-muted); }
.venue-spec svg { flex-shrink: 0; margin-top: 2px; }
.venue-spec p { color: #f0f2f5; font-size: 12px; margin-top: 2px; }

.venue-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

.venue-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #1a1a23;
  color: #f0f2f5;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.48px;
  text-transform: uppercase;
}
.venue-card__link:hover { border-color: var(--accent-border); }

.lieux__cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: rgba(8, 8, 12, 0.14);
  backdrop-filter: blur(3px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 32px;
}
.lieux__cta-icon {
  width: 48px; height: 48px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.lieux__cta-text { flex: 1; min-width: 260px; }
.lieux__cta-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.16px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.lieux__cta-text p { color: var(--text-muted); font-size: 14px; }
.lieux__cta-btn { height: 36px; border-radius: 12px; }

/* Les fonds d'origine démarrent invisibles et se révèlent au scroll
   (piloté en JS, voir "révélation progressive du fond d'origine"). */
.bg-grid, .bg-scanline, .bg-waveform, .net-bg, .hero__glow {
  opacity: 0;
  transition: opacity 0.3s linear;
}

/* ==========================================================================
   Vidéo de fond pilotée par le scroll (scrollytelling global)
   ========================================================================== */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -4;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.25s linear;
}
/* Léger dégradé localisé derrière le contenu du hero uniquement, pour
   garder le texte lisible sur les zones claires de la vidéo. */
.bg-video-veil {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.25s linear;
  background: linear-gradient(
    100deg,
    rgba(8, 8, 12, 0.72) 0%,
    rgba(8, 8, 12, 0.45) 38%,
    rgba(8, 8, 12, 0) 62%
  );
}
/* En fin de page la vidéo repasse derrière le formulaire et le footer :
   un voile plus couvrant garde le texte lisible sur l'image claire. */
.bg-video-veil.is-outro {
  background: linear-gradient(
    180deg,
    rgba(8, 8, 12, 0.55) 0%,
    rgba(8, 8, 12, 0.78) 45%,
    rgba(8, 8, 12, 0.9) 100%
  );
}

@media (max-width: 640px) {
  .bg-video { opacity: 1; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section {
  position: relative;
  padding: 100px var(--edge) 120px;

  /* pas d'overflow: les halos débordent d'une section à l'autre */
}
.glow--contact {
  width: 700px; height: 400px;
  left: 50%; top: -100px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(150, 90, 246, 0.20), rgba(150, 90, 246, 0.07) 55%, rgba(150, 90, 246, 0) 100%);
}

.contact-form {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  background: rgba(8, 8, 12, 0.18);
  backdrop-filter: blur(3px);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(150, 90, 246, 0.1), 0 8px 10px -1px rgba(150, 90, 246, 0.1);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-field { display: flex; flex-direction: column; gap: 8px; }
.contact-field label { display: block; }

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  background: rgba(8, 8, 12, 0.18);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.15s ease;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: rgba(151, 163, 180, 0.6); }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent-border);
}
.contact-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2397a3b4' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
}
.contact-form__footer .btn--lg { border-radius: 10px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  padding: 65px var(--edge) 32px;

}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 16px;
}
.footer__tagline {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.625;
  letter-spacing: -0.16px;
  margin-bottom: 20px;
  max-width: 340px;
}

.status-card {
  background: rgba(8, 8, 12, 0.18);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: 0 1px 1.5px rgba(150, 90, 246, 0.05);
  padding: 14px;
  max-width: 340px;
}
.status-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.status-card__badge {
  height: 17px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-transform: uppercase;
}
.status-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
}

.footer__col-title { display: block; margin-bottom: 20px; }

.footer__list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.footer__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.15s ease;
}
.footer__list a:hover { color: var(--text); }
.footer__list-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(150, 90, 246, 0.4); flex-shrink: 0; }

.contact-card {
  background: rgba(8, 8, 12, 0.16);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}
.contact-card__value { color: var(--text); font-size: 12px; font-family: var(--font-mono); margin-top: 8px; }

.footer__rider-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #1a1a23;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  margin-top: 12px;
}
.footer__rider-link:hover { border-color: var(--accent-border); }

.footer__net-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #1a1a23;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  margin-bottom: 8px;
}
.footer__net-link:hover { border-color: var(--accent-border); }
.footer__net-link span { display: flex; align-items: baseline; gap: 10px; }
.footer__net-link small { color: var(--text-muted); font-size: 10px; }

.footer__divider {
  position: relative;
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}
.footer__divider-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 100px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}
.footer__divider-badge .dot { width: 6px; height: 6px; transform: rotate(45deg); border-radius: 1px; }

.footer__bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
}
.footer__sep { color: var(--border); }
.footer__bottom-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Réseau de points animé (fond) — option 1
   ========================================================================== */
.net-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
}
.net-bg.is-disabled { display: none; }

/* ==========================================================================
   Grille technique en mouvement — option 2
   ========================================================================== */
.bg-grid {
  position: fixed;
  inset: -50px 0 0 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(150, 90, 246, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 176, 242, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 90%);
  animation: gridDrift 90s linear infinite;
}
@keyframes gridDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 48px 96px, 48px 96px; }
}

/* ==========================================================================
   Scanline continue — option 3
   ========================================================================== */
.bg-scanline {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(33, 176, 242, 0.12), transparent);
  mix-blend-mode: screen;
  transform: translateY(-120px);
  will-change: transform;
}

/* ==========================================================================
   Waveform audio en fond — option 4
   ========================================================================== */
.bg-waveform {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

/* ==========================================================================
   Scroll animations
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(40, 40, 51, 0.4);
  z-index: 100;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  box-shadow: 0 0 8px rgba(150, 90, 246, 0.6);
  transition: width 0.1s linear;
}

.scroll-tc {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 100;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(8, 8, 12, 0.75);
  backdrop-filter: blur(3px);
  border: 1px solid var(--border-faint);
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.scroll-tc.is-active { opacity: 1; }

.reveal {
  opacity: 0;
  transform: translateY(56px) scale(0.94);
  filter: blur(6px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero__content {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  .bg-grid { animation: none; }
  .bg-grid, .bg-scanline, .bg-waveform, .hero__glow { opacity: 1; }
  .bg-video { display: none; }
  .bg-video-veil { display: none; }
}

@media (max-width: 640px) {
  .scroll-tc { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1400px) {
  :root { --edge: 60px; }
}

@media (max-width: 1280px) {
  /* Plus assez de largeur pour dégager un vrai vide central : on revient
     à deux colonnes fluides. */
  .vision { padding-left: var(--edge); padding-right: var(--edge); }
  .vision__grid {
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }
}

@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .mainnav { display: none; }
  .brand__badge { display: none; }
  .vision__grid { grid-template-columns: 1fr; }
  .live-console { max-width: 620px; }
  .phases { grid-template-columns: 1fr 1fr; }
  .skills-banner { flex-direction: column; align-items: flex-start; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .proto-grid { grid-template-columns: repeat(3, 1fr); }
  .projets-grid { grid-template-columns: 1fr; }
  .venues-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --edge: 20px; }
  /* Priorité au bouton menu et au sélecteur de langue : le badge du nom
     se compresse (texte tronqué) plutôt que de pousser le burger hors
     de l'espace visible sur les écrans les plus étroits. */
  .topbar__inner { gap: 10px; }
  .brand__name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
    padding: 0 10px;
    font-size: 13px;
  }
  .hero__title { font-size: 30px; letter-spacing: -1.2px; }
  .hero__statusbar { flex-direction: column; align-items: flex-start; gap: 12px; height: auto; padding-bottom: 12px; }
  .statusbar__group--right { flex-wrap: wrap; }
  .console__stats { grid-template-columns: 1fr; }
  .section-title { font-size: 32px; }
  .stats-bar { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { flex-direction: column; }
  .live-console__footer { flex-direction: column; align-items: flex-start; }
  .live-console__footer .btn--primary { width: 100%; justify-content: center; }
  .phases { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .proto-grid { grid-template-columns: 1fr 1fr; }
  .outils__filters { width: 100%; }
  .qos-chip { margin-left: 0; }
  .proj-card__specs { flex-wrap: wrap; height: auto; padding: 8px 12px; gap: 8px 20px; }
  .projets__cta { flex-direction: column; align-items: flex-start; }
  .projets__cta-btn { width: 100%; justify-content: center; }
  .lieux__cta { flex-direction: column; align-items: flex-start; }
  .lieux__cta-btn { width: 100%; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-right { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* Le titre de Vision Globale n'apparaît qu'au premier scroll, pour laisser
   la vidéo seule en haut de page. */
.vision .section-head {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.vision .section-head.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .vision .section-head { opacity: 1; transform: none; }
}

/* Les halos sont largement plus larges qu'un écran mobile : on les borne
   pour qu'ils ne provoquent aucun débordement latéral. */
@media (max-width: 900px) {
  .glow, .hero__glow {
    max-width: 100vw;
    max-height: 70vh;
  }
}

/* La console étant quasi transparente, un léger ombrage garde le texte
   lisible quand une zone claire de la vidéo passe derrière. */
.live-console .mono,
.live-console__footer,
.live-console__topbar {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

/* Les blocs étant quasi transparents, le texte reçoit un ombrage discret
   pour rester lisible quand une zone claire de la vidéo passe derrière. */
.feature-card, .phase-card, .tool-card, .proj-card, .venue-card,
.protocols-panel, .contact-form, .stats-bar, .skills-banner,
.projets__cta, .lieux__cta, .live-console, .site-footer,
.hero__statusbar, .outils__head, .section-head {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   Sélecteur de langue
   ========================================================================== */
.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-faint);
  flex-shrink: 0;
}
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease;
}
.lang-switch__btn:hover { color: var(--text); }
.lang-switch__btn.is-active {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 640px) {
  .lang-switch__btn { padding: 0 8px; font-size: 10px; }
}

/* ==========================================================================
   Navigation mobile
   ========================================================================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle__bar {
  display: block;
  height: 2.5px;
  width: 22px;
  border-radius: 2px;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding: 12px var(--edge) 20px;
  background: rgba(8, 8, 12, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 14px 4px;
  font-size: 16px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(40, 40, 51, 0.5);
}
.mobile-nav a:last-child { border-bottom: none; color: var(--accent); }
.mobile-nav a:hover { color: var(--text); }

@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Approche / positionnement
   ========================================================================== */
.approche {
  position: relative;
  padding: 100px var(--edge) 110px;
}
.glow--approche {
  width: 820px; height: 460px;
  left: 50%; top: -60px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(150, 90, 246, 0.20), rgba(150, 90, 246, 0.07) 55%, rgba(150, 90, 246, 0) 100%);
}

.approche__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}
/* Les cartes sont empilées ici, contrairement à la section Vision : le
   contenu tient sur une colonne par pilier. */
.approche__grid .feature-card { flex-direction: column; gap: 18px; }

.approche__cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border-radius: 20px;
  background: rgba(8, 8, 12, 0.16);
  backdrop-filter: blur(3px);
  border: 1px solid var(--border);
}
.approche__cta p {
  flex: 1;
  min-width: 280px;
  color: #f0f2f5;
  font-size: 16px;
  line-height: 1.55;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

@media (max-width: 1100px) {
  .approche__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .approche { padding: 70px var(--edge) 80px; }
  .approche__cta { flex-direction: column; align-items: flex-start; }
  .approche__cta .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Événement & Corporate
   ========================================================================== */
.corporate {
  position: relative;
  padding: 90px var(--edge) 100px;
}
.glow--corporate {
  width: 700px; height: 420px;
  right: -80px; top: 40px;
  background: radial-gradient(closest-side, rgba(33, 176, 242, 0.18), rgba(33, 176, 242, 0.06) 55%, rgba(33, 176, 242, 0) 100%);
}
.corporate .section-head { max-width: 620px; margin-bottom: 44px; }

.corporate__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
/* Ces fiches n'affichent pas de bandeau de specs : la hauteur d'image est
   donc fixée ici plutôt que par le contenu superposé. */
.corporate .proj-card__media img { height: 300px; }

@media (max-width: 1100px) {
  .corporate__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .corporate { padding: 70px var(--edge) 70px; }
  .corporate .proj-card__media img { height: 220px; }
}

/* ==========================================================================
   Carte "Outils Sur Mesure" — mise en avant, toujours visible quel que
   soit le filtre actif
   ========================================================================== */
.tool-card--custom {
  border-color: var(--accent-border);
  background: rgba(150, 90, 246, 0.07);
}

.latency-chip--accent {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
}

.tool-card__icon--accent {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.tool-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}
.tool-card__cta:hover { text-decoration: underline; }

/* Carte outil reliée à une page dédiée : léger indice visuel au survol */
.tool-card--linked { transition: border-color 0.15s ease, transform 0.15s ease; }
.tool-card--linked:hover { border-color: var(--accent); transform: translateY(-2px); }
.tool-card--linked .tool-card__cta { pointer-events: none; }

/* Flèche signalant qu'une carte mène vers une autre page, alignée dans
   la ligne d'en-tête plutôt qu'en position absolue (pas de chevauchement). */
.tool-card__top-right { display: inline-flex; align-items: center; gap: 8px; }
.tool-card__go-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  transition: transform 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}
.tool-card--linked:hover .tool-card__go-badge {
  background: var(--accent);
  color: #fff;
  transform: translate(2px, -2px);
}

/* v52 — Environnement de travail : 4 catégories sur une ligne */
.tools-grid--env { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tools-grid--env { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tools-grid--env { grid-template-columns: 1fr; } }
/* v52 — Réalisations majeures : 3 cartes sur une ligne */
.projets-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .projets-grid--three { grid-template-columns: 1fr; } }
.projets-grid--three .proj-card__tc { display: none; }
.projets-grid--three .proj-card__specs { gap: 12px; white-space: nowrap; }
@media (max-width: 1100px) { .projets-grid--three .proj-card__tc { display: block; } }
