/* Nexiagence — site prototype styles (based on design system tokens) */

html, body {
  margin: 0; padding: 0;
  background: var(--nexi-bone);
  color: var(--nexi-ink);
  font-family: var(--ff-body);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body.dark {
  background: var(--nexi-ink);
  color: var(--nexi-white);
}
* { box-sizing: border-box; }

/* ─── App Shell ─────────────────────────────────────────── */
#app { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* ─── Nav ───────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 56px;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(10,22,40,0.06);
  padding: 14px 56px;
}
body.dark .nav.scrolled {
  background: rgba(10,22,40,0.72);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 20px; letter-spacing: -0.01em;
  cursor: pointer;
  color: inherit; text-decoration: none;
}
.nav-logo svg { width: 32px; height: 32px; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  padding: 10px 13px;
  font-size: 15px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.15s;
  cursor: pointer;
  background: transparent; border: 0;
  font-family: var(--ff-body);
  opacity: 0.8;
  white-space: nowrap;
}
/* 7 entrées de menu : resserrer la nav sur les largeurs intermédiaires */
@media (max-width: 1360px) {
  .nav { padding-left: 32px; padding-right: 32px; }
  .nav.scrolled { padding-left: 32px; padding-right: 32px; }
  .nav-link { padding: 10px 10px; font-size: 14.5px; }
}
.nav-link:hover { background: rgba(10,22,40,0.06); opacity: 1; }
.nav-link.active { opacity: 1; font-weight: 700; }
body.dark .nav-link:hover { background: rgba(255,255,255,0.08); }

.nav-right { display: flex; align-items: center; gap: 20px; }

/* Audience Toggle */
.aud-toggle {
  display: inline-flex;
  background: rgba(10,22,40,0.06);
  border-radius: 999px;
  padding: 4px;
  position: relative;
}
body.dark .aud-toggle { background: rgba(255,255,255,0.08); }
.aud-toggle button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 8px 18px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
}
.aud-toggle button.active { opacity: 1; color: #fff; }
.aud-toggle .thumb {
  position: absolute;
  top: 4px; bottom: 4px;
  border-radius: 999px;
  background: var(--nexi-ink);
  transition: left 0.3s cubic-bezier(.4,1.3,.5,1), width 0.3s cubic-bezier(.4,1.3,.5,1);
  z-index: 0;
}
.aud-toggle .thumb.ent { background: var(--nexi-ink); }
.aud-toggle .thumb.part { background: var(--nexi-blue); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-body); font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  color: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--nexi-ink); color: #fff; }
.btn.primary:hover { box-shadow: 0 10px 30px rgba(10,22,40,0.25); }
.btn.gradient { background: var(--nexi-gradient); color: #fff; box-shadow: var(--shadow-blue); }
.btn.gradient:hover { box-shadow: 0 30px 70px rgba(11,95,255,0.45); }
.btn.outline { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.white { background: #fff; color: var(--nexi-ink); }
.btn.ghost { background: transparent; color: inherit; padding-left: 0; padding-right: 0; }
.btn.sm { padding: 10px 18px; font-size: 12px; }
.btn.lg { padding: 18px 36px; font-size: 17px; }

/* SVG icons inside buttons — prevent stretch in flex containers */
.btn > svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn.sm > svg { width: 14px; height: 14px; }
.btn.lg > svg { width: 18px; height: 18px; }

/* Eyebrow */
.eyebrow {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nexi-blue);
  margin: 0;
}
.eyebrow.dot::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--nexi-blue);
  margin-right: 10px;
  vertical-align: middle;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(11,95,255,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(11,95,255,0); }
}

.display {
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0;
}
.accent {
  background: var(--nexi-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent-sky { color: var(--nexi-sky); }
.accent-blue { color: var(--nexi-blue); }

/* Section */
section.page-section {
  padding: 120px 56px;
  max-width: 1440px;
  margin: 0 auto;
}
section.page-section.tight { padding: 80px 56px; }
section.page-section.wide { max-width: none; padding-left: 56px; padding-right: 56px; }

/* Hero */
.hero {
  position: relative;
  padding: 180px 56px 100px;
  max-width: 1440px;
  margin: 0 auto;
  overflow: visible;
}

/* Aurora background — animated brand-colored gradient sitting behind
   hero content. Applied selectively (not on home, not on legal pages).
   GPU-composited via background-position animation; ~0% CPU on modern
   hardware. Mask focuses the effect to the top-right corner so the
   typography keeps its contrast on the left side.

   The pseudo escapes the hero's max-width (1440px) by spanning the full
   viewport width, otherwise on wider screens the aurora was clipped at
   the hero's right edge with a sharp vertical cut. html/body already
   have overflow-x:hidden globally so 100vw is safe. */
.hero-aurora::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  background:
    repeating-linear-gradient(
      105deg,
      var(--nexi-blue) 0%,
      var(--nexi-blue) 7%,
      transparent 10%,
      transparent 12%,
      var(--nexi-cyan) 16%,
      transparent 22%,
      #6366F1 30%,
      transparent 36%,
      var(--nexi-blue) 42%
    );
  background-size: 200% 200%;
  filter: blur(40px);
  opacity: 0.30;
  animation: aurora-drift 60s linear infinite;
  will-change: background-position;
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at 88% 18%, #000 25%, transparent 72%);
          mask-image: radial-gradient(ellipse 55% 75% at 88% 18%, #000 25%, transparent 72%);
}
.hero-aurora > * { position: relative; z-index: 1; }

@keyframes aurora-drift {
  from { background-position: 0% 0%; }
  to   { background-position: 300% 0%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-aurora::before { animation: none; }
}
@media (max-width: 768px) {
  .hero-aurora::before {
    filter: blur(22px);
    opacity: 0.22;
    animation-duration: 90s;
  }
}
.hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.hero h1.display {
  font-size: 150px;
  line-height: 1.0;
}
.hero-aside {
  position: relative;
}
.hero-orb {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--nexi-gradient-radial);
  filter: blur(1px);
  animation: orb-float 10s ease-in-out infinite;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-10px, -20px) scale(1.03); }
}
.hero-orb::after {
  content: "";
  position: absolute; inset: -10%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 40%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--nexi-mist);
  align-items: start;
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.hero-stats > div::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nexi-blue);
  margin-bottom: 8px;
}
.hero-stats .s-num {
  font-family: var(--ff-display);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.005em;
  min-height: 56px;        /* enforce consistent baseline */
  display: flex;
  align-items: center;
}
.hero-stats .s-lbl {
  margin-top: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--nexi-ink);
  letter-spacing: 0.01em;
}
body.dark .hero-stats .s-lbl { color: var(--nexi-white); }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--nexi-mist);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card h3 {
  font-family: var(--ff-display); text-transform: uppercase; font-size: 28px;
  margin: 0; letter-spacing: -0.005em; font-weight: 400; line-height: 1.0;
}
.card p { font-size: 16px; color: var(--nexi-slate); line-height: 1.5; margin: 0; }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--nexi-bone);
  display: flex; align-items: center; justify-content: center;
  color: var(--nexi-blue);
}
.card .ico svg { width: 24px; height: 24px; }

body.dark .card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}
body.dark .card p { color: var(--nexi-steel); }
body.dark .card .ico { background: rgba(255,255,255,0.06); color: var(--nexi-sky); }

/* Mono */
.mono { font-family: var(--ff-mono); font-size: 13px; letter-spacing: 0; }

/* Section header */
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 48px; margin-bottom: 64px;
}
.sec-head h2 {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: 88px; line-height: 1.1; margin: 0; letter-spacing: -0.01em;
  font-weight: 400;
  max-width: 800px;
}
.sec-head p {
  max-width: 380px; font-size: 18px; color: var(--nexi-slate); margin: 0; line-height: 1.5;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 20px;
}
.bento > * {
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 560ms; }

/* Marquee */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 24px 0;
  border-top: 1px solid var(--nexi-mist);
  border-bottom: 1px solid var(--nexi-mist);
  background: var(--nexi-bone);
}
.marquee-track {
  display: flex; gap: 72px;
  animation: marquee 45s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--ff-display);
  text-transform: uppercase;
  font-size: 36px;
  color: var(--nexi-slate);
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  gap: 72px;
  letter-spacing: -0.005em;
}
.marquee-item::after {
  content: "●";
  color: var(--nexi-blue);
  font-size: 14px;
  margin-left: 72px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--nexi-mist);
  padding: 28px 0;
  cursor: pointer;
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px;
  font-family: var(--ff-display);
  text-transform: uppercase;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--nexi-ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, background 0.3s, color 0.3s;
  font-size: 20px;
}
.faq-item[open] .plus {
  transform: rotate(45deg);
  background: var(--nexi-ink);
  color: #fff;
}
.faq-item .a {
  padding-top: 16px;
  color: var(--nexi-slate);
  font-size: 18px;
  line-height: 1.6;
  max-width: 760px;
}

/* Footer */
footer.site-footer {
  background: var(--nexi-ink);
  color: #fff;
  padding: 120px 56px 40px;
  margin-top: 0;
}
footer .inner { max-width: 1440px; margin: 0 auto; }
footer .ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
footer h3 {
  font-family: var(--ff-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 20px;
  font-weight: 700;
}
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
footer ul a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 15px; transition: color 0.15s; cursor: pointer; }
footer ul a:hover { color: var(--nexi-sky); }
footer .copy { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; font-size: 13px; color: rgba(255,255,255,0.5); }
footer .ft-big {
  font-family: var(--ff-display);
  text-transform: uppercase;
  font-size: 160px;
  line-height: 1.0;
  margin: 80px 0 40px;
  color: rgba(255,255,255,0.04);
  letter-spacing: -0.01em;
  text-align: left;
}

/* Chatbot */
.chatbot-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--nexi-gradient);
  box-shadow: var(--shadow-blue);
  border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: transform 0.2s;
  animation: fab-pulse 3s infinite;
}
.chatbot-fab:hover { transform: scale(1.08); }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 20px 40px rgba(11,95,255,0.35), 0 0 0 0 rgba(11,95,255,0.4); }
  50% { box-shadow: 0 20px 40px rgba(11,95,255,0.35), 0 0 0 16px rgba(11,95,255,0); }
}
.chatbot-panel {
  position: fixed; bottom: 110px; right: 28px; z-index: 90;
  width: 420px; max-height: 600px;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--nexi-mist);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: popup 0.25s cubic-bezier(.5,1.5,.5,1);
}
@keyframes popup {
  from { opacity: 0; transform: scale(0.85) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cb-head {
  padding: 20px 24px;
  background: var(--nexi-ink); color: #fff;
  display: flex; align-items: center; gap: 12px;
}
.cb-head .cb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--nexi-success); }
.cb-body {
  flex: 1; padding: 20px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--nexi-bone);
  max-height: 420px;
  min-height: 280px;
}
.cb-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.4;
  animation: msgin 0.3s ease;
}
@keyframes msgin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.cb-msg.bot { background: #fff; border: 1px solid var(--nexi-mist); align-self: flex-start; border-bottom-left-radius: 4px; }
.cb-msg.user { background: var(--nexi-ink); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.cb-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cb-quick button {
  font-family: var(--ff-body); font-size: 13px; font-weight: 600;
  padding: 8px 14px; border: 1px solid var(--nexi-mist); background: #fff;
  border-radius: 999px; cursor: pointer; color: var(--nexi-ink);
  transition: background 0.15s, border-color 0.15s;
}
.cb-quick button:hover { background: var(--nexi-ink); color: #fff; border-color: var(--nexi-ink); }
.cb-input { display: flex; gap: 8px; padding: 16px; border-top: 1px solid var(--nexi-mist); background: #fff; }
.cb-input input {
  flex: 1; padding: 12px 16px; border: 1px solid var(--nexi-mist);
  border-radius: 999px; font-family: var(--ff-body); font-size: 14px;
  outline: none; transition: border-color 0.15s;
}
.cb-input input:focus { border-color: var(--nexi-blue); }
.cb-input button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--nexi-ink); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.cb-typing { display: inline-flex; gap: 4px; }
.cb-typing span {
  width: 6px; height: 6px; background: var(--nexi-slate); border-radius: 50%;
  animation: typing 1s infinite;
}
.cb-typing span:nth-child(2) { animation-delay: 0.15s; }
.cb-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* Forms */
.field {
  display: flex; flex-direction: column; gap: 8px;
}
.field label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--nexi-slate);
}
.field input, .field textarea, .field select {
  font-family: var(--ff-body); font-size: 16px;
  padding: 16px 18px;
  border: 1.5px solid var(--nexi-mist);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--nexi-ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--nexi-blue);
  box-shadow: 0 0 0 4px rgba(11,95,255,0.12);
}

