/* ==========================================================================
   LENSOM CORP — feuille de style du site (V1)
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #1d5ba4;
  --blue-600: #174c8a;
  --blue-50: #eef4fb;
  --navy: #0b1f3a;
  --navy-800: #102a4c;
  --cyan: #19a7e0;
  --amber: #f5b800;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e3e8f0;
  --bg: #ffffff;
  --tint: #f5f7fb;
  --accent: var(--blue);
  --accent-soft: var(--blue-50);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 40px 80px -30px rgba(11, 31, 58, .45), 0 12px 30px -12px rgba(11, 31, 58, .25);
  --container: 1360px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
.theme-kenrol { --accent: #2563eb; --accent-soft: #eef3ff; }
.theme-fnaes  { --accent: #0a8a4f; --accent-soft: #e9f7f0; }
.theme-kaama  { --accent: #0d9488; --accent-soft: #e6f6f4; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.022em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.center { text-align: center; }

.i { width: 22px; height: 22px; flex: none; }
.i-sm { width: 18px; height: 18px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: calc(820px + 2 * var(--gutter)); }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: 48px 0; }
.section-flush-top { padding-top: 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.eyebrow {
  display: inline-block; margin: 0 0 14px; font-size: .8rem; font-weight: 650;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.eyebrow-light { color: #8fd3f4; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 44em; }
.center .lead { margin-left: auto; margin-right: auto; }
.lead-sm { font-size: 1.1rem; color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-lg { padding: 15px 26px; font-size: 1.03rem; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-accent { background: var(--amber); color: var(--navy); }
.btn-accent:hover { background: #ffcb2e; color: var(--navy); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--blue); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
/* Fond flouté porté par un pseudo-élément : un backdrop-filter sur l'en-tête
   lui-même casserait le positionnement fixe du menu mobile. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: opacity .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15,23,42,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand img { height: 42px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list > li > a, .nav-sub-toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px;
  color: var(--ink); font: inherit; font-size: .96rem; font-weight: 550; text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-list > li > a:hover, .nav-sub-toggle:hover { background: var(--tint); color: var(--ink); }
.nav-list a[aria-current="page"], .nav-sub-toggle[data-active] { color: var(--blue); }
.has-sub { position: relative; }
.nav-sub-toggle .i { transition: transform .2s; }
.nav-sub-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav-sub {
  position: absolute; top: calc(100% + 10px); left: -12px; min-width: 330px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s;
}
.has-sub.is-open .nav-sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 961px) {
  .has-sub:hover .nav-sub { opacity: 1; visibility: visible; transform: none; }
  .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
}
.nav-sub a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.nav-sub a:hover, .nav-sub a[aria-current="page"] { background: var(--tint); }
.nav-sub strong { display: block; font-size: .96rem; }
.nav-sub small { display: block; color: var(--muted); font-size: .84rem; }
.nav-sub-mark {
  display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px;
  color: #fff; font-weight: 800; font-size: 1rem; background: var(--blue);
}
.mark-kelassi { background: linear-gradient(135deg, #1d5ba4, #19a7e0); }
.mark-kenrol { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.mark-fnaes { background: linear-gradient(135deg, #0a8a4f, #34c07a); }
.mark-kaama { background: linear-gradient(135deg, #0d9488, #2dd4bf); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--muted); text-decoration: none; padding: 6px 8px; border-radius: 8px; }
.lang-switch:hover { color: var(--ink); background: var(--tint); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 10px; cursor: pointer; }
.burger { display: grid; gap: 5px; width: 22px; margin: auto; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 16px var(--gutter) 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .nav-sub-toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.1rem; }
  .nav-sub { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub.is-open .nav-sub { display: block; }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: 24px; gap: 12px; }
  .nav-actions .btn { padding: 15px; font-size: 1.05rem; }
  .lang-switch { justify-content: center; padding: 12px; border: 1px solid var(--line); border-radius: 999px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; }
.hero-dark { background: var(--navy); color: #cbd5e1; padding: clamp(56px, 8vw, 96px) 0 56px; margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + clamp(48px, 7vw, 88px)); }
.page-home .site-header:not(.is-scrolled)::before { opacity: 0; }
.page-home .site-header:not(.is-scrolled) .brand img { filter: brightness(0) invert(1); }
@media (min-width: 961px) {
  .page-home .site-header:not(.is-scrolled) .nav-list > li > a,
  .page-home .site-header:not(.is-scrolled) .nav-sub-toggle,
  .page-home .site-header:not(.is-scrolled) .lang-switch { color: #e2e8f0; }
  .page-home .site-header:not(.is-scrolled) .nav-list > li > a:hover,
  .page-home .site-header:not(.is-scrolled) .nav-sub-toggle:hover,
  .page-home .site-header:not(.is-scrolled) .lang-switch:hover { background: rgba(255,255,255,.1); color: #fff; }
}
.page-home .site-header:not(.is-scrolled) .burger span { background: #fff; }
body.nav-open .site-header::before, body.nav-open.page-home .site-header:not(.is-scrolled)::before { opacity: 1; background: #fff; }
body.nav-open.page-home .site-header .brand img { filter: none; }
body.nav-open.page-home .site-header .burger span { background: var(--ink); }

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(25,167,224,.28), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(29,91,164,.55), transparent 60%),
    linear-gradient(180deg, #0b1f3a 0%, #0d2546 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 30%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .display { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.06; letter-spacing: -0.035em; }
.hero .display em { font-style: normal; background: linear-gradient(90deg, #5cc8f5, #f5b800); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #b6c3d6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions.center { justify-content: center; }

.stack { position: relative; aspect-ratio: 16 / 12.5; }
.stack .browser { position: absolute; }
.stack-main { left: 0; top: 8%; width: 88%; z-index: 2; }
.stack-back { right: 0; top: 0; width: 70%; z-index: 1; opacity: .55; transform: translate(4%, -6%) scale(.96); }
.stack-phone { position: absolute; right: 0; bottom: 0; width: 26%; z-index: 3; }

.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 64px 0 0; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 22px 24px; background: rgba(11,31,58,.75); }
.stat dd { margin: 0; font-size: 2rem; font-weight: 750; color: #fff; letter-spacing: -0.02em; line-height: 1.1; }
.stat dt { font-size: .9rem; color: #9fb0c8; line-height: 1.4; }

.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--tint), #fff); }
.page-hero-product { background: radial-gradient(70% 55% at 50% 0%, var(--accent-soft), #fff 70%); padding-bottom: 0; }
.page-hero h1 { margin-bottom: .4em; }
.product-badge { display: flex; width: fit-content; margin-left: auto; margin-right: auto; align-items: center; gap: 10px; font-weight: 750; font-size: 1.15rem; color: var(--ink); margin-bottom: 18px; }
.product-badge .nav-sub-mark { width: 32px; height: 32px; }
.product-badge img { width: auto; height: 26px; }
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 640px; margin: 32px auto 0; text-align: left; }
.edition { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
.edition:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--text); }
.edition strong { display: block; color: var(--ink); }
.edition span { font-size: .92rem; color: var(--muted); }

/* ---------- Cadres d'écrans ---------- */
.browser { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(15,23,42,.08); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #eef1f6; border-bottom: 1px solid #e0e5ee; }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d3d9e3; }
.browser-bar span:nth-child(1) { background: #ff6159; } .browser-bar span:nth-child(2) { background: #ffbd2e; } .browser-bar span:nth-child(3) { background: #28c941; }
.browser-bar em { font-style: normal; font-size: 12px; color: #7b8699; margin: 0 auto; padding: 2px 14px; background: #fff; border-radius: 6px; transform: translateX(-24px); }
.hero-dark .browser { border-color: rgba(255,255,255,.1); }
.phone { background: #0b1220; padding: 8px; border-radius: 34px; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 27px; }
.phone-lg { max-width: 320px; margin: 0 auto; }
.paper { background: #fff; border-radius: 6px; box-shadow: var(--shadow-lg); overflow: hidden; }

.gallery { margin-top: clamp(40px, 6vw, 64px); }
.gallery-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0 auto 24px; padding: 6px; width: fit-content; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.gallery-tabs button { font: inherit; font-size: .94rem; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: .18s; }
.gallery-tabs button:hover { color: var(--ink); }
.gallery-tabs button[aria-selected="true"] { background: var(--accent); color: #fff; }
.gallery-panel { margin: 0; }
.gallery-panel figcaption { margin-top: 18px; text-align: center; color: var(--text); font-size: .98rem; }
.gallery-panel figcaption .muted { display: block; font-size: .84rem; margin-top: 2px; }
.gallery-panel:not([hidden]) { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Grilles et cartes ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card-compact { padding: 22px; }
.card-compact h3 { font-size: 1.05rem; }
.card-compact p { font-size: .94rem; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); color: inherit; }
.card-link p { flex: 1; }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: .94rem; color: var(--accent); }
.card-link:hover .card-more .i { transform: translateX(3px); }
.card-more .i { transition: transform .2s; }
.card-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; flex: none; }
.card-icon-lg { width: 56px; height: 56px; }
.card-icon-lg .i { width: 26px; height: 26px; }
.card-accent { border-top: 3px solid var(--amber); }
.card-wide { padding: clamp(28px, 4vw, 44px); }

.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .i { color: var(--accent); margin-top: 3px; }
.checks-2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checks-light li { color: #dbe5f2; }
.checks-light .i { color: var(--amber); }

/* ---------- Produits (accueil) ---------- */
.products { display: grid; gap: 28px; }
.product { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-sm); overflow: hidden; }
.product-kenrol { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.product-kenrol .product-copy { order: 2; }
.product-name { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; color: var(--ink); font-size: 1.1rem; }
.product-name .nav-sub-mark { width: 30px; height: 30px; font-size: .9rem; }
.product h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.product-copy p:not(.product-name) { color: var(--muted); margin-bottom: 24px; }
.product-visual .browser { box-shadow: var(--shadow); }

.feature-work { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 56px); align-items: center; background: linear-gradient(135deg, #073d2a, #0a5a3b 55%, #0d6b46); color: #d5eee2; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); overflow: hidden; position: relative; }
.feature-work::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(#0a8a4f 0 33%, #f7c600 33% 66%, #e3262f 66%); }
.feature-work h2 { color: #fff; }
.feature-work .eyebrow-light { color: #f7c600; }
.feature-work p { color: #cbe7da; }

/* ---------- Méthode ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }
.step-num { display: block; font-size: .85rem; font-weight: 700; color: var(--accent); letter-spacing: .06em; margin-bottom: 14px; }

/* ---------- Références ---------- */
.clients-title { text-align: center; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 650; margin-bottom: 28px; }
.clients { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px clamp(24px, 3.5vw, 48px); }
.clients img { height: 56px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: .25s; }
.clients img:hover { filter: none; opacity: 1; }

/* ---------- Bandeau d'appel ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); background: radial-gradient(80% 120% at 100% 0%, rgba(25,167,224,.35), transparent 60%), linear-gradient(135deg, var(--navy), var(--blue)); color: #cfe0f3; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }

/* ---------- Services ---------- */
.service-list { display: grid; gap: 16px; }
.service { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.service h2 { font-size: 1.45rem; }
.service p { color: var(--muted); margin: 0; }
.service .card-icon { margin: 0; }
.service .checks { font-size: .98rem; }

/* ---------- Pages produit ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-copy .checks { margin-top: 24px; }
.duo { display: grid; grid-template-columns: .8fr 1fr; gap: 24px; align-items: center; }
.questions { background: var(--accent-soft); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); }
.questions ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: q; margin-top: 24px; }
.questions li { counter-increment: q; background: #fff; border-radius: var(--radius); padding: 22px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.questions li::before { content: "0" counter(q); display: block; color: var(--accent); font-size: .85rem; letter-spacing: .06em; margin-bottom: 8px; }
.housing { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 44px); border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: var(--radius-lg); }
.housing p { color: var(--muted); margin: 0; max-width: 46em; }
.nextgen { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); background: radial-gradient(70% 100% at 0% 0%, rgba(25,167,224,.25), transparent 60%), var(--navy); color: #b6c3d6; }
.nextgen h2 { color: #fff; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px auto 0; max-width: 980px; }
.facts > div { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.facts dd { margin: 0 0 4px; font-size: 1.7rem; font-weight: 750; color: var(--accent); letter-spacing: -0.02em; }
.facts dt { color: var(--muted); font-size: .94rem; line-height: 1.45; }

.timeline { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.timeline li { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.timeline-num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: .92rem; }
.timeline h3 { font-size: 1.02rem; margin-bottom: .3em; }
.timeline p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- À propos ---------- */
.mission { margin: 0; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); background: var(--tint); border-left: 4px solid var(--amber); }
.mission p { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.45; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.mission h2 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.story { list-style: none; border-left: 2px solid var(--line); }
.story li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 0 0 28px 28px; }
.story li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.story strong { color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-details { display: grid; gap: 14px; }
.detail { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.detail .card-icon { margin: 0; }
.detail h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.detail p { margin: 0 0 4px; color: var(--ink); }
.detail a { font-weight: 550; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid #cfd7e3; border-radius: 10px; padding: 12px 14px; transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field [aria-invalid="true"] { border-color: #dc2626; }
.field-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--text); }
.field-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.field-error { color: #b91c1c; font-size: .88rem; margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 20px; }
.notice-success { background: #ecfdf3; color: #14532d; }
.notice-success .i { color: #16a34a; width: 28px; height: 28px; }
.notice-success h2 { font-size: 1.2rem; color: #14532d; margin: 0 0 4px; }
.notice-success p { margin: 0; }
.notice-error { background: #fef2f2; color: #991b1b; font-weight: 550; }

/* ---------- Textes longs ---------- */
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text); }

.notfound { min-height: 55vh; display: grid; align-items: center; }
.display-404 { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin: 0 0 12px; background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: #9fb0c8; padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 30ch; }
.footer-title { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-address { line-height: 1.8; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; font-size: .88rem; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { margin: 0; }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-panel:not([hidden]) { animation: none; }
  .btn:hover, .card-link:hover, .edition:hover { transform: none; }
}

/* ---------- Adaptatif ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: auto minmax(0, 1fr); }
  .service .checks { grid-column: 2; }
}
@media (max-width: 960px) {
  .hero-grid, .product, .product-kenrol, .feature-work, .split, .nextgen, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .product-kenrol .product-copy { order: 0; }
  .hero-visual { max-width: 620px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .questions ol { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .cta-band, .housing { flex-direction: column; align-items: flex-start; }
  .split-visual { order: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-3, .grid-4, .steps, .form-grid, .checks-2, .editions { grid-template-columns: minmax(0, 1fr); }
  .service { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 16px; }
  .service .checks { grid-column: auto; }
  .stat { padding: 18px; }
  .stat dd { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .story li { grid-template-columns: 1fr; gap: 2px; }
  .duo { grid-template-columns: 1fr; }
  .duo .paper { display: none; }
  .duo .phone { max-width: 300px; margin: 0 auto; }
  .gallery-tabs { border-radius: var(--radius); width: 100%; }
  .gallery-tabs button { flex: 1 1 auto; }
  .browser-bar em { display: none; }
  .hero-actions .btn { width: 100%; }
  .brand img { height: 36px; }
}
.page-hero-copy { max-width: 820px; }
.split-top { align-items: start; }
.clients .client-mesrs-benin img { max-width: 230px; }
.clients .client-mr-international img { max-width: 180px; }

/* ==========================================================================
   V1.1 — accueil option A, IA, interventions, Kaama, grands écrans
   ========================================================================== */
@media (min-width: 1800px) {
  :root { --container: 1480px; }
  body { font-size: 18px; }
}

/* Mots qui alternent dans le titre */
.rotator { display: block; min-height: 1.15em; color: var(--amber); }
.rotator-word { display: inline-block; }
.rotator-word.is-in { animation: wordin .6s ease both; }
@keyframes wordin { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }

/* Carte animée */
.hero-visual { position: relative; }
.map { position: relative; width: 100%; max-width: 620px; margin-left: auto; aspect-ratio: 686 / 696; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#map-dots circle { fill: #5c7fae; }
.map-land { animation: twinkle 6s ease-in-out infinite; }
.map-arc { fill: none; stroke-width: 2.5; stroke-dasharray: 6 8; animation: dashflow 5s linear infinite; }
.arc-amber { stroke: var(--amber); } .arc-cyan { stroke: var(--cyan); } .arc-white { stroke: #fff; stroke-width: 2; }
.arc-mission { stroke: #9fb0c8; stroke-width: 1.8; stroke-dasharray: 3 7; }
.map-ring { fill: none; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.ring-late { animation-delay: 1.2s; }
.ring-amber { stroke: var(--amber); } .ring-cyan { stroke: var(--cyan); } .ring-white { stroke: #fff; } .ring-mission { stroke: #9fb0c8; }
.dot-amber { fill: var(--amber); } .dot-cyan { fill: var(--cyan); } .dot-white { fill: #fff; }
.dot-mission { fill: var(--navy); stroke: #fff; stroke-width: 2.5; }
.map-label { position: absolute; left: var(--x); top: var(--y); transform: translate(14px, -50%); white-space: nowrap; font-size: .82rem; font-weight: 600; color: #fff; background: rgba(11,31,58,.85); border: 1px solid rgba(255,255,255,.18); padding: 5px 11px; border-radius: 8px; }
.map-label.is-mission { border-style: dashed; border-color: rgba(255,255,255,.4); }
.label-ci { transform: translate(calc(-100% - 14px), -50%); }
.label-bj { transform: translate(-30%, 16px); }
.label-td { transform: translate(14px, -120%); }
.map-legend { max-width: 620px; margin: 8px 0 0 auto; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .82rem; color: #9fb0c8; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg-dot, .lg-ring { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.lg-dot { background: var(--amber); }
.lg-ring { border: 2px solid #fff; }
.float-screen { position: absolute; width: 48%; right: 0; top: 58%; animation: floaty 7s ease-in-out infinite; }
.float-phone { position: absolute; width: 22%; right: 52%; top: 56%; padding: 5px; border-radius: 22px; animation: floaty2 8s ease-in-out infinite; }
.float-phone img { border-radius: 18px; }
@keyframes dashflow { to { stroke-dashoffset: -140; } }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floaty2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
@keyframes twinkle { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* IA */
.section-ai { background: linear-gradient(180deg, #ffffff, #f3f5fd); }
.ai-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ai-copy .btn { margin-top: 12px; }
.eyebrow-ai { color: #6d28d9; }
.ai-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tag-ai { display: inline-block; margin-bottom: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6d28d9; background: #f1ecff; padding: 5px 10px; border-radius: 999px; }
.card-icon-ai { background: #f1ecff; color: #6d28d9; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #6d28d9; color: #fff; }

/* Solutions en cartes */
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card-visual { height: 240px; overflow: hidden; padding: 26px 26px 0; background: var(--blue-50); }
.product-kenrol .product-card-visual { background: #eef3ff; }
.product-kaama .product-card-visual { background: #e6f6f4; }
.product-card-visual img { border-radius: 10px 10px 0 0; box-shadow: 0 20px 40px -20px rgba(15,23,42,.45); }
.product-card-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.product-card-body h3 { font-size: 1.2rem; }
.product-card-body p:not(.product-name) { color: var(--muted); flex: 1; }
.product-kenrol .card-more { color: #2563eb; }
.product-kaama .card-more { color: #0d9488; }

/* Interventions : réalisation phare */
.js-only { display: none; }
.js .js-only { display: revert; }
.js .work-filters.js-only { display: flex; }
.work-feature { position: relative; overflow: hidden; background: var(--navy); color: #9fb0c8; padding: clamp(64px, 9vw, 110px) 0 clamp(48px, 6vw, 72px); }
.work-feature::before { content: ""; position: absolute; right: -10%; top: -20%; width: 55vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(25,167,224,.26), transparent 65%); pointer-events: none; }
.work-feature .container { position: relative; }
.work-head { max-width: 980px; margin-bottom: clamp(36px, 5vw, 56px); }
.work-head h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1.1; letter-spacing: -0.03em; margin: 0; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 18px; font-size: .9rem; font-weight: 600; color: #9fb0c8; }
.feature-badge { font-size: .74rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: var(--amber); padding: 6px 11px; border-radius: 999px; }
.feature-copy h3 { margin: 0 0 8px; color: #fff; font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.feature-lead { margin: 0 0 18px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; color: #cbd5e1; }
.feature-text { margin: 0 0 26px; line-height: 1.7; }
.feature-portals { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; padding: 0; }
.feature-portals li { border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 16px; }
.feature-portals strong { display: block; color: #fff; font-size: .95rem; margin-bottom: 6px; }
.feature-portals span { display: block; font-size: .84rem; line-height: 1.5; }
.feature-partner { margin: 0; font-size: .9rem; font-weight: 600; color: #cbd5e1; }
.feature-visual { position: relative; aspect-ratio: 720 / 540; }
.feature-visual img { position: absolute; height: auto; border-radius: 14px; }
.feature-shot-back { right: 0; top: 0; width: 49%; opacity: .95; box-shadow: 0 30px 60px rgba(0,0,0,.4); animation: float-slow 7s ease-in-out infinite; }
.feature-shot { left: 0; bottom: 0; width: 84%; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
@keyframes float-slow { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(-2deg); } }
.work-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(40px, 6vw, 64px) 0 0; border-top: 1px solid rgba(255,255,255,.14); }
.work-figures div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 26px 24px 0; border-left: 1px solid rgba(255,255,255,.14); }
.work-figures div:first-child { padding-left: 0; border-left: 0; }
.work-figures dd { margin: 0; color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.work-figures div:first-child dd { color: var(--amber); }
.work-figures dt { font-size: .95rem; }

/* Interventions : grille filtrable */
.work-list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.work-list-head h2 { margin: 0 0 6px; font-size: clamp(1.6rem, 2.6vw, 2rem); letter-spacing: -0.02em; }
.work-list-head p { margin: 0; color: var(--muted); }
.work-filters { flex-wrap: wrap; gap: 10px; }
.work-filter { display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px; border: 1.5px solid #dbe3ee; background: #fff; color: var(--text); font: inherit; font-size: .94rem; font-weight: 650; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.work-filter:hover { border-color: var(--blue); }
.work-filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.work-filter:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.mini-map { width: 34px; height: 34px; border-radius: 50%; background: #eef3f9; flex: none; }
.work-filter[aria-pressed="true"] .mini-map { background: #132c4f; }
#mini-dots circle { fill: #9fb2cc; }
.mini-map circle { fill: var(--amber); stroke: #fff; stroke-width: 7; }
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; grid-auto-flow: dense; }
.work-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 240px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .2s, box-shadow .2s; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,31,58,.12); }
.work-card[hidden] { display: none; }
.work-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.work-card p { margin: 0; font-size: .94rem; line-height: 1.55; color: var(--muted); }
.work-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; }
.work-logo { display: inline-flex; align-items: center; height: 44px; padding: 0 10px; background: #fff; border-radius: 10px; }
.work-logo img { max-height: 36px; max-width: 130px; width: auto; height: auto; }
.work-mono { display: inline-flex; align-items: center; justify-content: center; height: 44px; min-width: 44px; padding: 0 14px; border-radius: 10px; background: var(--type-fg); color: #fff; font-size: .92rem; font-weight: 800; letter-spacing: .02em; }
.work-type { font-size: .72rem; font-weight: 700; white-space: nowrap; padding: 5px 10px; border-radius: 999px; color: var(--type-fg); background: var(--type-bg); }
.work-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; font-size: .82rem; }
.work-where { font-weight: 700; color: var(--ink); }
.work-status { font-weight: 600; color: var(--muted); }
.work-plat  { --type-fg: #1d5ba4; --type-bg: #e6effa; }
.work-info  { --type-fg: #0f766e; --type-bg: #dcf5f1; }
.work-dev   { --type-fg: #6d28d9; --type-bg: #efe8fd; }
.work-audit { --type-fg: #a15c00; --type-bg: #fff1d6; }
.work-web   { --type-fg: #be185d; --type-bg: #fde7f1; }
.work-card.is-big { grid-column: span 2; background: var(--navy); border-color: var(--navy); }
.work-card.is-big h3 { color: #fff; font-size: 1.45rem; max-width: 20rem; }
.work-card.is-big p, .work-card.is-big .work-card-foot { max-width: 20rem; }
.work-card.is-big p, .work-card.is-big .work-status { color: #9fb0c8; }
.work-card.is-big .work-where { color: #fff; }
.work-card.is-big .work-mono { background: var(--blue); }
.work-shot { position: absolute; right: -50px; bottom: -50px; width: 340px; height: auto; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.3); transform: rotate(-4deg); pointer-events: none; }
.work-grid.is-filtered .work-card.is-big { grid-column: auto; }
.work-grid.is-filtered .work-shot { display: none; }
.work-grid.is-filtered .work-card.is-big h3 { font-size: 1.08rem; }
.work-cta { background: var(--navy); border-color: var(--navy); }
.work-cta h3 { color: #fff; font-size: 1.35rem; }
.work-cta p { color: #cbd5e1; }
.work-cta .btn { margin-top: auto; align-self: flex-start; }
.work-grid:not(.is-filtered) .work-cta { grid-column: span 2; }
.work-card.is-big .work-logo img { max-width: 200px; }

/* Bandeau de logos défilant */
.clients-section { overflow: hidden; }
.marquee { display: flex; width: max-content; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; display: flex; align-items: center; gap: clamp(40px, 5vw, 72px); padding-right: clamp(40px, 5vw, 72px); animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 60px; width: auto; max-width: 200px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: .25s; }
.marquee-track img:hover { filter: none; opacity: 1; }
.marquee-track .client-mesrs-benin img { max-width: 240px; }
.marquee-track .client-istaht-tanger img, .marquee-track .client-kryonative img, .marquee-track .client-ms-medias img { height: 70px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* Parcours Kaama */
.journey { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.journey li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.journey h3 { margin: 16px 0 6px; font-size: 1.05rem; }
.journey p { margin: 0; color: var(--muted); font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  .map-land, .map-arc, .map-ring, .float-screen, .float-phone, .marquee-track, .rotator-word.is-in, .feature-shot-back { animation: none; }
  .work-card { transition: none; }
  .work-card:hover { transform: none; }
  .marquee { width: auto; flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; padding: 0; }
  .marquee-track[aria-hidden="true"] { display: none; }
}
@media (max-width: 1100px) {
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .map { margin: 24px auto 0; max-width: 460px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-visual { max-width: 640px; width: 100%; margin: 0 auto; }
  .float-screen, .float-phone { display: none; }
  .map-legend { margin: 12px auto 0; justify-content: center; }
  .label-ci { transform: translate(-20%, 16px); }
  .label-bj { transform: translate(14px, -50%); }
}
@media (max-width: 640px) {
  .ai-cards, .journey { grid-template-columns: minmax(0, 1fr); }
  .feature-portals, .work-figures { grid-template-columns: minmax(0, 1fr); }
  .work-figures div { padding: 20px 0 0; border-left: 0; }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-card.is-big, .work-grid:not(.is-filtered) .work-cta { grid-column: auto; }
  .work-shot { display: none; }
  .work-card.is-big h3 { font-size: 1.2rem; }
  .work-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .work-filter { flex: none; }
  .map-label { font-size: .72rem; padding: 4px 8px; }
  .marquee-track img { height: 44px; max-width: 150px; }
  .marquee-track .client-istaht-tanger img, .marquee-track .client-kryonative img, .marquee-track .client-ms-medias img { height: 52px; }
}
.product-card .card-more { text-decoration: none; }
