:root {
  --bg: #04010e;
  --bg-soft: #0a0714;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.6);
  --text-dimmer: rgba(255, 255, 255, 0.4);
  --purple: #5b2fea;
  --purple-light: #9074f0;
  --purple-lighter: #c5b5f8;
  --green: #33c173;
  --amber: #eda430;
  --font: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.bg-glow {
  position: fixed;
  top: -20%;
  right: -10%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(91, 47, 234, 0.25) 0%, rgba(91, 47, 234, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 1, 14, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(4, 1, 14, 0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-mark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo .dot { color: var(--purple-light); }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { width: 20px; height: 2px; background: var(--text); display: block; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-primary {
  background: linear-gradient(90deg, var(--purple) 0%, var(--purple-light) 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 8px 24px rgba(91,47,234,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 12px 32px rgba(91,47,234,0.5); }
.btn-ghost { background: transparent; color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--surface-hover); border-color: rgba(255,255,255,0.2); }
.arrow { display: inline-block; transition: transform 0.2s; }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple-light);
  margin-bottom: 20px;
}
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple-light);
  margin-bottom: 16px;
  text-align: center;
}
.grad-text {
  background: linear-gradient(90deg, var(--purple-lighter) 0%, var(--purple-light) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  letter-spacing: -0.01em;
}
.section-sub {
  max-width: 620px;
  margin: 20px auto 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 16px;
}
.section-sub.center { margin-left: auto; margin-right: auto; }

/* ---------- HERO (deux colonnes, comme Openlayer) ---------- */
.hero {
  position: relative;
  padding: 100px 0 60px;
  z-index: 1;
}
.hero-cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { text-align: left; }
.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 0 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-actions.center { margin-top: 32px; justify-content: center; }
.hero-visual { min-width: 0; }

/* ---------- BANDEAU LOGOS ---------- */
.logo-band {
  padding: 36px 0 44px;
  position: relative;
  z-index: 1;
}
.logo-band-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-dimmer);
  margin-bottom: 24px;
}
.logo-band-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logo-slot {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ---------- FEATURES ALTERNÉES (texte / illustration) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 88px;
}
.feature-flip .feature-copy { order: 2; }
.feature-flip .feature-visual { order: 1; }
.feature-kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple-light);
  margin-bottom: 14px;
}
.feature-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.feature-text {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

/* ---------- EMPLACEMENTS D'ILLUSTRATION ---------- */
.illu-placeholder {
  border: 1.5px dashed rgba(144, 116, 240, 0.4);
  border-radius: 16px;
  background: rgba(91, 47, 234, 0.05);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  min-height: 260px;
}
.illu-placeholder.wide {
  max-width: 760px;
  margin: 48px auto 0;
  min-height: 200px;
}
.illu-placeholder.mini {
  min-height: 140px;
  padding: 20px 16px;
  margin-top: 18px;
}
.illu-icon { font-size: 34px; }
.illu-placeholder.mini .illu-icon { font-size: 26px; }
.illu-hint {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 420px;
}
.illu-hint strong { color: var(--purple-lighter); }
.illu-hint code {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(255,255,255,0.08);
  padding: 1px 5px;
  border-radius: 4px;
}

/* ---------- STATS (chiffres d'impact) ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 48px 0 40px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
}
.stat-value {
  display: block;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}
.stat-text { font-size: 13px; color: var(--text-dim); line-height: 1.55; }
.stat-text code {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(255,255,255,0.08);
  padding: 1px 5px;
  border-radius: 4px;
}

/* ---------- LOGO PARTENAIRE ---------- */
.partner-logo-slot {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(144, 116, 240, 0.35);
  border-radius: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

/* ---------- HERO PANEL (animated demo) ---------- */
.hero-panel {
  max-width: 620px;
  margin: 64px auto 0;
  padding: 0 24px;
}
.panel-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.02);
  text-align: left;
}
.panel-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.panel-dots { display: flex; gap: 6px; margin-bottom: 12px; }
.panel-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.panel-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.panel-meta { font-size: 12px; color: var(--text-dimmer); }
.panel-body { padding: 20px; }
.panel-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.proj-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(91,47,234,0.15);
  color: var(--purple-lighter);
}
.proj-count { font-size: 12px; color: var(--text-dimmer); font-family: var(--mono); }
.check-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.3s;
}
.check-icon {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--text-dimmer);
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s;
}
.check-list li[data-state="pass"] { color: var(--text); }
.check-list li[data-state="pass"] .check-icon {
  border-color: var(--green);
  background: var(--green);
}
.check-list li[data-state="pass"] .check-icon::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 8px;
  border-right: 2px solid #04010e;
  border-bottom: 2px solid #04010e;
  transform: rotate(45deg);
}
.check-list li[data-state="run"] .check-icon {
  border-color: var(--purple-light);
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}
.panel-footer {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text-dimmer);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- MARQUEE ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg-soft);
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scroll-left 22s linear infinite;
}
.marquee-track span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dimmer);
  white-space: nowrap;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- SECTIONS ---------- */
