/* IB Forum — design FLUX « écosystème vivant » (accueil) */
:root {
  --bg: #070608; --bg-2: #0e0c14; --ink: #f4f1ff; --dim: rgba(244,241,255,.62); --dim-2: rgba(244,241,255,.42);
  --mag: #ff2e88; --cy: #00e5ff; --lim: #c6ff00; --sun: #ffb21a; --vio: #b9a8ff; --mint: #3dffb0;
  --glass: rgba(244,241,255,.06); --glass-2: rgba(244,241,255,.1); --line: rgba(244,241,255,.12); --line-2: rgba(244,241,255,.22);
  --f: 'Syne', system-ui, sans-serif; --b: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1); --spring: cubic-bezier(.34,1.56,.64,1); --snap: cubic-bezier(.77,0,.18,1);
  --pad: clamp(1rem, 3.2vw, 2.6rem); --vh: 1vh;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg); }
body { font-family: var(--b); background: var(--bg); color: var(--ink); line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.locked { position: fixed; left: 0; right: 0; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
code { font-family: ui-monospace, monospace; font-size: .9em; background: var(--glass-2); padding: .1em .4em; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--lim); outline-offset: 3px; border-radius: 6px; }
.defs { position: absolute; width: 0; height: 0; }
em { font-style: normal; }

/* ---------- Fond vivant ---------- */
#fluid { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .08; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='2'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); animation: grain 1.4s steps(4) infinite; }
@keyframes grain { 25% { background-position: 37px -21px; } 50% { background-position: -23px 41px; } 75% { background-position: 19px 27px; } }
#scroll-prog { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 90; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--mag), var(--sun), var(--lim), var(--cy)); pointer-events: none; }
@keyframes morph { 0%, 100% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; } 33% { border-radius: 62% 38% 46% 54% / 41% 58% 42% 59%; } 66% { border-radius: 38% 62% 58% 42% / 60% 37% 63% 40%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@property --r { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes hue { to { --r: 360deg; } }

/* ---------- En-tête ---------- */
.top { position: fixed; left: 0; right: 0; top: 0; z-index: 60; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: calc(.9rem + env(safe-area-inset-top)) var(--pad) .9rem; transition: transform .5s var(--ease), background .4s, backdrop-filter .4s; }
.top.scrolled { background: rgba(7,6,8,.55); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.top.hide { transform: translateY(-110%); }
.mark { font-family: var(--f); font-weight: 800; font-size: 1.35rem; letter-spacing: -.04em; display: inline-flex; align-items: center; gap: .5rem; }
.mark i { width: 26px; height: 26px; background: conic-gradient(from var(--r), var(--lim), var(--cy), var(--mag), var(--sun), var(--lim)); display: block; animation: morph 6s ease-in-out infinite, hue 8s linear infinite; }
.mark.sm { font-size: 1rem; } .mark.sm i { width: 18px; height: 18px; }
.main-nav { display: flex; gap: 1.5rem; font-weight: 700; font-size: .88rem; }
.main-nav a { position: relative; padding: .3rem 0; opacity: .85; transition: opacity .2s; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--lim); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--snap); }
.main-nav a:hover, .main-nav a.current { opacity: 1; }
.main-nav a:hover::after, .main-nav a.current::after { transform: scaleX(1); transform-origin: left; }
.top-r { display: flex; align-items: center; gap: .6rem; }
.top-link { font-weight: 800; font-size: .86rem; padding: .62rem 1.1rem; border-radius: 100px; background: var(--ink); color: var(--bg); transition: transform .4s var(--spring); }
.top-link:hover { transform: scale(1.05); }
.menu-btn { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--glass-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 26px; }
body.menu-open .menu-btn span:first-child { top: 22px; transform: rotate(45deg); }
body.menu-open .menu-btn span:last-child { top: 22px; transform: rotate(-45deg); }
#menu-overlay { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between; padding: calc(5.5rem + env(safe-area-inset-top)) var(--pad) calc(1.6rem + env(safe-area-inset-bottom)); background: rgba(7,6,8,.86); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); clip-path: circle(0 at calc(100% - 3rem) 2.6rem); visibility: hidden; transition: clip-path .7s var(--snap), visibility 0s .7s; overflow-y: auto; }
body.menu-open #menu-overlay { clip-path: circle(150% at calc(100% - 3rem) 2.6rem); visibility: visible; transition: clip-path .7s var(--snap); }
.menu-list { display: grid; gap: .1rem; }
.menu-list a { font-family: var(--f); font-weight: 800; font-size: clamp(1.7rem, 7vw, 2.6rem); letter-spacing: -.04em; line-height: 1.15; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease), color .2s; }
.menu-list a:hover { color: var(--c); }
body.menu-open .menu-list a { opacity: 1; transform: none; }
body.menu-open .menu-list a:nth-child(n) { transition-delay: calc(.04s * var(--n, 1)); }
.menu-foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--dim); margin-top: 2rem; }

