/* inovasys.ai — Phase B prototype, Direction B (Contour Survey).
   Tokens and components are the INOVASYS V3 family (Docs/09 §2–§3, ai/DESIGN.md).
   Single stylesheet: base, then the B treatment, then page components. */

:root {
  --bg: #F7F7F4;
  --bg-alt: #EEEEEA;
  --surface: #FFFFFF;
  --ink: #0B1C2C;
  --ink-2: #4A5468;
  --ink-3: #5E677A;
  --rule: #D8D3C8;
  --rule-strong: #0B1C2C;
  --accent: #172D9D;
  --accent-hover: #10217A;
  --cta: #B9470F;           /* conversion orange, Docs/09 §2 (29 Oct 2026, provisional): Let's Talk only */
  --cta-hover: #A93E0F;
  --cta-ink: #FFFFFF;       /* white on orange, 5.3:1 */
  --bg-hero: #EEF4FA;
  --flow: #00E2E0;          /* illustration flow line only */
  --navy-deep: #06121E;
  --inverse-bg: #0B1C2C;
  --inverse-ink: #F7F7F4;
  --inverse-ink-2: #B9BDC4;
  --inverse-accent: #00E2E0;
  --inverse-rule: #2A4258;
  --inverse-rule-soft: #1A3044;
  --focus: #172D9D;
  --field-border: #7D8087;
  --error: #A4161A;
  --error-bg: #FBEFEF;
  --success: #1E6B3A;
  --success-bg: #EEF5F0;

  /* One family (Docs/09 §3): Plus Jakarta Sans 400–700. --font-display / --font-mono stay as aliases. */
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-display: var(--font-body);
  --font-mono: var(--font-body);

  --fs-display: clamp(2.5rem, 5.4vw, 4.75rem);
  --fs-h2: clamp(1.875rem, 3.6vw, 3.25rem);
  /* Five visible sizes at most (Docs/09 §3): display, h2, title, body, label */
  --fs-title: 1.25rem;
  --fs-h3: var(--fs-title);
  --fs-lede: var(--fs-title);
  --fs-small: 1rem;
  --fs-label: 0.75rem;

  --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  --section: var(--space-8);
  --gutter: 16px;
  --max: 1320px;
  --header-h: 68px;
  --radius: 2px;
  --cut: 28px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur-1: 160ms;
  --dur-2: 320ms;
  --dur-3: 400ms;
}
@media (min-width: 768px)  { :root { --gutter: 40px; --section: var(--space-9); } }
@media (min-width: 1200px) { :root { --gutter: 60px; --section: 120px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
h1, h2 { font-family: var(--font-body); font-weight: 600; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
h3 { font: 600 var(--fs-title)/1.3 var(--font-body); margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--inverse-accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--radius); }
.on-dark :focus-visible { outline-color: var(--inverse-accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.label { font: 600 var(--fs-label)/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 10px; }

/* Review strip: says plainly that this is a concept, outside the page design */
.concept-bar { background: var(--bg-alt); color: var(--ink-2); font-size: var(--fs-small); border-bottom: 1px solid var(--rule); }
.concept-bar .wrap { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; min-height: 40px; padding-block: 8px; }
.concept-bar .wrap { padding-block: 0; }
.concept-bar a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); text-underline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: var(--radius); font: 600 1rem/1.3 var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; background: none; color: inherit; transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
.btn-cta { background: var(--cta); color: var(--cta-ink); }
.btn-cta:hover { background: var(--cta-hover); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--rule-strong); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-line { border-color: var(--inverse-ink-2); color: var(--inverse-ink); }
.btn-line:hover { border-color: var(--inverse-ink); }
.btn .arr { transition: transform var(--dur-1) var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 599px) { .cta-row .btn { flex: 1 1 100%; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; gap: var(--space-5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; align-items: center; text-decoration: none; }
.brand img { height: 22px; width: auto; }
.brand .suffix { font: 600 1rem/1 var(--font-body); color: var(--accent); transform: translateY(2px); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: var(--space-5); }
.nav a { text-decoration: none; font-size: var(--fs-small); color: var(--ink-2); min-height: 44px; min-width: 44px; justify-content: center; display: inline-flex; align-items: center; position: relative; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--accent); }
.actions { display: flex; align-items: center; gap: var(--space-4); }
.lang { display: flex; border: 1px solid var(--rule); border-radius: var(--radius); }
.lang button { appearance: none; border: 0; background: none; font: 600 1rem/1 var(--font-body); min-height: 44px; min-width: 44px; color: var(--ink-3); cursor: pointer; transition: background var(--dur-1), color var(--dur-1); }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.menu-toggle { display: none; }
.mobile-only { display: none; }

@media (max-width: 1023px) {
  .nav, .actions .lang, .actions .btn-cta { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; border: 1px solid var(--rule); border-radius: var(--radius); background: none; color: inherit; font: 600 1rem var(--font-body); padding: 0 12px; cursor: pointer; }
}
@media (max-width: 359px) { .menu-toggle .menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Mobile menu: full-screen panel, page made inert while open */
.menu-panel { position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--ink); display: none; flex-direction: column; overflow-y: auto; }
.menu-panel.is-open { display: flex; }
.menu-panel .bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); padding: 0 var(--gutter); border-bottom: 1px solid var(--rule); }
.menu-panel ul { padding: var(--space-5) var(--gutter); }
.menu-panel li a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--rule); text-decoration: none; font: 600 var(--fs-title)/1.3 var(--font-body); }
.menu-panel .foot { padding: 0 var(--gutter) var(--space-7); display: flex; flex-direction: column; gap: var(--space-5); align-items: stretch; }
.menu-panel .lang { align-self: flex-start; }
.icon-btn { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--rule); border-radius: var(--radius); color: inherit; cursor: pointer; }
.icon-btn i, .menu-toggle i { font-size: 1.25rem; line-height: 1; color: var(--accent); }
.site-header.on-dark .menu-toggle i { color: var(--inverse-accent); }

/* Shared section rhythm */
.section { padding-block: var(--section); }
.section-head { display: grid; gap: var(--space-4); max-width: 46rem; margin-bottom: var(--space-7); }
.section-head h2 { font-size: var(--fs-h2); line-height: 1.08; }
.section-head p { color: var(--ink-2); font-size: var(--fs-lede); line-height: 1.5; }

/* Icons: Phosphor Light only (Docs/10 §4); franc blue on light, light blue on navy, never amber */
.ico { font-size: 1.75rem; line-height: 1; color: var(--accent); flex: none; }
.on-dark .ico { color: var(--inverse-accent); }
.arr { font-size: 1.125rem; line-height: 1; }

