/* ============================================================
   Majors Brain — design system dédié (dark-first)
   Même ADN que la charte Majors (violet #7A4DFF, Manrope/Inter,
   pill, radius 14/20) — univers complémentaire au site vitrine.
   ============================================================ */

:root {
  /* Marque */
  --violet: #7A4DFF;
  --violet-soft: #5B3FBC;
  --violet-deep: #381B89;
  --violet-pink: #9C3DBA;
  --magenta: #B95FA9;
  --rose: #C775B5;
  --grad: linear-gradient(135deg, #7A4DFF 0%, #C775B5 100%);
  --grad-deep: linear-gradient(135deg, #8B63FF 0%, #C775B5 100%);

  /* Nuit */
  --ink: #0D1023;
  --ink-deep: #090B1A;
  --card: #161B37;
  --card-soft: #131735;
  --wash: #1A1F4A;

  /* Texte sur fond sombre */
  --txt: #F2F1FA;
  --txt-soft: rgba(242, 241, 250, .72);
  --txt-muted: rgba(242, 241, 250, .50);
  --line: rgba(255, 255, 255, .09);
  --line-soft: rgba(255, 255, 255, .055);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --maxw: 1120px;
  --shadow-violet: 0 20px 50px -22px rgba(122, 77, 255, .38), 0 4px 14px rgba(0, 0, 0, .35);
  --shadow-soft: 0 1px 3px rgba(0, 0, 0, .25), 0 10px 30px rgba(0, 0, 0, .30);

  --font-title: "Manrope", "Public Sans", sans-serif;
  --font-body: "Inter", "Public Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--txt);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(122, 77, 255, .45);
  color: #fff
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  letter-spacing: -0.02em;
  line-height: 1.13;
  font-weight: 800;
  color: var(--txt)
}

h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem)
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem)
}

h3 {
  font-size: 1.25rem;
  font-weight: 700
}

p {
  color: var(--txt-soft)
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%
}

em {
  font-style: italic
}

.grad-word {
  background: var(--grad-deep);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* le dégradé n'est peint que dans la boîte du texte : l'italique
     (oblique synthétique) et les jambages débordent et se font couper.
     On étend la zone peinte, compensée par des marges négatives. */
  padding: 0.12em 0.18em 0.16em 0.06em;
  margin: -0.12em -0.18em -0.16em -0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(13, 16, 35, .72);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s;
}

.site-header .container {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0
}

.brand img {
  height: 53px;
  width: auto;
  display: block
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto
}

.main-nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--txt-soft);
  transition: color .2s;
  position: relative;
  padding: 4px 0;
}

.main-nav a:hover {
  color: #fff
}

.main-nav a.active {
  color: #fff
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.header-cta {
  flex-shrink: 0
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--r-pill);
  padding: 12px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}

.btn-grad {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-violet)
}

.btn-grad:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px -20px rgba(122, 77, 255, .55), 0 4px 14px rgba(0, 0, 0, .35)
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
  background: transparent
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .05)
}

.btn-sm {
  padding: 9px 20px;
  font-size: .88rem;
  box-shadow: none
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.02rem
}

/* burger */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: .25s
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* ---------- Héro ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 150px 0 110px;
  overflow: hidden;
  isolation: isolate;
}

.hero-page {
  min-height: 0;
  padding: 170px 0 70px
}

#neural {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .85
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.glow-a {
  width: 560px;
  height: 560px;
  right: -140px;
  top: -120px;
  background: rgba(122, 77, 255, .22)
}

.glow-b {
  width: 480px;
  height: 480px;
  left: -160px;
  bottom: -180px;
  background: rgba(156, 61, 186, .16)
}

.hero-inner {
  max-width: 820px
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #C9B8FF;
  background: rgba(122, 77, 255, .12);
  border: 1px solid rgba(122, 77, 255, .35);
  border-radius: var(--r-pill);
  padding: 7px 16px;
  margin-bottom: 26px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
  animation: pulse 2.4s infinite
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .45;
    transform: scale(.75)
  }
}

.hero p.lead {
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  color: var(--txt-soft);
  max-width: 620px;
  margin: 26px 0 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center
}

