/* Home page. Self-contained (does not load style.css): tokens, nav, hero scene, library, benefits, dark close and footer. */
:root {
  --bg: #f8f8f8; --surface: #fff; --panel: #f5f7f6; --panel2: #f0f0f0;
  --ink: #1a1a1a; --muted: #7c7c7c; --faint: #b5b5b5; --line: #0000001a; --line2: #25252233;
  --green: #118453; --green-soft: #11845314; --red: #c0362f; --red-soft: #c0362f14; --amber: #ba6603;
  --dot: #00000024;
  --shadow: 0 1px 2px -1px #0000000a, 0 4px 6px -1px #0000000f, 0 8px 16px #0000000a;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Geist Pixel", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0e0d; --surface: #171716; --panel: #131312; --panel2: #1f1f1d;
    --ink: #f3f3f1; --muted: #8f8f8a; --faint: #5a5a56; --line: #ffffff17; --line2: #ffffff2b;
    --green: #3fbf85; --green-soft: #3fbf851c; --red: #ef6a62; --red-soft: #ef6a621c; --dot: #ffffff1f;
    --shadow: 0 1px 2px #00000080, 0 1rem 2.5rem -1rem #000c;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0e0d; --surface: #171716; --panel: #131312; --panel2: #1f1f1d;
  --ink: #f3f3f1; --muted: #8f8f8a; --faint: #5a5a56; --line: #ffffff17; --line2: #ffffff2b;
  --green: #3fbf85; --green-soft: #3fbf851c; --red: #ef6a62; --red-soft: #ef6a621c; --dot: #ffffff1f;
  --shadow: 0 1px 2px #00000080, 0 1rem 2.5rem -1rem #000c;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--sans); overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }
html:not([lang="fr"]) [data-l="fr"], html[lang="fr"] [data-l="en"] { display: none !important; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding: 0 16px; position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@media (min-width: 720px) { .nav { padding: 0 32px; } }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 500 16px/1 var(--mono); text-decoration: none; letter-spacing: -.01em; }
.glyph { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink); }
.glyph svg { width: 28px; height: 28px; }
.links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.links a:not(.candy) { text-decoration: none; color: var(--ink); opacity: .78; }
.links a:not(.candy):hover { opacity: 1; }
.rond { height: 32px; min-width: 32px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--ink); cursor: pointer; font: 500 11px/1 var(--mono); letter-spacing: .05em; display: inline-grid; place-items: center; }
.rond:hover { background: var(--panel2); }
.theme svg { width: 14px; height: 14px; }
.theme .lune { display: none; }
:root[data-theme="dark"] .theme .soleil { display: none; }
:root[data-theme="dark"] .theme .lune { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .soleil { display: none; }
  :root:not([data-theme="light"]) .theme .lune { display: block; }
}
@media (max-width: 720px) { .hidem { display: none; } .links { gap: 8px; } }

.candy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font: 600 14px/1 var(--sans); border: 0; cursor: pointer;
  box-shadow: inset 0 1px 0 #ffffff2e, 0 1px 2px #0000002e, 0 4px 10px -2px #00000038; transition: transform .2s var(--ease); }
.candy:hover { transform: translateY(-1px); }
.candy.sm { padding: 9px 15px; font-size: 13px; }