/* ---------- Hero ---------- */
.hero { min-height: calc(var(--vh) * 100); display: grid; align-content: end; padding: calc(6.5rem + env(safe-area-inset-top)) var(--pad) 3rem; position: relative; overflow-x: clip; }
.eyebrow { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; font-size: .82rem; font-weight: 700; margin-bottom: 1.4rem; }
.eyebrow b { display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .85rem; border-radius: 100px; background: var(--glass-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.eyebrow b::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lim); box-shadow: 0 0 12px var(--lim); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.giant { font-family: var(--f); font-weight: 400; font-size: clamp(3rem, 10.6vw, 13rem); line-height: .86; letter-spacing: -.055em; text-transform: uppercase; user-select: none; }
.giant .ln { display: block; white-space: nowrap; }
.giant .ch { display: inline-block; transition: color .3s; }
.giant .ch.hot { color: var(--lim); }
.giant .out .ch, .giant .out { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.giant .dot { color: var(--lim); }
.giant .ln { opacity: 0; transform: translateY(40px); animation: lnIn 1.1s var(--ease) forwards; }
.giant .ln:nth-child(2) { animation-delay: .12s; } .giant .ln:nth-child(3) { animation-delay: .24s; }
@keyframes lnIn { to { opacity: 1; transform: none; } }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 2rem 3rem; align-items: end; margin-top: 2.2rem; }
.hero-foot > p { max-width: 460px; font-size: 1.08rem; color: var(--dim); }
.kpis { list-style: none; display: flex; gap: 2rem; }
.kpis li { display: grid; }
.kpis b { font-family: var(--f); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpis li:nth-child(1) b { color: var(--lim); } .kpis li:nth-child(2) b { color: var(--mag); } .kpis li:nth-child(3) b { color: var(--cy); }
.kpis span { font-size: .76rem; font-weight: 600; color: var(--dim); }
.blob-btn { position: relative; display: grid; place-items: center; width: 168px; height: 168px; font-family: var(--f); font-weight: 800; font-size: 1rem; text-align: center; line-height: 1.05; color: var(--bg); isolation: isolate; }
.blob-btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: conic-gradient(from var(--r), var(--lim), var(--cy), var(--mag), var(--sun), var(--lim)); animation: morph 5s ease-in-out infinite, hue 6s linear infinite; transition: transform .5s var(--spring); }
.blob-btn:hover::before { transform: scale(1.12) rotate(20deg); }
.blob-btn::after { content: ''; position: absolute; inset: -14px; z-index: -2; border: 1.5px dashed rgba(244,241,255,.35); border-radius: 50%; animation: spin 18s linear infinite; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.2rem; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line-2); border-radius: 100px; }
.scroll-cue i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
.sec { position: relative; overflow-x: clip; padding: clamp(4.5rem, 10vw, 7.5rem) var(--pad); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.2rem 3rem; margin-bottom: 2.4rem; }
.sec-t { font-family: var(--f); font-weight: 700; font-size: clamp(2.3rem, 6.4vw, 5.6rem); line-height: .9; letter-spacing: -.045em; max-width: 920px; }
.sec-t.sm { font-size: clamp(2rem, 4.6vw, 4rem); }
.sec-t em { background: linear-gradient(90deg, var(--mag), var(--sun), var(--lim), var(--cy), var(--mag)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 9s linear infinite; }
@keyframes flow { to { background-position: 300% 0; } }
.sec-p { color: var(--dim); max-width: 470px; font-size: 1.04rem; }
.sec-p b { color: var(--ink); }
.tag { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .74rem; letter-spacing: .04em; padding: .42rem .85rem; border-radius: 100px; background: var(--glass-2); }
.ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; min-height: 50px; padding: .85rem 1.45rem; border-radius: 100px; font-weight: 800; font-size: .92rem; border: 1.5px solid var(--line-2); transition: transform .45s var(--spring), background .3s, color .3s, border-color .3s; white-space: nowrap; }
.pill svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.pill:hover { transform: scale(1.05); border-color: var(--ink); }
.pill:active { transform: scale(.97); }
.pill.p { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.link-more { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.6rem; font-weight: 800; border-bottom: 2px solid var(--lim); padding-bottom: .2rem; }
.link-more svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; transition: transform .3s var(--spring); }
.link-more:hover svg { transform: translate(3px, -3px); }

