/* SnapKey Mapper : page centrée, halos en fond, objets 3D en CSS, aucune librairie.
   Polices : Bricolage Grotesque (titres, hébergée ici, licence OFL), police système pour le texte (toutes langues). */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/bricolage-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/bricolage-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light dark;
  --bg: #F5F8F4;
  --surface: #FFFFFF;
  --glass: rgb(255 255 255 / .66);
  --line: #DBE4DD;
  --line-2: #C3D0C6;
  --ink: #0E1914;
  --muted: #56665E;
  --accent: #0A8A63;
  --accent-2: #128FA8;
  --accent-ink: #FFFFFF;
  --warn: #A35A00;
  --warn-bg: #FFF4E5;
  --code-bg: #EDF2EE;
  --t-mint: #DDF3E8; --t-sky: #DEEBFA; --t-amber: #FCEBD5; --t-rose: #FBE3E7; --t-lilac: #ECE6FB; --t-slate: #E8EDEA;
  --b1: rgb(47 211 154 / .30); --b2: rgb(240 138 62 / .16); --b3: rgb(91 141 239 / .16);
  --grid-op: .32;
  --shadow: 0 1px 2px rgb(14 25 20 / .05), 0 12px 32px -12px rgb(14 25 20 / .18);
  /* Ces teintes restent sombres dans les deux thèmes : terminal, téléphone, appel final */
  --term-bg: #0C1310; --term-ink: #D8F3E5; --term-dim: #7E9A8C;
  --frame: #121815; --final-a: #0B6E50; --final-b: #0C3328; --final-ink: #F0FFF7;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans CJK SC", "Noto Sans JP", "Noto Sans Devanagari", sans-serif;
  --display: "Bricolage Grotesque", var(--sans);
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --wide: 72rem; --narrow: 46rem; --gut: 1.25rem;
  --mx: 0; --my: 0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090E0C;
    --surface: #111915;
    --glass: rgb(17 25 21 / .62);
    --line: #212E28;
    --line-2: #2E3E36;
    --ink: #E7F0EA;
    --muted: #97A99F;
    --accent: #3BD99A;
    --accent-2: #4CC9E0;
    --accent-ink: #04130C;
    --warn: #F2B35A;
    --warn-bg: #2A2114;
    --code-bg: #18221D;
    --t-mint: #12271E; --t-sky: #122133; --t-amber: #2A2012; --t-rose: #2C161B; --t-lilac: #1D1932; --t-slate: #161F1B;
    --b1: rgb(59 217 154 / .14); --b2: rgb(255 160 90 / .07); --b3: rgb(91 141 239 / .10);
    --grid-op: .26;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 16px 40px -16px rgb(0 0 0 / .7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; interpolate-size: allow-keywords; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.0625rem/1.65 var(--sans); overflow-x: clip; }
a { color: var(--accent); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
code, pre { font-family: var(--mono); font-size: .88em; }
code { background: var(--code-bg); padding: .1em .38em; border-radius: 6px; overflow-wrap: anywhere; }
pre { background: var(--code-bg); padding: .9rem 1rem; border-radius: 12px; overflow-x: auto; line-height: 1.5; }
pre code { background: none; padding: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: .5rem .8rem; z-index: 50; }

/* Fond qui vit : halos qui dérivent, trame de points */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; width: 70vmax; aspect-ratio: 1; border-radius: 50%; }
.b1 { background: radial-gradient(closest-side, var(--b1), transparent); top: -30vmax; left: -15vmax; animation: drift1 26s ease-in-out infinite alternate; }
.b2 { background: radial-gradient(closest-side, var(--b2), transparent); top: 10vmax; right: -30vmax; animation: drift2 32s ease-in-out infinite alternate; }
.b3 { background: radial-gradient(closest-side, var(--b3), transparent); bottom: -40vmax; left: 10vmax; animation: drift1 38s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(12vmax, 8vmax, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-14vmax, 10vmax, 0) scale(.9); } }

/* Barre du haut, en verre */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  background: color-mix(in oklab, var(--bg) 72%, transparent); border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent); }
.nav-in { max-width: var(--wide); margin: 0 auto; padding: .7rem var(--gut); display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; font: 700 1.05rem var(--display); color: var(--ink); text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.brand-key { fill: var(--accent); stroke: none; }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; font-size: .95rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: .6rem; }
.lang { position: relative; }
.lang summary { cursor: pointer; list-style: none; color: var(--muted); font-size: .9rem; padding: .3rem .55rem; border: 1px solid var(--line); border-radius: 999px; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: 2.3rem; margin: 0; padding: .4rem 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; min-width: 10rem; box-shadow: var(--shadow); }
.lang li a { display: block; padding: .35rem .9rem; text-decoration: none; color: var(--ink); }
.lang li a[aria-current] { font-weight: 700; color: var(--accent); }
.gh-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.gh-pill svg { width: 17px; height: 17px; }
.gh-pill .star-n::before { content: "★ "; }

