/* Event360 by IQONN 360 — v3. Identity derived from IQONN 360:
   navy #0E2148, cobalt #2557D6, ice #F4F7FC / #E8EEFF, Instrument Serif + Inter. */
@font-face { font-family: "Inter E360"; src: url("/assets/fonts/inter-var-latin.woff2") format("woff2-variations"), url("/assets/fonts/inter-var-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif E360"; src: url("/assets/fonts/instrument-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif E360"; src: url("/assets/fonts/instrument-serif-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --navy: #0E2148;
  --navy-2: #16306a;
  --navy-deep: #081530;
  --cobalt: #2557D6;
  --cobalt-deep: #1A45B8;
  --sky: #7FA6FF;
  --cyan: #62E3FF;
  --bg: #F4F7FC;
  --bg-soft: #E8EEFF;
  --bg-blue: #DCE6FF;
  --surface: #FBFCFF;
  --ink: var(--navy);
  --ink-2: #44567d;
  --muted: #53658a;
  --line: #d6dfee;
  --on-dark: #EEF3FF;
  --on-dark-2: #B5C4E6;
  --loss: #C03A50;
  --loss-tint: #FBECEF;
  --ok: #17804c;

  --sans: "Inter E360", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif E360", "Iowan Old Style", Georgia, serif;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --nav-h: 76px;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --shadow: 0 1px 2px rgba(14, 33, 72, .05), 0 12px 32px -14px rgba(14, 33, 72, .18);
  --shadow-lg: 0 2px 6px rgba(14, 33, 72, .06), 0 32px 70px -30px rgba(14, 33, 72, .36);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --glass-dark: rgba(10, 24, 56, .52);
  --glass-light: rgba(251, 252, 255, .78);
  color-scheme: light;
  accent-color: var(--cobalt);
  scrollbar-color: #9fb3dd transparent;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; font-family: var(--sans); font-optical-sizing: auto; font-size: 17px; line-height: 1.6; letter-spacing: -0.008em;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-size-adjust: from-font; overflow-x: clip; caret-color: var(--cobalt);
}
img, svg, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
::selection { background: var(--cobalt); color: #fff; }
:focus-visible { outline: 2.5px solid var(--cobalt); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 12px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
section[id] { scroll-margin-top: calc(var(--nav-h) - 8px); }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); flex: none; }

/* ---------- Type scale ---------- */
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.04; letter-spacing: -0.018em; text-wrap: balance; max-width: 20ch; }

.h2--light { color: var(--on-dark); }
.h2--light em { color: var(--sky); }
.lede { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; color: var(--ink-2); max-width: 54ch; text-wrap: pretty; }
.lede--light { color: var(--on-dark-2); }
.head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 80px); }
.head--center { text-align: center; justify-items: center; }
.head--center .h2 { max-width: 22ch; }
[data-split] .line { padding-bottom: .08em; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap;
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; text-decoration: none;
  transition: background-color .25s, color .25s, transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
.btn:hover .arr { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--primary { background: var(--cobalt); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 24px -12px rgba(14, 33, 72, .55); }
.btn--primary:hover { background: var(--cobalt-deep); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--cobalt); color: var(--cobalt); }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.32); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.btn--glass:hover { background: rgba(255,255,255,.24); }

