:root {
  --paper: #ffffff; --band: #f3f5f4; --line: #dfe4e2; --ink: #182028; --muted: #5c6670;
  --green: #0f7c6b; --green-dark: #0b5f52; --green-soft: #e3f3ef; --sel: #eaf1ff;
  --amber: #e39a12; --amber-soft: #fff3d6; --coral: #e4573d; --coral-soft: #fce7e2; --blue: #2f6fe4; --blue-soft: #e6eefc; --violet: #7c4dcc; --violet-soft: #efe8fb;
  --display: "Bricolage Grotesque", "IBM Plex Sans", sans-serif;
  --body: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --max: 1200px; --gutter: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.55 var(--body); color: var(--ink); background: var(--paper); font-feature-settings: "tnum"; }
h1, h2, h3 { font-family: var(--display); margin: 0 0 .45em; line-height: 1.05; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.1em; margin: 0; }
li { margin-bottom: .4em; }
code { background: var(--band); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
section { max-width: var(--max); margin: 0 auto; padding: 96px var(--gutter); }
.section-title { max-width: 22ch; margin-bottom: 1.2em; font-size: clamp(2rem, 4vw, 3.2rem); }
mark { background: linear-gradient(transparent 55%, var(--amber-soft) 55%); background: linear-gradient(transparent 58%, #ffd978 58%); color: inherit; padding: 0 .1em; }
.fine { color: var(--muted); font-size: .92rem; max-width: 60ch; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 58ch; }

.btn { display: inline-block; padding: .6em 1.1em; border-radius: 6px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; }
.btn:hover { background: var(--band); }
.btn-primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-lg { padding: .85em 1.4em; font-size: 1.05rem; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 14px var(--gutter); background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); margin-right: auto; }
.mark { width: 1.05em; height: 1.05em; color: var(--green); flex: none; }
.wm { font-family: var(--display); font-weight: 500; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1; margin-left: 1px; }
.wm b { font-weight: 800; letter-spacing: -.03em; margin-right: .18em; }
.brand .mark { font-size: 1.5rem; --mark-bg: #fff; }
.brand-foot { display: flex; align-items: center; gap: 6px; }
.brand-foot .mark { font-size: 1.15rem; }
.brand-foot .wm { font-size: 1rem; color: var(--ink); }
.nav nav { display: flex; gap: 24px; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav nav a:hover { color: var(--ink); }

/* Hero: headline left, live grid right */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(1200px 600px at 80% 0%, #147c68 0%, #0b3d34 55%, #08221e 100%); }
.hero-bg::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; bottom: -300px; border-radius: 50%; background: var(--amber); opacity: .18; filter: blur(80px); }
.hero-wrap { position: relative; color: #fff; }
.hero-wrap .lead { color: #cfe3de; }
.hero-wrap .fine { color: #9fc4bb; }
.hero-wrap h1 mark { background: none; color: var(--amber); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 120px; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 14px; }
.dl { transition: transform .15s; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }
.dl:hover { transform: translateY(-2px); }
.dl { display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px 14px 18px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1; }
.dl { background: #fff; color: var(--ink); }
.dl:nth-child(2) { background: var(--amber); color: var(--ink); }
.dl small { color: var(--muted); }
.dl:nth-child(2) small { color: #5a3d05; }
.dl:hover { background: #fff; }
.dl svg { width: 40px; height: 40px; flex: none; }
.dl small { display: block; font-family: var(--body); font-weight: 500; font-size: .8rem; color: #c8d0d6; margin-bottom: 5px; }

.demo-stage { position: relative; }
.demo-stage .demo { transform: rotate(-1.5deg); }
.sticker { position: absolute; z-index: 2; padding: 8px 14px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: .95rem; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); white-space: nowrap; }
.st1 { top: -22px; left: -18px; background: var(--amber); color: var(--ink); transform: rotate(-6deg); }
.st2 { top: -18px; right: -10px; background: #fff; color: var(--ink); transform: rotate(4deg); }
.st3 { bottom: -24px; right: 28px; background: var(--coral); color: #fff; transform: rotate(3deg); }
.st-price { position: static; display: inline-block; background: var(--amber); color: var(--ink); transform: rotate(-3deg); margin-bottom: 18px; }
.demo { color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: var(--paper); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); position: relative; }
.demo-op { position: absolute; bottom: 48px; right: 14px; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: var(--green); color: #fff; border-radius: 8px; font-weight: 600; font-size: .95rem; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; z-index: 1; }
.demo-op .demo-count { font-weight: 400; font-size: .8rem; color: #d3ece7; }
.demo-op.show { opacity: 1; transform: none; }
.demo-grid { width: 100%; border-collapse: collapse; font-size: .9rem; }
.demo-grid th, .demo-grid td { padding: 8px 12px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.demo-grid th { font-weight: 500; color: var(--muted); background: var(--band); font-size: .8rem; }
.demo-grid td:first-child, .demo-grid th:first-child { color: var(--muted); width: 2.2em; text-align: right; background: var(--band); font-size: .8rem; }
.demo-grid .num { text-align: right; }
.demo-grid td:nth-child(3) { max-width: 16em; overflow: hidden; text-overflow: ellipsis; }
.demo-grid tr.sel td { background: var(--amber-soft); transition: background .25s; }
.demo-grid tr.sel td:first-child { background: #ffe4a6; color: var(--ink); }
.demo-grid tr.dim td { color: #9aa3ab; }
/* Before apply: show old value. After: strike old, show new in green. */
.demo-grid td[data-old] { font-size: 0; }
.demo-grid td[data-old]::before { content: attr(data-old); font-size: .9rem; }
.demo-grid.applied td[data-old] { font-size: .9rem; color: var(--green); font-weight: 600; }
.demo-grid.applied td[data-old]::before { color: var(--muted); font-weight: 400; text-decoration: line-through; margin-right: .5em; font-size: .8rem; }
.demo-status { margin: 0; padding: 8px 12px; font-size: .8rem; color: var(--muted); background: var(--band); }

/* Screenshots in desktop window frames; dashed placeholder until the file exists */
.window { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 60px -40px rgba(24,32,40,.45); }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--band); border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: .35; }
.window { --wc: var(--green); --wcs: var(--green-soft); }
.feature-band:nth-child(3) .window, .gallery figure:nth-child(3) { --wc: var(--amber); --wcs: var(--amber-soft); }
.feature-band:nth-child(4) .window, .gallery figure:nth-child(4) { --wc: var(--blue); --wcs: var(--blue-soft); }
.feature-band:nth-child(5) .window, .gallery figure:nth-child(5) { --wc: var(--coral); --wcs: var(--coral-soft); }
.feature-band:nth-child(6) .window, .gallery figure:nth-child(6) { --wc: var(--violet); --wcs: var(--violet-soft); }
.gallery figure:nth-child(2) { --wc: var(--amber); --wcs: var(--amber-soft); }
.window-bar { background: var(--wcs); color: var(--wc); border-bottom-color: color-mix(in srgb, var(--wc) 25%, white); }
.window-bar span { color: var(--ink); }
.window.missing::after { border-color: color-mix(in srgb, var(--wc) 40%, white); }
.feature h3 { color: var(--wc); }
.feature-band { --wc: var(--green); --wcs: var(--green-soft); }
.feature-band:nth-child(3) { --wc: #b8780a; --wcs: var(--amber-soft); } .feature-band:nth-child(4) { --wc: var(--blue); --wcs: var(--blue-soft); } .feature-band:nth-child(5) { --wc: var(--coral); --wcs: var(--coral-soft); } .feature-band:nth-child(6) { --wc: var(--violet); --wcs: var(--violet-soft); }
.window-bar span { margin-left: 8px; }
.window img { display: block; width: 100%; height: auto; }
.window.missing img { display: none; }
.window.missing::after { content: attr(data-label); display: grid; place-items: center; min-height: 260px; margin: 12px; border: 2px dashed #c9d0d5; border-radius: 6px; color: var(--muted); font-size: .9rem; text-align: center; padding: 24px; }
.window-hero { max-width: var(--max); margin: -80px auto 0; width: calc(100% - 2 * var(--gutter)); position: relative; z-index: 1; box-shadow: 0 40px 80px -30px rgba(0,0,0,.4); }
.window-hero.missing::after { min-height: 520px; }
.window-sm.missing::after { min-height: 180px; }

.axes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 96px; }
.axe { padding: 28px; border-radius: 14px; background: var(--green-soft); }
.axe:nth-child(2) { background: var(--amber-soft); }
.axe:nth-child(3) { background: var(--blue-soft); }
.axe h2 { font-size: 1.5rem; max-width: 14ch; color: var(--green-dark); }
.axe:nth-child(2) h2 { color: #9a6408; }
.axe:nth-child(3) h2 { color: #1f4fb0; }
.axe p { color: var(--ink); margin: 0; }

.features { padding-top: 40px; }
.feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; align-items: start; margin-bottom: 120px; }
.feature:last-child { margin-bottom: 0; }
.feature-text { position: sticky; top: 90px; }
.feature-text > p { color: var(--muted); }

.gallery .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.compat { max-width: none; background: linear-gradient(180deg, var(--green-soft), #fff); }
.compat-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.compat-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: center; }
.link-diagram { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; }
.node { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 20px 40px -30px rgba(24,32,40,.4); }
.node .ico { width: 36px; height: 36px; margin-bottom: 8px; color: var(--green); }
.node strong { font-family: var(--display); font-size: 1.25rem; }
.node span { color: var(--muted); font-size: .95rem; }
.node em { font-style: normal; font-size: .85rem; color: var(--green-dark); margin-top: 6px; }
.pills { display: flex; gap: 6px; margin-top: 8px; }
.pills i { font-style: normal; font-weight: 600; font-size: .8rem; padding: 3px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); }
.wire { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 12px; min-width: 150px; }
.wire-line { width: 100%; height: 4px; background: var(--green); border-radius: 2px; position: relative; }
.wire-line::before, .wire-line::after { content: ""; position: absolute; top: -5px; width: 14px; height: 14px; background: var(--green); border-radius: 50%; }
.wire-line::before { left: -4px; } .wire-line::after { right: -4px; }
.wire-label { font-weight: 600; font-size: .85rem; color: var(--green-dark); }
.wire-none { font-size: .8rem; color: var(--coral); font-weight: 600; text-decoration: line-through; text-decoration-color: var(--coral); }
.compat-points { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.compat-points li { padding-left: 18px; border-left: 3px solid var(--green); color: var(--muted); }
.compat-points b { color: var(--ink); display: block; font-family: var(--display); font-size: 1.1rem; margin-bottom: 2px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 64px 0 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; position: relative; color: var(--muted); }
.steps li::before { content: counter(step); position: absolute; top: 18px; right: 20px; font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--amber); }
.steps .ico { width: 34px; height: 34px; margin-bottom: 10px; color: var(--green); }
.steps strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.15rem; margin-bottom: 2px; }

/* Avis */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 16px; }
.review { margin: 0; background: var(--amber-soft); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.review blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.15rem; line-height: 1.35; }
.review blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--amber); margin-bottom: 8px; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); margin-top: auto; }
.review figcaption b { color: var(--ink); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: var(--ink); font-family: var(--display); font-weight: 700; display: grid; place-items: center; flex: none; }
@media (max-width: 960px) { .compat-grid, .reviews-grid { grid-template-columns: 1fr; } .link-diagram { grid-template-columns: 1fr; } .wire { padding: 12px 0; } .wire-line { width: 4px; height: 40px; } .wire-line::before { left: -5px; top: -4px; } .wire-line::after { left: -5px; top: auto; bottom: -4px; right: auto; } }

.pricing { border-top: 6px solid var(--amber); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.price { color: var(--green); font-family: var(--display); font-size: clamp(3.5rem, 7vw, 5.5rem); font-weight: 700; margin: 0; line-height: 1; letter-spacing: -.03em; }
.price small { display: block; font-family: var(--body); font-size: 1.1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 8px; }
.price-sub { margin: 18px 0 24px; max-width: 34ch; }
.price-block .btn { margin-bottom: 16px; }
.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 12px; }
.price-cols h3 { font-size: 1.1rem; }
.price-cols ul { list-style: none; padding: 0; }
.price-cols li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: .5em; }
.price-cols .none li::before { content: "✕"; color: #b04a4a; }

.faq { max-width: 800px; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
details p { color: var(--muted); margin: 10px 0 0; max-width: 65ch; }

footer { border-top: 1px solid var(--line); padding: 32px var(--gutter); color: var(--muted); font-size: .9rem; max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer p { margin: 0; }
footer a { color: inherit; margin-right: 16px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .demo-op, .demo-grid tr.sel td { transition: none; } }
@media (max-width: 960px) {
  .hero, .pricing { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 24px; margin-bottom: 72px; }
  .feature-text { position: static; }
  .axes, .compat-grid, .steps, .gallery .grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav nav { display: none; }
  section { padding: 64px 16px; }
  :root { --gutter: 16px; }
  .demo-grid td:nth-child(3) { max-width: 9em; }
  .demo-op { position: static; opacity: 1; transform: none; border-radius: 0; }
}

/* Pictos */
.ico { width: 40px; height: 40px; display: block; margin-bottom: 14px; color: var(--wc, var(--green)); }
.axe .ico { color: var(--green-dark); }
.axe:nth-child(2) .ico { color: #9a6408; }
.axe:nth-child(3) .ico { color: #1f4fb0; }

/* Comparatif */
.vs-lead { font-size: 1.2rem; max-width: 40ch; margin-bottom: 32px; }
.vs-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 10px; }
.vs-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 960px; }
.vs-table td.save { background: var(--green-soft); color: var(--green-dark); }
.vs-table td.save b { font-size: 1.05rem; }
.vs-table td.save.neg { background: var(--band); color: var(--muted); font-size: .85rem; }
.vs-table tr.me td.save { color: var(--muted); font-weight: 500; }
.vs-table th, .vs-table td { padding: 12px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.vs-table th { background: var(--band); font-weight: 600; font-size: .8rem; color: var(--muted); }
.vs-table td:first-child { font-weight: 600; }
.vs-table tr.me td { background: var(--green-soft); font-weight: 600; }
.vs-table tr.me td:first-child { color: var(--green-dark); border-left: 4px solid var(--green); }
.vs-table td.yes { color: var(--green-dark); }
.vs-table td.no { color: #b04a4a; }
.vs-table tbody tr:last-child td { border-bottom: 0; }

/* Marquee */
.marquee { overflow: hidden; margin: 56px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); color: #fff; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: scroll 40s linear infinite; }
.marquee-track span { padding: 14px 28px; font-family: var(--display); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.marquee-track span::after { content: "✦"; margin-left: 28px; color: var(--amber); }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Latency duel */
.duel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.duel-side { padding: 24px; border-radius: 16px; }
.duel-side.bo { background: var(--coral-soft); }
.duel-side.me { background: var(--green-soft); }
.duel-head { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px; }
.duel-head .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.me .duel-head .dot { background: var(--green); }
.browser { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; min-height: 240px; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--band); border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9d0d5; }
.browser-bar b { margin-left: 8px; font-weight: 500; }
.browser-body { padding: 24px; }
.browser-body p { margin: 14px 0 18px; color: var(--muted); }
.spinner { width: 28px; height: 28px; border: 3px solid var(--coral-soft); border-top-color: var(--coral); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skel { height: 12px; border-radius: 6px; background: var(--band); margin-bottom: 10px; }
.skel.short { width: 55%; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--amber-soft); font-size: .82rem; font-weight: 600; margin-bottom: 14px; }
.rows div { height: 22px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(90deg, var(--band) 0 60px, transparent 60px 76px, var(--band) 76px 220px, transparent 220px 236px, var(--band) 236px 300px, transparent 300px); }
.rows div:nth-child(odd) { background-color: #fafbfb; }
.browser.app p strong { color: var(--green-dark); }
.duel-note { margin: 16px 0 0; color: var(--ink); }
@media (max-width: 960px) { .duel-grid { grid-template-columns: 1fr; } .sticker { font-size: .85rem; } .demo-stage .demo { transform: none; } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* Feature bands */
.features { padding-top: 0; max-width: none; padding-left: 0; padding-right: 0; }
.features .section-title { max-width: var(--max); margin-left: auto; margin-right: auto; padding: 96px var(--gutter) 24px; }
.feature { max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter); }
.feature-band { padding: 0; }
.feature-band:nth-child(odd) { background: var(--wcs, var(--band)); }
.feature h3 { font-size: 2rem; }
.feature-text .ico { width: 48px; height: 48px; }
.feature-text { top: 100px; }

/* Avant / après */
.ba-lead { color: var(--muted); font-size: 1.15rem; max-width: 60ch; margin-bottom: 36px; }
.ba-rows { display: flex; flex-direction: column; gap: 18px; }
.ba-row { display: grid; grid-template-columns: 2fr 3fr; gap: 24px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ba-task { font-weight: 500; }
.ba-bars { display: flex; flex-direction: column; gap: 6px; }
.ba-bar { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.ba-bar span { display: block; height: 14px; border-radius: 7px; }
.ba-bar.before span { background: var(--coral); }
.ba-bar.after span { background: var(--green); }
.ba-bar b { font-family: var(--display); font-weight: 700; white-space: nowrap; }
.ba-bar.before b { color: var(--coral); }
.ba-bar.after b { color: var(--green-dark); }
.ba-row.total { border-bottom: 0; padding-top: 6px; }
.ba-row.total .ba-task { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.ba-row.total .ba-bar b { font-size: 2rem; line-height: 1; }
.ba-row.total .ba-bar small { color: var(--muted); }
.ba-punch { font-family: var(--display); font-weight: 700; font-size: 1.6rem; margin: 32px 0 8px; }
@media (max-width: 960px) { .ba-row { grid-template-columns: 1fr; gap: 8px; } }

/* CTA flottant */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s; }
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.float-cta:hover { background: var(--green); }
.float-cta svg { width: 22px; height: 22px; }
.float-cta span { display: flex; flex-direction: column; line-height: 1.1; margin-left: 4px; }
.float-cta b { font-family: var(--display); font-size: 1rem; }
.float-cta small { font-size: .75rem; color: #c8d0d6; }
@media (max-width: 640px) { .float-cta { right: 12px; bottom: 12px; left: 12px; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .float-cta { transition: none; } }

/* Fonctions en détail */
.detail-scroll { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.feat-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.feat-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.feat-table td:first-child { width: 26%; font-weight: 600; }
.feat-table td:last-child { color: var(--muted); }
.feat-table tr.grp th { text-align: left; padding: 14px 16px 10px; font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--green-dark); background: var(--green-soft); border-bottom: 1px solid var(--line); }
.feat-table tbody tr:last-child td { border-bottom: 0; }

/* Zoom captures */
.window:not(.missing) img { cursor: zoom-in; transition: transform .2s; }
.window:not(.missing):hover img { transform: scale(1.015); }
.window img:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.zoom { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.zoom[open] { display: flex; align-items: center; justify-content: center; gap: 12px; }
.zoom::backdrop { background: rgba(8,20,18,.88); backdrop-filter: blur(4px); }
.zoom figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: calc(100vw - 140px); }
.zoom img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); background: #fff; }
.zoom figcaption { color: #e3ece9; font-size: .95rem; }
.zoom button { border: 0; background: rgba(255,255,255,.12); color: #fff; border-radius: 50%; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; cursor: pointer; flex: none; }
.zoom button:hover { background: rgba(255,255,255,.24); }
.zoom-close { position: absolute; top: 18px; right: 18px; }
@media (max-width: 640px) { .zoom-nav { display: none; } .zoom figure { max-width: calc(100vw - 24px); } }
@media (prefers-reduced-motion: reduce) { .window img { transition: none; } }
