/* ==========================================================================
   UBORA — Feuille de style
   Palette tirée du logo : bleu nuit et vert. Le cuivre, clin d'œil au Katanga,
   sert uniquement aux petits repères.
   ========================================================================== */
:root {
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --surface-2: #EEF2F7;
  --ink: #0B1A33;
  --muted: #56637A;
  --line: #E0E6EE;
  --navy: #0F3170;
  --navy-2: #173F8C;
  --green: #23843A;
  --green-2: #3FA535;
  --lime: #8DCB4F;
  --copper: #B2622A;
  --deep: #07183A;
  --deep-2: #0C2452;
  --deep-ink: #EAF0FA;
  --deep-muted: #A6B5D0;
  --deep-line: rgba(255, 255, 255, .11);
  --shadow-sm: 0 1px 2px rgba(11, 26, 51, .06);
  --shadow: 0 1px 2px rgba(11, 26, 51, .05), 0 14px 34px -16px rgba(11, 26, 51, .22);
  --shadow-lg: 0 2px 6px rgba(11, 26, 51, .05), 0 34px 70px -28px rgba(11, 26, 51, .38);
  --r: 16px;
  --r-lg: 22px;
  --f-display: "Outfit", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --f-body: "Instrument Sans", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #07101F;
  --surface: #0D1A31;
  --surface-2: #122340;
  --ink: #E8EEF8;
  --muted: #9CAAC1;
  --line: #1E2F4D;
  --navy: #A9C3F2;
  --navy-2: #C3D5F7;
  --green: #72C77A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -16px rgba(0, 0, 0, .75);
  --shadow-lg: 0 34px 70px -28px rgba(0, 0, 0, .85);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16.5px; line-height: 1.62; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-kerning: normal; font-optical-sizing: auto; font-variant-ligatures: common-ligatures; }