/* One ecosystem module (shared, Docs/09 §4) */
/* One ecosystem module · Docs/09 §4 (revised 29 Oct 2026): same component as inovasys.io, only the active state and the site sentence change */
.eco { background: var(--bg-hero); }
.eco-grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1024px) { .eco-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-8); } }
.eco h2 { font-size: var(--fs-h2); line-height: 1.08; margin-bottom: var(--space-5); max-width: 16ch; }
.eco-text p { color: var(--ink-2); font-size: var(--fs-lede); line-height: 1.6; max-width: 44ch; }
.eco-lines { display: block; width: 100%; height: clamp(56px, 7vw, 96px); overflow: visible; }
.eco-lines path { fill: none; stroke: var(--flow); stroke-width: 2; vector-effect: non-scaling-stroke; }
.eco-lines circle { fill: var(--bg-hero); stroke: var(--flow); stroke-width: 3; vector-effect: non-scaling-stroke; }
.eco ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.eco a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; min-height: 44px; padding: var(--space-3) var(--space-2) var(--space-4); border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease); }
.eco a:hover { border-color: var(--accent); background: rgba(255,255,255,.6); }
.eco img { width: min(100%, 9rem); height: auto; margin-bottom: var(--space-2); }
.eco .dom { font-weight: 600; font-size: 1.125rem; color: var(--accent); }
.eco .role { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.35; }
.eco .here { display: none; }
.eco a[aria-current="page"] { border: 2px solid var(--accent); background: #FFFFFF; }
.eco a[aria-current="page"] .here { display: block; color: var(--accent); margin-top: 4px; }
@media (max-width: 599px) {
  .eco-lines { display: none; }
  .eco ul { grid-template-columns: 1fr; gap: var(--space-2); }
  .eco a { display: grid; grid-template-columns: 4.5rem 1fr; text-align: left; align-items: center; gap: 0 var(--space-4); padding: var(--space-3); background: rgba(255,255,255,.6); border-color: rgba(11,28,44,.12); }
  .eco img { grid-row: span 3; width: 4.5rem; margin: 0; }
  .eco a[aria-current="page"] .here { grid-column: 2; }
}

/* Footer (shared, navy band) */
.site-footer { background: var(--inverse-bg); color: var(--inverse-ink); padding-block: var(--space-8) var(--space-6); }
.site-footer .top { display: grid; gap: var(--space-6); }
@media (min-width: 768px) { .site-footer .top { grid-template-columns: 1.2fr 2fr; } }
.site-footer .brand img { height: 22px; }
.site-footer .brand .suffix { color: var(--inverse-accent); }
.site-footer .sig { margin-top: var(--space-4); color: var(--inverse-ink-2); font-size: var(--fs-small); }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; color: var(--inverse-ink); font-size: var(--fs-small); }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .bottom { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--inverse-rule); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: center; color: var(--inverse-ink-2); font-size: var(--fs-small); }
.site-footer .legal { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.site-footer .legal a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-underline-offset: 4px; }
.site-footer .lang { border-color: var(--inverse-rule); }

/* Progressive list on mobile (Docs/09 §7): 4 items, then "Show all" */
.more-btn { display: none; }
@media (max-width: 767px) {
  [data-progressive]:not(.is-expanded) > li:nth-child(n+5) { display: none; }
  .more-btn { display: inline-flex; margin-top: var(--space-4); }
}
.site-footer .lang button { color: var(--inverse-ink-2); }
.site-footer .lang button[aria-pressed="true"] { background: var(--inverse-ink); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
/* ── Direction B: navy hero carrying the contour field ───────────── */

.site-header.on-dark { background: var(--navy-deep); color: var(--inverse-ink); border-bottom-color: var(--inverse-rule-soft); }
.site-header.on-dark .nav a { color: var(--inverse-ink-2); }
.site-header.on-dark .nav a:hover { color: var(--inverse-ink); }
.site-header.on-dark .brand .suffix { color: var(--inverse-accent); }
.site-header.on-dark .lang { border-color: var(--inverse-rule); }
.site-header.on-dark .lang button { color: var(--inverse-ink-2); }
.site-header.on-dark .lang button:hover { color: var(--inverse-ink); }
.site-header.on-dark .lang button[aria-pressed="true"] { background: var(--inverse-ink); color: var(--ink); }
.site-header.on-dark .menu-toggle { border-color: var(--inverse-rule); }

.hero { position: relative; display: flex; flex-direction: column; background: var(--navy-deep); color: var(--inverse-ink); overflow: hidden; }
.hero .wrap { order: 1; width: 100%; padding-block: var(--space-8) var(--space-6); }
.hero-copy { position: relative; z-index: 1; max-width: 36rem; }
.hero h1 { font-size: var(--fs-display); line-height: 1.04; }
.hero .lede { margin-top: var(--space-5); font-size: var(--fs-lede); line-height: 1.5; color: var(--inverse-ink-2); }
.hero .cta-row { margin-top: var(--space-6); }
.hero-visual { order: 2; margin: 0; aspect-ratio: 460 / 420; max-height: 420px; }
.hero-visual picture { display: block; height: 100%; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }

@media (min-width: 1024px) {
  .hero { display: block; min-height: clamp(560px, calc(100vh - var(--header-h) - 40px), 760px); }
  .hero .wrap { padding-block: var(--space-9); display: flex; align-items: center; min-height: inherit; }
  .hero-visual { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; height: auto; max-height: none; aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
  .hero-visual img { object-position: 50% 50%; }
  .hero-copy { max-width: min(36rem, 40vw); }
}

.rows { border-top: 1px solid var(--rule-strong); }
.rows li { display: grid; gap: 6px var(--space-6); padding-block: var(--space-5); border-bottom: 1px solid var(--rule); }
.cap-name { display: flex; align-items: center; gap: var(--space-4); }
.cap-desc { color: var(--ink-2); font-size: var(--fs-small); }
.cap-cell { display: none; font-size: var(--fs-small); }
.cap-cell .label { display: block; margin-bottom: 4px; }
.cap-note { margin-top: var(--space-5); }

@media (min-width: 768px) {
  .rows li { grid-template-columns: 1fr 1fr; padding-block: var(--space-6); }
  .cap-cell { display: block; }
}
@media (min-width: 1200px) {
  .rows li { grid-template-columns: 1.25fr 1.5fr 1.1fr 1.4fr; align-items: start; }
  .cap-name { align-items: flex-start; }
}

/* ── Text link ─────────────────────────────────────────────────── */
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--accent); text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 5px; text-decoration-thickness: 1px; transition: color var(--dur-1) var(--ease); }
.text-link:hover { color: var(--accent-hover); }
.text-link .arr { transition: transform var(--dur-1) var(--ease); }
.text-link:hover .arr { transform: translateX(3px); }
.section-foot { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); align-items: center; }

