:root {
  --ink: #0b1734;
  --muted: #62708a;
  --blue: #2864eb;
  --blue-hover: #1d52cb;
  --line: #dfe6f2;
  --paper: #f5f7fb;
  --violet: #7a5cff;
  --green: #107c41;
  --green-bg: #e8f8ef;
  --yellow-bg: #fff8e6;
  --yellow-text: #b78103;
  --red-bg: #ffebeb;
  --red-text: #d92626;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', Inter, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .025;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(1200px, calc(100% - 40px));
  margin: auto;
}

/* STICKY HEADER & NAVBAR */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e7ebf2;
}

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.v2-badge {
  font-size: 9px;
  padding: 3px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2864eb, #7a5cff);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.navlinks {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: nowrap;
}
.navlinks a {
  font-size: 13px;
  text-decoration: none;
  color: #52617b;
  font-weight: 600;
  transition: color .2s;
  white-space: nowrap;
}
.navlinks a:hover {
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 750;
  font-size: 13px;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-2px);
}
.button.small {
  padding: 8px 13px;
  font-size: 12px;
}
.button.ghost {
  color: #214ba8;
  border: 1px solid #d4e0fa;
  background: #f4f7ff;
}
.button.ghost:hover {
  background: #e9f0ff;
}
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #2058da, #397cf7);
  box-shadow: 0 10px 24px rgba(40,100,235,.24);
}
.button.primary:hover {
  box-shadow: 0 14px 30px rgba(40,100,235,.35);
}
.button.secondary {
  color: #24436f;
  background: #eff3fa;
}
.button.secondary:hover {
  background: #e2eaf5;
}
.button.white {
  background: #fff;
  color: #1d4eae;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.width-100 { width: 100%; }

/* HERO SECTION & CANVAS PARTICLES */
.hero {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 50px;
  align-items: center;
  padding: 50px 0 80px;
  position: relative;
}

#hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #375388;
  background: #f0f4fb;
  padding: 7px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.eyebrow i {
  width: 7px;
  height: 7px;
  background: #397cf7;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #dce8ff;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: -.05em;
  margin: 22px 0;
  color: #0a1530;
}
.hero h1 span {
  background: linear-gradient(100deg, #2864eb, #7658ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy > p {
  font-size: 16px;
  line-height: 1.7;
  color: #60708a;
  max-width: 540px;
}
.actions {
  display: flex;
  gap: 12px;
  margin: 26px 0;
}
.trust {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #68758a;
  font-weight: 700;
}

/* INTERACTIVE DEMO STAGE & EXCEL MOCKUP */
.stage {
  position: relative;
  isolation: isolate;
  perspective: 1200px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  opacity: 0.65;
}
.orb.one {
  width: 320px;
  height: 320px;
  right: -20px;
  top: -60px;
  background: #c3d9ff;
}
.orb.two {
  width: 260px;
  height: 260px;
  left: -30px;
  bottom: -60px;
  background: #e3d5ff;
}

.excel-window {
  border: 1px solid #d9e2f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 35px 90px rgba(27,46,91,.22);
  overflow: hidden;
  transition: transform .15s cubic-bezier(.2,.8,.2,1);
  transform-style: preserve-3d;
}

.excel-top {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: #f7f9fc;
  border-bottom: 1px solid #e4e9f1;
}
.excel-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #107c41;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
}
.excel-top div:nth-child(2) {
  display: flex;
  flex-direction: column;
  font-size: 10px;
}
.excel-top div:nth-child(2) b {
  font-size: 12px;
}
.cell-tag {
  margin-left: auto;
  font-size: 11px;
  background: #edf3ff;
  color: var(--blue);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid #d5e3ff;
}
.window-dots {
  color: #67748a;
  font-size: 12px;
  margin-left: 10px;
}

.excel-ribbon {
  display: flex;
  gap: 20px;
  height: 36px;
  align-items: center;
  padding: 0 16px;
  font-size: 10px;
  color: #53617a;
  border-bottom: 1px solid #e6ebf2;
  background: #fafbfc;
}
.excel-ribbon strong {
  color: var(--blue);
  background: #e8f0ff;
  padding: 3px 8px;
  border-radius: 4px;
}

.workspace {
  display: grid;
  grid-template-columns: 1fr 275px;
  min-height: 440px;
}

.sheet {
  background: #fbfcfe;
  display: flex;
  flex-direction: column;
}
.sheet-banner {
  background: #eef4ff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  padding: 6px 12px;
  border-bottom: 1px solid #dbe6fb;
  text-align: center;
}
.formula {
  height: 32px;
  border-bottom: 1px solid #e0e5ec;
  padding: 8px 12px;
  font-size: 10px;
  color: #68758a;
  font-family: monospace;
}
.grid {
  font-size: 10px;
  display: flex;
  flex-direction: column;
}
.row {
  display: grid;
  grid-template-columns: 28px 1.2fr 1fr 1fr .8fr;
  min-height: 42px;
  cursor: pointer;
  transition: background .15s;
}
.row > * {
  border-right: 1px solid #e5e9ef;
  border-bottom: 1px solid #e5e9ef;
  padding: 10px 8px;
  display: flex;
  align-items: center;
}
.row i {
  font-style: normal;
  color: #8490a2;
  justify-content: center;
  background: #f3f5f8;
  font-weight: 700;
}
.row.head {
  min-height: 28px;
  cursor: default;
}
.row.head > * {
  padding: 6px;
  background: #f0f3f8;
  font-weight: 700;
  color: #55637a;
}
.row.demo-row:hover {
  background: #f0f5ff;
}
.row.active-row {
  background: #effbf4 !important;
  outline: 2px solid #107c41;
  outline-offset: -2px;
  font-weight: 700;
}
.cell-verif em {
  display: inline-block;
  margin-left: 4px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  font-size: 8px;
  text-align: center;
  line-height: 13px;
  font-style: normal;
}
.ecart.ok { color: var(--green); font-weight: 700; }
.ecart.warn { color: var(--yellow-text); font-weight: 700; }
.ecart.err { color: var(--red-text); font-weight: 700; }

/* PANE SIDEBAR */
.pane {
  background: #f2f5fb;
  border-left: 1px solid #dce3ed;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pane-head {
  background: linear-gradient(135deg, #0f224a, #2665e8);
  color: #fff;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mini-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 11px;
}
.pane-head > div:nth-child(2) {
  display: flex;
  flex-direction: column;
}
.pane-head b { font-size: 12px; }
.pane-head span { font-size: 9px; opacity: 0.8; }
.pane-badge {
  margin-left: auto;
  font-size: 8px;
  background: #107c41;
  color: #fff;
  padding: 3px 6px;
  border-radius: 999px;
  font-weight: 800;
}

/* PANE TABS */
.pane-tabs {
  display: flex;
  background: #e2e8f3;
  padding: 3px;
  border-radius: 8px;
  gap: 2px;
}
.pane-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 6px 4px;
  font-size: 9px;
  font-weight: 700;
  color: #5d6d88;
  border-radius: 6px;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
}
.pane-tab.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.pane-content {
  display: none;
  flex-direction: column;
  gap: 8px;
}
.pane-content.active {
  display: flex;
}

.mission, .document, .capture, .drop-zone, .match-mini-box, .synthese-mini, .pane-form {
  background: #fff;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  padding: 10px;
}
.mission { display: flex; flex-direction: column; gap: 2px; }
.mission small, .capture small { font-size: 8px; letter-spacing: .08em; color: #7b879a; font-weight: 700; }
.mission b { font-size: 11px; color: #184dbb; }
.mission span { font-size: 9px; color: #6a778e; }

.document { display: flex; gap: 8px; align-items: center; }
.pdf {
  width: 30px;
  height: 36px;
  background: #ffe3e3;
  color: #b22525;
  font-size: 8px;
  font-weight: 800;
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.document > div { display: flex; flex-direction: column; flex: 1; }
.document b { font-size: 10px; color: var(--ink); }
.document span { font-size: 8px; color: #6f7c94; }
.doc-badge {
  font-size: 8px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--green-bg);
  color: var(--green);
}

.capture { display: flex; flex-direction: column; gap: 6px; }
.capture b { font-size: 15px; color: var(--ink); }
.capture button {
  border: 0;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  padding: 8px;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s;
}
.capture button:hover { background: var(--blue-hover); }

.drop-zone {
  border: 1.5px dashed #cbd6e8;
  text-align: center;
  color: #3467d7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.drop-zone span { font-size: 16px; }
.drop-zone b { font-size: 9px; }
.drop-zone small { font-size: 8px; color: #8792a4; }

.pane-form { display: flex; flex-direction: column; gap: 6px; }
.pane-form label { font-size: 9px; font-weight: 700; color: #55647c; }
.pane-select, .pane-input {
  width: 100%;
  padding: 6px;
  font-size: 9px;
  border: 1px solid #d4dcfa;
  border-radius: 6px;
}

.match-mini-box p { font-size: 9px; color: #67758e; margin: 4px 0 8px; }
.match-head { font-weight: 800; font-size: 11px; color: var(--blue); }
.match-step { font-size: 9px; margin-bottom: 4px; }
.match-step span {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-weight: 800;
  line-height: 14px;
  font-size: 8px;
  margin-right: 4px;
}

.synthese-mini h4 { margin: 0 0 6px; font-size: 11px; color: var(--ink); }
.synth-counters { display: flex; gap: 4px; margin-bottom: 8px; }
.sc {
  flex: 1;
  text-align: center;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}
.sc b { font-size: 12px; }
.sc span { font-size: 7px; text-transform: uppercase; font-weight: 700; }
.sc.ok { background: var(--green-bg); color: var(--green); }
.sc.warn { background: var(--yellow-bg); color: var(--yellow-text); }
.sc.err { background: var(--red-bg); color: var(--red-text); }

/* FLOATING CARDS */
.float-card {
  position: absolute;
  background: rgba(255,255,255,.96);
  border: 1px solid #dfe6f1;
  border-radius: 13px;
  padding: 10px 14px;
  box-shadow: 0 18px 40px rgba(28,49,93,.16);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  transition: transform .3s, opacity .3s;
}
.float-card > span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.float-card div { display: flex; flex-direction: column; }
.float-card b { font-size: 11px; color: var(--ink); }
.float-card small { font-size: 9px; color: #778398; }

.evidence { left: -30px; bottom: 30px; }
.evidence > span { background: #e8f8ef; color: #13874a; }
.synced { right: -20px; top: 60px; }
.synced > span { background: #e8f0ff; color: var(--blue); }

/* LOGOS */
.logos {
  border-top: 1px solid #e7ebf2;
  border-bottom: 1px solid #e7ebf2;
  padding: 32px 0;
  text-align: center;
}
.logos > span {
  font-size: 10px;
  letter-spacing: .16em;
  color: #8a94a6;
  font-weight: 700;
}
.logos div {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 18px;
  color: #34415a;
  font-size: 13px;
  letter-spacing: .08em;
  font-weight: 800;
}

/* AVANT / APRÈS SLIDER COMPARATIF 1:1 FIXED CONTENT */
.ba-slider-container {
  position: relative;
  width: 100%;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  user-select: none;
  cursor: ew-resize;
  background: #081124;
}

.ba-before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid #397cf7;
  z-index: 2;
  /* NO PADDING here so width: 0% goes truly to 0px far left! */
}

.ba-before-content, .ba-after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 35px 45px;
  width: min(1200px, 100%);
}

.ba-before-content {
  background: #081124;
  color: #fff;
}

.ba-after {
  background: linear-gradient(135deg, #102652, #1d55cf);
  color: #fff;
  z-index: 1;
}

.ba-card {
  width: min(1110px, calc(100vw - 120px));
  flex-shrink: 0;
}

.ba-card.dark { color: #d0dcf5; }

.ba-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.ba-tag.new { background: #34d399; color: #064e3b; }
.ba-tag.old { background: #f87171; color: #7f1d1d; }

.ba-card h3 { font-size: 24px; margin: 0 0 16px; color: #fff; }
.ba-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ba-card li { font-size: 14px; line-height: 1.5; }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
}
.ba-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
}

/* SECTIONS */
.section { padding: 110px 0; }
.section-title {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: flex-end;
  margin-bottom: 48px;
}
.section-title small, .cta small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--blue);
}
.section-title h2, .cta h2 {
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 10px 0 0;
}
.section-title > p {
  max-width: 470px;
  color: #67758d;
  line-height: 1.7;
  font-size: 15px;
}

/* BENTO GRID */
.bento {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 16px;
}
.tile {
  border: 1px solid #e0e6f0;
  border-radius: 24px;
  padding: 32px;
  min-height: 310px;
  background: linear-gradient(145deg, #fff, #f8faff);
  position: relative;
  overflow: hidden;
}
.tile.large { grid-row: span 2; min-height: 630px; }
.tile.dark {
  background: linear-gradient(145deg, #0b1734, #132d63);
  color: #fff;
  border: 0;
}
.tile h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.03em;
  margin: 18px 0 12px;
}
.tile p { font-size: 13px; line-height: 1.7; color: #71809a; }
.tile.dark p { color: #aebbd3; }

.pill {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #b9c9e9;
  background: rgba(255,255,255,0.12);
  padding: 7px 11px;
  border-radius: 999px;
}
.pill.blue { color: var(--blue); background: #e8f0ff; }
.pill.violet { color: #7457df; background: #efeaff; }

.xref-visual {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 50px;
}
.cell {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  color: #9fb6df;
  font-size: 11px;
}
.cell span {
  display: block;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  margin-top: 4px;
}
.line {
  width: 2px;
  height: 50px;
  background: linear-gradient(#4d82f2, #8f72ff);
  margin: auto;
}
.file {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  color: #122042;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.file i {
  font-style: normal;
  width: 36px;
  height: 42px;
  border-radius: 8px;
  background: #ffe3e3;
  color: #b32323;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
}
.file div { display: flex; flex-direction: column; flex: 1; }
.file span { font-size: 10px; color: #778398; }
.pill-check {
  font-size: 10px;
  font-weight: 800;
  background: var(--green-bg);
  color: var(--green);
  padding: 4px 8px;
  border-radius: 6px;
}

.numbers, .folders { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.numbers span, .folders span {
  padding: 11px 14px;
  border-radius: 11px;
  background: #eef2f8;
  color: #6d7890;
  font-size: 12px;
}
.numbers .active {
  background: #e6f0ff;
  color: #245dcf;
  font-weight: 800;
  border: 1px solid #bcd3ff;
}
.folders span { display: flex; justify-content: space-between; }
.folders b { background: #fff; padding: 2px 8px; border-radius: 999px; color: #52617a; }

/* SECTION DARK: MATCH AUTO V2 */
.section-dark {
  background: #07132a;
  color: #fff;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.highlight-badge {
  background: linear-gradient(135deg, #2864eb, #7a5cff);
  color: #fff !important;
  padding: 4px 10px;
  border-radius: 6px;
}
.match-demo-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1.2fr;
  gap: 20px;
  align-items: center;
  margin-top: 40px;
}
.match-arrow {
  font-size: 28px;
  color: var(--blue);
  text-align: center;
  font-weight: 800;
}
.match-card {
  background: #0f2147;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 24px;
}
.match-card-head {
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.file-list-sim { display: flex; flex-direction: column; gap: 10px; }
.sim-file {
  background: rgba(255,255,255,0.06);
  padding: 12px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.tag-blue {
  margin-left: auto;
  background: rgba(40,100,235,0.3);
  color: #8db5ff;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
}

.table-sim { display: flex; flex-direction: column; gap: 6px; font-size: 11px; }
.ts-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
}
.ts-row.head { font-weight: 800; color: #8799bb; background: transparent; }
.st-ok { color: #34d399; font-weight: 700; }
.st-warn { color: #fbbf24; font-weight: 700; }
.st-err { color: #f87171; font-weight: 700; }

/* LIVE SEARCH SIMULATOR */
.search-sim-box {
  background: #0f2147;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 30px;
}
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.search-icon {
  position: absolute;
  left: 16px;
  font-size: 18px;
  color: #64748b;
}
.search-input-wrap input {
  width: 100%;
  background: #07132a;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 16px 120px 16px 48px;
  border-radius: 14px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search-input-wrap input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(40,100,235,0.2);
}
.search-count {
  position: absolute;
  right: 16px;
  font-size: 12px;
  color: #8da4d0;
  background: rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 700;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
}
.search-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px 18px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .15s;
}
.search-item:hover { background: rgba(255,255,255,0.08); }
.search-item-left { display: flex; gap: 12px; align-items: center; }
.search-tag {
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
}
.search-item b { font-size: 13px; color: #fff; }
.search-item span { font-size: 11px; color: #8fa0be; display: block; }
.search-val { font-size: 14px; font-weight: 800; color: #34d399; }

/* NOTE DE SYNTHÈSE CARD */
.memo-preview-card {
  border: 1px solid #e0e6f0;
  border-radius: 24px;
  padding: 36px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}
.memo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eef2f8;
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.memo-header h3 { margin: 0; font-size: 22px; color: var(--ink); }
.memo-header span { font-size: 12px; color: var(--muted); }

.memo-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.mstat {
  background: #f7f9fc;
  padding: 16px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}
.mstat strong { font-size: 20px; color: var(--ink); }
.mstat span { font-size: 11px; color: var(--muted); font-weight: 700; margin-top: 4px; }
.mstat.green { background: var(--green-bg); }
.mstat.green strong { color: var(--green); }
.mstat.yellow { background: var(--yellow-bg); }
.mstat.yellow strong { color: var(--yellow-text); }
.mstat.red { background: var(--red-bg); }
.mstat.red strong { color: var(--red-text); }

.memo-table { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.mtr {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr 1.2fr 1fr;
  padding: 12px 14px;
  background: #fbfcfe;
  border-radius: 10px;
  border: 1px solid #edf2fa;
  align-items: center;
}
.mtr.head { font-weight: 800; background: #f0f4fa; color: #55637a; border: none; }
.pill-st {
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  text-align: center;
}
.pill-st.ok { background: var(--green-bg); color: var(--green); }
.pill-st.warn { background: var(--yellow-bg); color: var(--yellow-text); }
.pill-st.err { background: var(--red-bg); color: var(--red-text); }

/* CALCULATOR */
.calculator-box {
  background: linear-gradient(135deg, #0d1e42, #1841a0);
  border-radius: 28px;
  padding: 50px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.calc-info h2 { font-size: 32px; line-height: 1.15; margin: 12px 0; }
.calc-info p { color: #b8c9eb; font-size: 14px; margin-bottom: 30px; }
.slider-group { margin-bottom: 24px; }
.slider-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: #e2ecff; }
.slider-group input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
  height: 6px;
  cursor: pointer;
}

.calc-results { display: flex; flex-direction: column; gap: 14px; }
.res-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.res-card span { font-size: 10px; letter-spacing: .1em; color: #9bb7ed; font-weight: 800; }
.res-card b { font-size: 36px; font-weight: 800; margin: 4px 0; color: #fff; }
.res-card small { font-size: 11px; color: #c4d7fc; }
.res-card.blue b { color: #60a5fa; }
.res-card.green b { color: #34d399; }

/* WORKFLOW */
.workflow {
  background: #091630;
  color: #fff;
  padding: 110px 0;
  position: relative;
}
.section-title.light p { color: #a8b5cc; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.steps article {
  position: relative;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 24px;
  min-height: 240px;
}
.steps article > b {
  position: absolute;
  right: 18px;
  top: 15px;
  color: rgba(255,255,255,0.15);
  font-size: 28px;
}
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, #2a64e9, #7658ef);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 30px;
}
.steps h3 { font-size: 18px; margin: 0 0 10px; }
.steps p { font-size: 12px; line-height: 1.65; color: #a9b5cb; }

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.features article {
  border: 1px solid #e1e6ef;
  border-radius: 20px;
  padding: 26px;
  min-height: 210px;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.features article:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(28,49,93,.09);
}
.features article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #edf3ff;
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}
.features h3 { font-size: 17px; margin: 22px 0 8px; }
.features p { font-size: 12px; line-height: 1.65; color: #71809a; margin: 0; }

/* QUOTE */
.quote {
  padding: 70px 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, #eef4ff, #f9f7ff);
  text-align: center;
}
.quote-mark { font-size: 55px; line-height: .5; color: var(--blue); }
.quote p {
  font-size: clamp(24px, 3.5vw, 38px);
  line-height: 1.25;
  letter-spacing: -.03em;
  max-width: 850px;
  margin: 20px auto;
}
.quote span { font-size: 11px; color: #758196; font-weight: 700; }

/* FAQ */
.faq { max-width: 820px; margin: auto; }
.faq details { border-bottom: 1px solid #dde4ef; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-weight: 750;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--blue); font-size: 18px; }
.faq p { color: #68768e; line-height: 1.7; font-size: 14px; margin: 0 0 20px; }

/* CTA BANNER */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #0c1c3f, #225cd3);
  color: #fff;
  padding: 60px 70px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 70px;
}
.cta p { color: #c3d1eb; font-size: 14px; margin-top: 8px; }
.cta-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  right: 80px;
  top: -230px;
  background: #7e65ff;
  filter: blur(25px);
  opacity: .5;
}

/* MODAL DIALOG FOR MANIFEST DOWNLOAD */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #fff;
  border: 1px solid #e0e6f2;
  border-radius: 24px;
  padding: 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform .25s ease;
}
.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  background: #f0f4fa;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: background .2s;
}
.modal-close:hover { background: #e1e8f5; color: var(--ink); }

.modal-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #fff4e5;
  color: #b76e00;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.modal-card h3 { font-size: 22px; margin: 0 0 8px; color: var(--ink); }
.modal-card p { font-size: 13px; line-height: 1.6; color: var(--muted); margin-bottom: 20px; }

.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }

.pass-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.modal-input {
  width: 100%;
  padding: 12px 45px 12px 14px;
  font-size: 14px;
  border: 1.5px solid #d0dbe9;
  border-radius: 12px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.modal-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(40,100,235,0.15);
}

.pass-toggle-btn {
  position: absolute;
  right: 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  opacity: .7;
  padding: 4px;
}
.pass-toggle-btn:hover { opacity: 1; }

.pass-error {
  color: var(--red-text);
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
  display: none;
}
.pass-error.visible { display: block; }

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

/* FOOTER */
.footer {
  border-top: 1px solid #e3e8f0;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7a879a;
  font-size: 12px;
  padding: 30px 0;
}
.footer .brand { color: #152343; }
.footer .brand img { width: 28px; height: 28px; }

/* ANIMATION REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.delay { transition-delay: .13s; }

/* RESPONSIVE */
@media (max-width: 1080px) {
  .navlinks { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 30px; }
  .workspace { grid-template-columns: 1fr; }
  .pane { border-left: 0; border-top: 1px solid #dce3ed; }
  .match-demo-grid { grid-template-columns: 1fr; }
  .match-arrow { transform: rotate(90deg); margin: 10px 0; }
  .calculator-box { grid-template-columns: 1fr; padding: 30px; }
  .steps, .features, .memo-stats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; }
  .tile.large { grid-row: auto; min-height: 520px; }
  .float-card { display: none; }
  .ba-slider-container { min-height: 440px; }
  .ba-before-content, .ba-after { padding: 25px; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 40px; }
  .actions { flex-direction: column; }
  .mtr { grid-template-columns: 1fr 1fr; gap: 8px; }
  .steps, .features, .memo-stats { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; gap: 24px; padding: 35px 25px; }
  .footer { flex-direction: column; gap: 15px; align-items: flex-start; }
}
