/* Byovva · accueil, direction A « Cinématique » (novembre 2026).
   Bandes pleine largeur avec un conteneur de 1240 px, une barre de chapitres fixe,
   trois passages épinglés (héros, monde 3D, support) pilotés par --p (0 → 1) depuis site.js. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bv-bg); color: var(--bv-fg);
  font-family: var(--bv-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bv-bg); }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--bv-cyan); outline-offset: 3px; border-radius: 6px; }
main { overflow-x: clip; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--bv-muted); }

/* Typographie */
.eyebrow { margin: 0; font: 650 12.5px/1.3 var(--bv-body); letter-spacing: .16em; text-transform: uppercase; color: var(--bv-cyan); }
.hero-title, .sec-title, .mega { margin: 0; font-family: var(--bv-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
.hero-title { font-size: clamp(34px, 5vw, 76px); }
.sec-title { font-size: clamp(28px, 4vw, 56px); }
.mega { font-size: clamp(36px, 6.6vw, 104px); }
.hl { color: var(--bv-accent); font-style: normal; }
.lead { margin: 0; max-width: 58ch; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: var(--bv-muted); text-wrap: pretty; }
.fine { margin: 0; font-size: 13px; color: var(--bv-muted); }
h3 { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--bv-fg); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Passages épinglés : seulement quand le script tourne et que le mouvement est permis */
[data-pin] { position: relative; --p: 0; }
.pin { position: relative; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .js .pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
  .js .pin--under { top: calc(env(safe-area-inset-top, 0px) + 56px); height: calc(100vh - 56px); height: calc(100svh - 56px); }
}

/* ---------- Héros ---------- */
.hero { background: var(--bv-bg); }
.hero .pin {
  display: flex; flex-direction: column; align-items: center; min-height: min(100svh, 980px);
  background:
    radial-gradient(70% 55% at 50% 102%, rgba(8, 120, 255, .45), transparent 70%),
    radial-gradient(38% 40% at 86% 6%, rgba(35, 214, 244, .16), transparent 70%),
    var(--bv-bg);
}
@media (prefers-reduced-motion: no-preference) { .js .hero { height: 250vh; } }
.hero-copy {
  position: relative; z-index: 4; flex: none; display: grid; justify-items: center; gap: 18px; text-align: center;
  padding-top: clamp(36px, 7vh, 92px);
  opacity: calc(1 - var(--p) * 3); transform: translateY(calc(var(--p) * -14vh));
}
.hero.past .hero-copy { pointer-events: none; }
.hero-kicker { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 18px; font: 650 12.5px/1.3 var(--bv-body); letter-spacing: .12em; text-transform: uppercase; color: var(--bv-fg); }
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bv-accent); box-shadow: 0 0 0 5px rgba(255, 210, 47, .18); }
.hero-sub { margin: 0; font-size: clamp(16px, 1.4vw, 19px); color: var(--bv-muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
.hero-tablet {
  position: relative; z-index: 3; flex: none; margin-top: clamp(18px, 4vh, 44px); width: min(920px, 92vw);
  transform: translateY(calc(var(--p) * -34vh)) scale(calc(1 + var(--p) * 2.3));
  transform-origin: 50% 32%; opacity: calc(1 - (var(--p) - .5) * 4);
}
.hero-tablet img { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
@media (prefers-reduced-motion: no-preference) { .hero-tablet img { animation: bob 6s ease-in-out infinite; } }
@keyframes bob { 50% { transform: translateY(-12px); } }
.hero-film { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: clamp(0, calc((var(--p) - .42) * 3.2), 1); }
.hero-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(2, 8, 24, .1) 40%, rgba(2, 8, 24, .82)); opacity: clamp(0, calc((var(--p) - .6) * 4), 1); }
.hero-end { position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(28px, 7vh, 72px); color: #fff; opacity: clamp(0, calc((var(--p) - .72) * 5), 1); pointer-events: none; }
.hero.done .hero-end { pointer-events: auto; }
.hero-end .bv-shell { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.hero-end p { margin: 0; }
.hero-end .hero-end-title { font-family: var(--bv-display); font-weight: 700; font-size: clamp(24px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.03em; max-width: 16ch; }
.hero-end .hero-end-sub { margin-top: 8px; color: #c9d6ee; }

/* ---------- Barre de chapitres ---------- */
.subnav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(2, 11, 31, .86); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--bv-line); }
.subnav .bv-shell { display: flex; align-items: center; gap: 18px; height: 56px; }
.subnav-name { font-weight: 800; white-space: nowrap; }
.subnav-name span { margin-left: 6px; font-weight: 500; color: var(--bv-muted); }
.subnav-links { display: flex; flex: 1; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; justify-content: center; }
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-links a { padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--bv-muted); text-decoration: none; white-space: nowrap; transition: color .2s, background-color .2s; }
.subnav-links a[aria-current="true"] { color: var(--bv-fg); background: var(--bv-chip); }
.subnav .bv-btn { min-height: 38px; padding: 0 16px; font-size: 14px; }
.subnav-links { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
.subnav-links a { padding-inline: 10px; }
@media (max-width: 1500px) { .subnav-name span { display: none; } }
@media (max-width: 1240px) { .subnav-links { justify-content: flex-start; } }
@media (max-width: 640px) { .subnav-name, .subnav .bv-btn { display: none; } }

section[id] { scroll-margin-top: calc(56px + env(safe-area-inset-top, 0px)); }
.band { background: var(--bv-bg); padding-block: clamp(72px, 9vw, 136px); }
.band.alt { background: var(--bv-bg-2); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head.row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.stack { display: grid; gap: 14px; }
@media (max-width: 700px) { .sec-head.row { grid-template-columns: 1fr; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(42px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- En action ---------- */
.rail-ctrl { display: flex; gap: 10px; }
.round { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--bv-line-strong); background: transparent; cursor: pointer; transition: border-color .2s, background-color .2s; }
.round:hover { border-color: var(--bv-fg); background: var(--bv-chip); }
.round svg { width: 18px; height: 18px; }
.rail {
  display: flex; gap: 18px; margin: 0; padding-bottom: 6px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-left: max(var(--bv-gutter), env(safe-area-inset-left, 0px), calc((100% - var(--bv-shell)) / 2 + min(4vw, 40px)));
  padding-right: max(var(--bv-gutter), env(safe-area-inset-right, 0px), calc((100% - var(--bv-shell)) / 2 + min(4vw, 40px)));
  scroll-padding-left: max(var(--bv-gutter), calc((100% - var(--bv-shell)) / 2 + min(4vw, 40px)));
}
.rail::-webkit-scrollbar { display: none; }
.scene { flex: 0 0 clamp(272px, 34vw, 470px); scroll-snap-align: start; overflow: hidden; border-radius: var(--bv-r); background: var(--bv-surface); border: 1px solid var(--bv-line); }
.scene video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #000; }
.scene-body { display: grid; gap: 8px; padding: 18px 20px 22px; }
.scene-tag { font: 600 12px/1.3 var(--bv-body); letter-spacing: .1em; text-transform: uppercase; color: var(--bv-muted); }
.scene h3 { font-family: var(--bv-display); font-weight: 700; font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -0.03em; line-height: 1.12; }
.scene p { margin: 0; color: var(--bv-muted); font-size: 15px; }
.rail-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 24px; }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--bv-line-strong); }
.stat dd { margin: 0; order: -1; font-family: var(--bv-display); font-weight: 700; font-size: clamp(46px, 6.4vw, 96px); line-height: .95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat dt { color: var(--bv-muted); font-size: 15px; max-width: 24ch; }

/* ---------- Sans Internet ---------- */
.chapter { position: relative; overflow: hidden; text-align: center; background: radial-gradient(60% 50% at 50% 0%, rgba(35, 214, 244, .14), transparent 70%), var(--bv-bg); }
.chapter-head { display: grid; justify-items: center; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.offline-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; text-align: left; }
@media (max-width: 860px) { .offline-grid { grid-template-columns: 1fr; } }
.airplane { display: grid; gap: 4px; width: 100%; max-width: 460px; justify-self: center; padding: 22px; border-radius: var(--bv-r); background: var(--bv-surface); border: 1px solid var(--bv-line); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .5); }
.ap-row { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--bv-line); font-weight: 600; }
.ap-row svg { width: 22px; height: 22px; color: var(--bv-muted); }
.ap-main svg { color: var(--bv-cyan); }
.tg { position: relative; flex: none; width: 48px; height: 28px; margin-left: auto; border-radius: 99px; background: var(--bv-toggle-off); }
.tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.tg.on { background: var(--bv-cyan); }
.tg.on::after { transform: translateX(20px); }
.airplane.play .tg.off { animation: tgFromOn .45s var(--d) both; }
.airplane.play .tg.off::after { animation: knobFromOn .45s var(--d) both; }
.airplane.play .tg.on { animation: tgFromOff .45s var(--d) both; }
.airplane.play .tg.on::after { animation: knobFromOff .45s var(--d) both; }
@keyframes tgFromOn { from { background: var(--bv-cyan); } }
@keyframes knobFromOn { from { transform: translateX(20px); } }
@keyframes tgFromOff { from { background: var(--bv-toggle-off); } }
@keyframes knobFromOff { from { transform: none; } }
.ap-status { margin: 14px 4px 6px; font-size: 15px; }
.ap-status b { color: var(--bv-cyan); }
.airplane.play .ap-status { animation: fadeUp .5s 1.25s both; }
.ap-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.ap-chips li { padding: 6px 11px; border-radius: 999px; background: var(--bv-chip); font-size: 13px; font-weight: 600; }
.airplane.play .ap-chips li { animation: fadeUp .45s calc(1.45s + var(--i) * .09s) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.steps3 { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps3 li { display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; padding: 18px 0; border-bottom: 1px solid var(--bv-line); counter-increment: s; }
.steps3 li::before { content: "0" counter(s); grid-row: span 2; font: 600 13px/1.6 ui-monospace, 'Cascadia Mono', Consolas, monospace; color: var(--bv-cyan); }
.steps3 b { font-family: var(--bv-display); font-weight: 700; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.03em; }
.steps3 span { color: var(--bv-muted); }
.chapter .fine { margin-top: 28px; }

/* ---------- Monde 3D ---------- */
.journey { background: var(--bv-bg-2); }
.journey .pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(16px, 3vh, 34px); padding-block: 72px; }
@media (prefers-reduced-motion: no-preference) and (min-width: 760px) {
  .js .journey { height: 340vh; }
  .js .journey .pin { padding-block: 0; }
  .js .journey-viewport { overflow: hidden; scroll-snap-type: none; }
}
.journey-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 40px; }
.journey-head .lead { max-width: 46ch; }
.journey-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.journey-viewport::-webkit-scrollbar { display: none; }
.journey-track {
  display: flex; gap: 18px; width: max-content; margin: 0; list-style: none; will-change: transform;
  padding: 0 max(var(--bv-gutter), calc((100vw - var(--bv-shell)) / 2 + min(4vw, 40px)));
}
.journey-track > li { flex: none; scroll-snap-align: center; }
.place { position: relative; width: min(82vw, 720px); aspect-ratio: 16 / 10; margin: 0; overflow: hidden; border-radius: var(--bv-r); background: var(--bv-surface); }
@media (min-width: 760px) { .place { width: min(64vw, 720px, calc((100svh - 360px) * 1.6)); min-width: 260px; } }
.place img { width: 100%; height: 100%; object-fit: cover; }
.place figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 56px 22px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); color: #fff; }
.place small { font: 650 11.5px/1.3 var(--bv-body); letter-spacing: .14em; text-transform: uppercase; color: #ffd86b; }
.place strong { font-family: var(--bv-display); font-weight: 700; font-size: clamp(19px, 2vw, 28px); line-height: 1.1; letter-spacing: -0.03em; }
.journey-bar { display: none; height: 3px; border-radius: 3px; background: var(--bv-line); overflow: hidden; }
.journey-bar i { display: block; height: 100%; background: var(--bv-accent); transform-origin: left; transform: scaleX(var(--p)); }
@media (prefers-reduced-motion: no-preference) and (min-width: 760px) { .js .journey-bar { display: block; } }

/* ---------- Langues ---------- */
.langs { overflow: hidden; }
.langs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 860px) { .langs-grid { grid-template-columns: 1fr; } }
.langs-copy { display: grid; gap: 18px; justify-items: start; }
.device { margin: 0; padding: 10px; border-radius: 26px; background: #0d1426; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.device video, .device img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; background: #000; }
.device figcaption { padding: 12px 6px 4px; font-size: 13px; color: var(--bv-muted); }
.marquee { display: grid; gap: 6px; margin-top: clamp(48px, 6vw, 88px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-row { display: flex; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .mq-row { animation: mq 46s linear infinite; }
  .mq-row.rev { animation-direction: reverse; animation-duration: 54s; }
  .marquee:hover .mq-row { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .mq-row { flex-wrap: wrap; width: auto; } .mq-row span:nth-child(n+9) { display: none; } }
.mq-row span { padding-right: .55em; font-family: var(--bv-display); font-weight: 700; font-size: clamp(40px, 6.6vw, 104px); line-height: 1.12; letter-spacing: -0.03em; white-space: nowrap; }
.mq-row span:nth-child(even) { color: #7d93c0; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Couleurs ---------- */
@property --tint { syntax: '<color>'; inherits: true; initial-value: #0871E8; }
.conf { --tint: #0871E8; background: radial-gradient(48% 62% at 66% 50%, color-mix(in srgb, var(--tint) 34%, transparent), transparent 72%), var(--bv-bg); transition: --tint .8s ease; }
.conf-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 900px) { .conf-grid { grid-template-columns: 1fr; } .conf-stage { order: -1; } }
.conf-copy { display: grid; gap: 22px; justify-items: start; }
.conf-copy fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 10px; padding: 0; font: 650 12.5px/1 var(--bv-body); letter-spacing: .14em; text-transform: uppercase; color: var(--bv-muted); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bv-chip); border: 1px solid var(--bv-line); }
.seg label { position: relative; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background-color .25s, color .25s; }
.seg input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--bv-fg); color: var(--bv-bg); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--bv-cyan); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.sw { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.sw input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.sw i { width: 24px; height: 24px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); pointer-events: none; }
.sw::after { content: ""; position: absolute; inset: 1px; border-radius: 50%; border: 2px solid transparent; pointer-events: none; transition: border-color .2s; }
.sw:has(input:checked)::after { border-color: var(--bv-fg); }
.sw:has(input:focus-visible)::after { border-color: var(--bv-cyan); }
.conf-summary { display: grid; gap: 4px; }
.conf-summary output { font-family: var(--bv-display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.03em; }
.conf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.conf-stage { position: relative; aspect-ratio: 18 / 14; max-width: 100%; }
.conf-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.97); transition: opacity .55s ease, transform .8s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 36px 50px rgba(0, 0, 0, .35)); }
.conf-stage img.on { opacity: 1; transform: none; }

/* ---------- Support orque ---------- */
.stand { --p: 1; background: var(--bv-bg); }
.stand .pin { display: flex; align-items: center; padding-block: 80px; }
@media (prefers-reduced-motion: no-preference) and (min-width: 861px) {
  .js .stand { --p: 0; height: 230vh; }
  .js .stand .pin { padding-block: 0; }
}
.stand-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .stand-grid { grid-template-columns: 1fr; } }
.stand-copy { display: grid; gap: 18px; justify-items: start; }
.chip { display: inline-block; padding: 7px 13px; border-radius: 999px; background: var(--bv-surface); border: 1px solid var(--bv-line); font-size: 13.5px; font-weight: 600; }
.stand-stage { position: relative; aspect-ratio: 18 / 13; max-width: 100%; }
.stand-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.st-orca { transform: translateX(calc((1 - min(1, var(--p) * 2.2)) * 80%)) rotate(calc((1 - min(1, var(--p) * 2.2)) * -26deg)); opacity: calc(1 - (var(--p) - .55) * 5); }
.st-set { opacity: clamp(0, calc((var(--p) - .55) * 5), 1); transform: translateY(calc((1 - clamp(0, calc((var(--p) - .5) * 3), 1)) * -50px)); }

