/* ═══════════════════════════════════════════════════════
   ORKSTR · SITE WEB · DESIGN TOKENS
   ═══════════════════════════════════════════════════════ */
:root {
  /* Couleur souche */
  --navy:          #162040;
  --navy-90:       rgba(22,32,64,.9);
  --navy-60:       rgba(22,32,64,.6);
  --navy-40:       rgba(22,32,64,.4);
  --navy-20:       rgba(22,32,64,.2);
  --navy-12:       rgba(22,32,64,.12);
  --navy-08:       rgba(22,32,64,.08);
  --navy-04:       rgba(22,32,64,.04);

  /* Gradient signature brandbook V4 */
  --grad:
    radial-gradient(ellipse 80% 70% at 15% 30%, rgba(24,117,186,.18) 0%, transparent 60%),
    radial-gradient(ellipse 45% 50% at 78% 18%, rgba(24,117,186,.10) 0%, transparent 55%),
    linear-gradient(135deg, #121D38 0%, #0D1628 100%);
  /* Surface foncée pour sections pleine-largeur — toujours le dégradé signature */
  --bg-section-dark: var(--grad);

  /* Accent — marque mère par défaut, surchargé par la branche */
  --accent:        #1875BA;
  --accent-80:     rgba(24,117,186,.8);
  --accent-20:     rgba(24,117,186,.2);
  --accent-10:     rgba(24,117,186,.1);
  --accent-04:     rgba(24,117,186,.04);
  --accent-contrast: #FFFFFF;

  /* Neutres */
  --white:         #FFFFFF;
  --off:           #F2F2F0;
  --off-d:         #E8E8E4;
  --muted:         #8892A4;
  --charcoal:      #3D4A5C;
  --ink:           #0E0E12;

  /* Surfaces sémantiques (mode clair par défaut) */
  --bg:            #F2F2F0;
  --bg-alt:        #FFFFFF;
  --bg-deep:       #E8E8E4;
  --bg-inverse:    #162040;
  --fg:            #162040;
  --fg-muted:      #3D4A5C;
  --fg-soft:       #8892A4;
  --border:        rgba(22,32,64,.1);
  --border-strong: rgba(22,32,64,.18);

  /* Typo */
  --font-display:  'Space Grotesk', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --nav-h:         60px;
  --ticker-h:      44px;
  --container:     1320px;
  --pad-x:         clamp(24px, 5vw, 72px);

  /* Motion */
  --ease:          cubic-bezier(.2,.7,.2,1);
  --ease-out:      cubic-bezier(.16,1,.3,1);
}

[data-theme="dark"] {
  --bg:            #0C1220;
  --bg-alt:        #121D33;
  --bg-deep:       #0A0F1C;
  --bg-inverse:    #F2F2F0;
  --fg:            #F2F2F0;
  --fg-muted:      rgba(242,242,240,.7);
}

/* Dégradé signature sur le body en mode sombre */
[data-theme="dark"] body {
  background: var(--grad);
  background-attachment: fixed;
  min-height: 100vh;
}
  --fg-soft:       rgba(242,242,240,.45);
  --border:        rgba(255,255,255,.1);
  --border-strong: rgba(255,255,255,.2);
  --navy:          #F2F2F0;
  --navy-08:       rgba(255,255,255,.06);
  --navy-04:       rgba(255,255,255,.03);
}

/* ═══════════════════════════════════════════════════════
   RESET
   ═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  transition: background .35s var(--ease), color .35s var(--ease);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* Cursor custom : on cache le natif uniquement sur desktop avec souris */
@media (hover:hover) and (pointer:fine) {
  body.cursor-on, body.cursor-on * { cursor: none !important; }
}

/* ═══════════════════════════════════════════════════════
   TYPO UTILITIES
   ═══════════════════════════════════════════════════════ */
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
}
.mono-lg { font-size: 12px; }
.mono-sm { font-size: 10px; letter-spacing: .18em; }
.display { font-family: var(--font-display); letter-spacing: -.02em; font-weight: 600; line-height: 1.02; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before {
  content: ''; display: block; width: 28px; height: 1px;
  background: var(--accent);
}

.kicker {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--fg-soft);
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 96px); }
h2 { font-size: clamp(34px, 5vw, 64px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.015em; }
h4 { font-size: 18px; letter-spacing: -.01em; }

p { text-wrap: pretty; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--fg-muted); max-width: 60ch; }

/* ═══════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════ */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
.wrap-tight { max-width: 1080px; margin: 0 auto; padding: 0 var(--pad-x); }

section { padding: clamp(64px, 9vw, 140px) 0; position: relative; }
section + section { border-top: 1px solid var(--border); }

.section-head {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: clamp(32px, 6vw, 96px); align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}
@media (max-width: 880px) { .section-head { grid-template-columns: 1fr; align-items: start; } }