.hero-note {
  margin-top: 34px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap
}

.hero-note span {
  font-size: .85rem;
  color: var(--txt-muted);
  display: inline-flex;
  align-items: center;
  gap: 7px
}

.hero-note svg {
  flex-shrink: 0
}

/* ---------- Sections ---------- */
section.block {
  padding: 110px 0;
  position: relative
}

section.block+section.block {
  border-top: 1px solid var(--line-soft)
}

.block-soft {
  background: var(--ink-deep)
}

.sec-head {
  max-width: 680px;
  margin-bottom: 56px
}

.sec-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #A98FFF;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sec-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--violet)
}

.sec-head p {
  margin-top: 18px;
  font-size: 1.06rem
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center
}

.sec-head.center .sec-eyebrow {
  justify-content: center
}

.sec-head.center .sec-eyebrow::before {
  display: none
}

/* grilles */
.grid {
  display: grid;
  gap: 22px
}

.g2 {
  grid-template-columns: repeat(2, 1fr)
}

.g3 {
  grid-template-columns: repeat(3, 1fr)
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 77, 255, .4);
  box-shadow: var(--shadow-soft)
}

.card h3 {
  margin-bottom: 10px
}

.card p {
  font-size: .95rem
}

.card .num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: .85rem;
  color: #A98FFF;
  letter-spacing: .06em;
  display: block;
  margin-bottom: 14px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(122, 77, 255, .14);
  border: 1px solid rgba(122, 77, 255, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #B9A3FF;
}

/* trio Mémoriser / Comprendre / Capitaliser */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden
}

.trio>div {
  padding: 36px 30px;
  background: var(--card-soft)
}

.trio>div+div {
  border-left: 1px solid var(--line)
}

.trio .t-step {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #A98FFF;
  margin-bottom: 12px
}

.trio h3 {
  font-size: 1.35rem;
  margin-bottom: 10px
}

/* ---------- Mockup mémoire cabinet ---------- */
.memory-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center
}

.memory-panel {
  background: linear-gradient(160deg, #171C3E 0%, #101430 100%);
  border: 1px solid rgba(122, 77, 255, .28);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-violet);
  overflow: hidden;
}

.memory-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
  color: var(--txt-muted);
}

.memory-bar .dots {
  display: flex;
  gap: 6px
}

.memory-bar .dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14)
}

.memory-bar .live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7EE2AF;
}

.memory-bar .live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2FBF7A;
  animation: pulse 2s infinite
}

.memory-body {
  padding: 22px 20px 26px;
  min-height: 250px
}

.query-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: .93rem;
  color: var(--txt);
  margin-bottom: 16px;
}

.query-line .caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: #B9A3FF;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite
}

@keyframes blink {
  50% {
    opacity: 0
  }
}

.answer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px
}

.answer-chips span {
  font-size: .78rem;
  color: var(--txt-soft);
  background: rgba(122, 77, 255, .10);
  border: 1px solid rgba(122, 77, 255, .25);
  border-radius: var(--r-pill);
  padding: 6px 13px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .5s, transform .5s;
}

.answer-chips span.on {
  opacity: 1;
  transform: none
}

.memory-src {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-size: .74rem;
  color: var(--txt-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
}

/* ---------- Listes à coche ---------- */
.checks {
  list-style: none
}

.checks li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: var(--txt-soft);
  font-size: .96rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(122, 77, 255, .16);
  border: 1px solid rgba(122, 77, 255, .45);
}

.checks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9.5px;
  width: 7px;
  height: 4px;
  border-left: 1.6px solid #B9A3FF;
  border-bottom: 1.6px solid #B9A3FF;
  transform: rotate(-45deg);
}

/* ---------- Split 2 colonnes ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}

.split .sec-head {
  margin-bottom: 0
}

/* ---------- Bandeau souveraineté ---------- */
.sov-band {
  border: 1px solid rgba(122, 77, 255, .3);
  background:
    radial-gradient(700px 300px at 85% -20%, rgba(122, 77, 255, .16), transparent 60%),
    var(--card-soft);
  border-radius: var(--r-lg);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  align-items: center;
}