/* Tag */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--nexi-bone);
  font-size: 12px; font-weight: 600;
  color: var(--nexi-slate);
  border: 1px solid var(--nexi-mist);
}
.tag.blue { background: rgba(11,95,255,0.08); border-color: transparent; color: var(--nexi-blue); }
.tag.cyan { background: rgba(34,211,238,0.12); border-color: transparent; color: var(--nexi-blue-deep); }

/* Tweaks panel */
.tweaks-panel {
  position: fixed; top: 80px; right: 20px; bottom: 20px;
  z-index: 200;
  width: 320px;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--nexi-mist);
  box-shadow: var(--shadow-lg);
  padding: 0;
  font-family: var(--ff-body);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.tweaks-panel-head {
  padding: 16px 20px; border-bottom: 1px solid var(--nexi-mist);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--nexi-bone);
}
.tweaks-panel-head h6 {
  margin: 0; font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--nexi-blue);
}
.tweaks-panel-head .reset-btn {
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--nexi-slate); padding: 4px 8px; border-radius: 6px;
  letter-spacing: 0.05em;
}
.tweaks-panel-head .reset-btn:hover { background: rgba(10,22,40,0.06); color: var(--nexi-ink); }
.tweaks-panel-body {
  flex: 1; overflow-y: auto; padding: 8px 20px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--nexi-mist) transparent;
}
.tweaks-panel-body::-webkit-scrollbar { width: 6px; }
.tweaks-panel-body::-webkit-scrollbar-thumb { background: var(--nexi-mist); border-radius: 3px; }
.tweak-section {
  padding: 16px 0; border-bottom: 1px dashed var(--nexi-mist);
  display: flex; flex-direction: column; gap: 14px;
}
.tweak-section:last-child { border-bottom: 0; }
.tweak-section-title {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--nexi-blue);
  display: flex; align-items: center; gap: 8px;
}
.tweak-section-title::before {
  content: ""; display: inline-block; width: 10px; height: 1px;
  background: var(--nexi-blue);
}
.tweak-section-title::after {
  content: ""; flex: 1; height: 1px; background: var(--nexi-mist);
}
.tweak-row {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
}
.tweak-row label { font-weight: 600; color: var(--nexi-slate); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.tweak-row .val-readout { font-family: var(--ff-mono); font-size: 11px; color: var(--nexi-ink); float: right; font-weight: 400; letter-spacing: 0; text-transform: none; }
.tweak-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tweak-chips.swatches { gap: 8px; }
.tweak-chips button {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--nexi-mist);
  background: #fff; cursor: pointer;
  font-size: 12px; font-weight: 600;
  color: var(--nexi-ink);
}
.tweak-chips button.on { background: var(--nexi-ink); color: #fff; border-color: var(--nexi-ink); }
.tweak-chips.swatches button {
  width: 28px; height: 28px; padding: 0; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 0 0 1px var(--nexi-mist); position: relative;
}
.tweak-chips.swatches button.on { box-shadow: 0 0 0 2px var(--nexi-ink); }
.tweak-row input[type=range] { accent-color: var(--nexi-blue); width: 100%; }
.tweak-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0;
}
.tweak-toggle label { margin: 0; }
.tweak-switch {
  width: 36px; height: 20px; border-radius: 999px;
  background: var(--nexi-mist); border: 0; cursor: pointer;
  position: relative; transition: background 0.2s;
  flex: 0 0 auto;
}
.tweak-switch::after {
  content: ""; position: absolute;
  top: 2px; left: 2px; width: 16px; height: 16px;
  background: #fff; border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.tweak-switch.on { background: var(--nexi-blue); }
.tweak-switch.on::after { transform: translateX(16px); }
.tweak-seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: var(--nexi-bone); border-radius: 8px; padding: 3px; gap: 0;
}
.tweak-seg button {
  background: transparent; border: 0; padding: 6px 8px;
  font-size: 11px; font-weight: 600; cursor: pointer;
  color: var(--nexi-slate); border-radius: 6px;
  font-family: var(--ff-body); letter-spacing: 0.02em;
}
.tweak-seg button.on { background: #fff; color: var(--nexi-ink); box-shadow: var(--shadow-sm); }
.tweak-textinput {
  font-family: var(--ff-body); font-size: 12px;
  padding: 8px 10px; border: 1px solid var(--nexi-mist);
  border-radius: 6px; background: #fff; color: var(--nexi-ink);
  width: 100%; outline: 0;
}
.tweak-textinput:focus { border-color: var(--nexi-blue); box-shadow: 0 0 0 3px rgba(11,95,255,0.12); }

/* ─── Tweak-driven body modifiers ──────────────────────────────────── */
body[data-radius="sharp"]   { --r-sm: 0px; --r-md: 0px; --r-lg: 0px; --r-xl: 0px; --r-pill: 0px; }
body[data-radius="soft"]    { --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 32px; --r-pill: 999px; }
body[data-radius="round"]   { --r-sm: 12px; --r-md: 20px; --r-lg: 32px; --r-xl: 48px; --r-pill: 999px; }

body[data-shadows="none"]   { --shadow-sm: none; --shadow-md: none; --shadow-lg: none; --shadow-blue: none; }
body[data-shadows="soft"]   { --shadow-sm: 0 1px 2px rgba(10,22,40,0.05); --shadow-md: 0 6px 18px rgba(10,22,40,0.08); --shadow-lg: 0 16px 40px rgba(10,22,40,0.10); --shadow-blue: 0 16px 40px rgba(11,95,255,0.18); }
body[data-shadows="hard"]   { --shadow-sm: 2px 2px 0 var(--nexi-ink); --shadow-md: 4px 4px 0 var(--nexi-ink); --shadow-lg: 8px 8px 0 var(--nexi-ink); --shadow-blue: 8px 8px 0 var(--nexi-blue); }

body[data-anim="off"] *, body[data-anim="off"] *::before, body[data-anim="off"] *::after {
  animation-duration: 0s !important; animation-iteration-count: 1 !important;
  transition-duration: 0s !important;
}
body[data-anim="reduced"] *, body[data-anim="reduced"] *::before, body[data-anim="reduced"] *::after {
  animation-duration: 0.6s !important;
  transition-duration: 0.1s !important;
}

body[data-grain="on"]::before {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.06; mix-blend-mode: multiply;
}

body[data-uppercase="on"] .h-title, body[data-uppercase="on"] .h2, body[data-uppercase="on"] h1, body[data-uppercase="on"] h2 { text-transform: uppercase !important; }
body[data-uppercase="off"] .h-title, body[data-uppercase="off"] .h2, body[data-uppercase="off"] h1, body[data-uppercase="off"] h2 { text-transform: none !important; }

body[data-display-font="anton"]    { --ff-display: "Anton", "Archivo Black", Impact, sans-serif; }
body[data-display-font="archivo"]  { --ff-display: "Archivo Black", Impact, sans-serif; }
body[data-display-font="serif"]    { --ff-display: "Fraunces", "Playfair Display", Georgia, serif; }
body[data-display-font="mono"]     { --ff-display: "JetBrains Mono", ui-monospace, monospace; }
body[data-display-font="space"]    { --ff-display: "Space Grotesk", "Inter", sans-serif; }

body[data-body-font="inter"]       { --ff-body: "Inter", -apple-system, sans-serif; }
body[data-body-font="serif"]       { --ff-body: "Fraunces", Georgia, serif; }
body[data-body-font="space"]       { --ff-body: "Space Grotesk", "Inter", sans-serif; }
body[data-body-font="system"]      { --ff-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

body[data-cursor="custom"] { cursor: none; }
body[data-cursor="custom"] .nx-cursor { display: block; }
.nx-cursor {
  display: none;
  position: fixed; pointer-events: none; z-index: 9999;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--nexi-blue); mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}

/* Step / Process */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  counter-reset: step;
}
.step {
  padding: 32px 24px 32px 0;
  border-left: 1px solid var(--nexi-mist);
  padding-left: 24px;
  counter-increment: step;
  position: relative;
}
.step::before {
  content: "0" counter(step);
  font-family: var(--ff-display);
  font-size: 72px;
  color: var(--nexi-mist);
  display: block;
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s;
}
.step:hover::before { color: var(--nexi-blue); }
.step h3 {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: 22px; margin: 0 0 8px; font-weight: 400; letter-spacing: -0.005em;
}
.step p { font-size: 14px; color: var(--nexi-slate); margin: 0; line-height: 1.5; }

/* Testimonial */
.testimonial {
  background: #fff;
  border: 1px solid var(--nexi-mist);
  border-radius: var(--r-lg);
  padding: 40px;
  display: flex; flex-direction: column; gap: 24px;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--nexi-ink);
  letter-spacing: -0.01em;
}
.testimonial .who {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px; border-top: 1px solid var(--nexi-mist);
}
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--nexi-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px;
}

/* Placeholder image */
.placeholder-img {
  background:
    repeating-linear-gradient(
      45deg,
      var(--nexi-mist) 0 12px,
      var(--nexi-bone) 12px 24px
    );
  border: 1px solid var(--nexi-mist);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--nexi-slate);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 240px;
}

/* Utility */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.four-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Numbered list */
.kpi {
  display: flex; flex-direction: column; gap: 6px;
}
.kpi .n {
  font-family: var(--ff-display);
  font-size: 64px; line-height: 1.0;
  letter-spacing: -0.01em;
}
.kpi .l {
  font-size: 13px; color: var(--nexi-slate);
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
}

/* Audit calc */
.audit-wrap {
  background: var(--nexi-ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.audit-wrap::before {
  content: "";
  position: absolute;
  right: -100px; bottom: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--nexi-gradient-radial);
  opacity: 0.6;
  filter: blur(20px);
  pointer-events: none;
}
.audit-field {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative; z-index: 1;
}
.audit-field:first-child { padding-top: 0; }
.audit-field:last-child { border-bottom: 0; padding-bottom: 0; }
.audit-field .lbl {
  display: flex; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700;
}
.audit-field .val { color: var(--nexi-cyan); font-family: var(--ff-mono); }
.audit-field .question { font-size: 18px; font-weight: 500; }
.audit-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.audit-chips button {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s;
}
.audit-chips button:hover { background: rgba(255,255,255,0.15); }
.audit-chips button.sel { background: var(--nexi-blue); border-color: var(--nexi-blue); }
.audit-slider {
  width: 100%; accent-color: var(--nexi-cyan);
}
.audit-result {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 14px;
  justify-content: center;
}
.audit-eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.audit-score {
  font-family: var(--ff-display);
  font-size: 88px; line-height: 1.0;
  background: var(--nexi-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.audit-suffix {
  font-size: 22px;
  margin-left: 8px;
  font-family: var(--ff-display);
  opacity: 0.7;
  -webkit-text-fill-color: initial;
  background: var(--nexi-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.audit-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}
.audit-summary .audit-money {
  color: var(--nexi-cyan);
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.audit-summary .audit-tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  color: #fff;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.audit-disclaimer {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.42);
  line-height: 1.5;
  margin-top: 2px;
}
.audit-result .btn { align-self: flex-start; }
.audit-bar {
  display: none; /* removed in compact layout */
}

/* Case study card */
.case-card {
  background: #fff;
  border: 1px solid var(--nexi-mist);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card .img {
  aspect-ratio: 4/3;
  background: var(--nexi-gradient-radial);
  position: relative;
  display: flex; align-items: flex-end;
  padding: 24px;
  color: #fff;
  font-family: var(--ff-display);
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.case-card .case-label {
  position: relative;
  z-index: 2;
  max-width: 70%;
}
.case-card .case-illu {
  position: absolute;
  top: 24px;
  right: 20px;
  width: 96px;
  height: 96px;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.4s cubic-bezier(0.34, 1.4, 0.5, 1);
}
.case-card:hover .case-illu {
  opacity: 0.75;
  transform: scale(1.06) rotate(-2deg);
}
.case-card .meta { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.case-card .meta .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.case-card .meta h3 {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: 24px; margin: 0; font-weight: 400; letter-spacing: -0.005em;
}
.case-card .result {
  display: flex; gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--nexi-mist);
  margin-top: 4px;
}
.case-card .result .k { flex: 1; }
.case-card .result .v {
  font-family: var(--ff-display); font-size: 28px; line-height: 1;
  color: var(--nexi-blue);
}
.case-card .result .l { font-size: 11px; color: var(--nexi-slate); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* CTA band */
.cta-band {
  background: var(--nexi-ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 80px 56px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -150px; top: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--nexi-gradient-radial);
  opacity: 0.7;
  filter: blur(10px);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: 72px; line-height: 1.0; margin: 0; font-weight: 400;
  letter-spacing: -0.01em;
}

/* Team */
.person {
  display: flex; flex-direction: column; gap: 14px;
}
.person .photo {
  aspect-ratio: 4/5;
  background: var(--nexi-gradient-radial);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 20px;
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.person .photo::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 8px, transparent 8px 16px);
}
.person h3 { font-family: var(--ff-body); font-size: 20px; font-weight: 700; margin: 0; }
.person .role { font-size: 14px; color: var(--nexi-slate); }

/* Holographic 3D person card */
.person-3d {
  --mx: 50%;
  --my: 50%;
  position: relative;
  padding: 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--nexi-mist);
  transform: perspective(1100px) rotateX(0deg) rotateY(0deg);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
  will-change: transform;
  overflow: hidden;
  isolation: isolate;
}
.person-3d:hover {
  box-shadow: 0 30px 70px -25px rgba(11, 95, 255, 0.35), 0 8px 20px -8px rgba(34, 211, 238, 0.18);
}
.person-3d::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--mx) var(--my),
    rgba(34, 211, 238, 0.22),
    rgba(11, 95, 255, 0.10) 35%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}
.person-3d::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(11, 95, 255, 0.10) 45%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(34, 211, 238, 0.10) 55%,
    transparent 70%
  );
  background-size: 220% 220%;
  background-position: var(--mx) var(--my);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 1;
}
.person-3d:hover::before,
.person-3d:hover::after { opacity: 1; }
.person-3d .holo-shine {
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      180px circle at var(--mx) var(--my),
      rgba(255, 255, 255, 0.55),
      rgba(255, 255, 255, 0) 60%
    );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  mix-blend-mode: soft-light;
  z-index: 2;
}
.person-3d:hover .holo-shine { opacity: 1; }
.person-3d .person-3d-photo,
.person-3d .person-3d-body {
  position: relative;
  z-index: 3;
  transform: translateZ(20px);
}
.person-3d .person-3d-photo {
  transform: translateZ(40px);
  box-shadow: 0 18px 40px -18px rgba(10, 22, 40, 0.5);
}