.section-num {
  position: absolute; top: clamp(40px, 6vw, 80px); right: var(--pad-x);
  font-family: var(--font-display); font-size: clamp(80px, 12vw, 160px);
  font-weight: 600; color: var(--navy-04); line-height: 1;
  pointer-events: none; user-select: none; letter-spacing: -.05em;
}

/* ═══════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.nav-inner {
  width: 100%; max-width: var(--container); margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  letter-spacing: -.01em;
}
.nav-brand .k { color: var(--accent); transition: color .35s var(--ease); }
.nav-brand svg { width: 22px; height: 22px; }

.nav-links { display: flex; gap: 4px; }
.nav-link {
  position: relative; padding: 8px 14px; border-radius: 4px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted);
  transition: color .2s var(--ease);
}
.nav-link:hover { color: var(--fg); }
.nav-link.active { color: var(--fg); }
.nav-link.active::before {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 1px; background: var(--accent);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 34px; height: 34px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--fg-muted);
  transition: all .25s var(--ease);
}
.icon-btn:hover { color: var(--fg); border-color: var(--border-strong); background: var(--bg-alt); }
.icon-btn svg { width: 14px; height: 14px; }

/* Branche picker */
.branch-picker { position: relative; }
.branch-trigger {
  height: 34px; padding: 0 12px 0 10px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted);
  transition: all .25s var(--ease);
}
.branch-trigger:hover { color: var(--fg); border-color: var(--border-strong); }
.branch-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 0 2px var(--bg); transition: background .35s var(--ease); }
.branch-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 50;
  min-width: 260px; padding: 8px; border-radius: 8px;
  background: var(--bg-alt); border: 1px solid var(--border);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.25);
}
.branch-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 10px 12px; border-radius: 4px;
  text-align: left; transition: background .15s var(--ease);
}
.branch-item:hover { background: var(--bg); }
.branch-item.is-active { background: var(--accent-10); }
.branch-item-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.branch-item-name { font-size: 13px; font-weight: 500; color: var(--fg); }
.branch-item-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-soft); margin-top: 2px; }

/* CTA Button */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  letter-spacing: -.005em; transition: all .25s var(--ease);
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px var(--accent-80); }
.btn-ghost { border-color: var(--border-strong); color: var(--fg); }
.btn-ghost:hover { background: var(--bg-alt); border-color: var(--fg); }
.btn-dark { background: var(--navy); color: var(--off); }
.btn-dark:hover { background: var(--ink); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════ */
.card {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 6px; padding: 28px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
  position: relative;
}
.card:hover { border-color: var(--border-strong); }
.card-link:hover { transform: translateY(-2px); }
.card-num {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--fg-soft); margin-bottom: 24px;
}
.card-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
.card-body { font-size: 14px; line-height: 1.6; color: var(--fg-muted); }

/* Striped placeholder */
.placeholder {
  position: relative; overflow: hidden; border-radius: 4px;
  background:
    repeating-linear-gradient(
      135deg,
      var(--navy-04) 0,
      var(--navy-04) 8px,
      transparent 8px,
      transparent 16px
    ),
    var(--bg-deep);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.placeholder-label {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--fg-soft);
  background: var(--bg-alt); padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════════════════ */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 999;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--accent);
  transform: translate(-50%, -50%);
  pointer-events: none; mix-blend-mode: difference;
  transition: width .2s var(--ease), height .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 999;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cursor.is-link { width: 56px; height: 56px; background: var(--accent-20); border-color: transparent; }
.cursor.is-text { width: 4px; height: 22px; border-radius: 2px; background: var(--accent); }

/* ═══════════════════════════════════════════════════════
   REVEAL ANIMATION
   ═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ═══════════════════════════════════════════════════════
   PAGE
   ═══════════════════════════════════════════════════════ */
.page { padding-top: calc(var(--nav-h) + var(--ticker-h)); min-height: 100vh; }
.page-enter { animation: pageEnter .5s var(--ease-out); }
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer { background: var(--grad); background-attachment: fixed; color: rgba(255,255,255,.7); padding: 80px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 64px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
.footer h5 {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 18px;
}
.footer-link {
  display: block; font-size: 14px; color: rgba(255,255,255,.8);
  padding: 4px 0; transition: color .2s var(--ease);
}
.footer-link:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
}

/* ═══════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════ */
.faq-item {
  border-top: 1px solid var(--border);
  padding: 24px 0; display: grid; grid-template-columns: 60px 1fr 30px;
  gap: 20px; align-items: start; cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-num { font-family: var(--font-mono); font-size: 11px; color: var(--fg-soft); letter-spacing: .14em; padding-top: 6px; }
.faq-q { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.faq-toggle {
  width: 24px; height: 24px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-muted); transition: all .25s var(--ease);
}
.faq-item.is-open .faq-toggle { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
.faq-a {
  grid-column: 2 / 3; overflow: hidden; max-height: 0;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
  color: var(--fg-muted); font-size: 15px; line-height: 1.65;
}
.faq-item.is-open .faq-a { max-height: 400px; padding-top: 16px; }

/* ═══════════════════════════════════════════════════════
   TIMELINE (méthode)
   ═══════════════════════════════════════════════════════ */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 12px; bottom: 12px;
  width: 1px; background: var(--border-strong);
}
.timeline-item {
  position: relative; padding-bottom: 48px; padding-left: 32px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--accent);
  transition: background .25s var(--ease);
}
.timeline-item.is-current::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-20); }
.timeline-day {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 8px;
}
.timeline-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.timeline-body { font-size: 14px; line-height: 1.65; color: var(--fg-muted); max-width: 56ch; }