/* Sections */
main > section { padding-block: clamp(3.5rem, 9vw, 6.5rem); padding-inline: var(--gut); }
.wide { max-width: calc(var(--wide) + 2 * var(--gut)); margin-inline: auto; }
.narrow { max-width: calc(var(--narrow) + 2 * var(--gut)); margin-inline: auto; }
.kicker { text-align: center; margin: 0 0 .6rem; font: 600 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 1rem; text-align: center; }
h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .35rem; }
.sub { text-align: center; color: var(--muted); max-width: 38rem; margin: 0 auto 2.4rem; font-size: 1.1rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.plug-note { color: var(--muted); font-size: .92rem; margin-top: .7rem; }

/* Hero */
.hero { position: relative; isolation: isolate; text-align: center; padding-top: clamp(2.5rem, 7vw, 5rem) !important; padding-bottom: 1rem !important; max-width: calc(var(--wide) + 2 * var(--gut)); margin-inline: auto; }
.hero-copy { max-width: 50rem; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.4rem; padding: .35rem .9rem; border-radius: 999px; font-size: .88rem; color: var(--muted);
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: beacon 2.4s ease-out infinite; }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.hero h1 { font-size: clamp(2.5rem, 7.4vw, 4.9rem); line-height: 1; letter-spacing: -.03em; font-weight: 750; margin: 0 0 1.1rem; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.say { font: 600 clamp(1.15rem, 2.6vw, 1.45rem)/1.3 var(--display); margin: 0 0 1rem; color: var(--muted); letter-spacing: -.01em; }
.rot { display: inline-block; color: var(--ink); padding: .05em .45em; border-radius: .45em; background: color-mix(in oklab, var(--accent) 14%, transparent); }
.rot.go { animation: swap .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes swap { from { opacity: 0; translate: 0 .45em; filter: blur(6px); } }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 auto 2rem; max-width: 36rem; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 50px; padding: .75rem 1.35rem; border-radius: 14px; font-weight: 650; text-decoration: none; color: var(--ink);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 28px -10px var(--accent), inset 0 1px 0 rgb(255 255 255 / .25); }
.btn.primary:hover { box-shadow: 0 16px 36px -12px var(--accent), inset 0 1px 0 rgb(255 255 255 / .25); }
.btn.ghost { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.stars { font-variant-numeric: tabular-nums; border-left: 1px solid var(--line-2); padding-left: .65rem; margin-left: .1rem; }
.meta { color: color-mix(in oklab, var(--muted) 70%, var(--ink)); font-size: .95rem; margin: .35rem 0 0; }
.live { display: inline-flex; align-items: center; gap: .5rem; margin: 1.1rem 0 0; font-size: .92rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.live strong { color: var(--ink); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: beacon 2.4s ease-out infinite; }

/* Entrée au chargement, reprise d'Audit Greenwashing : fadeUp court, en cascade */
@keyframes fadeUp { from { opacity: 0; translate: 0 12px; } }
.hero-copy > * { animation: fadeUp .6s cubic-bezier(.2, .8, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .07s; } .hero-copy > :nth-child(3) { animation-delay: .14s; } .hero-copy > :nth-child(4) { animation-delay: .21s; }
.hero-copy > :nth-child(5) { animation-delay: .28s; } .hero-copy > :nth-child(6) { animation-delay: .35s; }
.stage { animation: stageIn 1s cubic-bezier(.2, .8, .2, 1) .3s both; }
@keyframes stageIn { from { opacity: 0; translate: 0 28px; scale: .95; } }
@keyframes capIn { from { opacity: 0; scale: .3; } }

/* Grille de fond en dégradé de couleurs, quelques cases qui s'allument */
.gridbg { position: absolute; z-index: -1; top: -4rem; bottom: 0; left: calc(50% - 50vw); width: 100vw; pointer-events: none; overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 50% 58%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 65% 60% at 50% 58%, #000 30%, transparent 78%); }
.gridbg::before { content: ""; position: absolute; inset: 0; opacity: var(--grid-op);
  background: linear-gradient(115deg, #2FD39A, #4CC9E0 35%, #5B8DEF 55%, #F08A3E 80%, #E2557A);
  -webkit-mask: linear-gradient(#000 1px, transparent 1px) center top / 56px 56px, linear-gradient(90deg, #000 1px, transparent 1px) center top / 56px 56px;
  mask: linear-gradient(#000 1px, transparent 1px) center top / 56px 56px, linear-gradient(90deg, #000 1px, transparent 1px) center top / 56px 56px; }
.cell { position: absolute; width: 55px; height: 55px; left: calc(50% - 28px + var(--cx) * 56px + 1px); top: calc(var(--cy) * 56px + 1px); opacity: 0;
  background: linear-gradient(135deg, color-mix(in oklab, var(--c) 55%, transparent), transparent); animation: cell 6s ease-in-out var(--d) infinite; }
@keyframes cell { 0%, 100% { opacity: 0; } 35%, 60% { opacity: .55; } }

/* Scène 3D */
.stage { position: relative; height: clamp(400px, 62vw, 560px); margin-top: 1.5rem; perspective: 1100px; display: grid; place-items: center; }
.floaters { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.phone { position: relative; width: clamp(170px, 34vw, 216px); aspect-ratio: 9 / 19; transform-style: preserve-3d;
  transform: rotateX(calc(10deg - var(--my) * 8deg)) rotateY(calc(26deg + var(--mx) * 16deg)) rotateZ(-3deg);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -12px; } }
.slab, .face { position: absolute; inset: 0; border-radius: 30px; }
.slab { background: color-mix(in oklab, var(--frame) 80%, #6b7d74); }
.s1 { transform: translateZ(-2px); } .s2 { transform: translateZ(-4px); } .s3 { transform: translateZ(-6px); }
.s4 { transform: translateZ(-8px); background: var(--frame); box-shadow: 0 40px 70px -20px rgb(0 0 0 / .45); }
.face { background: var(--frame); padding: 7px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.snapkey { position: absolute; left: -5px; top: 15%; width: 8px; height: 13%; border-radius: 4px; transform: translateZ(-4px);
  background: linear-gradient(180deg, #4BE3A8, #0A8A63); box-shadow: 0 0 18px #2FD39A; }
.ping { position: absolute; left: -26px; top: calc(15% + 6.5% - 22px); width: 44px; height: 44px; border-radius: 50%; border: 2px solid #2FD39A; opacity: 0; transform: translateZ(-4px); }
.snapkey { animation: push .5s ease 1.45s; } .ping { animation: ping .9s ease-out 1.45s; }
.pressed .snapkey { animation: push .5s ease; }
.pressed .ping { animation: ping .9s ease-out; }
@keyframes push { 35% { translate: 3px 0; filter: brightness(1.4); } }
@keyframes ping { 0% { opacity: .9; scale: .4; } 100% { opacity: 0; scale: 1.6; } }
.screen { position: relative; height: 100%; border-radius: 23px; overflow: hidden; padding: 12px 12px; display: flex; flex-direction: column; gap: 14px;
  background: linear-gradient(165deg, #1B3A2E, #0E1A16 55%, #1A2240); color: #EAF5EF; }
.status { display: flex; justify-content: space-between; font: 600 10px var(--sans); opacity: .8; }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: auto; }
.apps i { animation: capIn .45s cubic-bezier(.3, 1.5, .5, 1) .75s both; aspect-ratio: 1; border-radius: 28%; background: hsl(calc(var(--n, 1) * 47deg) 55% 62% / .85); }
.apps i:nth-child(4n+1) { --n: 1; } .apps i:nth-child(4n+2) { --n: 3; } .apps i:nth-child(4n+3) { --n: 5; } .apps i:nth-child(4n) { --n: 7; }
.apps i:nth-child(n+5) { animation-delay: .85s; } .apps i:nth-child(n+9) { animation-delay: .95s; } .apps i:nth-child(n+13) { animation-delay: 1.05s; }
.apps i:nth-child(n+5) { filter: saturate(.7) brightness(.9); } .apps i:nth-child(n+9) { filter: saturate(.5) brightness(.8); }
.launch { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px;
  background: radial-gradient(120% 80% at 0% 10%, color-mix(in oklab, var(--h) 75%, white), var(--h) 45%, color-mix(in oklab, var(--h) 45%, black)); color: #fff;
  transform-origin: 0% 20%; animation: open .6s cubic-bezier(.2, .9, .25, 1) 1.7s both; }
.launch.go { animation: open .6s cubic-bezier(.2, .9, .25, 1); }
@keyframes open { from { scale: .12; opacity: 0; border-radius: 40px; } }
.launch-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgb(255 255 255 / .18); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35); }
.launch-ico svg { width: 34px; height: 34px; stroke-width: 2; }
.launch strong { font: 700 18px var(--display); letter-spacing: -.01em; }
.launch small { font: 11px var(--mono); opacity: .85; overflow-wrap: anywhere; }
.stage-label { position: absolute; left: calc(50% - clamp(170px, 34vw, 216px) - 3.5rem); top: 22%; margin: 0; font: 600 .85rem var(--display); color: var(--accent); text-align: right; }
.stage-label span { display: block; font: 400 .75rem var(--sans); color: var(--muted); }

/* Objets qui flottent : touches extrudées (5 couches) */
.cap { --s: 58px; --d: 30; position: absolute; width: var(--s); height: var(--s); transform-style: preserve-3d;
  translate: calc(var(--mx) * var(--d) * 1px) calc(var(--my) * var(--d) * 1px); transition: translate .8s cubic-bezier(.2, .8, .2, 1);
  animation: float var(--t, 9s) ease-in-out var(--dl, 0s) infinite alternate, capIn .8s cubic-bezier(.3, 1.5, .5, 1) calc(.7s + var(--k, 0) * .09s) both; }
.cap b { position: absolute; inset: 0; border-radius: 30%; background: color-mix(in oklab, var(--h) 62%, black); }
.cap b:nth-child(1) { transform: translateZ(-12px); box-shadow: 0 18px 30px -10px rgb(0 0 0 / .35); }
.cap b:nth-child(2) { transform: translateZ(-9px); } .cap b:nth-child(3) { transform: translateZ(-6px); } .cap b:nth-child(4) { transform: translateZ(-3px); }
.cap b:nth-child(5) { display: grid; place-items: center; color: var(--fg, #fff); background: linear-gradient(150deg, color-mix(in oklab, var(--h) 60%, white), var(--h) 60%);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .6), inset 0 -2px 6px rgb(0 0 0 / .15); }
.cap svg { width: 46%; height: 46%; stroke-width: 2.2; }
@keyframes float { from { transform: rotateX(var(--rx, 20deg)) rotateY(var(--ry, -25deg)) translateY(0); } to { transform: rotateX(calc(var(--rx, 20deg) - 18deg)) rotateY(calc(var(--ry, -25deg) + 30deg)) translateY(-18px); } }
.c1 { --k: 0; left: 8%; top: 8%; --s: 64px; --d: 40; --t: 8s; --rx: 24deg; --ry: 28deg; }
.c2 { --k: 1; right: 9%; top: 14%; --s: 54px; --d: -34; --t: 10s; --dl: -3s; --rx: 16deg; --ry: -30deg; }
.c3 { --k: 2; left: 14%; bottom: 14%; --s: 50px; --d: 26; --t: 11s; --dl: -5s; }
.c4 { --k: 3; right: 15%; bottom: 10%; --s: 60px; --d: -44; --t: 9s; --dl: -2s; --rx: 28deg; --ry: 20deg; }
.c5 { --k: 4; right: 27%; top: 2%; --s: 40px; --d: 18; --t: 12s; --dl: -7s; }
.c6 { --k: 5; left: 27%; top: 64%; --s: 38px; --d: -20; --t: 10s; --dl: -4s; --ry: 34deg; }
.ring { position: absolute; left: 50%; top: 50%; width: min(560px, 92vw); aspect-ratio: 1; margin: calc(min(560px, 92vw) / -2) 0 0 calc(min(560px, 92vw) / -2);
  border-radius: 50%; border: 1.5px dashed var(--line-2); transform: rotateX(72deg) rotateZ(0deg); animation: orbit 60s linear infinite; }
.r2 { width: min(400px, 70vw); margin: calc(min(400px, 70vw) / -2) 0 0 calc(min(400px, 70vw) / -2); border-style: solid; border-color: color-mix(in oklab, var(--accent) 35%, transparent);
  transform: rotateX(66deg) rotateY(-14deg); animation-duration: 40s; animation-direction: reverse; }
@keyframes orbit { to { rotate: z 360deg; } }

/* Bandeau des faits */
.band { padding-block: 1rem 2rem !important; max-width: calc(var(--wide) + 2 * var(--gut)); margin-inline: auto; }
.facts { list-style: none; margin: 0; padding: .6rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: .4rem;
  background: var(--glass); border: 1px solid var(--line); border-radius: 22px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.facts li { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; font-size: .9rem; color: var(--muted); }
.facts li strong { display: block; color: var(--ink); font-size: .98rem; }
.facts svg { width: 26px; height: 26px; flex: none; color: var(--accent); }

/* Grille bento */
.bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; }
.tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: .55rem; min-width: 0; padding: 1.1rem; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(165deg, var(--tint, transparent), transparent 75%); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 0%), color-mix(in oklab, var(--accent) 16%, transparent), transparent 70%); }
.tile:hover { transform: translateY(-4px); border-color: var(--line-2); }
.tile:hover::after { opacity: 1; }
.tile h3 { margin: .2rem 0 0; font-size: 1.12rem; }
.tile p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.tile > code { margin-top: auto; align-self: flex-start; max-width: 100%; font-size: .74rem; padding: .3em .6em; background: color-mix(in oklab, var(--ink) 6%, transparent); border: 1px solid var(--line); border-radius: 8px; }
.tile-top { display: flex; align-items: center; justify-content: space-between; }
.ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--fg, #fff); background: var(--h);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), 0 6px 14px -6px var(--h); }
.ico svg { width: 21px; height: 21px; stroke-width: 2; }
.kind { font-size: .72rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in oklab, var(--muted) 70%, var(--ink)); border: 1px solid var(--line-2); border-radius: 999px; padding: .15rem .55rem; }
.big { grid-column: span 2; grid-row: span 2; }
.w2 { grid-column: span 2; }
.tile.dark { background: radial-gradient(120% 90% at 100% 0%, #123A2B, var(--term-bg) 60%); color: var(--term-ink); border-color: #1F3A2F; }
.tile.dark p { color: var(--term-dim); }
.tile.dark .kind { color: var(--term-dim); border-color: #2A4438; }
.tile.dark > code { background: rgb(255 255 255 / .06); border-color: #2A4438; color: var(--term-ink); }
.tile.dark h3 { font-size: 1.6rem; letter-spacing: -.02em; }

.term { display: grid; gap: .45rem; margin: .6rem 0; padding: 1.1rem; flex: 1; align-content: start; border-radius: 14px; background: rgb(0 0 0 / .35); border: 1px solid #1F3A2F; font: .85rem/1.4 var(--mono); }
.term .l { white-space: nowrap; overflow: hidden; animation: type 9s steps(28, end) infinite both; }
.term b { color: #3BD99A; font-weight: 700; }
.term .l2, .term .l3, .term .l4 { color: var(--term-dim); }
.term .l5 { color: #6FE3B4; }
.l1 { animation-delay: 0s !important; } .l2 { animation-delay: .9s !important; } .l3 { animation-delay: 1.7s !important; } .l4 { animation-delay: 2.5s !important; } .l5 { animation-delay: 3.3s !important; } .l6 { animation-delay: 4.1s !important; }
@keyframes type { 0% { clip-path: inset(0 100% 0 0); } 10%, 88% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
.caret { display: inline-block; width: .55em; height: 1em; vertical-align: -.15em; background: #3BD99A; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }


.viz-route { width: 100%; height: auto; display: block; }
.viz-route .m-land { fill: #EDEFE9; } .viz-route .m-block { fill: #E3E6DF; }
.viz-route .m-park { fill: #C9E6BE; } .viz-route .m-water { fill: none; stroke: #A5CFF5; stroke-width: 15; stroke-linecap: round; }
.viz-route .m-road { fill: none; stroke: #fff; stroke-width: 3.2; }
.viz-route .m-main-case { fill: none; stroke: #F0B84D; stroke-width: 9.5; } .viz-route .m-main { fill: none; stroke: #FDE7A6; stroke-width: 7; }
.viz-route .m-art-case { fill: none; stroke: #D3D6D0; stroke-width: 7; } .viz-route .m-art { fill: none; stroke: #fff; stroke-width: 5; }
.viz-route .m-round-case { fill: #D3D6D0; } .viz-route .m-round { fill: #fff; }
.viz-route .m-route-case { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 4.5s ease-in-out infinite; }
.viz-route .m-route { fill: none; stroke: #4285F4; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 4.5s ease-in-out infinite; }
.viz-route .m-a { fill: #fff; stroke: #4285F4; stroke-width: 3.4; }
.viz-route .m-car { fill: #fff; stroke: #1A57C8; stroke-width: 2; offset-distance: 0%; animation: drive 4.5s ease-in-out infinite; }
.viz-route .m-pin { fill: #EA4335; stroke: #fff; stroke-width: 1.2; transform-box: fill-box; transform-origin: 50% 100%; animation: pop 4.5s ease-in-out infinite; }
.viz-route .m-pin-dot { fill: #fff; }
.viz-route .m-land, .viz-route .m-block, .viz-route .m-park, .viz-route .m-round, .viz-route .m-round-case, .viz-route .m-pin-dot { stroke: none; }

@media (prefers-color-scheme: dark) {
  .viz-route .m-land { fill: #1B2430; } .viz-route .m-block { fill: #202B38; } .viz-route .m-park { fill: #1E3A32; }
  .viz-route .m-water { stroke: #1A3350; } .viz-route .m-road { stroke: #2E3B4C; }
  .viz-route .m-main-case { stroke: #4A3B1E; } .viz-route .m-main { stroke: #7A6330; }
  .viz-route .m-art-case { stroke: #121A24; } .viz-route .m-art { stroke: #34455A; }
  .viz-route .m-round-case { fill: #121A24; } .viz-route .m-round { fill: #34455A; }
  .viz-route .m-route-case { stroke: #0C1218; } .viz-route .m-route { stroke: #6FA3FF; }
  .viz-route .m-a { fill: #0C1218; stroke: #6FA3FF; } .viz-route .m-car { fill: #0C1218; stroke: #6FA3FF; }
  .viz-route .m-pin { stroke: #0C1218; }
}
@keyframes draw { 62%, 100% { stroke-dashoffset: 0; } }
@keyframes drive { 62%, 100% { offset-distance: 100%; } }
@keyframes pop { 0%, 55% { scale: 0; } 72% { scale: 1.25; } 82%, 100% { scale: 1; } }

.eq { display: flex; align-items: flex-end; gap: 5px; height: 46px; }
.eq i { width: 8px; height: 100%; border-radius: 4px; background: #E2557A; transform-origin: bottom; animation: eq 1.1s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.4s; } .eq i:nth-child(3) { animation-delay: -.8s; } .eq i:nth-child(4) { animation-delay: -.2s; } .eq i:nth-child(5) { animation-delay: -.6s; }
@keyframes eq { from { scale: 1 .2; } to { scale: 1 1; } }

.rec { display: flex; align-items: center; gap: .6rem; font: 600 .9rem var(--display); color: #E2702A; }
.rec i { width: 22px; height: 22px; border-radius: 50%; background: #F08A3E; animation: rec 1.8s ease-out infinite; }
@keyframes rec { 0% { box-shadow: 0 0 0 0 rgb(240 138 62 / .55); } 100% { box-shadow: 0 0 0 14px rgb(240 138 62 / 0); } }

.lines { display: grid; gap: 7px; padding-block: .3rem; }
.lines i { height: 8px; border-radius: 4px; background: color-mix(in oklab, #4E9C7E 55%, transparent); transform-origin: left; animation: write 5s ease-in-out infinite both; }
.lines i:nth-child(1) { width: 92%; } .lines i:nth-child(2) { width: 74%; animation-delay: .5s; } .lines i:nth-child(3) { width: 48%; animation-delay: 1s; }
@keyframes write { 0% { scale: 0 1; } 25%, 85% { scale: 1 1; } 100% { scale: 1 1; opacity: 0; } }

.viz-clock { width: 58px; height: 58px; }
.viz-clock circle { stroke: var(--line-2); stroke-width: 3; }
.viz-clock path { stroke: var(--ink); stroke-width: 3; transform-origin: 30px 30px; }
.viz-clock .mh { animation: spin 6s linear infinite; } .viz-clock .hh { animation: spin 72s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

.toggles { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .88rem; color: var(--muted); }
.toggles span { display: inline-flex; align-items: center; gap: .5rem; }
.sw { position: relative; width: 36px; height: 21px; border-radius: 999px; background: var(--line-2); animation: swbg 4s ease-in-out infinite; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .3); animation: knob 4s ease-in-out infinite; }
.sw.on { background: #2FA37A; animation: none; } .sw.on::after { translate: 15px 0; animation: none; }
@keyframes swbg { 40%, 90% { background: #2FA37A; } }
@keyframes knob { 40%, 90% { translate: 15px 0; } }

.flow { display: flex; align-items: center; gap: 0; padding-block: .3rem; }
.flow i { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid #8B6CF0; flex: none; background: var(--surface); }
.flow b { position: relative; flex: 1; height: 2px; background: color-mix(in oklab, #8B6CF0 35%, transparent); overflow: hidden; }
.flow b::after { content: ""; position: absolute; top: -2px; left: 0; width: 22px; height: 6px; border-radius: 3px; background: #8B6CF0; animation: run 2s linear infinite; }
.flow b:nth-of-type(2)::after { animation-delay: 1s; }
@keyframes run { from { left: -22px; } to { left: 100%; } }

.bubbles { display: grid; gap: 6px; }
.bubbles i { height: 18px; border-radius: 10px; animation: bub 4s ease-out infinite both; }
.bubbles i:nth-child(1) { width: 70%; background: var(--line-2); border-bottom-left-radius: 3px; }
.bubbles i:nth-child(2) { width: 55%; justify-self: end; background: #25B865; border-bottom-right-radius: 3px; animation-delay: .7s; }
@keyframes bub { 0% { scale: .3; opacity: 0; } 12%, 85% { scale: 1; opacity: 1; } 100% { opacity: 0; } }

.minigrid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; margin-top: auto; }
.minigrid i { aspect-ratio: 1; border-radius: 30%; background: hsl(calc(var(--n, 1) * 36deg) 50% 60% / .55); animation: hl 5s ease-in-out infinite; }
.minigrid i:nth-child(1) { --n: 1; } .minigrid i:nth-child(2) { --n: 2; animation-delay: .5s; } .minigrid i:nth-child(3) { --n: 3; animation-delay: 1s; } .minigrid i:nth-child(4) { --n: 4; animation-delay: 1.5s; }
.minigrid i:nth-child(5) { --n: 5; animation-delay: 2s; } .minigrid i:nth-child(6) { --n: 6; animation-delay: 2.5s; } .minigrid i:nth-child(7) { --n: 7; animation-delay: 3s; }
.minigrid i:nth-child(8) { --n: 8; animation-delay: 3.5s; } .minigrid i:nth-child(9) { --n: 9; animation-delay: 4s; } .minigrid i:nth-child(10) { --n: 10; animation-delay: 4.5s; }
@keyframes hl { 0%, 12%, 100% { scale: 1; } 6% { scale: 1.25; box-shadow: 0 0 0 2px var(--accent); } }

/* Claude Code : texte et console */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem; align-items: center; }
.split-copy .kicker, .split-copy h2 { text-align: left; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: color-mix(in oklab, var(--accent) 16%, transparent); }
.ticks li::after { content: ""; position: absolute; left: .42rem; top: .42em; width: .35rem; height: .6rem; border: solid var(--accent); border-width: 0 2px 2px 0; rotate: 45deg; }
/* Captures de l'appli (bibliothèque) */
.appshots { display: flex; gap: .9rem; justify-content: center; align-items: flex-start; }
.appshots img { width: min(46%, 250px); height: auto; border-radius: 26px; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: var(--card, #fff); }
.appshots img + img { margin-top: 2rem; }
.console { min-width: 0; border-radius: 22px; overflow: hidden; background: var(--term-bg); color: var(--term-ink); border: 1px solid #1F3A2F;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .55), 0 0 0 6px color-mix(in oklab, var(--accent) 10%, transparent); }
.console-bar { display: flex; align-items: center; gap: 7px; padding: .7rem 1rem; border-bottom: 1px solid #1F3A2F; font: .8rem var(--mono); color: var(--term-dim); }
.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2A4438; }
.console-bar span { margin-left: .5rem; }
.console-body { padding: 1.1rem; font: .9rem/1.55 var(--mono); display: grid; gap: .75rem; }
.console-body p { margin: 0; }
.console-body .you { justify-self: end; max-width: 85%; padding: .6rem .85rem; border-radius: 14px 14px 4px 14px; background: #1C3329; font-family: var(--sans); }
.console-body .cl { color: var(--term-dim); }
.console-body .cl::before { content: "● "; color: #3BD99A; }
.console-body pre { margin: 0; background: rgb(0 0 0 / .35); color: #A9EDCB; font-size: .8rem; }
.console-body .out code { display: inline-block; background: rgb(59 217 154 / .14); color: #6FE3B4; padding: .35rem .6rem; }

.plug-label { margin: 1.2rem 0 .4rem; font-weight: 600; font-size: .95rem; }
.plug { margin: 0; font-size: .82rem; }

/* Installer sans crainte */
.checks { list-style: none; counter-reset: chk; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .7rem; }
.checks li { counter-increment: chk; position: relative; padding: 1rem 1.1rem 1rem 3.2rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.checks li::before { content: counter(chk); position: absolute; left: 1rem; top: 1rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--accent); font: 700 .85rem var(--display); }
.cando { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: .8rem; margin-bottom: 1rem; }
.cando > div { padding: 1.1rem 1.2rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.cando ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.cando li { position: relative; padding-left: 1.6rem; }
.cando > div:first-child li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.cando > div:last-child li::before { content: "✕"; position: absolute; left: 0; color: var(--warn); font-weight: 700; }

/* Gestes */
.gestures, .cards { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.gestures li, .cards li { min-width: 0; padding: 1.3rem; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.gestures p, .cards p { margin: 0; color: var(--muted); font-size: .95rem; }
.g { display: flex; align-items: center; gap: 6px; height: 34px; margin-bottom: .9rem; }
.g i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); animation: tap 2.4s ease-in-out infinite; }
.g-double i:nth-child(2) { animation-delay: .25s; }
.g-long i { width: 100%; max-width: 120px; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--accent) 50%, var(--line) 50%) 100% 0 / 200% 100%; animation: hold 2.4s ease-in-out infinite; }
@keyframes tap { 0%, 30%, 100% { scale: 1; opacity: .35; } 12% { scale: 1.35; opacity: 1; } }
@keyframes hold { 0%, 10% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }
.cards svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: .7rem; }

/* Pourquoi */
.narrow > p { margin: 0 0 1rem; }

/* Étapes : frise */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.2rem; position: relative; }
.steps { --p: 1; }
.js .steps { --p: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 1.05rem; top: .5rem; width: 2px; border-radius: 2px; }
.steps::before { bottom: .5rem; background: var(--line); }
.steps::after { height: calc((100% - 1rem) * var(--p)); background: linear-gradient(var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--accent); }
.steps > li { counter-increment: step; position: relative; min-width: 0; margin-left: 3rem; padding: 1.2rem 1.25rem 1.3rem; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.steps > li::before { content: counter(step); position: absolute; left: -3rem; top: 1rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font: 700 1rem var(--display); box-shadow: 0 0 0 5px var(--bg); transition: scale .5s cubic-bezier(.3, 1.5, .5, 1) .15s, box-shadow .5s .15s; }
.js .steps > li[data-r]::before { scale: .6; }
.js .steps > li.in::before { scale: 1; box-shadow: 0 0 0 5px var(--bg), 0 0 0 10px color-mix(in oklab, var(--accent) 22%, transparent); }
.steps p { margin: .5rem 0 0; }
.shot { margin: 1rem auto 0; max-width: 220px; }
.shot img, .shot .ph { border-radius: 22px; border: 1px solid var(--line); }
.shot .ph { aspect-ratio: 9 / 19; display: grid; place-items: center; text-align: center; padding: 1rem; color: var(--muted); font-size: .88rem;
  background: repeating-linear-gradient(135deg, transparent 0 12px, var(--code-bg) 12px 24px); }
.note { background: var(--warn-bg); border: 1px solid var(--warn); border-radius: 16px; padding: .9rem 1rem; margin: 2.6rem 0 0; }
.note strong { color: var(--warn); }

/* Tableau */
.table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 600; font-size: .85rem; }
.st { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .82rem; background: var(--code-bg); color: var(--muted); }
.st.ok { background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--accent); font-weight: 600; }

/* FAQ, ouverture douce là où le navigateur le permet */
.faq details { margin: 0 0 .6rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.4rem/1 var(--display); color: var(--accent); transition: rotate .3s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details > div { padding: 0 1.15rem 1rem; color: var(--muted); }
.faq details > div p { margin: 0; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* Formulaire d'histoires */
.story { display: grid; gap: .45rem; padding: 1.4rem; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.story label { font-weight: 600; font-size: .92rem; margin-top: .5rem; }
.story .opt { font-weight: 400; color: var(--muted); }
.story input, .story select, .story textarea { width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: .7rem .85rem; }
.story input:focus, .story select:focus, .story textarea:focus { outline: 3px solid color-mix(in oklab, var(--accent) 35%, transparent); border-color: var(--accent); }
.story-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: .8rem; }
.story-row > div { display: grid; gap: .45rem; }
.story .btn { justify-self: start; margin-top: .9rem; border: 0; cursor: pointer; font: inherit; font-weight: 650; }
.story p { margin: .2rem 0 0; }

/* Appel final */
.final { max-width: calc(var(--wide) + 2 * var(--gut)); margin-inline: auto; }
.final-card { position: relative; overflow: hidden; text-align: center; padding: clamp(3rem, 8vw, 5rem) 1.5rem; border-radius: 32px; color: var(--final-ink); perspective: 800px;
  background: radial-gradient(80% 120% at 50% 0%, var(--final-a), var(--final-b)); }
.final-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgb(255 255 255 / .09) 1px, transparent 1.4px) 0 0 / 20px 20px; pointer-events: none; }
.final-card h2 { color: var(--final-ink); }
.final-card p { margin: 0 0 1.8rem; opacity: .8; }
.final-card .btn.primary { background: var(--final-ink); color: var(--final-b); box-shadow: 0 12px 30px -12px rgb(0 0 0 / .6); }
.final-card .btn.ghost { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .2); color: var(--final-ink); }
.final-card .stars { border-color: rgb(255 255 255 / .3); }
.c7 { position: relative; display: block; margin: 0 auto 1.6rem; --s: 72px; --d: 0; --t: 6s; }

footer { max-width: var(--narrow); margin: 0 auto; padding: 2rem var(--gut) 3rem; font-size: .9rem; color: var(--muted); text-align: center; }
footer ul { list-style: none; padding: 0; margin: .8rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; }

/* Apparitions au défilement : glissement court et fondu rapide, en cascade (script en bas de page) */
.js [data-r] { opacity: 0; translate: 0 18px; }
.js .tile[data-r] { scale: .97; }
.js [data-r="side"] { translate: -32px 0; }
.js [data-r].in { opacity: 1; translate: none; scale: none;
  transition: opacity .45s ease-out calc(var(--i, 0) * 70ms), translate .6s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 70ms), scale .6s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 70ms), transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s; }
.js [data-r="side"].in { transition-duration: .35s, .5s, .5s, .35s, .35s; }

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3.5rem; }
}
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .big { grid-row: auto; }
  .stage-label { display: none; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .bento { gap: 10px; }
  .tile { padding: .95rem; border-radius: 20px; }
  .tile:not(.big):not(.w2):not(.txt) p { display: none; }
  .tile h3 { font-size: 1rem; }
  .tile.dark h3 { font-size: 1.35rem; }
  .c3, .c6 { display: none; }
  .c1 { --k: 0; left: 2%; top: 4%; --s: 50px; } .c2 { --k: 1; right: 3%; top: 10%; --s: 44px; } .c4 { --k: 3; right: 4%; bottom: 8%; --s: 48px; } .c5 { --k: 4; right: 26%; top: 0; }
  .steps::before, .steps::after { left: .85rem; }
  .steps > li { margin-left: 2.4rem; }
  .steps > li::before { left: -2.55rem; width: 1.8rem; height: 1.8rem; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .viz-route .m-route, .viz-route .m-route-case { stroke-dashoffset: 0; }
  .viz-route .m-car { offset-distance: 100%; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-r] { opacity: 1; translate: none; scale: none; }
}
.brands { display: flex; gap: .4rem; margin: .2rem 0 .3rem; }
.brands span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--fg, #fff); background: var(--h); }
.brands svg { width: 18px; height: 18px; }

/* v7 */
details.more { margin: 1rem 0 0; }
details.more summary { cursor: pointer; font-weight: 650; color: var(--accent); min-height: 44px; display: flex; align-items: center; }
details.more[open] summary { margin-bottom: .2rem; }
.dl-pill { display: none; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .9rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 650; font-size: .92rem; text-decoration: none; }
.dl-pill svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .past-hero .dl-pill { display: inline-flex; }
  .past-hero .gh-pill, .past-hero .lang { display: none; }
  .steps { --n: 2.1rem; }
  .steps::before, .steps::after { left: .95rem; }
  .steps > li { margin-left: 2.8rem; }
  .steps > li::before { left: -2.8rem; width: 2.1rem; height: 2.1rem; font-size: 1rem; }
}
@media (min-width: 900px) {
  .steps { margin-left: -1.5rem; margin-right: 1.5rem; }
}
@media (min-width: 1000px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 2rem; text-align: left; padding-top: 3rem !important; }
  .hero-copy { max-width: none; margin: 0; }
  .hero h1 { font-size: clamp(2.8rem, 4.5vw, 4.2rem); }
  .hero .lead { margin-left: 0; }
  .hero .ctas { justify-content: flex-start; }
  .hero .stage { margin-top: 0; height: 520px; }
}
.steps pre { white-space: pre-wrap; overflow-wrap: anywhere; }

mark { background: color-mix(in oklab, var(--accent) 22%, transparent); color: inherit; border-radius: 4px; padding: 0 .2em; }
.copybox { position: relative; min-width: 0; }
.copybox > code, .copybox > pre { display: block; padding-right: 2.6rem; }
.copybox > .out, .copybox > p { margin: 0; }
.copy-ico { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.copy-ico:hover { background: color-mix(in oklab, var(--ink) 9%, transparent); color: var(--ink); }
.copy-ico:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.copy-ico.ok { color: var(--accent); }
.copy-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.console .copy-ico { color: var(--term-dim); }
.console .copy-ico:hover { color: var(--term-ink); background: rgb(255 255 255 / .1); }
.tile > .copybox { margin-top: auto; align-self: flex-start; max-width: 100%; }
.tile .copybox > code { margin: 0; font-size: .74rem; padding: .3em 2.4rem .3em .6em; background: color-mix(in oklab, var(--ink) 6%, transparent); border: 1px solid var(--line); border-radius: 8px; }
.tile .copy-ico { top: 3px; width: 28px; height: 28px; right: 3px; }
.console-body .out .copybox { display: inline-block; max-width: 100%; }
#setup .note { margin-top: 2.8rem; }
@media (min-width: 900px) { #setup .note { margin-inline: 2.3rem; } }
@media (max-width: 640px) {
  /* in the compatibility table the pill is replaced by plain text that wraps */
  td .st, td .st.ok { display: inline; padding: 0; border-radius: 0; background: none; font-size: .9rem; white-space: normal; }
}
.console-body .out .copybox > code { display: block; padding-right: 2.6rem; }
.console-body .copybox > pre { white-space: pre-wrap; overflow-wrap: anywhere; }

/* Languages: long words break cleanly, Devanagari and Chinese get their own spacing */
:lang(de), :lang(nl) { hyphens: auto; overflow-wrap: break-word; }
:lang(hi), :lang(zh) { letter-spacing: 0; }
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0; line-height: 1.3; }
:lang(hi) body, :lang(hi) p, :lang(hi) li { line-height: 1.75; }
:lang(zh) { line-break: strict; word-break: normal; }
:lang(zh) p, :lang(zh) li { line-height: 1.8; }

/* Bandeau de consentement (vanilla-cookieconsent) aux couleurs du site ; Refuser et Accepter ont exactement le même style */
#cc-main { --cc-font-family: var(--sans); --cc-bg: var(--surface); --cc-primary-color: var(--ink); --cc-secondary-color: var(--muted);
  --cc-btn-primary-bg: var(--accent); --cc-btn-primary-color: var(--accent-ink); --cc-btn-primary-border-color: var(--accent);
  --cc-btn-primary-hover-bg: var(--accent); --cc-btn-primary-hover-color: var(--accent-ink); --cc-btn-primary-hover-border-color: var(--ink);
  --cc-btn-secondary-bg: var(--accent); --cc-btn-secondary-color: var(--accent-ink); --cc-btn-secondary-border-color: var(--accent);
  --cc-btn-secondary-hover-bg: var(--accent); --cc-btn-secondary-hover-color: var(--accent-ink); --cc-btn-secondary-hover-border-color: var(--ink);
  --cc-separator-border-color: var(--line); --cc-link-color: var(--accent); --cc-modal-border-radius: 14px; --cc-btn-border-radius: 10px; }
#cc-main .cm { border: 1px solid var(--line-2); box-shadow: var(--shadow); }

/* Lien « Gérer les cookies » du pied de page : un bouton qui a l'allure d'un lien */
.cc-reopen { font: inherit; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }
html:not(.js) .cc-reopen { display: none; }

/* Page 404 (styles sortis de la page pour la politique CSP) */
.nf { min-height: 100svh; display: grid; place-content: center; text-align: center; gap: 1rem; padding: 2rem; }
.nf h1 { font-family: var(--display); font-size: clamp(3rem, 12vw, 6rem); margin: 0; letter-spacing: -.03em; color: var(--accent); }
.nf p { margin: 0; color: var(--muted); }
.checks code { overflow-wrap: anywhere; }
