/* =========================================================
   OFEME — Design system (Charte graphique V2 « Structure ouverte »)
   Layout: 12-col grid, white-dominant, marine rhythm sections,
   latérite reserved for action (≤ 5 % of surface), radius 0.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ofeme-marine: #062F55;
  --ofeme-marine-90: #0B3A66;
  --ofeme-laterite: #D9531E;
  --ofeme-laterite-dark: #B9441A;
  --ofeme-encre: #13202D;
  --ofeme-ardoise: #5B6977;
  --ofeme-brume: #E6EAEE;
  --ofeme-ligne: #D3DAE1;
  --ofeme-blanc: #FFFFFF;
  --ofeme-marine-60: #6A8299;
  --ofeme-marine-30: #B7C1CB;
  --ofeme-paper: #F4F6F8;

  --ofeme-font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --stretch-display: 118%;
  --stretch-heading: 112%;
  --stretch-label: 112%;

  --fs-display: clamp(3rem, 7.4vw, 6.5rem);
  --fs-h1: clamp(2.25rem, 5vw, 4rem);
  --fs-h2: clamp(1.875rem, 3.4vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.6vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.4vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-caption: 0.8125rem;
  --fs-label: 0.75rem;

  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px;
  --space-5: 32px; --space-6: 48px; --space-7: 64px; --space-8: 96px; --space-9: 128px;

  --container: 1280px;
  --gutter: 24px;
  --pad-x: clamp(16px, 4vw, 48px);
  --section-y: clamp(64px, 9vw, 128px);

  --radius: 0;
  --rule: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ofeme-blanc); color: var(--ofeme-encre);
  font-family: var(--ofeme-font); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ofeme-font); color: var(--ofeme-marine); text-wrap: balance; letter-spacing: -0.012em; }
h1 { font-size: var(--fs-h1); line-height: 1.04; font-weight: 650; font-stretch: var(--stretch-display); }
h2 { font-size: var(--fs-h2); line-height: 1.08; font-weight: 650; font-stretch: var(--stretch-display); }
h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 620; font-stretch: var(--stretch-heading); }
h4 { font-size: 1.0625rem; line-height: 1.35; font-weight: 620; font-stretch: 108%; }
:focus-visible { outline: 2px solid var(--ofeme-laterite); outline-offset: 2px; }
::selection { background: var(--ofeme-marine); color: #fff; }
.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: 16px; top: -60px; z-index: 100; background: var(--ofeme-marine); color: #fff; padding: 10px 16px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--pad-x)); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--paper { background: var(--ofeme-paper); }
.section--marine { background: var(--ofeme-marine); color: #DCE3EA; }
.section--marine h2, .section--marine h3, .section--marine h4 { color: #fff; }
.grid { display: grid; gap: var(--gutter); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.stack > * + * { margin-top: var(--space-3); }

/* ---------- Type utilities ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; font-weight: 620; font-stretch: var(--stretch-label); color: var(--ofeme-laterite); }
.eyebrow::before { content: ""; width: 24px; height: var(--rule); background: currentColor; }
.section--marine .eyebrow { color: #F08A5D; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ofeme-encre); max-width: 62ch; }
.section--marine .lead { color: #C9D3DD; }
.muted { color: var(--ofeme-ardoise); }
.label { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; font-weight: 620; font-stretch: var(--stretch-label); color: var(--ofeme-ardoise); }
.rule { width: 48px; height: var(--rule); background: var(--ofeme-laterite); border: 0; margin: 0; }
.placeholder { font-size: var(--fs-caption); letter-spacing: .06em; font-weight: 600; color: var(--ofeme-ardoise); border: 1px dashed var(--ofeme-marine-60); padding: 10px 12px; display: inline-block; background: rgba(255,255,255,.6); }
.section--marine .placeholder { color: #B7C1CB; border-color: #6A8299; background: transparent; }

/* ---------- Section head ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 { margin-top: var(--space-3); }
.section-head .lead { justify-self: start; }
.section-head--stack { grid-template-columns: minmax(0, 1fr); align-items: start; max-width: 860px; }
.section-head--stack .lead { margin-top: var(--space-2); }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 14px 24px; font: 650 1.0625rem/1.2 var(--ofeme-font); font-stretch: 108%; text-decoration: none; border: 1.5px solid transparent; border-radius: var(--radius); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--ofeme-laterite); color: #fff; font-size: 1.1875rem; }
.btn--primary:hover { background: var(--ofeme-laterite-dark); }
.btn--marine { background: var(--ofeme-marine); color: #fff; }
.btn--marine:hover { background: var(--ofeme-marine-90); }
.btn--ghost { border-color: var(--ofeme-marine); color: var(--ofeme-marine); }
.btn--ghost:hover { background: var(--ofeme-marine); color: #fff; }
.section--marine .btn--ghost, .on-marine .btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.section--marine .btn--ghost:hover, .on-marine .btn--ghost:hover { background: #fff; color: var(--ofeme-marine); }
.btn--sm { min-height: 42px; padding: 9px 16px; font-size: .9375rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 620; color: var(--ofeme-marine); text-decoration: none; font-stretch: 108%; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover svg { transform: translateX(4px); }
.section--marine .link-arrow { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }

/* ---------- Icons ---------- */
.ico { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: butt; stroke-linejoin: miter; }
.icon { width: 32px; height: 32px; color: var(--ofeme-marine); flex: none; }
.section--marine .icon { color: #fff; }

/* ---------- Logo ---------- */
.logo-lg { aspect-ratio: 494/570; height: auto; }
.logo-wm { aspect-ratio: 452/88.3; height: auto; }
.chev-t { aspect-ratio: 494/185; height: auto; }
.chev-b { aspect-ratio: 494/191; height: auto; }
.rev { --lw: #FFFFFF; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: #fff; border-bottom: 1px solid var(--ofeme-ligne); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand svg { width: 44px; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); height: 100%; }
.nav-list { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 28px); list-style: none; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link, .nav-trigger { font: 520 .9688rem/1 var(--ofeme-font); color: var(--ofeme-encre); text-decoration: none; background: none; border: 0; padding: 8px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; position: relative; }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav-link::after, .nav-trigger::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: var(--rule); background: var(--ofeme-laterite); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover::after, .nav-trigger:hover::after, .nav-link[aria-current="page"]::after, .nav-item.is-current > .nav-trigger::after { transform: scaleX(1); }
.nav-item[data-open="true"] .nav-trigger svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: -24px; min-width: 340px; background: #fff; border: 1px solid var(--ofeme-ligne); border-top: var(--rule) solid var(--ofeme-marine); padding: 12px 0; list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s; box-shadow: 0 18px 40px -18px rgba(6,47,85,.35); }
.nav-item[data-open="true"] .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (min-width: 1025px) {
  .nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.dropdown a { display: grid; grid-template-columns: 32px 1fr; gap: 0 12px; padding: 12px 24px; text-decoration: none; color: var(--ofeme-encre); }
.dropdown a:hover { background: var(--ofeme-paper); }
.dropdown .num { grid-row: span 2; font-size: .8125rem; color: var(--ofeme-laterite); font-weight: 650; padding-top: 2px; }
.dropdown b { font-weight: 620; font-stretch: 108%; color: var(--ofeme-marine); }
.dropdown span.d { font-size: .8125rem; color: var(--ofeme-ardoise); line-height: 1.4; }
.dropdown .all { border-top: 1px solid var(--ofeme-ligne); margin-top: 8px; padding-top: 14px; display: flex; font-size: .875rem; font-weight: 620; color: var(--ofeme-marine); }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.lang { font-size: .8125rem; font-weight: 620; letter-spacing: .08em; color: var(--ofeme-ardoise); text-decoration: none; padding: 6px 4px; }
.lang:hover { color: var(--ofeme-marine); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ofeme-marine); }
.menu-btn svg { width: 28px; height: 28px; }

/* Mobile nav */
.mobile-nav { position: fixed; inset: 0; z-index: 60; background: #fff; display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--pad-x) calc(env(safe-area-inset-bottom, 0px) + 24px); overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.mobile-nav nav { margin-top: 24px; }
.mobile-nav details { border-bottom: 1px solid var(--ofeme-ligne); }
.mobile-nav summary, .mobile-nav .m-link { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 1.375rem; font-weight: 620; font-stretch: 112%; color: var(--ofeme-marine); text-decoration: none; cursor: pointer; }
.mobile-nav .m-link { border-bottom: 1px solid var(--ofeme-ligne); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 18px; height: 18px; transition: transform .2s; }
.mobile-nav details[open] summary svg { transform: rotate(180deg); }
.mobile-nav details ul { list-style: none; padding: 0 0 16px; }
.mobile-nav details a { display: block; padding: 10px 0; text-decoration: none; color: var(--ofeme-encre); }
.mobile-nav .m-actions { margin-top: auto; padding-top: 32px; display: grid; gap: 16px; }
.mobile-nav .m-actions .btn { justify-content: center; }

@media (max-width: 1024px) {
  .nav, .header-actions .btn, .header-actions .lang { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Hero (home) ---------- */
.hero { padding-block: clamp(48px, 7vw, 104px) clamp(56px, 8vw, 120px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-title { font-size: var(--fs-display); line-height: .98; font-weight: 660; font-stretch: var(--stretch-display); letter-spacing: -0.02em; color: var(--ofeme-marine); margin: clamp(16px, 2vw, 28px) 0; }
.hero .chev-t, .hero .chev-b { width: clamp(120px, 16vw, 220px); }
.hero .chev-t { margin-top: clamp(24px, 3vw, 40px); }
.hero-sub { font-size: var(--fs-lead); line-height: 1.55; max-width: 34em; margin-top: clamp(24px, 3vw, 36px); }
.hero .btn-row { margin-top: clamp(28px, 3.4vw, 44px); }
@media (prefers-reduced-motion: no-preference) {
  .hero-anim > * { animation: rise .8s var(--ease) both; }
  .hero-anim > *:nth-child(2) { animation-delay: .06s; }
  .hero-anim > *:nth-child(3) { animation-delay: .12s; }
  .hero-anim > *:nth-child(4) { animation-delay: .18s; }
  .hero-anim > *:nth-child(5) { animation-delay: .24s; }
  .hero-anim > *:nth-child(6) { animation-delay: .30s; }
  @keyframes rise { from { transform: translateY(14px); opacity: .01; } to { transform: none; opacity: 1; } }
}

/* Path panel (Ambition → Impact) */
.path-panel { position: relative; background: var(--ofeme-marine); color: #fff; padding: clamp(32px, 4vw, 56px) clamp(28px, 3.6vw, 48px) clamp(56px, 6vw, 88px); clip-path: polygon(0 0, 100% 0, 100% 100%, 98px 100%, 0 calc(100% - 56.6px)); }
.path-panel .label { color: #B7C1CB; }
.path { list-style: none; margin-top: 28px; position: relative; }
.path::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 34px; width: 1px; background: rgba(255,255,255,.28); }
.path li { position: relative; padding: 0 0 26px 40px; }
.path li:last-child { padding-bottom: 0; }
.path li::before { content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 15px; border: 1.5px solid #fff; background: var(--ofeme-marine); transform: rotate(45deg) scale(.72); }
.path li:last-child::before { background: var(--ofeme-laterite); border-color: var(--ofeme-laterite); }
.path .k { display: block; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.15; font-weight: 640; font-stretch: var(--stretch-display); }
.path .d { display: block; font-size: .9375rem; color: #B7C1CB; margin-top: 2px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 96px); border-bottom: 1px solid var(--ofeme-ligne); }
.page-hero .grid-12 > .text { grid-column: 1 / span 9; }
.page-hero h1 { margin: var(--space-4) 0 0; }
.page-hero .chev-t, .page-hero .chev-b { width: clamp(88px, 10vw, 140px); }
.page-hero .framed h1 { margin: var(--space-3) 0; }
.page-hero .lead { margin-top: var(--space-5); }
.page-hero--marine { background: var(--ofeme-marine); border-bottom: 0; color: #DCE3EA; }
.page-hero--marine h1 { color: #fff; }
.page-hero--marine .lead { color: #C9D3DD; }
.page-hero--marine .eyebrow { color: #F08A5D; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; font-size: .8125rem; color: var(--ofeme-ardoise); margin-bottom: var(--space-5); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ofeme-marine); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--ofeme-marine-30); }
.page-hero--marine .crumbs { color: #9FB0C1; }
.tagline { font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.3; font-weight: 520; font-stretch: 108%; color: var(--ofeme-marine); margin-top: var(--space-4); max-width: 34em; }
.page-hero--marine .tagline { color: #fff; }

/* ---------- Challenge ---------- */
.challenge-title { font-size: var(--fs-h1); line-height: 1.06; font-weight: 650; font-stretch: var(--stretch-display); }
.challenge-title span { display: block; }
.challenge-title span + span { color: var(--ofeme-marine-60); }
.challenge-list { list-style: none; border-top: 2px solid var(--ofeme-marine); margin-top: clamp(40px, 5vw, 64px); }
.challenge-list li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gutter); padding: 22px 0; border-bottom: 1px solid var(--ofeme-ligne); align-items: baseline; }
.challenge-list .t { font-size: clamp(1.375rem, 2.2vw, 2rem); font-weight: 640; font-stretch: var(--stretch-display); color: var(--ofeme-marine); line-height: 1.1; }
.challenge-list .d { font-size: 1.0625rem; color: var(--ofeme-encre); max-width: 48ch; }

/* ---------- Expertise cards ---------- */
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ofeme-ligne); border-left: 1px solid var(--ofeme-ligne); }
.xcard { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 3.4vw, 48px); border-right: 1px solid var(--ofeme-ligne); border-bottom: 1px solid var(--ofeme-ligne); text-decoration: none; color: inherit; background: #fff; transition: background-color .25s var(--ease); }
.xcard::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--ofeme-laterite); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.xcard:hover::before, .xcard:focus-visible::before { transform: scaleX(1); }
.xcard:hover { background: var(--ofeme-paper); }
.xcard .top { display: flex; justify-content: space-between; align-items: flex-start; }
.xcard .n { font-size: .875rem; font-weight: 650; color: var(--ofeme-laterite); letter-spacing: .06em; }
.xcard h3 { font-size: clamp(1.5rem, 2.4vw, 2.125rem); line-height: 1.08; font-stretch: var(--stretch-display); font-weight: 650; }
.xcard p { color: var(--ofeme-encre); max-width: 40ch; }
.xcard ul { list-style: none; margin-top: 4px; display: grid; gap: 6px; }
.xcard li { font-size: .9375rem; color: var(--ofeme-ardoise); padding-left: 18px; position: relative; }
.xcard li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1.5px; background: var(--ofeme-marine-60); }
.xcard .link-arrow { margin-top: auto; padding-top: 8px; }

/* ---------- Solution rows ---------- */
.sol-list { border-top: 2px solid var(--ofeme-marine); }
.sol-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: var(--gutter); padding: clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--ofeme-ligne); text-decoration: none; color: inherit; align-items: start; transition: background-color .25s var(--ease); }
.sol-row:hover { background: linear-gradient(90deg, var(--ofeme-paper), transparent); }
.sol-row .name { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.12; font-weight: 640; font-stretch: var(--stretch-display); color: var(--ofeme-marine); }
.sol-row .name small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ofeme-ardoise); font-weight: 620; margin-bottom: 8px; }
.sol-row .tg { font-size: 1.125rem; font-weight: 560; color: var(--ofeme-encre); }
.sol-row .end { display: flex; justify-content: flex-end; }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; margin-top: 12px; list-style: none; }
.chain li { display: inline-flex; align-items: center; gap: 4px; }
.chain .c { font-size: .8125rem; font-weight: 600; color: var(--ofeme-marine); padding: 4px 8px; border: 1px solid var(--ofeme-ligne); background: #fff; white-space: nowrap; }
.chain .sep { color: var(--ofeme-marine-60); font-size: .8125rem; padding: 0 2px; }

/* ---------- Method 4D ---------- */
.m4d { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.22); }
.m4d > li { list-style: none; padding: 32px clamp(16px, 2vw, 32px) 8px 0; position: relative; }
.m4d > li + li { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid rgba(255,255,255,.14); }
.m4d .n { font-size: .8125rem; font-weight: 650; color: #F08A5D; letter-spacing: .08em; }
.m4d .k { display: block; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 650; font-stretch: var(--stretch-display); color: #fff; line-height: 1; margin-top: 18px; }
.m4d .v { display: block; font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #B7C1CB; margin-top: 12px; }
.m4d ul { list-style: none; margin-top: 20px; display: grid; gap: 8px; }
.m4d ul li { color: #DCE3EA; font-size: .9688rem; padding-left: 16px; position: relative; }
.m4d ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 1.5px; background: #6A8299; }
.m4d .chev-t { width: 56px; --lh: #fff; }
.section:not(.section--marine) .m4d { border-top-color: var(--ofeme-ligne); }
.section:not(.section--marine) .m4d > li + li { border-left-color: var(--ofeme-ligne); }
.section:not(.section--marine) .m4d .k { color: var(--ofeme-marine); }
.section:not(.section--marine) .m4d .v { color: var(--ofeme-ardoise); }
.section:not(.section--marine) .m4d ul li { color: var(--ofeme-encre); }
.section:not(.section--marine) .m4d .chev-t { --lh: var(--ofeme-laterite); }
.section:not(.section--marine) .m4d .n { color: var(--ofeme-laterite); }

.flow { margin-top: clamp(40px, 5vw, 64px); }
.flow ol { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 14px; }
.flow li { position: relative; padding: 16px 20px 16px 0; font-weight: 620; font-stretch: 110%; font-size: clamp(.9375rem, 1.3vw, 1.125rem); color: #fff; border-top: 2px solid rgba(255,255,255,.35); }
.flow li:last-child { border-top-color: var(--ofeme-laterite); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: 12px; top: -7px; width: 12px; height: 12px; border-top: 2px solid rgba(255,255,255,.35); border-right: 2px solid rgba(255,255,255,.35); transform: rotate(45deg); }
.section:not(.section--marine) .flow li { color: var(--ofeme-marine); border-top-color: var(--ofeme-marine-30); }
.section:not(.section--marine) .flow li:last-child { border-top-color: var(--ofeme-laterite); }
.section:not(.section--marine) .flow li:not(:last-child)::after { border-color: var(--ofeme-marine-30); }

/* ---------- Why / principles ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) var(--gutter); }
.why > div { display: flex; flex-direction: column; gap: 12px; }
.why h3 { font-size: 1.25rem; }
.why p { color: var(--ofeme-encre); max-width: 36ch; }
.principles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gutter); }
.principles > div { border-top: 2px solid var(--ofeme-marine); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.principles h3 { font-size: 1.1875rem; }
.principles p { font-size: .9688rem; }

/* ---------- Executive education ---------- */
.ee { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.photo { position: relative; overflow: hidden; background: linear-gradient(160deg, #4A6178 0%, #2B4259 55%, #1B2E40 100%); min-height: 320px; }
.photo.warm { background: linear-gradient(165deg, #8A7F74 0%, #5F574F 60%, #3F3A35 100%); }
.photo .cap { position: absolute; left: 20px; right: 20px; top: 18px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.85); }
.photo .cap::before { content: "▢ "; opacity: .7; }
.cut-30 { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 92px), calc(100% - 160px) 100%, 0 100%); }
.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ofeme-ligne); margin-top: var(--space-6); }
.tracks > div { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--ofeme-ligne); }
.tracks > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--ofeme-ligne); }
.tracks h3 { font-size: 1.125rem; }
.tracks p { font-size: .9688rem; color: var(--ofeme-ardoise); margin-top: 6px; }
.tracks .is-partner h3 { color: var(--ofeme-laterite); }

/* ---------- AI journey ---------- */
.ai-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; align-items: end; position: relative; }
.ai-steps li { display: flex; flex-direction: column; justify-content: flex-start; border-left: 1px solid var(--ofeme-ligne); padding: 0 20px 0 20px; }
.ai-steps li:first-child { border-left: 0; padding-left: 0; }
.ai-steps .bar-box { height: 192px; display: flex; align-items: flex-end; margin-bottom: 20px; }
.ai-steps .bar { width: 100%; background: var(--ofeme-brume); border-top: 2px solid var(--ofeme-marine-30); }
.ai-steps li:nth-child(1) .bar { height: 48px; }
.ai-steps li:nth-child(2) .bar { height: 96px; background: #CFD7DF; }
.ai-steps li:nth-child(3) .bar { height: 144px; background: var(--ofeme-marine-30); border-top-color: var(--ofeme-marine-60); }
.ai-steps li:nth-child(4) .bar { height: 192px; background: var(--ofeme-marine); border-top-color: var(--ofeme-laterite); }
.ai-steps .t { font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 640; font-stretch: var(--stretch-display); color: var(--ofeme-marine); }
.ai-steps .d { font-size: .9375rem; color: var(--ofeme-ardoise); margin-top: 6px; min-height: 3em; }
.principle-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: clamp(32px, 4vw, 56px); padding-top: 24px; border-top: 2px solid var(--ofeme-marine); }
.principle-line strong { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 650; font-stretch: var(--stretch-display); color: var(--ofeme-marine); }

/* ---------- Bridge ---------- */
.bridge { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.bridge-map { width: 100%; height: auto; }
.bridge-map .grat { stroke: rgba(255,255,255,.12); stroke-width: 1; }
.bridge-map .grat-lab { fill: #6A8299; font: 500 11px var(--ofeme-font); letter-spacing: .04em; }
.bridge-map .route { stroke: #fff; stroke-width: 1.5; fill: none; stroke-dasharray: 4 6; }
.bridge-map .node-a { fill: var(--ofeme-laterite); }
.bridge-map .node-b { fill: #fff; }
.bridge-map .lab { fill: #fff; font: 650 16px var(--ofeme-font); font-stretch: 112%; }
.bridge-map .sub { fill: #9FB0C1; font: 500 12px var(--ofeme-font); }
.bridge-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); margin-top: var(--space-6); }
.bridge-cols > div { border-top: 1px solid rgba(255,255,255,.25); padding-top: 18px; }
.bridge-cols .label { color: #F08A5D; }
.bridge-cols h3 { font-size: 1.1875rem; margin-top: 8px; }
.bridge-cols ul { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
.bridge-cols li { font-size: .9688rem; color: #C9D3DD; padding-left: 16px; position: relative; }
.bridge-cols li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 1.5px; background: #6A8299; }
.bridge-line { font-size: 1.125rem; font-weight: 560; color: #fff; margin-top: var(--space-4); font-stretch: 108%; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ofeme-marine); color: #DCE3EA; padding-block: clamp(64px, 8vw, 120px); position: relative; overflow: hidden; }
.cta-band .inner { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gutter); align-items: end; }
.cta-band .chev-t, .cta-band .chev-b { width: clamp(96px, 12vw, 168px); }
.cta-band h2 { color: #fff; margin: 20px 0; font-size: clamp(2rem, 4.4vw, 3.75rem); }
.cta-band p { color: #C9D3DD; max-width: 48ch; margin-top: 24px; }
.cta-band .btn-row { justify-content: flex-end; }

.cta-band--light { background: var(--ofeme-paper); color: var(--ofeme-encre); }
.cta-band--light h2 { color: var(--ofeme-marine); }
.cta-band--light p { color: var(--ofeme-ardoise); }

/* ---------- Detail pages ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.message { font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.3; font-weight: 560; font-stretch: 108%; color: var(--ofeme-marine); border-left: 3px solid var(--ofeme-laterite); padding-left: clamp(16px, 2vw, 28px); }
.prose p { font-size: 1.0938rem; line-height: 1.7; max-width: 64ch; }
.prose p + p { margin-top: 1.1em; }
.aside-card { border-top: 2px solid var(--ofeme-marine); padding-top: 20px; position: sticky; top: calc(var(--header-h) + 32px); }
.aside-card h3 { font-size: 1.0625rem; }
.aside-card .sol-name { font-size: 1.375rem; font-weight: 640; font-stretch: var(--stretch-display); color: var(--ofeme-marine); margin: 10px 0 6px; line-height: 1.15; }
.aside-card p { color: var(--ofeme-ardoise); font-size: .9688rem; }
.aside-card .btn { margin-top: 20px; width: 100%; justify-content: space-between; }
.aside-card .link-arrow { margin-top: 16px; }
.svc-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.svc-groups > div { border-top: 2px solid var(--ofeme-marine); padding-top: 18px; }
.svc-groups h3 { font-size: 1.125rem; }
.svc-groups ul { list-style: none; margin-top: 14px; }
.svc-groups li { padding: 9px 0; border-bottom: 1px solid var(--ofeme-ligne); font-size: .9688rem; }
.questions { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gutter); border-top: 1px solid var(--ofeme-ligne); }
.questions li { padding: 24px 0 24px 40px; border-bottom: 1px solid var(--ofeme-ligne); position: relative; font-size: 1.125rem; font-weight: 520; color: var(--ofeme-marine); }
.questions li::before { content: "?"; position: absolute; left: 0; top: 22px; width: 24px; height: 24px; display: grid; place-items: center; font-size: .8125rem; font-weight: 700; color: var(--ofeme-laterite); border: 1.5px solid var(--ofeme-laterite); }

/* NEOMA */
.neoma { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.neoma .partner-slot { border: 1px dashed var(--ofeme-marine-60); min-height: 180px; display: grid; place-items: center; padding: 24px; text-align: center; font-size: .8125rem; letter-spacing: .06em; font-weight: 600; color: #B7C1CB; }
.neoma .note { font-size: .875rem; color: #9FB0C1; margin-top: 16px; }

/* Solution detail */
.forwhom { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--ofeme-ligne); }
.forwhom li { padding: 16px 0 16px 32px; border-bottom: 1px solid var(--ofeme-ligne); position: relative; font-size: 1.0625rem; }
.forwhom li::before { content: ""; position: absolute; left: 0; top: 24px; width: 16px; height: 2px; background: var(--ofeme-laterite); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px 20px 8px 0; border-top: 2px solid var(--ofeme-marine-30); position: relative; }
.steps li + li { padding-left: 20px; }
.steps li:last-child { border-top-color: var(--ofeme-laterite); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: .8125rem; font-weight: 650; color: var(--ofeme-laterite); letter-spacing: .06em; }
.steps .t { display: block; font-size: 1.1875rem; font-weight: 640; font-stretch: var(--stretch-display); color: var(--ofeme-marine); margin-top: 10px; line-height: 1.15; }
.steps .d { display: block; font-size: .9375rem; color: var(--ofeme-ardoise); margin-top: 8px; }
.steps--join li::after { content: "+"; position: absolute; right: -9px; top: -15px; width: 18px; height: 26px; display: grid; place-items: center; background: #fff; color: var(--ofeme-laterite); font-weight: 700; }
.steps--join li:last-child::after { content: none; }
.section--paper .steps--join li::after { background: var(--ofeme-paper); }

.case { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gutter); border: 1px dashed var(--ofeme-marine-60); padding: clamp(24px, 3vw, 40px); background: #fff; }

/* Audiences */
.aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ofeme-ligne); border-left: 1px solid var(--ofeme-ligne); }
.aud > div { padding: clamp(24px, 2.6vw, 36px); border-right: 1px solid var(--ofeme-ligne); border-bottom: 1px solid var(--ofeme-ligne); }
.aud h3 { font-size: 1.1875rem; }
.aud p { margin-top: 10px; font-size: .9688rem; color: var(--ofeme-encre); }

/* About */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.team .card { border-top: 2px solid var(--ofeme-marine); padding-top: 16px; }
.team .avatar { aspect-ratio: 4/3; background: var(--ofeme-brume); display: grid; place-items: center; margin-bottom: 16px; }
.team .avatar svg { width: 64px; color: var(--ofeme-marine-30); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.stats > div { border-top: 2px solid var(--ofeme-marine); padding-top: 18px; }
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.logos > div { aspect-ratio: 3/2; border: 1px dashed var(--ofeme-marine-30); display: grid; place-items: center; text-align: center; padding: 8px; font-size: .6875rem; letter-spacing: .04em; font-weight: 600; color: var(--ofeme-ardoise); }
.entity { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; border-top: 1px solid var(--ofeme-ligne); padding-top: 24px; }
.entity .sig { display: flex; align-items: center; gap: 20px; }
.entity .sig svg { width: 56px; }
.entity .sig b { font-size: 1.25rem; font-weight: 650; font-stretch: 115%; color: var(--ofeme-marine); letter-spacing: .05em; }
.entity .ids { font-size: .9375rem; color: var(--ofeme-ardoise); }

/* Insights */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-6); }
.filters button { font: 600 .875rem/1 var(--ofeme-font); padding: 10px 14px; background: #fff; color: var(--ofeme-marine); border: 1px solid var(--ofeme-ligne); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ofeme-marine); color: #fff; border-color: var(--ofeme-marine); }
.insights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) var(--gutter); }
.icard { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--ofeme-marine); padding-top: 16px; }
.icard .visual { aspect-ratio: 16/10; background: var(--ofeme-brume); position: relative; overflow: hidden; }
.icard .visual svg { position: absolute; right: -10%; bottom: -24%; width: 70%; --lh: var(--ofeme-marine-30); }
.icard h3 { font-size: 1.1875rem; }
.icard .meta { display: flex; justify-content: space-between; gap: 12px; }
.icard[hidden] { display: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.intents { border: 0; padding: 0; margin: 0 0 var(--space-5); }
.intents legend { margin-bottom: 14px; }
.intents .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.intents input { position: absolute; opacity: 0; pointer-events: none; }
.intents label { display: inline-flex; padding: 12px 16px; border: 1px solid var(--ofeme-ligne); font-weight: 600; font-size: .9375rem; color: var(--ofeme-marine); cursor: pointer; background: #fff; transition: border-color .2s, background-color .2s; }
.intents input:checked + label { background: var(--ofeme-marine); border-color: var(--ofeme-marine); color: #fff; }
.intents input:focus-visible + label { outline: 2px solid var(--ofeme-laterite); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--gutter); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 600; color: var(--ofeme-ardoise); }
.field input, .field textarea { font: 400 1rem/1.4 var(--ofeme-font); padding: 14px 14px; border: 1px solid var(--ofeme-ligne); border-radius: 0; background: #fff; color: var(--ofeme-encre); width: 100%; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ofeme-marine); box-shadow: 0 0 0 1px var(--ofeme-marine); }
.field .err { font-size: .8125rem; color: #B3261E; min-height: 1em; }
.field.invalid input, .field.invalid textarea { border-color: #B3261E; }
.hint { font-size: .875rem; color: var(--ofeme-ardoise); margin-top: -6px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: var(--ofeme-ardoise); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ofeme-marine); flex: none; }
.form-status { margin-top: var(--space-4); padding: 18px 20px; border-left: 3px solid var(--ofeme-marine); background: var(--ofeme-paper); }
.form-status[hidden] { display: none; }
.form-status b { color: var(--ofeme-marine); display: block; }
.form-status span { font-size: .875rem; color: var(--ofeme-ardoise); }
.contact-aside { border-top: 2px solid var(--ofeme-marine); padding-top: 20px; display: grid; gap: 18px; font-size: .9688rem; }

/* Legal */
.legal-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.legal-table th { text-align: left; font-weight: 600; color: var(--ofeme-ardoise); width: 40%; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--ofeme-ligne); vertical-align: top; }
.legal-table td { padding: 14px 0; border-bottom: 1px solid var(--ofeme-ligne); }
.legal h2 { font-size: 1.5rem; margin: var(--space-7) 0 var(--space-4); }

/* ---------- Footer ---------- */
.site-footer { background: #041F38; color: #9FB0C1; padding-block: clamp(56px, 7vw, 96px) 32px; font-size: .9375rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: var(--gutter); }
.footer-brand svg { width: 64px; }
.footer-brand .sig { color: #fff; font-size: 1.375rem; font-weight: 650; font-stretch: 115%; margin-top: 24px; }
.footer-brand p { margin-top: 8px; }
.site-footer h2 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 620; margin-bottom: 16px; font-stretch: 112%; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #C9D3DD; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: .8125rem; color: #8095AA; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .ee, .bridge, .detail, .neoma, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sol-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sol-row .end { grid-column: 1 / -1; justify-content: flex-start; }
  .m4d { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m4d > li:nth-child(3) { border-left: 0; padding-left: 0; }
  .why, .aud, .insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-groups { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .steps li + li { padding-left: 0; }
  .steps li:nth-child(even) { padding-left: 20px; }
  .steps--join li::after { content: none; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aside-card { position: static; }
  .cta-band .inner { grid-template-columns: minmax(0, 1fr); }
  .cta-band .btn-row { justify-content: flex-start; }
  .page-hero .grid-12 > .text { grid-column: 1 / -1; }
  .path-panel { max-width: 560px; }
}
@media (max-width: 680px) {
  .cards-2, .why, .aud, .insights, .principles, .team, .stats, .questions, .tracks, .bridge-cols, .form-grid, .case { grid-template-columns: minmax(0, 1fr); }
  .tracks > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .challenge-list li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .sol-row { grid-template-columns: minmax(0, 1fr); }
  .m4d { grid-template-columns: minmax(0, 1fr); }
  .m4d > li + li { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .flow ol { grid-template-columns: minmax(0, 1fr); }
  .flow li:not(:last-child)::after { right: auto; left: 0; top: auto; bottom: -7px; transform: rotate(135deg); }
  .ai-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .ai-steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li:nth-child(even) { padding-left: 0; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cut-30 { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 52px), calc(100% - 90px) 100%, 0 100%); }
  .path-panel { clip-path: polygon(0 0, 100% 0, 100% 100%, 64px 100%, 0 calc(100% - 37px)); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; justify-content: space-between; }
  .btn-row .link-arrow { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ================= v2 additions ================= */
.h-sub, .h1-sub { display: block; font-stretch: 100%; letter-spacing: 0; color: var(--ofeme-ardoise); font-weight: 480; }
.h-sub { font-size: .9375rem; line-height: 1.4; margin-top: 8px; }
.h1-sub { font-size: clamp(1.0625rem, 1.6vw, 1.375rem); line-height: 1.35; margin-top: 14px; }
.page-hero--marine .h1-sub { color: #B7C1CB; }
.sol-row .name .h-sub { font-size: .875rem; }
.entry-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 12px; font-size: .9375rem; font-weight: 600; color: var(--ofeme-marine); }
.entry-line .label { color: var(--ofeme-laterite); font-size: .6875rem; }
.xcard .entry-line { border-top: 1px solid var(--ofeme-ligne); padding-top: 14px; margin-top: 4px; }

.position { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.position > div { border-top: 2px solid var(--ofeme-marine); padding-top: 20px; }
.position .a { font-size: 1.1875rem; line-height: 1.3; font-weight: 640; font-stretch: 110%; color: var(--ofeme-marine); }
.position .b { margin-top: 10px; color: var(--ofeme-encre); }
.position > div:last-child { border-top-color: var(--ofeme-laterite); }

.entry { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; border: 1px solid var(--ofeme-ligne); padding: clamp(28px, 4vw, 56px); }
.entry-meta { display: grid; gap: 12px; margin: 24px 0 0; }
.entry-meta > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; border-top: 1px solid var(--ofeme-ligne); padding-top: 12px; }
.entry-meta dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 620; color: var(--ofeme-ardoise); padding-top: 3px; }
.entry-meta dd { margin: 0; }
.deliv { list-style: none; margin-top: 16px; counter-reset: d; border-top: 2px solid var(--ofeme-marine); }
.deliv li { counter-increment: d; display: grid; grid-template-columns: 40px minmax(0, 1fr); padding: 16px 0; border-bottom: 1px solid var(--ofeme-ligne); font-size: 1.0625rem; color: var(--ofeme-marine); font-weight: 520; }
.deliv li::before { content: counter(d, decimal-leading-zero); font-size: .8125rem; font-weight: 650; color: var(--ofeme-laterite); padding-top: 3px; }

.progs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.prog { border: 1px solid var(--ofeme-ligne); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.prog--official { background: var(--ofeme-marine); border-color: var(--ofeme-marine); color: #DCE3EA; }
.prog--official h2 { color: #fff; }
.prog--official .label { color: #F08A5D; }
.prog--official .entry-meta > div { border-top-color: rgba(255,255,255,.18); }
.prog--official .entry-meta dt { color: #9FB0C1; }
.prog--official .placeholder { color: #B7C1CB; border-color: #6A8299; background: transparent; }
.prog h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); margin-top: 10px; }
.prog-text { margin-top: 16px; }
.prog .btn-row { margin-top: auto !important; padding-top: 24px; }
.principles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.quiz-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.q { border: 0; padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--ofeme-ligne); min-width: 0; }
.q legend { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 0; padding: 0; margin-bottom: 16px; width: 100%; }
.q .qn { grid-row: span 2; font-size: .8125rem; font-weight: 650; color: var(--ofeme-laterite); padding-top: 2px; }
.q .qt { font-size: 1.1875rem; font-weight: 600; font-stretch: 108%; color: var(--ofeme-marine); line-height: 1.3; }
.qo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-left: 40px; }
.qo label { position: relative; display: block; cursor: pointer; }
.qo input { position: absolute; opacity: 0; }
.qo span { display: block; padding: 12px 14px; border: 1px solid var(--ofeme-ligne); font-size: .9375rem; line-height: 1.35; background: #fff; transition: border-color .15s, background-color .15s; height: 100%; }
.qo label:hover span { border-color: var(--ofeme-marine-60); }
.qo input:checked + span { background: var(--ofeme-marine); border-color: var(--ofeme-marine); color: #fff; }
.qo input:focus-visible + span { outline: 2px solid var(--ofeme-laterite); outline-offset: 2px; }
.quiz-msg { color: #B3261E; font-size: .875rem; min-height: 1.2em; margin-bottom: 12px; }
.quiz-side { position: sticky; top: calc(var(--header-h) + 32px); border-top: 2px solid var(--ofeme-marine); padding-top: 20px; }
.quiz-result { margin-top: 24px; }
.quiz-result .lvl { font-size: 2rem; font-weight: 650; font-stretch: 118%; color: var(--ofeme-marine); margin: 6px 0 4px; }
.quiz-result .score b { color: var(--ofeme-marine); }
.quiz-result p + p { margin-top: 12px; }
.quiz-result .next { font-weight: 600; color: var(--ofeme-marine); border-left: 3px solid var(--ofeme-laterite); padding-left: 12px; }
.dims { list-style: none; margin-top: 10px; display: grid; gap: 8px; }
.dims li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: center; font-size: .8125rem; }
.dims i { display: block; height: 8px; background: var(--ofeme-brume); position: relative; }
.dims i b { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ofeme-marine); }
.dims li.weak i b { background: var(--ofeme-laterite); }

.wa-float { position: fixed; right: 20px; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); z-index: 40; width: 56px; height: 56px; display: grid; place-items: center; background: var(--ofeme-marine); color: #fff; box-shadow: 0 10px 28px -10px rgba(6,47,85,.6); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: var(--ofeme-marine-90); }
.preview-flag { position: fixed; left: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); z-index: 45; background: #FFF4D6; color: #5A4300; border: 1px solid #E6C77A; font-size: .75rem; padding: 6px 10px; max-width: calc(100% - 24px); }

@media (max-width: 1024px) {
  .position, .principles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry, .quiz-grid { grid-template-columns: minmax(0, 1fr); }
  .quiz-side { position: static; }
}
@media (max-width: 680px) {
  .position, .principles--4, .progs { grid-template-columns: minmax(0, 1fr); }
  .qo { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
  .entry-meta > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

.ee-facts { background: var(--ofeme-marine); color: #fff; padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px) clamp(96px, 9vw, 120px); display: grid; gap: 22px; align-content: start; }
.ee-facts > div { border-top: 1px solid rgba(255,255,255,.2); padding-top: 14px; }
.ee-facts .label { color: #F08A5D; }
.ee-facts p { font-size: 1.1875rem; font-weight: 600; font-stretch: 110%; margin-top: 6px; }

.dims i b { min-width: 4px; }

/* Two activities */
.act-panel { padding-bottom: clamp(64px, 6vw, 88px); }
.act-link { display: grid; grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 2px 8px; align-items: baseline; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; margin-top: 16px; }
.act-link + .act-link { margin-top: 0; }
.act-link .n { grid-row: span 2; font-size: .8125rem; font-weight: 650; color: #F08A5D; }
.act-link .k { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 650; font-stretch: 118%; line-height: 1.1; }
.act-link .d { grid-column: 2; font-size: .9375rem; color: #B7C1CB; }
.act-link svg { grid-row: 1; grid-column: 3; width: 20px; height: 20px; transition: transform .25s var(--ease); }
.act-link:hover svg { transform: translateX(4px); }
.act-link:hover .k { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.activities-sec { border-top: 1px solid var(--ofeme-ligne); }
.activities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.act { border-top: 3px solid var(--ofeme-marine); padding-top: 24px; display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 24px); }
.act + .act { border-top-color: var(--ofeme-laterite); }
.act-head { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: baseline; gap: 4px 0; }
.act-head .n { grid-row: span 2; font-size: .875rem; font-weight: 650; color: var(--ofeme-laterite); }
.act-head h3 { font-size: clamp(2rem, 3.4vw, 2.75rem); font-stretch: 118%; font-weight: 650; line-height: 1; }
.act-head .label { margin-top: 10px; }
.act-lines { margin: 24px 0 0; padding-left: 40px; }
.act-lines > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ofeme-ligne); }
.act-lines dt { font-weight: 650; font-stretch: 108%; color: var(--ofeme-marine); }
.act-lines dd { margin: 0; color: var(--ofeme-encre); font-size: .9688rem; }
.act-aud { padding-left: 40px; margin-top: 16px; color: var(--ofeme-ardoise); font-size: .9375rem; }
.act .btn-row { padding-left: 40px; margin-top: auto; padding-top: 28px; }
@media (max-width: 860px) { .activities { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
@media (max-width: 680px) { .act-lines, .act-aud, .act .btn-row { padding-left: 0; } .act-lines > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ===== v3 — photographic direction (old-site imagery) ===== */
.btn--ghost-light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ofeme-marine); }
.ph-bg { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; }
.ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,47,85,.95) 0%, rgba(6,47,85,.86) 40%, rgba(6,47,85,.35) 72%, rgba(6,47,85,.12) 100%); }
.hero--photo { min-height: clamp(560px, 46vw, 700px); display: flex; align-items: center; padding-block: clamp(72px, 8vw, 120px) clamp(104px, 10vw, 150px); color: #fff; background: var(--ofeme-marine); }
.hero--photo > .container { position: relative; z-index: 1; width: 100%; }
.hero--photo .hero-anim { max-width: 700px; }
.hero--photo .eyebrow { color: #F08A5D; }
.hero--photo .eyebrow::before { background: #F08A5D; }
.hero--photo .hero-title { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: 1.02; margin: 20px 0 0; }
.hero--photo .hero-sub { color: #DCE3EA; max-width: 36em; }
.access { position: relative; z-index: 2; margin-top: clamp(-72px, -5vw, -48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); box-shadow: 0 14px 40px rgba(6,47,85,.16); background: #fff; }
.acc { display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 12px; padding: clamp(20px, 2.4vw, 30px); border-top: 4px solid var(--ofeme-marine); color: inherit; text-decoration: none; transition: background-color .2s var(--ease); }
.acc + .acc { border-left: 1px solid var(--ofeme-ligne); }
.acc:nth-child(2) { border-top-color: var(--ofeme-laterite); }
.acc:nth-child(3) { border-top-color: #6A8299; }
.acc .k { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 650; font-stretch: 112%; color: var(--ofeme-marine); }
.acc .d { grid-column: 1; font-size: .9375rem; color: var(--ofeme-ardoise); }
.acc svg { grid-row: 1; grid-column: 2; width: 20px; height: 20px; color: var(--ofeme-laterite); align-self: center; transition: transform .25s var(--ease); }
.acc:hover { background: var(--ofeme-paper); }
.acc:hover svg { transform: translateX(4px); }
.activities-sec { border-top: 0; }
.act { border: 1px solid var(--ofeme-ligne); border-top: 0; padding-top: 0; background: #fff; }
.act-ph { height: clamp(220px, 22vw, 320px); background-size: cover; background-position: center; border-bottom: 4px solid var(--ofeme-marine); }
.act + .act .act-ph { border-bottom-color: var(--ofeme-laterite); }
.act-body { padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; flex: 1; }
.photo--real { background-size: cover; background-position: center; min-height: 420px; }
.page-hero--photo { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 112px) clamp(64px, 7vw, 120px); }
.page-hero--photo > .container { position: relative; z-index: 1; }
.page-hero--photo .ph-bg::after { background: linear-gradient(90deg, rgba(6,47,85,.96) 0%, rgba(6,47,85,.88) 48%, rgba(6,47,85,.55) 80%, rgba(6,47,85,.4) 100%); }
.page-hero--photo .grid-12 > .text { grid-column: 1 / span 8; }
.page-hero--photo .lead, .page-hero--photo .tagline { color: #E1E8EF; }
@media (max-width: 900px) {
  .access { grid-template-columns: 1fr; margin-top: -40px; }
  .acc + .acc { border-left: 0; border-top-width: 1px; border-top-color: var(--ofeme-ligne) !important; }
  .ph-bg::after { background: linear-gradient(180deg, rgba(6,47,85,.78) 0%, rgba(6,47,85,.9) 100%); }
  .page-hero--photo .grid-12 > .text { grid-column: 1 / -1; }
}
/* v3.1 — method cards (home), dropdown without numbers */
.m4c { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.m4c li { background: #fff; padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--ofeme-marine); }
.m4c li:nth-child(2) { border-top-color: #6A8299; } .m4c li:nth-child(3) { border-top-color: var(--ofeme-laterite); } .m4c li:nth-child(4) { border-top-color: var(--ofeme-encre); }
.m4c .n { font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 700; font-stretch: 118%; color: var(--ofeme-laterite); line-height: 1; }
.m4c .k { font-size: 1.25rem; font-weight: 650; font-stretch: 110%; color: var(--ofeme-marine); margin-top: 6px; }
.m4c .d { color: var(--ofeme-ardoise); font-size: .9688rem; line-height: 1.55; }
@media (max-width: 1024px) { .m4c { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .m4c { grid-template-columns: 1fr; } }
.dropdown a { grid-template-columns: 1fr; }
.dropdown a .d { grid-column: 1; }
.dropdown a.all { display: block; }
