/* Site public MAMBA : thème clair, identité de l'application. Aucune ressource externe (CSP stricte). */
:root {
  --bg: #ffffff; --bg-alt: #f7f9f8; --surface: #ffffff; --surface-2: #f3f6f4;
  --line: #e5ebe8; --line-2: #d3dcd7;
  --fg: #0c1411; --fg-2: #45514b; --fg-3: #5d6963;
  --accent: #14a86d; --accent-fg: #06130d; --accent-text: #0b7a4e; --accent-deep: #075c3a;
  --accent-soft: rgba(20, 168, 109, .1); --accent-line: rgba(20, 168, 109, .28);
  --warn-bg: #fff3dc; --warn-fg: #8a5300; --blue: #3b6fd8; --violet: #7a5af0;
  --danger: #b42318;
  --radius: 10px; --radius-lg: 16px; --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(12, 20, 17, .06), 0 1px 1px rgba(12, 20, 17, .04);
  --shadow: 0 1px 2px rgba(12, 20, 17, .05), 0 8px 24px -6px rgba(12, 20, 17, .1);
  --shadow-lg: 0 2px 4px rgba(12, 20, 17, .04), 0 24px 64px -16px rgba(12, 32, 24, .22);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -999px; top: 8px; } .skip:focus { left: 12px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: 8px; box-shadow: var(--shadow); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: var(--shadow-sm); transition: background-color .15s, border-color .15s, box-shadow .15s, transform .15s; }
.btn:hover { border-color: #b9c6bf; background: var(--surface-2); }
.btn .i { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover .i { transform: translateX(2px); }
.btn.primary { background: var(--accent); border-color: #109a63; color: var(--accent-fg); box-shadow: 0 1px 2px rgba(6, 19, 13, .18), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.primary:hover { background: #18b877; box-shadow: 0 6px 18px -6px rgba(20, 168, 109, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--fg-2); }
.btn.ghost:hover { color: var(--fg); background: var(--surface-2); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn.lg { min-height: 50px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.btn:disabled { opacity: .6; cursor: progress; }

/* En-tête */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
header.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(12, 20, 17, .04); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: .1em; text-decoration: none; font-size: 15px; }
.nav { display: flex; align-items: center; gap: 16px; flex: 1; }
nav.links { display: flex; gap: 2px; margin: 0 auto; }
nav.links a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--fg-2); font-size: 14.5px; font-weight: 500; transition: color .15s, background-color .15s; }
nav.links a:hover { color: var(--fg); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--fg-2); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.lang .i { width: 16px; height: 16px; }
.lang:hover { color: var(--fg); background: var(--surface-2); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1000px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -16px rgba(12, 20, 17, .18); }
  .js .nav.open { display: flex; }
  .js nav.links { flex-direction: column; margin: 0; }
  .js nav.links a { padding: 12px; font-size: 16px; }
  .js .nav-actions { flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
  .js .nav-actions .btn { flex: 1 1 140px; min-height: 44px; }
  .js .nav-actions .btn.ghost { border-color: var(--line-2); background: #fff; color: var(--fg); }
  /* Sans JavaScript : la navigation reste accessible en ligne défilante */
  html:not(.js) .top-in { flex-wrap: wrap; padding: 10px 0; }
  html:not(.js) .nav { flex-wrap: wrap; }
  html:not(.js) nav.links { overflow-x: auto; max-width: 100%; margin: 0; }
}

/* Typographie commune */
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.head { max-width: 760px; margin-bottom: 56px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .kicker::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; margin: 0 0 16px; }
.sub { color: var(--fg-2); font-size: clamp(16.5px, 1.6vw, 18.5px); line-height: 1.6; margin: 0; }
.head .sub { max-width: 62ch; }
.head.center .sub { margin: 0 auto; }

/* Accroche */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 340px at 50% 0%, rgba(20, 168, 109, .16), transparent 70%),
    radial-gradient(520px 320px at 88% 42%, rgba(59, 111, 216, .07), transparent 70%),
    radial-gradient(520px 320px at 10% 50%, rgba(20, 168, 109, .08), transparent 70%); }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(12, 20, 17, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 20, 17, .045) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%); }