/* le menu mobile bloque le défilement de la page, sans casser l'en-tête collant */
html:has(body.menu-open) { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.1; margin: 0; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
p, li, dd { text-wrap: pretty; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--lime); color: #06203F; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { max-width: 1220px; margin: 0 auto; padding-inline: 24px; }
.wrap.narrow { max-width: 860px; }
@media (max-width: 600px) { .wrap { padding-inline: 18px; } }
section { padding-block: clamp(52px, 6.5vw, 88px); }
section.tight-top { padding-top: 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.eyebrow::before { content: ""; width: 20px; height: 1.5px; background: currentColor; opacity: .75; }
.lead { font-size: clamp(16.5px, 1.2vw, 18px); color: var(--muted); max-width: 62ch; line-height: 1.65; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }
.mono { font-family: var(--f-mono); font-size: 12px; }

.sec-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 3.5vw, 44px); max-width: 780px; }
.sec-head > div { display: grid; gap: 14px; }
.sec-head h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.035em; }
.sec-head h2 .serif { color: var(--green); font-size: 1.08em; }
.sec-head.split { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
@media (max-width: 760px) { .sec-head.split { grid-template-columns: 1fr; } }
.h2-md { font-size: clamp(24px, 2.6vw, 32px); margin: 14px 0 16px; letter-spacing: -.03em; }
.h2-sm { font-size: 24px; margin-bottom: 18px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.two.align-center { align-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.grid-2 > *, .grid-3 > *, .grid-4 > *, .two > * { min-width: 0; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--f-display); font-weight: 600; font-size: 15.5px; line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s, color .2s; }
.btn svg { width: 17px; height: 17px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
:root[data-theme="dark"] .btn-primary { color: #07183A; }
.btn-accent { background: var(--lime); color: #06203F; }
.btn-accent:hover { background: #A2D86B; transform: translateY(-1px); box-shadow: 0 12px 28px -12px rgba(141, 203, 79, .8); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost.danger:hover { border-color: #C2410C; color: #C2410C; }
.btn-glass { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .24); }
.btn-glass:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .45); }
.btn-wa { background: #25D366; color: #04361C; }
.btn-wa:hover { background: #3BE07A; }
.btn-sm { padding: 9px 16px; font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }
.link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; }
.link svg { width: 16px; height: 16px; transition: transform .2s; }
.link:hover svg, .pole:hover .link svg { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.progress-top { position: fixed; left: 0; top: 0; z-index: 80; height: 3px; width: 0; background: linear-gradient(90deg, var(--green-2), var(--lime)); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 24, 58, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: var(--deep-ink); }
.nav { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; text-decoration: none; color: #fff; }
.logo-img { width: 44px; height: 44px; border-radius: 50%; background: #fff; object-fit: contain; box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.brand-name b { color: var(--lime); font-weight: 700; }
.brand-sub { margin-top: 5px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--deep-muted); }

.menu { display: flex; align-items: center; gap: 2px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.menu > li { position: relative; }
.menu > li > a, .dd-btn { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 999px; background: none; color: var(--deep-ink); font: 600 15px var(--f-body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.menu > li > a:hover, .dd-btn:hover, .has-dd.open > .dd-btn { background: rgba(255, 255, 255, .09); }
.menu a.current, .dd-btn.current { color: var(--lime); }
.dd-btn svg { width: 14px; height: 14px; opacity: .7; transition: transform .2s; }
.has-dd.open .dd-btn svg { transform: rotate(180deg); }
.dd { position: absolute; top: calc(100% + 12px); left: 50%; z-index: 10; padding: 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s, transform .18s, visibility .18s; }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dd:hover .dd, .has-dd:focus-within .dd, .has-dd.open .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-list { width: 300px; display: grid; gap: 2px; }
.dd-list a { display: grid; gap: 2px; padding: 11px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.dd-list a:hover, .dd-item:hover { background: var(--surface-2); }
.dd-list b, .dd-item b { font-family: var(--f-display); font-size: 15.5px; font-weight: 600; }
.dd-list small, .dd-item small { color: var(--muted); font-size: 13px; }
.dd-mega { width: min(640px, calc(100vw - 48px)); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dd-col { display: grid; gap: 2px; align-content: start; padding: 4px; }
.dd-col h5 { margin: 6px 10px 8px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.dd-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.dd-item span:last-child { display: grid; gap: 1px; }
.dd-item small { font-family: var(--f-mono); font-size: 11.5px; }
.dd-more { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; font: 600 14px var(--f-display); color: var(--navy); text-decoration: none; }
.dd-more svg { width: 14px; height: 14px; }
.mk { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--c, var(--navy)); color: #fff; font: 800 14px var(--f-display); letter-spacing: -.02em; }

.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.icon-btn svg { width: 18px; height: 18px; }
.burger { display: none; }
.m-cta { display: none; }
@media (max-width: 1100px) {
  .burger { display: grid; }
  .site-header { background: var(--deep); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-actions .btn { display: none; }
  .menu { position: fixed; left: 0; right: 0; top: 70px; bottom: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 16px 20px 40px; overflow-y: auto; background: var(--deep); }
  .menu:not(.open) { display: none; }
  .menu > li > a, .dd-btn { width: 100%; justify-content: space-between; padding: 14px 10px; font-size: 18px; border-radius: 12px; }
  .dd { position: static; display: none; width: auto; padding: 0 0 12px 4px; opacity: 1; visibility: visible; transform: none !important; background: transparent; border: 0; box-shadow: none; color: var(--deep-ink); }
  .dd::before { display: none; }
  .has-dd.open .dd { display: grid; }
  .dd-list, .dd-mega { width: auto; }
  .dd-mega { grid-template-columns: 1fr; }
  .dd-list a, .dd-item, .dd-list b, .dd-item b { color: var(--deep-ink); }
  .dd-list small, .dd-item small { color: var(--deep-muted); }
  .dd-list a:hover, .dd-item:hover { background: rgba(255, 255, 255, .06); }
  .dd-col h5 { color: var(--lime); }
  .dd-more { color: var(--lime); }
  .m-cta { display: block; margin-top: 18px; }
  .m-cta .btn { width: 100%; }
}
@media (max-width: 420px) { .brand-sub { display: none; } .logo-img { width: 44px; height: 44px; } .brand-name { font-size: 23px; } }

/* ---------- Bande déroulante ---------- */
.ticker { display: flex; height: 42px; overflow: hidden; background: linear-gradient(90deg, #2E9E44, #7BC043 60%, #93CF5A); color: #062012; font-size: 14px; font-weight: 500; }
.ticker-label { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 18px; background: #06203F; color: #fff; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.ticker-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.ticker-track { flex: 1; display: flex; align-items: center; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-move { display: flex; width: max-content; animation: tick 70s linear infinite; }
.ticker:hover .ticker-move, .ticker:focus-within .ticker-move { animation-play-state: paused; }
.ticker-move a { display: inline-flex; align-items: center; gap: 10px; padding: 0 30px; color: #062012; text-decoration: none; white-space: nowrap; }
.ticker-move a:hover { text-decoration: underline; }
.ticker-move a::before { content: ""; width: 5px; height: 5px; background: #06203F; opacity: .55; transform: rotate(45deg); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (max-width: 560px) { .ticker-label { padding: 0 12px; } .ticker-label span { display: none; } }

/* ---------- Zones sombres ---------- */
.deep { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(900px 480px at 85% -10%, rgba(63, 165, 53, .16), transparent 60%), radial-gradient(800px 500px at -10% 110%, rgba(40, 90, 200, .22), transparent 60%), linear-gradient(160deg, var(--deep-2), var(--deep)); color: var(--deep-ink); }
.deep .eyebrow { color: var(--lime); }
.deep .lead { color: var(--deep-muted); }
.deep h1, .deep h2 { color: #fff; }
.deep .serif { color: var(--lime); }
#net { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .32; pointer-events: none; }

/* ---------- Accueil ---------- */
.hero { padding-block: clamp(44px, 5.5vw, 76px) clamp(56px, 6.5vw, 92px); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (max-width: 1080px) { .hero-grid { grid-template-columns: 1fr; gap: 56px; } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 7px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); font-size: 13.5px; color: var(--deep-ink); }
.pill b { padding: 3px 9px; border-radius: 99px; background: var(--lime); color: #06203F; font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin-top: 22px; font-size: clamp(32px, 3.8vw, 50px); font-weight: 800; line-height: 1.04; letter-spacing: -.045em; }
.hero h1 .serif { font-size: 1.04em; }
.hero .lead { margin-top: 24px; }
.hero .btn-row { margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 36px; padding: 0; list-style: none; }
.trust li { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--deep-line); background: rgba(255, 255, 255, .03); font-size: 13.5px; color: var(--deep-ink); }

/* écrans illustratifs */
.stage { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 1080px) { .stage { min-height: 0; } }
.browser { width: 100%; max-width: 560px; overflow: hidden; border-radius: 18px; background: #0E2248; border: 1px solid rgba(255, 255, 255, .12); color: #E6EDF9; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); font-size: 12.5px; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.browser-bar span { flex: 1; max-width: 260px; margin-left: 10px; padding: 4px 12px; border-radius: 7px; background: rgba(0, 0, 0, .22); color: #8FA3C8; font-family: var(--f-mono); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub { display: grid; grid-template-columns: 120px 1fr; min-height: 320px; }
.hub-side { display: grid; align-content: start; gap: 4px; padding: 14px 10px; border-right: 1px solid rgba(255, 255, 255, .07); font-size: 12px; color: #9FB2D6; }
.hub-side div { padding: 7px 9px; border-radius: 8px; }
.hub-side .on { background: rgba(141, 203, 79, .14); color: #C8F09F; }
.hub-main, .mock-pad { display: grid; align-content: start; gap: 12px; padding: 16px; min-width: 0; }
.hub-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hub-kpis div { min-width: 0; overflow: hidden; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.hub-kpis small { display: block; font-size: 10.5px; color: #8FA3C8; }
.hub-kpis b { font-family: var(--f-display); font-size: 18px; font-variant-numeric: tabular-nums; }
.hub-chart { padding: 10px 10px 6px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.hub-chart small { font-size: 10.5px; color: #8FA3C8; }
.hub-chart svg { display: block; width: 100%; height: auto; }
.hub-list { display: grid; gap: 7px; }
.hub-list > div { display: grid; grid-template-columns: 24px 1fr 80px; gap: 8px; align-items: center; font-size: 12px; }
.av { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #06203F; font-size: 10px; font-weight: 700; }
.bar { height: 6px; overflow: hidden; border-radius: 9px; background: rgba(255, 255, 255, .1); }
.bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #5DB53C, #9BD65E); }
.bp-row { grid-template-columns: 16px 1fr 90px !important; }
.bp-dot { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.bp-dot.done { background: #5DB53C; }
.mock-title { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.mock-title b { font-family: var(--f-display); font-size: 15px; }
.mock-title span { font-family: var(--f-mono); font-size: 11px; color: #9BD65E; }
.table-x { overflow-x: auto; }
.mock-t { width: 100%; border-collapse: collapse; font-size: 12px; }
.mock-t th { padding: 6px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #8FA3C8; font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.mock-t td { padding: 8px; border-bottom: 1px solid rgba(255, 255, 255, .05); font-variant-numeric: tabular-nums; }
.mock-t .ok { color: #9BD65E; }
.mock-t .wait { color: #E3A064; }
.phone { position: absolute; left: -12px; bottom: -36px; width: 216px; padding: 9px; border-radius: 34px; background: linear-gradient(160deg, #1B2F57, #0A1734); box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(255, 255, 255, .1); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.phone-screen { overflow: hidden; border-radius: 26px; background: #F4F8F2; color: #0B1A33; font-size: 11.5px; }
.ph-top { padding: 18px 14px 16px; background: linear-gradient(150deg, #23843A, #5DB53C); color: #fff; }
.ph-top small { display: block; font-size: 10.5px; opacity: .88; }
.ph-top .ph-gap { margin-top: 8px; }
.ph-top b { display: block; margin-top: 2px; font-family: var(--f-display); font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ph-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 12px; font-weight: 700; }
.ph-prog { height: 5px; margin-top: 10px; overflow: hidden; border-radius: 9px; background: rgba(255, 255, 255, .3); }
.ph-prog i { display: block; width: 66%; height: 100%; border-radius: 9px; background: #fff; }
.ph-body { display: grid; gap: 7px; padding: 10px 12px 14px; }
.ph-tx { display: flex; justify-content: space-between; gap: 6px; padding: 7px 9px; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.ph-tx span:last-child { font-family: var(--f-mono); font-size: 10.5px; color: #23843A; white-space: nowrap; }
.ph-tx.out span:last-child { color: #B2622A; }
.ph-btn { margin-top: 4px; padding: 9px; border-radius: 10px; background: #0F3170; color: #fff; font-weight: 700; font-size: 11.5px; text-align: center; }
.float-card { position: absolute; right: -6px; top: 24px; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .97); color: #0B1A33; font-size: 12.5px; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7); animation: float 8s ease-in-out infinite reverse; }
.float-card .ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #E1F1DE; color: #23843A; }
.float-card .ic svg { width: 18px; height: 18px; }
.float-card b { display: block; font-family: var(--f-display); font-size: 14px; }
.mock-note { position: absolute; right: 4px; bottom: -32px; font-size: 11.5px; font-style: italic; color: var(--deep-muted); }
@media (max-width: 640px) {
  .stage { flex-direction: column; }
  .phone { position: relative; left: auto; bottom: auto; margin: -50px auto 0; }
  .float-card { display: none; }
  .hub { grid-template-columns: 1fr; }
  .hub-side { display: none; }
  .mock-note { position: static; margin-top: 12px; text-align: center; }
}
.screen { position: relative; display: grid; place-items: center; gap: 12px; min-height: 420px; padding: clamp(24px, 3vw, 40px); overflow: hidden; border-radius: 26px; background: radial-gradient(600px 300px at 80% 0%, rgba(63, 165, 53, .2), transparent 60%), linear-gradient(155deg, var(--deep-2), var(--deep)); }
.screen .phone { position: relative; left: auto; bottom: auto; margin: 0 auto; animation: none; }
.screen .mock-note { position: static; }
.screen > * { min-width: 0; max-width: 100%; }

/* pôles */
.poles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.poles .feature { grid-column: span 2; }
.poles-sm { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .poles-sm { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .poles { grid-template-columns: repeat(2, 1fr); } .poles .feature { grid-column: span 2; } }
@media (max-width: 560px) { .poles, .poles-sm { grid-template-columns: 1fr; } .poles .feature { grid-column: auto; } }
.poles > * { min-width: 0; }
.pole, .tool { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.pole:hover, .tool:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c, var(--navy)) 45%, var(--line)); }
.pole-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pole .mk, .tool .mk { width: 46px; height: 46px; border-radius: 13px; font-size: 17px; }
.pole h3, .tool h3 { font-size: 21px; letter-spacing: -.03em; }
.pole h3 a, .tool h3 a { color: inherit; text-decoration: none; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pole p, .tool p { color: var(--muted); font-size: 15.5px; }
.pole .link { margin-top: auto; color: var(--c, var(--navy)); }
.pole-sub { position: relative; z-index: 2; font-family: var(--f-mono); font-size: 12px; color: var(--c, var(--navy)); text-decoration: none; padding: 4px 9px; border-radius: 99px; background: color-mix(in srgb, var(--c, var(--navy)) 10%, transparent); white-space: nowrap; }
.pole-sub:hover { text-decoration: underline; }
.pole.feature { padding: 34px; background: radial-gradient(500px 260px at 100% 0%, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%), linear-gradient(155deg, var(--deep-2), var(--deep)); border-color: transparent; color: var(--deep-ink); }
.pole.feature h3 { font-size: clamp(24px, 2.4vw, 32px); color: #fff; }
.pole.feature p { color: var(--deep-muted); font-size: 16.5px; max-width: 46ch; }
.pole.feature .link { color: var(--lime); }
.pole.feature .pole-sub { color: var(--lime); background: rgba(141, 203, 79, .12); }
.poles-sm .pole { padding: 22px; }
.poles-sm .pole h3 { font-size: 20px; }
.poles-sm .pole-sub { display: none; }

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tools { grid-template-columns: 1fr; } }
.tools > * { min-width: 0; }
.tool-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.tool-foot .mono { color: var(--c, var(--navy)); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-live { background: #E1F1DE; color: #1E7A33; }
.st-soon { background: #F4E7DC; color: #9A531F; }
:root[data-theme="dark"] .st-live { background: #12301E; color: #7FD08A; }
:root[data-theme="dark"] .st-soon { background: #33241A; color: #E6A067; }

/* modèle social */
.social { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.social > * { min-width: 0; }
@media (max-width: 900px) { .social { grid-template-columns: 1fr; } }
.social > div { display: grid; gap: 18px; justify-items: start; }
.social h2 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.035em; }
.model, .bridge, .boite { list-style: none; padding: 0; }
.model { display: grid; gap: 12px; }
.model li, .bridge li, .boite li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 18px 20px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.bn { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--f-mono); font-size: 12px; font-weight: 500; }
:root[data-theme="dark"] .bn { color: #07183A; }
.model b, .bridge b, .boite b { display: block; margin-bottom: 2px; font-family: var(--f-display); font-size: 17px; }
.model span:not(.bn), .bridge span:not(.bn), .boite span:not(.bn) { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* cartes simples */
.fcard { display: grid; align-content: start; gap: 10px; padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.band .fcard { background: var(--bg); }
.fcard .ic, .svc .ic, .team-list .ic, .contact-list .ic, .notice .ic { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border-radius: 12px; background: #E4ECF8; color: var(--navy); }
:root[data-theme="dark"] .fcard .ic, :root[data-theme="dark"] .svc .ic, :root[data-theme="dark"] .contact-list .ic, :root[data-theme="dark"] .notice .ic { background: #152A4D; }
.fcard .ic svg, .svc .ic svg, .team-list .ic svg, .contact-list .ic svg, .notice .ic svg { width: 22px; height: 22px; }
.fcard h3 { font-size: 18px; letter-spacing: -.02em; }
.fcard p { font-size: 15.5px; color: var(--muted); }
.fcard .sub { color: var(--green); font-weight: 600; font-size: 14.5px; }
.fcard .tag { justify-self: start; }
.reveal { transform: translateY(14px); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { transform: none; }

/* ---------- En-tête des pages ---------- */
.page-head { padding-block: clamp(44px, 5.5vw, 76px) clamp(48px, 6vw, 80px); }
.page-head h1 { max-width: 22ch; margin: 14px 0 18px; font-size: clamp(30px, 4vw, 50px); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.page-head .btn-row { margin-top: 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 13.5px; color: var(--deep-muted); }
.crumbs a { color: var(--deep-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span::before { content: "/"; margin-right: 8px; opacity: .5; }
.sub-chip { display: inline-flex; margin-top: 20px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--deep-line); color: var(--lime); font-family: var(--f-mono); font-size: 13px; text-decoration: none; }
.sub-chip:hover { border-color: var(--lime); }

/* ---------- Pages des pôles ---------- */
.constats { display: grid; gap: 18px; padding: 0; list-style: none; }
.constats li { display: grid; gap: 4px; padding-left: 16px; border-left: 3px solid var(--copper); }
.constats b { font-family: var(--f-display); font-size: 17px; }
.constats span { font-size: 15px; color: var(--muted); }
.definition { margin-top: 26px; padding: 20px 22px; border-radius: var(--r); background: #E6F2E3; }
:root[data-theme="dark"] .definition { background: #12301E; }
.definition b { display: block; margin-bottom: 6px; font-family: var(--f-display); font-size: 17px; color: var(--green); }
.definition p { font-size: 15.5px; }
.parcours { position: relative; display: grid; gap: 12px; padding: 0; list-style: none; }
.parcours li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 22px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.band .parcours li { background: var(--bg); }
.pn { font-family: var(--f-mono); font-size: 13px; color: var(--green); padding-top: 3px; }
.parcours h3 { margin-bottom: 6px; font-size: 19px; letter-spacing: -.02em; }
.parcours p { font-size: 15.5px; color: var(--muted); }
.parcours .resultat { margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--green-2); color: var(--ink); font-weight: 500; }
@media (max-width: 560px) { .parcours li { grid-template-columns: 1fr; gap: 6px; } }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
table.compare { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
table.compare th, table.compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare thead th { background: var(--surface-2); color: var(--muted); font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
table.compare tbody th { width: 28%; font-weight: 600; }
table.compare td { color: var(--muted); }
table.compare td.ok { color: var(--ink); font-weight: 600; }
table.compare tbody tr:last-child > * { border-bottom: 0; }
.bridge { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .bridge { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bridge { grid-template-columns: 1fr; } }
.bridge .bn { background: var(--green-2); }
.projet { display: grid; gap: 16px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); }
.projet h2 { max-width: 24ch; font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.03em; }
.projet .etat { padding-left: 14px; border-left: 2px solid var(--lime); color: var(--lime); font-family: var(--f-mono); font-size: 13px; }
.publics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.publics b { margin-right: 6px; font-family: var(--f-display); }
.publics span { padding: 6px 12px; border-radius: 99px; background: var(--surface-2); font-size: 14px; }
.boite { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 760px) { .boite { grid-template-columns: 1fr; } }
.boite li { padding: 14px 18px; }
.band .boite li { background: var(--bg); }
.boite .bn { width: auto; height: auto; padding-top: 2px; background: none; color: var(--green); font-size: 13px; }
.notice { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-top: 30px; padding: 24px 26px; border-radius: var(--r-lg); background: #E6F2E3; }
:root[data-theme="dark"] .notice { background: #12301E; }
.notice b { display: block; font-family: var(--f-display); font-size: 19px; }
.notice p { font-size: 15px; color: var(--muted); }
.notice .ic { background: var(--surface); color: var(--green); }
.notice-btns { display: grid; gap: 8px; }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; } }
[id="boite"] { scroll-margin-top: 110px; }

/* ---------- Approche ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; list-style: none; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.steps li { display: grid; align-content: start; gap: 8px; padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.steps h3 { font-size: 20px; }
.steps p { font-size: 15.5px; color: var(--muted); }
.steps .why { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14.5px; }
.steps .why b { display: block; margin-bottom: 4px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }

/* ---------- Outils ---------- */
.outil-rows { display: grid; gap: clamp(48px, 6vw, 80px); }
.outil-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; scroll-margin-top: 140px; }
.outil-row > * { min-width: 0; }
.outil-row.flip .outil-txt { order: 2; }
@media (max-width: 900px) { .outil-row { grid-template-columns: 1fr; } .outil-row.flip .outil-txt { order: 0; } }
.outil-txt { display: grid; gap: 16px; justify-items: start; }
.outil-txt h2 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -.035em; }
.outil-txt .pole-top { gap: 14px; }
.checks { display: grid; gap: 8px; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 28px; font-size: 15.5px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #E1F1DE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323843A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.svc { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 140px; }
.svc > * { min-width: 0; }
.svc h2 { margin-bottom: 10px; font-size: 21px; letter-spacing: -.025em; }
.svc p { margin-bottom: 14px; font-size: 15.5px; color: var(--muted); }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } }

/* ---------- À propos ---------- */
.quote { margin-top: 18px; font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; line-height: 1.16; letter-spacing: -.03em; color: var(--navy); }
.prose-sm { display: grid; gap: 16px; }
.prose-sm p { color: var(--muted); }
.note { margin-top: 22px; font-style: italic; color: var(--muted); }
.value { padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.value small { display: block; margin-bottom: 6px; font-family: var(--f-serif); font-size: 22px; font-style: italic; color: var(--copper); }
.value h3 { margin-bottom: 8px; font-size: 19px; }
.value p { font-size: 15px; color: var(--muted); }
.team-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: var(--r-lg); }
.team-band > * { min-width: 0; }
.team-band > div { display: grid; gap: 18px; justify-items: start; }
.team-band h2 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.035em; }
@media (max-width: 900px) { .team-band { grid-template-columns: 1fr; } }
.team-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.team-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--deep-line); background: rgba(255, 255, 255, .04); }
.team-list .ic { width: 38px; height: 38px; background: rgba(141, 203, 79, .14); color: var(--lime); }
.team-list b { display: block; font-family: var(--f-display); font-size: 16.5px; color: #fff; }
.team-list span { font-size: 14.5px; color: var(--deep-muted); }
.odd { display: flex; flex-wrap: wrap; gap: 10px; }
.odd span { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-size: 14.5px; font-weight: 600; }
.odd b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: #fff; font-family: var(--f-display); font-size: 14px; }
.faq { display: grid; gap: 10px; }
.faq details { padding: 4px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-family: var(--f-display); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; line-height: 1; color: var(--green); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; font-size: 15.5px; color: var(--muted); }
[id="modele"], [id="faq"] { scroll-margin-top: 110px; }

/* ---------- Listes : formations, offres, admin ---------- */
.list-rows { display: grid; gap: 14px; }
.row-card { display: grid; grid-template-columns: 100px 1fr auto; gap: 24px; align-items: center; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.band .row-card { background: var(--bg); }
.row-card.two-cols { grid-template-columns: 1fr auto; align-items: start; }
.row-card.done { opacity: .65; }
.row-card > * { min-width: 0; }
@media (max-width: 760px) { .row-card, .row-card.two-cols { grid-template-columns: 1fr; gap: 14px; } }
.row-card h3 { margin: 6px 0 8px; font-size: 19px; letter-spacing: -.02em; }
.datebox { padding: 12px 8px; border-radius: 14px; background: #E4ECF8; color: var(--navy); font-family: var(--f-display); text-align: center; }
:root[data-theme="dark"] .datebox { background: #152A4D; }
.datebox b { display: block; font-variant-numeric: tabular-nums; font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.datebox span { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 760px) { .datebox { display: flex; gap: 10px; align-items: baseline; width: max-content; padding: 8px 14px; } .datebox b { font-size: 24px; } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; padding: 4px 9px; border-radius: 99px; background: var(--surface-2); color: var(--ink); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.tag-navy { background: var(--navy); color: #fff; }
:root[data-theme="dark"] .tag-navy { color: #07183A; }
.tag-ok { background: #E1F1DE; color: #1E7A33; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.meta-line span { display: inline-flex; align-items: center; gap: 6px; }
.meta-line svg { width: 15px; height: 15px; color: var(--green); }
.meta-line.on-deep { margin-top: 4px; color: var(--deep-muted); }
.meta-line.on-deep svg { color: var(--lime); }
.more-info { margin-top: 12px; }
.more-info summary { cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.more-info ul { margin-top: 10px; padding-left: 1.2em; color: var(--muted); font-size: 15px; }
.job-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 14px; }
.job-detail h4 { margin-bottom: 6px; font-size: 16px; }
@media (max-width: 760px) { .job-detail { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 8px; }
.empty { display: grid; justify-items: center; gap: 10px; padding: 48px 24px; border-radius: var(--r-lg); border: 1px dashed var(--line); background: var(--surface); text-align: center; }
.empty b { font-family: var(--f-display); font-size: 19px; }
.empty p { max-width: 52ch; color: var(--muted); }
.empty .btn { margin-top: 8px; }

/* ---------- Actualités ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }
.news-grid > * { min-width: 0; }
.card-news { display: grid; gap: 12px; color: inherit; text-decoration: none; }
.cover { aspect-ratio: 16 / 10; display: flex; align-items: flex-end; padding: 16px; border-radius: var(--r); color: #fff; }
.cover .cat { padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .18); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.card-news h3 { font-size: 19px; line-height: 1.22; transition: color .15s; }
.card-news:hover h3 { color: var(--navy); }
.card-news .date { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.card-news p { font-size: 15px; color: var(--muted); }
.article .prose p { margin-bottom: 1.15em; font-size: 17.5px; line-height: 1.75; }
.article .prose h3 { margin: 1.6em 0 .6em; font-size: 23px; }
.article .prose ul { margin-bottom: 1.15em; padding-left: 1.2em; }
.article .prose li { margin-bottom: .45em; font-size: 17.5px; }
.article .chapo { font-size: 19.5px !important; font-weight: 600; line-height: 1.55 !important; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Formulaires, contact ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form.one { grid-template-columns: 1fr; }
.form .full { grid-column: 1 / -1; }
.form > * { min-width: 0; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 7px; font-size: 14.5px; font-weight: 600; }
.form label.check { display: flex; align-items: center; gap: 10px; }
.form label.check input { width: auto; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: 400 15.5px var(--f-body); transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 22%, transparent); }
.form textarea { min-height: 140px; resize: vertical; }
.form-err { padding: 12px 14px; border-radius: 12px; background: #FDECE3; color: #9A3412; font-size: 14.5px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.contact-list li > span { min-width: 0; overflow-wrap: anywhere; }
.contact-list small { display: block; font-size: 13px; color: var(--muted); }
.contact-list b { font-weight: 600; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.sent { display: grid; gap: 8px; padding: 22px; border-radius: var(--r); background: #E6F2E3; }
:root[data-theme="dark"] .sent { background: #12301E; }
.sent b { font-family: var(--f-display); font-size: 19px; }
.sent .btn-row { margin-top: 8px; }
.legal-page { display: grid; gap: 14px; }
.legal-page h2 { margin-top: 18px; font-size: 24px; }
.legal-page p, .legal-page li { color: var(--muted); }
dl.legal { display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; margin: 0; align-items: baseline; }
dl.legal dt { color: var(--muted); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
dl.legal dd { margin: 0; }
@media (max-width: 520px) { dl.legal { grid-template-columns: 1fr; gap: 2px; } dl.legal dd { margin-bottom: 10px; } }

/* ---------- Appel final, pied de page ---------- */
.final { display: grid; justify-items: center; gap: 16px; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg); text-align: center; }
.final h2 { max-width: 22ch; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.04em; }
.final p { max-width: 56ch; color: var(--deep-muted); }
.final .btn-row { justify-content: center; margin-top: 6px; }
.site-footer { padding-block: 64px 28px; background: var(--deep); color: var(--deep-ink); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1.1fr .9fr 1.3fr; gap: 36px; }
.foot-grid > * { min-width: 0; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand .logo-img { width: 64px; height: 64px; }
.foot-brand p { max-width: 36ch; color: var(--deep-muted); font-size: 15px; }
.site-footer h4 { margin-bottom: 16px; color: var(--deep-muted); font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.site-footer .h4-gap { margin-top: 26px; }
.site-footer ul { display: grid; gap: 10px; padding: 0; list-style: none; font-size: 15px; }
.site-footer li { display: grid; gap: 1px; }
.site-footer a { color: var(--deep-ink); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.foot-sub { font-family: var(--f-mono); font-size: 11.5px; color: var(--deep-muted) !important; }
.news-form { display: flex; flex-wrap: wrap; gap: 8px; }
.news-form input { flex: 1 1 170px; min-width: 0; padding: 11px 16px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font: 15px var(--f-body); }
.news-form input::placeholder { color: var(--deep-muted); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--deep-line); color: var(--deep-muted); font-size: 13.5px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-bottom a { color: var(--deep-muted); }

/* ---------- Éléments flottants ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 100; max-width: calc(100% - 32px); padding: 13px 22px; border-radius: 14px; background: var(--ink); color: var(--bg); font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
.to-top { position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 59; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }
main { min-height: 60vh; }
.fade { animation: fade .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes fade { from { opacity: .35; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Assistant ---------- */
.chat-fab { position: fixed; right: 20px; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); z-index: 61; display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px 12px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 15px var(--f-display); box-shadow: var(--shadow); cursor: pointer; transition: transform .2s; }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab svg { width: 19px; height: 19px; color: var(--green); }
@media (max-width: 560px) { .chat-fab span { display: none; } .chat-fab { padding: 14px; } }
.chat { position: fixed; right: 20px; bottom: calc(150px + env(safe-area-inset-bottom, 0px)); z-index: 62; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 220px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); animation: chatIn .25s cubic-bezier(.2, .7, .2, 1); }
@media (max-width: 560px) { .chat { right: 16px; } }
@keyframes chatIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: var(--deep); color: var(--deep-ink); }
.chat-id { display: flex; align-items: center; gap: 9px; font: 600 15.5px var(--f-display); }
.chat-id .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(141, 203, 79, .18); }
.chat-x { padding: 0 4px; border: 0; background: none; color: var(--deep-muted); font-size: 24px; line-height: 1; cursor: pointer; }
.chat-x:hover { color: #fff; }
.chat-log { flex: 1; display: grid; align-content: start; gap: 12px; overflow-y: auto; padding: 16px; background: var(--bg); }
.msg { max-width: 92%; padding: 12px 14px; border-radius: 16px; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.msg.bot { border: 1px solid var(--line); border-bottom-left-radius: 6px; background: var(--surface); }
.msg.me { justify-self: end; border-bottom-right-radius: 6px; background: var(--navy); color: #fff; }
:root[data-theme="dark"] .msg.me { color: #07183A; }
.msg b { font-family: var(--f-display); font-size: 16px; }
.msg p { margin-top: 6px; color: var(--muted); }
.chat-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chat-more { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.chat-sugg { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-sugg button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 500 13.5px var(--f-body); cursor: pointer; }
.chat-sugg button:hover { border-color: var(--green); color: var(--green); }
.chat-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-form input { flex: 1; min-width: 0; padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font: 15px var(--f-body); }
.chat-form input:focus { outline: none; border-color: var(--green-2); }
.chat-form button { padding: 11px 14px; }

/* ---------- Espace équipe ---------- */
.admin-head { padding-block: 44px 48px; }
.admin-head h1 { margin: 12px 0 14px; font-size: clamp(28px, 3vw, 38px); }
.login { max-width: 460px; margin: 0 auto; display: grid; gap: 14px; }
.admin-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 28px; }
.admin-user { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 14px var(--f-body); cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
:root[data-theme="dark"] .chip[aria-pressed="true"] { color: #07183A; }
.admin-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
@media (max-width: 860px) { .admin-kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .admin-kpis { grid-template-columns: 1fr; } }
.kpi-card { display: grid; gap: 4px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.kpi-card:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.kpi-card span { font-size: 14.5px; color: var(--muted); }
.kpi-card b { font-variant-numeric: tabular-nums; font-family: var(--f-display); font-size: 34px; letter-spacing: -.03em; line-height: 1.05; }
.kpi-card small { font-size: 13px; color: var(--muted); }
.admin-help { display: grid; gap: 12px; }
.admin-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.admin-intro { margin-bottom: 18px; }
.admin-form { margin-bottom: 24px; }
.admin-form h3 { margin-bottom: 18px; font-size: 22px; }
.msg-txt { margin-top: 10px; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.seg { display: inline-flex; padding: 3px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface-2); }
.seg button { padding: 7px 15px; border: 0; border-radius: 99px; background: transparent; color: var(--muted); font: 600 14px var(--f-body); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Impression ---------- */
@media print {
  .site-header, .ticker, .site-footer, .wa-float, .to-top, .chat-fab, .chat, .progress-top, #net { display: none !important; }
  .deep { background: none !important; color: #000 !important; }
  .deep h1, .deep h2, .deep .lead { color: #000 !important; }
  body { background: #fff; }
}
.admin-table { min-width: 0; }
.admin-table td { overflow-wrap: anywhere; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
.projet > * { min-width: 0; }
.projet .appel { margin-top: 6px; color: #fff; font-family: var(--f-display); font-size: 18px; font-weight: 600; }
.btn { max-width: 100%; }
.menu > li.m-cta > a.btn { justify-content: center; background: var(--lime); color: #06203F; border-radius: 999px; font-family: var(--f-display); font-size: 16px; }
body.menu-open .wa-float, body.menu-open .chat-fab, body.menu-open .chat, body.menu-open .to-top { display: none; }

/* ---------- Finitions sur petit écran (en dernier pour primer) ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .poles, .tools, .list-rows, .model, .faq { gap: 12px; }
  .pole, .tool, .fcard, .steps li, .value, .svc, .panel { padding: 22px; }
  .pole.feature { padding: 26px; }
  .parcours li, .row-card { padding: 20px; }
  .sec-head { margin-bottom: 28px; }
  .fcard p, .pole p, .tool p, .parcours p, .steps p, .constats span, .boite span { hyphens: auto; -webkit-hyphens: auto; }
}
@media (max-width: 480px) { .btn-row > .btn { flex: 1 1 auto; } }

/* ---------- Circulation des fonds (Ubora Fin) ---------- */
.suite { margin-top: 22px; }
.gains { margin-top: 18px; }
.flux { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.flux span { padding: 8px 14px; border-radius: 999px; background: var(--surface-2); font-family: var(--f-display); font-size: 15px; font-weight: 600; }
.flux span.on { background: #1D5FB8; color: #fff; }
.flux i { display: grid; place-items: center; color: var(--muted); }
.flux i svg { width: 18px; height: 18px; }
@media (max-width: 600px) { .flux { flex-direction: column; align-items: stretch; text-align: center; } .flux i svg { transform: rotate(90deg); margin: 0 auto; } }

/* ---------- Équipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .team-grid { grid-template-columns: 1fr; } }
.team-grid > * { min-width: 0; }
.member { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.member-photo { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface-2); }
.member-ini { display: grid; place-items: center; background: linear-gradient(155deg, var(--deep-2), var(--deep)); color: var(--lime); font: 700 44px var(--f-display); letter-spacing: -.02em; }
.member-txt { display: grid; gap: 6px; padding: 18px 20px 22px; }
.member-txt h3 { font-size: 18px; letter-spacing: -.02em; }
.member-txt .sub { color: var(--green); font-weight: 600; font-size: 14.5px; }
.member-txt p:not(.sub) { font-size: 14.5px; color: var(--muted); }
.member-txt .link { margin-top: 4px; font-size: 14px; }

/* ---------- Réalisations ---------- */
.real-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .real-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .real-grid { grid-template-columns: 1fr; } }
.real-grid > * { min-width: 0; }
.real { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.band .real { background: var(--bg); }
.real-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.real-cover { display: grid; place-items: center; background: radial-gradient(320px 160px at 100% 0%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%), linear-gradient(155deg, var(--deep-2), var(--deep)); }
.real-cover .mk { width: 56px; height: 56px; border-radius: 16px; background: var(--c); font-size: 20px; }
.real-txt { display: grid; gap: 10px; padding: 20px 22px 24px; }
.real-txt h3 { font-size: 19px; letter-spacing: -.02em; }
.real-txt p { font-size: 15px; color: var(--muted); }
.real-txt .checks li { font-size: 14.5px; }
.real .tags a.tag { text-decoration: none; }
.filtres { margin-bottom: 24px; }
a.chip { display: inline-block; text-decoration: none; }
.chip[aria-current="page"] { border-color: var(--navy); background: var(--navy); color: #fff; }
:root[data-theme="dark"] .chip[aria-current="page"] { color: #07183A; }

/* ---------- Espace équipe : photos ---------- */
.form .lbl { display: block; margin-bottom: 7px; font-size: 14.5px; font-weight: 600; }
.apercu { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.apercu img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--surface-2); }
.apercu input[type=file] { width: auto; flex: 1 1 220px; }
.admin-kpis { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .admin-kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .admin-kpis { grid-template-columns: 1fr; } }
