/* ERO DSP — feuille de style (maquette v0.1) */
:root {
  --bg: #07090d;
  --bg2: #0b0f15;
  --surface: #0f141c;
  --line: rgba(160, 200, 230, .10);
  --line2: rgba(160, 200, 230, .18);
  --text: #e8f1f7;
  --muted: #8b9aab;
  --acc: #25f1ff;      /* cyan logo */
  --acc-mid: #00c8e8;
  --acc2: #128ff6;     /* bleu logo */
  --acc3: #0872e9;
  --grad: linear-gradient(120deg, var(--acc) 0%, var(--acc-mid) 45%, var(--acc3) 100%);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --radius: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
[data-accent="green"], .accent-green { --acc: #9af5c8; --acc-mid: #66e0a6; --acc2: #34c486; --acc3: #1f9e66; --grad: linear-gradient(120deg, var(--acc) 0%, var(--acc-mid) 45%, var(--acc3) 100%); }
[data-accent="orange"], .accent-orange { --acc: #ffb547; --acc-mid: #ff9a2e; --acc2: #ff7a1a; --acc3: #e85d04; --grad: linear-gradient(120deg, var(--acc) 0%, var(--acc-mid) 45%, var(--acc3) 100%); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.02em; font-weight: 650; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #cfdbe5; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -3rem; background: var(--acc); color: #000; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 3rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 3rem); }
.center { text-align: center; }
.eyebrow { color: var(--acc); margin-bottom: 1rem; }
.ph { color: var(--acc); font-style: italic; opacity: .85; }
.placeholder-note { border: 1px dashed var(--line2); border-radius: 10px; padding: .8rem 1rem; color: var(--muted); font-size: .9rem; }
.placeholder-note::before { content: "À compléter — "; color: var(--acc); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 9, 13, .72); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 2rem; }
.nav a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: var(--text); margin: 6px 0; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; border: 1px solid var(--line2); font-size: .92rem; font-weight: 550; transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .3s; cursor: pointer; background: transparent; color: var(--text); font-family: inherit; }
.btn:hover { border-color: var(--acc); transform: translateY(-1px); }
.btn--primary { background: var(--grad); border-color: transparent; color: #021018; }
.btn--primary:hover { box-shadow: 0 8px 30px -8px var(--acc-mid); }
.btn.is-disabled { opacity: .55; cursor: default; pointer-events: none; }

/* Hero */
.hero { position: relative; min-height: calc(100svh - 68px); display: grid; place-items: center; overflow: hidden; padding: 4rem 0 6rem; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 50% 62%, rgba(0, 200, 232, .13), transparent 70%),
  radial-gradient(1px 1px at 1px 1px, rgba(160, 210, 240, .10) 1px, transparent 0) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000 40%, transparent 100%); mask-image: radial-gradient(80% 70% at 50% 50%, #000 40%, transparent 100%); }
.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(560px, 86vw); height: auto; margin-bottom: 2.2rem; filter: drop-shadow(0 0 40px rgba(0, 200, 232, .18)); }
.curve-line { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.2s .3s var(--ease) forwards; }
.curve-glow { opacity: 0; animation: glow 4s 1.4s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes glow { 0%, 100% { opacity: .25; } 50% { opacity: .6; } }
.hero-lead { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 500; letter-spacing: -.01em; margin-bottom: .6rem; }
.hero-sub { color: var(--muted); max-width: 40rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-top: 1.4rem; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; width: 1px; height: 44px; background: var(--line2); overflow: hidden; }
.hero-scroll span { position: absolute; inset: 0; background: var(--acc); animation: scrollcue 2.4s ease-in-out infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--alt { background: var(--bg2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head:has(.avail) { max-width: none; }
.section-head:has(.avail) > .muted { max-width: 760px; }
.avail { display: flex; flex-wrap: wrap; align-items: stretch; gap: .6rem; margin-top: 1.6rem; padding: .7rem; border: 1px solid rgba(74, 222, 128, .22); border-radius: 14px; background: linear-gradient(90deg, rgba(74, 222, 128, .06), transparent 70%); }
.avail-label { display: inline-flex; align-items: center; gap: .5rem; color: #bff5d4; padding: 0 .6rem 0 .3rem; font-size: .68rem; }
.avail-label i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: pulse 2.4s ease-in-out infinite; }
.avail-item { display: grid; padding: .45rem .9rem; border-radius: 10px; border: 1px solid var(--line2); background: rgba(7, 9, 13, .6); transition: border-color .2s, transform .2s var(--ease); }
.avail-item span { font-size: .9rem; font-weight: 550; line-height: 1.3; }
.avail-item small { font-size: .72rem; color: var(--muted); }
.avail-item:hover { border-color: var(--acc); transform: translateY(-1px); }
.cta-hint { align-self: center; color: var(--muted); font-size: .65rem; }
.cat-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.cat-pills a { font-size: .85rem; padding: .4rem .9rem; border: 1px solid var(--line2); border-radius: 999px; color: var(--muted); transition: color .2s, border-color .2s; }
.cat-pills a:hover { color: var(--text); border-color: var(--acc); }
.cat { padding-top: 3rem; scroll-margin-top: 80px; }
.cat + .cat { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.cat-head { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .2rem 1rem; margin-bottom: 1.6rem; }
.cat-head h3 { font-size: 1.5rem; margin: 0; }
.cat-head p { grid-column: 2; margin: 0; }
.cat-code { color: var(--acc); }
.cat-count { color: var(--muted); grid-row: 1; grid-column: 3; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr)); gap: 1.2rem; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--acc) 10%, transparent), transparent 60%); opacity: 0; transition: opacity .3s; }
.card:hover { border-color: color-mix(in srgb, var(--acc) 45%, transparent); transform: translateY(-3px); box-shadow: 0 20px 50px -25px color-mix(in srgb, var(--acc2) 60%, transparent); }
.card:hover::after { opacity: 1; }
.card-media { position: relative; aspect-ratio: 5 / 3; color: #9fc6dd; background: linear-gradient(180deg, #0a0e14, #0d121a); border-bottom: 1px solid var(--line); overflow: hidden; }
.card-media .viz { width: 100%; height: 100%; }
.has-icon .viz { opacity: .35; }
.card-ui { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s var(--ease); }
.card:hover .card-ui { transform: scale(1.03); }
.has-ui::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -40px 40px -30px rgba(7, 9, 13, .7); pointer-events: none; }
.p-media--ui { display: block; aspect-ratio: auto; }
.p-media--ui img { width: 100%; height: auto; }
.shot-frame--img { display: block; overflow: hidden; border-style: solid; background: none; }
.shot-frame--img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s var(--ease); }
.shot-frame--img:hover img { transform: scale(1.03); }
.shots--wide { grid-template-columns: repeat(2, 1fr); }
.shot--wide { grid-column: 1 / -1; }
.shot--wide .shot-frame { aspect-ratio: auto; }
.shots--wide .shot:not(.shot--wide) { grid-column: 1 / -1; }
.shots--wide .shot:not(.shot--wide) .shot-frame { aspect-ratio: 16 / 3; }
.shot--wide .shot-frame img { height: auto; }
.p-note { font-size: .78rem; color: var(--muted); border-left: 2px solid var(--line2); padding-left: .8rem; margin-top: -.2rem; }
.shot figcaption { color: var(--muted); margin-top: .6rem; font-size: .65rem; }
.card-icon { position: absolute; left: 50%; top: 50%; width: 42%; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 22%; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8); transition: transform .5s var(--ease); }
.card:hover .card-icon { transform: translate(-50%, -52%) scale(1.03); }
.card-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: .5rem 0 .4rem; }
.card-type { color: var(--muted); font-size: .68rem; }
.card-media .badge { position: absolute; top: .8rem; left: .8rem; background: rgba(7, 9, 13, .78); backdrop-filter: blur(6px); }
.grid--single { grid-template-columns: 1fr; }
.grid--duo { grid-template-columns: repeat(2, 1fr); }
.grid--feature { grid-template-columns: repeat(3, 1fr); }
.grid--feature > .card:first-child { grid-column: span 2; }
.grid--feature > .card:first-child .card-media { aspect-ratio: 10 / 3; }
.grid--duo .card-media { aspect-ratio: 16 / 7; }
.grid--single .card { flex-direction: row; }
.grid--single .card-media { flex: 0 0 48%; aspect-ratio: auto; min-height: 260px; border-bottom: 0; border-right: 1px solid var(--line); }
.grid--single .card-body { justify-content: center; padding: 2rem 2.4rem; }
.grid--single .card-body h3 { font-size: 1.6rem; }
.grid--single .card-body p { flex: 0; font-size: 1.02rem; max-width: 30rem; }
.grid--single .card-icon { width: auto; height: 62%; }
.grid--single .card-ui { object-position: center top; }
.grid--feature > .card:first-child .card-ui { object-position: center 40%; }
.card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; color: var(--acc); }
.card-link svg { width: 14px; transition: transform .3s var(--ease); }
.card:hover .card-link svg { transform: translateX(3px); }
.badge { display: inline-flex; align-items: center; gap: .4rem; font: 500 .7rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: .38rem .6rem; border-radius: 999px; border: 1px solid var(--line2); color: #cfe3ef; white-space: nowrap; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc); }
.badge--ok { color: #d6ffe9; border-color: rgba(74, 222, 128, .45); }
.badge--ok i { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.badge--dev i { background: #b9a4ff; box-shadow: 0 0 8px #b9a4ff; }
.badge--exp i { background: #ffd166; box-shadow: 0 0 8px #ffd166; }

/* SVG animations */
.viz .pulse, .viz .bar, .viz .blink { animation: pulse 3.2s var(--d, 0s) ease-in-out infinite; transform-box: fill-box; transform-origin: bottom; }
.viz .bar { animation-name: bar; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.7); } }
.viz .scan { animation: scan 5s linear infinite; }
@keyframes scan { from { transform: translateX(0); } to { transform: translateX(400px); } }
.viz .draw { stroke-dasharray: 700; animation: drawv 6s ease-in-out infinite; }
@keyframes drawv { 0% { stroke-dashoffset: 700; } 50%, 100% { stroke-dashoffset: 0; } }
.viz .flow { animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.viz .travel { animation: travel 1.8s var(--d, 0s) linear infinite; }
@keyframes travel { from { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateX(120px); opacity: 0; } }

/* About & contact */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.about-stats li { background: var(--bg2); padding: 1.4rem 1.6rem; display: flex; align-items: baseline; gap: 1rem; }
.about-stats strong { font-size: 2rem; font-weight: 650; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 4.5ch; }
.about-stats span { color: var(--muted); }
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.contact-form label { display: grid; gap: .4rem; font-size: .85rem; color: var(--muted); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line2); border-radius: 10px; padding: .75rem .9rem; transition: border-color .2s; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--acc); }
.contact-form button { justify-self: start; }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .68rem; }
.form-note.flash { color: var(--acc); }

/* Product page */
.p-hero { padding: 2rem 0 clamp(3rem, 6vw, 5rem); position: relative; }
.p-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 75% 40%, color-mix(in srgb, var(--acc-mid) 12%, transparent), transparent 70%); pointer-events: none; }
.crumbs { display: flex; gap: .6rem; flex-wrap: wrap; color: var(--muted); margin-bottom: 2.5rem; position: relative; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }
.p-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.p-intro h1 { margin: 1rem 0 .8rem; }
.p-intro > p:not(.lead) { color: var(--muted); }
.p-intro .hero-cta { justify-content: flex-start; }
.p-media { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, #0a0e14, #0d121a); color: #9fc6dd; overflow: hidden; box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--acc2) 50%, transparent); }
.p-media .viz { width: 100%; height: 100%; }
.p-icon { position: absolute; left: 50%; top: 50%; width: 48%; height: auto; transform: translate(-50%, -50%); border-radius: 22%; box-shadow: 0 30px 60px -20px #000; }
.p-wordmark { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; }
.ph-tag { position: absolute; right: 1rem; bottom: 1rem; color: var(--muted); background: rgba(7, 9, 13, .7); border: 1px dashed var(--line2); padding: .35rem .6rem; border-radius: 8px; font-size: .65rem; }
.p-details { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.points { list-style: none; margin: 0; padding: 0; }
.points li { padding: 1rem 0 1rem 1.8rem; border-bottom: 1px solid var(--line); position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: 10px; height: 2px; background: var(--grad); }
.specs { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.specs div { display: flex; justify-content: space-between; background: var(--bg); padding: .9rem 1.1rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; }
.specs div { gap: 1.5rem; }
.specs dt { flex: none; }
.specs .spec-sha { flex-direction: column; gap: .35rem; }
.specs .spec-sha dd { text-align: left; font-size: .78rem; color: var(--muted); }
.demo { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.demo-play { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--grad); color: #021018; display: grid; place-items: center; opacity: .5; }
.demo-play svg { width: 22px; }
.demo-wave { flex: 1; height: 56px; display: flex; align-items: center; gap: 3px; overflow: hidden; }
.demo-wave i { flex: 1; min-width: 2px; border-radius: 2px; background: var(--line2); }
.demo-label { color: var(--muted); white-space: nowrap; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.shot { margin: 0; }
.shot-frame { aspect-ratio: 16 / 10; border-radius: 12px; border: 1px dashed var(--line2); display: grid; place-items: center; color: var(--muted); background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(160, 200, 230, .025) 12px 24px); }
.p-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 3rem 0 4rem; }
.p-nav a { display: grid; gap: .3rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.p-nav a:hover { border-color: var(--acc); }
.p-nav .mono { color: var(--muted); }
.p-nav .next { text-align: right; }

/* Legal */
.legal h1 { margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2.5rem; }
.legal p { color: #c3cfda; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); max-width: 22rem; }
.footer-cols { display: flex; gap: 4rem; }
.footer-cols h4 { font-size: .8rem; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 1rem; }
.footer-cols a { display: block; color: #c3cfda; font-size: .92rem; padding: .2rem 0; }
.footer-cols a:hover { color: var(--acc); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }


/* ---------- Téléchargement, formulaires ---------- */
.unsigned { display: flex; align-items: center; gap: .5rem; margin: 1rem 0 0; font-size: .85rem; color: #ffd8a8; }
.unsigned svg { width: 16px; height: 16px; flex: none; color: #ffb547; }
.unsigned a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 181, 71, .5); }
.unsigned a:hover { color: #fff; }
.installer { margin: .6rem 0 0; color: var(--muted); font-size: .62rem; line-height: 1.8; word-break: break-all; }
.installer b { color: #c3cfda; font-weight: 500; }
.sha, .installer .sha { text-transform: none; letter-spacing: .02em; }
.hero-cta + .p-note { margin-top: .9rem; }
.sha { word-break: break-all; }
.modal { width: min(520px, calc(100% - 2rem)); max-height: calc(100svh - 2rem); padding: 0; border: 1px solid var(--line2); border-radius: 20px; background: var(--surface); color: var(--text); box-shadow: 0 40px 120px -20px #000, 0 0 0 1px rgba(0, 0, 0, .4); }
.modal::backdrop { background: rgba(3, 5, 8, .72); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .35s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal .signup { padding: 2rem; position: relative; }
.modal h2 { font-size: 1.7rem; margin-bottom: .4rem; }
.modal-close { position: absolute; top: .8rem; right: .8rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.modal-close:hover { color: var(--text); border-color: var(--acc); }
.signup-step { display: grid; gap: .9rem; }
.signup-step[hidden] { display: none; }
.signup .field { display: grid; gap: .35rem; font-size: .85rem; color: #c3cfda; }
.signup .field input { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line2); border-radius: 10px; padding: .8rem .9rem; transition: border-color .2s; }
.signup .field input:focus { outline: none; border-color: var(--acc); }
.req, .opt { color: var(--muted); font-size: .75rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .85rem; color: #c3cfda; cursor: pointer; }
.check input { appearance: none; width: 20px; height: 20px; margin: .1rem 0 0; border: 1.5px solid var(--line2); border-radius: 6px; background: var(--bg); display: grid; place-items: center; cursor: pointer; transition: .2s; }
.check input:checked { background: var(--grad); border-color: transparent; }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #021018; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: var(--acc); text-decoration: underline; text-underline-offset: 2px; }
.check--optin { padding: 1rem; border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--acc) 7%, transparent); }
.check--optin strong { display: block; color: var(--text); font-weight: 600; font-size: .95rem; line-height: 1.45; }
.check--optin small { display: block; margin-top: .35rem; color: var(--muted); font-size: .75rem; }
.signup button[type=submit] { justify-self: stretch; justify-content: center; padding: .95rem 1.4rem; font-size: .98rem; }
.form-msg { margin: 0; min-height: 1.2em; font-size: .85rem; color: var(--muted); }
.form-msg.is-error { color: #ff9b9b; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.signup--inline { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.dl-card { padding-top: 2rem; }
.dl-card form { margin-top: 1.5rem; }
.dl-specs { margin-top: 1.5rem; }
.dl-specs dd { text-align: right; max-width: 70%; }

/* ---------- Vidéo ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0a0e14; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; color: #9fc6dd; cursor: pointer; }
.video-facade .viz { width: 100%; height: 100%; opacity: .5; }
.video-play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: var(--grad); color: #021018; display: grid; place-items: center; box-shadow: 0 0 0 10px color-mix(in srgb, var(--acc) 15%, transparent), 0 20px 50px -10px var(--acc2); transition: transform .3s var(--ease); }
.video-play svg { width: 30px; margin-left: 4px; }
.video-facade:hover .video-play { transform: scale(1.06); }
.video-note { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; text-align: center; color: var(--muted); font-size: .62rem; }

/* ---------- Installation ---------- */
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.toc a { font-size: .82rem; padding: .4rem .85rem; border: 1px solid var(--line2); border-radius: 999px; color: var(--muted); transition: .2s; }
.toc a:hover { color: var(--text); border-color: var(--acc); }
.step { position: relative; padding: 2.2rem 0 2.2rem 4.2rem; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.step-n { position: absolute; left: 0; top: 2.5rem; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line2); color: var(--acc); font-size: .85rem; }
.step h2 { font-size: 1.45rem; }
.step p, .step li { color: #c3cfda; }
.steps { padding-left: 1.2rem; display: grid; gap: .6rem; margin: 0 0 1rem; }
.steps li::marker { color: var(--acc); font-family: var(--mono); }
.paths { list-style: none; padding: 0; margin: .7rem 0; display: grid; gap: .5rem; }
.paths li { display: grid; gap: .25rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.paths .mono { color: var(--muted); font-size: .65rem; }
code { font-family: var(--mono); font-size: .85em; background: rgba(160, 200, 230, .08); border: 1px solid var(--line); padding: .1em .4em; border-radius: 6px; color: #dff6ff; word-break: break-word; }
.code { position: relative; margin: .4rem 0 1rem; }
.code pre { margin: 0; padding: 1rem 5.5rem 1rem 1rem; background: #05070a; border: 1px solid var(--line2); border-radius: 12px; overflow-x: auto; }
.code pre code { background: none; border: 0; padding: 0; font-size: .82rem; white-space: pre; }
.copy { position: absolute; top: .55rem; right: .55rem; padding: .45rem .7rem; border-radius: 8px; border: 1px solid var(--line2); background: var(--surface); color: var(--text); cursor: pointer; font-size: .62rem; }
.copy:hover { border-color: var(--acc); }
.code-label { color: var(--muted); margin: 1rem 0 0; font-size: .65rem; }
.callout { padding: .9rem 1rem; border-left: 2px solid var(--acc); background: color-mix(in srgb, var(--acc) 6%, transparent); border-radius: 0 10px 10px 0; font-size: .92rem; }
.callout--warn { border-left-color: #ffb547; background: rgba(255, 181, 71, .06); }
.faq { display: grid; gap: 1px; margin: 0 0 1.5rem; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq div { background: var(--bg); padding: 1rem 1.2rem; }
.faq dt { font-weight: 600; margin-bottom: .3rem; }
.faq dd { margin: 0; color: var(--muted); }
.small { font-size: .8rem; }
.legal ul { color: #c3cfda; padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--acc); }

/* ---------- Lecteur audio ---------- */
.music-hero { padding-bottom: 1rem; }
.player { border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, var(--surface), var(--bg2)); padding: 1.6rem; }
.player-main { display: flex; align-items: center; gap: 1.2rem; }
.player-btn { flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line2); background: transparent; color: var(--text); cursor: pointer; transition: .2s; }
.player-btn:hover { border-color: var(--acc); }
.player-play { width: 64px; height: 64px; border: 0; background: var(--grad); color: #021018; box-shadow: 0 14px 40px -14px var(--acc2); }
.player-play svg { width: 26px; }
.player .i-pause, .player.is-playing .i-play { display: none; }
.player.is-playing .i-pause { display: block; }
.player-btn.sm { width: 42px; height: 42px; }
.player-btn.sm svg { width: 18px; }
.player-info { flex: 1; display: grid; min-width: 0; }
.player-info strong { font-size: 1.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-kicker { color: var(--acc); font-size: .62rem; }
.player-nav { display: flex; gap: .5rem; }
.player-bar { display: flex; align-items: center; gap: .9rem; margin: 1.4rem 0 1rem; color: var(--muted); }
.player-bar [data-seek] { flex: 1; }
.player input[type=range] { -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--acc) var(--p, 0%), var(--line2) var(--p, 0%)); cursor: pointer; }
.player input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 30%, transparent); }
.player input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.vol input { width: 90px; --p: 90%; }
.tracklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tracklist li { border-bottom: 1px solid var(--line); }
.tracklist li.muted { padding: 1rem 0; }
.tracklist button { width: 100%; display: grid; grid-template-columns: 2.5rem 1fr auto auto; align-items: center; gap: 1rem; padding: 1rem .4rem; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 10px; transition: background .2s; }
.tracklist button:hover { background: rgba(160, 200, 230, .04); }
.tracklist .is-current button { background: color-mix(in srgb, var(--acc) 7%, transparent); }
.tracklist .is-current .tl-n { color: var(--acc); }
.tl-n { color: var(--muted); }
.tl-t { display: grid; }
.tl-t small { color: var(--muted); font-size: .8rem; }
.tl-d { color: var(--muted); }

@media (max-width: 860px) {
  .signup-band { grid-template-columns: 1fr; }
  .step { padding-left: 0; padding-top: 4.6rem; }
  .step-n { top: 1.6rem; }
}
@media (max-width: 520px) {
  .modal .signup { padding: 1.5rem 1.2rem; }
  .player { padding: 1.1rem; }
  .player-main { flex-wrap: wrap; }
  .player-nav { margin-left: auto; }
  .vol { display: none; }
  .tracklist button { grid-template-columns: 2rem 1fr auto; }
  .tracklist .badge { display: none; }
}

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; background: rgba(7, 9, 13, .97); border-bottom: 1px solid var(--line); padding: .5rem 1.5rem 1rem; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s var(--ease); }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .about, .contact, .p-hero-grid, .p-details { grid-template-columns: 1fr; }
  .shots, .shots--wide { grid-template-columns: 1fr; }
  .grid--duo { grid-template-columns: 1fr; }
  .grid--feature { grid-template-columns: 1fr; }
  .grid--feature > .card:first-child { grid-column: auto; }
  .grid--feature > .card:first-child .card-media { aspect-ratio: 5 / 3; }
  .grid--duo .card-media { aspect-ratio: 5 / 3; }
  .grid--single .card { flex-direction: column; }
  .grid--single .card-media { flex: none; aspect-ratio: 5 / 3; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .grid--single .card-body { padding: 1.3rem 1.4rem 1.4rem; }
  .grid--single .card-body h3 { font-size: 1.2rem; }
  .grid--single .card-icon { width: 42%; height: auto; }
  .cat-head { grid-template-columns: auto 1fr; }
  .cat-count { display: none; }
  .avail-label { width: 100%; padding: .2rem .3rem .4rem; }
  .avail-item { flex: 1 1 calc(50% - .6rem); }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 2.5rem); }
  .contact-form { grid-template-columns: 1fr; padding: 1.2rem; }
  .p-nav { grid-template-columns: 1fr; }
  .p-nav .next { text-align: left; }
  .demo { flex-wrap: wrap; }
  .demo-label { width: 100%; }
  .footer-cols { gap: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .curve-line { stroke-dashoffset: 0; } .curve-glow { opacity: .35; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Teaser vidéo produit */
.p-media--video { margin: 0; padding: 0; aspect-ratio: auto; display: block; background: #05070a; border: 1px solid var(--line2); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 60px -20px var(--acc); }
.p-media--video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #05070a; object-fit: cover; }
.p-media--video figcaption { padding: .65rem 1rem; color: var(--muted); font-size: .65rem; border-top: 1px solid var(--line); }

.sha-table-wrap { overflow-x: auto; margin-top: 1rem; border: 1px solid var(--line); border-radius: 12px; }
.sha-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.sha-table th, .sha-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.sha-table th { color: var(--muted); font-weight: 500; font-size: .75rem; }
.sha-table tr:last-child td { border-bottom: 0; }
.sha-table td.sha { font-size: .68rem; color: var(--muted); min-width: 16rem; }

/* ---------- Multilingue ---------- */
/* Sélecteur de langue (en-tête) : liens simples, accessibles au clavier, compact sur mobile */
.lang-switch { display: flex; align-items: center; gap: .3rem; margin-left: 1.75rem; padding-left: 1.25rem; border-left: 1px solid var(--line); font-size: .7rem; letter-spacing: .08em; white-space: nowrap; }
.lang-switch > * + * { margin-left: .3rem; } /* repli si flex gap non pris en charge (anciens Safari) */
@supports (gap: 1px) { .lang-switch > * + * { margin-left: 0; } }
.lang-switch a { display: inline-block; color: var(--muted); padding: .42rem .5rem; border-radius: 999px; line-height: 1; border: 1px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.lang-switch a:hover { color: var(--text); background: rgba(160, 200, 230, .07); }
.lang-switch a[aria-current] { color: var(--acc); background: color-mix(in srgb, var(--acc) 10%, transparent); border-color: color-mix(in srgb, var(--acc) 35%, transparent); }
.lang-switch a:focus-visible { outline: 2px solid var(--acc); outline-offset: 1px; }
.lang-switch .ls-sep { color: var(--muted); opacity: .5; font-size: .8rem; line-height: 1; user-select: none; }
.lang-switch a[lang="zh-Hans"] { letter-spacing: 0; text-transform: none; }
.header-inner .nav { margin-left: auto; }
@media (max-width: 860px) {
  .header-inner .nav { margin-left: 0; }
  .lang-switch { margin-left: auto; margin-right: .35rem; padding-left: 0; border-left: 0; gap: .1rem; }
  .lang-switch a { padding: .42rem .38rem; }
}
@media (max-width: 400px) { .lang-switch { gap: 0; } .lang-switch a { padding: .4rem .26rem; } .lang-switch .ls-sep { font-size: .7rem; } }

/* Note « à compléter » traduite */
:lang(en) .placeholder-note::before { content: "To be completed — "; }
:lang(de) .placeholder-note::before { content: "Zu ergänzen — "; }
:lang(es) .placeholder-note::before { content: "Por completar — "; }
:lang(zh) .placeholder-note::before { content: "待补充 — "; }

/* Chinois simplifié : polices système CJK, pas de capitales forcées ni d'interlettrage sur les idéogrammes */
:lang(zh) { --sans: "Inter", -apple-system, "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif; }
:lang(zh) body { line-height: 1.75; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0; line-height: 1.3; }
:lang(zh) .mono { letter-spacing: .04em; }

/* Allemand / espagnol : mots longs, césure et coupure de sécurité */
:lang(de) h1, :lang(de) h2, :lang(de) h3, :lang(de) .btn, :lang(de) dt,
:lang(es) h1, :lang(es) h2, :lang(es) h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
:lang(de) .card-type, :lang(de) .badge, :lang(de) .cta-hint { overflow-wrap: anywhere; }
.btn { max-width: 100%; text-align: center; }

/* ---------- Vidéos YouTube (vignettes locales, lecture au clic) ---------- */
.yt { margin: 0; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s var(--ease), transform .6s var(--ease); }
.video-facade:hover .video-poster, .video-facade:focus-visible .video-poster { opacity: 1; transform: scale(1.015); }
.video-facade:focus-visible { outline: 2px solid var(--acc); outline-offset: -4px; }
.video-note { text-shadow: 0 1px 6px rgba(0, 0, 0, .9); color: #c9d6e2; }
.yt figcaption { display: flex; flex-direction: column; gap: .3rem; padding: .85rem .1rem 0; }
.yt-title { font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.yt-meta { color: var(--muted); font-size: .68rem; }
.yt-meta a { color: var(--acc); }
.yt--small .video-play { width: 54px; height: 54px; margin: -27px 0 0 -27px; box-shadow: 0 0 0 7px color-mix(in srgb, var(--acc) 15%, transparent); }
.yt--small .video-play svg { width: 22px; margin-left: 3px; }
.yt--small .yt-title { font-size: .92rem; }
.yt-more-h { margin-top: 2.5rem; }
.yt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.5rem; }
.yt-home { display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.75rem; align-items: start; }
.yt-side { display: grid; gap: 1.5rem; }
.yt-channel { margin-top: 2rem; text-align: center; }
@media (max-width: 900px) { .yt-home { grid-template-columns: 1fr; } .yt-side { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); } }
