/* Piko — site. Mêmes couleurs et mêmes polices que l'app (Sources/Theme.swift). */
@font-face { font-family: Gantari; font-weight: 400; src: url(fonts/Gantari-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Gantari; font-weight: 500; src: url(fonts/Gantari-Medium.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Gantari; font-weight: 600; src: url(fonts/Gantari-SemiBold.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Gantari; font-weight: 700; src: url(fonts/Gantari-Bold.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Gantari; font-weight: 800; src: url(fonts/Gantari-ExtraBold.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Erica One"; src: url(fonts/EricaOne-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; src: url(fonts/JetBrainsMono-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; src: url(fonts/JetBrainsMono-Bold.woff2) format("woff2"); font-display: swap; }

:root {
  --sans: Gantari, -apple-system, BlinkMacSystemFont, sans-serif; --display: "Erica One", Gantari, sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --base: #ff5e1a; --mid: #ff8b47; --light: #ffc98a; --soft: #ffc299; --dark: #a82c06; --deep: #4d1e0a; --abyss: #261006; --rgb: 255 94 26;
  --bg: #0a0a0e; --panel: #131317; --card: #191920; --field: #101015; --fg: #fff; --text: #c6c6d2; --muted: #9a9aa9; --line: rgb(255 255 255 / .1); --wash: rgb(255 255 255 / .06); --shadow: rgb(0 0 0 / .5);
  --accent-text: var(--soft);
}
[data-accent="rose"] { --base: #ff3385; --mid: #ff6bae; --light: #ffb3d4; --soft: #ffaed1; --dark: #a31252; --deep: #4a0e2a; --abyss: #260917; --rgb: 255 51 133; }
[data-accent="blue"] { --base: #2f7bff; --mid: #639eff; --light: #a6c8ff; --soft: #a6c8ff; --dark: #1242a8; --deep: #0e2554; --abyss: #09142b; --rgb: 47 123 255; }
[data-accent="mint"] { --base: #16d18a; --mid: #4fe8ad; --light: #9ff7d2; --soft: #9cf5d1; --dark: #087a4f; --deep: #0b3d2a; --abyss: #072117; --rgb: 22 209 138; }
[data-theme="light"] { --bg: #f5f5f8; --panel: #fff; --card: #fff; --field: #f2f2f6; --fg: #141416; --text: #3c3c48; --muted: #62626f; --line: rgb(20 20 22 / .12); --wash: rgb(20 20 22 / .05); --shadow: rgb(42 28 20 / .16); --accent-text: #a83a0c; }
[data-theme="light"][data-accent="rose"] { --accent-text: #b01358; } [data-theme="light"][data-accent="blue"] { --accent-text: #1650bd; } [data-theme="light"][data-accent="mint"] { --accent-text: #08704a; }

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
[data-theme="light"] { color-scheme: light; }
body { font: 500 17px/1.6 var(--sans); color: var(--text); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; transition: background .3s, color .3s; }
img, video { display: block; max-width: 100%; height: auto; }
canvas { display: block; width: 100%; height: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--base); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
h1, h2 { font: 800 1em/1.08 var(--sans); letter-spacing: -.035em; color: var(--fg); text-wrap: balance; }
h2 { font-size: clamp(28px, 4.1vw, 54px); }
.title-sticker {
  position: relative;
  display: inline-block;
  margin-inline: .04em;
  color: var(--base);
  font: 400 1em/1 var(--display);
  letter-spacing: -.012em;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-text-stroke: .15em #141416;
  paint-order: stroke fill;
  filter: drop-shadow(.04em 0 0 #fff) drop-shadow(-.04em 0 0 #fff)
    drop-shadow(0 .04em 0 #fff) drop-shadow(0 -.04em 0 #fff)
    drop-shadow(0 .075em .055em rgb(0 0 0 / .24));
  transform: rotate(-2deg);
  transform-origin: 50% 70%;
}
@supports (background-clip: text) {
  .title-sticker[data-flame-text]::after {
    content: attr(data-flame-text) / "";
    position: absolute;
    inset: 0;
    color: transparent;
    -webkit-text-stroke: 0;
    background: var(--flame-gradient);
    background-clip: text;
    pointer-events: none;
  }
}
@media (forced-colors: active) {
  .title-sticker { color: CanvasText; -webkit-text-stroke: 0; filter: none; }
  .title-sticker[data-flame-text]::after { content: none; }
}
h3 { font: 800 21px/1.25 var(--sans); color: var(--fg); text-wrap: balance; }
p { text-wrap: pretty; } strong { color: var(--fg); font-weight: 700; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 60ch; }
section { padding: clamp(38px, 4.5vw, 66px) 0; position: relative; }
kbd { font: 700 12px/1 var(--mono); color: var(--accent-text); background: var(--field); border: 1px solid rgb(var(--rgb) / .5); border-radius: 8px; padding: 5px 8px; display: inline-block; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 90; background: var(--base); color: #141416; padding: 10px 16px; border-radius: 10px; font-weight: 700; } .skip:focus { top: 12px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 99px; font-weight: 800; font-size: 16.5px; text-decoration: none; white-space: nowrap; transition: transform .25s cubic-bezier(.2,1.4,.4,1), box-shadow .25s, background .2s; }
.btn:hover { transform: translateY(-2px); } .btn:active { transform: translateY(0) scale(.98); }
.btn.main { color: #141416; background: radial-gradient(circle at 35% 20%, var(--light), var(--base) 62%); box-shadow: 0 10px 34px rgb(var(--rgb) / .42), inset 0 1px 0 rgb(255 255 255 / .55); }
.btn.main:hover { box-shadow: 0 16px 44px rgb(var(--rgb) / .55), inset 0 1px 0 rgb(255 255 255 / .55); }
.btn.ghost { color: var(--fg); background: var(--wash); border: 1px solid var(--line); } .btn.ghost:hover { border-color: rgb(var(--rgb) / .6); }
.btn svg { width: 19px; height: 19px; flex: none; }

/* Navigation */
.nav { position: fixed; z-index: 60; top: 16px; left: 50%; translate: -50% 0; width: min(1120px, 100% - 32px); height: 66px; padding: 0 12px 0 16px; display: flex; align-items: center; gap: 22px; border-radius: 99px; background: color-mix(in srgb, var(--panel) 84%, transparent); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 14px 40px var(--shadow); }
.nav .brand { width: 124px; aspect-ratio: 660/261; flex: none; }
.nav .links { display: flex; gap: 24px; margin-inline: auto; font-weight: 600; font-size: 15px; } .nav .links a { text-decoration: none; color: var(--text); padding: 8px 0; } .nav .links a:hover { color: var(--fg); }
.dots { display: flex; gap: 2px; } .dots button { width: 28px; height: 32px; display: grid; place-items: center; } .dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); transition: box-shadow .2s, transform .2s; } .dots .on i { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--fg); } .dots button:hover i { transform: scale(1.12); }
.ctl { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 12.5px var(--mono); color: var(--fg); background: var(--wash); border: 1px solid var(--line); flex: none; } .ctl svg { width: 17px; height: 17px; } .ctl:hover { border-color: rgb(var(--rgb) / .6); }
.nav .btn { height: 44px; padding: 0 20px; font-size: 15px; }
.nav .btn.main { background-color: var(--base); background-image: var(--flame-gradient, none); }

/* Le panneau éditorial suit le thème, face à la scène Avora. */
.hero {
  --ink: var(--fg);
  --hero-paper: #000;
  --split: 56%;
  --pad: clamp(20px, 3.4vw, 64px);
  --pal-size: clamp(185px, min(23vw, 36svh), 350px);
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(940px, 100svh);
  padding: 116px 0 clamp(48px, 8svh, 80px);
  overflow: clip;
  color: var(--ink);
  background: linear-gradient(90deg, var(--hero-paper) var(--split), #000 var(--split));
}
[data-theme="light"] .hero { --hero-paper: var(--bg); }
.hero-title {
  position: relative;
  z-index: 2;
  width: var(--split);
  padding-inline: var(--pad);
  color: var(--ink);
  font-size: min(90px, calc((56cqw - 2 * var(--pad)) / 8.3));
  line-height: 1.02;
  text-wrap: nowrap;
}
.hero-title > span { display: block; }
.hero .copy { position: relative; z-index: 2; width: min(33vw, 470px); margin: clamp(26px, 4svh, 42px) var(--pad) 0; }
.hero .lead { max-width: 39ch; margin-bottom: 22px; color: var(--ink); font-weight: 600; font-size: clamp(16px, 1.35vw, 20px); }
.hero .fine { margin-top: 12px; color: var(--ink); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { margin-top: 18px; font-size: 15px; color: var(--muted); }
.hero .btn.ink { background: var(--ink); color: var(--hero-paper); box-shadow: 0 14px 34px rgb(0 0 0 / .3); }
.hero .btn.ink:hover { box-shadow: 0 20px 44px rgb(0 0 0 / .42); }
.hero .btn.line { color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--ink); }
.hero .btn.line:hover { background: var(--ink); color: var(--hero-paper); }
.hero .copy :focus-visible { outline-color: var(--ink); }

.hero-scene { position: absolute; inset: 0; }
.hero .art { position: absolute; inset: 0 0 0 var(--split); overflow: hidden; background: #000; }
.hero .film {
  position: absolute;
  left: 55%;
  top: 50%;
  width: min(100%, 66svh);
  aspect-ratio: 9 / 16;
  translate: -50% -50%;
}
.hero .film > * { position: absolute; }
.hero .flat, .hero .chrome {
  left: 50%;
  top: 50%;
  width: 76%;
  height: auto;
  translate: -50% -50%;
}
.hero .film-poster, .hero .film video { inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero .flat, .hero .chrome, .hero .film-poster, .hero .film video { opacity: 0; transition: opacity .65s ease; }
.hero-scene[data-frame="flat"] .flat,
.hero-scene[data-frame="chrome"] .chrome,
.hero-scene[data-frame="film"] .film-poster,
.hero-scene[data-frame="final"] .film-poster,
.hero-scene[data-frame="film"][data-video-ready] video { opacity: 1; }
.hero-annotation {
  --pin-size: 34px;
  --note-offset: calc(var(--pin-size) / 2 + 9px);
  position: absolute;
  z-index: 4;
  display: none;
  pointer-events: none;
}
.hero-annotation[data-point] { display: block; animation: hero-point-in .3s ease-out both; }
.hero-annotation[data-point="1"] { left: 32%; top: 32%; }
.hero-annotation[data-point="2"] { left: 73%; top: 41%; }
.hero-annotation[data-point="3"] { left: 72%; top: 75%; }
.hero-pin {
  position: absolute;
  left: 0;
  top: 0;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: var(--pin-size);
  height: var(--pin-size);
  color: #141416;
  background: radial-gradient(circle at 30% 25%, var(--light), var(--base));
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 4px;
  font: 800 15px/1 var(--sans);
  box-shadow: 0 0 14px rgb(var(--rgb) / .56), 0 3px 8px rgb(0 0 0 / .55);
}
.hero-comment {
  position: absolute;
  left: var(--note-offset);
  top: 0;
  translate: 0 -50%;
  width: clamp(134px, 42cqw, 212px);
  padding: 10px 12px;
  border-radius: 13px;
  border: 1px solid color-mix(in srgb, var(--base) 64%, #fff);
  background: #141416;
  color: #fff;
  box-shadow: 0 6px 20px rgb(0 0 0 / .55);
  font: 700 clamp(13px, 1.12vw, 16px)/1.32 var(--sans);
}
.hero-annotation:is([data-point="2"], [data-point="3"]) .hero-comment { left: auto; right: var(--note-offset); }
@keyframes hero-point-in { from { opacity: 0; transform: translateY(5px); } }
.hero-credit {
  position: absolute;
  z-index: 1;
  left: clamp(24px, 3.2vw, 52px);
  bottom: clamp(22px, 3.5svh, 36px);
  display: grid;
  gap: 2px;
  color: #b7b7bf;
  font: 500 13px/1.35 var(--sans);
}
.hero-credit b { color: #fff; font-size: 15px; }

.hero .pal {
  position: absolute;
  z-index: 3;
  left: calc(var(--split) - var(--pal-size) * .67);
  bottom: clamp(24px, 6svh, 76px);
  width: var(--pal-size);
  aspect-ratio: 1;
  pointer-events: none;
  filter: drop-shadow(0 18px 22px rgb(0 0 0 / .34));
}
.hero-play:not([hidden]) {
  position: absolute;
  z-index: 4;
  right: var(--pad);
  bottom: clamp(18px, 3svh, 32px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: #141416;
  border: 1px solid rgb(255 255 255 / .35);
  touch-action: manipulation;
  transition: border-color .2s, background .2s;
}
.hero-play:hover { background: #262628; border-color: #fff; }
.hero-play svg { width: 20px; height: 20px; }
.hero-play svg path { display: none; }
.hero-play[data-action="pause"] .pause-icon,
.hero-play[data-action="play"] .play-icon,
.hero-play[data-action="replay"] .replay-icon { display: block; }

/* Démo */
.demo { padding-top: clamp(32px, 4vw, 48px); } .demo .stagew { width: min(100%, max(720px, (100svh - 230px) * 1.54)); margin-inline: auto; } .demo .head { display: grid; grid-template-columns: 1fr minmax(260px, 400px); gap: 40px; align-items: end; margin-bottom: 34px; }
.mac { position: relative; border-radius: 20px; overflow: hidden; background: #1b1b1d; aspect-ratio: 3024/1964; border: 1px solid rgb(255 255 255 / .14); box-shadow: 0 50px 120px rgb(0 0 0 / .5), 0 0 110px rgb(var(--rgb) / .2); color: #fff; font-family: var(--sans); container-type: inline-size; user-select: none; -webkit-user-select: none; }
.mac .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s; } .mac .shot.on { opacity: 1; }
.mac .live { position: absolute; left: 44.43%; top: 24.1%; width: 11.42%; height: 31.2%; object-fit: cover; opacity: 0; transition: opacity .6s; background: #000; z-index: 3; } .mac .live.on { opacity: 1; }
.mac .dim { position: absolute; inset: 0; background: rgb(0 0 0 / .16); border: .28cqw solid rgb(var(--rgb) / .95); border-radius: 20px; box-shadow: inset 0 0 4cqw rgb(var(--rgb) / .5); opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 3; } .mac.annot .dim { opacity: 1; }
.mac .flash { position: absolute; inset: 0; z-index: 8; background: #fff; opacity: 0; pointer-events: none; } .mac .flash.go { animation: flash .55s; } @keyframes flash { 20% { opacity: .55; } }
.cursor { position: absolute; width: 2.1cqw; min-width: 18px; left: 60%; top: 70%; z-index: 9; opacity: 0; transition: left .95s cubic-bezier(.5,0,.2,1), top .95s cubic-bezier(.5,0,.2,1), opacity .3s; filter: drop-shadow(0 2px 4px rgb(0 0 0 / .5)); pointer-events: none; } .cursor.on { opacity: 1; } .cursor.tap { animation: tap .3s; } @keyframes tap { 50% { transform: scale(.8); } }
.pin { position: absolute; z-index: 5; width: 34px; height: 34px; border-radius: 17px 17px 17px 3px; display: grid; place-items: center; font: 800 15px var(--sans); color: #131317; background: radial-gradient(circle at 35% 30%, var(--light), var(--base) 62%, var(--dark)); border: 2px solid #fff; box-shadow: 0 0 20px rgb(var(--rgb) / .9), 0 3px 8px rgb(0 0 0 / .5); transform: translate(0, -100%) scale(0); transform-origin: 0 100%; transition: transform .45s cubic-bezier(.2,1.6,.4,1); } .pin.on { transform: translate(0, -100%) scale(1); }
.note { position: absolute; z-index: 6; width: min(300px, 46cqw); padding: 14px; border-radius: 20px; background: linear-gradient(#131317, #141419 68%, var(--abyss) 90%, var(--deep)); border: 1.5px solid rgb(var(--rgb) / .6); box-shadow: 0 14px 34px rgb(0 0 0 / .55), 0 0 28px rgb(var(--rgb) / .25); opacity: 0; transform: translateY(8px) scale(.96); transition: .3s cubic-bezier(.2,1.2,.4,1); pointer-events: none; } .note.on { opacity: 1; transform: none; } .note p { min-height: 42px; font: 500 14.5px/1.45 var(--sans); color: #fff; } .note .pt { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font: 700 10.5px var(--mono); color: var(--soft); } .note .ok { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--rgb) / .22); color: var(--mid); font-size: 12px; }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1.05em; vertical-align: -.15em; margin-left: 1px; background: var(--base); animation: caret .9s steps(1) infinite; } @keyframes caret { 50% { opacity: 0; } }
.bar { position: absolute; left: 50%; bottom: 4%; width: min(600px, 80cqw); scale: .84; transform-origin: 50% 100%; z-index: 4; transform: translate(-50%, 30px); opacity: 0; transition: .45s cubic-bezier(.2,1.1,.4,1); pointer-events: none; } .mac.annot .bar { opacity: 1; transform: translate(-50%, 0); } .bar .m { width: 88px; height: 88px; margin: 0 auto -20px; position: relative; z-index: 1; }
.bar .in { padding: 15px; border-radius: 26px; background: linear-gradient(#131317, #141419 68%, var(--abyss) 92%, var(--deep)); border: 1px solid rgb(255 255 255 / .16); box-shadow: 0 16px 44px rgb(0 0 0 / .6), 0 0 36px rgb(var(--rgb) / .22); } .bar .row { display: flex; align-items: center; gap: 10px; } .bar .row + .row { margin-top: 11px; } .bar .ph { flex: 1; font: 500 14px var(--sans); color: rgb(255 255 255 / .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bar .send { height: 38px; padding: 0 17px; border-radius: 99px; display: grid; place-items: center; font: 800 13.5px var(--sans); color: #131317; background: radial-gradient(circle at 35% 30%, var(--light), var(--base) 70%); box-shadow: 0 0 22px rgb(var(--rgb) / .6); transition: transform .2s; } .bar .send.press { transform: scale(.92); }
.chip { height: 24px; padding: 0 10px; border-radius: 99px; display: inline-flex; align-items: center; gap: 5px; font: 600 11.5px var(--sans); color: #d4d4df; background: rgb(255 255 255 / .08); white-space: nowrap; } .chip.on { font-weight: 800; color: #fff; background: rgb(var(--rgb) / .26); box-shadow: inset 0 0 0 1px rgb(var(--rgb) / .5); } .bar .pts { margin-left: auto; font: 700 10.5px var(--mono); color: var(--soft); white-space: nowrap; }

/* Pop-up de Piko, comme dans l'app */
.pop { position: absolute; z-index: 7; right: 1.8%; bottom: 3%; width: 380px; height: 520px; scale: .7; transform-origin: 100% 100%; padding-top: 74px; opacity: 0; transform: translateY(26px) scale(.96); transition: .55s cubic-bezier(.2,1.15,.35,1); pointer-events: none; } .pop.on { opacity: 1; transform: none; } .pop > .m { position: absolute; left: 50%; top: 0; width: 100px; height: 100px; margin-left: -50px; z-index: 2; }
.pop .box { position: relative; overflow: hidden; height: 100%; border-radius: 28px; background: #121217; border: 1px solid rgb(255 255 255 / .15); box-shadow: 0 24px 60px rgb(0 0 0 / .62), 0 0 44px rgb(var(--rgb) / .22); display: flex; flex-direction: column; padding: 14px 17px 17px; }
.pop .box::before { content: ""; position: absolute; inset: 0; background: linear-gradient(176deg, #0e0e12 8%, #121217 56%, var(--abyss) 80%, var(--dark) 95%, var(--base) 103%); background-size: 100% 130%; animation: drift 9s ease-in-out infinite alternate; } @keyframes drift { to { background-position: 0 100%; } } .pop .box::after { content: ""; position: absolute; width: 110%; height: 46%; left: -30%; bottom: -26%; background: radial-gradient(closest-side, rgb(var(--rgb) / .5), transparent); animation: glowx 8s ease-in-out infinite alternate; pointer-events: none; } @keyframes glowx { to { left: 26%; opacity: .6; } } .pop .box > * { position: relative; z-index: 1; }
.pop .tools { display: flex; gap: 6px; } .pop .tools i { width: 24px; height: 24px; border-radius: 50%; background: rgb(255 255 255 / .07); display: grid; place-items: center; font: 600 13px/1 var(--sans); font-style: normal; color: #a8a8b6; } .pop .tools i:nth-child(3) { margin-left: auto; }
.hw { margin-top: 11px; height: 56px; border-radius: 99px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: linear-gradient(100deg, #0c0c10 10%, #121217 36%, var(--dark) 64%, var(--base) 88%, var(--light) 106%); border: 2px solid rgb(var(--rgb) / .4); font: 700 10px/1.35 var(--mono); flex: none; } .hw b { display: flex; align-items: center; gap: 6px; } .hw b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mid); } .hw.run b::before { animation: caret .8s infinite; } .hw span { color: rgb(255 255 255 / .6); display: block; } .hw .r { text-align: right; text-transform: uppercase; white-space: nowrap; } .hw .r em { display: block; font: 800 17px/1.1 var(--sans); } .hw > div:first-child { min-width: 0; } .hw > div:first-child * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gauge { height: 6px; border-radius: 9px; margin-top: 9px; background: var(--abyss); overflow: hidden; flex: none; opacity: 0; transition: opacity .3s; } .gauge.on { opacity: 1; } .gauge i { display: block; height: 100%; width: 72%; border-radius: 9px; background: repeating-linear-gradient(115deg, rgb(0 0 0 / .25) 0 7px, transparent 7px 14px), linear-gradient(90deg, var(--dark), var(--base), var(--light)); animation: stripe .7s linear infinite, grow 3.4s ease-in-out infinite alternate; } @keyframes stripe { to { background-position: 15.4px 0, 0 0; } } @keyframes grow { from { width: 46%; } to { width: 90%; } }
.talk { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 11px; padding: 12px 0; -webkit-mask: linear-gradient(transparent, #000 26px); mask: linear-gradient(transparent, #000 26px); } .talk > * { animation: rise .42s cubic-bezier(.2,1.1,.4,1) both; flex: none; } @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.thumb { width: 118px; height: 74px; border-radius: 14px; overflow: hidden; border: 1.5px solid rgb(var(--rgb) / .7); position: relative; } .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; } .thumb s { position: absolute; left: 6px; bottom: 6px; text-decoration: none; font: 700 9.5px/17px var(--mono); padding: 0 7px; border-radius: 99px; background: rgb(10 10 13 / .82); }
.me { align-self: flex-start; max-width: 88%; padding: 10px 14px; border-radius: 18px 18px 18px 5px; background: #23232c; border: 1px solid rgb(255 255 255 / .12); font: 500 14px/1.42 var(--sans); color: #fff; }
.steps { padding: 11px 14px; border-radius: 17px; background: rgb(10 10 13 / .6); border: 1px solid rgb(255 255 255 / .1); font: 700 11px/1.75 var(--mono); color: #e4e4ee; } .steps div { display: flex; gap: 8px; animation: rise .35s both; } .steps div::before { content: "›"; color: var(--mid); width: 9px; } .steps div.ok::before { content: "✓"; } .steps div span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ans { padding: 13px 15px; border-radius: 17px; background: rgb(10 10 13 / .55); border: 1px solid rgb(255 255 255 / .1); font: 500 14px/1.45 var(--sans); } .ans small { display: block; font: 700 10px var(--mono); color: #9a9aa8; margin-bottom: 6px; }
.keep { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 15px; border-radius: 17px; background: rgb(10 10 13 / .55); border: 1px solid rgb(255 255 255 / .1); font: 700 13px var(--sans); } .keep b { height: 27px; padding: 0 14px; border-radius: 99px; display: inline-grid; place-items: center; background: var(--base); color: #fff; font-weight: 800; box-shadow: 0 0 16px rgb(var(--rgb) / .5); } [data-accent="mint"] .keep b, [data-accent="orange"] .keep b { color: #131317; }
.ask { display: flex; align-items: center; gap: 8px; padding: 7px; min-height: 48px; border-radius: 24px; background: rgb(10 10 13 / .8); border: 1px solid rgb(255 255 255 / .22); font: 500 13.5px/1.35 var(--sans); flex: none; } .ask .v { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--rgb) / .2); color: var(--mid); flex: none; } .ask .v svg { width: 16px; } .ask p { flex: 1; min-width: 0; color: rgb(255 255 255 / .78); } .ask p.typed { color: #fff; } .ask .go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, var(--light), var(--base) 62%, var(--dark)); color: #131317; font: 800 16px var(--sans); flex: none; opacity: .5; transition: .2s; } .ask.ready .go { opacity: 1; box-shadow: 0 0 18px rgb(var(--rgb) / .8); } .ask .go.press { transform: scale(.88); }

.chap { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 10px; margin-top: 18px; align-items: stretch; } .chap button.c { position: relative; overflow: hidden; text-align: left; padding: 14px 18px 16px; border-radius: 18px; background: var(--wash); border: 1px solid transparent; font-weight: 700; font-size: 15.5px; line-height: 1.3; color: var(--muted); transition: .2s; } .chap button.c small { display: block; font: 700 11.5px var(--mono); margin-bottom: 4px; } .chap button.c.on { color: var(--fg); background: rgb(var(--rgb) / .14); border-color: rgb(var(--rgb) / .4); } .chap button.c.on small { color: var(--accent-text); } .chap button.c:hover { color: var(--fg); } .chap .c i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 0; background: var(--base); } .chap .ctl { width: 56px; height: auto; border-radius: 18px; } .proof { margin-top: 16px; font-size: 14.5px; color: var(--muted); }

/* Avant / après */
.result .wrap { container-type: inline-size; }
.result .grid {
  --frame-gap: clamp(24px, 7vw, 2cm);
  --frame-height: min(600px, 76svh, calc((100cqw - var(--frame-gap)) * 16 / 25));
  --story-width: calc(var(--frame-height) * 9 / 16);
  display: grid;
  grid-template-columns: var(--frame-height) var(--story-width);
  justify-content: center;
  align-items: start;
  gap: var(--frame-gap);
  margin-top: 46px;
}
.ba { position: relative; height: var(--frame-height); border-radius: 30px; overflow: hidden; background: #000; border: 1px solid var(--line); --x: 50%; touch-action: pan-y; } .ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; } .ba .after { clip-path: inset(0 0 0 var(--x)); } .ba .bar2 { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: var(--base); box-shadow: 0 0 24px rgb(var(--rgb) / .9); pointer-events: none; } .ba .grip { position: absolute; left: var(--x); top: 50%; width: 92px; height: 92px; translate: -50% -50%; pointer-events: none; } .ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; } .ba:focus-within { outline: 2.5px solid var(--base); outline-offset: 3px; } .ba .tag { position: absolute; bottom: 18px; font: 800 14px var(--sans); padding: 8px 15px; border-radius: 99px; background: rgb(10 10 13 / .8); border: 1px solid rgb(255 255 255 / .16); color: #fff; pointer-events: none; } .ba .tag.l { left: 18px; } .ba .tag.r { right: 18px; }
.story-result { width: var(--story-width); }
.phone { position: relative; height: var(--frame-height); border-radius: clamp(28px, 6cqw, 46px); padding: 10px; background: #1d1d21; border: 1px solid rgb(255 255 255 / .2); box-shadow: 0 40px 90px var(--shadow), 0 0 80px rgb(var(--rgb) / .2); } .phone .scr { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #000; } .phone video { width: 100%; height: 100%; object-fit: contain; } .phone .snd { position: absolute; right: 14px; bottom: 16px; background: rgb(20 20 24 / .7); border-color: rgb(255 255 255 / .2); color: #fff; width: 44px; height: 44px; backdrop-filter: blur(10px); } .cap { text-align: center; margin-top: 20px; font-size: 15.5px; color: var(--muted); }

/* Compagnon */
.comp { background: linear-gradient(transparent, rgb(var(--rgb) / .07) 30%, rgb(var(--rgb) / .07) 70%, transparent); } .comp .head { max-width: 820px; } .comp .lead { margin-top: 20px; } .life { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; margin-top: 30px; } .life .big { width: min(500px, 100%); aspect-ratio: 1; margin-inline: auto; } .life .list { display: grid; } .life .list button { text-align: left; padding: 18px 0 18px 22px; border-left: 3px solid var(--line); transition: .25s; color: var(--muted); } .life .list b { display: block; font: 800 21px/1.25 var(--sans); } .life .list span { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s; } .life .list span > em { font-style: normal; overflow: hidden; } .life .list .on { border-color: var(--base); color: var(--text); } .life .list .on b { color: var(--fg); } .life .list .on span { grid-template-rows: 1fr; } .life .list button:hover b { color: var(--fg); }
.pill3 { display: grid; gap: 0; margin-top: clamp(60px, 7vw, 110px); } .pill3 > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px 60px; padding: 34px 0; border-top: 1px solid var(--line); align-items: baseline; } .pill3 h3 { font: 400 clamp(24px, 2.7vw, 36px)/1.08 var(--display); text-transform: uppercase; }

/* Duo texte + vraie fenêtre */
.duo { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 80px); align-items: center; } .duo.rev { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); } .win { border-radius: 24px; box-shadow: 0 40px 90px var(--shadow), 0 0 80px rgb(var(--rgb) / .14); width: 100%; height: auto; } .duo .lead { margin: 20px 0 26px; } .flow { list-style: none; padding: 0; display: grid; gap: 18px; counter-reset: f; } .flow li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; counter-increment: f; } .flow li::before { content: counter(f); width: 34px; height: 34px; border-radius: 17px 17px 17px 3px; display: grid; place-items: center; font: 800 15px var(--sans); color: #131317; background: radial-gradient(circle at 35% 30%, var(--light), var(--base) 70%); } .apps { margin-top: 64px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); } .apps div { display: flex; width: max-content; animation: slide 46s linear infinite; } .apps span { font: 400 clamp(26px, 3.2vw, 44px)/1.5 var(--display); text-transform: uppercase; color: var(--fg); opacity: .9; padding-right: 54px; white-space: nowrap; } .apps span:nth-child(even) { color: var(--base); } .apps:hover div { animation-play-state: paused; } @keyframes slide { to { transform: translateX(-50%); } }

/* Suivi */
.follow .grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 46px; } .tile { grid-column: span 2; padding: 28px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; } .tile p { margin-top: 10px; } .tile.w3 { grid-column: span 3; } .tile.hot { background: linear-gradient(165deg, var(--card) 40%, color-mix(in srgb, var(--base) 24%, var(--card))); } .queue { display: grid; gap: 8px; margin-top: 22px; } .queue div { display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 15px; background: var(--wash); color: var(--fg); font-weight: 600; font-size: 15px; } .queue i { width: 9px; height: 9px; border-radius: 50%; background: var(--base); flex: none; } .queue div + div i { background: none; border: 2px solid var(--muted); } .mini { display: flex; align-items: center; gap: 24px; margin-top: 16px; min-height: 200px; } .mini .m { width: 172px; height: 172px; flex: none; } .mini b { color: var(--accent-text); }

/* Texte surligné */
.lens { padding: clamp(20px, 3vw, 34px); border-radius: 30px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 70px var(--shadow); } .lens .acts { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 24px; background: linear-gradient(var(--panel), color-mix(in srgb, var(--base) 9%, var(--panel))); border: 1px solid var(--line); width: max-content; max-width: 100%; } .lens .acts button { height: 40px; padding: 0 16px; border-radius: 99px; font-weight: 700; font-size: 15px; color: var(--fg); } .lens .acts button.on { background: rgb(var(--rgb) / .22); box-shadow: inset 0 0 0 1px rgb(var(--rgb) / .5); } .lens blockquote { margin: 22px 0; font-size: 18px; line-height: 1.7; } .lens mark { background: rgb(var(--rgb) / .26); color: var(--fg); border-radius: 5px; padding: 3px 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; } .lens .out { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 18px; border-radius: 22px; background: var(--field); min-height: 132px; align-items: start; } .lens .out .m { width: 54px; height: 54px; } .lens .out b { color: var(--fg); display: block; } .lens .out p { color: var(--text); }

/* Icônes */
.icons .stage { margin-top: 44px; text-align: center; } .icons .pick { width: 210px; height: 210px; margin: 0 auto; transition: transform .4s cubic-bezier(.2,1.5,.4,1); filter: drop-shadow(0 26px 40px var(--shadow)); } .icons .pick.hop { transform: translateY(-16px) scale(1.05); } .icons .nm { font-weight: 800; font-size: 19px; color: var(--fg); margin: 6px 0 24px; } .dock { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; width: min(900px, 100%); margin-inline: auto; padding: 14px; border-radius: 30px; background: color-mix(in srgb, var(--panel) 70%, transparent); border: 1px solid var(--line); backdrop-filter: blur(16px); } .dock button { border-radius: 20px; padding: 3px; transition: transform .25s cubic-bezier(.2,1.4,.4,1); transform-origin: 50% 100%; } .dock button:hover { transform: scale(1.22) translateY(-5px); z-index: 2; } .dock .on { box-shadow: inset 0 0 0 2.5px var(--base); } .dock img { width: 100%; height: auto; } .hues { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; } .hues button { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 12px; border-radius: 99px; background: var(--wash); border: 1px solid transparent; font-weight: 700; font-size: 15px; color: var(--fg); } .hues i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); } .hues .on { border-color: rgb(var(--rgb) / .6); background: rgb(var(--rgb) / .14); }
.extras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 30px; } .extras div { padding: 18px 0; border-top: 1px solid var(--line); } .extras p { margin-top: 3px; font-size: 16px; }

/* Agents, FAQ, fin */
.agents .names { display: flex; flex-wrap: wrap; gap: 4px 34px; margin: 34px 0 26px; font: 400 clamp(26px, 3.7vw, 50px)/1.25 var(--display); text-transform: uppercase; color: var(--fg); } .agents .names span:nth-child(3n+1) { color: var(--base); }
.faq details { border-top: 1px solid var(--line); } .faq details:last-child { border-bottom: 1px solid var(--line); } .faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font: 800 20px/1.3 var(--sans); color: var(--fg); position: relative; } .faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: "+"; position: absolute; right: 8px; top: 16px; font: 500 32px/1.3 var(--sans); color: var(--base); transition: rotate .25s; } .faq [open] summary::after { rotate: 45deg; } .faq details p { padding: 0 44px 26px 0; max-width: 72ch; } .faq .two { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 40px 80px; align-items: start; }
.end { padding-bottom: clamp(24px, 3vw, 42px); } .end .boxed { text-align: center; padding: clamp(50px, 7vw, 92px) 24px; border-radius: 44px; background: linear-gradient(176deg, #131317 30%, var(--abyss) 64%, var(--dark) 92%, var(--base) 108%); color: #e2e2ea; border: 1px solid rgb(255 255 255 / .13); overflow: hidden; } .end h2 { color: #fff; margin: 26px auto 14px; max-width: 16ch; } .end .logo { width: min(330px, 76%); aspect-ratio: 660/547; margin: 0 auto; } .end .cta { justify-content: center; margin-top: 30px; } .end .ghost { color: #fff; border-color: rgb(255 255 255 / .22); background: rgb(255 255 255 / .08); } .end .fine { color: rgb(255 255 255 / .82); }
footer { padding: 34px 0 50px; font-size: 15px; color: var(--muted); } footer .wrap { display: flex; align-items: center; gap: 18px 34px; flex-wrap: wrap; } footer a.brand { width: 130px; height: 51.4px; padding: 0; flex: none; } footer nav { display: flex; gap: 24px; margin-left: auto; flex-wrap: wrap; } footer a { text-decoration: none; padding: 8px 0; } footer a:hover { color: var(--fg); } footer a.brand { padding: 0; }
.buddy { position: fixed; right: 18px; bottom: 14px; z-index: 50; width: 92px; height: 92px; transition: transform .3s cubic-bezier(.2,1.5,.4,1); filter: drop-shadow(0 10px 18px rgb(0 0 0 / .35)); } .buddy:hover { transform: scale(1.1); } .buddy[hidden] { display: none; }
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1); } .js .rv.in { opacity: 1; transform: none; }
[data-lang="en"] .only-fr, [data-lang="fr"] .only-en { display: none !important; } [data-theme="light"] .only-dark, [data-theme="dark"] .only-light { display: none !important; }

@media (max-width: 1000px) {
  .nav .links { display: none; } .nav .dots { margin-left: auto; } .demo .head, .life, .duo, .duo.rev, .faq .two { grid-template-columns: minmax(0, 1fr); } .duo.rev > :first-child { order: 2; } .tile, .tile.w3 { grid-column: span 3; } .follow .grid .tile:last-child { grid-column: 1 / -1; } .pill3 > div { grid-template-columns: 1fr; } .life .big { width: min(340px, 84%); }
}
@media (max-width: 760px) {
  .result .grid {
    --frame-height: min(100cqw, 480px);
    grid-template-columns: var(--frame-height);
    justify-items: center;
  }
  .wrap { width: calc(100% - 36px); } .nav { gap: 8px; height: 60px; padding-left: 12px; } .nav .brand { width: 98px; } .nav .btn { display: none; } .dots button { width: 24px; } .cta .btn { width: 100%; }
  .mac { aspect-ratio: auto; height: 640px; border-radius: 22px; } .mac .shot { height: 250px; object-position: 38% 50%; } .mac .shot.ae { object-position: 40% 22%; } .mac .shot { inset: 0 0 auto; } .mac .live { display: none; } .mac .dim { height: 250px; border-radius: 22px 22px 0 0; border-width: 3px; inset: 0 0 auto; } .mac .flash { height: 250px; inset: 0 0 auto; } .bar { width: calc(100% - 28px); bottom: 22px; scale: 1; } .bar .m { width: 80px; height: 80px; } .bar .chip:nth-child(n+3) { display: none; } .note { width: 240px; } .pop { left: 12px; right: 12px; width: auto; top: 222px; bottom: auto; height: 404px; padding-top: 58px; scale: 1; } .pop > .m { width: 84px; height: 84px; margin-left: -42px; } .pop .box { border-radius: 24px; } .thumb { width: 116px; height: 70px; } .cursor { min-width: 22px; }
  .chap { grid-template-columns: 1fr 1fr; } .chap .ctl { grid-column: 1 / -1; width: 100%; height: 48px; } .chap button.c { font-size: 14.5px; padding: 12px 14px 14px; } .follow .grid { grid-template-columns: 1fr; } .tile, .tile.w3, .follow .grid .tile:last-child { grid-column: 1; } .dock { grid-template-columns: repeat(6, 1fr); } .extras { grid-template-columns: 1fr; } .buddy { display: none; } footer nav { margin-left: 0; } .ba .grip { width: 72px; height: 72px; }
}
@media (max-width: 1000px) {
  .hero { --pal-size: clamp(135px, 40vw, 295px); min-height: 0; padding: 108px 0 0; background: var(--hero-paper); }
  .hero-title { width: 100%; font-size: min(70px, calc((100cqw - 2 * var(--pad)) / 8.3)); }
  .hero .copy { width: auto; margin: 22px var(--pad) 32px; }
  .hero .lead { max-width: 52ch; }
  .hero-scene { position: relative; height: clamp(285px, 90vw, 580px); background: #000; }
  .hero .art { inset: 0; }
  .hero .film { width: min(83%, 520px); left: 63%; }
  .hero .pal { left: 2%; bottom: 3%; }
  .hero-credit { left: auto; right: calc(var(--pad) + 60px); bottom: 20px; text-align: right; }
}
@media (max-width: 480px) {
  .hero .cta { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; }
  .hero .cta .btn { width: 100%; height: 48px; padding: 0 8px; gap: 6px; font-size: clamp(13px, 3.65vw, 15px); }
  .hero .cta svg { width: 15px; height: 15px; }
  .hero-annotation { --pin-size: 26px; }
  .hero-pin { font-size: 13px; }
  .hero-comment { width: clamp(134px, 42cqw, 165px); padding: 8px 10px; }
  .hero-annotation[data-point="3"] { left: 43%; top: 70%; }
  .hero-annotation[data-point="3"] .hero-comment { left: var(--note-offset); right: auto; }
}
@media (max-width: 355px) {
  .hero .cta { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .js .rv { opacity: 1; transform: none; } }