.sov-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.sov-tags span {
  font-size: .82rem;
  font-weight: 500;
  color: var(--txt);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  border-radius: var(--r-pill);
  padding: 8px 16px;
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch
}

.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-motto {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #A98FFF;
  margin-bottom: 10px
}

.plan h3 {
  font-size: 1.5rem;
  margin-bottom: 6px
}

.plan .plan-desc {
  font-size: .9rem;
  color: var(--txt-muted);
  margin-bottom: 26px;
  min-height: 44px
}

.plan .price {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 2.3rem;
  letter-spacing: -0.02em;
  line-height: 1
}

.plan .price small {
  font-size: .95rem;
  font-weight: 600;
  color: var(--txt-muted);
  letter-spacing: 0
}

.plan .deploy {
  margin-top: 14px;
  font-size: .85rem;
  color: var(--txt-soft);
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
}

.plan .deploy b {
  color: var(--txt);
  font-weight: 600
}

.plan hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 26px 0 22px
}

.plan .checks {
  flex: 1
}

.plan .checks li {
  font-size: .9rem;
  margin-bottom: 11px
}

.plan .btn {
  margin-top: 26px;
  justify-content: center
}

.plan-pro {
  background: linear-gradient(170deg, #1C2150 0%, #151A3D 55%, #161B37 100%);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: var(--shadow-violet);
  transform: translateY(-14px);
}

.plan-pro::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(160deg, #7A4DFF, #C775B5 60%, rgba(255, 255, 255, .1));
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  padding: 6px 16px;
  white-space: nowrap;
}

.price-note {
  text-align: center;
  color: var(--txt-muted);
  font-size: .85rem;
  margin-top: 26px
}

/* ---------- Timeline déploiement ---------- */
.timeline {
  list-style: none;
  counter-reset: step;
  max-width: 720px
}

.timeline li {
  counter-increment: step;
  position: relative;
  padding: 0 0 34px 62px;
}

.timeline li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -2px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(122, 77, 255, .13);
  border: 1px solid rgba(122, 77, 255, .4);
  color: #B9A3FF;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19.5px;
  top: 44px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(rgba(122, 77, 255, .4), rgba(122, 77, 255, .06));
}

.timeline h4 {
  font-size: 1.02rem;
  margin-bottom: 4px
}

.timeline p {
  font-size: .9rem;
  color: var(--txt-muted)
}

/* ---------- Tableau comparatif ---------- */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg)
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--card-soft)
}

.compare th,
.compare td {
  padding: 18px 22px;
  text-align: left;
  font-size: .93rem;
  border-bottom: 1px solid var(--line-soft)
}

.compare thead th {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1rem;
  background: rgba(255, 255, 255, .03)
}

.compare thead th.brain-col {
  background: linear-gradient(135deg, rgba(122, 77, 255, .2), rgba(199, 117, 181, .14));
}

.compare tbody tr:last-child td {
  border-bottom: 0
}

.compare td:first-child {
  color: var(--txt-muted);
  font-size: .86rem;
  width: 26%
}

.compare td.no {
  color: rgba(242, 241, 250, .55)
}

.compare td.no::before {
  content: "✕";
  color: #E5484D;
  margin-right: 9px;
  font-size: .8rem
}

.compare td.yes::before {
  content: "✓";
  color: #2FBF7A;
  margin-right: 9px
}

.compare td.yes {
  color: var(--txt)
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  margin-bottom: 12px;
  transition: border-color .2s;
}

.faq details[open] {
  border-color: rgba(122, 77, 255, .4)
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.4rem;
  color: #A98FFF;
  transition: transform .25s;
  line-height: 1
}

.faq details[open] summary::after {
  transform: rotate(45deg)
}

.faq .faq-body {
  padding: 0 24px 22px;
  font-size: .95rem;
  color: var(--txt-soft)
}

/* ---------- CTA final ---------- */
.cta-final {
  text-align: center;
  padding: 120px 0 130px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line-soft);
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(640px 340px at 50% 115%, rgba(122, 77, 255, .30), transparent 70%);
}

.cta-final h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  max-width: 700px;
  margin: 0 auto 18px
}

.cta-final p {
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: 1.08rem
}