@media (max-width: 960px) {
  .person-3d { transform: none !important; padding: 20px; }
  .person-3d { grid-template-columns: 180px 1fr !important; gap: 20px !important; }
  .person-3d .person-3d-photo,
  .person-3d .person-3d-body { transform: none; }
}
@media (max-width: 600px) {
  .person-3d { grid-template-columns: 1fr !important; }
}

/* ─── Services / Parcours page ─── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: flex-start;
}
.services-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 100px;
}
.services-nav-btn {
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--nexi-ink);
  padding: 20px 24px;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--ff-body);
  transition: background 0.2s, color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.services-nav-btn.active { background: var(--nexi-ink); color: #fff; }
.services-nav-btn .num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.5;
}
.services-nav-btn .title {
  font-family: var(--ff-display);
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1;
}
.services-nav-btn .sub { font-size: 13px; opacity: 0.6; }
.services-nav-btn.active .sub { opacity: 0.7; }

.services-detail {
  padding: 40px 48px;
  background: var(--nexi-bone);
  border-radius: 20px;
  min-height: 500px;
}
.services-detail-title { font-size: 72px; margin-top: 16px; }
.services-detail-long {
  font-size: 20px;
  color: var(--nexi-slate);
  margin-top: 20px;
  line-height: 1.5;
}
.services-detail-cta {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .services-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .services-nav-btn {
    flex: 0 0 auto;
    min-width: 240px;
    padding: 16px 18px;
    border: 1px solid var(--nexi-mist);
    scroll-snap-align: start;
  }
  .services-nav-btn.active { border-color: transparent; }
  .services-nav-btn .title { font-size: 20px; }
  .services-detail { padding: 28px 24px; min-height: 0; }
  .services-detail-title { font-size: 48px; }
  .services-detail-long { font-size: 17px; }
}
@media (max-width: 600px) {
  .services-detail { padding: 24px 20px; }
  .services-detail-title { font-size: 36px; }
  .services-detail-long { font-size: 16px; }
  .services-detail-cta .btn { width: 100%; }
}

/* Pricing */
.plan {
  display: flex; flex-direction: column; gap: 20px;
  padding: 40px 32px;
  border: 1px solid var(--nexi-mist);
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.featured {
  background: var(--nexi-ink);
  color: #fff;
  border-color: transparent;
  position: relative;
}
.plan.featured::before {
  content: "POPULAIRE";
  position: absolute;
  top: 20px; right: 20px;
  background: var(--nexi-gradient);
  color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  padding: 6px 12px; border-radius: 999px;
}
.plan h3 {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: 24px; font-weight: 400; margin: 0; letter-spacing: -0.005em;
}
.plan .price {
  font-family: var(--ff-display);
  font-size: 72px; line-height: 1.0;
  letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 8px;
}
.plan .price .unit { font-size: 16px; font-family: var(--ff-body); color: var(--nexi-slate); font-weight: 600; }
.plan.featured .price .unit { color: var(--nexi-steel); }
.plan ul.incl { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.plan ul.incl li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.plan ul.incl li::before { content: "→"; color: var(--nexi-blue); font-weight: 700; flex-shrink: 0; }
.plan.featured ul.incl li::before { color: var(--nexi-cyan); }

/* Timeline vertical */
.timeline {
  display: flex; flex-direction: column; gap: 0;
  border-left: 2px solid var(--nexi-mist);
  padding-left: 40px;
  margin-left: 20px;
}
.timeline-item {
  padding: 28px 0;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -48px;
  top: 36px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--nexi-blue);
}
.timeline-item .when {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--nexi-blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.timeline-item h3 {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: 28px; margin: 8px 0 8px; font-weight: 400;
}
.timeline-item p { font-size: 15px; color: var(--nexi-slate); margin: 0; }

/* Rotating word (animated headline cycler) */
.rotating-word {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  overflow: hidden;
  padding: 0.04em 0.04em 0.18em;
  line-height: inherit;
  max-width: 100%;
}
.rotating-word-spacer {
  visibility: hidden;
  display: block;
  pointer-events: none;
  white-space: normal;
  overflow-wrap: break-word;
}
.rotating-word-item {
  position: absolute;
  left: 0.04em;
  top: 0.04em;
  right: 0.04em;
  will-change: transform, opacity;
  transition: transform 0.7s cubic-bezier(0.34, 1.4, 0.5, 1), opacity 0.45s ease;
}
.rotating-word-active { transform: translateY(0);     opacity: 1; }
.rotating-word-past   { transform: translateY(-130%); opacity: 0; }
.rotating-word-future { transform: translateY(130%);  opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .rotating-word-item { transition: opacity 0.2s ease; transform: translateY(0); }
  .rotating-word-past, .rotating-word-future { opacity: 0; }
}
/* On narrow viewports the longest rotating word can exceed the h1 width.
   Force the container to block-level so the (block) spacer defines a real
   multi-line height — otherwise the absolutely-positioned active word
   wraps to N lines while the inline-block parent only reserves 1, and
   overflow:hidden clips the bottom lines. */
@media (max-width: 960px) {
  .rotating-word { display: block; width: 100%; }
}

/* ─── Testimonials marquee (3 columns, infinite vertical scroll) ────── */
.testimonials-marquee {
  display: flex;
  gap: 24px;
  max-height: 720px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}
.tcol {
  flex: 1;
  min-width: 0;
}
.tcol-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: tcol-scroll linear infinite;
  will-change: transform;
}
@keyframes tcol-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--nexi-mist);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(11, 95, 255, 0.06), 0 2px 6px rgba(10, 22, 40, 0.04);
  flex-shrink: 0;
}
body.dark .testimonial-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.30);
}
.testimonial-card .t-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--nexi-ink);
  margin: 0;
  letter-spacing: -0.005em;
}
body.dark .testimonial-card .t-text { color: var(--nexi-white); }
.testimonial-card .t-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.testimonial-card .t-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-card .t-name {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--nexi-ink);
}
body.dark .testimonial-card .t-name { color: var(--nexi-white); }
.testimonial-card .t-role {
  font-size: 13px;
  color: var(--nexi-slate);
  margin-top: 1px;
}
@media (max-width: 1024px) {
  .tcol-2 { display: none; }
}
@media (max-width: 768px) {
  .tcol-3 { display: none; }
  .testimonials-marquee { max-height: 600px; gap: 16px; }
  .testimonial-card { padding: 22px; }
}