/* ═══════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════ */
.field { margin-bottom: 24px; }
.field-label {
  display: block; font-family: var(--font-mono); font-size: 10px;
  font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--fg-soft); margin-bottom: 8px;
}
.field-input, .field-textarea, .field-select {
  width: 100%; padding: 12px 0; background: transparent;
  border: 0; border-bottom: 1px solid var(--border-strong);
  font-family: var(--font-display); font-size: 18px; color: var(--fg);
  transition: border-color .25s var(--ease);
}
.field-input:focus, .field-textarea:focus, .field-select:focus {
  outline: none; border-bottom-color: var(--accent);
}
.field-textarea { resize: vertical; min-height: 100px; }
.field-input::placeholder, .field-textarea::placeholder { color: var(--fg-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted);
  transition: all .2s var(--ease);
}
.chip:hover { color: var(--fg); border-color: var(--fg-muted); }
.chip.is-active { background: var(--navy); color: var(--off); border-color: var(--navy); }
[data-theme="dark"] .chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }

/* ═══════════════════════════════════════════════════════
   SCROLL TICKER
   ═══════════════════════════════════════════════════════ */
.ticker { overflow: hidden; padding: 28px 0; border-block: 1px solid var(--border); }
.ticker-track {
  display: flex; gap: 64px; width: max-content;
  animation: tickerScroll 38s linear infinite;
  font-family: var(--font-display); font-size: clamp(40px, 6vw, 80px);
  font-weight: 600; letter-spacing: -.03em;
  white-space: nowrap;
}
.ticker-track > span { display: inline-flex; align-items: center; gap: 64px; }
.ticker-track .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* utilities */
.muted { color: var(--fg-muted); }
.soft { color: var(--fg-soft); }
.row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.tag {
  display: inline-flex; align-items: center; height: 24px;
  padding: 0 10px; border-radius: 999px;
  background: var(--accent-10); color: var(--accent);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}

/* ════════ BRANCH TICKER ════════ */
.btk-strip {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 99;
  height: var(--ticker-h);
  overflow: visible;
  clip-path: inset(-100px 0px -100px 0px); /* laisse les anneaux s'échapper verticalement */
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  user-select: none;
}
/* Dégradé de fondu sur les bords (remplace mask-image) */
.btk-strip::before, .btk-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 52px; z-index: 10; pointer-events: none;
}
.btk-strip::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.btk-strip::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }
.btk-track {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 0 8px;
  animation: btkScroll 72s linear infinite;
  will-change: transform;
}
.btk-strip:hover .btk-track { animation-play-state: paused; }
@keyframes btkScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.btk-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px 0 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg-muted);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.btk-btn:hover {
  color: var(--fg);
  border-color: var(--btk-c, var(--accent));
  background: color-mix(in srgb, var(--btk-c, var(--accent)) 8%, transparent);
}
.btk-btn.is-active {
  color: var(--fg);
  border-color: var(--btk-c, var(--accent));
  background: color-mix(in srgb, var(--btk-c, var(--accent)) 14%, transparent);
}
.btk-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.btk-name { position: relative; z-index: 1; }
.btk-soon {
  font-family: var(--font-mono);
  font-size: 8px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-soft);
  background: var(--bg-deep);
  border-radius: 3px;
  padding: 1px 5px;
  position: relative; z-index: 1;
}
/* Sonar shake — CSS uniquement, les anneaux sont injectés via JS overlay z-index:9999 */
.btk-btn.is-sonar { animation: btkShake .55s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes btkShake {
  0%, 100% { transform: translateX(0); }
  15%  { transform: translateX(-2px) rotate(-.8deg); }
  30%  { transform: translateX(2px) rotate(.8deg); }
  45%  { transform: translateX(-1.5px); }
  60%  { transform: translateX(1.5px); }
  75%  { transform: translateX(-1px); }
}
/* Anneau universel (sonar + CTA) — injecté en JS dans #__click-rings / #__sonar-rings */
@keyframes btkRing {
  0%   { transform: scale(1);    opacity: .85; }
  45%  { opacity: .18; }
  100% { transform: scale(1.75); opacity: 0; }
}
/* Boutons "À venir" — pas de changement visuel fort, juste le badge qui flotte */
.btk-btn.is-soon { opacity: 1; border-style: solid; }
/* Float doux du badge "À venir" */
.btk-soon {
  font-family: var(--font-mono);
  font-size: 8px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-soft);
  background: var(--bg-deep);
  border-radius: 3px;
  padding: 1px 5px;
  position: relative; z-index: 1;
  animation: btkSoonFloat 2.6s ease-in-out infinite;
  will-change: transform;
}
@keyframes btkSoonFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-3px); }
}
/* Me notifier button — pulse + vibration périodique */
.branch-soon-btn {
  animation: notifyPulse 4s ease-in-out 2s infinite;
}
@keyframes notifyPulse {
  0%, 85%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,.25); }
  88%  { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  92%  { transform: scale(.97); }
  95%  { transform: scale(1.03); }
}
  position: absolute;
  border-radius: inherit;
  border: 2px solid rgba(255,255,255,.7);
  pointer-events: none;
  animation: btkRing 1s ease-out forwards;
}