.cta-tags {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px
}

.cta-tags span {
  font-size: .84rem;
  color: var(--txt-muted)
}

/* ---------- Formulaire audit ---------- */
.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start
}

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-soft);
}

.form-card label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--txt-soft);
  margin: 0 0 7px
}

.form-card .field {
  margin-bottom: 20px
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--txt);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 13px 15px;
  outline: none;
  transition: border-color .2s, background .2s;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: rgba(122, 77, 255, .6);
  background: rgba(122, 77, 255, .06);
}

.form-card select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A98FFF' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center
}

.form-card select option {
  background: var(--card);
  color: var(--txt)
}

.form-card textarea {
  min-height: 110px;
  resize: vertical
}

.form-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px
}

.form-note {
  font-size: .8rem;
  color: var(--txt-muted);
  margin-top: 16px;
  text-align: center
}

.form-note a {
  color: #B9A3FF
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px
}

.footer-brand p {
  font-size: .88rem;
  color: var(--txt-muted);
  margin-top: 16px;
  max-width: 290px
}

.site-footer h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--txt-muted);
  margin-bottom: 18px
}

.site-footer ul {
  list-style: none
}

.site-footer ul li {
  margin-bottom: 11px
}

.site-footer ul a {
  font-size: .9rem;
  color: var(--txt-soft);
  transition: color .2s
}

.site-footer ul a:hover {
  color: #fff
}

.footer-legal {
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--txt-muted);
}

/* ---------- Pipeline : comment ça marche ---------- */
.pipeline-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .85fr;
  gap: 120px;
  align-items: center
}

#flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0
}

.pipe-sources {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px
}

.pipe-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--txt-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pipe-label i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--violet);
  flex-shrink: 0
}

.pipe-label i.t2 {
  background: var(--rose)
}

.pipe-label i.t3 {
  background: #8B63FF
}

.pipe-label i.t4 {
  background: #2FBF7A
}

.pipe-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.pipe-node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  font-weight: 500;
  color: var(--txt-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
  transition: border-color .35s, box-shadow .35s, color .35s;
}

.pipe-node::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  transition: background .35s;
  flex-shrink: 0
}

.pipe-node.fire {
  border-color: rgba(122, 77, 255, .65);
  box-shadow: 0 0 20px -4px rgba(122, 77, 255, .55);
  color: #fff
}

.pipe-node.fire::before {
  background: #B9A3FF
}

.enceinte {
  position: relative;
  border-radius: var(--r-lg);
  padding: 32px 30px 28px;
  text-align: center;
  background: linear-gradient(170deg, #1C2150 0%, #151A3D 60%, #161B37 100%);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: var(--shadow-violet);
}

.enceinte::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(160deg, #7A4DFF, #C775B5 60%, rgba(255, 255, 255, .1));
}

.enceinte-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #C9B8FF;
  background: rgba(122, 77, 255, .14);
  border: 1px solid rgba(122, 77, 255, .4);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  margin-bottom: 24px;
}

.enceinte .core {
  position: relative;
  width: 104px;
  height: 112px;
  margin: 0 auto 16px
}

.enceinte .core img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1
}

.enceinte .core::before {
  content: "";
  position: absolute;
  inset: -16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 77, 255, .38), rgba(199, 117, 181, .12) 55%, transparent 75%);
  filter: blur(10px);
  animation: haloBreath 4.5s ease-in-out infinite;
}

@keyframes haloBreath {

  0%,
  100% {
    opacity: .6;
    transform: scale(1)
  }

  50% {
    opacity: 1;
    transform: scale(1.07)
  }
}

.enceinte h3 {
  font-size: 1.3rem;
  margin-bottom: 6px
}

.enceinte .estatus {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  color: #7EE2AF;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.enceinte .estatus::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2FBF7A;
  animation: pulse 2s infinite
}

.enceinte .eouts {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.enceinte .eouts span {
  font-size: .86rem;
  color: var(--txt-soft);
  display: flex;
  gap: 10px;
  align-items: baseline
}

.enceinte .eouts span::before {
  content: "→";
  color: #B9A3FF;
  font-weight: 700;
  flex-shrink: 0
}

/* ---------- Duel souveraineté ---------- */
.duel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch
}

