/* VDR — site public, version 2 (style « page produit » : grands titres, sections pleine largeur, tuiles).
   Chargée après app.css, sans site.css. Polices système uniquement, aucune ressource externe. */
:root {
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f5f5f7; --ink: #1d1d1f; --ink-2: #6e6e73; --ink-3: #86868b; --line: #d2d2d7;
  --tile: #f5f5f7; --tile-2: #ffffff;
  --night: #000000; --night-2: #161617; --night-3: #1d1d1f; --night-ink: #f5f5f7; --night-ink-2: #a1a1a6; --night-line: #333336;
  --link: #0a7d70;
  --grad: linear-gradient(90deg, #2cc4b0 0%, #3aa6ff 55%, #8b7dff 100%);
  --gnav: rgba(22, 22, 23, .8); --gnav-ink: #e8e8ed;
  --lnav: rgba(255, 255, 255, .72);
  --r-xl: 28px; --r-lg: 18px;
  --f-disp: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Inter, Roboto, Arial, sans-serif;
  --f-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Inter, Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --surface: #161617; --surface-2: #1d1d1f; --ink: #f5f5f7; --ink-2: #a1a1a6; --ink-3: #86868b; --line: #424245;
    --tile: #161617; --tile-2: #1d1d1f; --link: #2cc4b0; --lnav: rgba(22, 22, 23, .72);
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --surface: #161617; --surface-2: #1d1d1f; --ink: #f5f5f7; --ink-2: #a1a1a6; --ink-3: #86868b; --line: #424245;
  --tile: #161617; --tile-2: #1d1d1f; --link: #2cc4b0; --lnav: rgba(22, 22, 23, .72);
}

body.v2 { background: var(--bg); color: var(--ink); font: 400 17px/1.47 var(--f-text); letter-spacing: -.022em; -webkit-font-smoothing: antialiased; }
.v2 a { color: var(--link); text-decoration: none; }
.v2 a:hover { text-decoration: underline; }
.v2 h1, .v2 h2, .v2 h3 { font-family: var(--f-disp); color: inherit; }
.w { max-width: 980px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* ---------- Barre globale ---------- */
.gnav { position: sticky; top: 0; z-index: 30; height: 44px; background: var(--gnav); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.gnav-in { max-width: 1024px; height: 44px; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gnav-logo { display: inline-flex; width: 22px; height: 44px; align-items: center; opacity: .92; }
.gnav-logo:hover { opacity: 1; }
.gnav-logo svg { width: 20px; height: 20px; }
.gnav-links { display: flex; flex: 1; justify-content: space-evenly; max-width: 760px; }
.v2 .gnav-links a { color: var(--gnav-ink); font-size: 12px; letter-spacing: -.01em; opacity: .8; padding: 0 8px; line-height: 44px; transition: opacity .2s; }
.v2 .gnav-links a:hover, .v2 .gnav-links a[aria-current] { opacity: 1; text-decoration: none; }
.gnav-theme, .gnav-toggle { background: none; border: 0; color: var(--gnav-ink); opacity: .8; cursor: pointer; padding: 6px; display: inline-flex; border-radius: 6px; }
.gnav-theme:hover, .gnav-toggle:hover { opacity: 1; }
.gnav-theme svg, .gnav-toggle svg { width: 16px; height: 16px; }
.gnav-toggle { display: none; }

/* ---------- Barre produit ---------- */
.lnav { position: sticky; top: 44px; z-index: 29; height: 52px; background: var(--lnav); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.lnav-in { max-width: 1024px; height: 52px; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.v2 .lnav-title { color: var(--ink); font: 600 21px/1 var(--f-disp); letter-spacing: .011em; }
.v2 .lnav-title:hover { text-decoration: none; }
.lnav-act { display: flex; align-items: center; gap: 22px; }
.v2 .lnav-link { color: var(--ink); font-size: 12px; opacity: .85; }

/* ---------- Boutons et liens ---------- */
.v2 .pill { display: inline-block; background: var(--link); color: #fff; border-radius: 980px; padding: 11px 22px; font-size: 17px; line-height: 1.18; letter-spacing: -.022em; border: 1px solid transparent; transition: filter .2s, transform .2s; }
.v2 .pill:hover { text-decoration: none; filter: brightness(1.1); }
.v2 .pill:active { transform: scale(.98); }
.v2 .pill.sm { padding: 4px 12px; font-size: 12px; }
.v2 .pill.lg { padding: 14px 28px; font-size: 18px; }
.v2 .more { font-size: 17px; }
.v2 .more::after { content: "\00a0›"; display: inline-block; transition: transform .2s; }
.v2 .more:hover::after { transform: translateX(3px); }
.ctas { display: flex; gap: 26px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Typographie ---------- */
.kicker { font: 600 21px/1.2 var(--f-disp); letter-spacing: .01em; margin: 0 0 6px; color: var(--ink); }
.hero2 h1 { font-size: clamp(44px, 8vw, 88px); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; margin: 0 0 18px; }
.huge { font-size: clamp(40px, 7vw, 80px); line-height: 1.05; font-weight: 700; letter-spacing: -.035em; margin: 0 0 16px; }
.big { font-size: clamp(32px, 5vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -.03em; margin: 0 0 18px; }
.sub { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.38; font-weight: 500; letter-spacing: .005em; color: var(--ink-2); max-width: 34em; margin: 0 0 8px; }
.sub.left { margin-left: 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dim { color: var(--ink-3); }
.note { color: var(--ink-2); font-size: 14px; margin-top: 28px; }

/* ---------- Sections ---------- */
.plain, .soft, .night, .tiles, .stats, .final { padding: clamp(72px, 10vw, 140px) 0; }
.soft { background: var(--tile); }
.night { background: var(--night); color: var(--night-ink); }
.night .sub, .night .dim { color: var(--night-ink-2); }
.night a { color: #2cc4b0; }
.final { background: var(--tile); }

/* ---------- Héros ---------- */
.hero2 { text-align: center; padding: clamp(56px, 9vw, 110px) 0 0; background: var(--tile); overflow: hidden; }
.hero2.short { padding-bottom: clamp(56px, 8vw, 100px); }
.hero2.dark { background: var(--night); color: var(--night-ink); }
.hero2.dark .kicker { color: var(--night-ink); }
.hero2.dark .sub { color: var(--night-ink-2); }
.hero2 .sub { margin: 0 auto; }
.chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.v2 .chips a { padding: 8px 16px; border-radius: 980px; background: var(--tile-2); color: var(--ink); font-size: 14px; border: 1px solid var(--line); }
.v2 .chips a:hover { border-color: var(--ink-3); text-decoration: none; }

/* Appareil (portable) contenant la maquette de console */
.device { max-width: 1060px; margin: clamp(48px, 7vw, 80px) auto 0; padding: 0 22px; }
.device-screen { background: #0c0c0d; border-radius: 22px 22px 0 0; padding: 14px 14px 0; box-shadow: 0 0 0 1px #2c2c2e inset, 0 40px 120px -40px rgba(0, 60, 80, .55); }
.device-base { height: 18px; margin: 0 -22px; background: linear-gradient(#d9d9de, #a7a7ad); border-radius: 0 0 20px 20px / 0 0 14px 14px; position: relative; }
.device-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 140px; height: 6px; transform: translateX(-50%); background: #8e8e93; border-radius: 0 0 8px 8px; }
.cs { display: grid; grid-template-columns: 52px 1fr; background: #f5f5f7; color: #1d1d1f; border-radius: 8px 8px 0 0; overflow: hidden; text-align: left; font-size: 13px; letter-spacing: -.01em; min-height: 420px; }
.cs-side { background: #ffffff; border-right: 1px solid #e5e5ea; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 0; }
.cs-logo svg { width: 24px; height: 24px; }
.cs-side i { width: 20px; height: 20px; border-radius: 6px; background: #e5e5ea; display: block; }
.cs-side i.on { background: #0b7f72; }
.cs-main { padding: 16px 18px 18px; }
.cs-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cs-top b { font: 700 17px/1 var(--f-disp); }
.cs-live { font-size: 11px; color: #1b7a3a; background: #def3e4; padding: 3px 9px; border-radius: 980px; }
.cs-live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #1b7a3a; margin-right: 6px; vertical-align: 1px; animation: blink 1.6s infinite; }
.cs-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.cs-kpis div { background: #fff; border-radius: 12px; padding: 12px 14px; }
.cs-kpis strong { display: block; font: 700 26px/1.1 var(--f-disp); letter-spacing: -.02em; }
.cs-kpis span { color: #6e6e73; font-size: 11px; }
.t-red { color: #d70015; } .t-green { color: #1b7a3a; }
.cs-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.cs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cs-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 10px 12px; }
.cs-list .m { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.cs-list .m small { display: block; color: #6e6e73; font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.cs-list .t { color: #86868b; font: 11px var(--f-mono); }
.cs .sev { font-size: 10px; border-radius: 980px; padding: 2px 8px; font-weight: 600; }
.cs .sev-3 { color: #b3261e; background: #fde3e1; } .cs .sev-2 { color: #b14a00; background: #ffe7d6; } .cs .sev-1 { color: #8a5a00; background: #fcf1d6; }
.cs-chart { background: #fff; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; }
.cs-chart span { color: #6e6e73; font-size: 11px; margin-bottom: 8px; }
.cs-chart svg { flex: 1; width: 100%; min-height: 120px; }
.cs-chart .area { fill: rgba(11, 127, 114, .12); }
.cs-chart .line { fill: none; stroke: #0b7f72; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.4s .4s ease-out forwards; }

/* ---------- Quatre gestes ---------- */
.quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin-top: 64px; text-align: left; }
.quad h3 { font-size: 24px; margin: 14px 0 8px; letter-spacing: -.02em; }
.quad p { color: var(--night-ink-2); font-size: 15px; margin: 0; }
.qi { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, #2cc4b0 16%, transparent); color: #2cc4b0; }
.qi svg { width: 26px; height: 26px; }

/* ---------- Tuiles ---------- */
.tiles { padding: 12px 12px; background: var(--bg); }
.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 1440px; margin: 0 auto; }
.tile { background: var(--tile); border-radius: var(--r-lg); padding: 56px 40px 0; min-height: 560px; display: flex; flex-direction: column; text-align: center; overflow: hidden; }
.tile h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; margin: 0 0 12px; }
.tile p { color: var(--ink-2); font-size: 19px; line-height: 1.35; max-width: 28em; margin: 0 auto 14px; }
.tile.dark { background: var(--night); color: var(--night-ink); }
.tile.dark p { color: var(--night-ink-2); }
.tile.dark a { color: #2cc4b0; }
.viz { flex: 1; display: flex; align-items: center; justify-content: center; padding: 30px 0 46px; }

.viz-ban { flex-direction: column; gap: 0; }
.viz-ban .node { background: var(--tile-2); border-radius: 14px; padding: 12px 18px; font: 600 15px/1.2 var(--f-mono); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .18); }
.viz-ban .node small { display: block; font: 500 12px/1.3 var(--f-text); color: var(--ink-2); margin-top: 3px; }
.viz-ban .node.src { color: #d70015; }
.viz-ban .nodes { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.viz-ban .nodes .node small { color: #1b7a3a; }
.viz-ban .wire { width: 2px; height: 56px; background: var(--line); position: relative; overflow: hidden; }
.viz-ban .wire i { position: absolute; left: -2px; width: 6px; height: 18px; border-radius: 3px; background: #2cc4b0; animation: drop 1.8s infinite ease-in; }

.viz-fim { flex-direction: column; gap: 8px; align-items: stretch; max-width: 420px; width: 100%; margin: 0 auto; }
.viz-fim .row { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--tile-2); border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.viz-fim .row > span:first-child { font-weight: 600; }
.viz-fim .ok { color: #1b7a3a; font-weight: 600; font-size: 13px; }
.viz-fim .bad { box-shadow: 0 0 0 2px #ff453a inset; }
.viz-fim .bad span:last-child { color: #ff453a; font-weight: 700; font-size: 13px; }

.viz-shield svg { width: 180px; height: 180px; filter: drop-shadow(0 0 60px rgba(44, 196, 176, .55)); animation: float 6s ease-in-out infinite; }
.viz-shield svg path:first-child { fill: #2cc4b0; }

.viz-clock { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.viz-clock div { width: 128px; height: 128px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--tile-2); box-shadow: 0 0 0 6px color-mix(in srgb, #2cc4b0 22%, transparent); }
.viz-clock div:nth-child(2) { box-shadow: 0 0 0 6px color-mix(in srgb, #3aa6ff 25%, transparent); }
.viz-clock div:nth-child(3) { box-shadow: 0 0 0 6px color-mix(in srgb, #8b7dff 25%, transparent); }
.viz-clock b { font: 700 26px/1 var(--f-disp); letter-spacing: -.02em; }
.viz-clock span { font-size: 12px; color: var(--ink-2); margin-top: 6px; max-width: 9em; line-height: 1.2; }
.viz-clock.big { margin-top: 56px; gap: 28px; }
.viz-clock.big div { width: 180px; height: 180px; background: var(--night-2); }
.viz-clock.big b { font-size: 40px; }
.viz-clock.big span { color: var(--night-ink-2); font-size: 14px; }

.viz-os { gap: 14px; flex-wrap: wrap; }
.viz-os span { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 120px; padding: 22px 0; border-radius: 18px; background: var(--tile-2); font-weight: 600; }
.viz-os svg { width: 38px; height: 38px; color: var(--link); }

.viz-otp { gap: 8px; }
.viz-otp span { width: 54px; height: 70px; border-radius: 14px; display: grid; place-items: center; background: var(--tile-2); font: 700 34px/1 var(--f-mono); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .25); }
.viz-otp span:nth-child(3) { margin-right: 14px; }

/* ---------- Défilement horizontal (étapes) ---------- */
.scroller { margin-top: 44px; }
.track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(22px, calc((100vw - 980px) / 2 + 22px)); padding: 10px max(22px, calc((100vw - 980px) / 2 + 22px)) 30px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.chap { flex: 0 0 min(372px, 82vw); min-height: 460px; scroll-snap-align: start; border-radius: var(--r-xl); padding: 34px 30px; color: #fff; display: flex; flex-direction: column; position: relative; overflow: hidden; background: #1d1d1f; }
.chap::after { content: ""; position: absolute; inset: auto -30% -40% -30%; height: 70%; filter: blur(40px); opacity: .7; }
.c1::after { background: radial-gradient(#f0c060, transparent 65%); }
.c2::after { background: radial-gradient(#ff9a57, transparent 65%); }
.c3::after { background: radial-gradient(#ff7a70, transparent 65%); }
.c4::after { background: radial-gradient(#ff453a, transparent 65%); }
.c5::after { background: radial-gradient(#2cc4b0, transparent 65%); }
.chap .n { font: 700 15px/1 var(--f-disp); opacity: .7; }
.chap h3 { font-size: 30px; line-height: 1.1; letter-spacing: -.025em; margin: 14px 0 12px; }
.chap p { color: #d2d2d7; font-size: 17px; margin: 0; position: relative; z-index: 1; }
.chap code { margin-top: auto; position: relative; z-index: 1; align-self: flex-start; background: rgba(255, 255, 255, .14); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 13px; backdrop-filter: blur(8px); }
.scroller-btns { display: flex; justify-content: flex-end; gap: 14px; max-width: 980px; margin: 0 auto; padding: 0 22px; }
.scroller-btns button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 0 3px; }
.scroller-btns button:hover { background: color-mix(in srgb, var(--ink) 16%, transparent); }
.scroller-btns button[disabled] { opacity: .35; cursor: default; }

/* ---------- Chiffres ---------- */
.stats { background: var(--bg); }
.stats .w { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat b { display: block; font: 700 clamp(48px, 6vw, 72px)/1 var(--f-disp); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.stat span { color: var(--ink-2); font-size: 15px; display: block; max-width: 16em; }

/* ---------- Architecture ---------- */
.archi2 { display: grid; grid-template-columns: 1fr 150px 1fr; gap: 0; align-items: center; margin-top: 64px; text-align: left; }
.abox { background: var(--night-2); border-radius: var(--r-xl); padding: 34px 30px; }
.abox h3 { font-size: 24px; margin: 16px 0 12px; letter-spacing: -.02em; }
.abox ul { list-style: none; padding: 0; margin: 0; color: var(--night-ink-2); font-size: 15px; }
.abox li { padding: 7px 0; border-top: 1px solid var(--night-line); }
.abox li:first-child { border-top: 0; }
.aflow { text-align: center; color: var(--night-ink-2); font: 500 12px/1.4 var(--f-mono); }
.aflow i { display: block; height: 2px; margin: 0 10px 12px; background: linear-gradient(90deg, transparent, #2cc4b0, transparent); background-size: 200% 100%; animation: flow 1.6s linear infinite; }

/* ---------- Terminal ---------- */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; max-width: 1180px; }
.term { background: #1d1d1f; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .45); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #2c2c2e; }
.term-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; display: block; }
.term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar b { margin-left: 10px; color: #a1a1a6; font: 500 12px var(--f-mono); }
.v2 .term pre { background: none; border: 0; margin: 0; padding: 20px 22px; color: #f5f5f7; font: 13px/1.7 var(--f-mono); letter-spacing: 0; white-space: pre; overflow-x: auto; }
.term .c { color: #86868b; } .term .p { color: #2cc4b0; }

/* ---------- Comparaison ---------- */
.cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 56px 0 40px; text-align: center; }
.cmp-col { padding: 10px 6px; }
.cmp-ic { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; background: var(--tile-2); color: var(--link); margin-bottom: 18px; box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .25); }
.cmp-ic svg { width: 40px; height: 40px; }
.cmp h3 { font-size: 28px; letter-spacing: -.02em; margin: 0 0 6px; }
.cmp-sub { color: var(--ink-2); font-size: 14px; line-height: 1.45; min-height: 2.9em; margin: 0 0 18px; }
.cmp ul { list-style: none; padding: 0; margin: 0; }
.cmp li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }

/* ---------- Appel final ---------- */
.final-logo svg { width: 72px; height: 72px; margin-bottom: 18px; }

/* ---------- Cartes de fonctionnalités ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.fgrid.two { grid-template-columns: repeat(2, 1fr); }
.fcard { background: var(--tile); border-radius: var(--r-xl); padding: 32px 28px; }
.soft .fcard { background: var(--tile-2); }
.fcard.on-dark, .night .fcard { background: var(--night-2); }
.fcard h3 { font-size: 22px; letter-spacing: -.02em; margin: 18px 0 10px; }
.fcard p { color: var(--ink-2); font-size: 15px; margin: 0; }
.fcard ul { list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: 15px; }
.fcard li { padding: 8px 0; border-top: 1px solid var(--line); }
.fcard li:first-child { border-top: 0; padding-top: 0; }
.night .fcard ul, .night .fcard p { color: var(--night-ink-2); }
.night .fcard li { border-color: var(--night-line); }
.qi { flex: none; }
.plain .qi, .soft .qi, .fcard .qi { color: var(--link); background: color-mix(in srgb, var(--link) 13%, transparent); }
.night .qi, .hero2.dark .qi { color: #2cc4b0; background: color-mix(in srgb, #2cc4b0 16%, transparent); }

/* ---------- Tableaux ---------- */
.tbl2 { margin-top: 40px; background: var(--tile-2); border-radius: var(--r-lg); overflow-x: auto; }
.plain .tbl2 { background: var(--tile); }
.v2 .tbl2 table { width: 100%; border-collapse: collapse; font-size: 14px; letter-spacing: -.01em; }
.v2 .tbl2 th { text-align: left; font-weight: 600; color: var(--ink-2); font-size: 12px; text-transform: none; padding: 16px 18px; border-bottom: 1px solid var(--line); background: none; }
.v2 .tbl2 td { padding: 14px 18px; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); vertical-align: top; color: var(--ink-2); }
.v2 .tbl2 td strong { color: var(--ink); font-weight: 600; }
.v2 .tbl2 tr:last-child td { border-bottom: 0; }
.v2 .tbl2 .mono { font-size: 12px; white-space: nowrap; }
.cov { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 980px; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-2); white-space: nowrap; }
.cov.ok { background: color-mix(in srgb, #30d158 18%, transparent); color: #1b7a3a; }
.cov.warn { background: color-mix(in srgb, #ff9f0a 20%, transparent); color: #a05a00; }
:root[data-theme="dark"] .cov.ok { color: #5fd38a; } :root[data-theme="dark"] .cov.warn { color: #ffb340; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cov.ok { color: #5fd38a; } :root:not([data-theme="light"]) .cov.warn { color: #ffb340; } }

/* ---------- Pages communes réutilisées (démo, documentation, mentions) ---------- */
.v2 .section { padding: clamp(56px, 8vw, 100px) 0; }
.v2 .wrap { max-width: 1024px; margin: 0 auto; padding: 0 22px; }
.v2 .section h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -.03em; }
.v2 .eyebrow { font: 600 17px/1.2 var(--f-disp); color: var(--ink-2); margin-bottom: 8px; }
.v2 .lead { font-size: 21px; line-height: 1.4; color: var(--ink-2); max-width: 34em; }
.v2 .two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.v2 .check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.v2 .check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.v2 .check-list svg { width: 20px; height: 20px; color: var(--link); margin-top: 3px; }
.v2 .check-list strong { display: block; }
.v2 .check-list span { color: var(--ink-2); font-size: 15px; }
.v2 .card { background: var(--tile); border: 0; border-radius: var(--r-xl); padding: 34px; box-shadow: none; }
.v2 .card input, .v2 .card select, .v2 .card textarea { border-radius: 12px; background: var(--tile-2); }
.v2 .btn.primary { background: var(--link); border-color: var(--link); color: #fff; border-radius: 980px; padding-left: 26px; padding-right: 26px; }
.v2 .btn { border-radius: 980px; }
.v2 .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 36px; }
.v2 .feature { background: var(--tile); border-radius: var(--r-lg); padding: 26px; color: var(--ink); transition: transform .25s; }
.v2 a.feature:hover { text-decoration: none; transform: translateY(-3px); }
.v2 .feature h3 { font-size: 19px; margin: 0; }
.v2 .feature h3::after { content: "\00a0›"; color: var(--link); }
.v2 .prose { max-width: 760px; font-size: 17px; }
.v2 .prose h1 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 700; letter-spacing: -.03em; }
.v2 .prose h2 { margin-top: 1.7em; font-size: 28px; letter-spacing: -.02em; }
.v2 .prose h3 { margin-top: 1.4em; font-size: 21px; }
.v2 .prose table { margin: 1em 0; border-collapse: collapse; font-size: 15px; }
.v2 .prose td, .v2 .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.v2 .prose ul, .v2 .prose ol { padding-left: 1.3em; }
.v2 .prose li + li { margin-top: 4px; }
.v2 .prose img { max-width: 100%; }
.v2 .prose pre { border-radius: 12px; background: var(--tile); border: 0; }
.v2 .prose code { background: var(--tile); }
.v2 .docs-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.v2 .docs-nav { position: sticky; top: 116px; display: flex; flex-direction: column; gap: 2px; }
.v2 .docs-nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: 14px; }
.v2 .docs-nav a.on, .v2 .docs-nav a:hover { background: var(--tile); color: var(--ink); text-decoration: none; }

/* ---------- Pied de page ---------- */
.gfoot { background: var(--tile); color: var(--ink-2); font-size: 12px; line-height: 1.33; letter-spacing: -.01em; }
.gfoot-in { max-width: 980px; margin: 0 auto; padding: 18px 22px 22px; }
.gfoot-note { padding-bottom: 16px; border-bottom: 1px solid var(--line); margin: 0; }
.gfoot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 22px 0; }
.gfoot-cols h2 { font: 600 12px/1.3 var(--f-text); color: var(--ink); margin: 0 0 10px; }
.v2 .gfoot-cols a { display: block; color: var(--ink-2); margin-bottom: 8px; }
.v2 .gfoot-cols a:hover { color: var(--ink); }
.gfoot-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.v2 .gfoot-legal a { color: var(--ink-2); padding-left: 10px; margin-left: 10px; border-left: 1px solid var(--line); }
.v2 .gfoot-legal a:first-child { border-left: 0; margin-left: 0; padding-left: 0; }

/* ---------- Apparition au défilement (activée par site2.js seulement) ---------- */
.rv-on .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.rv-on .rv.in { opacity: 1; transform: none; }

/* ---------- Confiance ---------- */
.reassure { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; color: var(--ink-2); font-size: 14px; }
.reassure svg { width: 16px; height: 16px; color: #1b7a3a; flex: none; }
.trust { background: var(--bg); border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.trust-in { list-style: none; margin: 0 auto; padding: 34px 22px; max-width: 1180px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.trust-in li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.trust-in .ti { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--link); background: color-mix(in srgb, var(--link) 12%, transparent); }
.trust-in .ti svg { width: 21px; height: 21px; }
.trust-in b { font-size: 15px; line-height: 1.25; }
.trust-in small { color: var(--ink-2); font-size: 12.5px; line-height: 1.35; }

.viz-rule { flex-direction: column; gap: 0; width: 100%; max-width: 420px; margin: 0 auto; }
.viz-rule > div { width: 100%; }
.rule-if, .rule-then { border-radius: 16px; padding: 14px 18px; font-weight: 600; font-size: 16px; text-align: left; }
.rule-if { background: #1d1d1f; border: 1px solid #333336; }
.rule-if i { font-style: normal; color: #86868b; margin: 0 8px; }
.rule-then { background: linear-gradient(135deg, rgba(44, 196, 176, .22), rgba(58, 166, 255, .18)); border: 1px solid rgba(44, 196, 176, .45); }
.rule-if small, .rule-then small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #a1a1a6; font-weight: 600; margin-bottom: 4px; }
.rule-arrow { height: 34px; position: relative; }
.rule-arrow::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(#333336, #2cc4b0); }
.rule-arrow::after { content: ""; position: absolute; left: calc(50% - 5px); bottom: 2px; border: 6px solid transparent; border-top-color: #2cc4b0; border-bottom: 0; }
.rule-mode { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.rule-mode span { font-size: 12px; padding: 5px 12px; border-radius: 980px; background: #1d1d1f; color: #86868b; border: 1px solid #333336; }
.rule-mode span.on { background: #2cc4b0; color: #001a16; border-color: #2cc4b0; font-weight: 600; }

.viz-wl { flex-direction: column; gap: 8px; align-items: stretch; max-width: 380px; width: 100%; margin: 0 auto; }
.viz-wl .row { display: flex; justify-content: space-between; align-items: center; background: var(--tile-2); border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 600; }
.viz-wl b { font-size: 12px; padding: 3px 10px; border-radius: 980px; }
.viz-wl b.ok { color: #1b7a3a; background: color-mix(in srgb, #30d158 18%, transparent); }
.viz-wl .ban b { color: #d70015; background: color-mix(in srgb, #ff453a 15%, transparent); }

.proofs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; text-align: left; }
.proof { background: var(--tile); border-radius: var(--r-xl); padding: 34px 30px; position: relative; overflow: hidden; }
.proof::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(color-mix(in srgb, #2cc4b0 18%, transparent), transparent 70%); }
.seal { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #0b7f72, #2a7fd4); box-shadow: 0 0 0 6px color-mix(in srgb, #2cc4b0 16%, transparent), 0 14px 30px -12px rgba(11, 127, 114, .7); }
.seal svg { width: 26px; height: 26px; }
.proof h3 { font-size: 24px; letter-spacing: -.02em; margin: 22px 0 10px; }
.proof p { color: var(--ink-2); font-size: 15px; margin: 0 0 14px; }
.proof .more { font-size: 15px; }

.faq-sec .w { max-width: 860px; }
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font: 600 19px/1.35 var(--f-disp); letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--link); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); font-size: 16px; margin: 0 0 24px; max-width: 46em; }
.faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 6px; }

.gfoot-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--ink-2); }
.gfoot-status i { width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 3px color-mix(in srgb, #30d158 25%, transparent); }
.gfoot-status[hidden] { display: none; }

/* ---------- Page « Pour qui ? » ---------- */
.personas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.persona { background: var(--tile); border-radius: var(--r-xl); padding: 34px 32px; scroll-margin-top: 110px; display: flex; flex-direction: column; }
.persona-head { display: flex; align-items: center; gap: 16px; }
.persona-head .seal { width: 48px; height: 48px; flex: none; }
.persona-head .seal svg { width: 22px; height: 22px; }
.persona h2 { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.persona blockquote { margin: 22px 0 18px; padding: 0 0 0 16px; border-left: 3px solid #2cc4b0; font-size: 18px; line-height: 1.4; font-style: italic; color: var(--ink); }
.persona ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.persona li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink-2); font-size: 15px; }
.persona li svg { width: 18px; height: 18px; color: #1b7a3a; margin-top: 2px; }
.persona .more { margin-top: auto; font-size: 15px; }
.selftest { margin-top: 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px 40px; align-items: start; }
.st-item { grid-column: 1; display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: center; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 16px; padding: 16px 18px; cursor: pointer; font-size: 16px; color: var(--night-ink); transition: border-color .25s, background .25s; }
.st-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.st-item .box { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #48484a; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.st-item input:checked + .box { background: #2cc4b0; border-color: #2cc4b0; }
.st-item input:checked + .box::after { content: ""; width: 7px; height: 13px; border: solid #001a16; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.st-item:has(input:checked) { border-color: rgba(44, 196, 176, .5); background: color-mix(in srgb, #2cc4b0 10%, var(--night-2)); }
.st-item input:focus-visible + .box { outline: 2px solid #2cc4b0; outline-offset: 3px; }
.st-result { grid-column: 2; grid-row: 1 / span 6; position: sticky; top: 120px; background: var(--night-2); border-radius: var(--r-xl); padding: 32px; text-align: center; }
.st-score { margin: 0 0 10px; color: var(--night-ink-2); font-size: 18px; }
.st-score b { display: block; font: 700 88px/1 var(--f-disp); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-result p[data-st-msg] { color: var(--night-ink); font-size: 17px; margin: 0 0 22px; }

/* ---------- Animations « page produit » (actives seulement avec la classe .anim posée par site2.js) ---------- */
/* Titres : flou qui se dissipe */
.rv-on h1.rv, .rv-on .huge.rv, .rv-on .big.rv, .rv-on .tile h2 { filter: blur(10px); transition: opacity 1.1s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1), filter 1.1s ease; }
.rv-on h1.rv.in, .rv-on .huge.rv.in, .rv-on .big.rv.in, .rv-on .tile.in h2 { filter: none; }
/* Dégradé qui glisse lentement */
.anim .grad { background-size: 220% 100%; animation: shimmer 9s ease-in-out infinite alternate; }

/* Barre produit : ombre une fois collée */
.lnav { transition: box-shadow .3s; }
.lnav.stuck { box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .35); }

/* Appareil du héros : se redresse et grandit au défilement (--p de 0 à 1) */
.anim .device { transform-origin: 50% 100%; transform: perspective(1800px) rotateX(calc((1 - var(--p, 1)) * 24deg)) scale(calc(.84 + var(--p, 1) * .16)); will-change: transform; }
.anim .device-screen { box-shadow: 0 0 0 1px #2c2c2e inset, 0 calc(20px + var(--p, 1) * 40px) calc(60px + var(--p, 1) * 80px) -40px rgba(0, 60, 80, .6); }
.anim .cs-kpis div, .anim .cs-list li, .anim .cs-chart { opacity: 0; transform: translateY(14px); }
.anim .device.in .cs-kpis div, .anim .device.in .cs-list li, .anim .device.in .cs-chart { animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.anim .device.in .cs-kpis div:nth-child(2) { animation-delay: .08s; } .anim .device.in .cs-kpis div:nth-child(3) { animation-delay: .16s; } .anim .device.in .cs-kpis div:nth-child(4) { animation-delay: .24s; }
.anim .device.in .cs-list li:nth-child(1) { animation-delay: .35s; } .anim .device.in .cs-list li:nth-child(2) { animation-delay: .45s; }
.anim .device.in .cs-list li:nth-child(3) { animation-delay: .55s; } .anim .device.in .cs-list li:nth-child(4) { animation-delay: .65s; }
.anim .device.in .cs-chart { animation-delay: .5s; }
.anim .cs-list li.arrive { animation: arrive .8s cubic-bezier(.2, .7, .2, 1) both, flash 2.4s ease-out; }

/* Texte mot à mot */
.words-sec { padding-top: clamp(90px, 12vw, 160px); padding-bottom: clamp(90px, 12vw, 160px); }
.words { font: 700 clamp(30px, 4.6vw, 54px)/1.16 var(--f-disp); letter-spacing: -.03em; margin: 0; max-width: 20em; }
.anim .words span { color: color-mix(in srgb, var(--ink) 18%, var(--bg)); transition: color .45s ease; }
.anim .words span.on { color: var(--ink); }

/* Section épinglée : un geste mis en avant à la fois */
.anim .pin { height: 340vh; padding: 0; }
.anim .pin-in { position: sticky; top: 96px; min-height: calc(100vh - 96px); display: flex; align-items: center; padding: 40px 0; }
.anim .pin .st { color: #3a3a3c; transition: color .6s ease; }
.anim .pin .st.on { color: #f5f5f7; }
.anim .pin .quad .q { transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.anim .pin .quad .q.in { opacity: .28; }
.anim .pin .quad .q.in.on { opacity: 1; transform: translateY(-10px); }
.anim .pin .q .qi { transition: background .6s, box-shadow .6s; }
.anim .pin .q.on .qi { background: #2cc4b0; color: #001a16; box-shadow: 0 0 40px rgba(44, 196, 176, .5); }

/* Tuiles : légère respiration au survol */
.tile { transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.tile:hover { transform: scale(1.012); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .25); }
.fcard, .chap, .cmp-ic { transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.fcard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .35); }
.chap:hover { transform: scale(1.02); }
.cmp-col:hover .cmp-ic { transform: translateY(-6px) scale(1.06); }

/* Tuile « ban partout » : la décision se propage */
.anim .tile .viz-ban .nodes .node { opacity: 0; transform: scale(.7); }
.anim .tile.in .viz-ban .node.src { animation: pulse-red 2.4s ease-out .3s infinite; }
.anim .tile.in .viz-ban .nodes .node { animation: pop .6s cubic-bezier(.3, 1.5, .5, 1) forwards; }
.anim .tile.in .viz-ban .nodes .node:nth-child(1) { animation-delay: .9s; } .anim .tile.in .viz-ban .nodes .node:nth-child(2) { animation-delay: 1.1s; } .anim .tile.in .viz-ban .nodes .node:nth-child(3) { animation-delay: 1.3s; }
/* Tuile intégrité : les fichiers défilent, l'intrus est repéré */
.anim .tile .viz-fim .row { opacity: 0; transform: translateX(-24px); }
.anim .tile.in .viz-fim .row { animation: slide .6s cubic-bezier(.2, .7, .2, 1) forwards; }
.anim .tile.in .viz-fim .row:nth-child(2) { animation-delay: .15s; } .anim .tile.in .viz-fim .row:nth-child(4) { animation-delay: .45s; }
.anim .tile.in .viz-fim .row.bad { animation: slide .6s cubic-bezier(.2, .7, .2, 1) .3s forwards, shake .5s ease 1.2s, glow 2.6s ease-in-out 1.7s infinite; }
/* Tuile bouclier : ondes radar */
.viz-shield { position: relative; }
.anim .viz-shield::before, .anim .viz-shield::after { content: ""; position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; margin: -125px 0 0 -110px; border-radius: 50%; border: 2px solid rgba(44, 196, 176, .5); animation: wave 3.2s ease-out infinite; pointer-events: none; }
.anim .viz-shield::after { animation-delay: 1.6s; }
/* Tuile échéances : les anneaux apparaissent */
.anim .tile .viz-clock div, .anim .viz-clock.big div { opacity: 0; transform: scale(.6); }
.anim .tile.in .viz-clock div, .anim .viz-clock.big.in div { animation: pop .7s cubic-bezier(.3, 1.4, .5, 1) forwards; }
.anim .tile.in .viz-clock div:nth-child(2), .anim .viz-clock.big.in div:nth-child(2) { animation-delay: .18s; }
.anim .tile.in .viz-clock div:nth-child(3), .anim .viz-clock.big.in div:nth-child(3) { animation-delay: .36s; }
/* Tuile plateformes */
.anim .tile .viz-os span { opacity: 0; transform: translateY(30px); }
.anim .tile.in .viz-os span { animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.anim .tile.in .viz-os span:nth-child(2) { animation-delay: .15s; } .anim .tile.in .viz-os span:nth-child(3) { animation-delay: .3s; }
.anim .viz-os span:hover svg { transform: scale(1.15); }
.viz-os svg { transition: transform .3s; }
/* Tuile code : chiffres qui basculent, barre de validité */
.viz-otp { position: relative; perspective: 600px; }
.anim .tile .viz-otp span { opacity: 0; transform: rotateX(-90deg); }
.anim .tile.in .viz-otp span { animation: flip .6s cubic-bezier(.2, .7, .2, 1) forwards; }
.anim .tile.in .viz-otp span:nth-child(2) { animation-delay: .08s; } .anim .tile.in .viz-otp span:nth-child(3) { animation-delay: .16s; }
.anim .tile.in .viz-otp span:nth-child(4) { animation-delay: .24s; } .anim .tile.in .viz-otp span:nth-child(5) { animation-delay: .32s; } .anim .tile.in .viz-otp span:nth-child(6) { animation-delay: .4s; }
.anim .viz-otp::after { content: ""; position: absolute; left: 50%; bottom: 14px; width: 200px; height: 4px; margin-left: -100px; border-radius: 4px; background: linear-gradient(90deg, #2cc4b0, #3aa6ff); transform-origin: left; animation: countdown 30s linear infinite; }

/* Architecture : les deux blocs se rejoignent */
.anim .archi2 .abox { opacity: 0; transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.anim .archi2 .abox:first-child { transform: translateX(-60px); }
.anim .archi2 .abox:last-child { transform: translateX(60px); }
.anim .archi2.in .abox { opacity: 1; transform: none; }
.anim .archi2 .aflow { opacity: 0; transition: opacity .8s ease .6s; }
.anim .archi2.in .aflow { opacity: 1; }

/* Chiffres et appel final */
.anim .stat b { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.anim .final-logo svg { animation: glow-logo 3.5s ease-in-out infinite; }


/* Nouvelles tuiles et preuves */
.anim .tile .rule-if, .anim .tile .rule-then, .anim .tile .rule-mode { opacity: 0; transform: translateY(16px); }
.anim .tile.in .rule-if { animation: rise .6s cubic-bezier(.2, .7, .2, 1) .1s forwards; }
.anim .tile.in .rule-then { animation: rise .6s cubic-bezier(.2, .7, .2, 1) .7s forwards, glow-rule 3s ease-in-out 1.6s infinite; }
.anim .tile.in .rule-mode { animation: rise .6s cubic-bezier(.2, .7, .2, 1) 1.1s forwards; }
.anim .rule-arrow::before { transform-origin: top; transform: scaleY(0); transition: transform .5s ease .45s; }
.anim .tile.in .rule-arrow::before { transform: none; }
.anim .tile .viz-wl .row { opacity: 0; transform: translateX(-20px); }
.anim .tile.in .viz-wl .row { animation: slide .55s cubic-bezier(.2, .7, .2, 1) forwards; }
.anim .tile.in .viz-wl .row:nth-child(2) { animation-delay: .12s; } .anim .tile.in .viz-wl .row:nth-child(3) { animation-delay: .24s; }
.anim .tile.in .viz-wl .row.ban { animation: slide .55s cubic-bezier(.2, .7, .2, 1) .5s forwards, shake .5s ease 1.2s; }
.anim .proof.in .seal { animation: seal-in .9s cubic-bezier(.3, 1.4, .5, 1) both; }
.anim .trust-in li.in .ti { animation: seal-in .7s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes glow-rule { 50% { box-shadow: 0 0 34px rgba(44, 196, 176, .35); } }
@keyframes seal-in { from { transform: scale(.4) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes slide { to { opacity: 1; transform: none; } }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes flip { to { opacity: 1; transform: none; } }
@keyframes arrive { from { opacity: 0; transform: translateY(-16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 2px rgba(215, 0, 21, .45); } 100% { box-shadow: 0 0 0 2px rgba(215, 0, 21, 0); } }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(255, 69, 58, .45), 0 10px 30px -12px rgba(0, 0, 0, .18); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255, 69, 58, 0), 0 10px 30px -12px rgba(0, 0, 0, .18); } }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes glow { 50% { box-shadow: 0 0 0 2px #ff453a inset, 0 0 28px rgba(255, 69, 58, .35); } }
@keyframes wave { from { transform: scale(.55); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
@keyframes countdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes glow-logo { 50% { filter: drop-shadow(0 0 26px rgba(44, 196, 176, .6)); transform: scale(1.04); } }

@keyframes blink { 50% { opacity: .3; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drop { from { top: -18px; } to { top: 56px; } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes flow { from { background-position: 200% 0; } to { background-position: 0 0; } }
/* Sans JavaScript et avec « Réduire les animations » : décor figé. Avec JavaScript, animations toujours actives (classe anim). */
@media (prefers-reduced-motion: reduce) {
  :root:not(.anim) .cs-chart .line { animation: none; stroke-dashoffset: 0; }
  :root:not(.anim) .cs-live::before, :root:not(.anim) .viz-ban .wire i, :root:not(.anim) .viz-shield svg, :root:not(.anim) .aflow i { animation: none; }
}

/* ---------- Adaptation ---------- */
@media (max-width: 1068px) {
  .selftest { grid-template-columns: 1fr; }
  .st-result { grid-column: 1; grid-row: auto; position: static; }
  .trust-in { grid-template-columns: repeat(3, 1fr); }
  .proofs { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
  .quad { grid-template-columns: 1fr 1fr; }
  .stats .w { grid-template-columns: 1fr 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .cs-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 833px) {
  .gnav-toggle { display: inline-flex; }
  .gnav-links { display: none; position: absolute; top: 44px; left: 0; right: 0; flex-direction: column; background: var(--night-2); padding: 12px 22px 22px; max-width: none; }
  .gnav-links.open { display: flex; }
  .v2 .gnav-links a { font: 600 24px/1.2 var(--f-disp); padding: 10px 0; opacity: 1; }
  .gnav-in { position: relative; }
  .tile-grid { grid-template-columns: 1fr; }
  .tile { min-height: 0; padding: 48px 22px 0; }
  .archi2 { grid-template-columns: 1fr; }
  .aflow { padding: 18px 0; }
  .aflow i { width: 2px; height: 46px; margin: 0 auto 10px; background: linear-gradient(transparent, #2cc4b0, transparent); background-size: 100% 200%; }
  .cmp { grid-template-columns: 1fr; gap: 44px; }
  .cs-grid { grid-template-columns: 1fr; }
  .cs-chart { display: none; }
  .v2 .two, .v2 .docs-layout { grid-template-columns: 1fr; }
  .v2 .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .gfoot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 734px) {
  .personas { grid-template-columns: 1fr; }
  .persona { padding: 26px 22px; }
  .trust-in { grid-template-columns: 1fr 1fr; gap: 18px; padding: 26px 16px; }
  .faq summary { font-size: 17px; }
  .reassure { display: block; }
  .reassure svg { vertical-align: -3px; margin-right: 4px; }
  .anim .pin { height: auto; padding: clamp(72px, 10vw, 140px) 0; }
  .anim .pin-in { position: static; min-height: 0; padding: 0; }
  .anim .pin .st, .anim .pin .st.on { color: #f5f5f7; }
  .anim .pin .quad .q.in { opacity: 1; transform: none; }
  .lnav-link { display: none; }
  .quad, .fgrid, .fgrid.two { grid-template-columns: 1fr; }
  .stats .w { grid-template-columns: 1fr; gap: 40px; }
  .cs { grid-template-columns: 1fr; min-height: 0; }
  .cs-side { display: none; }
  .cs-list li .t { display: none; }
  .device { padding: 0 12px; }
  .device-screen { padding: 8px 8px 0; border-radius: 16px 16px 0 0; }
  .device-base { margin: 0 -12px; height: 12px; }
  .viz-clock div { width: 104px; height: 104px; }
  .viz-clock.big div { width: 140px; height: 140px; }
  .viz-clock.big b { font-size: 30px; }
  .viz-otp span { width: 40px; height: 56px; font-size: 26px; }
  .viz-otp span:nth-child(3) { margin-right: 8px; }
  .ctas { flex-direction: column; gap: 18px; }
  .v2 .card { padding: 22px; }
}