/* ════════ HAMBURGER ════════ */
.hamburger-btn {
  display: none;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  color: var(--fg);
  flex-shrink: 0;
}
.ham {
  position: relative;
  display: block;
  width: 16px; height: 1.5px;
  background: currentColor;
  transition: background .2s;
}
.ham::before, .ham::after {
  content: '';
  position: absolute;
  left: 0; width: 100%; height: 100%;
  background: currentColor;
  transition: transform .25s cubic-bezier(.22,1,.36,1), top .25s cubic-bezier(.22,1,.36,1);
}
.ham::before { top: -5px; }
.ham::after  { top:  5px; }
.ham.is-open { background: transparent; }
.ham.is-open::before { top: 0; transform: rotate(45deg); }
.ham.is-open::after  { top: 0; transform: rotate(-45deg); }
/* Mobile dropdown */
.mobile-menu {
  position: fixed;
  top: calc(var(--nav-h) + var(--ticker-h));
  left: 0; right: 0;
  z-index: 102;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px var(--pad-x) 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: mobileIn .22s cubic-bezier(.22,1,.36,1);
}
@keyframes mobileIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
.mobile-link {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  transition: background .15s;
}
.mobile-link:hover, .mobile-link.is-active { background: var(--bg-alt); color: var(--accent); }
.mobile-link.is-locked { opacity: .4; cursor: default; }

/* Mobile nav */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta-wrap { display: none; }
  .hamburger-btn { display: flex; }
}

/* ═══════════════════════════════════════════════════════
   MOTION — emphasis, hover sweeps, magnetic, counters
   ═══════════════════════════════════════════════════════ */

/* ── Highlighted phrases (.hl) — colored text that softly pulses ── */
.hl {
  position: relative;
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  animation: hlPulse 3.4s ease-in-out infinite;
}
@keyframes hlPulse {
  0%, 100% { opacity: .82; }
  50%      { opacity: 1; }
}

/* Stronger variant — fully colored, pulses brightness */
.hl-strong {
  position: relative;
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  animation: hlBeat 2.2s ease-in-out infinite;
}
@keyframes hlBeat {
  0%, 100% { color: var(--accent); text-shadow: 0 0 0 transparent; }
  50%      { color: var(--accent); text-shadow: 0 0 22px var(--accent-20), 0 0 0 transparent; }
}

/* Heartbeat variant — color + scale pulse, like the CTA buttons */
.hl-beat {
  position: relative;
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  transform-origin: center;
  will-change: transform;
  animation: hlBeatScale 7s cubic-bezier(.4, 0, .2, 1) infinite, hlBeat 2.4s ease-in-out infinite;
}
@keyframes hlBeatScale {
  0%   { transform: scale(1);    }
  20%  { transform: scale(1.08); }
  30%  { transform: scale(1.04); }
  40%  { transform: scale(1.08); }
  55%  { transform: scale(1);    }
  100% { transform: scale(1);    }
}

/* Soft underline pulse (subtle) */
.hl-line {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hl-line::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  background-size: 200% 100%;
  animation: hlLine 2.8s linear infinite;
}
@keyframes hlLine {
  from { background-position: 200% 0; }
  to   { background-position: -100% 0; }
}

/* ── Card sweep on hover ── */
.card { isolation: isolate; overflow: hidden; }
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 25%,
    var(--accent-10) 47%,
    var(--accent-20) 50%,
    var(--accent-10) 53%,
    transparent 75%
  );
  transform: translateX(-110%);
  pointer-events: none;
  z-index: 0;
}
.card:hover::before {
  animation: cardSweep 1s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes cardSweep {
  from { transform: translateX(-110%); }
  to   { transform: translateX(110%); }
}
.card > * { position: relative; z-index: 1; }
.card-link {
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease), box-shadow .35s var(--ease);
}
.card-link:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 22px 50px -28px var(--accent-20);
}

/* Accent corner mark that appears on card hover */
.card-link::after {
  content: '';
  position: absolute;
  top: 14px; right: 14px;
  width: 6px; height: 6px;
  border-top: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 2;
}
.card-link:hover::after { opacity: 1; transform: none; }

/* ── Buttons: shimmer + magnetic ── */
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-150%) skewX(-12deg);
  transition: transform .8s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.btn:hover::before { transform: translateX(150%) skewX(-12deg); }