/* Hero */
.hero { position: relative; padding: 26px 0 72px; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 7px 7px;
  -webkit-mask: radial-gradient(ellipse 50% 42% at 50% 52%, #000 0%, transparent 75%); mask: radial-gradient(ellipse 50% 42% at 50% 52%, #000 0%, transparent 75%); }
.hero::after { content: ""; position: absolute; left: 50%; top: 46%; width: 900px; height: 520px; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, #11845321, transparent); }
.hero .wrap { position: relative; z-index: 1; }
.kicker { display: inline-flex; gap: 6px; align-items: center; font: 12px var(--mono); color: var(--ink); opacity: .8; border: 1px solid var(--line2); border-radius: 999px; padding: 6px 13px; background: var(--surface); box-shadow: 0 1px 2px #0000000d; }
.kicker .vert { color: var(--green); }
.hero-h1 { font: 400 clamp(28px, 4.4vw, 44px)/1.16 var(--display); margin: 22px auto 0; letter-spacing: -.01em; }
.hero-h1 > .grad { display: block; }
.grad { background: linear-gradient(180deg, var(--ink) 30%, color-mix(in srgb, var(--ink) 72%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l2 { display: inline-flex; align-items: baseline; justify-content: center; gap: .32em; font-size: .62em; color: var(--muted); margin-top: .2em; flex-wrap: wrap; }
.l2 .grad { background: none; color: var(--muted); }
.roleslot { display: inline-block; height: 1.2em; overflow: hidden; vertical-align: bottom; text-align: left; transition: width .5s var(--ease); }
.rw { display: flex; flex-direction: column; align-items: flex-start; transition: transform .6s var(--ease); }
.ri { height: 1.2em; line-height: 1.2em; white-space: nowrap; color: var(--ink); }
.h1cursor { display: inline-block; width: 2px; height: .95em; background: var(--ink); margin-left: 2px; animation: clignote 1s steps(1) infinite; align-self: center; }
@keyframes clignote { 50% { opacity: 0; } }

/* Scene: project, Mario, tools */
.scene { position: relative; display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 24px; align-items: center; margin: 40px auto 0; max-width: 1140px; min-height: 380px; text-align: left; }
.fils { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.fils path { fill: none; stroke: var(--line2); stroke-width: 1; }
.fils path.chaud { stroke: var(--red); stroke-dasharray: 4 5; animation: flux 1.2s linear infinite; opacity: .7; }
.fils path.vif { stroke: var(--green); opacity: .55; }
@keyframes flux { to { stroke-dashoffset: -18; } }
.hcell { position: relative; z-index: 1; }
.sl { font: 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 10px 2px; }
.tools .sl { text-align: right; color: var(--green); }
.aghead { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer; text-align: left; color: var(--ink); font: inherit; }
.aghead b { display: block; font-size: 16px; font-weight: 600; }
.aghead i { display: block; font: normal 12px var(--mono); color: var(--muted); }
.avatar { width: 34px; height: 34px; border-radius: 10px; background: #d97a3a1f; display: grid; grid-template-columns: repeat(2, 7px); gap: 3px; place-content: center; flex: none; }
.avatar i { width: 7px; height: 7px; background: #d0743a; border-radius: 1px; }
.avatar i:nth-child(4) { opacity: .35; }
.hsteps { margin-top: 16px; display: grid; gap: 10px; min-height: 132px; }
.hst { display: flex; align-items: center; gap: 10px; font: 12.5px var(--mono); color: var(--ink); opacity: 0; transform: translateY(4px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hst.in { opacity: .85; transform: none; }
.hst .tg { width: 16px; height: 16px; border: 1px solid var(--line2); border-radius: 4px; display: grid; place-items: center; font-size: 9px; color: var(--muted); flex: none; }
.hst i { margin-left: auto; font-style: normal; color: var(--green); }
.hst.alerte { color: var(--red); }
.hst.alerte i { color: var(--red); }

.mid { display: grid; justify-items: center; gap: 22px; }
.sculpture { position: relative; width: 240px; height: 230px; perspective: 900px; }
.pile { position: absolute; left: 50%; top: 52%; width: 130px; height: 130px; transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-42deg); transform-style: preserve-3d; }
.pile .d { position: absolute; inset: 0; border-radius: 50%; transform-style: preserve-3d; display: grid; place-items: center;
  transform: translate3d(var(--x, 0px), var(--y, 0px), var(--z, 0px));
  transition: transform .9s var(--ease), opacity .6s, background .4s, box-shadow .4s;
  background: linear-gradient(135deg, #ffffff, #e4f5ec);
  box-shadow: inset 0 0 0 1px #11845333, 0 10px 18px -12px #0000004d; }
.pile .d::before { content: ""; position: absolute; inset: 0; border-radius: 50%; transform: translateZ(-7px); background: #d5e9de; box-shadow: 0 0 0 1px #1184531f; }
.pile .d img { width: 44px; height: 44px; transform: rotateZ(42deg); display: block; }
.pile .d.haut img { width: 50px; height: 50px; }
.pile .d.rouge { background: linear-gradient(135deg, #fff1ef, #f3b1aa); box-shadow: inset 0 0 0 1px #c0362f66, 0 0 0 6px #c0362f1f, 0 18px 30px -14px #c0362f99; }
.pile .d.rouge::before { background: #eaa49d; }
.pile .d.vert { background: linear-gradient(135deg, #ecfff5, #9fe0c1); box-shadow: inset 0 0 0 1px #11845380, 0 0 0 6px #1184531f, 0 18px 30px -14px #11845399; }
.pile .d.vert::before { background: #86cfab; }
.pile .d.parti { opacity: 0; }
.ombre { position: absolute; left: 50%; bottom: 4px; width: 170px; height: 26px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, #00000026, transparent); }
.hcli { font: 12.5px var(--mono); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; box-shadow: var(--shadow); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.hcli .ps { color: var(--muted); }
.hcli .cy { color: var(--green); }
.hcli .rouge { color: var(--red); }

.htoolrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.htool { display: grid; justify-items: center; gap: 7px; padding: 14px 8px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; font-weight: 500; position: relative; transition: border-color .4s var(--ease), background .4s var(--ease); }
.mono { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font: 500 14px/1 var(--mono); background: var(--panel2); color: var(--ink); }
.htool .etat { position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.htool.touche { color: var(--red); border-color: var(--red); background: linear-gradient(var(--red-soft), var(--red-soft)), var(--surface); }
.htool.touche .etat { background: var(--red); box-shadow: 0 0 0 3px var(--red-soft); animation: pouls 1.4s ease-in-out infinite; }
@keyframes pouls { 50% { box-shadow: 0 0 0 6px transparent; } }
.hmore { text-align: right; font: 11px var(--mono); color: var(--muted); margin-top: 12px; }

/* Give this to your AI */
.give { max-width: 720px; margin: 44px auto 0; background: #111; color: #fff; border-radius: 18px; padding: 14px 14px 14px; box-shadow: 0 30px 60px -30px #0000008c; text-align: left; }
.give p { margin: 0 0 12px; font-size: 13px; font-weight: 600; text-align: center; }
.give .agents { display: inline-flex; gap: 6px; vertical-align: middle; margin-left: 10px; }
.give .agents img { width: 20px; height: 20px; border-radius: 5px; background: #fff; display: block; }
.ligne { display: flex; align-items: center; gap: 12px; background: #1d1d1c; border: 1px solid #ffffff14; border-radius: 12px; padding: 10px 10px 10px 16px; }
.ligne code { flex: 1; min-width: 0; font: 13px/1.45 var(--mono); color: #e9e9e6; overflow-wrap: break-word; }
.ligne code::before { content: "$ "; color: #7c7c78; }
.copier { font: 500 12px var(--mono); padding: 10px 18px; border-radius: 9px; border: 0; background: #fff; color: #111; cursor: pointer; white-space: nowrap; }
.copier.ok { background: var(--green); color: #fff; }

/* Library */
.catalog { padding: 64px 0 24px; }
.seclab { text-align: center; font: 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: 44px; }
.groupe { margin-bottom: 40px; }
.groupe h3 { display: flex; align-items: center; gap: 16px; font-size: 17px; font-weight: 600; margin: 0 0 16px; letter-spacing: -.01em; }
.groupe h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cartes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.carte { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px #00000008; }
.carte .mono { width: 34px; height: 34px; border-radius: 9px; flex: none; font: 500 14px/1 var(--mono); color: var(--ink); }
.carte b { display: block; font-size: 14px; font-weight: 500; }
.carte div span { display: block; font: 11.5px var(--mono); color: var(--muted); }

/* Benefits */
.bens { position: relative; padding: 40px 0 40px; }
.bens::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 7px 7px;
  -webkit-mask: linear-gradient(transparent, #0006 20%, #0003 80%, transparent); mask: linear-gradient(transparent, #0006 20%, #0003 80%, transparent); }
.ben { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 96px 0; }
.ben.inverse .bentext { order: 2; }
.ben.solo { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 120px 0 140px; }
.bennum { font: 12px var(--mono); color: var(--faint); margin-bottom: 18px; }
.ben h3 { font: 650 clamp(30px, 3.6vw, 44px)/1.08 var(--sans); letter-spacing: -.03em; margin: 0 0 22px; }
.ben h3 i { font-style: normal; color: var(--muted); }
.ben h3.pixel { font: 400 clamp(32px, 4.4vw, 52px)/1.1 var(--display); letter-spacing: 0; }
.bentext p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; max-width: 52ch; }
.bentext p b { color: var(--ink); font-weight: 600; }
.benmeta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.benmeta span { font: 11.5px var(--mono); color: var(--muted); }
.benmeta span::before { content: "▸ "; color: var(--faint); }
.solo .bennum { margin-bottom: 26px; }
.pilule { margin: 26px auto 0; display: inline-flex; gap: 8px; font: 13px var(--mono); background: #111; color: #e9e9e6; border-radius: 12px; padding: 14px 22px; box-shadow: 0 20px 40px -20px #00000080; max-width: 100%; overflow-wrap: anywhere; }
.pilule .ps { color: #7c7c78; } .pilule .cy { color: #5fd39b; }
.petit { font-size: 14px !important; margin-top: 18px !important; color: var(--faint) !important; }
.petit a { color: var(--muted); }

.fenetre { background: var(--surface); border: 1px solid var(--line2); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; min-height: 330px; }
.fbar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 11.5px var(--mono); color: var(--muted); }
.fbar i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line2); }
.fbar > span { margin-left: 10px; }
.fbar b { color: var(--ink); font-weight: 500; }

.inventaire { padding: 14px 16px 18px; display: grid; gap: 4px; }
.inv { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; align-items: center; padding: 10px 10px; border-radius: 10px; font: 12.5px var(--mono); opacity: 0; transform: translateX(-6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.inv.in { opacity: 1; transform: none; }
.inv:nth-child(odd) { background: var(--panel); }
.inv .f { color: var(--ink); }
.inv .t { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inv em { font-style: normal; font-size: 10.5px; color: var(--green); border: 1px solid var(--green-soft); background: var(--green-soft); padding: 2px 8px; border-radius: 999px; }
.inv.total { margin-top: 8px; background: none; border-top: 1px dashed var(--line2); border-radius: 0; padding-top: 16px; grid-template-columns: 130px 1fr; }
.inv.total .f { color: var(--green); } .inv.total .t { color: var(--ink); }

.keywall { position: relative; background: var(--surface); border: 1px solid var(--line2); border-radius: 18px; box-shadow: var(--shadow); padding: 26px 0 22px; overflow: hidden; }
.kw-key { display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 32px); margin: 0 auto 22px; padding: 10px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font: 13px var(--mono); }
.kw-key .kg { color: var(--green); animation: pouls2 1.6s ease-in-out infinite; }
@keyframes pouls2 { 50% { opacity: .3; } }
.kdots { color: var(--muted); }
.kw-rows { display: grid; gap: 10px; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.kw-row { overflow: hidden; }
.kw-track { display: flex; gap: 10px; width: max-content; animation: defile 38s linear infinite; }
.kw-track.rev { animation-direction: reverse; animation-duration: 46s; }
.kw-track span { font-size: 13px; font-weight: 500; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; box-shadow: 0 1px 2px #00000008; }
@keyframes defile { to { transform: translateX(-50%); } }

.fiche { padding: 20px 22px 24px; }
.fhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sev { font: 500 11px var(--mono); color: var(--red); background: var(--red-soft); padding: 4px 10px; border-radius: 999px; }
.sev::before { content: "■ "; }
.quand { font: 11px var(--mono); color: var(--muted); }
.fiche h4 { margin: 0 0 10px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.touche { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.touche code { font: 12px var(--mono); background: var(--panel2); color: var(--ink); padding: 2px 6px; border-radius: 6px; }
.gestes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: g; }
.gestes li { counter-increment: g; display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; transition: background .4s var(--ease), border-color .4s var(--ease); }
.gestes li::before { content: counter(g); width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font: 11px var(--mono); border: 1px solid var(--line2); color: var(--muted); }
.gestes li.fait { background: var(--green-soft); border-color: transparent; }
.gestes li.fait::before { content: "✓"; background: var(--green); color: #fff; border-color: var(--green); }
.gestes em { font: normal 10.5px var(--mono); color: var(--muted); border: 1px solid var(--line2); padding: 2px 8px; border-radius: 999px; }
.gestes em.ia { color: var(--green); border-color: var(--green-soft); }

/* Dark close and footer */
.sombre { position: relative; background: #0b0b0b; color: #fff; overflow: hidden; }
.sombre::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(#ffffff26 1px, transparent 1.2px); background-size: 7px 7px;
  -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 20%, #000, transparent 75%); mask: radial-gradient(ellipse 70% 60% at 50% 20%, #000, transparent 75%); }
.close { position: relative; padding: 120px 0 0; text-align: center; }
.close h2 { font: 400 clamp(30px, 4.4vw, 52px)/1.12 var(--display); margin: 0 auto 20px; max-width: 18ch; }
.close .grad { background: none; color: #f7f8f7; }
.close .grad2 { color: #8f8f8a; }
.close .sub { color: #9a9a96; font-size: 16px; max-width: 48ch; margin: 0 auto 34px; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.candy.clair { background: #fff; color: #111; box-shadow: inset 0 -1px 0 #0000001a, 0 10px 30px -10px #ffffff40; }
.ghostbtn { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 999px; border: 1px solid #ffffff2e; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.ghostbtn:hover { background: #ffffff10; }
.trustline { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin-top: 110px; padding: 18px 0; border-top: 1px solid #ffffff1a; border-bottom: 1px solid #ffffff1a; font: 12px var(--mono); color: #8f8f8a; }
.trustline b { color: #fff; font-weight: 500; }

.pied { position: relative; padding: 64px 0 0; }
.foot-top { display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px; }
.pied .glyph { color: #fff; }
.foot-brand p { margin: 12px 0 0; font: 12px var(--mono); color: #8f8f8a; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot-cols h5 { margin: 0 0 14px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #6f6f6b; }
.foot-cols a { display: block; color: #d9d9d6; text-decoration: none; font-size: 14px; padding: 4px 0; overflow-wrap: anywhere; }
.foot-cols a:hover { color: #fff; }
.geant { font: 400 clamp(120px, 30vw, 420px)/.8 var(--display); text-align: center; color: #1b1b1a; margin-top: 60px; letter-spacing: -.02em; user-select: none; transform: translateY(14%); }

/* Responsive */
@media (max-width: 960px) {
  .scene { grid-template-columns: 1fr; gap: 28px; max-width: 460px; }
  .fils { display: none; }
  .mid { order: -1; }
  .hero .wrap { display: flex; flex-direction: column; align-items: center; }
  .hero .wrap > * { align-self: stretch; }
  .hero .wrap > .kicker { align-self: center; }
  .give { order: 3; margin: 28px 0 0; }
  .scene { order: 4; margin-top: 36px; width: 100%; align-self: center; }
  .sculpture { height: 250px; } .sculpture .pile { top: 64%; }
  .tools .sl, .hmore { text-align: left; }
  .htoolrow { grid-template-columns: repeat(3, 1fr); }
  .ben, .ben.inverse { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .ben.inverse .bentext { order: 0; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .inv { grid-template-columns: 1fr auto; }
  .inv .t { grid-column: 1 / -1; grid-row: 2; }
  .inv.total { grid-template-columns: 1fr; }
  .ligne { padding: 8px 8px 8px 12px; gap: 8px; }
  .ligne code { font-size: 12px; }
  .copier { padding: 9px 12px; }
  .gestes li { grid-template-columns: 26px 1fr; }
  .gestes em { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hst, .inv { opacity: 1 !important; transform: none !important; }
}

.mono.logo { background: #fff; padding: 0; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.mono.logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.logo { background: #fff; overflow: hidden; display: block; }
.avatar.logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mono.logo img[src$=".svg"] { object-fit: contain; padding: 18%; box-sizing: border-box; }

/* ===== Hero v2 (24/11/2026): sources | Mario | agent, validated on the Portail ===== */

/* nav like treg */
.vnav { max-width: 1280px; margin: 0 auto; height: 76px; justify-content: flex-start; gap: 22px; }
.vbrand { font: 600 22px/1 var(--mono); gap: 12px; color: var(--ink); }
.vbrand img { width: 40px; height: 40px; display: block; }
.vlinks { margin-left: auto; gap: 22px; }
.vlinks a:not(.candy) { font-size: 13.5px; font-weight: 500; color: var(--muted); opacity: 1; }
.vlinks a:not(.candy):hover { color: var(--ink); }
.vlinks .navico { display: inline-flex; align-items: center; gap: 6px; }
.vlinks .navico svg { width: 15px; height: 15px; display: block; }
/* hero */
.vhero { position: relative; padding: 30px 0 70px; overflow: hidden; }
.vhero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 7px 7px; mask-image: radial-gradient(ellipse at 50% 45%, #000 30%, transparent 75%); }
.vhero .wrap { position: relative; z-index: 1; max-width: 1300px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.vh1 { font: 400 44px/1.12 var(--display); margin: 20px 0 0; letter-spacing: -.01em; }
.vh1 > span { display: block; } .vh1 .rouge2 { color: var(--red); }
.vsub { font: 600 34px/1.2 var(--sans); letter-spacing: -.03em; color: var(--ink); margin: 22px 0 0; min-height: 41px; }
.vsub b { font-weight: 700; }
.vgive { margin: 26px auto 0; width: 100%; }
.give .agents img { width: 20px; height: 20px; }
/* scene: sources | Mario | agent */
.sc { position: relative; display: grid; grid-template-columns: 310px 1fr 340px; align-items: center; gap: 20px; width: 100%; max-width: 1280px; margin: 34px auto 0; min-height: 560px; }
.sc .col { display: grid; gap: 14px; position: relative; z-index: 2; }
.lbl { display: grid; grid-template-columns: 310px 1fr 340px; gap: 20px; width: 100%; max-width: 1280px; margin: 40px auto -20px; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sculpture { width: 540px; height: 500px; perspective: 1400px; margin: 0 auto; }
.pile { width: 260px; height: 260px; top: 54%; }
.pile .d::before { transform: translateZ(-12px); }
.pile .d img { width: 88px; height: 88px; }
.pile .d.haut img { width: 104px; height: 104px; }
.ombre { width: 380px; height: 54px; bottom: 6px; }
.mid { display: flex; flex-direction: column; align-items: center; gap: 0; position: relative; z-index: 1; }
.mid .hcli { margin-top: -6px; }
.balise { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; text-align: left; position: relative; transition: border-color .3s, box-shadow .3s, opacity .5s var(--ease), transform .6s var(--ease); }
.balise .bh { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.balise .bh b { white-space: nowrap; }
.balise .bh img { width: 20px; height: 20px; border-radius: 5px; }
.balise .bh span { flex: 1; min-width: 0; font: 11px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.balise .pt { width: 7px; height: 7px; border-radius: 50%; background: #11845366; flex: none; }
.balise .bt { display: flex; gap: 10px; margin-top: 10px; }
.balise .av { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.balise .bt b { font-size: 13px; display: block; }
.balise .sk em { display: block; height: 7px; border-radius: 4px; background: #00000012; margin-top: 7px; width: 190px; }
.balise .sk em + em { width: 130px; }
.balise .msg { display: none; font-size: 12.5px; line-height: 1.4; color: var(--ink); margin-top: 3px; }
.balise.feu { border-color: #c0362f80; box-shadow: 0 0 0 4px #c0362f14, var(--shadow); }
.balise.feu .pt { background: var(--red); animation: pouls2 1s infinite; }
.balise.feu .sk { display: none; } .balise.feu .msg { display: block; }
.vfils { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.vfils path { fill: none; stroke: var(--line2); stroke-width: 1.2; }
.vfils path.chaud { stroke: var(--red); stroke-dasharray: 4 5; animation: flux 1.2s linear infinite; opacity: .8; }
.vfils path.repare { stroke: var(--green); stroke-dasharray: 4 5; animation: flux 1.2s linear infinite; }
/* agent panel (base) */
.agent { position: relative; z-index: 2; text-align: left; border-radius: 18px; padding: 14px; transition: box-shadow .4s, border-color .4s; }
.agent .ah { display: flex; align-items: center; gap: 9px; font-size: 13px; padding-bottom: 10px; }
.agent .ah img { width: 24px; height: 24px; border-radius: 6px; }
.agent .ah span { font: 11px var(--mono); opacity: .6; }
.agent .ah .pt { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: #11845366; }
.agent.actif .ah .pt { background: var(--green); animation: pouls2 1s infinite; }
.agent .as { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.agent li { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.38; transition: opacity .5s var(--ease), transform .5s var(--ease), background .4s; }
.agent li b { display: block; font-size: 13px; }
.agent li .ic { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--mono); }
.agB { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.agB li { opacity: .38; padding: 8px; border-radius: 10px; }
.agB li .ic { background: #f0f0f0; color: transparent; border: 1.5px dashed #00000030; }
.agB li.encours { opacity: 1; background: #11845310; }
.agB li.encours .ic { border: 2px solid var(--green); border-top-color: transparent; animation: tourne .8s linear infinite; }
.agB li.fait { opacity: 1; }
.agB li.fait .ic { background: var(--green); color: #fff; border: 0; animation: none; }
.agB li:first-child.fait .ic { background: var(--red); }
@keyframes tourne { to { transform: rotate(360deg); } }
/* ---------- tagline effects ---------- */
.fxC .caret { display: inline-block; width: 3px; height: .95em; background: var(--ink); margin-left: 3px; vertical-align: -.1em; animation: blink 1s steps(1) infinite; }
.fxC b.v { color: var(--green); }
@keyframes blink { 50% { opacity: 0; } }
/* ---------- beacon animations ---------- */
.bB .balise { opacity: .55; filter: grayscale(1); }
.bB .balise.feu { opacity: 1; filter: none; }
.bB .balise::after { content: ""; position: absolute; inset: -2px; border-radius: 16px; border: 2px solid var(--red); opacity: 0; pointer-events: none; }
.bB .balise.feu::after { animation: ping 1.4s var(--ease) 2; }
@keyframes ping { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12); } }
/* ---------- landing intros ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.pret .rv { opacity: 1; transform: none; }
.pret .rv:nth-child(2) { transition-delay: .08s; } .pret .rv:nth-child(3) { transition-delay: .16s; }
.pret .rv:nth-child(4) { transition-delay: .24s; } .pret .rv:nth-child(5) { transition-delay: .32s; } .pret .rv:nth-child(6) { transition-delay: .4s; }
.iC .rv { filter: blur(10px); transform: none; transition: opacity .9s var(--ease), filter .9s var(--ease); }
.iC .sc.rv { opacity: 1; filter: none; }
.slogos img { width: 28px; height: 28px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.strip { display: flex; align-items: center; gap: 18px; justify-content: center; margin: 34px auto 0; }
.slogos { display: flex; gap: 10px; } .strip .sl { margin: 0; white-space: nowrap; }
@media (max-width: 960px) {
  .vlinks a:not(.candy):not(:nth-last-child(2)) { display: none; }
  .sc, .lbl { grid-template-columns: 1fr; } .lbl { display: none; }
  .vgive { order: 3; } .sc { order: 4; } .strip { order: 5; }
  .sculpture { width: 100%; height: 380px; } .pile { width: 190px; height: 190px; }
}
@media (prefers-reduced-motion: reduce) { .rv, .balise, .agent li { opacity: 1 !important; transform: none !important; filter: none !important; } }

/* full-width header: logo on the left edge, Start free on the right edge, at every screen size */
.vnav { max-width: none; width: 100%; padding: 0 clamp(16px, 2.4vw, 40px); }
.langue { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--surface); }
.langue button { border: 0; background: transparent; font: 600 11.5px var(--mono); padding: 5px 9px; border-radius: 999px; color: var(--muted); cursor: pointer; }
.langue button.on { background: var(--ink); color: var(--bg); }
/* bigger right side of the header (24/11) */
.vlinks { gap: 28px; }
.vlinks a:not(.candy) { font-size: 16px; }
.vlinks .navico { gap: 8px; }
.vlinks .navico svg { width: 19px; height: 19px; }
.langue button { font-size: 13.5px; padding: 7px 12px; }
.vlinks .candy.sm { font-size: 16px; padding: 12px 22px; }
@media (max-width: 1100px) { .vlinks { gap: 18px; } .vlinks a:not(.candy) { font-size: 14.5px; } }
/* scene adapts between 960px and 1300px */
@media (min-width: 961px) { .sc, .lbl { grid-template-columns: minmax(230px, 310px) minmax(0, 1fr) minmax(250px, 340px); } }
@media (max-width: 960px) { .sc { min-height: 0; gap: 18px; } .sc .col .balise:nth-child(n+3) { display: none; } .strip, .slogos { flex-wrap: wrap; justify-content: center; } .slogos img:nth-child(n+10) { display: none; } .etiquette { font-size: 10px; max-width: 70vw; } .vhero .wrap { padding: 0 16px; } }
.sculpture { width: min(540px, 100%); }
@media (max-width: 1180px) { .pile { width: 210px; height: 210px; } .pile .d img { width: 70px; height: 70px; } .pile .d.haut img { width: 84px; height: 84px; } .sculpture { height: 430px; } .ombre { width: 300px; } }
@media (max-width: 760px) { .vlinks .hm { display: none; } .vlinks { gap: 12px; } .vh1 { font-size: 30px; } .vsub { font-size: 24px; } }
/* agent header */
.agent .ah .qui { display: inline-flex; align-items: center; gap: 8px; }
.agent .ah .qui b { font-size: 14px; }
.agent .ah .role { font: 11px var(--mono); color: var(--muted); }
/* S2: row of all agents, the active one lights up */
.rangee-ag { display: flex; gap: 8px; padding: 2px 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.rangee-ag img { width: 30px; height: 30px; border-radius: 8px; opacity: .35; filter: grayscale(1); transition: all .4s var(--ease); }
.rangee-ag img.on { opacity: 1; filter: none; transform: translateY(-3px) scale(1.12); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--green); }
/* S4: agent icons outside the card, generic steps below */
.agcol { display: grid; gap: 14px; position: relative; z-index: 2; text-align: left; }
.hors { display: grid; gap: 8px; }
.hors .rangee-ag { border: 0; padding: 0; margin: 0; gap: 10px; }
.hors .rangee-ag img { width: 40px; height: 40px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.hors .rangee-ag img.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--green), 0 10px 20px -10px #11845399; }
.agn { font: 12px var(--mono); color: var(--muted); } .agn b { color: var(--ink); font-weight: 600; }
.S4 .ah b { font-size: 13px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font: 500 12.5px var(--mono); color: var(--muted); text-decoration: none; }
.chip b { font: 600 15px var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.chip.noir { background: #111; color: #fff; border-color: #111; }
.chip svg { width: 15px; height: 15px; }
.iC .rv { filter: blur(10px); transform: none; transition: opacity .9s var(--ease), filter .9s var(--ease); }
.iC.pret .rv { filter: none; }
.vbrand img { filter: none; }
:root[data-theme="dark"] .vbrand img { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vbrand img { filter: invert(1); } }
.langue.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--surface); cursor: pointer; }
.langue.seg span { font: 600 13.5px var(--mono); padding: 7px 12px; border-radius: 999px; color: var(--muted); }
html:not([lang="fr"]) .langue.seg .o-en, html[lang="fr"] .langue.seg .o-fr { background: var(--ink); color: var(--bg); }

/* ---- Home, rest of the page (validated 24/11/2026) ---- */
.rs { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rs.show { opacity: 1; transform: none; }
.h2c { font: 650 clamp(28px, 3.2vw, 40px)/1.1 var(--sans); letter-spacing: -.03em; text-align: center; margin: 0 0 28px; }
.sl { text-align: center; font: 12px var(--mono); color: var(--muted); }
.win { background: var(--surface); border: 1px solid var(--line2); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.wh { display: flex; gap: 6px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); font: 11px var(--mono); color: var(--muted); }
.wh i { width: 9px; height: 9px; border-radius: 50%; background: #0000001a; } .wh span { margin-left: 8px; }
.invl { display: grid; grid-template-columns: 26px 110px 1fr; gap: 10px; align-items: center; padding: 9px 16px; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.invl img { width: 24px; height: 24px; border-radius: 6px; } .invl span { font: 12px var(--mono); color: var(--muted); }
.invl.tot { display: block; font: 12px var(--mono); color: var(--green); border: 0; }
.barres { padding: 18px 20px; display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 190px 1fr 70px; gap: 12px; align-items: center; font-size: 13px; }
.bar .bt { height: 10px; background: var(--panel2); border-radius: 99px; overflow: hidden; }
.bar .bt i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #118453, #2bb673); border-radius: 99px; transition: width 1.4s var(--ease); }
.show .bar .bt i, .show.bar .bt i { width: var(--w); }
.bar b { font: 500 12.5px var(--mono); text-align: right; }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq.deux { max-width: 1100px; grid-template-columns: 1fr 1fr; align-items: start; }
.q { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow); }
.q summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.q summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--muted); } .q[open] summary::after { content: "\2212"; }
.q p { color: var(--muted); margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; }
.give.fin { margin: 34px auto 0; max-width: 720px; border: 1px solid #ffffff1f; }
.blanc { color: #fff; } .blanc img { filter: invert(1); }
.agrow { display: flex; gap: 14px; justify-content: center; margin: 0 0 30px; }
.agrow img { width: 54px; height: 54px; border-radius: 14px; background: #fff; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.agrow.petit { justify-content: flex-start; margin: 16px 0 0; } .agrow.petit img { width: 34px; height: 34px; border-radius: 9px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
/* A */
.sA { padding: 40px 0; }
.row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; padding: 90px 0; }
.row.inv-r .tx { order: 2; }
.num { font: 12px var(--mono); color: var(--faint); }
.row h3 { font: 650 clamp(30px, 3.4vw, 44px)/1.08 var(--sans); letter-spacing: -.03em; margin: 14px 0 20px; } .row h3 i { font-style: normal; color: var(--muted); }
.row p { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0; max-width: 50ch; } .row p b { color: var(--ink); }
.sA2 { padding: 70px 0; } .logos-mur { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; max-width: 900px; margin: 0 auto 18px; }
.logos-mur img { width: 100%; aspect-ratio: 1; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 8px; box-sizing: border-box; }
.sA3 { padding: 60px 0 110px; } .sA3 .two { margin-bottom: 90px; align-items: stretch; }
.carte-os { background: #111; color: #fff; border-radius: 22px; padding: 34px; display: grid; gap: 10px; justify-items: start; }
.carte-os > svg { width: 30px; height: 30px; } .carte-os h3 { font: 400 34px/1.1 var(--display); margin: 6px 0 0; } .carte-os p { color: #a5a5a0; margin: 0 0 12px; font-size: 16px; }
.carte-os .candy { background: #fff; color: #111; }
.carte-os.clair { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); } .carte-os.clair p { color: var(--muted); } .carte-os.clair .candy { background: #111; color: #fff; }
/* B */
.sB { padding: 80px 0 100px; } .sB > .wrap > * + * { margin-top: 110px; }
.gros { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.gros > div { padding: 34px 24px; display: grid; gap: 6px; } .gros > div + div { border-left: 1px solid var(--line2); }
.gros b { font: 400 54px/1 var(--display); } .gros > div > span { font: 12px var(--mono); color: var(--muted); } .gros b span { font: inherit; color: inherit; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.bx { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); overflow: hidden; }
.bx.l { grid-row: span 2; } .bx h3 { font: 650 22px/1.15 var(--sans); letter-spacing: -.02em; margin: 0 0 8px; } .bx p { color: var(--muted); margin: 0; font-size: 14.5px; }
.bx.noir { background: #111; color: #fff; } .bx.noir > svg { width: 28px; height: 28px; margin-bottom: 14px; } .bx.noir p { color: #a5a5a0; }
.mini-inv { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; } .mini-inv .invl { grid-template-columns: 24px 90px 1fr; }
.mini-bars { margin-top: 16px; display: grid; gap: 8px; } .mini-bars .bar { grid-template-columns: 1fr 70px 52px; font-size: 11.5px; } .mini-bars .bar:nth-child(n+5) { display: none; }
.bx .gestes { margin-top: 16px; }
.cherche { max-width: 620px; margin: 0 auto; position: relative; }
.cherche input { width: 100%; box-sizing: border-box; font: 17px var(--sans); padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line2); background: var(--surface); box-shadow: var(--shadow); outline: none; }
.cherche input:focus { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
#qr { display: block; text-align: center; margin-top: 12px; font: 13px var(--mono); color: var(--muted); min-height: 20px; } #qr b { color: var(--green); }
.ccs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.cc { font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); } .cc b { font: 500 12px var(--mono); color: var(--muted); margin-left: 4px; }
.compare table { width: 100%; max-width: 900px; margin: 0 auto; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; } .compare td:first-child, .compare th:first-child { text-align: left; }
.compare th { font: 500 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.compare .m { background: var(--green-soft); color: var(--green); font-weight: 600; } .compare th.m { color: var(--green); }
.piedB { background: #0b0b0b; color: #fff; padding: 90px 0 30px; }
.ctaB { text-align: center; margin-bottom: 90px; } .ctaB h2 { font: 400 clamp(30px, 4vw, 50px)/1.1 var(--display); margin: 0; }
.piedB .foot-top { border-top: 1px solid #ffffff1f; padding-top: 40px; } .piedB .mini { font: 11px var(--mono); color: #6f6f6b; margin-top: 40px; }
/* C */
.sC { padding: 110px 0 60px; } .sous { color: var(--muted); font-size: 17px; line-height: 1.65; text-align: center; margin: -14px 0 0; }
.film { position: relative; max-width: 860px; margin: 60px auto 0; display: grid; gap: 26px; }
.film::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--red), var(--amber), var(--green), var(--faint)); transform: translateX(-50%); }
.ev { display: grid; grid-template-columns: 1fr 30px 1fr; gap: 20px; align-items: center; }
.ev .h { font: 500 14px var(--mono); text-align: right; color: var(--muted); } .ev .pt { width: 16px; height: 16px; border-radius: 50%; justify-self: center; background: var(--surface); border: 3px solid var(--faint); z-index: 1; }
.ev .carte { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.ev .carte img { width: 28px; height: 28px; border-radius: 7px; flex: none; } .ev .carte p { margin: 0; font-size: 14.5px; }
.ev:nth-child(even) .h { order: 3; text-align: left; } .ev:nth-child(even) .carte { order: 1; } .ev:nth-child(even) .pt { order: 2; }
.ev.r .pt { border-color: var(--red); } .ev.a .pt { border-color: var(--amber); } .ev.v .pt { border-color: var(--green); } .ev.g .carte { opacity: .7; border-style: dashed; }
.ev.r .h { color: var(--red); } .ev.v .h { color: var(--green); }
.sC2 { padding: 90px 0; } .sC2 h2, .sC3 h2:not(.h2c) { font: 650 clamp(28px, 3.2vw, 42px)/1.1 var(--sans); letter-spacing: -.03em; margin: 0 0 18px; } .sC2 .sous, .sC3 .sous { text-align: left; margin: 0; }
.sC3 { padding: 40px 0 120px; } .sC3 > .wrap + .wrap { margin-top: 110px; }
.term { background: #111; color: #e6e6e2; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -30px #0000008c; } .term .wh { border-color: #ffffff14; } .term .wh i { background: #ffffff26; }
.term pre { margin: 0; padding: 20px; font: 13.5px/1.8 var(--mono); white-space: pre-wrap; } .term .ps { color: #7c7c78; } .term .c { color: #7ee2b0; }
.actions.g { justify-content: flex-start; margin-top: 26px; } .actions.g .candy svg { width: 16px; height: 16px; } .candy.clair2 { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line2); }
@media (max-width: 960px) {
  .row, .two, .faq.deux, .bento, .gros { grid-template-columns: 1fr; } .row.inv-r .tx { order: 0; } .row { gap: 32px; padding: 50px 0; }
  .bx.l { grid-row: auto; } .gros > div + div { border-left: 0; border-top: 1px solid var(--line2); } .logos-mur { grid-template-columns: repeat(6, 1fr); }
  .bar { grid-template-columns: 120px 1fr 60px; } .ev { grid-template-columns: 54px 20px 1fr; } .film::before { left: 84px; }
  .ev:nth-child(even) .h { order: 0; text-align: right; } .ev:nth-child(even) .carte, .ev:nth-child(even) .pt { order: 0; }
}

.big { font: inherit; } .row h3 .big { color: var(--ink); }
.live { margin-left: auto; font: 600 11px var(--mono); color: #118453; display: inline-flex; align-items: center; gap: 6px; font-style: normal; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1aa35f; animation: pul 1.4s infinite; }
@keyframes pul { 50% { opacity: .25; } }
.flux .wh { display: flex; } .defile { height: 330px; overflow: hidden; mask: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.piste { animation: monte 22s linear infinite; } @keyframes monte { to { transform: translateY(-50%); } }
.fl { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 11px 18px; border-bottom: 1px solid var(--line2); }
.fl img { width: 20px; height: 20px; object-fit: contain; border-radius: 5px; } .fl code { font: 12.5px var(--mono); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl .st { font: 12px var(--mono); color: var(--muted); } .fl.ok .st::before { content: "✓ "; color: #118453; } .fl.ko { background: #fdeceb; } .fl.ko .st { color: #c0362f; } .fl.ko .st::before { content: "■ "; }
.fsv { padding: 8px 0; } .fsh { display: flex; gap: 14px; align-items: center; padding: 14px 20px 16px; border-bottom: 1px solid var(--line2); }
.fsh img { width: 40px; height: 40px; border-radius: 10px; } .fsh b { display: block; font-size: 18px; } .fsh span { color: var(--muted); font-size: 14px; }
.fso { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 13px 20px; border-bottom: 1px solid var(--line2); opacity: 0; transform: translateX(14px); transition: .5s; }
.show .fso { opacity: 1; transform: none; } .show .fso:nth-child(3) { transition-delay: .25s; } .show .fso:nth-child(4) { transition-delay: .5s; } .show .fso:nth-child(5) { transition-delay: .75s; } .show .fso:nth-child(6) { transition-delay: 1s; }
.fso img { width: 24px; height: 24px; object-fit: contain; } .fso b { display: block; font-size: 15px; } .fso code { font: 12px var(--mono); color: var(--muted); }
.ck { width: 24px; height: 24px; border-radius: 50%; background: #e3f5ea; color: #118453; display: grid; place-items: center; font-size: 13px; }
.fsx { padding: 16px 20px 10px; font: 600 14px var(--mono); color: var(--muted); text-align: right; } .fsx b { color: var(--ink); }
.sS3 { padding: 110px 0; text-align: center; } .num.c { display: block; } .gnum { font: 700 clamp(72px, 11vw, 150px)/1 var(--sans); letter-spacing: -.05em; margin: 10px 0 8px;
  background: linear-gradient(180deg, var(--ink), #7a7a7a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; margin: 48px auto 26px; text-align: left; }
.tu { background: var(--surface); border: 1px solid var(--line2); border-radius: 16px; padding: 20px; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; row-gap: 3px; box-shadow: var(--shadow); }
.tu img { width: 30px; height: 30px; object-fit: contain; grid-row: span 2; align-self: center; } .tu b { font-size: 16px; } .tu span { color: var(--muted); font-size: 14px; }
.cons { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin: auto; }
.orb { position: absolute; inset: 0; border: 1px dashed var(--line2); border-radius: 50%; animation: tourne 60s linear infinite; }
.orb.o1 { inset: 21%; animation-duration: 40s; animation-direction: reverse; }
.orb span { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
  background: var(--surface); border: 1px solid var(--line2); border-radius: 12px; display: grid; place-items: center; box-shadow: var(--shadow); }
.o2 span:nth-child(1) { --a: 0deg; } .o2 span:nth-child(2) { --a: 36deg; } .o2 span:nth-child(3) { --a: 72deg; } .o2 span:nth-child(4) { --a: 108deg; } .o2 span:nth-child(5) { --a: 144deg; } .o2 span:nth-child(6) { --a: 180deg; } .o2 span:nth-child(7) { --a: 216deg; } .o2 span:nth-child(8) { --a: 252deg; } .o2 span:nth-child(9) { --a: 288deg; } .o2 span:nth-child(10) { --a: 324deg; }
.o1 span:nth-child(1) { --a: 0deg; } .o1 span:nth-child(2) { --a: 60deg; } .o1 span:nth-child(3) { --a: 120deg; } .o1 span:nth-child(4) { --a: 180deg; } .o1 span:nth-child(5) { --a: 240deg; } .o1 span:nth-child(6) { --a: 300deg; }
.o2 span { --r: 230px; } .o1 span { --r: 133px; } .orb img { width: 26px; height: 26px; object-fit: contain; animation: tourne 60s linear infinite reverse; } .o1 img { animation-duration: 40s; animation-direction: normal; }
@keyframes tourne { to { transform: rotate(360deg); } }
.coeur { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px; border-radius: 26px; background: var(--surface); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(26,163,95,.08), var(--shadow); }
.coeur img { width: 56px; } .sq { padding-top: 20px; }
@media (max-width: 960px) { .tuiles { grid-template-columns: 1fr 1fr; } .cons { width: min(460px, 80vw); } .o2 span { --r: 40vw; } .o1 span { --r: 23.2vw; } }
@media (max-width: 560px) { .tuiles { grid-template-columns: 1fr; } }
[data-piece] { cursor: pointer; }

/* ===== Screen-size scale (26/11/2026): laptops get the 90 % rendering, the large desktop screen stays as is ===== */
@media (min-width: 961px) and (max-width: 1679px), (min-width: 961px) and (max-height: 760px) { html { zoom: .9; } }
/* smaller tagline under the headline (26/11) */
.vsub { font-size: 26px; min-height: 32px; margin-top: 18px; }
@media (max-width: 760px) { .vsub { font-size: 19px; min-height: 24px; } }

/* ===== Arrival (26/11/2026), movement inspired by treg.to: the Mario stack alone, its discs falling from the sky,
   then the header, the sources, the wires, the agent, and the headline last while the scene settles into place.
   html.intro is set by site.js in <head> (skipped when the visitor asks for reduced motion); hero.js adds i1 to i6. ===== */
.iC .lbl.rv { opacity: 1; filter: none; }
html.intro .vhero .lbl, html.intro .vhero .sc { transform: translateY(var(--monte, 0px)); transition: transform 1.3s var(--ease); }
html.intro .sculpture { transform: scale(.72); transition: transform 2.6s var(--ease); }
html.intro.i1 .sculpture { transform: none; }
html.intro .ombre { opacity: 0; transition: opacity 1.4s var(--ease) .6s; }
html.intro.i1 .ombre { opacity: 1; }
html.intro .vnav { opacity: 0; transform: translateY(-16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.intro.i2 .vnav { opacity: 1; transform: none; }
html.intro .hcli { opacity: 0; filter: blur(6px); transition: opacity .9s var(--ease), filter .9s var(--ease); }
html.intro.i2 .hcli { opacity: 1; filter: none; }
html.intro .lbl > span { opacity: 0; transition: opacity .9s var(--ease); }
html.intro.i1 .lbl > span:nth-child(2), html.intro.i3 .lbl > span:nth-child(1), html.intro.i5 .lbl > span:nth-child(3) { opacity: 1; }
html.intro .balise { transition: opacity .8s var(--ease), transform 1s var(--ease), filter .8s var(--ease), border-color .3s, box-shadow .3s; }
html.intro:not(.i3) .bB .balise { opacity: 0; transform: translateX(-40px); filter: grayscale(1) blur(6px); }
html.intro .balise:nth-child(2) { transition-delay: .15s; } html.intro .balise:nth-child(3) { transition-delay: .3s; } html.intro .balise:nth-child(4) { transition-delay: .45s; }
html.intro .agcol > * { transition: opacity 1s var(--ease), filter 1s var(--ease); }
html.intro .agcol > .agent { transition-delay: .2s; }
html.intro:not(.i5) .agcol > * { opacity: 0; filter: blur(10px); }
.vfils path.trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 1s var(--ease) forwards; }
.vfils path.trace.t2 { animation-duration: .9s; animation-delay: .9s; }
@keyframes trace { to { stroke-dashoffset: 0; } }

/* ===== Phone header (26/11/2026): one clean line, logo left, language and Start free right ===== */
@media (max-width: 760px) {
  .vnav { height: 60px; gap: 10px; padding: 0 16px; }
  .vbrand { font-size: 18px; gap: 9px; }
  .vbrand img { width: 30px; height: 30px; }
  .vlinks { gap: 10px; }
  .langue button { font-size: 11.5px; padding: 6px 9px; }
  .vlinks .candy.sm { font-size: 14px; padding: 10px 16px; white-space: nowrap; }
}
@media (max-width: 360px) { .vbrand span, .vbrand { font-size: 16px; } .vlinks .candy.sm { padding: 9px 13px; font-size: 13px; } }

/* ===== Phone fixes (26/11/2026) ===== */
/* The turning orbit of logos made the page wider as it rotated (its rotated box overflowed): iOS then shrank the whole page. */
html, body { overflow-x: clip; }
.vis { overflow-x: clip; }
@media (max-width: 960px) { .o2 span { --r: 36vw; } .o1 span { --r: 21vw; } }
/* WebKit keeps a 3D (preserve-3d) element opaque: the leaving red disc flattens so its fade works, and hero.js removes it. */
.pile .d.parti { transform-style: flat; }
/* "MARIO" above the stack: twice the size, bold (26/11/2026) */
.lbl > span:nth-child(2) { font-size: 22px; font-weight: 700; letter-spacing: .1em; color: var(--ink); align-self: end; }
/* Every disc shows its logo (26/11/2026): the stack is spread out and each lower logo sits toward the front of its disc,
   in the strip the disc above leaves visible. Bottom to top: Firebase, OpenAI, AcmeVault, GitHub, Mario. */
.pile .d:not(.haut) img { width: 56px; height: 56px; transform: translate(-56px, 62px) rotateZ(42deg); }
@media (max-width: 960px) { .pile .d:not(.haut) img { width: 40px; height: 40px; transform: translate(-40px, 45px) rotateZ(42deg); } }

/* nav "Catalog": scrolls to the sources section */
html { scroll-behavior: smooth; }
#catalogue { scroll-margin-top: 70px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