.section { padding: 110px 0; position: relative; z-index: 1; }
.section-alt { background: var(--bg-soft); }

/* ---------- STEPS ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  background: var(--surface-hover);
  border-color: rgba(255,255,255,0.16);
}
.step-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--purple-light);
  margin-bottom: 16px;
}
.step-card h3 { font-size: 19px; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-dim); }

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 56px;
  margin-bottom: 40px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 18px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  background: var(--surface-hover);
  border-color: rgba(144,116,240,0.4);
}
.svc-num {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--purple-light);
  margin-bottom: 12px;
}
.service-card h3 { font-size: 16px; margin-bottom: 6px; }
.service-card p { font-size: 13px; color: var(--text-dim); }

.link-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-lighter);
  transition: gap 0.2s;
}
.link-arrow.small { justify-content: flex-start; margin-top: 16px; font-size: 13px; }
.link-arrow:hover { gap: 10px; }

/* ---------- TURNING ---------- */
.turning { text-align: center; }
.turning-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ---------- ACTION ---------- */
.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
  margin-bottom: 40px;
}
.action-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.action-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.16); }
.action-card h3 { font-size: 22px; margin: 14px 0 8px; }
.action-card p { color: var(--text-dim); font-size: 14px; }
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
}
.tag-green { background: rgba(51,193,115,0.12); color: var(--green); }
.tag-amber { background: rgba(237,164,48,0.12); color: var(--amber); }

/* ---------- PARTNERS ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.partner-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.partner-card:hover { transform: translateY(-4px); border-color: rgba(144,116,240,0.4); }
.partner-card h3 { font-size: 19px; margin: 10px 0; }
.partner-card p { font-size: 14px; color: var(--text-dim); }

/* ---------- TERMINAL ---------- */
.terminal-section { padding-top: 0; padding-bottom: 40px; }
.terminal {
  max-width: 640px;
  margin: 0 auto;
  background: #08050f;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.terminal-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.terminal-body {
  padding: 24px;
  font-family: var(--mono);
  font-size: 15px;
  min-height: 28px;
}
.prompt { color: var(--green); }
.type-text { color: var(--text); }
.cursor { color: var(--purple-light); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  position: relative;
  z-index: 1;
}
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-inner p { color: var(--text-dim); font-size: 14px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text-dimmer); }

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
/* ---------- BARRE UTILITAIRE ---------- */
.utility-bar {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.utility-links { display: flex; gap: 20px; }
.utility-links a {
  font-size: 12px;
  color: var(--text-dimmer);
  transition: color 0.2s;
}
.utility-links a:hover, .utility-links a.active { color: var(--text); }
.lang-switch { display: flex; gap: 8px; align-items: center; }
.lang {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-dimmer);
}
.lang.active { color: var(--text); }
.lang.disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------- MENUS DÉROULANTS ---------- */
.nav-links { align-items: center; }
.nav-links a.active { color: var(--text); }
.nav-drop { position: relative; }
.nav-drop-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-dim);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  transition: color 0.2s;
}
.nav-drop-btn:hover { color: var(--text); }
.caret { font-size: 10px; opacity: 0.7; }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 200px;
  background: #0c0818;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  display: none;
  flex-direction: column;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  z-index: 50;
}
.nav-drop-menu::before {
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop.open .nav-drop-menu { display: flex; }
.nav-drop-menu a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-dim);
}
.nav-drop-menu a:hover, .nav-drop-menu a.active { color: var(--text); background: var(--surface-hover); }

/* ---------- MENU MOBILE ---------- */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(4, 1, 14, 0.98);
  max-height: calc(100vh - 108px);
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu .container { display: flex; flex-direction: column; padding-top: 12px; padding-bottom: 24px; }
.mobile-menu a {
  padding: 11px 0;
  font-size: 15px;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mobile-menu a:hover { color: var(--text); }
.mobile-group {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin: 16px 0 4px;
}
.mobile-sub { padding-left: 14px !important; }
.mobile-cta { margin-top: 18px; border-bottom: none !important; justify-content: center; }

/* ---------- BANDEAU DE CAMPAGNE ---------- */
.campaign-banner {
  background: linear-gradient(90deg, rgba(91,47,234,0.25) 0%, rgba(144,116,240,0.15) 100%);
  border-bottom: 1px solid rgba(144,116,240,0.3);
  padding: 10px 0;
  position: relative;
  z-index: 1;
}
.campaign-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}
.campaign-banner a { color: var(--purple-lighter); font-weight: 600; }