.btn > * { position: relative; z-index: 1; }
.btn-primary {
  position: relative;
  box-shadow: 0 0 0 0 var(--accent-20);
  animation: btnIdleGlow 3.6s ease-in-out infinite;
}
@keyframes btnIdleGlow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-20); }
  50%      { box-shadow: 0 0 0 8px transparent; }
}

/* Scale-pulse (“heartbeat”) — add .btn-pulse to a CTA to make it call attention */
.btn-pulse {
  animation: btnIdleGlow 3.6s ease-in-out infinite, btnHeartbeat 7s cubic-bezier(.4, 0, .2, 1) infinite;
  transform-origin: center;
  will-change: transform;
}
@keyframes btnHeartbeat {
  0%   { transform: scale(1);    }
  18%  { transform: scale(1.15); }
  28%  { transform: scale(1.10); }
  38%  { transform: scale(1.15); }
  55%  { transform: scale(1);    }
  100% { transform: scale(1);    }
}
.btn-pulse:hover { animation: none; }

/* Softer variant — for secondary CTAs that share space with neighbors */
.btn-pulse-soft {
  animation: btnIdleGlow 3.6s ease-in-out infinite, btnHeartbeatSoft 8s cubic-bezier(.4, 0, .2, 1) infinite;
  transform-origin: center;
  will-change: transform;
}
@keyframes btnHeartbeatSoft {
  0%   { transform: scale(1);    }
  20%  { transform: scale(1.06); }
  30%  { transform: scale(1.03); }
  40%  { transform: scale(1.06); }
  55%  { transform: scale(1);    }
  100% { transform: scale(1);    }
}
.btn-pulse-soft:hover { animation: none; }

/* ── Nav active underline grows + breathes ── */
.nav-link.active::before {
  animation: navBreathe 2.4s ease-in-out infinite;
}
@keyframes navBreathe {
  0%, 100% { opacity: .55; transform: scaleX(.7); }
  50%      { opacity: 1;   transform: scaleX(1); }
}

/* ── Timeline current pulse — stronger ── */
.timeline-item.is-current::before {
  animation: timePulse 1.8s ease-in-out infinite;
}
@keyframes timePulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--accent-20), 0 0 0 0 transparent; }
  50%      { box-shadow: 0 0 0 8px transparent,    0 0 0 12px var(--accent-04); }
}

/* ── FAQ items: accent bar sliding in from left on hover ── */
.faq-item {
  position: relative;
  transition: background-color .25s var(--ease);
}
.faq-item::before {
  content: '';
  position: absolute;
  left: -16px; top: 18%; bottom: 18%;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.faq-item:hover::before { transform: scaleY(1); }
.faq-item:hover .faq-q { color: var(--accent); }
.faq-q { transition: color .25s var(--ease); }
.faq-toggle { transition: all .35s cubic-bezier(.22,1,.36,1); }
.faq-item:hover .faq-toggle { transform: scale(1.08); border-color: var(--accent); color: var(--accent); }

/* ── Eyebrow line draws in on reveal ── */
.eyebrow::before {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .8s cubic-bezier(.16,1,.3,1) .15s;
}
.reveal.is-in .eyebrow::before,
.reveal .eyebrow::before { transform: scaleX(1); }
.eyebrow.is-in::before { transform: scaleX(1); }

/* ── Section number drifts gently ── */
.section-num {
  animation: drift 14s ease-in-out infinite;
  transition: color .35s var(--ease);
}
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ── Tag pulse on featured pricing card ── */
.tag {
  position: relative;
  overflow: hidden;
}
.tag::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0;
  animation: tagShine 4s ease-in-out infinite;
  animation-delay: 1.5s;
}
@keyframes tagShine {
  0%, 92%, 100% { transform: translateX(-100%); opacity: 0; }
  96%           { transform: translateX(0);     opacity: .12; }
}

/* ── Stat numbers — slight hop on enter ── */
.stat-num {
  display: inline-block;
  animation: statPop .9s cubic-bezier(.34,1.56,.64,1) backwards;
}
@keyframes statPop {
  from { transform: translateY(20px) scale(.85); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

/* ── Hero headline letter stagger ── */
.h1-stagger > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: letterRise .9s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(var(--i, 0) * 30ms);
}
@keyframes letterRise {
  to { opacity: 1; transform: none; }
}

/* ── Chip animated active state ── */
.chip {
  position: relative;
  overflow: hidden;
}
.chip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-10);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.chip:hover::before { transform: scaleX(1); transform-origin: left; }
.chip.is-active::before { display: none; }
.chip > * { position: relative; }

/* ── Mist animée derrière le logo de branche ── */
.brx-head::before {
  content: '';
  position: absolute;
  top: -24px; left: 50%;
  width: 240px; height: 200px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at 44% 52%,
    color-mix(in srgb, var(--accent) 24%, transparent) 0%,
    color-mix(in srgb, var(--accent) 10%, transparent) 38%,
    transparent 68%);
  filter: blur(22px);
  animation: brkMist 11s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}