.hero-copy { text-align: center; max-width: 1040px; margin: 0 auto; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--accent-line); background: rgba(255, 255, 255, .8); color: var(--accent-deep); font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-sm); }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { font-size: clamp(38px, 6.6vw, 76px); line-height: 1.02; letter-spacing: -.04em; font-weight: 750; margin: 0 0 24px; }
.hl { background: linear-gradient(100deg, #075c3a 0%, #0b7a4e 35%, #109a63 70%, #0b7a4e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 2vw, 20.5px); line-height: 1.55; color: var(--fg-2); max-width: 640px; margin: 0 auto 36px; }
.hero .lead:has(+ .punch) { margin-bottom: 18px; }
.punch { max-width: 720px; margin: 0 auto 32px; padding: 12px 20px; border-radius: 16px; border: 1px solid var(--accent-line); background: rgba(255, 255, 255, .75); color: var(--fg-2); font-size: clamp(15px, 1.6vw, 17px); line-height: 1.5; box-shadow: var(--shadow-sm); }
.punch strong { display: block; color: var(--accent-deep); font-size: clamp(16.5px, 1.8vw, 19px); letter-spacing: -.01em; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.assure { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--fg-2); font-size: 14.5px; }
.assure li { display: inline-flex; align-items: center; gap: 7px; }
.assure .i { width: 16px; height: 16px; color: var(--accent-text); stroke-width: 2.4; }

/* Maquette de l'application (illustration) */
.shot { position: relative; margin: 64px auto 0; max-width: 1120px; }
.shot::before { content: ""; position: absolute; inset: 8% 6% -4%; z-index: -1; border-radius: 40px; background: radial-gradient(closest-side, rgba(20, 168, 109, .26), transparent); filter: blur(30px); }
.shot figcaption { text-align: center; margin-top: 18px; font-size: 13px; color: var(--fg-3); }
.app { position: relative; border-radius: 16px; border: 1px solid #d9e1dd; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 6px rgba(255, 255, 255, .6); font-size: 13px; line-height: 1.35; color: var(--fg); user-select: none; }
.app-chrome { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: linear-gradient(#fbfcfb, #f5f7f6); border-radius: 16px 16px 0 0; }
.app-chrome span, .code-h span { width: 11px; height: 11px; border-radius: 50%; background: #e1e6e3; }
.app-chrome em { margin: 0 auto; padding: 3px 14px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-style: normal; font-size: 12px; color: var(--fg-3); transform: translateX(-20px); }
.app-body { display: grid; grid-template-columns: 56px 176px minmax(0, 1fr); min-height: 470px; }
.app-rail { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; border-right: 1px solid var(--line); background: #f6f8f7; border-radius: 0 0 0 16px; }
.app-rail img { margin-bottom: 8px; border-radius: 8px; }
.ri { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--fg-3); }
.ri .i { width: 17px; height: 17px; }
.ri.on { background: var(--accent-soft); color: var(--accent-deep); }
.ri.ai { color: #6b4fe0; }
.r-gap { flex: 1; }
.r-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e8ecea; font-size: 10.5px; font-weight: 700; color: var(--fg-2); }
.app-panel { border-right: 1px solid var(--line); background: #fafbfa; padding: 14px 10px; }
.pn-h { font-weight: 700; font-size: 13.5px; padding: 0 6px 12px; }
.pn-scope { display: grid; gap: 3px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 12px; }
.pn-scope small { font-size: 9.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-top: 5px; }
.pn-scope small:first-child { margin-top: 0; }
.pn-scope .dd { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.pn-scope .dd::after { content: ""; width: 5px; height: 5px; border-right: 1.6px solid var(--fg-2); border-bottom: 1.6px solid var(--fg-2); transform: translateY(-2px) rotate(45deg); }
.bchips { display: flex; flex-wrap: wrap; gap: 4px; }
.bchip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--fg-2); }
.bchip.on { background: #e6f6ee; border-color: #9fdcbd; color: var(--accent-deep); }
.bd { width: 6px; height: 6px; border-radius: 50%; } .bd.b1 { background: #14a86d; } .bd.b2 { background: #3b6fd8; } .bd.b3 { background: #e0a100; }
.app-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.app-panel li { padding: 7px 8px; border-radius: 8px; color: var(--fg-2); font-size: 12.5px; }
.app-panel li.on { background: var(--accent-soft); color: var(--fg); font-weight: 650; }
.app-year { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 7px 9px; border: 1px solid var(--line-2); border-radius: 9px; background: #fff; font-weight: 650; font-size: 12.5px; box-shadow: var(--shadow-sm); }
.app-year .i { width: 16px; height: 16px; color: var(--accent-text); }
.app-year small { display: block; color: var(--fg-3); font-size: 11px; font-weight: 550; }
.app-year em { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 650; padding: 1px 7px; border-radius: 999px; background: #e6f6ee; color: var(--accent-deep); border: 1px solid #c4e9d6; white-space: nowrap; }
.panel > .app-year { justify-self: start; margin: 0; padding: 8px 12px; gap: 10px; font-size: 13.5px; }
.panel > .app-year em { margin-left: 8px; }
.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-top { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.app-top .i { width: 14px; height: 14px; }
.a-search { flex: 0 1 300px; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--fg-3); font-size: 12px; white-space: nowrap; overflow: hidden; }
.a-search kbd { margin-left: auto; font: 600 10px var(--font); padding: 1px 5px; border-radius: 5px; background: var(--surface-2); color: var(--fg-2); }
.a-ask { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 12px; color: var(--fg-2); white-space: nowrap; }
.a-ask .i { color: #6b4fe0; }
.a-new { padding: 7px 12px; border-radius: 10px; background: var(--accent); color: var(--accent-fg); font-weight: 700; font-size: 12px; white-space: nowrap; }
.app-in { padding: 16px 18px 20px; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.app-head { justify-content: flex-start; }
.app-head strong { font-size: 20px; letter-spacing: -.02em; }
.a-sel { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 9px; background: #fff; font-weight: 650; font-size: 12.5px; }
.a-sel small { color: var(--fg-3); font-weight: 500; font-size: 11.5px; }
.seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; }
.seg b, .seg i { font-style: normal; padding: 4px 10px; border-radius: 6px; color: var(--fg-2); font-weight: 550; }
.seg b { background: #fff; color: var(--fg); font-weight: 650; box-shadow: var(--shadow-sm); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.kpi { position: relative; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.kpi small { display: flex; align-items: center; gap: 5px; color: var(--fg-3); font-size: 12px; font-weight: 550; }
.kpi small .i { width: 13px; height: 13px; color: var(--accent-text); }
.kpi strong { display: block; font-size: 21px; letter-spacing: -.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kpi-focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.tip { position: absolute; z-index: 3; top: calc(100% + 10px); right: -6px; width: 250px; padding: 12px 14px; border-radius: 12px; background: #0f1a15; color: #e7efeb; font-size: 12px; line-height: 1.5; box-shadow: var(--shadow-lg); }
.tip::before { content: ""; position: absolute; top: -6px; right: 36px; width: 12px; height: 12px; background: #0f1a15; transform: rotate(45deg); border-radius: 2px; }
.tip b { display: block; color: #fff; margin-bottom: 4px; font-size: 12.5px; }
.tip u { display: block; margin-top: 8px; color: #6ee0ad; text-decoration: none; font-weight: 600; }
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.col { min-width: 0; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: grid; gap: 8px; align-content: start; }
.col-h { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; white-space: nowrap; padding: 4px 4px 2px; font-weight: 650; font-size: 12.5px; }
.col-h .lt { flex-basis: 100%; padding-left: 15px; color: var(--warn-fg); font-weight: 550; font-size: 10.5px; }
.col-h em { margin-left: 2px; font-style: normal; color: var(--fg-3); font-weight: 550; background: #fff; border: 1px solid var(--line); padding: 0 7px; border-radius: 999px; font-size: 11.5px; }
.sd { flex: none; width: 8px; height: 8px; border-radius: 2px; }
.sd.c1 { background: #5b8def; } .sd.c2 { background: #9b8cf0; } .sd.c3 { background: #b98bf2; } .sd.c4 { background: var(--accent); }
.card-m { display: grid; gap: 8px; padding: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); min-width: 0; }
.cm-top { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cm-top > div { min-width: 0; flex: 1; }
.cm-chips { display: flex; gap: 4px; }
.chip { padding: 1px 7px; border-radius: 6px; background: var(--surface-2); color: var(--fg-2); font-size: 10.5px; font-weight: 550; }
.chip.ok { background: #e6f6ee; color: var(--accent-deep); }
.cm-foot { display: flex; justify-content: space-between; gap: 6px; font-size: 10.5px; color: var(--fg-3); white-space: nowrap; }
.cm-foot span { overflow: hidden; text-overflow: ellipsis; }
.cm-foot .late { color: var(--warn-fg); font-weight: 600; }
.card-m b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-m small { display: block; color: var(--fg-3); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drop { height: 96px; box-shadow: none; background: rgba(20, 168, 109, .05); border: 1.5px dashed var(--accent-line); }
.drag { transform: rotate(-2.5deg) translate(14px, 4px); box-shadow: 0 16px 30px -10px rgba(12, 20, 17, .3); border-color: var(--accent-line); position: relative; z-index: 2; }
.av { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: #fff; }
.a1 { background: #6d5bd0; } .a2 { background: #2f7ad1; } .a3 { background: #c2557a; } .a4 { background: #0b7a4e; } .a5 { background: #b4691d; } .a6 { background: #3a8f8a; }
.tag { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--surface-2); color: var(--fg-2); border: 1px solid var(--line); }
.tag .i { width: 11px; height: 11px; stroke-width: 2.2; }
.tag.warn { background: var(--warn-bg); color: var(--warn-fg); border-color: #f3dcae; }
.tag.ok { background: #e6f6ee; color: var(--accent-deep); border-color: #c4e9d6; }
.float { position: absolute; z-index: 4; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.ai-float { left: -28px; bottom: -26px; width: 260px; padding: 14px; }
.ai-h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; color: #5b3fd6; }
.ai-ico { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: linear-gradient(135deg, #efeaff, #e4f7ee); color: #5b3fd6; }
.ai-ico .i { width: 14px; height: 14px; }
.ai-float p { margin: 8px 0 12px; font-weight: 600; font-size: 13.5px; }
.ai-btns { display: flex; gap: 8px; }
.ai-btns span { padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 650; }
.b-ok { background: var(--accent); color: var(--accent-fg); }
.b-no { border: 1px solid var(--line-2); color: var(--fg-2); }
.toast-float { right: 28px; bottom: -18px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #0f1a15; color: #e7efeb; border-color: #0f1a15; font-size: 12.5px; font-weight: 550; }
.toast-float .i { width: 15px; height: 15px; color: #6ee0ad; stroke-width: 2.4; }
.toast-float u, .toast u { text-decoration: none; color: #6ee0ad; font-weight: 700; margin-left: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .ai-float { animation: float 6s ease-in-out infinite; }
  .drag { animation: wiggle 5s ease-in-out infinite; }
  .badge .dot { animation: pulse 2.4s ease-out infinite; }
}
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes wiggle { 50% { transform: rotate(-1.5deg) translate(18px, 2px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20, 168, 109, .45); } 100% { box-shadow: 0 0 0 9px rgba(20, 168, 109, 0); } }

@media (max-width: 1240px) { .ai-float { left: 14px; } }
@media (max-width: 980px) {
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-rail, .app-panel { display: none; }
  .ai-float { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: 0 12px 12px; animation: none; }
  .tip, .toast-float { display: none; }
}
@media (max-width: 760px) {
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .col-4 { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tip { display: none; }
  .ai-float { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: 0 12px 12px; animation: none; }
  .toast-float { display: none; }
  .a-ask { display: none; }
  .a-sel { display: none; }
}
@media (max-width: 560px) {
  .app { font-size: 12px; }
  .app-main { padding: 14px 12px 16px; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board .col:nth-child(3) { display: none; }
  .app-chrome em { display: none; }
  .seg { font-size: 11.5px; } .seg b, .seg i { padding: 3px 7px; }
  .kpi strong { font-size: 18px; }
  .drag { transform: none; animation: none; }
  .card-m .tag { display: none; }
  .badge { font-size: 12.5px; }
  .cta { flex-direction: column; align-items: stretch; max-width: 340px; margin: 0 auto; }
}

/* Bandeau de principes */
.facts { padding: 40px 0 8px; }
.facts-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.fact { display: flex; gap: 12px; align-items: flex-start; padding: 20px 22px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact .i { width: 20px; height: 20px; margin-top: 2px; color: var(--accent-text); }
.fact p { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.45; }
.fact strong { color: var(--fg); }
@media (max-width: 900px) { .facts-in { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .facts-in { grid-template-columns: 1fr; } .fact + .fact { border-left: 0; border-top: 1px solid var(--line); } }

/* Sections */
section.block { padding: 112px 0; }
section.block.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { section.block { padding: 72px 0; } .head { margin-bottom: 40px; } }

/* Parcours */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; position: relative; counter-reset: s; }
.journey::before { content: ""; position: absolute; top: 47px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--accent) 50%, var(--line-2)); opacity: .7; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-n { position: absolute; top: 18px; left: calc(50% + 18px); z-index: 2; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 750; background: var(--fg); color: #fff; border: 2px solid #fff; }
.step-ico { position: relative; width: 64px; height: 64px; margin: 16px auto 20px; display: grid; place-items: center; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--accent-text); transition: transform .25s, box-shadow .25s; }
.step-ico .i { width: 26px; height: 26px; }
.step:hover .step-ico { transform: translateY(-3px); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }
.step:last-child .step-ico { background: var(--accent); color: var(--accent-fg); border-color: #109a63; }
.step h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.55; }
@media (min-width: 901px) and (max-width: 1180px) {
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .journey::before { display: none; }
}
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
  .journey::before { top: 24px; bottom: 24px; left: 31px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--line-2), var(--accent), var(--line-2)); }
  .journey::before { display: none; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 72px; bottom: 6px; width: 2px; border-radius: 2px; background: linear-gradient(var(--accent-line), var(--line)); }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; text-align: left; padding: 0 0 28px; }
  .step-ico { margin: 0; grid-row: span 2; }
  .step-n { top: -6px; left: 48px; }
  .step h3 { margin-top: 6px; }
}

/* Rangées de fonctionnalités */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 72px; align-items: center; }
.rows .feature + .feature { margin-top: 120px; }
.rows .feature:nth-of-type(even) .f-media, .feature.flip .f-media { order: -1; }
.feature.flip { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.f-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 5px 12px 5px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-size: 13.5px; font-weight: 650; }
.f-tag .i { width: 16px; height: 16px; }
.feature h2 { font-size: clamp(28px, 3.2vw, 40px); }
.feature h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; }
.f-copy > p:not(.f-tag):not(.kicker) { color: var(--fg-2); font-size: 17px; margin: 0 0 24px; }
.f-copy .sub { margin-bottom: 24px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--fg-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a4e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.ticks a { color: var(--accent-text); font-weight: 600; }
.f-media { position: relative; padding: 36px; border-radius: var(--radius-xl); border: 1px solid var(--line); background:
  radial-gradient(400px 220px at 85% 0%, rgba(20, 168, 109, .14), transparent 70%),
  radial-gradient(360px 220px at 0% 100%, rgba(59, 111, 216, .07), transparent 70%), linear-gradient(135deg, #f3f8f5, #f8faf9); overflow: hidden; }
.alt .f-media { background: radial-gradient(400px 220px at 85% 0%, rgba(20, 168, 109, .14), transparent 70%), radial-gradient(360px 220px at 0% 100%, rgba(59, 111, 216, .07), transparent 70%), #fff; }
.f-media::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(12, 20, 17, .08) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(135deg, #000, transparent 60%); mask-image: linear-gradient(135deg, #000, transparent 60%); pointer-events: none; }
.panel { grid-template-columns: minmax(0, 1fr); position: relative; background: #fff; border: 1px solid #dde4e0; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-lg); font-size: 13.5px; line-height: 1.4; display: grid; gap: 16px; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.feature:hover .panel { transform: translateY(-4px); }
@media (max-width: 960px) {
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .rows .feature:nth-of-type(even) .f-media, .feature.flip .f-media { order: 0; }
  .rows .feature + .feature { margin-top: 88px; }
}
@media (max-width: 520px) { .f-media { padding: 18px; border-radius: 18px; } .panel { padding: 14px; } .mcard { grid-template-columns: minmax(0, 1fr); } .mcard .tag { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 6px; } .crit li { grid-template-columns: 96px 1fr; } .fn { grid-template-columns: 70px 1fr 44px; gap: 8px; } }

/* Vignette admissions */
.mini-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.mcol { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.mcol-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px; font-weight: 650; padding: 2px 2px 4px; }
.mcol-h em { font-style: normal; font-size: 11.5px; font-weight: 550; color: var(--warn-fg); }
.mcard { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 8px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); }
.mcard b { font-size: 13px; } .mcard small { grid-column: 1; color: var(--fg-3); font-size: 12px; } .mcard .tag { grid-row: 1 / span 2; grid-column: 2; }
.lifted { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.toast { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 10px; background: #0f1a15; color: #e7efeb; font-size: 13px; font-weight: 550; }
.toast .i { width: 15px; height: 15px; color: #6ee0ad; }
.toast u { margin-left: auto; }

/* Vignette entreprises */
.search { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--fg-3); box-shadow: 0 0 0 3px var(--accent-soft); border-color: var(--accent-line); }
.search .i { width: 16px; height: 16px; color: var(--fg-2); }
.caret { width: 1.5px; height: 16px; background: var(--accent-text); margin-left: -6px; }
@media (prefers-reduced-motion: no-preference) { .caret { animation: blink 1.1s steps(1) infinite; } }
@keyframes blink { 50% { opacity: 0; } }
.match { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.match-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.match-h small { display: block; color: var(--fg-3); font-size: 12px; }
.match-h b { font-size: 14.5px; }
.ring { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) 0 86%, #e5ebe8 86% 100%); }
.ring span { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 750; font-size: 16px; color: var(--accent-deep); }
.crit { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.crit li { display: grid; grid-template-columns: 116px 1fr; align-items: center; gap: 10px; color: var(--fg-2); font-size: 12.5px; }
.bar { display: block; height: 7px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--w), #e8eeeb var(--w)); }
.w60 { --w: 60%; } .w70 { --w: 70%; } .w80 { --w: 80%; } .w90 { --w: 90%; } .w100 { --w: 100%; }
.m-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; }
.m-row > div { flex: 1; min-width: 0; }
.m-row b { display: block; font-size: 13px; }
.m-row small { display: block; color: var(--fg-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-row.on { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.score { flex: none; min-width: 40px; padding: 4px 8px; border-radius: 8px; background: #e6f6ee; color: var(--accent-deep); font-weight: 750; text-align: center; font-variant-numeric: tabular-nums; }
.m-row.on .score { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent-text); }
.score-tip { position: relative; margin: 4px 0 2px; padding: 14px; border-radius: 12px; background: #0f1a15; color: #d5e2dc; font-size: 12.5px; line-height: 1.45; }
.score-tip::before { content: ""; position: absolute; top: -6px; right: 24px; width: 12px; height: 12px; background: #0f1a15; transform: rotate(45deg); border-radius: 2px; }
.score-tip > b { display: block; color: #fff; margin-bottom: 10px; font-size: 13px; }
.score-tip .crit { gap: 7px; }
.score-tip .crit li { grid-template-columns: 118px minmax(0, 1fr) 46px; color: #d5e2dc; }
.score-tip .crit em { font-style: normal; text-align: right; color: #fff; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.score-tip .bar { height: 6px; background: linear-gradient(90deg, #45c48f var(--w), #2a3832 var(--w)); }
.score-tip p { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid #24322c; color: #b9cac2; }
@media (max-width: 520px) { .score-tip .crit li { grid-template-columns: 104px minmax(0, 1fr) 38px; gap: 8px; font-size: 12px; } .score-tip .crit em { font-size: 11.5px; } }

/* Vignette contrats d'apprentissage */
.rep-h small { display: block; color: var(--fg-3); font-size: 12px; font-weight: 500; }
.rep-h .tag .i { width: 11px; height: 11px; }
.cerfa { list-style: none; margin: 0; padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.cerfa li { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 7px; border-radius: 999px; background: #e6f6ee; border: 1px solid #c4e9d6; color: var(--accent-deep); font-weight: 600; font-size: 12px; }
.cerfa .i { width: 12px; height: 12px; stroke-width: 2.6; }
.sign small { display: block; color: var(--fg-3); font-size: 12px; margin-bottom: 8px; }
.sign .fl { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 6px; text-align: center; line-height: 1.25; }
.opco { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; }
.opco .i { width: 16px; height: 16px; color: var(--accent-text); }
.opco .tag { margin-left: auto; }

/* Vignette années scolaires */
.yr-list { list-style: none; margin: 0; padding: 4px 14px; display: grid; }
.yr-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; min-width: 0; }
.yr-list li + li { border-top: 1px solid var(--line); }
.yr-list li > div { flex: 1; min-width: 0; }
.yr-list b { display: block; font-size: 13.5px; }
.yr-list small { display: block; color: var(--fg-3); font-size: 12px; }
.yr-list strong { font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.yr-ico { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.yr-ico .i { width: 16px; height: 16px; }
.yr-f { justify-content: space-between; flex-wrap: wrap; }

/* Vignette campagnes */
.chan { display: flex; gap: 6px; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; width: max-content; max-width: 100%; }
.chan span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 7px; font-weight: 600; color: var(--fg-2); font-size: 12.5px; }
.chan .i { width: 14px; height: 14px; }
.chan .on { background: #fff; color: var(--fg); box-shadow: var(--shadow-sm); }
.compose { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.compose small, .utm small { display: block; color: var(--fg-3); font-size: 12px; margin-bottom: 2px; }
.compose b { display: block; margin-bottom: 12px; }
.guard { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.guard li { display: flex; align-items: center; gap: 8px; color: var(--fg-2); font-size: 13px; }
.guard .i { width: 15px; height: 15px; color: var(--accent-text); stroke-width: 2.4; }
.utm { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.utm small { width: 100%; }
code, pre { font-family: var(--mono); }
.utm code { font-size: 12px; padding: 3px 8px; border-radius: 6px; background: #eef4ff; color: #2a4fa3; border: 1px solid #d9e4fb; }

/* Vignette pilotage */
.funnel { display: grid; gap: 10px; }
.fn { display: grid; grid-template-columns: 84px 1fr 52px; align-items: center; gap: 12px; font-size: 13px; color: var(--fg-2); }
.fn b { text-align: right; color: var(--fg); font-variant-numeric: tabular-nums; }
.fbar { display: block; height: 28px; border-radius: 7px; background: linear-gradient(90deg, #14a86d, #45c48f); width: var(--w); min-width: 12px; }
.f100 { --w: 100%; } .f45 { --w: 45%; opacity: .88; } .f22 { --w: 22%; opacity: .76; } .f14 { --w: 14%; opacity: .64; }
.explain { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #0f1a15; color: #d5e2dc; font-size: 12.5px; line-height: 1.5; }
.explain .i { color: #6ee0ad; width: 16px; height: 16px; margin-top: 1px; }
.explain b { display: block; color: #fff; }
.explain u { display: block; margin-top: 6px; color: #6ee0ad; text-decoration: none; font-weight: 650; }

/* Vignette groupes */
.tree { justify-items: center; text-align: center; }
.seg.big { font-size: 13px; } .seg.big b, .seg.big i { padding: 6px 14px; }
.t-root { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 10px; background: var(--fg); color: #fff; font-weight: 650; position: relative; }
.t-root .i { width: 16px; height: 16px; }
.t-campus { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; position: relative; padding-top: 16px; }
.t-campus::before { content: ""; position: absolute; top: -16px; left: 25%; right: 25%; height: 24px; border: 1.5px solid var(--line-2); border-bottom: 0; border-radius: 10px 10px 0 0; }
.campus { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--bg-alt); }
.campus b { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.campus b .i { width: 15px; height: 15px; color: var(--accent-text); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chips span { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-weight: 650; font-size: 12px; }
.t-prog { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--accent-line); background: rgba(20, 168, 109, .05); }
.t-prog .i { width: 22px; height: 22px; color: var(--accent-text); }
.t-prog small { display: block; color: var(--fg-2); font-size: 12.5px; }

/* Vignette IA */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-weight: 650; }
.switch-row span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.switch-row .i { width: 16px; height: 16px; color: #5b3fd6; }
.switch { width: 40px; height: 22px; border-radius: 999px; background: var(--accent); position: relative; flex: none; }
.switch i { position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.sugg { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: linear-gradient(180deg, #fbfaff, #fff); border-left: 3px solid #8d74f2; }
.sugg small { display: block; color: #5b3fd6; font-size: 12px; font-weight: 650; margin-bottom: 4px; }
.sugg b { display: block; margin-bottom: 12px; font-size: 14px; }
.sugg.done { display: flex; align-items: center; gap: 8px; color: var(--fg-2); background: #f3faf6; border-left-color: var(--accent); font-size: 13px; }
.sugg.done .i { width: 16px; height: 16px; color: var(--accent-text); stroke-width: 2.4; }

/* Vignette migration */
.sources { display: flex; flex-wrap: wrap; gap: 6px; }
.sources span { padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: 12.5px; color: var(--fg-2); }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fl { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--fg-3); padding: 8px; border-radius: 10px; background: var(--bg-alt); min-width: 0; }
.fl i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; background: #fff; border: 1px solid var(--line-2); }
.fl i .i { width: 12px; height: 12px; stroke-width: 3; }
.fl.done { color: var(--accent-deep); } .fl.done i { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.fl.cur { color: var(--fg); background: #fff; box-shadow: 0 0 0 1.5px var(--accent-line); } .fl.cur i { border-color: var(--accent-text); color: var(--accent-text); }
.report { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rep-h { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.rep-g { display: grid; grid-template-columns: repeat(3, 1fr); }
.rep-g div { padding: 14px; } .rep-g div + div { border-left: 1px solid var(--line); }
.rep-g strong { display: block; font-size: 22px; letter-spacing: -.02em; }
.rep-g small { color: var(--fg-3); font-size: 12px; }
.rep-f { display: flex; gap: 8px; align-items: center; padding: 10px 14px; background: var(--bg-alt); border-top: 1px solid var(--line); color: var(--fg-2); font-size: 12.5px; }
.rep-f .i { width: 15px; height: 15px; color: var(--accent-text); }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr 1fr; } }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checks li { display: flex; gap: 14px; color: var(--fg-2); }
.checks li strong { color: var(--fg); display: block; }
.checks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a4e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Sécurité */
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sec { position: relative; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s; }
.sec:hover { border-color: var(--accent-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.sec-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 18px; }
.sec-ico .i { width: 22px; height: 22px; }
.sec h3 { margin: 0 0 6px; font-size: 17.5px; letter-spacing: -.01em; }
.sec p { margin: 0; color: var(--fg-2); font-size: 15px; }
@media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .sec-grid { grid-template-columns: 1fr; } .sec { padding: 22px; } }

/* Intégrations */
.int { display: grid; gap: 4px; }
.int > div { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.int .i { width: 22px; height: 22px; color: var(--accent-text); margin-top: 2px; }
.int p { margin: 0; color: var(--fg-2); }
.int strong { display: block; color: var(--fg); }
.panel.code { padding: 0; background: #0d1512; border-color: #0d1512; gap: 0; overflow: hidden; }
.code-h { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid #1f2b26; }
.code-h span { background: #2a3832; }
.code-h em { margin-left: auto; font-style: normal; font-size: 12px; color: #8ea39a; }
.code pre { margin: 0; padding: 22px 20px 26px; color: #d7e3dd; font-size: 13.5px; line-height: 1.85; overflow-x: auto; }
.c-m { color: #6ee0ad; font-weight: 700; } .c-p { color: #f5c26b; font-weight: 700; } .c-c { color: #8ea39a; } .c-e { color: #a99bff; }

/* Toutes les fonctionnalités */
.all { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.all li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 550; font-size: 15px; transition: border-color .2s, transform .2s; }
.all li:hover { border-color: var(--accent-line); transform: translateY(-1px); }
.all .i { width: 20px; height: 20px; color: var(--accent-text); }
@media (max-width: 900px) { .all { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .all { grid-template-columns: 1fr; } }

/* FAQ */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-in .head { margin: 0; position: sticky; top: 100px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; font-weight: 650; font-size: 17px; letter-spacing: -.005em; border-radius: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1411' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s, background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); }
.faq summary:hover { color: var(--accent-deep); }
.faq details p { margin: 0; padding: 0 48px 24px 4px; color: var(--fg-2); }
@media (max-width: 900px) { .faq-in { grid-template-columns: minmax(0, 1fr); gap: 32px; } .faq-in .head { position: static; } .faq details p { padding-right: 4px; } }

/* Bandeau final : démonstration */
.cta-band { padding-top: 24px !important; }
.band { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; padding: 64px; border-radius: 28px; border: 1px solid var(--accent-line); overflow: hidden;
  background: radial-gradient(700px 400px at 0% 0%, rgba(20, 168, 109, .2), transparent 65%), radial-gradient(500px 360px at 100% 100%, rgba(59, 111, 216, .08), transparent 70%), linear-gradient(160deg, #ecf8f2, #f7fbf9); }
.band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(11, 122, 78, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 122, 78, .07) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 0% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 0% 0%, #000, transparent 70%); }
.band > * { position: relative; }
.band h2 { font-size: clamp(30px, 3.6vw, 44px); }
.band .sub { margin-bottom: 28px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); }
@media (max-width: 960px) { .band { grid-template-columns: minmax(0, 1fr); padding: 40px 28px; gap: 36px; } }
@media (max-width: 520px) { .band { padding: 32px 16px; border-radius: 20px; } .form-card { padding: 20px 16px; } }

/* Formulaire de démonstration */
form.demo { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
form.demo .full { grid-column: 1 / -1; }
@media (max-width: 640px) { form.demo { grid-template-columns: minmax(0, 1fr); } }
label.f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 550; color: var(--fg); }
label.f input, label.f select, label.f textarea { font: inherit; font-size: 15px; font-weight: 400; color: var(--fg); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 10px 12px; min-height: 46px; width: 100%; transition: border-color .15s, box-shadow .15s; }
label.f input:hover, label.f select:hover, label.f textarea:hover { border-color: #b3c1ba; }
label.f input:focus, label.f select:focus, label.f textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 4px rgba(20, 168, 109, .18); }
label.f input:focus-visible, label.f select:focus-visible, label.f textarea:focus-visible { outline: none; }
label.f textarea { min-height: 112px; resize: vertical; }
label.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--fg-2); cursor: pointer; }
label.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent-text); }
.block-btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 24px; margin: 0; font-size: 15px; }
.status.ok { color: var(--accent-text); font-weight: 600; } .status.err { color: var(--danger); font-weight: 600; }

/* Pied de page */
.foot { border-top: 1px solid var(--line); padding: 64px 0 32px; color: var(--fg-2); font-size: 14.5px; }
.foot-in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot .brand { color: var(--fg); }
.foot-brand p { margin: 12px 0 0; color: var(--fg-3); }
.foot-col { display: flex; flex-direction: column; gap: 4px; }
.foot-col p { margin: 0 0 6px; font-weight: 650; color: var(--fg); font-size: 14px; }
.foot-col a { text-decoration: none; color: var(--fg-2); padding: 4px 0; width: max-content; }
.foot-col a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--fg-3); font-size: 13.5px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Apparition au défilement : la classe « rv » n'est posée que par la version courante de site.js (une ancienne version
   en cache ne peut donc pas masquer le contenu) ; désactivée si l'utilisateur réduit les animations */
.rv .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv .reveal.in { opacity: 1; transform: none; }
.rv .journey .reveal:nth-child(2), .rv .sec-grid .reveal:nth-child(2) { transition-delay: .07s; }
.rv .journey .reveal:nth-child(3), .rv .sec-grid .reveal:nth-child(3) { transition-delay: .14s; }
.rv .journey .reveal:nth-child(4), .rv .sec-grid .reveal:nth-child(4) { transition-delay: .21s; }
.rv .journey .reveal:nth-child(5), .rv .sec-grid .reveal:nth-child(5) { transition-delay: .28s; }
.rv .journey .reveal:nth-child(6) { transition-delay: .35s; }
.rv .sec-grid .reveal:nth-child(6) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .feature:hover .panel, .sec:hover, .all li:hover, .step:hover .step-ico { transform: none; }
}

/* Tarif : une seule offre par campus, tout illimité */
.price-card { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 350px) minmax(0, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.price-top { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 36px 32px; background: linear-gradient(160deg, var(--accent-soft), rgba(20, 168, 109, .02)); border-right: 1px solid var(--line); }
.price-plan { margin: 0; font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.calc { display: grid; gap: 12px; width: 100%; margin: 6px 0 4px; }
.calc-n { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.calc-n legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--fg-2); }
.calc-n label { position: relative; }
.calc-n input, .calc-sb input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc-n span { display: grid; place-items: center; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font-weight: 650; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.calc-n label:hover span { border-color: var(--accent-line); }
.calc-n input:checked + span { background: var(--fg); border-color: var(--fg); color: #fff; }
.calc-n input:focus-visible + span, .calc-sb input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc-sb span { position: relative; display: block; padding: 10px 12px 10px 40px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; cursor: pointer; font-size: 14px; line-height: 1.4; }
.calc-sb span::before { content: ""; position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-2); background: #fff; }
.calc-sb input:checked + span { border-color: var(--accent-line); background: rgba(255, 255, 255, .85); }
.calc-sb input:checked + span::before { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306130d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; border-color: var(--accent); }
.calc-sb em { font-style: normal; font-weight: 650; color: var(--accent-text); }
.calc-sb small { display: block; color: var(--fg-3); font-size: 12.5px; }
.price-top.quote .price-amount strong { font-size: 44px; }
.price-amount { margin: 4px 0 0; display: flex; align-items: baseline; gap: 8px; }
.price-amount strong { font-size: 64px; line-height: 1; font-weight: 750; letter-spacing: -.03em; color: var(--fg); }
.price-amount span { font-size: 18px; font-weight: 650; color: var(--fg-2); }
.price-per { margin: 0 0 18px; color: var(--fg-2); }
.price-list { list-style: none; margin: 0; padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; align-content: center; }
.price-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 550; font-size: 15px; line-height: 1.45; }
.price-list .i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
@media (max-width: 760px) {
  .price-card { grid-template-columns: minmax(0, 1fr); }
  .price-top { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 24px; }
  .price-list { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .price-amount strong { font-size: 54px; }
}