/* Révélations */
.rv { opacity: 0; transform: translateY(46px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- IBF TV ---------- */
.tv-stage { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 1.6rem; align-items: center; }
.tv-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 34px; overflow: hidden; background: #000; isolation: isolate; box-shadow: 0 40px 120px -40px var(--glow, var(--mag)); transition: box-shadow 1s; }
.tv-screen::before { content: ''; position: absolute; inset: -2px; z-index: 3; border-radius: inherit; padding: 2px; pointer-events: none; background: conic-gradient(from var(--r), var(--lim), var(--cy), var(--mag), var(--sun), var(--lim)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hue 6s linear infinite; }
.tv-skel { position: absolute; inset: 0; background: linear-gradient(100deg, #111 30%, #1d1a26 50%, #111 70%); background-size: 200% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
.tv-facade { position: absolute; inset: 0; width: 100%; height: 100%; color: #fff; text-align: left; }
.tv-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); animation: kb 18s ease-in-out infinite alternate; }
@keyframes kb { to { transform: scale(1.08) translate(-1.5%, 1%); } }
.tv-facade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,6,8,.85)); }
.tv-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 104px; height: 104px; margin: -52px; display: grid; place-items: center; background: var(--lim); color: var(--bg); animation: morph 4s ease-in-out infinite, pulse 2s infinite; transition: transform .4s var(--spring); }
.tv-play svg { width: 34px; height: 34px; margin-left: 5px; fill: currentColor; }
.tv-facade:hover .tv-play { transform: scale(1.12); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198,255,0,.55); } 100% { box-shadow: 0 0 0 34px rgba(198,255,0,0); } }
.tv-live { position: absolute; left: 1.1rem; top: 1.1rem; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .72rem; letter-spacing: .06em; padding: .38rem .75rem; border-radius: 100px; background: var(--mag); color: #fff; }
.tv-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
.tv-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.tv-info { display: grid; gap: .9rem; align-content: center; }
.tv-info .tag { width: fit-content; }
.tv-info h3 { font-family: var(--f); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1; letter-spacing: -.035em; }
.tv-info p { color: var(--dim); font-size: .92rem; }
.tv-info .tv-acts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.tv-info .tv-acts .pill { min-height: 44px; padding: .65rem 1.1rem; font-size: .84rem; }
.tv-nav { display: flex; gap: .5rem; }
.tv-nav button { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background .2s, color .2s, transform .3s var(--spring); }
.tv-nav button:hover { background: var(--ink); color: var(--bg); transform: scale(1.08); }
.tv-nav svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.tv-filter { display: flex; gap: .4rem; margin: 2rem 0 1rem; }
.tv-filter button { padding: .55rem 1.1rem; border-radius: 100px; font-weight: 800; font-size: .84rem; background: var(--glass); border: 1px solid var(--line); transition: background .3s, color .3s; }
.tv-filter button.on { background: var(--ink); color: var(--bg); }
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 22vw, 300px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem 0 1rem; margin: 0 calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); scroll-padding: 0 var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.reel::-webkit-scrollbar { display: none; }
.clip { scroll-snap-align: start; display: grid; gap: .55rem; text-align: left; color: var(--ink); }
.clip-th { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 22px; background: #111; transition: border-radius .6s var(--ease), transform .5s var(--spring); }
.clip-th img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.clip:hover .clip-th { border-radius: 42% 58% 46% 54% / 44% 46% 54% 56%; transform: translateY(-6px); }
.clip:hover .clip-th img { transform: scale(1.1); }
.clip.on .clip-th { outline: 3px solid var(--lim); outline-offset: 3px; }
.clip-th i { position: absolute; right: .6rem; bottom: .6rem; width: 40px; height: 40px; border-radius: 50%; background: rgba(7,6,8,.7); display: grid; place-items: center; }
.clip-th i svg { width: 14px; height: 14px; margin-left: 2px; fill: #fff; }
.clip-th .src { position: absolute; left: .6rem; top: .6rem; font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: .22rem .55rem; border-radius: 100px; background: var(--lim); color: var(--bg); }
.clip-th .src.pr { background: var(--vio); }
.clip b { font-size: .9rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clip small { font-size: .74rem; color: var(--dim); }

/* ---------- Vision ---------- */
.vision { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.v-photo { position: relative; }
.v-mask { aspect-ratio: 1; overflow: hidden; animation: morph 12s ease-in-out infinite; box-shadow: 0 50px 120px -40px var(--sun); }
.v-mask img { width: 100%; height: 100%; object-fit: cover; }
.v-photo figcaption { position: absolute; left: 6%; bottom: 4%; display: grid; padding: .8rem 1.1rem; border-radius: 22px; background: rgba(7,6,8,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.v-photo figcaption b { font-family: var(--f); font-size: .95rem; }
.v-photo figcaption span { font-size: .76rem; color: var(--dim); }
.v-copy { display: grid; gap: 1.4rem; justify-items: start; }
.v-copy blockquote { font-family: var(--f); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.9rem); line-height: 1.04; letter-spacing: -.035em; }
.v-copy p { color: var(--dim); max-width: 560px; }
.v-copy p b { color: var(--ink); }

/* ---------- Industry Map vivante (boîte de Petri) ---------- */
.petri { position: relative; height: min(76vh, 700px); border-radius: 48px; overflow: hidden; background: rgba(7,6,8,.42); border: 1px solid var(--line); }
.petri .goo { position: absolute; inset: 0; filter: url(#goo); opacity: .9; }
.cell { position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; background: var(--c); will-change: transform; }
.cells { position: absolute; inset: 0; }
.cells button { position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; overflow: hidden; will-change: transform; background: var(--c); animation: morph 7s ease-in-out infinite; animation-delay: var(--d); }
.cells img { width: 100%; height: 100%; object-fit: cover; opacity: .94; transition: transform .6s var(--ease); }
.cells button:hover img { transform: scale(1.15); }
.cells button .nm { position: absolute; inset: 0; display: grid; place-items: center; padding: .4rem; text-align: center; font-family: var(--f); font-weight: 800; font-size: .62rem; line-height: 1.05; color: var(--bg); }
.cells button::after { content: attr(data-l); position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); white-space: nowrap; font-family: var(--f); font-weight: 800; font-size: .7rem; padding: .25rem .55rem; border-radius: 100px; background: rgba(7,6,8,.82); opacity: 0; transition: opacity .25s; pointer-events: none; }
.cells button:hover::after, .cells button:focus-visible::after { opacity: 1; }
.petri-cap { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1rem; z-index: 3; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .76rem; font-weight: 600; color: var(--dim); pointer-events: none; }
.petri-cap li { display: flex; align-items: center; gap: .4rem; }
.petri-cap b { color: var(--ink); }
.petri-cap i { width: 10px; height: 10px; border-radius: 50%; }
.st-operationnelle { background: var(--lim); } .st-relance { background: var(--cy); } .st-construction { background: var(--mag); } .st-projet { background: var(--sun); } .st-ecosysteme { background: var(--vio); }

/* ---------- Dimensions ---------- */
.dims { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.dim { position: relative; min-width: 0; aspect-ratio: 3 / 4; padding: 1.3rem; display: flex; flex-direction: column; justify-content: space-between; text-align: left; color: var(--bg); isolation: isolate; transition: transform .6s var(--spring); }
.dim::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--c); animation: morph 9s ease-in-out infinite; animation-delay: var(--d); }
.dim:hover { transform: translateY(-14px) rotate(-2deg); }
.dim-n { font-family: var(--f); font-weight: 800; font-size: 3rem; line-height: 1; color: rgba(7,6,8,.3); }
.dim-tx { display: grid; gap: .3rem; }
.dim-tx b { font-family: var(--f); font-weight: 800; font-size: clamp(1.25rem, 1.9vw, 1.85rem); line-height: .95; letter-spacing: -.03em; overflow-wrap: anywhere; }
.dim-tx small { font-weight: 800; font-size: .78rem; }
.dim-tx span { font-size: .82rem; font-weight: 600; line-height: 1.35; }
.dim-go { position: absolute; right: 1.1rem; top: 1.1rem; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--c); display: grid; place-items: center; transition: transform .4s var(--spring); }
.dim-go svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.6; }
.dim:hover .dim-go { transform: rotate(45deg) scale(1.1); }
.cibles { margin: 3rem calc(-1 * var(--pad)) 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cb-track { display: flex; gap: .7rem; width: max-content; animation: marquee 40s linear infinite; }
.cibles:hover .cb-track { animation-play-state: paused; }
.cb-track span { font-family: var(--f); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.6rem); padding: .55rem 1.2rem; border-radius: 100px; border: 1.5px solid var(--c); color: var(--c); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Talents ---------- */
.talents { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; }
.score { font-family: var(--f); font-weight: 800; font-size: clamp(5rem, 13vw, 11rem); line-height: .8; letter-spacing: -.06em; background: linear-gradient(180deg, var(--lim), var(--cy)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.talents .sec-p { margin-top: 1rem; }
.matches { display: grid; gap: 1rem; }
.match { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: .3rem 1.2rem; align-items: center; padding: 1.2rem 1.4rem; border-radius: 30px; background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink); transition: background .3s, transform .5s var(--spring); }
.match:hover { background: var(--glass-2); transform: translateX(10px); }
.match h3 { font-family: var(--f); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.15; }
.match p { font-size: .8rem; color: var(--dim); }
.match p b { color: var(--c); }
.match canvas { grid-row: 1 / 3; grid-column: 2; width: 128px; height: 58px; }
.match.empty { grid-template-columns: 1fr; }

/* ---------- Academy ---------- */
.ac-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; align-items: center; }
.ac-photo { position: relative; }
.ac-mask { aspect-ratio: 1; overflow: hidden; animation: morph 11s ease-in-out infinite reverse; box-shadow: 0 40px 110px -40px var(--cy); }
.ac-mask img { width: 100%; height: 100%; object-fit: cover; }
.ac-badge { position: absolute; right: 2%; top: 4%; width: 116px; height: 116px; display: grid; place-items: center; text-align: center; font-family: var(--f); font-weight: 800; font-size: .82rem; line-height: 1.05; color: var(--bg); background: var(--mag); animation: morph 5s ease-in-out infinite, bob 4s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -8px; } }
.piliers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.pilier { position: relative; padding: 1.2rem 1.3rem; border-radius: 28px; background: var(--glass); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .5s var(--spring), border-color .3s; }
.pilier::before { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; z-index: -1; background: var(--c); opacity: .22; animation: morph 8s ease-in-out infinite; animation-delay: var(--d); transition: opacity .4s, transform .6s var(--ease); }
.pilier:hover { transform: translateY(-6px); border-color: var(--c); }
.pilier:hover::before { opacity: .5; transform: scale(1.6); }
.pilier span { font-family: var(--f); font-weight: 800; font-size: .8rem; color: var(--c); }
.pilier h3 { font-family: var(--f); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; margin: .2rem 0 .3rem; }
.pilier p { font-size: .84rem; color: var(--dim); line-height: 1.4; }

/* ---------- Marketplace ---------- */
.market { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.mk-copy .sec-p { max-width: 520px; margin-top: 1.2rem; }
.orbitals { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.orbitals::before, .orbitals::after { content: ''; position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 40s linear infinite; }
.orbitals::after { inset: 24%; animation-duration: 28s; animation-direction: reverse; border-style: solid; border-color: var(--line); }
.orb-core { position: absolute; inset: 34%; display: grid; place-content: center; text-align: center; background: conic-gradient(from var(--r), var(--lim), var(--cy), var(--mag), var(--sun), var(--lim)); color: var(--bg); animation: morph 6s ease-in-out infinite, hue 10s linear infinite; }
.orb-core b { font-family: var(--f); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; }
.orb-core span { font-weight: 800; font-size: .8rem; }
.orb { position: absolute; left: 50%; top: 50%; padding: .5rem .95rem; border-radius: 100px; font-family: var(--f); font-weight: 800; font-size: .82rem; color: var(--bg); background: var(--c); white-space: nowrap; transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg + var(--a, 0deg))) translateY(calc(-1 * min(42%, 210px))) rotate(calc(var(--i) * -45deg - var(--a, 0deg))); animation: orbit 36s linear infinite; }
@keyframes orbit { to { --a: 360deg; } }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ---------- Forum ---------- */
.forum { overflow: hidden; }
.fo-bg { position: absolute; inset: 0; z-index: -1; opacity: .35; mask-image: radial-gradient(70% 70% at 60% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 60% 30%, #000, transparent 75%); }
.fo-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.3); }
.fo-in { display: grid; gap: 1.2rem; justify-items: start; margin-bottom: 2.6rem; }
.fo-t { font-family: var(--f); font-weight: 800; font-size: clamp(3.2rem, 11vw, 10rem); line-height: .82; letter-spacing: -.06em; text-transform: uppercase; }
.fo-t em { color: transparent; -webkit-text-stroke: 2px var(--lim); }
.countdown { display: flex; gap: .6rem; flex-wrap: wrap; }
.countdown div { display: grid; min-width: 96px; padding: .9rem 1.1rem; border-radius: 26px; background: rgba(7,6,8,.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-2); }
.countdown b { font-family: var(--f); font-weight: 800; font-size: 2.1rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown div:first-child b { color: var(--lim); }
.countdown b.tick { animation: tick .45s var(--spring); }
@keyframes tick { 0% { transform: translateY(-40%) scale(.9); opacity: .2; } }
.countdown span { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-top: .3rem; }
.days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.day { position: relative; padding: 1.4rem; min-height: 230px; display: flex; flex-direction: column; gap: .4rem; color: var(--bg); isolation: isolate; transition: transform .6s var(--spring); }
.day::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--c); border-radius: 34px; transition: border-radius .8s var(--ease); }
.day:hover { transform: translateY(-10px) rotate(1.5deg); }
.day:hover::before { border-radius: 46% 54% 40% 60% / 52% 40% 60% 48%; }
.dj { font-weight: 800; font-size: .86rem; }
.dj b { font-family: var(--f); font-size: 3rem; line-height: .9; display: block; letter-spacing: -.05em; }
.day h3 { font-family: var(--f); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; margin-top: auto; }
.day p { font-size: .84rem; font-weight: 600; line-height: 1.35; }
.event-mods { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.event-mods a { position: relative; display: grid; gap: .2rem; padding: 1.2rem 3.4rem 1.2rem 1.3rem; border-radius: 28px; background: var(--glass); border: 1px solid var(--line); transition: background .3s, transform .5s var(--spring); }
.event-mods a:hover { background: var(--glass-2); transform: translateY(-4px); }
.event-mods b { font-family: var(--f); font-weight: 700; }
.event-mods span { font-size: .82rem; color: var(--dim); }
.event-mods svg { position: absolute; right: 1.2rem; top: 50%; width: 20px; height: 20px; margin-top: -10px; stroke: var(--lim); fill: none; stroke-width: 2.4; }

/* ---------- IBF ID ---------- */
.id-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 3rem; align-items: center; }
.steps { list-style: none; display: grid; gap: .7rem; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: center; padding: .8rem 1rem; border-radius: 26px; background: var(--glass); border: 1px solid var(--line); transition: transform .5s var(--spring), border-color .3s; }
.steps li:hover { transform: translateX(8px); border-color: var(--c); }
.steps li > span { width: 52px; height: 52px; display: grid; place-items: center; font-family: var(--f); font-weight: 800; font-size: 1.2rem; color: var(--bg); background: var(--c); animation: morph 7s ease-in-out infinite; }
.steps b { font-family: var(--f); font-weight: 700; }
.steps p { font-size: .84rem; color: var(--dim); }
.id-card { position: relative; aspect-ratio: 1.586; border-radius: 30px; padding: 1.6rem; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(80% 90% at 0% 0%, rgba(255,46,136,.55), transparent 60%), radial-gradient(80% 90% at 100% 100%, rgba(0,229,255,.5), transparent 60%), radial-gradient(60% 60% at 80% 10%, rgba(198,255,0,.4), transparent 60%), #120f1a; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -40px var(--mag); transform: perspective(1000px) rotateY(var(--ry, -10deg)) rotateX(var(--rx, 6deg)); transition: transform .3s ease-out; }
.idc-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%) no-repeat; background-size: 300% 100%; background-position: 150% 0; animation: shine 4.5s var(--ease) infinite; }
@keyframes shine { 50%, 100% { background-position: -50% 0; } }
.idc-top { display: flex; justify-content: space-between; align-items: center; }
.idc-top small { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.idc-id { font-family: ui-monospace, monospace; font-size: clamp(1rem, 2.2vw, 1.35rem); letter-spacing: .06em; }
.idc-name { font-family: var(--f); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.03em; }
.idc-foot { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 700; color: var(--dim); }
.idc-foot b { color: var(--bg); background: var(--lim); padding: .3rem .7rem; border-radius: 100px; }
.sub-h { font-family: var(--f); font-weight: 700; font-size: 1.4rem; letter-spacing: -.03em; margin: 3rem 0 1.2rem; }
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cat { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem; border-radius: 30px; background: var(--glass); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .5s var(--spring), border-color .3s; }
.cat::before { content: ''; position: absolute; inset: auto -40px -40px auto; width: 140px; height: 140px; z-index: -1; background: var(--c); opacity: .18; animation: morph 9s ease-in-out infinite; transition: transform .7s var(--ease), opacity .4s; }
.cat:hover { transform: translateY(-8px); border-color: var(--c); }
.cat:hover::before { transform: scale(3); opacity: .14; }
.cat-n { font-family: var(--f); font-weight: 800; color: var(--c); }
.cat b { font-family: var(--f); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; line-height: 1.15; }
.cat ul { list-style: none; display: grid; gap: .25rem; font-size: .82rem; color: var(--dim); }
.cat li::before { content: '→ '; color: var(--c); }
.cat-go { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; font-weight: 800; font-size: .86rem; }
.cat-go svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.6; }

/* ---------- Sécurité & contact ---------- */
.secu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.secu-grid div { padding: 1.3rem; border-radius: 28px; background: var(--glass); border-top: 3px solid var(--c); }
.secu-grid b { font-family: var(--f); font-weight: 700; font-size: 1.05rem; }
.secu-grid p { font-size: .84rem; color: var(--dim); margin-top: .3rem; }
.secu-note { margin-top: 1.4rem; font-size: .86rem; color: var(--dim); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.porteur { display: grid; gap: 1.2rem; justify-items: start; }
.porteur p { color: var(--dim); max-width: 500px; }
.porteur p b { color: var(--ink); }
.contact-form { display: grid; gap: 1rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 36px; background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.contact-form h3 { font-family: var(--f); font-weight: 700; font-size: 1.4rem; letter-spacing: -.03em; }
.contact-form label { display: grid; gap: .35rem; }
.contact-form label span { font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font-size: 16px; padding: .85rem 1.1rem; min-height: 50px; border-radius: 18px; border: 1.5px solid var(--line-2); background: rgba(7,6,8,.5); outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--lim); box-shadow: 0 0 0 4px rgba(198,255,0,.18); }
.contact-form button { justify-self: start; }
.form-status { font-size: .86rem; color: var(--lim); min-height: 1.2em; }

/* ---------- Pied de page & dock ---------- */
#site-footer { padding: 3rem var(--pad) calc(7rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.motto { font-family: var(--f); font-weight: 700; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1; letter-spacing: -.04em; }
.motto em { color: var(--dim); }
.foot-links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.6rem; font-size: .82rem; color: var(--dim); }
.foot-links a:hover { color: var(--ink); }
.dock { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 50; transform: translateX(-50%); display: flex; gap: .15rem; padding: .35rem; border-radius: 100px; background: rgba(20,18,26,.66); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border: 1px solid var(--line); max-width: calc(100vw - 16px); }
.dock .ind { position: absolute; top: .35rem; bottom: .35rem; left: 0; border-radius: 100px; background: var(--ink); transition: transform .6s var(--spring), width .6s var(--spring); }
.dock a { position: relative; z-index: 1; padding: .7rem 1.05rem; border-radius: 100px; font-weight: 800; font-size: .82rem; white-space: nowrap; transition: color .3s; }
.dock a.on { color: var(--bg); }
.dock .dock-id { background: conic-gradient(from var(--r), var(--lim), var(--cy), var(--mag), var(--sun), var(--lim)); color: var(--bg); animation: hue 6s linear infinite; margin-left: .2rem; }

/* ---------- Fenêtre « mitose » ---------- */
.mito { position: fixed; inset: 0; z-index: 80; background: #0d0b12; overflow-y: auto; overscroll-behavior: contain; clip-path: circle(0 at var(--x, 50%) var(--y, 50%)); visibility: hidden; transition: clip-path .9s var(--snap), visibility 0s .9s; }
.mito.on { clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); visibility: visible; transition: clip-path .9s var(--snap); }
.mito::before { content: ''; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(55% 60% at var(--x, 50%) var(--y, 50%), var(--c, var(--mag)), transparent 70%); opacity: .3; }
.mx { position: fixed; right: var(--pad); top: calc(1rem + env(safe-area-inset-top)); z-index: 3; width: 56px; height: 56px; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-size: 1.7rem; line-height: 1; animation: morph 4s ease-in-out infinite; transition: transform .4s var(--spring); }
.mx:hover { transform: rotate(90deg) scale(1.1); }
.mi { position: relative; max-width: 1240px; margin: 0 auto; padding: calc(5.5rem + env(safe-area-inset-top)) var(--pad) 6rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.mi > * { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.mito.on .mi > * { opacity: 1; transform: none; }
.mito.on .mi > :first-child { transition-delay: .35s; } .mito.on .mi > :nth-child(2) { transition-delay: .48s; }
.mi.one { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.organ { position: relative; aspect-ratio: 1; max-width: 560px; }
.organ .mask { position: absolute; inset: 7%; overflow: hidden; background: var(--c); animation: morph 10s ease-in-out infinite; box-shadow: 0 40px 120px -30px var(--c); }
.organ .mask img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.organ .orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 30s linear infinite; }
.organ .orbit i { position: absolute; left: 50%; top: -20px; margin-left: -50px; width: 100px; height: 40px; border-radius: 100px; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-family: var(--f); font-weight: 800; font-size: .8rem; font-style: normal; animation: spin 30s linear infinite reverse; }
.organ .orbit.o2 { inset: -5%; animation-duration: 44s; animation-direction: reverse; }
.organ .orbit.o2 i { top: auto; bottom: -20px; width: auto; min-width: 100px; padding: 0 .9rem; background: var(--c); animation-duration: 44s; animation-direction: normal; white-space: nowrap; }
.m-k { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: .78rem; letter-spacing: .04em; padding: .45rem .9rem; border-radius: 100px; background: var(--c); color: var(--bg); }
.m-t .wd { display: inline-block; white-space: nowrap; }
.m-t { font-family: var(--f); font-weight: 800; font-size: clamp(1.9rem, 5.6vw, 5rem); line-height: .9; letter-spacing: -.05em; margin: 1rem 0 .6rem; overflow-wrap: anywhere; }
.m-t .ch { display: inline-block; opacity: 0; transform: translateY(.6em) scale(.6); filter: blur(8px); transition: opacity .6s, transform .7s var(--spring), filter .6s; }
.mito.on .m-t .ch { opacity: 1; transform: none; filter: none; }
.m-s { color: var(--dim); font-size: 1.02rem; }
.bubbles { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.8rem 0; }
.bub { flex: 1 1 150px; padding: 1rem 1.2rem; border-radius: 30px; background: var(--glass); border: 1px solid var(--line); }
.bub b { display: block; font-family: var(--f); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.1; overflow-wrap: anywhere; }
.bub span { font-size: .78rem; color: var(--dim); }
.m-vid { position: relative; aspect-ratio: 16 / 9; border-radius: 32px; overflow: hidden; margin-top: 1.4rem; background: #000; }
.m-vid > button { position: absolute; inset: 0; width: 100%; }
.m-vid img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .8s var(--ease); }
.m-vid > button:hover img { transform: scale(1.06); }
.m-vid .tv-play { width: 84px; height: 84px; margin: -42px; }
.m-vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.m-cap { font-size: .76rem; color: var(--dim); margin-top: .5rem; }
.m-acts { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
/* Contenu des dimensions dans la mitose */
.mi .w-body h2 { font-family: var(--f); font-weight: 800; font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: .9; letter-spacing: -.05em; margin-bottom: 1rem; }
.mi .w-body h2 em { display: block; font-size: .42em; letter-spacing: -.02em; color: var(--c); margin-top: .5rem; }
.mi .w-body .w-lead { color: var(--dim); font-size: 1.08rem; margin-bottom: 1.4rem; }
.mi .w-body .w-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mi .w-body .w-cols > div { padding: 1.3rem; border-radius: 28px; background: var(--glass); border: 1px solid var(--line); }
.mi .w-body h4 { font-family: var(--f); font-weight: 700; font-size: 1.2rem; margin-bottom: .6rem; color: var(--c); }
.mi .w-body ul, .mi .w-body ol { list-style: none; display: grid; gap: .55rem; }
.mi .w-body ul li::before { content: '→ '; color: var(--c); font-weight: 800; }
.mi .w-body ol { counter-reset: s; }
.mi .w-body ol li { counter-increment: s; position: relative; padding: 1rem 1.1rem 1rem 3.6rem; border-radius: 24px; background: var(--glass); border: 1px solid var(--line); color: var(--dim); }
.mi .w-body ol li::before { content: counter(s); position: absolute; left: 1rem; top: 1rem; width: 30px; height: 30px; display: grid; place-items: center; font-family: var(--f); font-weight: 800; font-size: .86rem; color: var(--bg); background: var(--c); border-radius: 50%; }
.mi .w-body ol li b, .mi .w-body li a { color: var(--ink); }
.mi .w-body li a { text-decoration: underline; text-decoration-color: var(--c); text-underline-offset: 3px; }
.mi .w-body .btn, .mi .w-body .w-links a { display: inline-flex; align-items: center; min-height: 50px; padding: .85rem 1.45rem; margin: 1.4rem .5rem 0 0; border-radius: 100px; font-weight: 800; background: var(--ink); color: var(--bg); transition: transform .4s var(--spring); }
.mi .w-body .btn:hover, .mi .w-body .w-links a:hover { transform: scale(1.05); }
.mi .w-body .w-links { display: flex; flex-wrap: wrap; }
.w-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.w-nav button { font-weight: 800; padding: .7rem 1.2rem; border-radius: 100px; border: 1.5px solid var(--line-2); transition: background .2s, color .2s; }
.w-nav button:hover { background: var(--ink); color: var(--bg); }

/* ---------- Tablette ---------- */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .menu-btn { display: block; }
  .hero-foot { grid-template-columns: minmax(0, 1fr) auto; }
  .hero-foot > p { grid-column: 1 / -1; }
  .dims { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .secu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-stage { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .top-link { display: none; }
  .giant .out, .giant .out .ch { -webkit-text-stroke: 1px var(--ink); }
  .hero { padding-bottom: 2.2rem; }
  .hero-foot { grid-template-columns: minmax(0, 1fr) auto; gap: 1.4rem; align-items: center; }
  .kpis { gap: 1.1rem; flex-wrap: wrap; }
  .kpis b { font-size: 1.9rem; }
  .blob-btn { width: 124px; height: 124px; font-size: .86rem; }
  .scroll-cue { display: none; }
  .sec-head { margin-bottom: 1.6rem; }
  .tv-screen { border-radius: 24px; }
  .tv-play { width: 80px; height: 80px; margin: -40px; }
  .reel { grid-auto-columns: 72%; }
  .vision, .talents, .ac-row, .market, .id-row, .contact { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .v-photo { max-width: 420px; }
  .petri { height: 72vh; border-radius: 32px; }
  .petri-cap { font-size: .68rem; gap: .3rem .8rem; }
  .dims { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .dim { aspect-ratio: auto; min-height: 240px; padding: 1.1rem; }
  .dims .dim:last-child { grid-column: span 2; min-height: 200px; }
  .dim-n { font-size: 2.2rem; }
  .dim-tx b { font-size: 1.2rem; }
  .dim-tx span { font-size: .78rem; }
  .match { grid-template-columns: minmax(0, 1fr) 92px; padding: 1rem 1.1rem; }
  .match canvas { width: 92px; }
  .match:hover { transform: none; }
  .piliers { grid-template-columns: minmax(0, 1fr); }
  .ac-photo { max-width: 360px; }
  .orbitals { max-width: 340px; }
  .orb { font-size: .7rem; padding: .4rem .7rem; }
  .countdown div { min-width: 0; flex: 1; padding: .7rem; border-radius: 20px; }
  .countdown b { font-size: 1.5rem; }
  .days { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--pad)); padding: .6rem var(--pad) 1rem; scroll-padding: 0 var(--pad); scrollbar-width: none; }
  .days::-webkit-scrollbar { display: none; }
  .day { scroll-snap-align: start; }
  .day:hover { transform: none; }
  .event-mods, .cats { grid-template-columns: minmax(0, 1fr); }
  .id-card { transform: none; }
  .secu-grid { grid-template-columns: minmax(0, 1fr); }
  .dock a { padding: .65rem .7rem; font-size: .74rem; }
  .mi { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; padding-top: calc(5rem + env(safe-area-inset-top)); }
  .organ { max-width: 360px; justify-self: center; width: 100%; }
  .mi .w-body .w-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .dock a[data-sec="forum"] { display: none; }
  .kpis li:nth-child(2) { display: none; }
}


/* Fenêtre ouverte : la page dessous n'est plus rendue (performance, stabilité Safari) */
body.mito-open .top, body.mito-open .dock, body.mito-open #scroll-prog, body.mito-open .grain { display: none !important; }
body.mito-open main, body.mito-open #site-footer { visibility: hidden !important; }
@media (max-width: 760px) {
  .m-t .ch { filter: none !important; transform: none !important; opacity: 1 !important; transition: none !important; }
  .organ .mask { animation: none !important; box-shadow: none !important; border-radius: 42% 58% 46% 54% / 44% 46% 54% 56%; }
  .organ .orbit, .organ .orbit i { animation: none !important; }
  .mito::before { display: none !important; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv, .giant .ln { opacity: 1; transform: none; }
  .mito.on { clip-path: none; }
  .mi > *, .m-t .ch { opacity: 1 !important; transform: none !important; filter: none !important; }
  .grain { display: none; }
}