/* ── Inner-page header: navy band with the calm contour strip ─── */
.page-head { position: relative; background: var(--navy-deep); color: var(--inverse-ink); overflow: hidden; }
/* every inner page: the home hero's field and travelling line, the same height on every page (--ph-h fits the longest title) */
.page-head { display: flex; flex-direction: column; }
.page-head .wrap { order: 1; }
.page-head .hero-visual { max-height: 280px; }
/* below 1024 px the copy sits above the field: the copy area takes the longest page's height */
.page-head .wrap { min-height: 37rem; }
@media (min-width: 360px) { .page-head .wrap { min-height: 34.5rem; } }
@media (min-width: 768px) { .page-head .wrap { min-height: 24.5rem; } }
@media (min-width: 1024px) {
  .page-head { --ph-h: 35rem; display: block; }
  .page-head .wrap { display: flex; flex-direction: column; justify-content: center; min-height: var(--ph-h); }
  .page-head .hero-visual { max-height: none; }
  .page-head .wrap h1 { font-size: clamp(2.25rem, 1.1rem + 2.7vw, 3.75rem); line-height: 1.05; } /* the home hero scale */
  .page-head .wrap h1, .page-head .wrap p { max-width: min(36rem, 40vw); } /* clear of the field, as the home hero copy */
}
.page-head .wrap { position: relative; z-index: 1; width: 100%; padding-block: var(--space-8); }
@media (min-width: 1024px) { .page-head .wrap { padding-block: var(--space-9) var(--space-8); } }
.page-head h1 { font-size: var(--fs-display); line-height: 1.06; max-width: 18ch; }
.page-head p { margin-top: var(--space-5); max-width: 40rem; font-size: var(--fs-lede); color: var(--inverse-ink-2); }

/* ── Home: how intelligence enters (three-step path) ──────────── */
.enters-grid { display: grid; gap: var(--space-7); }
@media (min-width: 1024px) { .enters-grid { grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; } }
.enters-grid h2 { font-size: var(--fs-h2); line-height: 1.08; }
.enters-grid .lead p { margin-top: var(--space-5); color: var(--ink-2); font-size: var(--fs-lede); }
.path { display: grid; gap: 0; position: relative; }
.path li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 4px var(--space-4); padding-bottom: var(--space-6); }
.path li::before { content: ""; width: 11px; height: 11px; margin: 7px 0 0 8px; border: 1.5px solid var(--accent); border-radius: 50%; background: var(--bg); grid-row: span 2; position: relative; z-index: 1; }
.path li::after { content: ""; position: absolute; left: 13px; top: 20px; bottom: 0; width: 1px; background: var(--rule); }
.path li:last-child::after { display: none; }
.path li:last-child { padding-bottom: 0; }
.path p { color: var(--ink-2); }
@media (min-width: 768px) {
  .path { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
  .path li { grid-template-columns: 1fr; padding-bottom: 0; }
  .path li::before { margin: 0 0 var(--space-4); grid-row: auto; }
  .path li::after { left: 16px; right: calc(-1 * var(--space-6)); top: 6px; bottom: auto; width: auto; height: 1px; }
}

/* ── Capability rows: related links ───────────────────────────── */
.rows .rel { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
@media (min-width: 1200px) { .rows .rel { grid-column: 2 / -1; } }

/* ── Status tags: honest certainty, never imitating real data ─── */
.status { display: inline-flex; align-items: center; gap: 6px; font: 600 var(--fs-label)/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border: 1px dashed var(--rule); padding: 4px 8px; border-radius: var(--radius); background: repeating-linear-gradient(135deg, rgba(15, 27, 51, .035) 0 6px, transparent 6px 12px); }

/* ── Scenarios (home excerpt and Use Cases page) ──────────────── */
.scenarios { border-top: 1px solid var(--rule-strong); }
.scenario { display: grid; gap: var(--space-4) var(--space-6); padding-block: var(--space-6); border-bottom: 1px solid var(--rule); }
.scenario[hidden] { display: none; }
.scenario-head { display: grid; gap: var(--space-3); align-content: start; }
.scenario-head h2, .scenario-head h3 { font-size: var(--fs-title); line-height: 1.3; letter-spacing: 0; }
.scenario-head .caps-of { color: var(--ink-3); font-size: var(--fs-small); }
.scenario dl { display: grid; gap: var(--space-4); margin: 0; }
.scenario dt { font: 600 var(--fs-label)/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.scenario dd { margin: 0; color: var(--ink-2); }
.scenario dd strong { color: var(--ink); font-weight: 500; }
@media (min-width: 1024px) {
  .scenario { grid-template-columns: 4fr 8fr; }
  .scenario dl { grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-6); }
  .scenario dl .wide { grid-column: 1 / -1; }
}
.scenario.compact dl { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .scenario.compact dl { grid-template-columns: repeat(3, 1fr); } }

/* ── Filters (Use Cases) ──────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.filters button { appearance: none; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); color: var(--ink-2); font: 600 1rem var(--font-body); cursor: pointer; transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.filter-count { color: var(--ink-3); font-size: var(--fs-small); margin-bottom: var(--space-4); }

/* ── Numbered process (Docs/10 §7) ────────────────────────────── */
.process { display: grid; gap: 0; counter-reset: step; }
.process li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 4px var(--space-4); padding-bottom: var(--space-6); counter-increment: step; }
.process li::before { content: counter(step); grid-row: span 2; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font: 600 1rem/1 var(--font-body); background: var(--bg); position: relative; z-index: 1; }
.process li::after { content: ""; position: absolute; left: 22px; top: 44px; bottom: 0; width: 1px; background: var(--rule-strong); }
.process li:last-child::after { display: none; }
.process li:last-child { padding-bottom: 0; }
.process h3 { align-self: center; }
.process p { color: var(--ink-2); font-size: var(--fs-small); }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(5, 1fr); gap: var(--space-5); }
  .process li { display: flex; flex-direction: column; gap: 4px; padding-bottom: 0; }
  .process li::before { flex: none; margin-bottom: var(--space-4); }
  .process li::after { left: 44px; right: calc(-1 * var(--space-5)); top: 22px; bottom: auto; width: auto; height: 1px; }
  .process h3 { align-self: start; }
}

/* ── CTA band ─────────────────────────────────────────────────── */
.cta-band { background: var(--bg-alt); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; justify-content: space-between; padding-block: var(--space-7); }
.cta-band p { font: 600 var(--fs-h2)/1.08 var(--font-body); letter-spacing: -.035em; max-width: 30ch; }