/* ─── Skew Cards (cas clients — gradient panels on white bg) ──────── */
.cas-skew-section {
  /* Match site harmony: light bg with subtle brand-tinted halos */
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(11, 95, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 92% 100%, rgba(34, 211, 238, 0.05) 0%, transparent 60%),
    var(--nexi-bone);
  color: var(--nexi-ink);
  margin: 0 auto;
  max-width: none;
  padding: 120px 56px;
  border-radius: 0;
}
.skew-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px 30px;
}
.skew-card {
  position: relative;
  width: 320px;
  height: 460px;
  transition: all 0.5s ease;
  cursor: pointer;
}
.skew-panel,
.skew-glow {
  position: absolute;
  top: 0;
  left: 50px;
  width: 50%;
  height: 100%;
  border-radius: 12px;
  transform: skewX(15deg);
  transition: all 0.5s ease;
}
.skew-glow {
  filter: blur(30px);
}
.skew-card:hover .skew-panel,
.skew-card:hover .skew-glow {
  transform: skewX(0deg);
  left: 20px;
  width: calc(100% - 90px);
}
/* Brand gradient variants — straight from tokens.css */
.skew-grad-signature { background: linear-gradient(315deg, #0437C4 0%, #0B5FFF 35%, #4FB8E8 75%, #22D3EE 100%); }
.skew-grad-logo      { background: linear-gradient(315deg, #4FB8E8 0%, #0B5FFF 60%, #0437C4 100%); }
.skew-grad-deep      { background: linear-gradient(315deg, #0437C4 0%, #0B5FFF 50%, #22D3EE 100%); }

/* Soft brand-tinted blobs at corners (animate in on hover) */
.skew-blob {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 12px;
  background: rgba(11, 95, 255, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(10, 22, 40, 0.10);
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease;
  z-index: 10;
}
.skew-blob.tl { top: 0; left: 0; }
.skew-blob.br { bottom: 0; right: 0; transition-delay: 0.1s; }
.skew-card:hover .skew-blob.tl {
  top: -50px;
  left: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
  animation: skew-blob-float 2.6s ease-in-out 0.2s infinite;
}
.skew-card:hover .skew-blob.br {
  bottom: -50px;
  right: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
  animation: skew-blob-float 2.6s ease-in-out 1.3s infinite;
}
@keyframes skew-blob-float {
  0%, 100% { transform: translateY(8px); }
  50%      { transform: translateY(-8px); }
}

/* Translucent content card on top of gradient panel — light frosted glass */
.skew-content {
  position: relative;
  z-index: 20;
  left: 0;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.10), 0 4px 12px rgba(10, 22, 40, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: var(--nexi-ink);
  transition: all 0.5s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.skew-card:hover .skew-content {
  left: -25px;
  padding: 56px 32px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 48px rgba(10, 22, 40, 0.14), 0 8px 20px rgba(11, 95, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.skew-content .case-tag {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nexi-blue);
  font-weight: 700;
  margin: 0;
}
.skew-content h3 {
  font-family: var(--ff-display);
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  margin: 4px 0 0;
  letter-spacing: -0.005em;
  color: var(--nexi-ink);
  font-weight: 400;
}
.skew-content p.skew-desc {
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  color: var(--nexi-slate);
  flex: 1;
}
.skew-content .skew-metrics {
  display: flex;
  gap: 16px;
  padding: 10px 0 0;
  border-top: 1px solid var(--nexi-mist);
}
.skew-content .skew-metrics .k { flex: 1; }
.skew-content .skew-metrics .v {
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: -0.005em;
  line-height: 1;
  color: var(--nexi-ink);
}
.skew-content .skew-metrics .l {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nexi-slate);
  margin-top: 4px;
}
.skew-content .skew-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--nexi-ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid var(--nexi-ink);
  transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s;
  cursor: pointer;
}
.skew-content .skew-cta:hover {
  background: var(--nexi-blue);
  border-color: var(--nexi-blue);
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .cas-skew-section { padding: 80px 32px; }
  .skew-grid { gap: 48px 20px; }
}
@media (max-width: 640px) {
  .cas-skew-section { padding: 60px 16px; }
  .skew-card { width: 100%; max-width: 340px; height: 440px; }
  .skew-card:hover .skew-content { left: -16px; }
}

/* ─── Tilt 3D card (parallax + brand-tinted spotlight) ──────────────── */
.tilt-card {
  border-radius: var(--r-lg);
  height: 100%;
  will-change: transform;
}
.tilt-card > .card,
.tilt-card > .case-card,
.tilt-card > .testimonial,
.tilt-card > .plan {
  height: 100%;
  transition: box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
/* Neutralise existing hover lifts so they don't fight the tilt transform */
.tilt-card > .card:hover,
.tilt-card > .case-card:hover,
.tilt-card > .testimonial:hover,
.tilt-card > .plan:hover {
  transform: none;
  box-shadow: 0 24px 60px rgba(11, 95, 255, 0.18), 0 8px 20px rgba(10, 22, 40, 0.10);
  border-color: transparent;
}
.tilt-card-spot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
  border-radius: inherit;
  transition: opacity 0.3s ease;
}
.tilt-card-spot-inner {
  position: absolute;
  width: 200%;
  height: 200%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(11, 95, 255, 0.18) 0%,
    rgba(34, 211, 238, 0.08) 30%,
    transparent 50%
  );
}
body.dark .tilt-card-spot-inner {
  background: radial-gradient(
    circle,
    rgba(79, 184, 232, 0.22) 0%,
    rgba(34, 211, 238, 0.10) 30%,
    transparent 50%
  );
}
/* Reduced motion + touch devices: disable tilt + spotlight */
@media (prefers-reduced-motion: reduce), (hover: none) {
  .tilt-card { transform: none !important; transition: none !important; }
  .tilt-card-spot { display: none; }
}
@media (max-width: 640px) {
  .tilt-card-spot { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Responsive layer
   Inline fontSize values in JSX require !important to override.
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Burger menu (hidden by default, shown on tablet/mobile) ───────── */
.nav-burger {
  display: none;
  background: transparent;
  border: 0;
  width: 36px; height: 36px;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  color: inherit;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-cta { display: none; }

/* ─── Tablet & smaller (≤ 1024px) ───────────────────────────────────── */
/* Nav : bascule burger. Seuil à 1280px depuis l'ajout de nexIAcademy
   (7 entrées : la barre complète a besoin d'environ 1270px). */
@media (max-width: 1280px) {
  .nav { padding: 14px 24px; gap: 12px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav-burger { display: flex; }
  .hide-mobile { display: none !important; }

  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px) saturate(1.2);
    padding: 12px;
    gap: 4px;
    border-top: 1px solid var(--nexi-mist);
    box-shadow: 0 12px 30px rgba(10,22,40,0.10);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    text-align: left;
    font-size: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    width: 100%;
    white-space: normal;
  }
  .nav-mobile-cta {
    display: inline-flex !important;
    margin-top: 8px;
    align-self: stretch;
    justify-content: center;
  }
  body.dark .nav-links {
    background: rgba(10,22,40,0.97);
    border-top-color: rgba(255,255,255,0.08);
  }
}

@media (max-width: 1024px) {
  /* Hero */
  .hero { padding: 130px 32px 60px; }
  .hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .hero h1.display { font-size: clamp(56px, 9vw, 110px) !important; line-height: 1.02 !important; }
  .hero p { font-size: 18px !important; }
  .hero-aside > div { padding: 0 !important; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; padding-top: 32px; margin-top: 40px; }
  .hero-stats .s-num { font-size: 48px; }

  /* Sections */
  section.page-section { padding: 80px 32px; }
  section.page-section.tight { padding: 56px 32px; }
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 48px;
  }
  .sec-head h2 { font-size: 56px; }
  .sec-head p { font-size: 16px; max-width: none; }

  /* Grid utilities */
  .three-col { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .four-col  { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .two-col   { grid-template-columns: 1fr; gap: 32px; }

  /* Steps / process */
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { padding: 24px 16px 24px 16px; }
  .step::before { font-size: 56px; }

  /* Audit calculator */
  .audit-wrap {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 24px;
  }
  .audit-score { font-size: 72px !important; }
  .audit-suffix { font-size: 18px !important; }

  /* CTA band */
  .cta-band {
    grid-template-columns: 1fr;
    padding: 56px 32px;
    gap: 32px;
  }
  .cta-band h2 { font-size: 48px !important; }

  /* Footer */
  footer.site-footer { padding: 80px 32px 32px; }
  footer .ft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  footer .ft-big { font-size: 96px; margin: 60px 0 32px; }

  /* Marquee */
  .marquee-item { font-size: 24px; gap: 48px; }
  .marquee-item::after { margin-left: 48px; }

  /* FAQ */
  .faq-item summary { font-size: 24px; gap: 16px; }
  .faq-item .plus { width: 36px; height: 36px; font-size: 18px; }

  /* Services / Méthode / Contact: 2-col layouts collapse */
  section.page-section [style*="grid-template-columns: 1fr 2fr"],
  section.page-section [style*="grid-template-columns:1fr 2fr"],
  section.page-section [style*="grid-template-columns: 1.2fr 1fr"],
  section.page-section [style*="grid-template-columns:1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  /* Sticky sidebars become non-sticky on mobile */
  section.page-section [style*="position:sticky"],
  section.page-section [style*="position: sticky"] {
    position: static !important;
  }

  /* Testimonials */
  .testimonial { padding: 28px; }
  .testimonial blockquote { font-size: 20px; }

  /* Plan cards */
  .plan { padding: 32px 24px; }
  .plan .price { font-size: 56px; }

  /* Timeline */
  .timeline { margin-left: 8px; padding-left: 28px; }
  .timeline-item h3 { font-size: 22px; }

  /* Tweaks panel — hide on mobile, mostly a dev tool */
  .tweaks-panel {
    width: calc(100vw - 32px);
    right: 16px;
    left: 16px;
    top: auto;
    bottom: 16px;
    max-height: 70vh;
  }
}

/* ─── Mobile (≤ 640px) ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Nav */
  .nav { padding: 12px 16px; }
  .nav.scrolled { padding: 10px 16px; }
  .nav-logo span { display: none; }
  .aud-toggle button { padding: 7px 12px; font-size: 11px; }

  /* Hero */
  .hero { padding: 110px 20px 48px; }
  .hero h1.display { font-size: clamp(40px, 11vw, 68px) !important; }
  .hero p { font-size: 16px !important; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero-stats .s-num { font-size: 40px; }

  /* Sections */
  section.page-section { padding: 28px 20px; }
  section.page-section.tight { padding: 20px 20px; }
  .sec-head { margin-bottom: 24px; gap: 16px; }
  .sec-head h2 { font-size: 40px; line-height: 1.1; }
  .display { line-height: 1.05; }
  .h-title { line-height: 1.0; }
  .h2 { line-height: 1.0; }

  /* Cards: less internal padding so stacked cards don't add to inter-section blank */
  .card { padding: 22px; gap: 12px; }

  /* Grids — single column */
  .three-col { grid-template-columns: 1fr; gap: 16px; }
  .four-col  { grid-template-columns: 1fr; gap: 16px; }

  /* Steps */
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--nexi-mist); padding: 24px 0; }
  .step::before { font-size: 48px; margin-bottom: 12px; }

  /* Audit calculator — futuristic mobile redesign (Option A: hero-first) */
  .audit-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, var(--nexi-ink) 0%, var(--nexi-ink-2) 100%);
  }
  .audit-wrap::before {
    /* Soften the giant blur orb on mobile */
    width: 280px; height: 280px;
    right: -80px; bottom: -80px;
    opacity: 0.45;
  }
  /* Promote inputs wrapper to transparent container so children become flex items */
  .audit-wrap > div:first-child {
    display: contents;
  }

  /* HERO RESULT — first, glass card with glow */
  .audit-result {
    order: -1;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 22px 18px 18px;
    background:
      radial-gradient(120% 100% at 50% 0%, rgba(34,211,238,0.18) 0%, transparent 65%),
      linear-gradient(135deg, rgba(11,95,255,0.18), rgba(34,211,238,0.10));
    border: 1px solid rgba(34,211,238,0.22);
    border-radius: 16px;
    box-shadow:
      0 8px 32px rgba(11,95,255,0.18),
      inset 0 1px 0 rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .audit-eyebrow {
    font-size: 10px;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.55);
  }
  .audit-score {
    font-size: 72px !important;
    line-height: 1.0;
    margin: 2px 0;
  }
  .audit-suffix { font-size: 18px !important; margin-left: 6px !important; }
  .audit-summary {
    justify-content: center;
    font-size: 13px;
    gap: 6px 12px;
  }
  .audit-summary .audit-money { font-size: 11px; }
  .audit-summary .audit-tag {
    font-size: 9px; padding: 3px 9px;
    box-shadow: 0 0 12px rgba(34,211,238,0.35);
  }
  .audit-result .btn {
    align-self: stretch !important;
    margin-top: 8px;
    padding: 13px 18px;
    font-size: 13px;
    letter-spacing: 0.04em;
  }
  .audit-disclaimer {
    font-size: 9.5px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
  }

  /* INPUT CARDS — glass tiles */
  .audit-field {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 14px 16px !important;
    gap: 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.2s, background 0.2s;
  }
  .audit-field:hover { border-color: rgba(34,211,238,0.25); }
  .audit-field .lbl {
    font-size: 10.5px;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.5);
  }
  .audit-field .val {
    color: var(--nexi-cyan);
    font-size: 13px;
    font-weight: 700;
  }

  /* Slider — native styling with cyan accent and slightly taller thumb */
  .audit-slider {
    height: 6px;
    accent-color: var(--nexi-cyan);
    margin-top: 2px;
  }

  /* CHIPS — horizontal scroll, no wrap */
  .audit-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 16px 4px;
    margin: 0 -16px -4px;
    gap: 8px;
    scroll-snap-type: x proximity;
  }
  .audit-chips::-webkit-scrollbar { display: none; }
  .audit-chips button {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 9px 16px;
    font-size: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
  }
  .audit-chips button.sel {
    background: linear-gradient(135deg, var(--nexi-blue), var(--nexi-cyan));
    border-color: transparent;
    box-shadow: 0 0 16px rgba(34,211,238,0.4);
  }

  /* CTA band */
  .cta-band { padding: 40px 24px; }
  .cta-band h2 { font-size: 36px !important; }
  .btn.lg { padding: 14px 24px; font-size: 14px; }

  /* Footer */
  footer.site-footer { padding: 60px 20px 24px; }
  footer .ft-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  footer .ft-big { font-size: 64px; margin: 40px 0 24px; line-height: 1.0; }
  footer .copy {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
  }

  /* Marquee */
  .marquee-item { font-size: 18px; gap: 32px; }
  .marquee-item::after { margin-left: 32px; }
  .marquee { padding: 16px 0; }

  /* FAQ */
  .faq-item { padding: 20px 0; }
  .faq-item summary { font-size: 20px; }

  /* Cards */
  .card { padding: 24px; }
  .card h3 { font-size: 22px; }

  /* Testimonial */
  .testimonial { padding: 24px; }
  .testimonial blockquote { font-size: 17px; line-height: 1.4; }

  /* Plan */
  .plan { padding: 28px 20px; }
  .plan .price { font-size: 44px; }

  /* Case card */
  .case-card .img { font-size: 24px; padding: 20px; }
  .case-card .meta { padding: 20px; }
  .case-card .meta h3 { font-size: 20px; }

  /* Person card */
  .person h3 { font-size: 17px; }

  /* Timeline */
  .timeline { padding-left: 24px; }
  .timeline-item::before { left: -32px; }
  .timeline-item h3 { font-size: 20px; }

  /* Chatbot — full width on mobile */
  .chatbot-panel {
    width: calc(100vw - 24px);
    right: 12px;
    left: 12px;
    bottom: 88px;
    max-height: calc(100vh - 120px);
  }
  .chatbot-fab {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
  .cb-body { max-height: calc(100vh - 280px); }

  /* Buttons inside hero — wrap and shrink */
  .btn { font-size: 14px; padding: 12px 20px; }
  .btn.sm { font-size: 11px; padding: 8px 14px; }

  /* Generic 2-column inline grids in JSX → stack */
  [style*="grid-template-columns: 1fr 1fr"]:not(.aud-toggle):not(.audit-chips):not(.tweak-chips):not(.hero-audit-grid) {
    grid-template-columns: 1fr !important;
  }

  /* Hero audit grid: stay 3×2 on mobile, just shrink the inner text scale */
  .hero-audit-grid { padding: 10px !important; gap: 6px !important; }
  .hero-audit-grid > div { padding: 6px 8px !important; }

  /* Contact page calendar slots — keep horizontal scroll for date picker */
  .field input, .field textarea, .field select { font-size: 16px; /* prevents iOS zoom */ }
}

/* ─── SEO line (keyword-targeted small line above big H1) ─ */
.seo-line {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.22em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--nexi-blue);
  margin-bottom: 18px;
  line-height: 1.3;
  opacity: 0.95;
}

/* ─── Spinner (used by /contact slot loader) ───────────── */
@keyframes nx-spin { to { transform: rotate(360deg); } }

/* ─── Card feature list (used on ent page) ──────────────── */
.card-feat-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-feat-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--nexi-slate);
  line-height: 1.4;
}
.card-feat-list .ck {
  flex-shrink: 0;
  display: inline-flex;
  width: 16px; height: 16px;
  color: var(--nexi-blue);
}
.card-feat-list .ck svg { width: 16px; height: 16px; }

/* ─── Case-study cards (cas page) ──────────────────────── */
.case-metrics {
  display: flex;
  gap: 16px;
  padding: 14px 0 4px;
  margin-top: auto;
  border-top: 1px solid var(--nexi-mist);
}
.case-metrics > div { flex: 1; min-width: 0; }
.case-metrics .v {
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: -0.005em;
  line-height: 1.05;
  color: var(--nexi-ink);
  font-weight: 400;
  text-transform: uppercase;
}
.case-metrics .l {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nexi-slate);
  margin-top: 4px;
}

/* ─── Contact page (booking) responsive tweaks ──────────── */
.contact-card { overflow: hidden; min-width: 0; }
.contact-date-strip { scrollbar-width: thin; }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .contact-card { padding: 28px !important; }
}
@media (max-width: 640px) {
  .contact-card {
    padding: 18px !important;
    border-radius: 14px !important;
  }
  .contact-card h3 { font-size: 28px !important; }

  /* Date strip — internal horizontal scroll, no scrollbar visible, no bleed */
  .contact-date-strip {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .contact-date-strip::-webkit-scrollbar { display: none; }

  /* Slot buttons grid — smaller minmax so 4 fit per row on narrow viewports */
  .contact-slot-grid {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)) !important;
    gap: 8px !important;
  }
}