.duel-panel {
  border-radius: var(--r-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column
}

.duel-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 8px
}

.duel-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 20px
}

.duel-loss {
  background: var(--card-soft);
  border: 1px solid var(--line)
}

.duel-loss .duel-label {
  color: var(--txt-muted)
}

.duel-loss h3 {
  color: var(--txt-soft)
}

.duel-win {
  position: relative;
  background: linear-gradient(170deg, #1C2150 0%, #151A3D 60%, #161B37 100%);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: var(--shadow-violet);
}

.duel-win::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(160deg, #7A4DFF, #C775B5 60%, rgba(255, 255, 255, .1));
}

.duel-win .duel-label {
  color: #C9B8FF
}

.xlist {
  list-style: none
}

.xlist li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 13px;
  color: var(--txt-muted);
  font-size: .95rem
}

.xlist li::before {
  content: "✕";
  position: absolute;
  left: 2px;
  top: 0;
  color: #E5484D;
  font-size: .85rem;
  font-weight: 700;
}

.duel-note {
  margin-top: 44px;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--txt);
}

.duel-note a {
  color: #B9A3FF
}

/* ---------- Actif / valorisation ---------- */
.asset-cards {
  display: flex;
  flex-direction: column;
  gap: 18px
}

.asset-card {
  border-radius: var(--r-lg);
  padding: 28px 28px;
  border: 1px solid var(--line);
  background: var(--card-soft)
}

.asset-card .duel-label {
  margin-bottom: 10px
}

.asset-card p {
  font-size: .96rem
}

.asset-card.win {
  position: relative;
  border: 1px solid transparent;
  background-clip: padding-box;
  background: linear-gradient(170deg, #1C2150 0%, #151A3D 100%);
  box-shadow: var(--shadow-violet);
}

.asset-card.win::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(160deg, #7A4DFF, #C775B5 60%, rgba(255, 255, 255, .1));
}

.asset-card.win .duel-label {
  color: #C9B8FF
}

.asset-card.win p {
  color: var(--txt)
}

.big-quote {
  margin: 56px auto 0;
  max-width: 760px;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.35;
  color: var(--txt);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .6, .2, 1), transform .7s cubic-bezier(.2, .6, .2, 1)
}

.reveal.in {
  opacity: 1;
  transform: none
}

.d1 {
  transition-delay: .08s
}

.d2 {
  transition-delay: .16s
}

.d3 {
  transition-delay: .24s
}

@media (prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

  .eyebrow .dot,
  .memory-bar .live::before,
  .query-line .caret {
    animation: none
  }

  html {
    scroll-behavior: auto
  }
}

/* ---------- Responsive ---------- */
@media (max-width:1020px) {

  .g3,
  .pricing {
    grid-template-columns: 1fr 1fr
  }

  .pipeline-wrap {
    grid-template-columns: 1fr;
    gap: 44px
  }

  #flow {
    display: none
  }

  .enceinte {
    max-width: 440px;
    margin: 0 auto
  }

  .plan-pro {
    transform: none
  }

  .memory-wrap,
  .split,
  .audit-grid {
    grid-template-columns: 1fr;
    gap: 44px
  }

  .sov-band {
    grid-template-columns: 1fr;
    padding: 40px 32px
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:760px) {
  section.block {
    padding: 76px 0
  }

  .g2,
  .g3,
  .pricing,
  .duel {
    grid-template-columns: 1fr
  }

  .plan-pro {
    order: -1
  }

  .trio {
    grid-template-columns: 1fr
  }

  .trio>div+div {
    border-left: 0;
    border-top: 1px solid var(--line)
  }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(13, 16, 35, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 22px;
    display: none;
  }

  .nav-open .main-nav {
    display: flex
  }

  .main-nav a {
    padding: 13px 0;
    font-size: 1.05rem;
    width: 100%
  }

  .main-nav a.active::after {
    display: none
  }

  .nav-toggle {
    display: block
  }

  .header-cta {
    display: none
  }

  .hero {
    padding: 130px 0 80px;
    min-height: 0
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start
  }
}