/* ── Capabilities page: one article per capability ────────────── */
.cap-list { border-top: 1px solid var(--rule-strong); }
.cap-article { display: grid; gap: var(--space-5) var(--space-7); padding-block: var(--space-7); border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--header-h) + 16px); }
@media (min-width: 1024px) { .cap-article { grid-template-columns: 4fr 8fr; } }
.cap-article .cap-name h2 { font: 600 var(--fs-title)/1.3 var(--font-body); letter-spacing: 0; }
.cap-article .question { margin-top: var(--space-4); font: 400 var(--fs-title)/1.45 var(--font-body); color: var(--ink); }
.cap-article .body { display: grid; gap: var(--space-5); }
.cap-article .body > p { color: var(--ink-2); }
.ipo { display: grid; gap: var(--space-3); }
.ipo li { position: relative; padding: var(--space-4); border: 1px solid var(--rule); background: var(--surface); border-radius: var(--radius); }
.ipo li .label { display: block; margin-bottom: 4px; }
@media (min-width: 768px) {
  .ipo { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
  .ipo li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: calc(-1 * var(--space-5)); width: var(--space-5); height: 1px; background: var(--accent); }
}
.constraints { display: grid; gap: 6px; padding-left: 1.1rem; list-style: square; color: var(--ink-2); font-size: var(--fs-small); }
.constraints li::marker { color: var(--accent); }
.toc { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); margin-bottom: var(--space-6); }