/* ---------- BLOC "EN CE MOMENT" ---------- */
.now-block {
  padding: 0 0 40px;
  position: relative;
  z-index: 1;
}
.now-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.now-card h3 { font-size: 16px; margin-bottom: 4px; }
.now-card p { font-size: 14px; color: var(--text-dim); }
.now-items { display: flex; gap: 32px; flex-wrap: wrap; }

/* ---------- PAGES INTERNES ---------- */
.page-hero {
  padding: 72px 0 40px;
  position: relative;
  z-index: 1;
}
.page-hero .kicker { text-align: left; }
.page-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.page-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 640px;
}
.page-section { padding: 40px 0 72px; position: relative; z-index: 1; }
.page-section h2 { font-size: 26px; margin-bottom: 16px; }
.page-section h3 { font-size: 19px; margin: 24px 0 8px; }
.page-section p { color: var(--text-dim); font-size: 15px; line-height: 1.65; margin-bottom: 12px; max-width: 720px; }
.page-section ul.bullet-list { margin: 8px 0 16px 18px; list-style: disc; }
.page-section ul.bullet-list li { color: var(--text-dim); font-size: 15px; line-height: 1.7; }

/* ---------- BADGES D'ÉTAT ---------- */
.state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
}
.state::before { content: "●"; font-size: 9px; }
.state-live   { background: rgba(51,193,115,0.12); color: var(--green); }
.state-soon   { background: rgba(237,164,48,0.12); color: var(--amber); }
.state-closed { background: rgba(255,255,255,0.08); color: var(--text-dim); }
.state-open   { background: rgba(91,47,234,0.18); color: var(--purple-lighter); }

/* ---------- GRILLES DE CARTES GÉNÉRIQUES ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.cards-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(144,116,240,0.35); }
.card h3 { font-size: 18px; margin: 0; }
.card p { font-size: 14px; color: var(--text-dim); margin: 0; }
.card .card-meta { font-size: 12px; color: var(--text-dimmer); font-family: var(--mono); }
.card .card-actions { margin-top: auto; padding-top: 12px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- AGENDA ---------- */
.agenda-list { display: flex; flex-direction: column; gap: 14px; margin: 32px 0; }
.agenda-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  flex-wrap: wrap;
}
.agenda-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.agenda-empty {
  border: 1.5px dashed var(--border);
  border-radius: 14px;
  padding: 32px;
  text-align: center;
  color: var(--text-dim);
  font-size: 15px;
}

/* ---------- FORMULAIRES ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  max-width: 720px;
  margin: 32px 0;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; }
.form-field .req { color: var(--purple-light); }
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--purple-light); }
.form-field select option { background: #0c0818; }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-dim);
}
.form-consent input { margin-top: 3px; accent-color: var(--purple); }
.form-actions { grid-column: 1 / -1; margin-top: 8px; }
.form-error {
  grid-column: 1 / -1;
  background: rgba(237,100,80,0.1);
  border: 1px solid rgba(237,100,80,0.35);
  color: #f0a396;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
}
.form-confirm {
  background: rgba(51,193,115,0.08);
  border: 1px solid rgba(51,193,115,0.3);
  border-radius: 18px;
  padding: 36px;
  max-width: 720px;
  margin: 32px 0;
}
.form-confirm h3 { color: var(--green); font-size: 20px; margin-bottom: 10px; }
.form-confirm p { font-size: 15px; color: var(--text-dim); }
.form-confirm .ref { font-family: var(--mono); color: var(--text); }

/* ---------- TABLE DE COMPARAISON (Participer) ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.compare-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.compare-col h3 { margin-bottom: 14px; }
.compare-col ul { display: flex; flex-direction: column; gap: 10px; }
.compare-col li { font-size: 14px; color: var(--text-dim); padding-left: 18px; position: relative; }
.compare-col li::before { content: "→"; position: absolute; left: 0; color: var(--purple-light); }

/* ---------- FOOTER COMPLET ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(6, 1fr);
  gap: 28px;
  padding-bottom: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-col a { font-size: 13px; color: var(--text-dim); }
.footer-col a:hover { color: var(--text); }
.footer-brand p { font-size: 13px; color: var(--text-dim); margin-top: 10px; }
.social-item { font-size: 13px; color: var(--text-dimmer); cursor: default; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--text-dim); }
.footer-legal a:hover { color: var(--text); }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .utility-links { gap: 14px; }
  .page-title { font-size: 30px; }
  .cards-grid, .cards-grid.two { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .hero-cols { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 38px; }
  .section-title { font-size: 30px; }
  .turning-title { font-size: 28px; }
  .feature { grid-template-columns: 1fr; gap: 28px; margin-top: 64px; }
  .feature-flip .feature-copy { order: 1; }
  .feature-flip .feature-visual { order: 2; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .action-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero-title { font-size: 30px; }
  .steps-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .logo-band-row { gap: 24px; }
}