.brx-head > * { position: relative; z-index: 1; }
@keyframes brkMist {
  0%   { transform: translateX(-50%) scale(1)    rotate(0deg);  opacity: .52; }
  18%  { transform: translateX(-48%) scale(1.13) rotate(7deg);  opacity: .70; }
  36%  { transform: translateX(-53%) scale(.91)  rotate(-5deg); opacity: .44; }
  55%  { transform: translateX(-50%) scale(1.09) rotate(9deg);  opacity: .64; }
  74%  { transform: translateX(-51%) scale(.94)  rotate(-3deg); opacity: .56; }
  100% { transform: translateX(-49%) scale(1.06) rotate(5deg);  opacity: .60; }
}
.branch-dot {
  animation: dotBreathe 2.6s ease-in-out infinite;
}
@keyframes dotBreathe {
  0%, 100% { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--accent-20); }
  50%      { box-shadow: 0 0 0 2px var(--bg), 0 0 0 6px transparent; }
}

/* ── Octopus node pulses + soft breathe ── */
@keyframes nodeBreathe {
  0%, 100% { transform: scale(1);   opacity: .35; }
  50%      { transform: scale(1.7); opacity: 0; }
}
.node-breathe {
  transform-origin: center;
  transform-box: fill-box;
  animation: nodeBreathe 3.6s ease-in-out infinite;
}

/* ── Image placeholder shimmer ── */
.placeholder {
  position: relative;
  overflow: hidden;
}
.placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: phShimmer 4s ease-in-out infinite;
}
[data-theme="dark"] .placeholder::after {
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.06) 50%, transparent 70%);
}
@keyframes phShimmer {
  0%, 60%, 100% { transform: translateX(-100%); }
  80% { transform: translateX(100%); }
}

/* ── Section header subtle slide-in from left ── */
.section-head .eyebrow { transform: translateX(-12px); opacity: 0; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in .eyebrow,
.section-head .reveal.is-in .eyebrow { transform: none; opacity: 1; }

/* ── Hover slide for footer links ── */
.footer-link {
  position: relative;
  padding-left: 0;
  transition: padding-left .3s var(--ease), color .3s var(--ease);
}
.footer-link::before {
  content: '→';
  position: absolute;
  left: -16px; top: 50%;
  transform: translate(-4px, -50%);
  opacity: 0;
  color: var(--accent);
  transition: all .3s var(--ease);
}
.footer-link:hover {
  padding-left: 18px;
  color: var(--accent);
}
.footer-link:hover::before {
  opacity: 1;
  transform: translate(0, -50%);
}

/* ── Ticker dot pulse ── */
.ticker-track .dot {
  animation: dotScale 1.6s ease-in-out infinite;
}
@keyframes dotScale {
  0%, 100% { transform: scale(.7); }
  50%      { transform: scale(1.1); }
}

/* ── Typewriter caret ── */
.typewriter { display: inline-flex; align-items: baseline; }
.typewriter-caret {
  display: inline-block;
  width: 2px; height: 0.9em;
  margin-left: 4px;
  background: currentColor;
  vertical-align: -0.05em;
  animation: caretBlink 0.9s steps(1) infinite;
}
.typewriter-caret.is-done {
  animation: caretBlink 1.1s steps(1) infinite;
  opacity: 1;
}
@keyframes caretBlink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ── Reveal variants ── */
.reveal-x {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal-x.is-in { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(.96);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal-scale.is-in { opacity: 1; transform: none; }

/* ── Constellation tentacle improvement ── */
.connector-active {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: drawConnector 1.2s cubic-bezier(.22,1,.36,1) forwards;
  filter: drop-shadow(0 0 8px var(--accent-20));
}
@keyframes drawConnector {
  to { stroke-dashoffset: 0; }
}

/* Pricing featured card breathing border */
.pricing-grid > .card[style*="border-color"] {
  animation: featuredGlow 3.5s ease-in-out infinite;
}
@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  50%      { box-shadow: 0 22px 60px -30px var(--accent-20), 0 0 0 1px var(--accent-20); }
}

/* ═══════════════════════════════════════════════════════
   BRANCHE · PAGE À VENIR
   ═══════════════════════════════════════════════════════ */
.branch-soon {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + var(--ticker-h) + 48px) var(--pad-x) 64px;
  color: #fff;
  position: relative;
  overflow: hidden;
  animation: branchSoonIn .5s var(--ease-out);
}
.branch-soon::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.16), transparent 60%),
    radial-gradient(100% 60% at 50% 120%, rgba(0,0,0,.22), transparent 55%);
  pointer-events: none;
}
.branch-soon-inner {
  position: relative;
  max-width: 720px;
  width: 100%;
  text-align: center;
}
.branch-soon-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  margin-bottom: 32px;
}
.branch-soon-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 9vw, 104px);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.branch-soon-status {
  font-family: var(--font-mono);
  font-size: clamp(15px, 2vw, 19px);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  margin-bottom: 14px;
}
.branch-soon-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,.78);
  max-width: 420px;
  margin: 0 auto 40px;
}
.branch-soon-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.branch-soon-input {
  flex: 1;
  height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.branch-soon-input::placeholder { color: rgba(255,255,255,.6); }
.branch-soon-input:focus {
  border-color: #fff;
  background: rgba(255,255,255,.18);
}
.branch-soon-btn {
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease);
}
.branch-soon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.4);
}
.branch-soon-done {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  padding: 14px 24px;
}
.branch-soon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
@keyframes branchSoonIn {
  from { transform: translateY(14px); }
  to   { transform: translateY(0); }
}
@media (max-width: 540px) {
  .branch-soon-form { flex-direction: column; }
  .branch-soon-btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════════════ */
.nl-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #1875BA;
}
.nl-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.02em;
  color: #F2F2F0;
  margin: 0;
}
.nl-sub {
  font-family: var(--font-body);
  color: rgba(255,255,255,.62);
  margin: 0;
}