/* ---------- Brand lockup ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); min-height: 44px; }
.brand__mark { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.brand__name { font-weight: 700; font-size: 17px; letter-spacing: -0.025em; }
.brand__by { font-size: 12.5px; font-weight: 500; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line); line-height: 1.2; }

/* ---------- Nav (floating glass pill, IQONN style) ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 14px max(14px, env(safe-area-inset-left)) 0; pointer-events: none; }
.nav__pill {
  position: relative; pointer-events: auto; max-width: 1180px; margin: 0 auto; height: 58px; display: flex; align-items: center; gap: 8px;
  padding: 0 8px 0 14px; border-radius: 999px; background: var(--glass-light); border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 10px 30px -14px rgba(14, 33, 72, .35); overflow: hidden;
  transition: background-color .4s, border-color .4s;
}
.nav.is-dark .nav__pill { background: rgba(10, 24, 56, .5); border-color: rgba(255,255,255,.16); }
.nav.is-dark .brand, .nav.is-dark .nav__links a, .nav.is-dark .nav__where { color: var(--on-dark); }
.nav.is-dark .brand__by { color: var(--on-dark-2); border-color: rgba(255,255,255,.2); }
.nav.is-dark .nav__menu span { background: #fff; }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 9px 12px; border-radius: 999px; transition: background-color .2s, color .2s; }
.nav__links a:hover { background: rgba(37, 87, 214, .1); color: var(--navy); }
.nav.is-dark .nav__links a:hover { background: rgba(255,255,255,.12); }
.nav__links a[aria-current="true"] { background: var(--navy); color: #fff; }
.nav.is-dark .nav__links a[aria-current="true"] { background: #fff; color: var(--navy); }
.nav__n { font-size: 11px; font-weight: 600; opacity: .55; font-variant-numeric: tabular-nums; }
.nav__where { display: none; margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.nav__cta { margin-left: 6px; }
.nav__menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; place-content: center; gap: 5px; }
.nav__menu span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease); }
.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__progress { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; border-radius: 2px; overflow: hidden; }
.nav__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--cobalt), var(--cyan)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.menu {
  margin: 0; inset: auto 12px auto 12px; top: 80px; width: auto; padding: 10px; border: 1px solid rgba(255,255,255,.9); border-radius: 24px;
  background: rgba(251, 252, 255, .92); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  box-shadow: var(--shadow-lg); color: var(--navy); pointer-events: auto;
  opacity: 0; translate: 0 -8px; transition: opacity .25s, translate .35s var(--ease), display .35s allow-discrete, overlay .35s allow-discrete;
}
.menu:popover-open { opacity: 1; translate: 0 0; }
@starting-style { .menu:popover-open { opacity: 0; translate: 0 -8px; } }
.menu nav { display: grid; gap: 2px; }
.menu a:not(.btn) { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border-radius: 14px; text-decoration: none; font-size: 17px; font-weight: 550; }
.menu a:not(.btn):hover, .menu a[aria-current="true"] { background: var(--bg-soft); }
.menu__cta { margin-top: 8px; }

/* ---------- HERO: real room ---------- */
.hero { position: relative; background: var(--navy-deep); }

.mline line { stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 0 2px rgba(8, 21, 48, .7)); }
.mline circle { fill: #fff; filter: drop-shadow(0 0 2px rgba(8, 21, 48, .6)); }
.hl { fill: rgba(98, 227, 255, .12); stroke: var(--cyan); stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(98, 227, 255, .8)); transition: opacity .3s; }

.seg { display: inline-grid; grid-auto-flow: column; gap: 2px; padding: 4px; border-radius: 999px; }

/* ---------- 01 Constat ---------- */
.constat { padding-block: clamp(96px, 14vh, 170px) clamp(80px, 12vh, 140px); background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 70%); }
.manifesto { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.12; letter-spacing: -0.015em; max-width: 24ch; text-wrap: balance; }
.manifesto .w { display: inline-block; }
.leaks { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; counter-reset: leak; }
.leak__card { height: 100%; display: flex; flex-direction: column; gap: 22px; padding: clamp(26px, 3vw, 38px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.leak__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.leak__head { display: flex; align-items: center; gap: 14px; }
.leak__n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--bg-blue); color: var(--cobalt); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.leak__head h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.2; letter-spacing: -0.022em; font-weight: 650; }
.leak__rows { display: grid; gap: 0; }
.leak__row { display: grid; grid-template-columns: 116px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.leak__row dt { font-size: 13.5px; font-weight: 650; color: var(--muted); padding-top: 2px; }
.leak__row:first-child dt { color: var(--loss); }
.leak__row dd { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.leak__row--gain { margin-top: 6px; padding: 16px 18px; border: 0; border-radius: var(--r-md); background: var(--bg-soft); grid-template-columns: 98px 1fr; }
.leak__row--gain dt { color: var(--cobalt); }
.leak__row--gain dd { color: var(--navy); font-weight: 560; }
.leak__link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--cobalt); text-decoration: none; }
.leak__link:hover .arr { transform: translateX(3px); }
.leak__link:hover { text-decoration: underline; }