/* ─── Global guard: prevent any horizontal page scroll ──── */
html, body { overflow-x: hidden; max-width: 100vw; }

/* ─── Cookie banner ────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid var(--nexi-mist);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  z-index: 9999;
  font-family: var(--ff-body);
  animation: cookieSlideUp .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.cookie-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: rgba(11,95,255,0.10);
  color: var(--nexi-blue);
  flex-shrink: 0;
}
.cookie-icon svg { width: 20px; height: 20px; }
.cookie-head h3 {
  margin: 0; font-size: 15px; font-weight: 700;
  color: var(--nexi-ink); letter-spacing: -0.005em;
}
.cookie-close {
  margin-left: auto;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer;
  color: var(--nexi-slate); border-radius: var(--r-sm);
  transition: background .15s, color .15s;
}
.cookie-close:hover { background: var(--nexi-bone); color: var(--nexi-ink); }
.cookie-close svg { width: 14px; height: 14px; }
.cookie-msg {
  margin: 0 0 14px; font-size: 13px; line-height: 1.5;
  color: var(--nexi-slate);
}
.cookie-msg a {
  color: var(--nexi-blue); text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-msg a:hover { color: var(--nexi-blue-deep); }

.cookie-prefs {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 14px;
  max-height: 260px; overflow-y: auto;
  padding-right: 4px;
}
.cookie-pref-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px;
  border: 1px solid var(--nexi-mist);
  border-radius: var(--r-md);
  background: var(--nexi-bone);
}
.cookie-check {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px;
  border: 1.5px solid var(--nexi-steel);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.cookie-check:hover:not(.locked) { border-color: var(--nexi-blue); }
.cookie-check.on {
  background: var(--nexi-blue);
  border-color: var(--nexi-blue);
  color: #fff;
}
.cookie-check.locked {
  background: var(--nexi-mist);
  border-color: var(--nexi-mist);
  color: var(--nexi-slate);
  cursor: not-allowed;
}
.cookie-check.on.locked { background: var(--nexi-steel); border-color: var(--nexi-steel); }
.cookie-check svg { width: 12px; height: 12px; }
.cookie-pref-text { flex: 1; min-width: 0; }
.cookie-pref-title {
  font-size: 12.5px; font-weight: 700; color: var(--nexi-ink);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.cookie-pref-lock {
  font-size: 10px; font-weight: 500; color: var(--nexi-slate);
  text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--nexi-mist); padding: 2px 6px; border-radius: 4px;
}
.cookie-pref-text p {
  margin: 4px 0 0; font-size: 11.5px; line-height: 1.45; color: var(--nexi-slate);
}

.cookie-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-actions .btn { flex: 1 1 auto; min-width: 0; padding: 9px 12px; font-size: 12px; }

@media (max-width: 600px) {
  .cookie-banner {
    right: 12px; left: 12px; bottom: 12px;
    width: auto; max-width: none;
    padding: 16px;
  }
  .cookie-actions .btn { flex: 1 1 100%; }
}

/* ─── Legal / Privacy page ─────────────────────────────── */
.legal-block {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--nexi-mist);
}
.legal-block:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-h2 {
  font-family: var(--ff-display);
  font-size: 36px; line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--nexi-ink);
  margin: 0 0 20px;
  font-weight: 400;
}
.legal-h3 {
  font-family: var(--ff-body);
  font-size: 18px; font-weight: 700;
  color: var(--nexi-ink);
  margin: 28px 0 12px;
  letter-spacing: -0.005em;
}
.legal-block p {
  font-size: 16px; line-height: 1.65; color: var(--nexi-charcoal);
  margin: 0 0 14px;
}
.legal-block p strong { color: var(--nexi-ink); font-weight: 700; }
.legal-block p em {
  font-style: normal;
  background: rgba(255, 176, 32, 0.18);
  padding: 1px 8px; border-radius: 4px;
  color: var(--nexi-ink);
  font-family: var(--ff-mono); font-size: 14px;
}
.legal-block a {
  color: var(--nexi-blue); text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-block a:hover { color: var(--nexi-blue-deep); }
.legal-list {
  margin: 0 0 14px; padding: 0; list-style: none;
}
.legal-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 16px; line-height: 1.6; color: var(--nexi-charcoal);
  border-bottom: 1px solid var(--nexi-mist);
}
.legal-list li:last-child { border-bottom: 0; }
.legal-list li::before {
  content: "";
  position: absolute; left: 0; top: 16px;
  width: 8px; height: 8px;
  background: var(--nexi-gradient);
  border-radius: 50%;
}
.legal-list li strong { color: var(--nexi-ink); font-weight: 700; }
.legal-note {
  font-size: 14px;
  color: var(--nexi-slate);
  background: var(--nexi-bone);
  padding: 14px 18px; border-radius: var(--r-md);
  border-left: 3px solid var(--nexi-blue);
  margin-top: 16px !important;
}
.legal-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--nexi-mist);
  border-radius: var(--r-md);
  margin-top: 12px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}
.legal-table th {
  background: var(--nexi-bone);
  color: var(--nexi-ink);
  font-weight: 700; text-align: left;
  padding: 12px 14px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 1px solid var(--nexi-mist);
  white-space: nowrap;
}
.legal-table td {
  padding: 14px; vertical-align: top;
  color: var(--nexi-charcoal);
  border-bottom: 1px solid var(--nexi-mist);
}
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table code {
  font-family: var(--ff-mono); font-size: 12.5px;
  background: var(--nexi-bone);
  padding: 3px 7px; border-radius: 4px;
  color: var(--nexi-blue-deep);
}
.legal-table tr.legal-placeholder td {
  text-align: center;
  background: rgba(255, 176, 32, 0.08);
  color: var(--nexi-slate);
}

@media (max-width: 720px) {
  .legal-h2 { font-size: 28px; }
  .legal-block p, .legal-list li { font-size: 15px; }
  .legal-table { font-size: 13px; }
  .legal-table th, .legal-table td { padding: 10px; }
}

/* ─── Event banner (top of page, all routes) ─────────────── */
.event-banner {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: stretch;
  min-height: 44px;
  background: linear-gradient(90deg, var(--nexi-ink) 0%, #0F2A52 50%, var(--nexi-blue) 100%);
  color: #fff;
  font-family: var(--ff-body);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.event-banner-inner {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 56px 10px 24px;
  color: #fff; text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s;
}
.event-banner-inner:hover {
  background: rgba(255,255,255,0.04);
}
.event-banner-pill {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--nexi-warning);
  color: var(--nexi-ink);
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04), 0 2px 8px rgba(255, 176, 32, 0.35);
}
.event-banner-label {
  font-weight: 500;
  letter-spacing: -0.005em;
}
.event-banner-cta {
  font-weight: 700;
  color: var(--nexi-cyan);
  flex-shrink: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.event-banner-close {
  flex-shrink: 0;
  width: 44px;
  background: transparent; border: 0;
  color: rgba(255,255,255,0.7);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.event-banner-close:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* When banner is visible, shift the fixed nav down */
body.has-event-banner .nav { top: 44px; }

@media (max-width: 720px) {
  .event-banner-inner {
    flex-direction: column;
    gap: 4px;
    padding: 8px 44px 8px 14px;
    font-size: 13px;
    text-align: center;
  }
  .event-banner-pill { font-size: 10px; padding: 3px 8px; }
  .event-banner-cta { font-size: 13px; }
  .event-banner { min-height: 60px; }
  body.has-event-banner .nav { top: 60px; }
}

/* ─── Sensibilisation page ───────────────────────────────── */
.sensi-hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, max-content));
  gap: 32px 56px;
  margin-top: 48px;
  padding: 24px 32px;
  background: rgba(11, 95, 255, 0.04);
  border: 1px solid rgba(11, 95, 255, 0.12);
  border-radius: 16px;
  width: fit-content;
  max-width: 100%;
}
.sensi-meta-item { display: flex; flex-direction: column; gap: 4px; }
.sensi-meta-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nexi-slate);
}
.sensi-meta-value {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--nexi-ink);
  text-transform: uppercase;
  line-height: 1;
}

.sensi-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.sensi-recap {
  padding: 40px 44px;
  background: var(--nexi-ink);
  color: #fff;
  border-radius: 20px;
  position: sticky;
  top: 120px;
}

/* Required field asterisk */
.req {
  color: var(--nexi-danger);
  font-weight: 700;
  margin-left: 2px;
}