/* ---------- Connect ---------- */
.connect-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 900px) { .connect-grid { grid-template-columns: 1fr; } }
.connect-copy { display: grid; gap: 18px; justify-items: start; }
.ticks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--bv-accent); transform: translateY(-2px); }
.connect-stage { position: relative; padding: 0 10% 12% 0; }
.dev-phone { position: absolute; right: 0; bottom: 0; width: 31%; margin: 0; padding: 7px; border-radius: 30px; background: #0d1426; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.dev-phone img { width: 100%; aspect-ratio: 540 / 1200; object-fit: cover; border-radius: 24px; }
.bubble { position: absolute; left: 6%; bottom: 2%; max-width: min(320px, 60%); margin: 0; padding: 14px 18px; border-radius: 20px 20px 20px 6px; background: var(--bv-accent); color: var(--bv-accent-ink); font-weight: 650; line-height: 1.35; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .bubble { animation: pop linear both; animation-timeline: view(); animation-range: entry 40% cover 45%; }
  }
}
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.9); } to { opacity: 1; transform: none; } }

/* ---------- Aide et notice ---------- */
.aide-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
@media (max-width: 820px) { .aide-head { grid-template-columns: 1fr; } }
.qr-card { display: flex; align-items: center; gap: 16px; max-width: 380px; padding: 14px 18px 14px 14px; border-radius: var(--bv-r); background: var(--bv-surface); border: 1px solid var(--bv-line); text-decoration: none; }
.qr-card svg { flex: none; width: 92px; height: 92px; border-radius: 8px; }
.qr-card b { display: block; }
.qr-card span { font-size: 14px; color: var(--bv-muted); }
.qr-card code { font: 600 14px ui-monospace, 'Cascadia Mono', Consolas, monospace; color: var(--bv-fg); }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1000px) { .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps4 { grid-template-columns: 1fr; } }
.step { display: grid; grid-template-rows: auto 1fr; height: 100%; overflow: hidden; border-radius: var(--bv-r); background: var(--bv-surface); border: 1px solid var(--bv-line); text-decoration: none; transition: transform .25s, border-color .25s; }
.step:hover { transform: translateY(-4px); border-color: var(--bv-line-strong); }
.step img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.step-body { display: grid; align-content: start; gap: 8px; padding: 16px 18px 20px; }
.step-num { font: 600 12.5px/1 ui-monospace, 'Cascadia Mono', Consolas, monospace; color: var(--bv-cyan); }
.step h3 { font-family: var(--bv-display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; line-height: 1.12; }
.step p { margin: 0; color: var(--bv-muted); font-size: 14.5px; }
.refs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin: 28px 0 0; padding: 0; list-style: none; }
@media (max-width: 1000px) { .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .refs { grid-template-columns: 1fr; } }
.refs a { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--bv-line); text-decoration: none; }
.refs b { display: flex; justify-content: space-between; gap: 10px; }
.refs span { font-size: 14px; color: var(--bv-muted); }