/* ---------- 02 Parcours ---------- */
.journey { padding-block: clamp(96px, 14vh, 170px); background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 50%, var(--bg) 100%); }
.journey__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.journey__device { position: sticky; top: calc(var(--nav-h) + max(16px, (100svh - var(--nav-h) - 560px) / 2)); }
.device { border-radius: 28px; padding: 10px; background: rgba(255,255,255,.6); border: 1px solid #fff; box-shadow: var(--shadow-lg), inset 0 1px 0 #fff; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.device__bar { display: flex; align-items: center; gap: 6px; padding: 4px 10px 10px; }
.device__bar span { width: 10px; height: 10px; border-radius: 50%; background: #cdd8ec; }
.device__bar em { margin-left: 10px; font-style: normal; font-size: 12.5px; color: var(--ink-2); font-weight: 550; }
.device__screen { position: relative; aspect-ratio: 16 / 12; border-radius: 20px; background: #fff; overflow: hidden; }
.scr { position: absolute; inset: 0; padding: clamp(14px, 2vw, 24px); display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: scale(.97) translateY(10px); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.scr.is-on { opacity: 1; transform: none; }
.scr__kicker { font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; }
.scr__kicker em, .alert__goal em, .scr__foot em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 12px; }
.room { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 2560 / 1200; background: var(--navy); }
.room img { width: 100%; height: 100%; object-fit: cover; }

.hs { position: absolute; left: var(--x); top: var(--y); transform: translate(-14px, -50%); display: flex; align-items: center; gap: 6px; }
.hs i { width: 28px; height: 28px; border-radius: 50%; flex: none; background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 4px 12px -4px rgba(8, 21, 48, .6); position: relative; }
.hs i::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.hs--cyan i { border-color: var(--cyan); }
.hs--cyan i::after { background: var(--cyan); }
.hs b { font-size: 11.5px; font-weight: 600; color: #fff; background: rgba(8, 21, 48, .72); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.caps { margin-top: 12px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.caps__tab { font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 6px 10px; border-radius: 9px; transition: background-color .3s, color .3s; }
.caps__tab.is-on { background: var(--navy); color: #fff; }
.caps__val { margin-left: auto; font-size: 13px; color: var(--ink-2); }
.caps__val b { font-size: 22px; color: var(--navy); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.scr__foot { margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.brief { margin-top: 14px; display: grid; gap: 6px; }
.brief li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; background: var(--bg); font-size: 14.5px; }
.brief li span { color: var(--ink-2); }
.brief li b { font-weight: 600; }
.brief__ok { margin-top: 14px; display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; font-size: 14px; }
.brief__ok svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.alert { padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.alert__head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.alert__who { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.alert__who b { color: var(--navy); font-weight: 600; }
.alert__label { margin-top: 22px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.alert__time { font-size: clamp(2.6rem, 4.6vw, 4rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--cobalt); }
.alert__bar { margin-top: 12px; height: 8px; border-radius: 8px; background: var(--bg-soft); overflow: hidden; }
.alert__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cobalt), var(--sky)); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); transition: transform 1s linear; }
.alert__goal { margin-top: 10px; font-size: 13px; color: var(--ink-2); display: flex; justify-content: space-between; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(23,128,76,.15); flex: none; }
.rep { margin-top: 16px; display: grid; gap: 12px; }
.rep__row { display: grid; grid-template-columns: 76px 1fr 22px; align-items: center; gap: 12px; font-size: 14px; }
.rep__row span { color: var(--ink-2); }
.rep__row b { text-align: right; font-variant-numeric: tabular-nums; }
.rep__row i { height: 10px; border-radius: 10px; background: var(--cobalt); transform-origin: 0 50%; transform: scaleX(var(--w)); }
.rep__row i.i2 { background: var(--sky); }
.rep__row i.i3 { background: var(--loss); }
.rep__sub { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips span { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--loss-tint); color: var(--loss); }
.rail { margin-top: 18px; display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rail b { color: var(--navy); }
.rail__bar { flex: 1; height: 4px; border-radius: 4px; background: var(--bg-blue); overflow: hidden; }
.rail__bar i { display: block; height: 100%; background: var(--cobalt); transform-origin: 0 50%; transform: scaleX(var(--rp, .25)); transition: transform .6s var(--ease); }
.steps { display: grid; }
.step { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; transition: opacity .5s var(--ease); scroll-margin-top: 30vh; }
.step__media { display: none; }
.step__n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-blue); color: var(--cobalt); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color .4s, color .4s; }
.step h3 { margin-top: 18px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.step > p { margin-top: 12px; color: var(--ink-2); font-size: 17px; max-width: 40ch; }
.js .journey--live .step { opacity: .32; }
.js .journey--live .step.is-active { opacity: 1; }
.journey--live .step.is-active .step__n { background: var(--cobalt); color: #fff; }
.journey__note { margin-top: 28px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* ---------- 03 Film ---------- */
.film { padding-block: clamp(96px, 14vh, 170px); background: radial-gradient(120% 80% at 50% 0%, #1d3f8f 0%, var(--navy) 45%, var(--navy-deep) 100%); color: var(--on-dark); overflow: clip; }
.film__frame { position: relative; max-width: 1060px; margin-inline: auto; border-radius: var(--r-xl); overflow: hidden; background: #000; box-shadow: 0 50px 100px -40px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); transform-origin: 50% 30%; }
.film__frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.film__play { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; align-content: center; gap: 14px; background: linear-gradient(180deg, rgba(8,21,48,.05), rgba(8,21,48,.5)); color: #fff; transition: opacity .4s var(--ease); }
.film__play.is-hidden { opacity: 0; pointer-events: none; }
.film__btn { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -12px rgba(0,0,0,.55); transition: transform .4s var(--ease); }
.film__btn svg { width: 30px; height: 30px; margin-left: 5px; fill: var(--navy); }
.film__len { font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: rgba(8, 21, 48, .55); }
.film__play:hover .film__btn { transform: scale(1.07); }

/* ---------- 04 Pour qui ---------- */
.lieux { padding-block: clamp(96px, 14vh, 170px); background: var(--bg); }
.venues { display: flex; flex-wrap: wrap; gap: 10px; }
.venues li { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 600; letter-spacing: -0.015em; padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--navy); }
.presence { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.city { padding: clamp(26px, 3vw, 36px); border-radius: var(--r-xl); background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow); }
.city__name { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; }
.city__meta { margin-top: 10px; color: var(--on-dark-2); font-size: 15px; }
.city__meta time { color: #fff; font-weight: 650; font-variant-numeric: tabular-nums; }
.team { padding: clamp(26px, 3vw, 36px); border-radius: var(--r-xl); background: var(--bg-soft); display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.team__line { font-family: var(--serif); font-size: clamp(1.5rem, 2.1vw, 1.9rem); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.team__sub { font-size: 15px; color: var(--ink-2); }
.team__sub a, .foot a { color: var(--cobalt); font-weight: 600; }

/* ---------- 05 FAQ ---------- */
.faq { padding-block: clamp(80px, 12vh, 150px); background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__grid .h2 { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq__list { display: grid; gap: 10px; }
.faq__list details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .3s; }
.faq__list details:hover { border-color: #b9c8e6; }
.faq__list details[open] { border-color: rgba(37, 87, 214, .35); box-shadow: var(--shadow); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 22px; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft) linear-gradient(var(--cobalt), var(--cobalt)) center / 12px 2px no-repeat; transition: transform .35s var(--ease), background-color .25s; }
.faq__list details:not([open]) summary::after { background: var(--bg-soft) linear-gradient(var(--cobalt), var(--cobalt)) center / 12px 2px no-repeat, linear-gradient(var(--cobalt), var(--cobalt)) center / 2px 12px no-repeat; }
.faq__list details p { padding: 0 22px 22px; color: var(--ink-2); max-width: 62ch; }

/* ---------- Demo ---------- */
.demo { padding-block: clamp(96px, 14vh, 170px); background: radial-gradient(90% 70% at 85% 10%, #2a54c4 0%, rgba(42, 84, 196, 0) 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--on-dark); }
.demo__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.demo__copy .lede { margin-top: 20px; }
.ticks { margin-top: 28px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--on-dark); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: rgba(127, 166, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.6L14 7.6' fill='none' stroke='%2362E3FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.form { background: var(--surface); color: var(--navy); border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 40px 90px -40px rgba(0,0,0,.6); }
.form__body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--navy); padding: 0; }
.field legend { margin-bottom: 8px; }
.opt { font-weight: 450; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--navy); min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 104px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #b9c8e6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(37, 87, 214, .15); }
.field__err { display: none; font-size: 14px; color: var(--loss); font-weight: 500; }
.field input:user-invalid { border-color: var(--loss); background: var(--loss-tint); }
.field:has(input:user-invalid) .field__err, .field.show-err .field__err { display: block; }
.field.show-err input { border-color: var(--loss); background: var(--loss-tint); }
.seg--form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 16px; background: var(--bg); border: 1.5px solid var(--line); }
.seg--form label { position: relative; cursor: pointer; }
.seg--form input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.seg--form span { display: grid; place-items: center; min-height: 44px; border-radius: 11px; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.seg--form label:hover span { color: var(--navy); background: rgba(37, 87, 214, .06); }
.seg--form input:checked + span { background: var(--navy); color: #fff; box-shadow: 0 4px 12px -4px rgba(14, 33, 72, .4); }
.seg--form input:focus-visible + span { outline: 2.5px solid var(--cobalt); outline-offset: 2px; }
.field.show-err .seg--form { border-color: var(--loss); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.form__legal { font-size: 13.5px; color: var(--muted); flex: 1 1 220px; }
.form.is-loading .btn { opacity: .7; pointer-events: none; }
.form__done { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 32px 8px; }
.form__done[hidden], .form__body[hidden] { display: none; }
.form__done h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 650; }
.form__done p { color: var(--ink-2); max-width: 40ch; }
.form__check { width: 64px; height: 64px; fill: none; stroke: var(--cobalt); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form__check circle { stroke: rgba(37, 87, 214, .25); }

/* ---------- Footer ---------- */
.foot { padding: 32px 0 40px; font-size: 14px; color: var(--on-dark-2); background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.08); }
.foot__inner { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.brand--foot .brand__name { color: #fff; }
.brand--foot .brand__by { color: var(--on-dark-2); border-color: rgba(255,255,255,.2); }
.foot a { color: var(--sky); }

.mcta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links a { padding: 9px 9px; }
  .nav__n { display: none; }
  .presence { grid-template-columns: 1fr 1fr; }
  .team { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__where { display: block; }
  .nav__menu { display: grid; }
  .brand__by { display: none; }
  .leaks { grid-template-columns: 1fr; }
  .journey__grid { grid-template-columns: 1fr; }
  .journey__device { display: none; }
  .step { min-height: 0; padding-block: 28px; }
  .step__media { display: block; margin-bottom: 22px; }
  .step__media .device { padding: 8px; border-radius: 22px; }
  .step__media .device__screen { aspect-ratio: auto; }
  .step__media .scr { position: relative; inset: auto; opacity: 1; transform: none; }
  .faq__grid, .demo__grid { grid-template-columns: 1fr; }
  .faq__grid .h2 { position: static; }
  .mcta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70;
    transform: translateY(calc(100% + 24px)); transition: transform .5s var(--ease);
  }
  .mcta .btn { width: 100%; min-height: 52px; box-shadow: 0 16px 34px -14px rgba(14, 33, 72, .6); }
  .mcta.is-on { transform: none; }
  .foot { padding-bottom: 100px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 68px; }
  .nav { padding-top: 10px; }
  .nav__pill { height: 54px; padding: 0 6px 0 10px; }
  .nav__cta { display: none; }
  .leak__row { grid-template-columns: 1fr; gap: 4px; }
  .leak__row--gain { grid-template-columns: 1fr; }
  .presence { grid-template-columns: 1fr; }
  .city { min-height: 160px; }
  .form__body { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  body { font-size: 16.5px; }
}
@media (max-width: 380px) {
  .hs b { font-size: 10.5px; }
  .scr { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .scr { transform: none !important; }
}

@media (max-width: 560px) {
  .room .hs:not(.hs--cyan) b { opacity: 0; transform: scale(.9); transition: opacity .25s, transform .25s; }
  .room .hs:hover b, .room .hs:focus-within b { opacity: 1; transform: none; }
}

/* ======================================================================
   v3.1 — robust adaptive hero + fluid type (overrides above)
   Hero content is in normal flow: it can never be clipped or overlap the
   view toggle; the stage grows when the viewport is too short.
   ====================================================================== */

.h2 { font-size: clamp(2rem, min(4.2vw, 7svh), 3.6rem); }
.manifesto { font-size: clamp(1.75rem, min(4vw, 6.4svh), 3.4rem); }

/* tablets: full-width copy shouldn't run edge to edge */
.menu { max-height: calc(100vh - 92px); max-height: calc(100dvh - 92px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-height: 520px) { .menu a:not(.btn) { min-height: 44px; } }
/* WebKit: backdrop-filter on many layers is costly; keep it on chrome only */

@media (min-width: 961px) and (max-width: 1100px) { .brand__by { display: none; } }
/* large desktops: scale the layout up instead of leaving a small island */
@media (min-width: 1800px) and (min-height: 950px) {
  :root { --wrap: 1440px; }
  body { font-size: 18px; }
  .h2 { font-size: clamp(3.6rem, 3.4vw, 4.6rem); }
  .manifesto { font-size: clamp(3.4rem, 3.2vw, 4.4rem); }
  .lede { font-size: 1.3rem; }
}

/* ======================================================================
   v4 hero — sample seminar room: real view + LiDAR scan, in sync.
   Pre-rendered images, CSS-only pan and cuts. No WebGL, no pinning.
   ====================================================================== */
.hero { position: relative; background: radial-gradient(120% 80% at 70% 0%, #16306a 0%, var(--navy-deep) 60%); color: #fff; padding: calc(var(--nav-h) + clamp(28px, 6svh, 64px)) 0 clamp(36px, 6svh, 72px); overflow: hidden; }
.hero__copy { position: relative; z-index: 1; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, min(5.4vw, 9svh), 4.9rem); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.hero__title span { display: block; }
.hero__title em { font-style: italic; color: var(--sky); }
.hero__l2 { color: var(--on-dark-2); }
.hero__lead { margin-top: 18px; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.55; color: var(--on-dark); max-width: 48ch; text-wrap: pretty; }
.hero__ctas { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1000px) {
  .hero__side { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 18px; }
  .hero__title { font-size: clamp(2.6rem, min(4.3vw, 8svh), 4.4rem); }
  .hero__lead { margin-top: 0; max-width: 56ch; }
  .hero__ctas { margin-top: 0; flex-wrap: nowrap; flex: none; }
}

.twin { margin-top: clamp(26px, 5svh, 48px); --k: 1.3333; --dur: 27s; }
.twin__panes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.twin__pane { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; background: #0b1a3d; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); isolation: isolate; }
.twin__pane--lidar { background: #071331; }
.twin__view, .twin__shot { position: absolute; inset: 0; }
.twin__shot { opacity: 0; }
.twin__shot:first-child { opacity: 1; }
.twin__strip { position: absolute; top: 0; left: 0; height: 100%; width: calc(var(--k) * 100%); transform: translateX(calc((1 / var(--k) - 1) * 50%)); will-change: transform; }
.twin__strip img { display: block; width: 100%; height: 100%; object-fit: fill; }
.twin__tag { position: absolute; z-index: 2; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(8, 21, 48, .6); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.twin__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(98, 227, 255, .25); }
/* measurements, attached to the strip so they pan with the scan */
.twin__dims { position: absolute; inset: 0; }
.twin__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.twin__svg line { stroke: #fff; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.cap { position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.dim { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); padding: 4px 9px; border-radius: 999px; background: rgba(5, 14, 36, .82); border: 1px solid rgba(255,255,255,.35); color: #fff; font: 600 clamp(11px, 1vw, 13px)/1.2 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: .01em; }
/* faint floor ring hotspot on the real view */
.ring { position: absolute; left: var(--x); top: var(--y); width: 54px; height: 20px; margin: -10px 0 0 -27px; border-radius: 50%; border: 2px solid rgba(127, 166, 255, .9); box-shadow: 0 0 0 4px rgba(37, 87, 214, .25), inset 0 0 10px rgba(127, 166, 255, .5); }

.twin__bar { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.seg--twin { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.seg--twin button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--on-dark-2); font: 600 13.5px/1 var(--sans); cursor: pointer; }
.seg--twin button:hover { color: #fff; }
.seg--twin button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.twin__play { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font: 600 13.5px/1 var(--sans); cursor: pointer; }
.twin__pi { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.twin.is-paused .twin__pi { border: 0; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.twin__note { margin-left: auto; font-size: 12.5px; color: var(--on-dark-2); }
.seg--twin button:focus-visible, .twin__play:focus-visible { outline: 2.5px solid #fff; outline-offset: 2px; }

/* the synced cycle: 3 shots × 9 s, hard cut, slow pan to the right */
@keyframes tw-show0 { 0%, 33.32% { opacity: 1; } 33.33%, 100% { opacity: 0; } }
@keyframes tw-show1 { 0%, 33.32% { opacity: 0; } 33.33%, 66.65% { opacity: 1; } 66.66%, 100% { opacity: 0; } }
@keyframes tw-show2 { 0%, 66.65% { opacity: 0; } 66.66%, 100% { opacity: 1; } }
@keyframes tw-pan0 { 0% { transform: translateX(0); } 33.33%, 100% { transform: translateX(calc((1 / var(--k) - 1) * 100%)); } }
@keyframes tw-pan1 { 0%, 33.33% { transform: translateX(0); } 66.66%, 100% { transform: translateX(calc((1 / var(--k) - 1) * 100%)); } }
@keyframes tw-pan2 { 0%, 66.66% { transform: translateX(0); } 100% { transform: translateX(calc((1 / var(--k) - 1) * 100%)); } }
@keyframes tw-drift { from { transform: translateX(0); } to { transform: translateX(calc((1 / var(--k) - 1) * 100%)); } }
@media (prefers-reduced-motion: no-preference) {
  .twin:not([data-mode="manual"]) .twin__shot:nth-child(1) { animation: tw-show0 var(--dur) linear infinite; }
  .twin:not([data-mode="manual"]) .twin__shot:nth-child(2) { animation: tw-show1 var(--dur) linear infinite; }
  .twin:not([data-mode="manual"]) .twin__shot:nth-child(3) { animation: tw-show2 var(--dur) linear infinite; }
  .twin:not([data-mode="manual"]) .twin__shot:nth-child(1) .twin__strip { animation: tw-pan0 var(--dur) linear infinite; }
  .twin:not([data-mode="manual"]) .twin__shot:nth-child(2) .twin__strip { animation: tw-pan1 var(--dur) linear infinite; }
  .twin:not([data-mode="manual"]) .twin__shot:nth-child(3) .twin__strip { animation: tw-pan2 var(--dur) linear infinite; }
  .twin[data-mode="manual"] .twin__strip { animation: tw-drift 16s ease-in-out infinite alternate; }
  .twin.is-paused .twin__shot, .twin.is-paused .twin__strip { animation-play-state: paused !important; }
  .ring { animation: tw-ring 2.4s ease-out infinite; }
}
@keyframes tw-ring { 0% { box-shadow: 0 0 0 0 rgba(127,166,255,.55), inset 0 0 10px rgba(127,166,255,.5); } 100% { box-shadow: 0 0 0 14px rgba(127,166,255,0), inset 0 0 10px rgba(127,166,255,.5); } }
.twin[data-mode="manual"] .twin__shot { opacity: 0; }
.twin[data-mode="manual"][data-cur="0"] .twin__shot:nth-child(1),
.twin[data-mode="manual"][data-cur="1"] .twin__shot:nth-child(2),
.twin[data-mode="manual"][data-cur="2"] .twin__shot:nth-child(3) { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .twin__play { display: none; } }

@media (max-width: 760px) {
  .twin { margin-inline: 0; padding-inline: 12px; }
  .twin__panes { grid-template-columns: 1fr; gap: 8px; }
  .twin__pane { border-radius: 18px; }
  .twin__note { margin-left: 0; width: 100%; }
  .hero__ctas { display: grid; grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .dim { padding: 3px 7px; }
  .twin__tag { left: 10px; top: 10px; font-size: 12px; padding: 5px 10px; }
}
@media (max-width: 380px) { .seg--twin button { padding: 0 10px; font-size: 12.5px; } }
@media (min-width: 1800px) and (min-height: 950px) { .hero__title { font-size: clamp(4.9rem, 4.2vw, 6.6rem); } }
.twin.is-offscreen .twin__shot, .twin.is-offscreen .twin__strip, .twin.is-offscreen .ring { animation-play-state: paused !important; }