/* ── Section (page) ── */
.nl--section {
  background: var(--grad);
  background-attachment: fixed;
}
.nl-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.nl--section .nl-kicker { margin-bottom: 18px; }
.nl--section .nl-title {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}
.nl--section .nl-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55;
  margin-top: 16px;
  max-width: 420px;
}
.nl-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.4);
  margin-top: 14px;
}

/* ── Form ── */
.nl-form { width: 100%; }
.nl-field {
  display: flex;
  gap: 10px;
}
.nl-input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.05);
  color: #F2F2F0;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.nl-input::placeholder { color: rgba(255,255,255,.42); }
.nl-input:focus {
  border-color: #1875BA;
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 3px rgba(24,117,186,.25);
}
.nl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  border: none;
  border-radius: 8px;
  background: #1875BA;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.nl-btn:hover { background: #1466a3; transform: translateY(-1px); }
.nl-btn svg { transition: transform .2s var(--ease); }
.nl-btn:hover svg { transform: translateX(3px); }
/* Honeypot — hidden anti-spam field, kept for Brevo */
/* Success / Error states */
.nl-success {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: .95rem;
  font-weight: 500;
  padding: 12px 0;
}
.nl-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #1875BA;
  font-size: .85rem;
  flex-shrink: 0;
}
.nl-error {
  margin-top: 8px;
  font-size: .82rem;
  color: #ff6b6b;
  padding-left: 2px;
}
.nl-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}
.nl-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
}

/* ── Compact (footer) ── */
.nl--footer .nl-kicker { margin-bottom: 14px; }
.nl-title--sm { font-size: 20px; line-height: 1.2; }
.nl-sub--sm {
  font-size: 13px;
  line-height: 1.55;
  margin-top: 8px;
  margin-bottom: 16px;
  max-width: 300px;
}
.nl-form--compact .nl-field { flex-direction: column; gap: 8px; max-width: 300px; }
.nl-form--compact .nl-input { height: 46px; }
.nl-form--compact .nl-btn { height: 46px; justify-content: center; }

@media (max-width: 860px) {
  .nl-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 540px) {
  .nl-field { flex-direction: column; }
  .nl-btn { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════
   PAGES DE BRANCHE — signature "organigramme"
   ═══════════════════════════════════════════════════════ */
.brx-hero { padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(48px, 6vw, 80px); }
.brx-stage { position: relative; }

/* Connector overlay */
.brx-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  overflow: visible;
}
.brx-line {
  stroke: var(--accent);
  stroke-width: 1.4;
  opacity: .42;
}
.brx-flow {
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 2 16;
  opacity: .9;
  animation: brxFlow 2.4s linear infinite;
}
@keyframes brxFlow { to { stroke-dashoffset: -180; } }
.brx-node { fill: var(--accent); opacity: .5; }
.brx-node-end {
  fill: var(--bg);
  stroke: var(--accent);
  stroke-width: 1.6;
  opacity: 1;
}

/* Hero head */
.brx-head { position: relative; z-index: 2; text-align: center; max-width: 720px; margin: 0 auto; }
.brx-octo {
  width: 104px; height: 96px;
  margin: 0 auto 26px;
  filter: drop-shadow(0 10px 26px var(--accent-20));
}
.brx-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
  padding: 7px 16px;
  border: 1px solid var(--accent-20);
  background: var(--accent-04);
  border-radius: 999px;
  margin-bottom: 24px;
}
.brx-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.0;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}
.brx-title { min-height: 1.05em; }
.brx-title .brx-accent-line { color: var(--accent); }
.brx-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 22px auto 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.brx-sub.is-in { opacity: 1; transform: none; }
.brx-cta { margin-top: 36px; display: flex; justify-content: center; }
/* Entrée "pop" de la CTA (0 → 110 → 95 → 105 → 100) */
.brx-cta-pop { display: inline-block; transform: scale(0); transform-origin: center; }
.brx-cta-pop.is-in { animation: brxPop .62s cubic-bezier(.3,.7,.3,1) forwards; }
@keyframes brxPop {
  0%   { transform: scale(0);    }
  55%  { transform: scale(1.10); }
  72%  { transform: scale(0.95); }
  86%  { transform: scale(1.05); }
  100% { transform: scale(1);    }
}