/* ── Let's Talk form ──────────────────────────────────────────── */
.talk { background: var(--bg-alt); }
.talk-grid { display: grid; gap: var(--space-7); }
@media (min-width: 1024px) { .talk-grid { grid-template-columns: 5fr 7fr; gap: var(--space-8); } }
.talk-grid h2 { font-size: var(--fs-h2); line-height: 1.08; }
.talk-grid .lead p { margin-top: var(--space-5); color: var(--ink-2); font-size: var(--fs-lede); }
.talk-grid .lead .status { margin-top: var(--space-5); }
.form { display: grid; gap: var(--space-5); }
.form .two { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .form .two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 500; font-size: var(--fs-small); }
.field .opt { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: var(--surface); border: 1px solid var(--field-border); border-radius: var(--radius); transition: border-color var(--dur-1) var(--ease); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:disabled, .field select:disabled, .field textarea:disabled { background: var(--bg-alt); color: var(--ink-3); cursor: not-allowed; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .err { color: var(--error); font-size: var(--fs-small); }
.field .err[hidden] { display: none; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); align-items: start; font-size: var(--fs-small); color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.check label { padding-top: 1px; }
.check label { cursor: pointer; }
.form .actions-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.form .note { color: var(--ink-3); font-size: var(--fs-small); }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.btn:disabled { cursor: not-allowed; }
.form-status { padding: var(--space-4); border-radius: var(--radius); border: 1px solid; font-size: var(--fs-small); }
.form-status[hidden] { display: none; }
.form-status.ok { border-color: var(--success); color: var(--success); background: var(--success-bg); }
.form-status.ko { border-color: var(--error); color: var(--error); background: var(--error-bg); }
.form-status:focus { outline: 2px solid var(--focus); outline-offset: 3px; }

/* Links to the sister sites in the main menu (Docs/01 §3: subtle, reciprocal) */
.nav .x-site a { color: var(--ink-3); }
.nav li.x-site:not(.x-site + .x-site) { margin-left: var(--space-3); padding-left: var(--space-5); border-left: 1px solid var(--inverse-rule); }
.x-site .sfx { margin-left: 4px; font-weight: 600; color: var(--accent); }
.site-header.on-dark .x-site .sfx, .site-footer .x-site .sfx { color: var(--inverse-accent); }
.menu-panel .x-site a { font-size: 1.125rem; color: var(--ink-2); }
.nav a { min-width: 44px; justify-content: center; }

/* Demo vs operational system (home) */
.versus { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .versus { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
.versus > div { padding: var(--space-6); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.versus > div.is-system { border: 2px solid var(--accent); }
.versus h3 { margin: var(--space-2) 0 var(--space-4); }
.versus ul { display: grid; gap: 10px; }
.versus li { display: grid; grid-template-columns: 1.25rem 1fr; gap: var(--space-3); color: var(--ink-2); }
.versus li i { color: var(--ink-3); font-size: 1.125rem; margin-top: 2px; }
.versus .is-system li i { color: var(--accent); }
.versus .verdict { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--rule); font-weight: 600; color: var(--ink); }

/* Governance levels (capabilities) */
.levels { display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .levels { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .levels { grid-template-columns: repeat(4, 1fr); } }
.levels li { padding: var(--space-5); background: var(--surface); border: 1px solid var(--rule); border-top: 2px solid var(--accent); border-radius: var(--radius); }
.levels h3 { margin-bottom: var(--space-2); }
.levels p { color: var(--ink-2); font-size: var(--fs-small); }
.levels-note { margin-top: var(--space-5); color: var(--ink-2); max-width: 70ch; }

/* Worked sequence (capabilities): five stages, no figures */
.sequence { display: grid; gap: var(--space-4); counter-reset: st; }
@media (min-width: 1024px) { .sequence { grid-template-columns: repeat(5, 1fr); } }
.sequence li { counter-increment: st; padding: var(--space-5); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); display: grid; gap: var(--space-2); align-content: start; }
.sequence li::before { content: counter(st, decimal-leading-zero); font: 600 var(--fs-label)/1 var(--font-body); letter-spacing: .08em; color: var(--accent); }
.sequence p { color: var(--ink-2); font-size: var(--fs-small); }

/* Architecture: three layers (capabilities) */
.layers { display: grid; gap: var(--space-4); }
@media (min-width: 1024px) { .layers { grid-template-columns: 1fr 1.1fr 1fr; align-items: stretch; } }
.layers > div { padding: var(--space-5); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.layers > div.is-ai { background: var(--ink); color: var(--inverse-ink); border-color: var(--ink); }
.layers > div.is-ai .label { color: var(--inverse-accent); }
.layers > div.is-ai li { color: var(--inverse-ink-2); }
.layers ul { display: grid; gap: 6px; margin-top: var(--space-3); }
.layers li { color: var(--ink-2); font-size: var(--fs-small); }
.layers-note { margin-top: var(--space-5); color: var(--ink-2); max-width: 70ch; }

/* Method with exit conditions (approach page) */
.method { display: grid; gap: 0; border-top: 1px solid var(--rule-strong); counter-reset: m; }
.method li { counter-increment: m; display: grid; gap: var(--space-3) var(--space-6); padding-block: var(--space-6); border-bottom: 1px solid var(--rule); }
@media (min-width: 1024px) { .method li { grid-template-columns: 4rem 1fr 1.2fr; align-items: start; } }
.method li::before { content: counter(m); width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-weight: 600; }
.method h3 { margin-bottom: var(--space-2); }
.method p { color: var(--ink-2); }
.method .exit { padding: var(--space-4); background: var(--bg-alt); border: 1px solid var(--rule); border-radius: var(--radius); }
.method .exit .label { display: block; margin-bottom: 4px; }
.method .exit p { color: var(--ink); }

/* AI Lab notes */
.notes { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .notes { grid-template-columns: repeat(3, 1fr); } }
.notes article { padding: var(--space-5); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); display: grid; gap: var(--space-3); align-content: start; }
.notes p { color: var(--ink-2); font-size: var(--fs-small); }
.legend { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); }
@media (min-width: 768px) { .legend { grid-template-columns: repeat(3, 1fr); } }
.legend div { padding: var(--space-4); border: 1px dashed var(--rule); border-radius: var(--radius); }
.legend p { color: var(--ink-2); font-size: var(--fs-small); margin-top: 4px; }

/* Phones: the band sits behind the text, so it steps back (legibility first) */


.section-head .status { justify-self: start; }

/* Current page on the navy header: white text, light-blue underline (franc blue is only 2.5:1 on navy) */
.site-header.on-dark .nav a[aria-current="page"] { color: var(--inverse-ink); }
.site-header.on-dark .nav a[aria-current="page"]::after { background: var(--inverse-accent); }

/* 1024–1279 px: the menu plus the two sister-site links must fit on one line (EN and FR) */
.nav a { white-space: nowrap; }
.site-header .brand { flex: none; } /* the logo and its .ai suffix never shrink under the menu */
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header .wrap { gap: var(--space-3); }
  .nav ul { gap: var(--space-3); }
  .nav li.x-site:not(.x-site + .x-site) { margin-left: 4px; padding-left: var(--space-4); }
  .site-header .nav a { font-size: .875rem; } /* same size as the .io menu */
  .site-header .btn { white-space: nowrap; padding: 0 16px; }
  .site-header .brand { margin-right: var(--space-2); }
}

/* ── Motion hooks (Docs/11; layer in assets/motion/) ── */
@media (max-width: 1023px) { .hero-visual { position: relative; } .hero-visual .flow-layer.is-desktop { display: none; } } /* the phone crop has its own overlay */
@media (min-width: 1024px) { .hero-visual .flow-layer.is-mobile { display: none; } }
/* stage names: the one the pulse is passing turns white (both states stay above AA) */
.hero-labels text { fill: #7FD9E2; transition: fill 300ms ease; }
.hero-labels text.is-current { fill: #FFFFFF; }
.hero-visual .flow-toggle { position: absolute; right: var(--gutter, 20px); bottom: var(--space-5); z-index: 2; }
.hero-visual .flow-layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-visual { --node-off: var(--navy-deep); --node-off-stroke: rgba(0, 226, 224, .6); }
.hero-visual .flow-pulse { fill: var(--navy-deep); }
.hero-visual[data-gen].has-gen .flow-layer { display: none; } /* a generated hero carries its own line */
.mo .process li::before { transition: background 500ms var(--mo-ease), border-color 500ms var(--mo-ease), color 500ms var(--mo-ease); }
.mo .process li.is-active::before, .mo .process li.is-done::before { background: var(--flow); border-color: var(--flow); color: var(--navy); }

/* Ecosystem module: one animated scene (motion/art/eco-scene.svg), cards aligned under it */
.eco-scene-wrap { margin-bottom: var(--space-2, 8px); }
.eco img, .eco .eco-lines { display: none; }
.eco ul { padding: 0; }
@media (min-width: 1024px) { .eco ul { margin: 0 -3%; } }
@media (max-width: 599px) { .eco a, .eco a[aria-current="page"] { display: flex; flex-direction: column; align-items: flex-start; } .eco a[aria-current="page"] .here { grid-column: auto; } }

/* Even blocks (review of 30 Oct 2026): equal columns, equal panels, footers aligned */
@media (min-width: 1024px) { .layers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.method .exit { min-height: 8.25rem; display: flex; flex-direction: column; justify-content: flex-start; }
.notes article { display: flex; flex-direction: column; gap: var(--space-3); height: 100%; }
.notes article > :last-child { margin-top: auto; }
.eco ul li { display: flex; }
.eco ul li > a { flex: 1; }

/* ── Editorial pass (review of 30 Oct 2026): examples, previews, deliverables, demos ── */
.hero .lede2 { margin-top: var(--space-3); color: var(--inverse-ink-2); max-width: 44ch; }
/* capability: complete example, then the output preview beside the integrations */
.cap-example h3, .cap-side h3 { font: 600 var(--fs-label)/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--space-2); }
.cap-example p { color: var(--ink); font-size: var(--fs-body, 1rem); line-height: 1.6; max-width: 62ch; }
.cap-pair { display: grid; gap: var(--space-5); align-items: start; }
@media (min-width: 768px) { .cap-pair { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.cap-side { display: grid; gap: var(--space-3); align-content: start; }
.cap-side h3 + ul { margin-bottom: var(--space-3); }
.integr { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.integr li { padding: 6px 12px; border-radius: 999px; background: #E6EDF8; color: var(--accent); font-size: var(--fs-small); font-weight: 500; }
/* illustrative output card: a format, not a product screen (Docs/09 §6) */
.preview { position: relative; margin: 0; padding: var(--space-5); border-radius: 10px; background: var(--navy, #0B1C2C); color: #FFFFFF; box-shadow: 0 30px 60px -40px rgba(6, 18, 30, .8); }
.preview .pv-flag { position: absolute; top: var(--space-4); right: var(--space-4); font: 600 .6875rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #00E2E0; opacity: .85; }
.preview .pv-title { font-weight: 600; font-size: 1.0625rem; padding-right: 9rem; margin-bottom: var(--space-4); }
.preview ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.preview li { display: grid; grid-template-columns: 9.5rem 1fr; gap: var(--space-3); align-items: baseline; padding: 10px 12px 10px 30px; border-radius: 6px; background: rgba(255, 255, 255, .06); position: relative; font-size: var(--fs-small); }
.preview li::before { content: ""; position: absolute; left: 12px; top: 1.05em; width: 8px; height: 8px; border-radius: 50%; background: #00E2E0; }
.preview li.is-review::before { background: none; border: 2px solid #F2C46B; width: 6px; height: 6px; }
.preview li.is-info::before { background: #00E2E0; }
.preview .k { color: #A9B6C8; }
.preview .v { color: #FFFFFF; }
.preview .pv-foot { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid rgba(255, 255, 255, .12); color: #00E2E0; font-size: var(--fs-small); }
@media (max-width: 479px) { .preview li { grid-template-columns: 1fr; gap: 2px; } .preview .pv-title { padding-right: 0; margin-top: var(--space-5); } }
/* use cases: the first scenario is featured on a tinted panel */
.scenario.featured { padding: var(--space-6); margin-bottom: var(--space-4); border: 0; border-radius: 10px; background: #E6EDF8; }
.scenario.featured .scenario-head h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.status { opacity: .9; }
/* approach: deliverable and the client's part, side by side */
.method .exit { min-height: 0; display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .method .exit { grid-template-columns: 1fr 1fr; } }
.method .exit .part { padding-left: var(--space-4); border-left: 1px solid var(--rule); }
@media (max-width: 767px) { .method .exit .part { padding-left: 0; border-left: 0; padding-top: var(--space-3); border-top: 1px solid var(--rule); } }
/* lab: demonstration slot, ready for the first real demo */
.demo-slot { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 900px) { .demo-slot { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-7); } }
.demo-frame { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: var(--space-5); border-radius: 10px; background: var(--navy, #0B1C2C); text-align: center; }
.demo-meta { display: grid; gap: var(--space-3); }
.demo-meta h3 { font-size: var(--fs-title); line-height: 1.3; }
.demo-meta p { color: var(--ink-2); }
.tbd { font: 500 .8125rem/1.4 var(--font-body); color: #7A3A0A; background: #FCEFD9; border: 1px dashed #B9470F; padding: 2px 6px; border-radius: 3px; }
.demo-frame .tbd { color: #FCE3C4; background: rgba(185, 71, 15, .22); border-color: #E08A55; }
.preview li { grid-template-columns: 7.5rem 1fr; }
@media (max-width: 479px) { .preview li { grid-template-columns: 1fr; } }
/* longer approved title (09 §5): three lines at most beside the hero visual */
.hero h1 { font-size: clamp(2.25rem, 1.1rem + 2.7vw, 3.75rem); line-height: 1.05; }

/* Hero stage names: page text over the field, so they switch with EN/FR */
.hero-visual .hero-labels { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-visual .hero-labels.is-mobile { display: none; }
.hero-visual.has-gen .hero-labels { display: none; }
@media (max-width: 1023px) {
  .hero-visual .hero-labels.is-desktop { display: none; }
  .hero-visual .hero-labels.is-mobile { display: block; }
  .hero-visual img { object-position: 50% 50%; } /* same anchor as the overlay (xMidYMid slice) */
}

/* Partners and technologies (home): partnership badges, then the technologies as a word list.
   Names only: official logos come from each partner programme ([À FOURNIR]). */
.tech { border-top: 1px solid var(--rule); }
.tech-badges { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.tech-badges li { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-5); border: 1px solid var(--rule-strong); border-radius: 4px; font: 600 .8125rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.tech-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-7); }
.tech-list li { font: 600 clamp(1.25rem, 2vw, 1.625rem)/1.2 var(--font-body); letter-spacing: -.01em; color: var(--ink); }
.tech-list li.tech-tbd { font-size: 1rem; }
.tech-note { margin: var(--space-6) 0 0; }

/* ── Same conclusions as inovasys.ma (31 Oct 2026) ─────────────────── */
/* Beige key-message band above the footer: one sentence that fills in, the main call to action; one height everywhere */
.closing { display: flex; align-items: center; min-height: 16.5rem; padding: var(--space-6) 0; background: #EFE8DC; border-top: 1px solid #E2D9C9; }
.closing .wrap { width: 100%; display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .closing { min-height: 12.5rem; } }
@media (min-width: 1024px) { .closing { min-height: 8.5rem; padding: var(--space-5) 0; } .closing .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-7); } }
.closing p { margin: 0; font: 600 clamp(1.25rem, .95rem + 1vw, 1.75rem)/1.15 var(--font-body); letter-spacing: -.03em; color: var(--ink); }
.closing p[data-fill] > span { --fill-off: rgba(11, 28, 44, .22); }
.closing .cta-row { margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.closing .btn-line { border-color: var(--ink); color: var(--ink); }
.closing .btn-line:hover { background: var(--ink); color: #FFFFFF; }
/* the block just above the band fits its content */
main > section:has(+ .closing) { padding-top: clamp(3rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 4.4vw, 4rem); }

/* Footer = the ecosystem block: the message on the left, the three sites as pills of one size on the right;
   the current site in the conversion orange with "You are here" outside the pill, the two others transparent */
.site-footer { padding-block: var(--space-6) var(--space-4); }
.foot-eco { display: grid; gap: var(--space-5) var(--space-8); align-items: center; }
@media (min-width: 900px) { .foot-eco { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.foot-eco .brand-col p { margin: var(--space-2) 0 0; max-width: 52ch; color: var(--inverse-ink-2); font-size: .9375rem; line-height: 1.55; }
.site-footer h2.foot-eco-t { margin: var(--space-4) 0 0; font: 600 1.25rem/1.25 var(--font-body); letter-spacing: -.01em; color: #FFFFFF; }
.foot-uni { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-uni li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.site-footer .foot-uni a { display: inline-grid; grid-template-columns: 7.5rem minmax(0, 1fr); align-items: center; gap: var(--space-3); width: min(100%, 25rem); box-sizing: border-box; min-height: 40px; padding: 6px 18px; border: 1px solid rgba(238, 240, 242, .32); border-radius: 999px; color: #FFFFFF; text-decoration: none; font-size: .875rem; transition: background 160ms ease, border-color 160ms ease; }
.site-footer .foot-uni a:hover { background: rgba(238, 240, 242, .08); border-color: rgba(238, 240, 242, .6); }
.foot-uni .dom { font-weight: 600; font-size: .9375rem; color: #FFFFFF; }
.foot-uni .role { color: #C9D3E0; font-size: .875rem; }
.site-footer .foot-uni li.u-here a { background: var(--cta); border-color: var(--cta); }
.site-footer .foot-uni li.u-here a:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.foot-uni li.u-here .role { color: #FFFFFF; }
.foot-uni .here { font: 500 .6875rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #EEF0F2; white-space: nowrap; }
@media (max-width: 599px) { .site-footer .foot-uni a { width: 100%; min-height: 56px; grid-template-columns: 6.25rem minmax(0, 1fr); gap: var(--space-2); padding: 6px 14px; border-radius: 28px; } .foot-uni .role { font-size: .8125rem; line-height: 1.3; } }
.site-footer .bottom { margin-top: var(--space-5); padding-top: var(--space-3); align-items: center; }

/* Header: the site menu between two thin dividers, the sister sites after it, "Let's Talk", FR/EN at the far right */
@media (min-width: 1280px) {
  html header.ix-header .wrap { max-width: none; }
  html header.ix-header .nav { flex: 1; margin-left: 24px; }
  html header.ix-header .nav ul { width: 100%; gap: 20px; }
  html header.ix-header .nav li:first-child { margin-left: auto; padding-left: 20px; border-left: 1px solid var(--ix-rule); }
  html header.ix-header .nav li:not(.x-site):has(+ .x-site) { padding-right: 20px; border-right: 1px solid var(--ix-rule); }
  html header.ix-header .nav li.x-site, html header.ix-header .nav li.x-site:not(.x-site + .x-site) { margin: 0; padding: 0; border: 0; }
  html header.ix-header .nav li.x-site:first-of-type, html header.ix-header .nav li:not(.x-site) + li.x-site { margin-left: 4px; }
  html header.ix-header .nav li.x-site:last-child { margin-right: 0; }
  html header.ix-header .actions .lang { order: 2; }
  html header.ix-header .actions .btn { order: 1; }
}

/* Charter accents (logo cyan #00E2E0 on dark, logo blue #172D9D on light): the shared header reads these */
:root { --ix-accent-x: #00E2E0; --ix-flow-x: #00E2E0; }
html.mo .flow-toggle { border-color: rgba(0, 226, 224, .45); }
html.mo .flow-toggle:hover { border-color: var(--inverse-accent); }
/* one band height on the three sites (31 Oct 2026) */
.closing { min-height: 17rem; }
@media (min-width: 768px) { .closing { min-height: 12.5rem; } }
@media (min-width: 1024px) { .closing { min-height: 9rem; } }

/* ── inovasys.ma components on inovasys.ai (31 Oct 2026, "same instructions as .ma") ──────────────
   Each content section: the message on the left (sticky on desktop), white cards on the right, two by two, each with
   its icon in a logo-blue circle; details under "More details"; the method as numbered cards (large step number,
   no animation); partners as a logo wall. Same rules as inovasys-ma-design/prototype/assets/site.css. */
.ind-block + .ind-block { border-top: 1px solid var(--rule); }
.ind-grid { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 1024px) { .ind-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); } .ind-intro { position: sticky; top: calc(var(--header-h) + var(--space-6)); } }
.ind-intro { display: grid; gap: var(--space-5); justify-items: start; }
.ind-intro h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.035em; max-width: 14ch; }
.ind-intro > p:not(.m-k):not(.ind-link) { color: var(--ink-2); font-size: var(--fs-lede); line-height: 1.55; max-width: 40ch; }
.ind-intro .ind-note { font-size: var(--fs-small); color: var(--ink-3); max-width: 40ch; }
.m-k { font: 600 .75rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.ind-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .ind-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ind-card { position: relative; display: grid; gap: var(--space-3); align-content: start; padding: var(--space-6); background: #FFFFFF; border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 1px 2px rgba(11, 28, 44, .04), 0 8px 24px rgba(11, 28, 44, .04); }
.ind-ic { width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid var(--accent); display: grid; place-items: center; margin-bottom: var(--space-4); }
.ind-ic i { font-size: 1.75rem; color: var(--accent); }
.ind-card h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; margin: 0; }
.ind-card p, .ind-card dd, .ind-card li { color: var(--ink-2); font-size: 1rem; line-height: 1.55; margin: 0; }
.ind-card .cap-cell { display: block; font-size: var(--fs-small); }
.ind-card .question { color: var(--ink); font-weight: 500; }
.ind-card .status { justify-self: start; margin-top: var(--space-2); }
.ind-card .card-list { list-style: none; display: grid; gap: 6px; padding: 0; }
.ind-card .card-list li { padding-left: 14px; position: relative; font-size: var(--fs-small); }
.ind-card .card-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.ind-card.is-ai { border-color: rgba(23, 45, 157, .35); }
.ind-cta { background: var(--inverse-bg); border-color: var(--inverse-bg); }
.ind-cta .ind-ic { border-color: var(--inverse-accent); }
.ind-cta .ind-ic i { color: var(--inverse-accent); }
.ind-cta h3 { color: #FFFFFF; }
.ind-cta p { color: var(--inverse-ink-2); }
.ind-cta .text-link { color: var(--inverse-accent); margin-top: var(--space-2); }
.ind-cta .text-link .sfx { color: inherit; }
/* use cases, capabilities and method steps: a summary, the rest under "More details" */
.ind-card .case-sector { margin: 0; font: 600 .75rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ind-card dl { margin: 0; display: grid; gap: var(--space-3); }
.ind-card dt { font: 600 var(--fs-label)/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.ind-card dd { margin: 0; }
.case-more { border-top: 1px solid var(--rule); padding-top: var(--space-3); margin-top: var(--space-2); }
.case-more summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; font-weight: 600; font-size: .9375rem; color: var(--accent); }
.case-more summary::-webkit-details-marker { display: none; }
.case-more summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.case-more .sm-close, .case-more[open] .sm-open { display: none; }
.case-more[open] .sm-close { display: inline; }
.case-more .sm-ic { transition: transform 200ms ease; }
.case-more[open] .sm-ic { transform: rotate(180deg); }
.case-more > dl, .case-more > .cap-more { margin-top: var(--space-3); }
.cap-more { display: grid; gap: var(--space-3); }
.cap-more h4 { margin: var(--space-3) 0 0; font: 600 var(--fs-label)/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.cap-more .preview { margin: var(--space-2) 0; padding: var(--space-4); }
.cap-more .preview .pv-flag { position: static; display: block; margin-bottom: var(--space-2); }
.cap-more .preview .pv-title { padding-right: 0; }
.cap-more .preview li { grid-template-columns: 1fr; gap: 2px; }
.cap-more .cap-rel { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-4); }
.ind-card:target { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.ind-card[hidden] { display: none; }
/* use cases: the filters under the message */
.ind-intro .filter-t { font: 600 var(--fs-label)/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: var(--space-3); }
.ind-intro .filters { margin-bottom: 0; }
.ind-intro .filters button { min-height: 40px; padding: 0 14px; font-size: .9375rem; border-radius: 999px; }
/* the method: each step number set large at the top right of its card (as inovasys.ma, 31 Oct 2026) */
.m2-n { position: absolute; top: var(--space-5); right: var(--space-6); color: var(--accent); font: 300 3rem/1 var(--font-body); letter-spacing: -.02em; }
/* partners and technologies: logo wall, greyscale tiles (as inovasys.ma) */
.logos-sec { border-top: 1px solid var(--rule); }
.logo-head h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 var(--space-3); }
.logo-head p { color: var(--ink-2); font-size: var(--fs-lede); margin: 0 0 var(--space-6); max-width: 46rem; }
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 36rem; }
.logo-wall li { height: 96px; display: flex; align-items: center; justify-content: center; padding: var(--space-4); background: #FFFFFF; border: 1px solid var(--rule); border-radius: 10px; }
.logo-wall img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .88; transition: filter 200ms ease, opacity 200ms ease; }
.logo-wall li:hover img { filter: none; opacity: 1; }
.logos-sec .tech-note { margin-top: var(--space-4); color: var(--ink-3); font-size: var(--fs-small); }
/* Let's Talk: direct contact under the message, and the bot trap out of sight */
.talk-contact { display: grid; gap: var(--space-2); margin-top: var(--space-5); }
.talk-contact li { display: flex; align-items: center; gap: var(--space-3); color: var(--ink-2); }
.talk-contact i { font-size: 1.25rem; color: var(--accent); }
.talk-contact .text-link { min-height: 32px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* an opened card grows alone; its neighbour keeps its own height (as Our Work on inovasys.ma) */
.ind-cards:has(> .case) { align-items: start; }
/* inner-page heads: one height at 1024–1279 px too (the longest lede, Capabilities, needs 700 px there) */
@media (min-width: 1024px) and (max-width: 1279px) { .page-head { --ph-h: 43.75rem; } }

/* Header as on inovasys.ma (31 Oct 2026): the logo on the left, the site menu centred between two thin dividers, then
   the sister sites, "Let's Talk" and FR/EN at the far right. Replaces the menu pushed to the right (one long gap after
   the logo). Desktop only: below 1280 px the mobile menu keeps its reading order. */
.hdr-left, .hdr-right { display: flex; align-items: center; min-width: 0; }
.hdr-right { gap: 18px; justify-content: flex-end; }
@media (max-width: 1279px) { .hdr-right .nav-sister { display: none; } .hdr-right { margin-left: auto; } }
@media (min-width: 1280px) {
  html header.ix-header .wrap { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); gap: 18px; max-width: none; }
  html header.ix-header .nav { flex: none; margin: 0; }
  html header.ix-header .nav ul { width: auto; }
  html header.ix-header .nav-main li:first-child { margin-left: 0; padding-left: 0; border-left: 0; }
  html header.ix-header .nav-main ul { gap: 20px; padding: 0 20px; border-left: 1px solid var(--ix-rule); border-right: 1px solid var(--ix-rule); }
  html body header.ix-header .nav.nav-sister ul { gap: 18px; }
  html body header.ix-header .nav.nav-sister li.x-site { margin: 0; padding: 0; border: 0; }
  html header.ix-header .hdr-right { justify-self: end; }
  html header.ix-header .actions { margin: 0; }
  html header.ix-header .actions .lang { order: 2; }
  html header.ix-header .actions .btn { order: 1; }
}
@media (min-width: 1280px) and (max-width: 1599px) {
  html header.ix-header .wrap { gap: 12px; }
  html header.ix-header .hdr-right { gap: 14px; }
  html body header.ix-header .nav.nav-sister ul { gap: 12px; }
  html header.ix-header .nav-main ul { gap: 13px; padding: 0 13px; }
}
/* Footer base row (© INOVASYS, legal links, FR/EN), identical to inovasys.ma */
.site-footer .foot-base { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--inverse-rule); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3); font: 400 .75rem/1.4 var(--font-body); color: #A3AAB3; }
.site-footer .foot-base .legal { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); list-style: none; margin: 0; padding: 0; }
.site-footer .foot-base .legal a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.site-footer .foot-base .legal a:hover { color: #EEF0F2; text-decoration: underline; }
.site-footer .foot-base .lang { display: flex; border: 1px solid var(--inverse-rule); border-radius: 99px; padding: 2px; }
.site-footer .foot-base .lang button { appearance: none; border: 0; background: none; font: 500 .75rem/1 var(--font-body); padding: 0 10px; min-height: 40px; min-width: 44px; color: #A3AAB3; cursor: pointer; border-radius: 99px; }
.site-footer .foot-base .lang button[aria-pressed="true"] { background: #EEF0F2; color: var(--ink); }
/* Home: navigation through the blocks (31 Oct 2026). Each card is a link (the title's link covers the card, as on
   Industries of inovasys.ma); the dark cards link through their text link. */
.ind-card { transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease; }
.ind-card.is-link h3 a { color: var(--ink); text-decoration: none; }
.ind-card.is-link h3 a::after, .ind-cta .text-link::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.ind-card.is-link .chev { font-size: 1rem; color: var(--accent); margin-left: 6px; vertical-align: -1px; display: inline-block; transition: transform 160ms ease; }
.ind-card.is-link:hover, .ind-cta:hover { border-color: rgba(23, 45, 157, .35); box-shadow: 0 2px 4px rgba(11, 28, 44, .05), 0 14px 32px rgba(11, 28, 44, .07); transform: translateY(-2px); }
.ind-cta:hover { border-color: var(--inverse-bg); }
.ind-card.is-link:hover .chev { transform: translateX(3px); }
.ind-card.is-link:hover h3 a span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ind-card.is-link:focus-within, .ind-cta:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.ind-card.is-link h3 a:focus-visible, .ind-cta .text-link:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) { .ind-card.is-link:hover, .ind-cta:hover { transform: none; } }
/* Elements taken from the live inovasys.ai (31 Oct 2026) */
/* demo vs operational system: the dark card is the target state, not a link */
.ind-cta.is-static:hover { transform: none; box-shadow: none; }
.ind-cta .case-sector { color: var(--inverse-accent); }
.ind-cta .card-list li { color: var(--inverse-ink-2); }
.ind-cta .card-list li::before { background: var(--inverse-accent); }
.ind-card .ch-end { margin-top: var(--space-2); color: var(--ink); font-weight: 600; }
/* use cases read in five stages; the method's exit condition */
.ind-card .rd-t { margin-top: var(--space-3); font: 600 var(--fs-label)/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ind-card dl.stages { gap: 0; border-left: 2px solid rgba(23, 45, 157, .25); padding-left: var(--space-4); margin: var(--space-2) 0 var(--space-4); }
.ind-card dl.stages > div { padding: var(--space-2) 0; }
.ind-card dl.stages dt { color: var(--accent); }
.ind-card .exit-c { border-top: 1px solid var(--rule); padding-top: var(--space-3); }
.ind-card .exit-c dd { color: var(--ink); font-weight: 500; }
/* the Act step: what is automated, approved, escalated */
.act-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.act-list li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-small); color: var(--ink-2); }
.act-list .lvl { flex: none; padding: 3px 10px; border-radius: 999px; font: 600 .6875rem/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.lvl.is-auto { background: #E6EDF8; color: var(--accent); }
.lvl.is-approval { background: #FFF1E3; color: #8A3A0B; }
.lvl.is-escalated { background: var(--inverse-bg); color: #FFFFFF; }
.ind-card .ind-note { font-size: var(--fs-small); color: var(--ink-3); }
/* the value statement of the architecture block */
.ind-intro .ind-quote { border-left: 2px solid var(--accent); padding-left: var(--space-4); color: var(--ink) !important; font-size: 1.0625rem !important; line-height: 1.55; font-weight: 500; }