/* ---------- Questions ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
details.qa { border-bottom: 1px solid var(--bv-line); }
.qa summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: clamp(17px, 1.5vw, 20px); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-weight: 500; font-size: 24px; line-height: 1; color: var(--bv-cyan); transition: transform .25s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0 0 20px; max-width: 62ch; color: var(--bv-muted); }
.qa a { color: var(--bv-fg); font-weight: 600; }

/* ---------- Démonstration ---------- */
.cta-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .cta-cards { grid-template-columns: 1fr; } }
.cta-card { display: grid; gap: 10px; align-content: start; justify-items: start; padding: clamp(22px, 3vw, 34px); border-radius: var(--bv-r); background: var(--bv-surface); border: 1px solid var(--bv-line); }
.cta-card h3 { font-family: var(--bv-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; }
.cta-card p { margin: 0 0 8px; color: var(--bv-muted); }
.cta-help { margin: 8px 0 0; color: var(--bv-muted); }
.cta-help a { color: var(--bv-fg); font-weight: 700; }

/* ---------- Film ---------- */
.film { width: min(1100px, 94vw); padding: 0; border: 0; border-radius: 18px; background: #000; color: #fff; overflow: hidden; }
.film::backdrop { background: rgba(1, 6, 18, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (prefers-reduced-motion: no-preference) { .film[open] { animation: zoomIn .35s cubic-bezier(.2, .8, .2, 1); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }
.film video { width: 100%; aspect-ratio: 16 / 10; background: #000; }
.film-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; font-size: 14px; }
.film-bar button { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-weight: 600; cursor: pointer; }

/* ---------- Ouverture de chapitre sur une scène filmée ---------- */
.chapter { padding-block: clamp(72px, 9vw, 136px); }
.chapter-media { position: relative; margin: 0 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.chapter-media video, .chapter-media img { width: 100%; aspect-ratio: 21 / 9; max-height: 80svh; object-fit: cover; object-position: 50% 62%; background: #000; }
.chapter-media figcaption { margin-top: 12px; font-size: 13px; color: var(--bv-muted); text-align: left; }
@media (max-width: 700px) { .chapter-media video, .chapter-media img { aspect-ratio: 4 / 3; object-position: 40% 70%; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .chapter-media video, .chapter-media img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  }
}
.opener { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(88svh, 860px); padding-block: 110px 80px; margin-bottom: clamp(40px, 5vw, 72px); overflow: hidden; }
.opener-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.opener::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 11, 31, .62) 0%, rgba(2, 11, 31, .38) 45%, rgba(2, 11, 31, .78) 82%, var(--bv-bg) 100%); }
.opener .lead { color: #d6e2f5; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .opener-media { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  }
}
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }

/* ---------- Éventail des couleurs (vrais rendus, ouverts au défilement) ---------- */
.fan { --p: 1; padding-block: 80px; background: radial-gradient(60% 60% at 50% 100%, rgba(8, 120, 255, .28), transparent 70%), var(--bv-bg); }
.fan .pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 4vh, 48px); }
@media (prefers-reduced-motion: no-preference) and (min-width: 861px) {
  .js .fan { --p: 0; height: 190vh; padding-block: 0; }
}
.fan-copy { display: grid; justify-items: center; gap: 14px; text-align: center; }
.fan-stage { position: relative; height: clamp(230px, 42vw, 500px); max-height: 52svh; }
.fan-item {
  position: absolute; left: 50%; bottom: 0; width: clamp(200px, 30vw, 400px); height: auto;
  transform-origin: 50% 190%;
  transform: translateX(-50%) rotate(calc((var(--i) - 4.5) * 6.4deg * min(1, var(--p) * 1.35))) translateY(calc((1 - min(1, var(--p) * 1.35)) * 30px));
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45));
}
@media (max-width: 600px) { .fan-item { transform-origin: 50% 230%; } }