/* Cards (organigramme) */
.brx-cards {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(72px, 9vw, 130px);
}
.brx-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 8px;
  padding: clamp(26px, 2.6vw, 36px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.brx-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, var(--accent-10) 47%, var(--accent-20) 50%, var(--accent-10) 53%, transparent 75%);
  transform: translateX(-110%);
  pointer-events: none;
  z-index: 0;
}
.brx-card:hover::before { animation: cardSweep 1s cubic-bezier(.22,1,.36,1) forwards; }
.brx-card > * { position: relative; z-index: 1; }
.brx-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 24px 50px -28px var(--accent-20);
}
.brx-card-n {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 18px;
}
.brx-card-t {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  margin: 0 0 12px;
}
.brx-card-b {
  font-size: 14px; line-height: 1.65;
  color: var(--fg-muted); margin: 0;
}

/* À venir — sobre */
.brx-soon { background: var(--bg-alt); border-top: 1px solid var(--border); }
.brx-soon-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.brx-soon-kicker {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--fg-soft); margin-bottom: 20px;
}
.brx-soon-list {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 500; line-height: 1.4;
  color: var(--fg); margin: 0;
}
.brx-soon-dot {
  display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); margin: 0 14px; vertical-align: middle;
}
.brx-soon-status {
  display: inline-block; margin-top: 24px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); padding: 8px 18px;
  border: 1px solid var(--accent-20); border-radius: 999px;
}

/* CTA bas de page */
.brx-cta-section { background: var(--grad); background-attachment: fixed; color: #F2F2F0; }
.brx-cta-title {
  color: #F2F2F0;
  font-size: clamp(40px, 6vw, 76px);
  margin: 0 auto;
  letter-spacing: -.02em;
}

@media (max-width: 860px) {
  .brx-cards { grid-template-columns: 1fr; gap: 16px; max-width: 460px; margin-left: auto; margin-right: auto; }
  .brx-svg { display: none; }
}

/* ════════ COMPREHENSIVE MOBILE STYLES ════════ */
@media (max-width: 768px) {
  /* Spacing */
  :root { --pad-x: 20px; }

  /* Sections */
  .section { padding: clamp(48px, 10vw, 80px) 0; }

  /* Hero home */
  .hero-grid { gap: 32px !important; }
  .hero-octo-cell { max-width: 340px !important; }

  /* Typography scale */
  .h1, h1 { font-size: clamp(32px, 9vw, 52px) !important; }
  .h2, h2 { font-size: clamp(26px, 7vw, 40px) !important; }
  .h3, h3 { font-size: clamp(20px, 5vw, 28px) !important; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 40px 24px;
  }
  .footer-grid > div:first-child { grid-column: 1 / -1; }

  /* Newsletter section */
  .nl-inner { flex-direction: column !important; gap: 28px !important; }
  .nl-copy, .nl-action { width: 100% !important; max-width: 100% !important; }
  .nl-form { flex-direction: column !important; }
  .nl-field { flex-direction: column !important; gap: 10px !important; }
  .nl-btn { width: 100% !important; justify-content: center; }

  /* Branch page hero */
  .brx-hero { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); }
  .brx-title { font-size: clamp(30px, 8vw, 48px) !important; }
  .brx-head { max-width: 100%; }
  .brx-octo { width: 80px !important; height: 74px !important; }

  /* Branch coming soon */
  .branch-soon-name { font-size: clamp(36px, 10vw, 60px) !important; }
  .branch-soon-form { flex-direction: column !important; }
  .branch-soon-input { width: 100% !important; }
  .branch-soon-btn { width: 100% !important; }

  /* CTA sections */
  .brx-cta-title { font-size: clamp(28px, 7vw, 48px) !important; }

  /* Ticker */
  .btk-btn { height: 32px; font-size: 12px; }

  /* Contact grid */
  .contact-grid { grid-template-columns: 1fr !important; }
}

/* Reduce motion fallback */
@media (prefers-reduced-motion: reduce) {
  /* Toujours visibles, même sans animation d'entrée */
  .brx-sub { opacity: 1 !important; transform: none !important; }
  .brx-cta-pop { transform: none !important; animation: none !important; }
    .hl, .hl::before, .hl-strong, .hl-line::after,
  .card::before, .btn::before, .btn-primary, .btn-pulse, .btn-pulse-soft,
  .nav-link.active::before, .timeline-item.is-current::before,
  .tag::after, .stat-num, .h1-stagger > span,
  .branch-dot, .node-breathe, .placeholder::after,
  .section-num, .ticker-track .dot, .connector-active,
  .pricing-grid > .card[style*="border-color"] {
    animation: none !important;
  }
}