/* ─── Countdown (hero) ─────────────────────────────────── */
.sensi-countdown {
  margin-top: 32px;
  padding: 22px 28px;
  border-radius: 16px;
  background: rgba(11, 95, 255, 0.06);
  border: 1px solid rgba(11, 95, 255, 0.18);
  display: inline-flex;
  flex-direction: column;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
}
.sensi-countdown-label {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--nexi-blue);
}
.sensi-countdown-grid {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.sensi-countdown-cell {
  display: flex; flex-direction: column;
  align-items: center;
  min-width: 64px;
  padding: 10px 8px 8px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(11, 95, 255, 0.12);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.sensi-countdown-num {
  font-family: var(--ff-display);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--nexi-ink);
  font-variant-numeric: tabular-nums;
}
.sensi-countdown-unit {
  margin-top: 4px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nexi-slate);
}
.sensi-countdown-sep {
  font-family: var(--ff-display);
  font-size: 32px;
  color: var(--nexi-slate);
  opacity: 0.4;
  padding-bottom: 18px;
}
.sensi-countdown.sensi-urgency-med {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.25);
}
.sensi-countdown.sensi-urgency-med .sensi-countdown-label { color: #C2410C; }
.sensi-countdown.sensi-urgency-med .sensi-countdown-num   { color: #9A3412; }
.sensi-countdown.sensi-urgency-high {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.3);
  animation: sensi-pulse-glow 1.8s ease-in-out infinite;
}
.sensi-countdown.sensi-urgency-high .sensi-countdown-label { color: #DC2626; }
.sensi-countdown.sensi-urgency-high .sensi-countdown-num   { color: #991B1B; }

@media (max-width: 540px) {
  .sensi-countdown { padding: 18px 18px; }
  .sensi-countdown-cell { min-width: 54px; padding: 8px 6px 6px; }
  .sensi-countdown-num { font-size: 28px; }
  .sensi-countdown-sep { font-size: 22px; padding-bottom: 14px; }
}

/* ─── Velocity badge (under counter) ────────────────────── */
.sensi-counter-velocity {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--nexi-slate);
}
.sensi-counter-velocity strong {
  color: var(--nexi-ink);
  font-weight: 700;
}
.sensi-velocity-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #00C48C;
  box-shadow: 0 0 0 0 rgba(0, 196, 140, 0.5);
  animation: sensi-velocity-ping 2s ease-in-out infinite;
}
@keyframes sensi-velocity-ping {
  0%   { box-shadow: 0 0 0 0 rgba(0, 196, 140, 0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(0, 196, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 196, 140, 0); }
}

/* ─── Live toast : nouvelle inscription ────────────────── */
.sensi-live-toast {
  position: fixed;
  bottom: 28px; left: 28px;
  z-index: 95;
  display: flex; align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 16px;
  background: #fff;
  border: 1px solid rgba(11, 95, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(11, 95, 255, 0.18), 0 2px 8px rgba(0,0,0,0.06);
  max-width: 320px;
  animation: sensi-toast-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sensi-live-dot {
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #00C48C;
  box-shadow: 0 0 0 0 rgba(0, 196, 140, 0.5);
  animation: sensi-velocity-ping 1.4s ease-in-out infinite;
}
.sensi-live-text {
  display: flex; flex-direction: column; gap: 2px;
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--nexi-slate);
}
.sensi-live-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--nexi-ink);
}
@keyframes sensi-toast-in {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 540px) {
  .sensi-live-toast {
    bottom: 16px; left: 16px; right: 16px;
    max-width: none;
  }
}

/* Capacity counter */
.sensi-counter {
  margin-top: 28px;
  padding: 16px 18px;
  background: var(--nexi-bone);
  border-radius: 12px;
}
.sensi-counter-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.sensi-counter-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nexi-slate);
}
.sensi-counter-num {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--nexi-blue);
}
.sensi-counter-bar {
  width: 100%;
  height: 8px;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(11,95,255,0.08);
}
.sensi-counter-fill {
  height: 100%;
  background: var(--nexi-gradient);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease;
}
.sensi-counter-hint {
  margin-top: 12px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

/* Urgency tiers (used by counter + hero remaining badge) */
.sensi-urgency-med .sensi-counter-num { color: #C2410C; }
.sensi-urgency-med .sensi-counter-fill { background: linear-gradient(135deg, #F97316 0%, #FB923C 100%); }
.sensi-urgency-med .sensi-counter-hint { color: #C2410C; }

.sensi-urgency-high .sensi-counter-num { color: #DC2626; }
.sensi-urgency-high .sensi-counter-fill {
  background: linear-gradient(135deg, #DC2626 0%, #F97316 100%);
  animation: sensi-pulse-fill 1.6s ease-in-out infinite;
}
.sensi-urgency-high .sensi-counter-hint { color: #DC2626; }
.sensi-urgency-high.sensi-counter {
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.35);
  animation: sensi-pulse-glow 1.8s ease-in-out infinite;
}

@keyframes sensi-pulse-fill {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.12); }
}
@keyframes sensi-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.0); }
  50%      { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.10); }
}

/* Hero "X places restantes" badge */
.sensi-hero-remaining {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 13px;
  background: rgba(11, 95, 255, 0.06);
  color: var(--nexi-slate);
  border: 1px solid rgba(11, 95, 255, 0.12);
}
.sensi-hero-remaining strong {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--nexi-blue);
}
.sensi-hero-remaining.sensi-urgency-med {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.25);
  color: #9A3412;
}
.sensi-hero-remaining.sensi-urgency-med strong { color: #C2410C; }

.sensi-hero-remaining.sensi-urgency-high {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.3);
  color: #991B1B;
  animation: sensi-pulse-glow 1.8s ease-in-out infinite;
}
.sensi-hero-remaining.sensi-urgency-high strong { color: #DC2626; }

/* Event banner — urgent state */
.event-banner.urgent {
  background: linear-gradient(90deg, #991B1B 0%, #DC2626 50%, #F97316 100%);
}
.event-banner.urgent .event-banner-pill {
  background: #fff;
  color: #DC2626;
  animation: sensi-pulse-fill 1.4s ease-in-out infinite;
}
.event-banner.urgent .event-banner-cta {
  color: #FFF;
}

@media (max-width: 960px) {
  .sensi-form-grid { grid-template-columns: 1fr; }
  .sensi-recap { position: static; }
}
@media (max-width: 720px) {
  .sensi-hero-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
    padding: 20px 22px;
  }
  .sensi-meta-value { font-size: 22px; }
  .sensi-form-grid > div:first-child { padding: 32px 22px !important; }
  .sensi-recap { padding: 32px 26px; }
}

/* ─── Blog ─────────────────────────────────────────────────────────── */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}
.blog-filter {
  border: 1px solid var(--nexi-line, #e5e7eb);
  background: #fff;
  color: var(--nexi-slate, #475569);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.blog-filter:hover { border-color: var(--nexi-blue, #0B5FFF); color: var(--nexi-blue, #0B5FFF); }
.blog-filter.on { background: var(--nexi-blue, #0B5FFF); border-color: var(--nexi-blue, #0B5FFF); color: #fff; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--nexi-line, #e5e7eb);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(11,95,255,.28); }
.blog-card-cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--nexi-bone, #f6f7f9); }
.blog-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-card-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-cat {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--nexi-blue, #0B5FFF); background: rgba(11,95,255,.08);
  border-radius: 6px; padding: 4px 10px;
}
.blog-card h3 { font-size: 21px; line-height: 1.25; margin: 0; }
.blog-card p { color: var(--nexi-slate, #475569); font-size: 15px; line-height: 1.55; margin: 0; }
.blog-card-meta { margin-top: auto; font-size: 13px; color: var(--nexi-slate, #94a3b8); font-family: var(--ff-mono, monospace); }

/* Article */
.blog-article { max-width: 760px; margin: 0 auto; padding-left: 24px; padding-right: 24px; padding-bottom: 104px; }
.blog-article-head { margin-bottom: 24px; }
.blog-article-cover { width: 100%; max-height: 440px; object-fit: cover; border-radius: 16px; display: block; margin: 0 0 40px; background: var(--nexi-bone, #f6f7f9); }
.blog-article-head h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.1; margin: 18px 0 0; }
.blog-article-meta { margin-top: 20px; font-size: 14px; color: var(--nexi-slate, #475569); font-family: var(--ff-mono, monospace); }
.blog-prose { font-size: 18px; line-height: 1.7; color: var(--nexi-charcoal, #1f2937); }
.blog-prose h2 { font-size: clamp(24px, 4vw, 34px); line-height: 1.2; margin: 48px 0 16px; }
.blog-prose h3 { font-size: clamp(20px, 3vw, 24px); line-height: 1.25; margin: 32px 0 12px; }
.blog-prose p { margin: 0 0 20px; }
.blog-prose ul, .blog-prose ol { margin: 0 0 20px; padding-left: 24px; }
.blog-prose li { margin-bottom: 10px; }
.blog-prose a { color: var(--nexi-blue, #0B5FFF); }
.blog-prose blockquote {
  border-left: 4px solid var(--nexi-blue, #0B5FFF);
  margin: 24px 0; padding: 8px 0 8px 20px; color: var(--nexi-slate, #475569); font-style: italic;
}
.blog-back { display: inline-flex; align-items: center; gap: 6px; color: var(--nexi-blue, #0B5FFF); font-weight: 600; text-decoration: none; font-size: 15px; }
@media (max-width: 720px) {
  .blog-prose { font-size: 17px; }
}

/* Blog — chiffres clés (infographie) */
.blog-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0;
}
.blog-stat {
  background: var(--nexi-bone, #f6f7f9);
  border: 1px solid var(--nexi-line, #e8eaed);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
}
.blog-stat-num {
  display: block;
  font-family: var(--ff-display, inherit);
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  color: var(--nexi-blue, #0B5FFF);
  letter-spacing: -0.01em;
}
.blog-stat-lbl {
  display: block;
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--nexi-slate, #475569);
}
@media (max-width: 720px) {
  .blog-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .blog-stat-num { font-size: 34px; }
}

/* Blog — FAQ façon chat */
.blog-faq { margin-top: 64px; }
.blog-faq > h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 6px; }
.faqchat { margin-top: 20px; }
.faqchat-time { font-size: 13px; color: var(--nexi-slate, #94a3b8); margin-bottom: 20px; font-family: var(--ff-mono, monospace); }
.faqchat-item { margin-bottom: 14px; }
.faqchat-q {
  display: flex; align-items: center; gap: 12px;
  width: 100%; background: none; border: none; padding: 0; cursor: pointer; text-align: left;
}
.faqchat-bubble {
  background: var(--nexi-bone, #f1f3f5);
  border-radius: 16px 16px 16px 4px;
  padding: 12px 18px;
  font-size: 16px; font-weight: 600; color: var(--nexi-charcoal, #1f2937);
  transition: background .2s ease, color .2s ease;
}
.faqchat-q.open .faqchat-bubble { background: rgba(11, 95, 255, .12); color: var(--nexi-blue, #0B5FFF); }
.faqchat-q:hover .faqchat-bubble { background: rgba(11, 95, 255, .08); }
.faqchat-icon {
  flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  font-size: 22px; line-height: 1; color: var(--nexi-slate, #94a3b8); transition: color .2s ease;
}
.faqchat-q.open .faqchat-icon { color: var(--nexi-blue, #0B5FFF); }
.faqchat-a-wrap { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s ease, opacity .3s ease; }
.faqchat-a-wrap.open { max-height: 600px; opacity: 1; }
.faqchat-a {
  margin: 10px 0 0 40px;
  max-width: 560px;
  background: var(--nexi-blue, #0B5FFF);
  color: #fff;
  border-radius: 4px 16px 16px 16px;
  padding: 12px 18px;
  font-size: 15px; line-height: 1.55;
}

/* ─── nexIAcademy — « la bibliothèque technique » ─────────────────────
   Vocabulaire visuel : fiche de catalogue (héros), rayons numérotés,
   cotes en JetBrains Mono, tampon ACCÈS LIBRE. L'accent de chaque rayon
   est passé par les variables --ray / --ray-soft posées dans le JSX. */

/* Onglet de rayon (étiquette mono réutilisée hub + catalogue) */
.rayon-tab {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-mono, monospace); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--nexi-ink, #0A1628);
  background: var(--ray-soft, rgba(11,95,255,.07));
  border: 1px solid var(--nexi-mist, #E6EBF3);
  padding: 8px 14px; border-radius: 9px;
}
.rayon-chip { width: 10px; height: 10px; border-radius: 3px; background: var(--ray, var(--nexi-blue, #0B5FFF)); flex: none; }

/* Héros du hub : texte à gauche, fiche-catalogue à droite */
.academy-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 440px;
  gap: 56px; align-items: center;
}

/* La fiche-catalogue — élément signature de la page */
.academy-fiche-hero {
  position: relative;
  width: 100%; max-width: 420px; justify-self: end;
  background: #fff;
  border: 1px solid var(--nexi-mist, #E6EBF3);
  border-radius: 16px;
  box-shadow: var(--shadow-lg, 0 20px 48px rgba(10,22,40,0.12));
  transform: rotate(-1.2deg);
}
.afh-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--nexi-mist, #E6EBF3);
  background: var(--nexi-bone, #F5F7FB);
  border-radius: 16px 16px 0 0;
  font-family: var(--ff-mono, monospace); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--nexi-slate, #5A6B85);
}
/* Trou de classeur, clin d'œil fiche cartonnée */
.afh-hole {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: var(--nexi-bone, #F5F7FB);
  box-shadow: inset 0 1px 3px rgba(10,22,40,0.25), 0 0 0 1px rgba(10,22,40,0.08);
}
.afh-body {
  padding: 20px 24px 28px;
  /* réglure de fiche bristol, très légère, calée sur la hauteur des lignes */
  background-image: repeating-linear-gradient(
    to bottom, transparent 0, transparent 34px,
    rgba(11,95,255,0.055) 34px, rgba(11,95,255,0.055) 35px);
  border-radius: 0 0 16px 16px;
}
.afh-row { display: flex; align-items: baseline; gap: 10px; padding: 9.5px 0; }
.afh-k {
  font-family: var(--ff-mono, monospace); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--nexi-slate, #5A6B85);
  flex: none;
}
.afh-dots { flex: 1; border-bottom: 2px dotted var(--nexi-steel, #AEB8CC); transform: translateY(-4px); min-width: 24px; }
.afh-v {
  font-family: var(--ff-mono, monospace); font-size: 14px; font-weight: 500;
  color: var(--nexi-ink, #0A1628); text-align: right; flex: none;
}
.afh-v.big { font-size: 17px; font-weight: 700; color: var(--nexi-blue, #0B5FFF); }
/* Tampon ACCÈS LIBRE : double anneau + arrivée « coup de tampon » */
.afh-stamp {
  position: absolute; right: 16px; bottom: -18px;
  transform: rotate(-7deg);
  font-family: var(--ff-mono, monospace); font-size: 13px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--nexi-blue, #0B5FFF);
  background: #fff;
  border: 2px solid currentColor; border-radius: 8px;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4.5px currentColor, 0 12px 26px -12px rgba(11,95,255,0.5);
  padding: 11px 13px 10px 18px;
  animation: afh-stamp-in 0.5s cubic-bezier(0.18, 1.35, 0.4, 1) 0.5s backwards;
}
@keyframes afh-stamp-in {
  from { opacity: 0; transform: rotate(-7deg) scale(1.9); }
  62%  { opacity: 1; }
  to   { transform: rotate(-7deg) scale(1); }
}
@keyframes afh-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .afh-stamp { animation: afh-fade 0.45s ease 0.2s backwards; }
}

/* Bouton CTA « flèche qui s'étend » (effet inspiré shadcn, recréé sans dépendance) */
.nx-cta {
  position: relative; display: inline-flex; align-items: center; justify-content: flex-start;
  min-width: 210px; height: 54px; padding: 0 22px;
  border: none; cursor: pointer; border-radius: 12px;
  background: var(--nexi-blue, #0B5FFF); color: #fff;
  font-family: inherit; font-weight: 700; font-size: 16px; overflow: hidden;
  text-decoration: none;
  transition: box-shadow .2s ease;
}
.nx-cta:hover { box-shadow: 0 14px 34px -12px rgba(11,95,255,.5); }
.nx-cta-label { transition: opacity .45s ease; }
.nx-cta:hover .nx-cta-label { opacity: 0; }
.nx-cta-arrow {
  position: absolute; top: 5px; right: 5px; bottom: 5px; width: 26%;
  display: grid; place-items: center; border-radius: 8px;
  background: rgba(255,255,255,.2); color: #fff;
  transition: width .45s cubic-bezier(.4,0,.2,1), background .3s ease, transform .15s ease;
}
.nx-cta:hover .nx-cta-arrow { width: calc(100% - 10px); background: rgba(255,255,255,.28); }
.nx-cta:active .nx-cta-arrow { transform: scale(.96); }
.nx-cta:focus-visible { outline: 3px solid rgba(11,95,255,.45); outline-offset: 2px; }

/* Les trois rayons */
.academy-rubriques {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.academy-rcard {
  display: flex; flex-direction: column;
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--nexi-mist, #E6EBF3);
  border-radius: 18px;
  background: #fff;
  text-decoration: none; color: inherit;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.academy-rcard pixel-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .7; }
.academy-rcard > *:not(pixel-canvas) { position: relative; z-index: 1; }
/* Halo blanc subtil derrière le texte pour rester lisible par-dessus les pixels */
.academy-rcard h3, .academy-rcard p { text-shadow: 0 1px 6px rgba(255,255,255,.95), 0 0 2px rgba(255,255,255,.9); }
.academy-rcard:hover { transform: translateY(-6px); border-color: var(--ray, var(--nexi-blue, #0B5FFF)); box-shadow: 0 22px 48px -20px rgba(11,95,255,.30); }
.academy-rcard:focus-visible { outline: 3px solid rgba(11,95,255,.45); outline-offset: 2px; }
/* Bandeau-étiquette en tête de carte (l'onglet du rayon) */
.academy-rcard .rayon-tab {
  display: flex; justify-content: flex-start;
  margin: -26px -26px 22px; padding: 12px 22px;
  border: 0; border-bottom: 1px solid var(--nexi-mist, #E6EBF3);
  border-radius: 18px 18px 0 0;
}
.rcard-ico { width: 42px; height: 42px; color: var(--nexi-ink, #0A1628); margin-bottom: 14px; transition: transform .22s ease; }
.rcard-ico svg { width: 100%; height: 100%; display: block; }
.academy-rcard:hover .rcard-ico { transform: scale(1.1) rotate(-3deg); }
.academy-rcard h3 {
  margin: 0 0 8px;
  font-family: var(--ff-display, sans-serif); font-weight: 400;
  text-transform: uppercase; letter-spacing: .004em;
  font-size: 27px; line-height: 1.05; color: var(--nexi-ink, #0A1628);
}
.academy-rcard p { color: var(--nexi-slate, #5A6B85); font-size: 15px; line-height: 1.55; margin: 0 0 20px; }
.rcard-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 14px; border-top: 2px dotted var(--nexi-steel, #AEB8CC);
  font-family: var(--ff-mono, monospace); font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
}
.rcard-count { color: var(--nexi-slate, #5A6B85); }
.rcard-count strong { color: var(--nexi-ink, #0A1628); font-weight: 600; font-size: 15px; letter-spacing: 0; }
.rcard-cta { color: var(--nexi-blue, #0B5FFF); font-weight: 500; white-space: nowrap; transition: transform .18s ease; }
.academy-rcard:hover .rcard-cta { transform: translateX(3px); }

/* Philosophie : édito deux colonnes */
.academy-philo {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 64px; align-items: start;
  max-width: 1160px; margin: 0 auto;
}
.academy-philo p.body-text { margin: 0 0 20px; font-size: 18px; line-height: 1.7; color: var(--nexi-charcoal, #1A2338); }

/* Catalogue d'un rayon : en-tête */
.academy-cat-title { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.academy-cat-ico {
  flex: none; width: 58px; height: 58px; border-radius: 15px;
  background: var(--ray-soft, rgba(11,95,255,.07));
  color: var(--nexi-ink, #0A1628);
  display: grid; place-items: center;
}
.academy-cat-ico svg { width: 30px; height: 30px; }
.academy-count { margin-top: 14px; font-family: var(--ff-mono, monospace); font-size: 13px; letter-spacing: .06em; color: var(--nexi-slate, #5A6B85); }

/* Recherche */
.academy-search { margin-top: 24px; max-width: 440px; position: relative; }
.academy-search svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--nexi-steel, #AEB8CC); pointer-events: none;
}
.academy-search input {
  width: 100%; padding: 13px 18px 13px 44px;
  border: 1px solid var(--nexi-mist, #E6EBF3); border-radius: 12px;
  font-size: 15px; font-family: var(--ff-body, sans-serif);
  background: #fff; color: var(--nexi-ink, #0A1628);
  transition: border-color .15s, box-shadow .15s;
}
.academy-search input:focus { outline: none; border-color: var(--nexi-blue, #0B5FFF); box-shadow: 0 0 0 4px rgba(11,95,255,0.12); }

/* Filtres : groupes étiquetés en mono */
.academy-filter-row { display: flex; align-items: baseline; gap: 14px; margin-top: 16px; }
.academy-filter-row .blog-filters { margin: 0; }
.academy-filter-label {
  flex: none; min-width: 84px;
  font-family: var(--ff-mono, monospace); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--nexi-steel, #AEB8CC);
}

/* Grille de fiches (sans capture d'écran : sobre, dense, cohérent) */
.academy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 18px;
}
.academy-card {
  display: flex; flex-direction: column; gap: 11px;
  padding: 20px 20px 16px;
  border: 1px solid var(--nexi-mist, #E6EBF3); border-radius: 14px;
  background: #fff;
  text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.academy-card:hover { transform: translateY(-3px); border-color: var(--ray, var(--nexi-blue, #0B5FFF)); box-shadow: 0 16px 36px -18px rgba(11,95,255,.25); }
.academy-card:focus-visible { outline: 3px solid rgba(11,95,255,.45); outline-offset: 2px; }
/* Aperçu du site (rayon APIs) : pleine largeur en tête de fiche */
.academy-card-img {
  width: calc(100% + 40px); margin: -20px -20px 2px;
  aspect-ratio: 16 / 10; object-fit: cover; object-position: top center;
  display: block; border-radius: 13px 13px 0 0;
  border-bottom: 1px solid var(--nexi-mist, #E6EBF3);
  background: linear-gradient(135deg, #eef2ff, #e0f2fe);
}
.academy-card-head { display: flex; align-items: center; gap: 10px; }
.academy-logo { width: 26px; height: 26px; border-radius: 6px; object-fit: contain; background: #fff; flex: none; }
.academy-card-head h3 { margin: 0; font-size: 16.5px; letter-spacing: -0.01em; color: var(--nexi-ink, #0A1628); flex: 1; min-width: 0; }
/* La cote de la fiche, comme en bibliothèque : API·042 */
.academy-cote {
  flex: none; align-self: flex-start; padding-top: 3px;
  font-family: var(--ff-mono, monospace); font-size: 10.5px;
  letter-spacing: .1em; color: var(--nexi-steel, #AEB8CC);
}
.academy-card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.academy-card p {
  color: var(--nexi-slate, #5A6B85); font-size: 14px; line-height: 1.55; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.academy-card-link {
  margin-top: auto; padding-top: 12px;
  border-top: 1px dotted var(--nexi-steel, #AEB8CC);
  font-family: var(--ff-mono, monospace); font-size: 11.5px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--nexi-slate, #5A6B85);
  transition: color .15s ease;
}
.academy-card:hover .academy-card-link { color: var(--nexi-blue, #0B5FFF); }
.academy-badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--nexi-slate, #5A6B85); background: var(--nexi-bone, #F5F7FB);
  border-radius: 6px; padding: 4px 10px;
}

/* Avertissement (skills) */
.academy-notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--nexi-mist, #E6EBF3);
  border-left: 3px solid var(--nexi-warning, #FFB020);
  border-radius: 12px;
  padding: 16px 20px; margin: 0 0 26px;
  font-size: 14px; line-height: 1.6; color: var(--nexi-slate, #5A6B85);
}
.academy-notice-ico { flex: none; width: 20px; height: 20px; color: var(--nexi-warning, #FFB020); margin-top: 2px; }
.academy-notice-ico svg { width: 100%; height: 100%; display: block; }
.academy-notice strong { color: var(--nexi-ink, #0A1628); }
.academy-install-note { font-size: 13px; color: var(--nexi-slate, #64748b); margin-top: 10px; }

/* Responsive hub + catalogue */
@media (max-width: 1120px) {
  .academy-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .academy-fiche-hero { justify-self: start; margin-top: 6px; max-width: 440px; }
}
@media (max-width: 960px) {
  .academy-rubriques { grid-template-columns: 1fr; }
  .academy-rcard { min-height: 0; }
  .academy-philo { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .academy-filter-row { flex-direction: column; gap: 8px; }
  .afh-stamp { right: 12px; }
  .academy-cat-title { gap: 14px; }
  .academy-cat-ico { width: 48px; height: 48px; border-radius: 12px; }
  .academy-cat-ico svg { width: 26px; height: 26px; }
}

/* nexIAcademy : fiche détaillée */
.academy-detail { max-width: 1080px; margin: 0 auto; padding-left: 24px; padding-right: 24px; padding-bottom: 104px; }
.academy-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; margin-top: 8px; }
.academy-detail-aside { position: sticky; top: 96px; }
.academy-fiche { border: 1px solid var(--nexi-line, #e5e7eb); border-radius: 16px; padding: 22px 24px; background: #fff; box-shadow: 0 10px 30px -20px rgba(16,24,40,.25); }
/* En-tête de la fiche technique : bandeau-étiquette, même langage que le hub */
.academy-fiche h3 {
  margin: -22px -24px 18px; padding: 13px 24px;
  background: var(--nexi-bone, #F5F7FB);
  border-bottom: 1px solid var(--nexi-mist, #E6EBF3);
  border-radius: 16px 16px 0 0;
  font-family: var(--ff-mono, monospace); font-weight: 500; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--nexi-slate, #5A6B85);
}
.academy-fiche dl { margin: 0 0 18px; }
.academy-fiche dt { font-family: var(--ff-mono, monospace); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--nexi-steel, #AEB8CC); margin-top: 14px; }
.academy-fiche dd { margin: 3px 0 0; font-size: 15px; font-weight: 600; color: var(--nexi-charcoal, #101828); }
.academy-fiche .btn { display: flex; width: 100%; justify-content: center; margin-top: 10px; }
/* Skill : bloc installation + tableau caractéristiques */
.academy-install { display: flex; gap: 12px; align-items: center; background: #0f172a; border-radius: 12px; padding: 12px 14px; margin-top: 14px; }
.academy-install code { flex: 1; min-width: 0; overflow-x: auto; font-family: var(--ff-mono, monospace); font-size: 13px; color: #e2e8f0; white-space: nowrap; }
.academy-install .btn { flex: none; margin: 0; background: rgba(255,255,255,.12); color: #fff; border-color: transparent; }
.academy-install .btn:hover { background: rgba(255,255,255,.22); }
.academy-spec { width: 100%; border-collapse: collapse; margin-top: 6px; }
.academy-spec th, .academy-spec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--nexi-line, #e8eaed); font-size: 14.5px; vertical-align: top; }
.academy-spec tr:last-child th, .academy-spec tr:last-child td { border-bottom: none; }
.academy-spec th { width: 150px; color: var(--nexi-slate, #64748b); font-weight: 500; font-family: var(--ff-mono, monospace); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.academy-spec code { font-family: var(--ff-mono, monospace); font-size: 13px; background: #fff; border: 1px solid var(--nexi-line, #e8eaed); padding: 2px 7px; border-radius: 5px; }
@media (max-width: 900px) {
  .academy-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .academy-detail-aside { position: static; }
}
.academy-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--ff-mono, monospace); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--nexi-steel, #AEB8CC); padding-top: 130px; }
.academy-breadcrumb a { color: var(--nexi-slate, #5A6B85); text-decoration: none; }
.academy-breadcrumb a:hover { color: var(--nexi-blue, #0B5FFF); }
.academy-detail-head { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.academy-detail-logo { width: 64px; height: 64px; border-radius: 14px; object-fit: contain; background: #fff; border: 1px solid var(--nexi-line, #e5e7eb); padding: 8px; flex: none; }
.academy-detail-head h1 { font-size: clamp(24px, 6vw, 52px); margin: 0; line-height: 1.08; overflow-wrap: anywhere; word-break: break-word; }
.academy-detail-head > div { min-width: 0; }
/* Longs noms de dépôts / chemins : autoriser le retour à la ligne (anti-débordement mobile) */
.academy-card h3, .academy-fiche dd, .academy-spec td, .academy-spec code, .academy-detail-lead { overflow-wrap: anywhere; }
.academy-install { flex-wrap: wrap; }
@media (max-width: 560px) {
  .academy-install code { white-space: pre-wrap; word-break: break-all; }
  .academy-install .btn { width: 100%; }
}
.academy-detail-lead { margin-top: 24px; font-size: 19px; line-height: 1.6; color: var(--nexi-charcoal, #1f2937); }
.academy-detail-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.academy-detail-shot {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center;
  border-radius: 16px; border: 1px solid var(--nexi-line, #e5e7eb);
  margin-top: 28px; display: block;
  background: linear-gradient(135deg, #eef2ff, #e0f2fe);
}
.academy-detail-body { margin-top: 8px; }
.academy-detail-body > section:not(.blog-faq) {
  margin-top: 20px; padding: 24px 28px;
  background: var(--nexi-bone, #f8fafc); border: 1px solid var(--nexi-line, #e8eaed); border-radius: 16px;
}
.academy-detail-body > section.blog-faq { margin-top: 28px; }
.academy-detail-body h2 { font-size: clamp(21px, 3.5vw, 27px); margin: 0 0 14px; }
.academy-detail-body .academy-pros, .academy-detail-body .academy-cons { background: #fff; }
.academy-detail-body p { font-size: 17px; line-height: 1.6; color: var(--nexi-charcoal, #1f2937); }
.academy-check { list-style: none; padding: 0; margin: 0; }
.academy-check li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 16px; line-height: 1.5; color: var(--nexi-charcoal, #1f2937); }
.academy-check li::before { content: "✓"; position: absolute; left: 0; color: var(--nexi-blue, #0B5FFF); font-weight: 700; }
.academy-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.academy-pros, .academy-cons { border: 1px solid var(--nexi-line, #e5e7eb); border-radius: 14px; padding: 20px; }
.academy-pros h3, .academy-cons h3 { margin: 0 0 12px; font-size: 16px; }
.academy-pros ul, .academy-cons ul { margin: 0; padding-left: 20px; }
.academy-pros li, .academy-cons li { margin-bottom: 8px; font-size: 15px; line-height: 1.5; color: var(--nexi-slate, #475569); }
.academy-similar { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--nexi-line, #e5e7eb); }
.academy-similar h2 { font-size: clamp(22px, 4vw, 30px); margin: 0 0 18px; }
@media (max-width: 720px) {
  .academy-proscons { grid-template-columns: 1fr; }
  .academy-detail-head { gap: 14px; }
  .academy-detail-logo { width: 52px; height: 52px; }
}

/* ═══ SITE VITRINE 490€ (/site-vitrine) ═══════════════════════════════ */
.sv-flip {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px;
  align-items: stretch;
  margin-top: 64px; max-width: 880px;
}
.sv-old, .sv-new { border-radius: var(--r-lg); padding: 30px 32px; }
.sv-old {
  background: #fff;
  border: 1px dashed var(--nexi-steel);
  transform: rotate(-1.5deg);
}
.sv-label {
  font-family: var(--ff-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--nexi-slate);
}
.sv-old .sv-price {
  font-family: var(--ff-display); font-size: 44px; line-height: 1.1;
  color: var(--nexi-steel);
  text-decoration: line-through;
  text-decoration-color: var(--nexi-danger);
  text-decoration-thickness: 4px;
  margin-top: 8px;
}
.sv-old ul, .sv-new ul { list-style: none; margin: 16px 0 0; padding: 0; }
.sv-old li { font-size: 14px; color: var(--nexi-slate); padding: 3px 0; }
.sv-old li::before { content: "✕ "; color: var(--nexi-danger); font-weight: 700; }
.sv-new {
  position: relative;
  background: var(--nexi-ink);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.sv-new .sv-label { color: rgba(255,255,255,0.7); }
.sv-new .sv-price {
  font-family: var(--ff-display); font-size: 56px; line-height: 1.1;
  color: #fff; margin-top: 8px;
}
.sv-new .sv-price small { font-size: 18px; font-family: var(--ff-body); font-weight: 500; opacity: 0.85; }
.sv-new li { font-size: 14.5px; color: #fff; padding: 3px 0; }
.sv-new li::before { content: "✓ "; color: var(--nexi-cyan); font-weight: 700; }
.sv-tag {
  position: absolute; top: -14px; right: 20px;
  background: var(--nexi-gradient); color: #fff;
  font-family: var(--ff-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
}
.two-col-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.sv-pack .plan.featured::before { content: "TOUT COMPRIS"; }
.sv-pack .plan .tag.blue { align-self: flex-start; }
.sv-note {
  margin: 4px 0 0; font-size: 13px; line-height: 1.5;
  color: var(--nexi-slate);
  background: var(--nexi-bone); border-radius: var(--r-md);
  padding: 12px 14px;
}
.sv-pack .plan.featured .sv-note { color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.06); }
@media (max-width: 860px) {
  .sv-flip { grid-template-columns: 1fr; max-width: 480px; }
  .sv-old { transform: rotate(-1deg); }
  .two-col-plans { grid-template-columns: 1fr; }
}
.sv-home-band {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px;
  align-items: center;
  background: #fff; border: 1px solid var(--nexi-mist);
  border-radius: var(--r-xl);
  padding: 56px 60px;
}
@media (max-width: 900px) {
  .sv-home-band { grid-template-columns: 1fr; gap: 36px; padding: 36px 28px; }
}

/* ─── Supports visuels (/supports-visuels) : liste de prix simple ───── */
.pv-rows { margin-top: 28px; display: flex; flex-direction: column; max-width: 720px; }
.pv-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; padding: 18px 4px;
  border-bottom: 1px solid var(--nexi-mist);
  font-size: 16px; color: var(--nexi-ink);
}
.pv-row .pv-price { font-family: var(--ff-mono); font-weight: 600; white-space: nowrap; }

/* Badge retouches sur les cartes tarifaires */
.pv-badge {
  display: inline-block; align-self: flex-start;
  background: rgba(11, 95, 255, 0.08); color: var(--nexi-blue);
  border: 1px solid rgba(11, 95, 255, 0.25);
  border-radius: 999px; padding: 5px 12px;
  font-size: 13px; font-weight: 600; line-height: 1.3;
}
.plan.featured .pv-badge {
  background: rgba(34, 211, 238, 0.12); color: var(--nexi-cyan);
  border-color: rgba(34, 211, 238, 0.35);
}
/* Encart "cadre" affiché près des prix */
.pv-cadre {
  border: 1.5px solid rgba(11, 95, 255, 0.3);
  background: rgba(11, 95, 255, 0.04);
  border-radius: var(--r-lg); padding: 20px 24px;
  font-size: 15px; line-height: 1.6; color: var(--nexi-ink);
  max-width: 860px;
}
/* Petite ligne de condition sous un bloc d'offres */
.pv-condline { margin-top: 20px; font-size: 14px; color: var(--nexi-slate); line-height: 1.6; }
/* Conditions & modalités : grille déroulée, toujours visible */
.pv-conditions { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; margin-top: 48px; }
.pv-conditions > div { border-top: 2px solid var(--nexi-ink); padding-top: 18px; }
.pv-conditions h3 { margin: 0 0 10px; font-size: 18px; }
.pv-conditions p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--nexi-slate); }
@media (max-width: 760px) {
  .pv-conditions { grid-template-columns: 1fr; }
}

/* Grille de prix à 2 produits dans une carte tarifaire (supports à l'unité) */
.plan .pv-rows { margin-top: 10px; max-width: none; }
.plan .pv-row { padding: 12px 0; font-size: 15px; }
.plan .pv-row .pv-price { font-size: 17px; }
.plan.featured .pv-row { color: #fff; border-color: rgba(255, 255, 255, 0.18); }

/* ─── Nav : menu déroulant "Offres" ─────────────────────────────────── */
.nav-drop { position: relative; }
.nav-drop-caret { font-size: 10px; opacity: 0.6; margin-left: 2px; }
.nav-drop-panel {
  position: absolute; top: 100%; left: 0;
  min-width: 240px;
  display: flex; flex-direction: column; gap: 2px;
  background: #fff;
  border: 1px solid var(--nexi-mist);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(10, 22, 40, 0.10);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 90;
}
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.nav-drop-item {
  text-align: left;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 15px; font-weight: 500;
  font-family: var(--ff-body);
  color: var(--nexi-ink);
  background: transparent; border: 0; cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-drop-item:hover { background: rgba(10, 22, 40, 0.06); }
.nav-drop-item.active { font-weight: 700; }
body.dark .nav-drop-panel { background: rgba(10, 22, 40, 0.97); border-color: rgba(255, 255, 255, 0.08); }
body.dark .nav-drop-item { color: #fff; }
body.dark .nav-drop-item:hover { background: rgba(255, 255, 255, 0.08); }

@media (max-width: 1280px) {
  /* Dans le menu burger : on aplatit, les deux offres deviennent des liens simples */
  .nav-drop { display: contents; }
  .nav-drop > .nav-link { display: none; }
  .nav-drop-panel {
    position: static; opacity: 1; transform: none; pointer-events: auto;
    background: transparent; border: 0; box-shadow: none; padding: 0; min-width: 0;
    gap: 4px;
  }
  .nav-drop-item {
    font-size: 16px; padding: 14px 18px; border-radius: 12px; width: 100%;
    white-space: normal;
  }
}

/* ─── Portfolio : éventail 3D de sites réalisés (/site-vitrine) ──────── */
.pf-section { overflow: hidden; }
.pf-fan {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 24px;
  padding: 90px 0 36px;
}
.pf-item {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: clamp(280px, 26vw, 400px);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--nexi-mist);
  background: #fff;
  transform: perspective(3200px) rotateY(-38deg) translateY(calc(-1 * var(--pf-y, 0px)));
  /* Ombre portée vers la droite : renforce la lecture « cartes empilées » */
  box-shadow:
    rgba(10, 22, 40, 0.05) 6px 0 6px 0,
    rgba(10, 22, 40, 0.22) 22px 0 26px 0;
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.35s ease;
}
.pf-item + .pf-item { margin-left: calc(clamp(280px, 26vw, 400px) * -0.68); }
.pf-item img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover; object-position: left top;
}
.pf-item:hover, .pf-item:focus-visible {
  z-index: 60 !important; /* passe devant les cartes voisines (z-index posé en inline) */
  transform: perspective(3200px) rotateY(-6deg) translateY(calc(-1 * var(--pf-y, 0px) - 34px)) scale(1.04);
  box-shadow: 0 30px 60px -18px rgba(10, 22, 40, 0.4);
}
.pf-item:focus-visible { outline: 3px solid rgba(11, 95, 255, 0.45); outline-offset: 3px; }
.pf-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: 40px 18px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.72) 32%, rgba(10, 22, 40, 0.92) 100%);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.pf-item:hover .pf-cap, .pf-item:focus-visible .pf-cap { opacity: 1; }
.pf-cap strong { font-size: 16px; font-weight: 700; }
.pf-cap span { font-size: 12.5px; color: rgba(255, 255, 255, 0.75); }
.pf-cap em { font-style: normal; font-family: var(--ff-mono); font-size: 12px; color: var(--nexi-cyan); margin-top: 4px; }
body.dark .pf-item { border-color: rgba(255, 255, 255, 0.1); }

/* Mobile : l'éventail 3D est illisible, on passe en rangée à faire défiler
   au doigt (scroll-snap). Les cartes restent des liens, captions visibles. */
@media (max-width: 860px) {
  .pf-fan {
    justify-content: flex-start;
    align-items: stretch;
    gap: 14px;
    padding: 12px 4px 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .pf-item {
    width: min(78vw, 320px);
    scroll-snap-align: center;
    transform: none;
    box-shadow: 0 10px 26px -12px rgba(10, 22, 40, 0.25);
  }
  .pf-item + .pf-item { margin-left: 0; }
  .pf-item:hover, .pf-item:focus-visible { transform: none; }
  .pf-cap { opacity: 1; padding: 34px 14px 12px; }
}

/* Mouvement réduit : éventail conservé (état statique), mais plus de
   bascule animée au survol. Transition quasi instantanée, jamais figée. */
@media (prefers-reduced-motion: reduce) {
  .pf-item { transition-duration: 0.01s; }
}