/* ---------- Support : scène du soir ---------- */
.stand-life { width: min(100%, 340px); margin: 6px 0 0; }
.stand-life video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: #000; }
.stand-life figcaption { margin-top: 8px; font-size: 13px; color: var(--bv-muted); }

/* ---------- Au quotidien ---------- */
.life-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; list-style: none; }
@media (max-width: 760px) { .life-grid { grid-template-columns: 1fr; } }
.life-card { position: relative; overflow: hidden; border-radius: var(--bv-r); background: #000; }
.life-card video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.life-body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 56px 22px 20px; background: linear-gradient(transparent, rgba(0, 0, 0, .74)); color: #fff; }
.life-body h3 { font-family: var(--bv-display); font-weight: 700; font-size: clamp(19px, 1.8vw, 25px); letter-spacing: -0.03em; line-height: 1.1; }
.life-body p { margin: 0; color: #d8e2f2; font-size: 15px; }

/* ---------- Cartes de démonstration avec image ---------- */
.cta-card { overflow: hidden; }
.cta-img { width: calc(100% + 2 * clamp(22px, 3vw, 34px)); max-width: none; margin: calc(-1 * clamp(22px, 3vw, 34px)) calc(-1 * clamp(22px, 3vw, 34px)) 8px; aspect-ratio: 16 / 8; object-fit: cover; }


/* ---------- Ouvertures à gauche, Connect et appel final ---------- */
.opener--left { justify-items: start; align-items: end; min-height: min(78svh, 760px); padding-block: 96px 56px; }
.opener--left::after { background: linear-gradient(90deg, rgba(4, 18, 44, .94) 0%, rgba(4, 18, 44, .7) 40%, rgba(4, 18, 44, 0) 68%), linear-gradient(180deg, transparent 60%, var(--bv-bg-2) 100%); }
.opener-copy { display: grid; gap: 16px; justify-items: start; }
.opener-copy .sec-title, .opener-copy .lead { max-width: 15ch; }
.opener-copy .lead { max-width: 36ch; color: #d6e2f5; }
.connect { padding-top: 0; }
.connect .opener { margin-bottom: clamp(36px, 5vw, 64px); }
.demo { position: relative; isolation: isolate; overflow: hidden; }
.demo-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: .55; }
.demo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bv-bg) 0%, rgba(2, 11, 31, .5) 30%, rgba(2, 11, 31, .82) 75%, var(--bv-bg) 100%); }
@media (max-width: 760px) { .opener--left::after { background: linear-gradient(180deg, rgba(4, 18, 44, .2) 0%, rgba(4, 18, 44, .9) 70%, var(--bv-bg-2) 100%); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
