/* Polices du site, servies par le site lui-même (aucun appel extérieur). Licences : voir LICENCE.md. */
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/bricolage-grotesque-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/bricolage-grotesque-latin-700.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/instrument-sans-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/instrument-sans-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/instrument-sans-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/instrument-sans-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/instrument-sans-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/instrument-sans-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/jetbrains-mono-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/jetbrains-mono-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/jetbrains-mono-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/jetbrains-mono-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Tresse : site vitrine. Les couleurs et les polices sont celles de l'appli : fond noir, ambre = ce qui est physique
   (micros, sorties A), bleu = ce qui est virtuel (applis, sorties B). */
:root {
  --bg: #000;
  --card: #0c0d10;
  --card-2: #14161b;
  --hair: rgba(255, 255, 255, 0.08);
  --hair-2: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --mist: #a1a6b0;
  --dim: #6d727c;
  --amber: #ffb13b;
  --blue: #5aa9ff;
  --brand: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r: 22px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: inherit; }
b { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--brand); letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
p { margin: 0; }
.grad { background: linear-gradient(100deg, var(--amber) 10%, #ffd58a 40%, var(--blue) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }
.fine { color: var(--dim); font-size: 14px; margin-top: 12px; }
.fine.center { text-align: center; }

/* ── Navigation ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px max(20px, calc((100vw - var(--max)) / 2)); background: rgba(0, 0, 0, 0.62); backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--hair); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--brand); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; gap: 26px; margin: 0 auto; }
.nav nav a { text-decoration: none; color: var(--mist); font-size: 15px; transition: color 0.2s; }
.nav nav a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--mist); font-size: 14px; font-weight: 600; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--hair); }
.lang:hover { color: var(--text); border-color: var(--hair-2); }
.flag { width: 20px; height: 13px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); background-size: cover; }
.flag-fr { background: linear-gradient(90deg, #0055a4 33%, #fff 33% 66%, #ef4135 66%); }
.flag-en { background:
  linear-gradient(0deg, transparent 38%, #c8102e 38% 62%, transparent 62%),
  linear-gradient(90deg, transparent 43%, #c8102e 43% 57%, transparent 57%),
  linear-gradient(0deg, transparent 33%, #fff 33% 67%, transparent 67%),
  linear-gradient(90deg, transparent 38%, #fff 38% 62%, transparent 62%),
  #012169; }

/* ── Boutons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; background: var(--text); color: #000; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, box-shadow 0.25s, background 0.2s; font-family: var(--sans); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 40px rgba(255, 177, 59, 0.28); }
.btn:active { transform: scale(0.98); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--hair-2); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.06); box-shadow: none; }
.btn.small { padding: 8px 18px; font-size: 14px; }
.btn.big { padding: 16px 38px; font-size: 18px; background: linear-gradient(100deg, var(--amber), #ffd58a); }
.btn[aria-disabled='true'] { cursor: not-allowed; filter: saturate(0.7); }
.link { color: var(--amber); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ── Accueil : en-tête ── */
.hero { position: relative; text-align: center; padding: 170px 20px 70px; max-width: var(--max); margin: 0 auto; }
.hero-glow { position: absolute; inset: -80px 0 auto 0; height: 560px; background: radial-gradient(ellipse 55% 60% at 50% 0%, rgba(255, 177, 59, 0.22), transparent 70%), radial-gradient(ellipse 40% 50% at 78% 20%, rgba(90, 169, 255, 0.16), transparent 70%); pointer-events: none; z-index: -1; }
.kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--mist); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 14px; border: 1px solid var(--hair); border-radius: 999px; background: rgba(255, 255, 255, 0.03); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.hero h1 { font-size: clamp(44px, 8vw, 92px); margin: 26px 0 22px; letter-spacing: -0.04em; }
.lead { max-width: 640px; margin: 0 auto; color: var(--mist); font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ── Sections ── */
section { padding: 70px 20px; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(34px, 5.4vw, 60px); }
.section-head p { color: var(--mist); font-size: 19px; margin-top: 16px; }
.band { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.025) 20%, rgba(255, 255, 255, 0.025) 80%, transparent); }
.grid { display: grid; gap: 18px; max-width: var(--max); margin: 0 auto; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.features-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--hair); border-radius: var(--r); padding: 28px; transition: border-color 0.25s, transform 0.25s; }
.card:hover { border-color: var(--hair-2); transform: translateY(-3px); }
.card h3 { font-size: 24px; margin: 0 0 10px; }
.card p { color: var(--mist); }
.who .emoji { font-size: 34px; display: block; margin-bottom: 14px; }

/* ── Démo vivante ── */
.demo-wrap { max-width: 1240px; margin: 0 auto; padding-top: 30px; }
.window { border-radius: 16px; background: #0a0b0d; border: 1px solid var(--hair-2); box-shadow: 0 60px 160px -30px rgba(255, 177, 59, 0.18), 0 40px 120px -40px rgba(90, 169, 255, 0.25); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #14161b; border-bottom: 1px solid var(--hair); position: relative; }
.window-bar i { width: 12px; height: 12px; border-radius: 50%; background: #3a3d45; }
.window-bar i:nth-child(1) { background: #ff5f57; } .window-bar i:nth-child(2) { background: #febc2e; } .window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { position: absolute; left: 0; right: 0; text-align: center; color: var(--dim); font-size: 13px; pointer-events: none; }
.window-body { position: relative; aspect-ratio: 1440 / 760; background: #08090b; }
.window-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.demo-open { display: none; margin-top: 14px; }

/* ── À toucher ── */
.play-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: var(--max); margin: 0 auto; }
.play-card { display: flex; flex-direction: column; gap: 18px; }
.play-card h3 { font-size: 22px; margin: 0; }
.lane { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 12px; color: var(--mist); font-size: 14px; }
.meter { height: 14px; border-radius: 8px; background: #1b1e24; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair); }
.meter i { display: block; height: 100%; width: 70%; border-radius: 8px; background: linear-gradient(90deg, var(--amber), #ffd58a); transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.meter.blue i { background: linear-gradient(90deg, var(--blue), #9ccaff); width: 4%; }
.duck { display: flex; flex-direction: column; gap: 14px; }
.press.on { background: linear-gradient(100deg, var(--amber), #ffd58a); color: #000; border-color: transparent; }
.faders { display: flex; justify-content: space-between; gap: 6px; padding: 4px 6px 0; }
.fader { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; font-size: 13px; color: var(--mist); }
.fader em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--text); min-height: 18px; }
.well { position: relative; width: 34px; height: 150px; border-radius: 17px; background: #15171c; box-shadow: inset 0 0 0 1px var(--hair); touch-action: none; cursor: ns-resize; }
.well .fill { position: absolute; left: 11px; right: 11px; bottom: 8px; border-radius: 6px; background: var(--blue); opacity: 0.85; }
.fader[data-color='amber'] .fill { background: var(--amber); }
.well .thumb { position: absolute; left: 3px; right: 3px; height: 22px; border-radius: 8px; background: linear-gradient(#f4f4f6, #c9ccd3); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); outline: none; }
.well .thumb:focus-visible { box-shadow: 0 0 0 3px var(--amber); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 14px; color: var(--mist); padding: 7px 14px; border-radius: 999px; background: transparent; border: 1px solid var(--hair-2); cursor: pointer; transition: all 0.2s; }
.chip:hover { color: var(--text); }
.chip.on { background: var(--amber); color: #000; border-color: transparent; font-weight: 600; }
.knobs { display: flex; justify-content: space-around; gap: 6px; }
.knob { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--mist); }
.knob em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--text); }
.dial { position: relative; width: 62px; height: 62px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2a2d35, #15171c); box-shadow: inset 0 0 0 1px var(--hair-2), 0 8px 20px rgba(0, 0, 0, 0.5); cursor: grab; touch-action: none; outline: none; }
.dial:focus-visible { box-shadow: 0 0 0 3px var(--amber); }
.dial i { position: absolute; left: 50%; top: 6px; width: 4px; height: 20px; margin-left: -2px; border-radius: 2px; background: var(--amber); transform-origin: 50% 25px; transform: rotate(var(--r, 0deg)); }

/* ── Fonctions : petites illustrations ── */
.feat-art { height: 128px; margin: -6px -6px 20px; border-radius: 14px; background: radial-gradient(ellipse at 50% 0%, rgba(255, 177, 59, 0.1), transparent 70%), #08090c; border: 1px solid var(--hair); display: grid; place-items: center; overflow: hidden; padding: 14px; }
.mini-apps { width: 100%; display: grid; gap: 9px; }
.mini-apps div { display: grid; grid-template-columns: 22px 62px 1fr; align-items: center; gap: 8px; font-size: 13px; color: var(--mist); }
.mini-apps .ico { width: 18px; height: 18px; border-radius: 5px; background: #5865f2; } .mini-apps .ico.b { background: #1ed760; } .mini-apps .ico.c { background: var(--amber); }
.mini-apps em { height: 8px; border-radius: 5px; background: #1b1e24; overflow: hidden; display: block; }
.mini-apps em i { display: block; height: 100%; background: var(--blue); border-radius: 5px; animation: sway 4s ease-in-out infinite alternate; }
.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.mini-bars i { width: 7px; height: var(--h); border-radius: 3px; background: var(--blue); animation: bounce 1.3s ease-in-out infinite alternate; animation-delay: var(--d); }
.mini-bars.amber i { background: var(--amber); }
.mini-knobs { display: flex; gap: 14px; margin-right: 18px; }
.feat-art[data-art='voice'] { display: flex; justify-content: center; align-items: center; gap: 8px; }
.mini-knobs span { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2a2d35, #15171c); box-shadow: inset 0 0 0 1px var(--hair-2); position: relative; }
.mini-knobs span::after { content: ''; position: absolute; left: 50%; top: 3px; width: 3px; height: 12px; margin-left: -1.5px; background: var(--amber); border-radius: 2px; transform-origin: 50% 14px; transform: rotate(var(--r)); }
.mini-duck { width: 100%; display: grid; gap: 14px; }
.mini-duck .lane { grid-template-columns: 1fr; height: 14px; border-radius: 8px; background: #1b1e24; overflow: hidden; }
.mini-duck i { display: block; height: 100%; border-radius: 8px; }
.mini-duck .music { background: linear-gradient(90deg, var(--amber), #ffd58a); animation: duck 4s ease-in-out infinite; }
.mini-duck .talk { background: linear-gradient(90deg, var(--blue), #9ccaff); width: 0; animation: talk 4s ease-in-out infinite; }
.mini-out { display: grid; gap: 10px; width: 100%; font-size: 13px; color: var(--mist); }
.mini-out div { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #15171c; border: 1px solid var(--hair); }
.mini-out b { color: var(--amber); font-family: var(--mono); } .mini-out .blue b { color: var(--blue); }
.mini-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.mini-chips span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--hair-2); color: var(--mist); font-size: 13px; }
.mini-chips .on { background: var(--amber); color: #000; border-color: transparent; font-weight: 600; animation: pulse 2.4s ease-in-out infinite; }
.mini-pads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-pads span { width: 50px; height: 40px; display: grid; place-items: center; font-size: 20px; border-radius: 11px; background: #15171c; border: 1px solid var(--hair-2); animation: pad 3.6s ease-in-out infinite; animation-delay: var(--d); }
.mini-phone { display: flex; gap: 10px; align-items: flex-end; height: 92px; padding: 10px 14px; border-radius: 18px; border: 2px solid var(--hair-2); background: #0e1014; }
.mini-phone i { width: 12px; border-radius: 6px; background: var(--blue); animation: sway2 3s ease-in-out infinite alternate; } .mini-phone i:nth-child(1) { height: 70%; } .mini-phone i:nth-child(2) { height: 45%; animation-delay: -1s; } .mini-phone i:nth-child(3) { height: 85%; animation-delay: -2s; } .mini-phone i:nth-child(4) { height: 55%; animation-delay: -0.5s; }
.mini-keys { display: flex; gap: 8px; }
kbd { font-family: var(--mono); font-size: 14px; padding: 8px 14px; border-radius: 10px; background: linear-gradient(#22252c, #15171c); border: 1px solid var(--hair-2); box-shadow: 0 3px 0 #0a0b0d; }
.mini-scenes { display: flex; gap: 8px; } .mini-scenes span { padding: 8px 16px; border-radius: 12px; border: 1px solid var(--hair-2); color: var(--mist); font-size: 14px; } .mini-scenes .on { background: rgba(255, 177, 59, 0.14); border-color: var(--amber); color: var(--amber); font-weight: 600; }
.mini-save { display: grid; gap: 7px; width: 100%; } .mini-save span { height: 14px; border-radius: 7px; background: #1b1e24; position: relative; overflow: hidden; } .mini-save span::after { content: ''; position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--blue), #9ccaff); animation: fill 3.2s ease-in-out infinite; } .mini-save span:nth-child(2)::after { animation-delay: 0.4s; } .mini-save span:nth-child(3)::after { animation-delay: 0.8s; }
@keyframes bounce { from { height: 18%; } to { height: var(--h); } }
@keyframes sway { from { width: 30%; } to { width: 90%; } }
@keyframes sway2 { from { transform: scaleY(0.55); } to { transform: scaleY(1); } }
@keyframes duck { 0%, 22%, 78%, 100% { width: 86%; } 34%, 66% { width: 28%; } }
@keyframes talk { 0%, 22%, 78%, 100% { width: 0; } 34%, 66% { width: 76%; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 177, 59, 0.5); } 50% { box-shadow: 0 0 0 8px rgba(255, 177, 59, 0); } }
@keyframes pad { 0%, 80%, 100% { transform: none; background: #15171c; } 88% { transform: scale(0.92); background: rgba(255, 177, 59, 0.25); } }
@keyframes fill { 0% { width: 0; } 60%, 100% { width: 100%; } }

/* ── Fonctions rangées par groupes ── */
.group { max-width: var(--max); margin: 0 auto 46px; }
.group-title { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin: 0 0 16px 4px; display: flex; align-items: center; gap: 14px; }
.group-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--hair-2), transparent); }
.group:nth-of-type(even) .group-title { color: var(--blue); }
.features .grid.three { grid-template-columns: repeat(3, 1fr); }
.feat { display: flex; flex-direction: column; }
.feat h3 { font-size: 22px; }

/* ── Ducking : boutons ── */
.duck-btns { display: grid; gap: 10px; }
#music-btn.on { border-color: var(--blue); color: var(--blue); }

/* ── Stream Deck ── */
.deck { max-width: var(--max); margin: 0 auto; }
.deck-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.deck-text h2 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 16px; }
.deck-text > p { color: var(--mist); font-size: 18px; margin-bottom: 22px; }
.deck-device { padding: 26px; border-radius: 28px; background: linear-gradient(180deg, #17191f, #0b0c0f); border: 1px solid var(--hair-2); box-shadow: 0 40px 100px -30px rgba(90, 169, 255, 0.28); }
.deck-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dkey { aspect-ratio: 1; border-radius: 18px; border: 1px solid var(--hair-2); background: #0a0b0d; color: var(--mist); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font-family: var(--sans); transition: all 0.2s; }
.dkey .e { font-size: 30px; filter: grayscale(0.9) brightness(0.8); transition: filter 0.2s; }
.dkey b { font-size: 12px; font-weight: 600; }
.dkey:hover { border-color: var(--text); }
.dkey.on { background: linear-gradient(180deg, rgba(255, 177, 59, 0.2), rgba(255, 177, 59, 0.06)); border-color: var(--amber); color: var(--text); box-shadow: 0 0 24px rgba(255, 177, 59, 0.25); }
.dkey.on .e { filter: none; }
.dkey.alert.on { background: linear-gradient(180deg, rgba(255, 90, 80, 0.26), rgba(255, 90, 80, 0.07)); border-color: #ff6b5e; box-shadow: 0 0 24px rgba(255, 90, 80, 0.3); }

/* ── Mac : barre des menus ── */
.mac { max-width: 1180px; margin: 0 auto; }
.mac-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid var(--hair-2); box-shadow: 0 50px 120px -30px rgba(90, 169, 255, 0.3); background: #0b1020; }
.mac-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ── Illustrations des deux nouvelles cartes ── */
.mini-deck { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.mini-deck span { width: 44px; height: 36px; display: grid; place-items: center; font-size: 17px; border-radius: 10px; background: #0f1115; border: 1px solid var(--hair-2); filter: grayscale(0.9); } .mini-deck span.on { border-color: var(--amber); filter: none; box-shadow: 0 0 16px rgba(255, 177, 59, 0.3); animation: pulse 2.6s ease-in-out infinite; }
.mini-mac { width: 100%; border-radius: 10px; overflow: hidden; border: 1px solid var(--hair-2); background: #0e1424; }
.mini-mac .bar { display: flex; gap: 6px; align-items: center; padding: 5px 8px; background: rgba(255, 255, 255, 0.07); } .mini-mac .bar i { width: 18px; height: 5px; border-radius: 3px; background: var(--dim); } .mini-mac .bar b { margin-left: auto; width: 14px; height: 9px; border-radius: 3px; background: var(--amber); }
.mini-mac .panel { margin: 7px 7px 7px auto; width: 62%; display: grid; gap: 5px; padding: 7px; border-radius: 8px; background: #181b23; border: 1px solid var(--hair); } .mini-mac .panel span { height: 6px; border-radius: 4px; background: #262a33; } .mini-mac .panel em { display: block; height: 100%; border-radius: 4px; background: var(--blue); animation: sway 4s ease-in-out infinite alternate; }

/* ── Étapes ── */
.steps-list { list-style: none; padding: 0; margin: 0 auto 28px; max-width: 760px; display: grid; gap: 18px; }
.steps-list li { display: flex; gap: 22px; align-items: flex-start; padding: 24px 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--hair); }
.num { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--brand); font-weight: 700; font-size: 20px; background: linear-gradient(135deg, var(--amber), #ffd58a); color: #000; }
.steps-list h3 { font-size: 22px; margin-bottom: 6px; } .steps-list p { color: var(--mist); }

/* ── Prix ── */
.price-card { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--hair-2); box-shadow: 0 40px 120px -40px rgba(255, 177, 59, 0.25); }
.price-main { padding: 40px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #000; background: var(--amber); padding: 5px 11px; border-radius: 999px; }
.amount { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 18px 0 22px; }
.amount s { color: var(--dim); font-size: 26px; } .amount b { font-family: var(--brand); font-size: 76px; letter-spacing: -0.04em; line-height: 1; } .amount small { color: var(--mist); font-size: 15px; width: 100%; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li::before { content: '✓'; color: var(--amber); font-weight: 700; margin-right: 10px; }
.price-side { padding: 40px; background: rgba(90, 169, 255, 0.05); border-left: 1px solid var(--hair); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.price-side h3 { font-size: 26px; } .price-side p { color: var(--mist); } .price-side .btn { align-self: flex-start; margin-top: 8px; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
details { border: 1px solid var(--hair); border-radius: 18px; background: var(--card); padding: 4px 22px; transition: border-color 0.2s; }
details[open] { border-color: var(--hair-2); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--amber); font-size: 24px; line-height: 1; transition: transform 0.25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--mist); padding: 0 0 20px; }
details a { color: var(--amber); }

/* ── Fin et pied de page ── */
.final { text-align: center; padding: 110px 20px; background: radial-gradient(ellipse 50% 70% at 50% 100%, rgba(255, 177, 59, 0.16), transparent 70%); }
.final h2 { font-size: clamp(38px, 6vw, 68px); margin-bottom: 16px; } .final p { color: var(--mist); font-size: 20px; }
.foot { border-top: 1px solid var(--hair); padding: 50px 20px 30px; }
.foot-in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; }
.foot-brand { display: grid; gap: 10px; font-family: var(--brand); font-weight: 700; font-size: 20px; } .foot-brand img { border-radius: 6px; } .foot-brand p { font-family: var(--sans); font-weight: 400; font-size: 15px; color: var(--mist); }
.foot-col { display: grid; gap: 8px; align-content: start; } .foot-col b { color: var(--text); font-size: 14px; margin-bottom: 4px; } .foot-col a { color: var(--mist); text-decoration: none; font-size: 15px; } .foot-col a:hover { color: var(--text); }
.foot-small { max-width: var(--max); margin: 30px auto 0; color: var(--dim); font-size: 13px; }

/* ── Pages de texte (installation, légal) ── */
.doc-main { max-width: 760px; margin: 0 auto; padding: 130px 20px 70px; }
.doc-main h1 { font-size: clamp(38px, 6vw, 60px); margin-bottom: 18px; }
.doc-main h2 { font-size: 30px; margin: 44px 0 14px; } .doc-main .lead { margin: 0 0 28px; text-align: left; }
.doc-main p { color: var(--mist); margin-bottom: 12px; } .doc-main a { color: var(--amber); }
.callout { padding: 20px 24px; border-radius: 18px; background: rgba(90, 169, 255, 0.07); border: 1px solid rgba(90, 169, 255, 0.25); margin-bottom: 30px; } .callout b { display: block; margin-bottom: 6px; } .callout p { margin: 0; }
.callout.warn { background: rgba(255, 177, 59, 0.08); border-color: rgba(255, 177, 59, 0.35); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--hair); margin-bottom: 8px; }
.tab { font: inherit; font-weight: 600; font-size: 15px; padding: 9px 24px; border-radius: 999px; border: 0; background: transparent; color: var(--mist); cursor: pointer; } .tab.on { background: var(--text); color: #000; }
.pane { display: none; padding: 0; } .pane.on { display: block; }
.pane h2 { margin-top: 24px; }
.guide { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.guide li { display: flex; gap: 18px; } .guide h4 { font-size: 20px; margin-bottom: 4px; }
.shot { margin-top: 12px; height: 150px; border-radius: 14px; border: 1px dashed var(--hair-2); display: grid; place-items: center; color: var(--dim); font-size: 14px; background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(255, 255, 255, 0.02) 12px 24px); }

.shot.has { height: auto; padding: 0; border: 1px solid var(--hair-2); background: #0a0b0d; overflow: hidden; display: block; }
.shot.has img { display: block; width: 100%; height: auto; }
/* captures de Windows : fenêtre arrondie, ombre légère, légende dessous */
.shot-fig { display: block; text-align: left; margin: 14px 0 0; max-width: 526px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.shot-fig figcaption { display: block; width: 100%; box-sizing: border-box; padding: 10px 14px 12px; font-size: 14px; color: var(--mist); border-top: 1px solid var(--hair-2); background: #101216; }
.shot-fig figcaption b { color: var(--text); }

/* ── Animation d'apparition ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 880px) {
  .nav nav { display: none; }
  .grid.three, .features .grid.three, .play-grid, .price-card, .foot-in, .deck-in { grid-template-columns: 1fr; }
  .deck-in { gap: 30px; }
  .price-side { border-left: 0; border-top: 1px solid var(--hair); }
  .hero { padding-top: 130px; }
  .window-body { aspect-ratio: 4 / 3; }
  .demo-open { display: block; }
  section { padding: 50px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.ic { width: 1em; height: 1em; display: block; }
.card .emoji { color: var(--amber); font-size: 28px; display: inline-block; }
.dkey .e { display: grid; place-items: center; font-size: 22px; }
.mini-pads span, .mini-deck span, .mini-out div { color: var(--mist); }
.mini-out .ic { width: 16px; height: 16px; }
.mini-deck span { filter: none; opacity: .55; } .mini-deck span.on { opacity: 1; color: var(--amber); }

/* ── Pour qui : cartes avec une tuile d'icône teintée et un liseré en haut ── */
.card.who { position: relative; overflow: hidden; padding-top: 30px; --tint: var(--amber); --tint-soft: rgba(255, 177, 59, 0.14); }
.card.who[data-tint='blue'] { --tint: var(--blue); --tint-soft: rgba(90, 169, 255, 0.14); }
.card.who[data-tint='mix'] { --tint: #ffd58a; --tint-soft: rgba(255, 213, 138, 0.12); }
.card.who::before { content: ''; position: absolute; left: 28px; right: 28px; top: 0; height: 2px; border-radius: 0 0 2px 2px; background: linear-gradient(90deg, var(--tint), transparent); opacity: 0.9; }
.card.who[data-tint='mix']::before { background: linear-gradient(90deg, var(--amber), var(--blue)); }
.card.who::after { content: ''; position: absolute; inset: auto -40px -60px auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, var(--tint-soft), transparent 70%); pointer-events: none; opacity: 0; transition: opacity 0.35s; }
.card.who:hover::after { opacity: 1; }
.who-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; color: var(--tint); background: var(--tint-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint) 35%, transparent); }
.who-ic .ic { width: 24px; height: 24px; stroke-width: 1.8; }
.card.who h3 { font-size: 22px; }

/* ── Ducking : une vraie commande « parler », comme une touche de talkie ── */
.lane { grid-template-columns: 76px 1fr 56px; }
.duck-tag { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--amber); text-align: right; opacity: 0; transform: translateX(-4px); transition: opacity 0.25s, transform 0.25s; }
.duck-tag.show { opacity: 1; transform: none; }
.meter i.live { background-image: linear-gradient(90deg, var(--amber), #ffd58a, var(--amber)); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { from { background-position: 0 0; } to { background-position: 200% 0; } }
.duck-ctl { display: grid; grid-template-columns: 1fr; gap: 14px; justify-items: center; margin-top: 4px; }
.music-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 999px; border: 1px solid var(--hair-2); background: transparent; color: var(--text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.music-btn .ic { width: 16px; height: 16px; }
.music-btn .stop { display: none; }
.music-btn:hover { background: rgba(255, 255, 255, 0.06); }
.music-btn.on { border-color: var(--blue); color: var(--blue); background: rgba(90, 169, 255, 0.08); }
.music-btn.on .play { display: none; } .music-btn.on .stop { display: block; }
.ptt { position: relative; display: grid; place-items: center; gap: 4px; width: 100%; padding: 18px 16px 16px; border-radius: 20px; border: 1px solid var(--hair-2); background: linear-gradient(180deg, #15171c, #0e1013); color: var(--mist); font-family: var(--sans); cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s; outline: none; }
.ptt .ic { width: 28px; height: 28px; stroke-width: 1.7; color: var(--amber); transition: color 0.15s; }
.ptt b { font-size: 14px; font-weight: 600; color: var(--text); }
.ptt-ring { position: absolute; inset: -1px; border-radius: 20px; pointer-events: none; box-shadow: 0 0 0 0 rgba(255, 177, 59, 0); transition: box-shadow 0.2s; }
.ptt:hover { border-color: rgba(255, 177, 59, 0.5); }
.ptt:focus-visible .ptt-ring { box-shadow: 0 0 0 3px var(--amber); }
.ptt.on { background: linear-gradient(180deg, var(--amber), #ffbf5e); border-color: transparent; transform: scale(0.985); }
.ptt.on .ic, .ptt.on b { color: #000; }
.ptt.on .ptt-ring { animation: pttpulse 1.1s ease-out infinite; }
@keyframes pttpulse { 0% { box-shadow: 0 0 0 0 rgba(255, 177, 59, 0.55); } 100% { box-shadow: 0 0 0 16px rgba(255, 177, 59, 0); } }

/* ── Stream Deck : un vrai boîtier, six touches qui s'allument ── */
.deck-side { display: flex; flex-direction: column; align-items: center; gap: 16px; }
/* Le boîtier : coque noire mate, plaque sombre, 15 touches (5 × 3) comme un Stream Deck MK.2. */
.deck-device { position: relative; width: min(100%, 520px); padding: 16px 16px 30px; border-radius: 24px; background: linear-gradient(180deg, #2a2c31 0%, #17181c 6%, #0e0f12 60%, #08090b 100%); border: 1px solid #2c2f36; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.8), 0 40px 80px -30px rgba(0, 0, 0, 0.95), 0 26px 80px -36px rgba(90, 169, 255, 0.22); }
.deck-device::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: -22px; height: 22px; border-radius: 0 0 18px 18px; background: linear-gradient(180deg, #0b0c0e, #050506); border: 1px solid #1d1f25; border-top: 0; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.7)); z-index: -1; }
.deck-plate { padding: 12px; border-radius: 16px; background: #030304; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 8px 22px rgba(0, 0, 0, 0.9); }
.deck-keys { grid-template-columns: repeat(5, 1fr); gap: 9px; padding: 0; }
.dkey { position: relative; aspect-ratio: 1; border-radius: 12px; border: 1px solid #1a1c22; background: linear-gradient(165deg, #1a1c21, #0c0d10 55%, #0a0b0e); color: var(--mist); gap: 6px; padding: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 -1px 0 rgba(0, 0, 0, 0.6), 0 3px 8px rgba(0, 0, 0, 0.6); transition: transform 0.1s, border-color 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s; overflow: hidden; }
.dkey::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), transparent 45%); pointer-events: none; }
.dkey.empty { cursor: default; background: linear-gradient(165deg, #121317, #07080a 60%); }
.dkey .e { font-size: 22px; filter: none; opacity: 0.6; transition: opacity 0.2s; }
.dkey .e .ic { width: 22px; height: 22px; stroke-width: 1.6; }
.dkey b { font-size: 10.5px; letter-spacing: 0.01em; }
.dkey:not(.empty):hover { border-color: #2f323b; transform: translateY(-1px); }
.dkey:not(.empty):active { transform: scale(0.95); }
.dkey-state { position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: #1f2127; transition: background 0.2s, box-shadow 0.2s; }
.deck-logo { position: absolute; left: 0; right: 0; bottom: 9px; width: auto; height: auto; margin: 0; background: none; text-align: center; font-family: var(--brand); font-size: 9px; font-weight: 700; letter-spacing: 0.32em; color: #3a3d45; }
.dkey.on { background: linear-gradient(180deg, rgba(255, 177, 59, 0.22), rgba(255, 177, 59, 0.05)); border-color: rgba(255, 177, 59, 0.55); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 28px rgba(255, 177, 59, 0.22); }
.dkey.on .e { opacity: 1; color: var(--amber); }
.dkey.on .dkey-state { background: var(--amber); box-shadow: 0 0 10px rgba(255, 177, 59, 0.8); }
.dkey.alert.on { background: linear-gradient(180deg, rgba(255, 90, 80, 0.28), rgba(255, 90, 80, 0.06)); border-color: rgba(255, 107, 94, 0.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 28px rgba(255, 90, 80, 0.25); }
.dkey.alert.on .e { color: #ff6b5e; }
.dkey.alert.on .dkey-state { background: #ff6b5e; box-shadow: 0 0 10px rgba(255, 107, 94, 0.8); }

/* ── Page Questions fréquentes ── */
.faq-more { margin-top: 26px; }
.faq-doc { max-width: 820px; }
.faq-doc .lead a { color: var(--amber); }
.faq-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.faq-toc a { font-size: 14px; color: var(--mist); text-decoration: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--hair-2); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.faq-toc a:hover { color: var(--text); border-color: var(--amber); background: rgba(255, 177, 59, 0.08); }
.faq-group { scroll-margin-top: 96px; }
.faq-doc .faq-group h2 { font-size: 26px; margin: 40px 0 14px; padding-left: 14px; border-left: 3px solid var(--amber); }
.faq-doc .faq-group:nth-child(odd) h2 { border-color: var(--blue); }
.faq-doc .faq-list { max-width: none; }
.faq-doc details p { margin: 0; padding-bottom: 20px; }
.faq-doc summary { font-size: 17px; }

/* ── Stream Deck : quatre modèles, le boîtier change de forme ── */
.deck-device { transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s, transform 0.24s; }
.deck-device.swap { opacity: 0; transform: scale(0.97); }
.deck-device[data-model='mini'] { width: min(100%, 300px); }
.deck-device[data-model='mk2'] { width: min(100%, 520px); }
.deck-device[data-model='plus'] { width: min(100%, 430px); }
.deck-device[data-model='xl'] { width: min(100%, 580px); }
.deck-device[data-model='mini'] .deck-keys { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.deck-device[data-model='plus'] .deck-keys { grid-template-columns: repeat(4, 1fr); }
.deck-device[data-model='xl'] .deck-keys { grid-template-columns: repeat(8, 1fr); gap: 6px; }
.deck-device[data-model='mini'] .dkey:nth-child(n + 7), .deck-device[data-model='mk2'] .dkey:nth-child(n + 16), .deck-device[data-model='plus'] .dkey:nth-child(n + 9) { display: none; }
.deck-device[data-model='mini'] .dkey .e .ic { width: 28px; height: 28px; }
.deck-device[data-model='mini'] .dkey b { font-size: 12px; }
.deck-device[data-model='xl'] .dkey { border-radius: 9px; gap: 3px; }
.deck-device[data-model='xl'] .dkey .e .ic { width: 18px; height: 18px; }
.deck-device[data-model='xl'] .dkey b { font-size: 8px; }
.deck-device[data-model='xl'] .dkey-state { left: 8px; right: 8px; bottom: 3px; }
/* Stream Deck + : écran tactile (nom, niveau, barre, comme le plugin l'affiche) et quatre potards */
.deck-strip, .deck-dials { display: none; }
.deck-device[data-model='plus'] .deck-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; padding: 6px; border-radius: 8px; background: #08090b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.dcell { display: grid; gap: 4px; padding: 6px 8px; border-radius: 5px; background: #0d0e12; color: var(--mist); }
.dcell b { color: var(--text); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcell span { font-family: var(--mono); font-size: 10px; }
.dcell i { display: block; height: 3px; border-radius: 2px; background: #22252c; position: relative; overflow: hidden; }
.dcell i::after { content: ''; position: absolute; inset: 0; width: var(--p); border-radius: 2px; background: var(--amber); }
.dcell:nth-child(2) i::after, .dcell:nth-child(3) i::after { background: var(--blue); }
.deck-device[data-model='plus'] .deck-dials { display: grid; grid-template-columns: repeat(4, 1fr); justify-items: center; margin-top: 14px; }
.ddial { position: relative; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #35383f, #15171b 72%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 5px 12px rgba(0, 0, 0, 0.65); }
.ddial i { position: absolute; left: 50%; top: 4px; width: 2px; height: 9px; margin-left: -1px; border-radius: 1px; background: var(--text); transform-origin: 50% 14px; transform: rotate(var(--r, -40deg)); }
.deck-models { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.deck-model { font: inherit; font-size: 13px; color: var(--mist); background: transparent; border: 1px solid var(--hair-2); border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.deck-model:hover { color: var(--text); }
.deck-model.on { color: #000; background: var(--text); border-color: transparent; font-weight: 600; }

/* ── Cartes « à toucher », version illustrée ── */
.play-card .fine { margin-top: auto; }
/* Carte 1 : spectre de la musique, onde de la voix */
.duck-viz { display: grid; gap: 12px; }
.dlane { display: grid; grid-template-columns: 64px 1fr 56px; align-items: center; gap: 12px; color: var(--mist); font-size: 14px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 34px; padding: 0 2px; }
.bars i { flex: 1; height: 100%; border-radius: 2px 2px 1px 1px; transform-origin: bottom; background: linear-gradient(180deg, #ffd58a, var(--amber)); animation: barjump 0.9s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -1); transition: transform 0.4s; }
.bars.music i { transform: scaleY(calc(var(--h) * var(--level))); }
.bars.voice i { background: linear-gradient(180deg, #9ccaff, var(--blue)); transform: scaleY(calc(0.06 + var(--h) * var(--talk))); animation-play-state: paused; }
.bars.voice.live i { animation-play-state: running; animation-duration: 0.32s; }
@keyframes barjump { from { transform: scaleY(calc(var(--h) * var(--level, 1) * 0.35 + 0.04 * var(--talk, 0))); } to { transform: scaleY(calc(var(--h) * var(--level, 1) + 0.06 * var(--talk, 0))); } }
.bars.voice i { --level: var(--talk); }
.play-card .ptt { width: 100%; margin-top: 4px; }
/* Carte 2 : courbe d'EQ, compresseur, gate */
.clean-viz { display: grid; gap: 10px; }
.eq-curve { width: 100%; height: 110px; display: block; border-radius: 12px; background: radial-gradient(ellipse at 50% 100%, rgba(255, 177, 59, 0.08), transparent 70%), #0a0b0e; box-shadow: inset 0 0 0 1px var(--hair); }
.eq-zero { stroke: rgba(255, 255, 255, 0.12); stroke-dasharray: 3 4; }
.eq-fill { fill: url(#eq-grad); transition: opacity 0.3s; }
.eq-line { fill: none; stroke: var(--amber); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255, 177, 59, calc(0.25 + var(--voice) * 0.5))); }
.eq-dot { fill: #0a0b0e; stroke: var(--amber); stroke-width: 2; transition: opacity 0.3s; }
.clean-viz[data-eq='0'] .eq-fill, .clean-viz[data-eq='0'] .eq-dot { opacity: 0; }
.clean-viz[data-eq='0'] .eq-line { stroke: var(--dim); filter: none; }
.eq-bands { display: flex; justify-content: space-between; padding: 0 6%; margin-top: -4px; font-size: 11px; color: var(--dim); letter-spacing: 0.04em; text-transform: uppercase; }
.clean-meters { display: grid; gap: 8px; }
.cm { display: grid; grid-template-columns: 92px 1fr 64px; align-items: center; gap: 10px; font-size: 13px; color: var(--mist); }
.cm em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--text); text-align: right; }
.gr { height: 8px; border-radius: 4px; background: #1b1e24; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair); direction: rtl; }
.gr i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #ffd58a, var(--amber)); transition: width 0.08s linear; }
.gate { display: flex; align-items: center; gap: 8px; }
.gate-led { width: 10px; height: 10px; border-radius: 50%; background: #2a2d35; box-shadow: inset 0 0 0 1px var(--hair-2); transition: background 0.08s, box-shadow 0.08s; }
.gate-led.open { background: #4cd964; box-shadow: 0 0 10px rgba(76, 217, 100, 0.8); }
.gate b { font-weight: 500; color: var(--text); font-size: 13px; }
.voice-level { display: block; height: 8px; border-radius: 4px; background: #1b1e24; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair); }
.voice-level i { display: block; height: 100%; width: calc(var(--voice) * 100%); border-radius: 4px; background: linear-gradient(90deg, var(--blue), #9ccaff); transition: width 0.06s linear; }
.chip[aria-pressed] { padding-left: 26px; position: relative; }
.chip[aria-pressed]::before { content: ''; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #3a3d45; transition: background 0.2s, box-shadow 0.2s; }
.chip[aria-pressed='true']::before { background: #000; }
#voices .chip[aria-pressed]::before { display: none; } #voices .chip[aria-pressed] { padding-left: 14px; }
/* Carte 3 : onde des effets, pads */
.wave { width: 100%; height: 84px; display: block; border-radius: 12px; background: #0a0b0e; box-shadow: inset 0 0 0 1px var(--hair); }
.wave path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(90, 169, 255, 0.45)); transition: stroke 0.3s; }
.wave[data-mode='helium'] path { stroke: #ffd58a; filter: drop-shadow(0 0 6px rgba(255, 213, 138, 0.5)); }
.wave[data-mode='robot'] path { stroke: #7fe0ff; stroke-linejoin: miter; stroke-linecap: square; }
.wave[data-mode='radio'] path { stroke: var(--amber); filter: drop-shadow(0 0 6px rgba(255, 177, 59, 0.5)); }
.wave[data-mode='water'] path { stroke: #4fc3f7; stroke-width: 2.6; }
.pads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pad { display: grid; place-items: center; gap: 5px; padding: 12px 6px 10px; border-radius: 14px; border: 1px solid var(--hair-2); background: linear-gradient(180deg, #16181d, #0e1013); color: var(--mist); font-family: var(--sans); cursor: pointer; transition: transform 0.12s, border-color 0.2s, background 0.2s, color 0.2s; }
.pad .ic { width: 22px; height: 22px; color: var(--amber); }
.pad b { font-size: 12px; font-weight: 600; color: var(--text); }
.pad:hover { border-color: rgba(255, 177, 59, 0.5); transform: translateY(-1px); }
.pad:active { transform: scale(0.96); }
.pad.hit { animation: padhit 0.45s ease-out; }
@keyframes padhit { 0% { background: rgba(255, 177, 59, 0.55); border-color: var(--amber); transform: scale(0.94); box-shadow: 0 0 0 0 rgba(255, 177, 59, 0.6); } 100% { box-shadow: 0 0 0 14px rgba(255, 177, 59, 0); } }
@media (prefers-reduced-motion: reduce) { .bars i, .pad.hit { animation: none; } }
.ddial { cursor: ns-resize; touch-action: none; outline: none; transition: box-shadow 0.15s, transform 0.15s; }
.ddial:hover, .ddial.turning { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 0 3px rgba(255, 177, 59, 0.25), 0 5px 12px rgba(0, 0, 0, 0.65); }
.ddial:focus-visible { box-shadow: 0 0 0 3px var(--amber); }
.ddial i { transition: transform 0.08s; }
.deck-device { isolation: isolate; }
.deck-device.swap { transition: width 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s, transform 0.2s; }

/* ── Stream Deck : une scène à hauteur fixe, le bloc ne bouge plus quand le modèle change ── */
.deck-stage { width: 100%; height: 440px; display: grid; place-items: center; }
.deck-device::after { display: none; }
.deck-device { transition: width 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s, transform 0.2s; }
@media (max-width: 880px) { .deck-stage { height: auto; min-height: 300px; } }

/* ── Ducking : un écran plein cadre, barres larges et centrées ── */
.duck-viz { padding: 16px 14px 12px; border-radius: 12px; background: radial-gradient(ellipse at 50% 0%, rgba(255, 177, 59, 0.07), transparent 70%), #0a0b0e; box-shadow: inset 0 0 0 1px var(--hair); gap: 14px; }
.dlane { grid-template-columns: 54px 1fr 50px; gap: 10px; font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--dim); }
.dlane .duck-tag { font-size: 11px; }
.bars { height: 46px; gap: 3px; padding: 0; }
.bars i { border-radius: 2px; }
.bars.voice i { opacity: 0.45; transition: transform 0.4s, opacity 0.3s; }
.bars.voice.live i { opacity: 1; }
.play-card .duck-viz + .ptt { margin-top: 2px; padding: 22px 16px 20px; }
.play-card .ptt .ic { width: 30px; height: 30px; }

/* ── Ducking : la descente (rapide) et la remontée (douce) se font sur le groupe de barres ── */
.bars.music, .bars.voice { transform-origin: bottom; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.bars.music { transform: scaleY(var(--level)); }
.bars.music.ducked { transition-duration: 0.22s; }
.bars.voice { transform: scaleY(calc(0.1 + 0.9 * var(--talk))); transition-duration: 0.25s; }
.bars.music i, .bars.voice i { --level: 1; --talk: 1; transition: none; }
.bars.voice i { transform: scaleY(var(--h)); animation-play-state: running; animation-duration: 0.9s; }
.bars.voice.live i { animation-duration: 0.3s; }

/* ── Stream Deck : glissement rapide entre les modèles ── */
.deck-device, .deck-device.swap { transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s; }
.deck-device.out { transform: translateX(-32px); opacity: 0; transition-duration: 0.18s, 0.16s; }
.deck-device.jump { transform: translateX(32px); opacity: 0; transition: none; }

/* ── L'histoire de Tresse ── */
.story .section-head { margin-bottom: 34px; }
.story .kicker { margin-bottom: 18px; }
.story-body { max-width: 700px; margin: 0 auto; padding-left: 28px; display: grid; gap: 18px; border-left: 3px solid transparent; border-image: linear-gradient(180deg, var(--amber), var(--blue)) 1; }
.story-body p { color: var(--mist); font-size: 19px; line-height: 1.65; }
.story-body b { color: var(--chalk); font-weight: 600; }
.story-body .story-end { color: var(--chalk); font-size: 22px; font-weight: 600; line-height: 1.4; margin-top: 6px; }
@media (max-width: 880px) { .story-body { padding-left: 20px; } .story-body p { font-size: 17.5px; } .story-body .story-end { font-size: 20px; } }
/* ── Communauté : carte du serveur Discord ── */
.community { padding-top: 30px; }
.discord-card { max-width: 520px; margin: 0 auto; padding: 28px; border-radius: 26px; display: grid; gap: 18px; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--hair-2); box-shadow: 0 40px 120px -50px rgba(90, 169, 255, 0.4); }
.dc-head { display: flex; align-items: center; gap: 16px; }
.dc-icon { position: relative; flex: none; width: 56px; height: 56px; }
.dc-icon img { display: block; width: 56px; height: 56px; border-radius: 14px; }
.dc-badge { position: absolute; right: -7px; bottom: -7px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #000; border: 3px solid var(--card-2); }
.dc-badge .dc-logo { width: 13px; height: 13px; }
.dc-name { font-family: var(--brand); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.dc-kind { color: var(--mist); font-size: 14px; margin-top: 2px; }
.discord-card > p { color: var(--mist); }
.dc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-tags span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--hair-2); color: var(--mist); }
.dc-logo { fill: currentColor; }
.btn.discord { width: 100%; background: var(--blue); color: #000; padding: 15px 26px; }
.btn.discord:hover { box-shadow: 0 10px 40px rgba(90, 169, 255, 0.4); }
.btn.discord .dc-logo { width: 22px; height: 22px; }
.discord-card .dc-fine { color: var(--dim); font-size: 14px; text-align: center; margin-top: -4px; }
.foot-col a.foot-discord { display: inline-flex; align-items: center; gap: 7px; }
.foot-discord .dc-logo { width: 15px; height: 15px; }
@media (max-width: 880px) { .discord-card { padding: 22px; } }

/* Page « Problèmes connus » : corps de réponse avec paragraphes, listes et tableau */
.known-doc .ki-faq { margin: 0 0 18px; }
.known-doc .ki-faq a { color: var(--amber); }
.known-doc .ki-body { color: var(--mist); padding: 0 0 20px; }
.known-doc .ki-body p { margin: 0 0 10px; padding: 0; color: inherit; }
.known-doc .ki-body ol, .known-doc .ki-body ul { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; }
.known-doc .ki-body b { color: var(--text); }
.known-doc .ki-body a { color: var(--amber); }
.known-doc .ki-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.known-doc .ki-table th, .known-doc .ki-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.known-doc .ki-table th { color: var(--text); font-weight: 600; }
.known-doc .ki-table td:last-child, .known-doc .ki-table th:last-child { white-space: nowrap; }
@media (max-width: 560px) { .known-doc .ki-table { font-size: 14px; } .known-doc .ki-table td:last-child, .known-doc .ki-table th:last-child { white-space: normal; } }

/* Prix en direct (price-live.js) : l'élément masqué disparaît vraiment, le changement apparaît en fondu doux */
.price-card [hidden] { display: none !important; }
@keyframes price-fade { from { opacity: 0; } to { opacity: 1; } }
.price-card.price-live .badge, .price-card.price-live .amount { animation: price-fade 0.5s ease both; }
@media (prefers-reduced-motion: reduce) { .price-card.price-live .badge, .price-card.price-live .amount { animation: none; } }

/* ══ Accueil V2 : la visite au défilement ══
   Sans JavaScript ou en « mouvement réduit » : une suite de chapitres (texte + capture recadrée), rien ne bouge.
   Avec la classe .tour-on (posée dans <head>) : la scène devient collante et la caméra se déplace (tour.js). */

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.tour { position: relative; padding: 0; }
.chapters { list-style: none; margin: 0; padding: 0; }
.chap-text .kicker { margin-bottom: 18px; }
.chap-text { min-width: 0; }
.chap-text h2 { font-size: clamp(30px, 3.5vw, 84px); letter-spacing: -0.03em; text-wrap: balance; }
.chap-text > p:not(.kicker):not(.fine):not(.lead):not(.scroll-hint) { color: var(--mist); font-size: clamp(17px, 1.3vw, 30px); line-height: 1.5; margin-top: 18px; max-width: 54ch; text-wrap: pretty; }
.num-k { font-family: var(--mono); color: var(--amber); font-size: 13px; letter-spacing: 0; }
.chap-hint { color: var(--text) !important; font-size: 15px !important; padding: 10px 14px; border: 1px dashed var(--hair-2); border-radius: 12px; display: inline-block; }
.eq-chips { margin-top: 18px; }
.eq-chips .chip { font-size: 15px; padding: 9px 16px 9px 28px; min-height: 40px; }
.duck-hold { margin-top: 20px; }
.chap-hero h1 { font-size: clamp(34px, 3.55vw, 92px); margin: 22px 0 20px; letter-spacing: -0.04em; }
.chap-hero .lead { margin: 0; max-width: 40ch; font-size: clamp(17px, 1.45vw, 32px); }
.chap-hero .cta { justify-content: flex-start; margin-top: 28px; }
.scroll-hint { display: none; }

/* ── Une capture et ce qui vit dessus ── */
.ui-shot { position: relative; aspect-ratio: 16 / 9; background: #0b0c0f; }
.ui-shot .layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; max-width: none; }
.ui-shot .eq-2, .ui-shot .eq-3 { opacity: 0; transition: opacity 0.35s; }
.ui-shot[data-eq='2'] .eq-2, .ui-shot[data-eq='3'] .eq-3 { opacity: 1; }
.vu { position: absolute; overflow: hidden; border-radius: 0.19em; }
.vu b { position: absolute; inset: 0; transform-origin: bottom; border-radius: 3px; background: linear-gradient(to top, color-mix(in srgb, var(--c) 30%, transparent) 0%, color-mix(in srgb, var(--c) 85%, transparent) 70%, var(--c) 100%); }
.duck-db, .duck-voice, .duck-halo { display: none; }
.duck-on .duck-db, .duck-on .duck-voice, .duck-on .duck-halo { display: block; }
.duck-db { position: absolute; transform: translate(-50%, -50%) scale(0.8); font: 600 1.06em var(--mono); font-style: normal; color: #000; background: var(--amber); padding: 0.25em 0.7em; border-radius: 0.55em; opacity: 0; transition: opacity 0.2s, transform 0.2s; white-space: nowrap; pointer-events: none; z-index: 3; box-shadow: 0 0.4em 1.5em rgba(0, 0, 0, 0.6); }
.duck-voice { position: absolute; transform: translate(-50%, -50%) scale(0.85); display: none; align-items: center; gap: 0.2em; font: 600 0.88em var(--sans); color: #fff; background: #5865f2; padding: 0.3em 0.75em 0.3em 0.6em; border-radius: 99em; opacity: 0; transition: opacity 0.18s, transform 0.18s; white-space: nowrap; pointer-events: none; z-index: 3; box-shadow: 0 0.4em 1.5em rgba(0, 0, 0, 0.6); }
.duck-on .duck-voice { display: inline-flex; }
.duck-voice i { width: 0.19em; height: 0.75em; border-radius: 0.12em; background: #fff; transform-origin: center; animation: duck-talk 0.5s ease-in-out infinite alternate; }
.duck-voice i:nth-child(2) { animation-delay: -0.2s; } .duck-voice i:nth-child(3) { animation-delay: -0.35s; } .duck-voice i:nth-child(4) { animation-delay: -0.1s; margin-right: 5px; }
@keyframes duck-talk { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }
.ui-shot.talking .duck-voice { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.duck-halo { position: absolute; border-radius: 1em; box-shadow: 0 0 0 0.19em var(--amber), 0 0 4.4em 0.5em rgba(255, 177, 59, 0.45), inset 0 0 3.75em rgba(255, 177, 59, 0.12); opacity: var(--duck, 0); pointer-events: none; z-index: 2; }
.duck-note { max-width: 44ch; }
.ui-shot.ducked .duck-db { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hot { position: absolute; border: 0; padding: 0; background: transparent; border-radius: 9% / 12%; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.hot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px rgba(255, 177, 59, 0.45); background: rgba(255, 177, 59, 0); transition: box-shadow 0.15s, background 0.15s; }
.hot:hover::after, .hot:focus-visible::after { box-shadow: inset 0 0 0 3px var(--amber), 0 0 34px rgba(255, 177, 59, 0.45); background: rgba(255, 177, 59, 0.1); }
.hot:active::after { background: rgba(255, 177, 59, 0.28); }
.hot.hit::after { animation: hot-hit 0.55s ease-out; }
@keyframes hot-hit { 0% { background: rgba(255, 177, 59, 0.5); box-shadow: inset 0 0 0 3px var(--amber), 0 0 0 0 rgba(255, 177, 59, 0.7); } 100% { background: rgba(255, 177, 59, 0); box-shadow: inset 0 0 0 2px rgba(255, 177, 59, 0.45), 0 0 0 34px rgba(255, 177, 59, 0); } }
.hot:focus-visible { outline: none; }
/* Sur la rangée « Offerts », un halo discret dit « touche-moi » */
.ui-shot[data-view='soundboard'] .hot::before { content: ''; position: absolute; right: 8%; top: 10%; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255, 177, 59, 0.6); animation: hot-ping 2.4s infinite; }
@keyframes hot-ping { 0%, 60% { box-shadow: 0 0 0 0 rgba(255, 177, 59, 0.55); } 100% { box-shadow: 0 0 0 12px rgba(255, 177, 59, 0); } }

/* ── Version calme : chapitres l'un sous l'autre ── */
.stage { display: none; }
.chap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; max-width: 1240px; margin: 0 auto; padding: 56px 20px; }
.chap .chap-text { order: -1; }
.chap:nth-child(odd):not(.chap-hero) .chap-text { order: 1; }
.chap-hero { padding-top: 130px; }
.chap-fig { position: relative; margin: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--hair-2); aspect-ratio: var(--fw) / var(--fh); max-height: 76vh; box-shadow: 0 40px 120px -40px rgba(255, 177, 59, 0.18), 0 30px 100px -40px rgba(90, 169, 255, 0.22); background: #0b0c0f; justify-self: center; width: 100%; }
.chap-fig .ui-shot { position: absolute; left: calc(var(--fx) / var(--fw) * -100%); top: calc(var(--fy) / var(--fh) * -100%); width: calc(1600 / var(--fw) * 100%); }

/* ── Version vivante : la scène collante ── */
/* Trois colonnes : la tresse dans sa gouttière (elle ne passe jamais sur le texte), le texte, la scène. */
.tour-on .tour { --gut: clamp(10px, 1.6vw, 44px); display: grid; grid-template-columns: calc(var(--gut) + 46px) clamp(350px, 33vw, 880px) minmax(0, 1fr); }
.rail { display: none; }
.tour-on .rail { display: block; position: sticky; top: 0; height: 100vh; height: 100svh; grid-column: 1; grid-row: 1; z-index: 4; pointer-events: none; }
.tour-on .stage { display: block; position: sticky; top: 0; height: 100vh; height: 100svh; grid-column: 3; grid-row: 1; overflow: hidden; perspective: 1700px; perspective-origin: 50% 45%; contain: layout paint; }
.tour-on .chapters { grid-column: 2; grid-row: 1; position: relative; z-index: 3; min-width: 0; }
.tour-on .chap { display: flex; align-items: center; min-height: 66vh; min-height: 66svh; max-width: none; margin: 0; padding: 40px 34px 40px 14px; }
.tour-on .chap-fig { display: none; }
.tour-on .chap-text { min-width: 0; transition: opacity 0.4s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); opacity: 0.22; transform: translateY(14px); }
.tour-on .chap.active .chap-text { opacity: 1; transform: none; }
.tour-on .chap-hero { min-height: 100vh; min-height: 100svh; padding-top: 90px; }
.tour-on .chap-hero .chap-text { opacity: 1; transform: none; }
.tour-on .chap:last-child { min-height: 110svh; }
.tour-on .scroll-hint { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 14px; margin-top: 44px; }
.scroll-hint i { width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid var(--hair-2); position: relative; flex: none; }
.scroll-hint i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--amber); animation: hint 1.8s infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(11px); opacity: 0; } }

.stage-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 62% 38%, rgba(255, 177, 59, 0.16), transparent 70%), radial-gradient(ellipse 50% 50% at 80% 72%, rgba(90, 169, 255, 0.14), transparent 70%); pointer-events: none; }
/* Bord gauche de la scène : la fenêtre s y fond dans le noir au lieu d etre coupee net */
.tour-on .stage::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 90px; background: linear-gradient(90deg, var(--bg) 18%, transparent); z-index: 3; pointer-events: none; }
.cam { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.screen { position: absolute; left: 0; top: 0; width: 1600px; height: 900px; transform-origin: 0 0; will-change: transform; border-radius: 18px; overflow: hidden; background: #0b0c0f; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.16), 0 50px 140px -30px rgba(0, 0, 0, 0.9), 0 60px 200px -40px rgba(255, 177, 59, 0.22), 0 40px 160px -40px rgba(90, 169, 255, 0.28); backface-visibility: hidden; }
.screen .ui-shot { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s 0.4s; }
.screen .ui-shot.on { opacity: 1; visibility: visible; transition: opacity 0.4s; z-index: 1; }
.spot { position: absolute; left: 0; top: 0; width: 100px; height: 100px; z-index: 2; border-radius: 22px; box-shadow: 0 0 0 3px var(--amber), 0 0 0 9999px rgba(0, 0, 0, 0.5), 0 0 60px 6px rgba(255, 177, 59, 0.35); opacity: 0; pointer-events: none; transition: opacity 0.45s; transform-origin: 0 0; }
.spot.on { opacity: 1; }

/* La tresse : le fil de la visite */
.braid { position: absolute; pointer-events: none; display: none; }
.braid svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.braid path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.braid-bg path { stroke: rgba(255, 255, 255, 0.07); }
/* Le brin de couleur s'arrête en fondu (pas de coupure nette), et la gouttière s'efface en haut et en bas. */
.braid-v .braid-fg { -webkit-mask-image: linear-gradient(to bottom, #000 calc(70px + var(--p, 0) * (100% - 40px) - 170px), transparent calc(70px + var(--p, 0) * (100% - 40px))); mask-image: linear-gradient(to bottom, #000 calc(70px + var(--p, 0) * (100% - 40px) - 170px), transparent calc(70px + var(--p, 0) * (100% - 40px))); }
.tour-on .rail { -webkit-mask-image: linear-gradient(to bottom, transparent 44px, #000 120px, #000 calc(100% - 140px), transparent); mask-image: linear-gradient(to bottom, transparent 44px, #000 120px, #000 calc(100% - 140px), transparent); }
.braid-h .braid-fg { -webkit-mask-image: linear-gradient(to right, #000 calc(var(--p, 0) * 108% - 70px), transparent calc(var(--p, 0) * 108%)); mask-image: linear-gradient(to right, #000 calc(var(--p, 0) * 108% - 70px), transparent calc(var(--p, 0) * 108%)); }
.braid .s0, .final-braid .s0 { stroke: var(--amber); }
.braid .s1, .final-braid .s1 { stroke: var(--blue); }
.braid .s2, .final-braid .s2 { stroke: rgba(245, 245, 247, 0.75); }
.tour-on .braid-v { display: block; right: 8px; top: 0; width: 24px; height: 100%; }
.final-braid { display: block; width: min(420px, 70vw); margin: 0 auto 26px; }
.final-braid path { fill: none; stroke-width: 2.5; stroke-linecap: round; }

/* ── Démo : seulement si on la lance ── */
.window-body { overflow: hidden; }
.demo-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: brightness(0.45) saturate(0.9); }
.demo-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 20px; }
.demo-cover .fine { color: var(--mist); }
.demo-start .ic { width: 18px; height: 18px; fill: currentColor; }
.demo-small { display: none; }
#demo-frame[hidden] { display: none; }

/* ── Mac : la fenêtre de la barre des menus, cadrée (image) ; la vraie se charge si on clique ── */
.mac-shot { --cx: 852; --cw: 748; --ch: 600; position: relative; width: min(748px, 100%); margin: 0 auto; border-radius: 16px; overflow: hidden; border: 1px solid var(--hair-2); aspect-ratio: var(--cw) / var(--ch); background: #0b0c0f; box-shadow: 0 40px 120px -40px rgba(90, 169, 255, 0.3); }
.mac-shot img { position: absolute; top: 0; left: calc(var(--cx) / var(--cw) * -100%); width: calc(1600 / var(--cw) * 100%); max-width: none; height: auto; display: block; }
.mac-shot[hidden], .mac-screen[hidden], .mac-try[hidden], .mac-note[hidden] { display: none; }
/* La vraie fenêtre prend exactement la place de l image : rien ne saute, pas de grand bureau vide. */
#mac-live { width: min(748px, 100%); aspect-ratio: 748 / 650; margin: 0 auto; }
.mac-try { margin-top: 22px; }
.mac-try .ic, #mac-start .ic { width: 16px; height: 16px; fill: currentColor; }

/* ── Téléphone et tablette ── */
@media (max-width: 880px) {
  .chap { grid-template-columns: 1fr; gap: 22px; padding: 34px 20px; }
  .chap .chap-text, .chap:nth-child(odd):not(.chap-hero) .chap-text { order: 1; }
  .chap-hero { padding-top: 96px; }
  .chap-hero .chap-text { order: -1 !important; }
  .chap-fig { --fx: var(--mx); --fy: var(--my); --fw: var(--mw); --fh: var(--mh); max-height: 60vh; }
  .chap-text > p:not(.kicker):not(.fine):not(.lead):not(.scroll-hint) { font-size: 17px; }

  .tour-on .tour { display: block; }
  .tour-on .stage { height: 46vh; height: 46svh; top: 0; z-index: 4; background: var(--bg); perspective: 900px; }
  .tour-on .stage::before { display: none; }
  .tour-on .stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; z-index: 3; }
  .tour-on .chapters { padding: 0 20px; z-index: 1; }
  .tour-on .chap { min-height: 62vh; min-height: 62svh; padding: 26px 0 60px; align-items: flex-start; scroll-margin-top: calc(46svh - 70px); }
  .tour-on .chap-hero { min-height: 54svh; padding-top: 18px; }
  .tour-on .chap-hero .chap-text { width: auto; flex: 1 1 auto; min-width: 0; }
  .tour-on .chap:last-child { min-height: 70svh; }
  .tour-on .chap-text { opacity: 0.3; transform: none; }
  .tour-on .scroll-hint { margin-top: 22px; }
  .chap-hero h1 { font-size: clamp(34px, 9.4vw, 46px); margin: 14px 0 12px; }
  .chap-hero .lead { font-size: 16.5px; max-width: none; }
  .chap-hero .cta { margin-top: 18px; gap: 10px; }
  .chap-hero .cta .btn { padding: 12px 16px; font-size: 14.5px; }
  .chap-text > p:not(.kicker):not(.fine):not(.lead):not(.scroll-hint) { max-width: none; }
  .chap-hero .fine { display: none; }
  .tour-on .chap-hero .cta .btn.ghost { display: none; } /* sur téléphone, on fait défiler : un seul bouton suffit */
  .tour-on .rail { display: none; }
  .tour-on .braid-h { display: block; left: 0; bottom: 0; width: 100%; height: 14px; z-index: 5; }
  .screen { border-radius: 14px; }
  .spot { box-shadow: 0 0 0 3px var(--amber), 0 0 40px 4px rgba(255, 177, 59, 0.35); }

  .demo-wrap .window, .demo-wrap > .fine.center:not(.demo-small) { display: none; }
  .demo-small { display: block; }
  .mac-try { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hot::before, .scroll-hint i::after { animation: none !important; }
  .ui-shot .eq-2, .ui-shot .eq-3, .duck-db { transition: none; }
}

/* Marges des sections qui suivent la visite */
#aussi { padding-top: 110px; }
#aussi .section-head { margin-bottom: 44px; }
.mac { padding-bottom: 90px; }

/* Tablette : même scène collante que sur téléphone, avec un texte plus grand et mieux centré */
@media (min-width: 600px) and (max-width: 880px) {
  .tour-on .chapters { padding: 0 40px; }
  .tour-on .chap { min-height: 54svh; }
  .chap-text h2 { font-size: 40px; }
  .chap-hero h1 { font-size: 52px; }
  .chap-text > p:not(.kicker):not(.fine):not(.lead):not(.scroll-hint), .chap-hero .lead { font-size: 20px; max-width: 60ch; }
  .tour-on .chap-hero .cta .btn.ghost { display: inline-flex; }
}

/* Le site n a qu un theme sombre : on le dit au navigateur (barres de defilement, champs, cadres). */
:root { color-scheme: dark; }


/* ── Câbles : redessinés par le site d'après le tracé de l'appli ; le signal avance, un câble se rebranche ── */
.cab { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.cab .cf { stroke-dasharray: 2 14; stroke-linecap: round; }
.screen .ui-shot.on .cab .cf { animation: cab-flow 0.9s linear infinite; }
@keyframes cab-flow { to { stroke-dashoffset: -16; } }
.screen .ui-shot.on .cab .plug { animation: cab-plug 9s ease-in-out infinite; }
.screen .ui-shot.on .cab .plug .cg { stroke-dasharray: 1; animation: cab-draw 9s ease-in-out infinite; }
.screen .ui-shot.on .cab .plug .cf { animation: cab-flow 0.9s linear infinite, cab-dots 9s linear infinite; }
@keyframes cab-plug { 0%, 44% { opacity: 1; } 50%, 58% { opacity: 0; } 59%, 100% { opacity: 1; } }
@keyframes cab-draw { 0%, 58% { stroke-dashoffset: 0; } 58.1% { stroke-dashoffset: 1; } 74%, 100% { stroke-dashoffset: 0; } }
@keyframes cab-dots { 0%, 44% { opacity: 1; } 50%, 72% { opacity: 0; } 80%, 100% { opacity: 1; } }

/* ── Mac : la vraie fenêtre arrive toute seule, à la place exacte de l'image ── */
.mac-note { margin-top: 16px; }

/* ── Grands écrans : la page s'élargit avec l'écran au lieu de rester tassée au milieu ── */
@media (min-width: 881px) {
  .home .nav { padding-left: calc(clamp(10px, 1.6vw, 44px) + 60px); padding-right: clamp(20px, 3vw, 90px); }
  .tour-on .chap { padding-right: clamp(24px, 3vw, 80px); }
}
@media (min-width: 1700px) {
  :root { --max: 1480px; }
  .home .demo-wrap { max-width: 1600px; }
  .home .section-head { max-width: 1000px; }
  .home .section-head h2 { font-size: clamp(60px, 3.6vw, 88px); }
  .home .section-head p { font-size: 22px; }
  .home .card h3 { font-size: 28px; }
  .home .card p, .home .steps-list p, .home .faq-list p, .home .story-body p { font-size: 19px; }
  .kicker { font-size: 16px; }
  .chap-hero .cta .btn { padding: 17px 32px; font-size: 19px; }
  .eq-chips .chip { font-size: 18px; padding: 11px 20px 11px 32px; }
  .chap-hint { font-size: 18px !important; }
  .ptt b { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .duck-voice i, .cab .cf, .cab .plug, .cab .plug .cg { animation: none !important; }
}#mac-live.loading { position: absolute; left: -200vw; width: 748px; visibility: hidden; }
.mac { position: relative; }
/* La « caméra » est transparente : elle ne doit jamais attraper le clic à la place d un pad (elle est dans le même plan 3D que la fenêtre). */
.cam { pointer-events: none; }
.screen { pointer-events: auto; }
.screen .ui-shot:not(.ready) > :not(img) { visibility: hidden; }


/* ── Netteté : la fenêtre est construite à la taille de son plus fort zoom (tour.js), ce qui est posé dessus suit ── */
.screen { font-size: 16px; backface-visibility: visible; }
.screen .ui-shot .layer { image-rendering: auto; }
.spot { border-radius: 1.4em; box-shadow: 0 0 0 0.19em var(--amber), 0 0 0 9999px rgba(0, 0, 0, 0.5), 0 0 3.75em 0.4em rgba(255, 177, 59, 0.35); }
.hot::after { box-shadow: inset 0 0 0 0.12em rgba(255, 177, 59, 0.45); }
.hot:hover::after, .hot:focus-visible::after { box-shadow: inset 0 0 0 0.19em var(--amber), 0 0 2.1em rgba(255, 177, 59, 0.45); }
.ui-shot[data-view='soundboard'] .hot::before { width: 0.5em; height: 0.5em; }
.cab .cf, .cab path { vector-effect: none; }

/* ── Démo : plus de bouton, elle arrive toute seule ; l'image attend dessous ── */
.window-body iframe[hidden] { display: none; }
.demo-poster { filter: brightness(0.7) saturate(0.95); }
.feat .fine { margin-top: 10px; font-size: 12.5px; }
@media (max-width: 880px) { .spot { box-shadow: 0 0 0 0.19em var(--amber), 0 0 2.5em 0.25em rgba(255, 177, 59, 0.35); } }
/* ── Ducking : la scène des deux ondes (voix en haut, musique en bas, le temps défile vers la gauche) ── */
.duck-scene { position: relative; margin-top: 22px; height: clamp(170px, 24vh, 300px); border-radius: 22px; border: 1px solid var(--hair); background: radial-gradient(ellipse 70% 90% at 100% 30%, rgba(90, 169, 255, 0.1), transparent 70%), radial-gradient(ellipse 70% 90% at 100% 75%, rgba(255, 177, 59, 0.1), transparent 70%), linear-gradient(180deg, #0d0f13, #08090b); overflow: hidden; }
.duck-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ds-l { position: absolute; left: 16px; display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--sans); letter-spacing: 0.02em; color: var(--mist); transition: color 0.2s; text-shadow: 0 1px 8px #000; }
.ds-voice { top: 12px; }
.ds-voice i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); opacity: 0.45; transition: opacity 0.15s, box-shadow 0.15s, background 0.15s; }
.ds-voice b { font-weight: 600; }
.duck-scene.talking .ds-voice { color: var(--text); }
.duck-scene.talking .ds-voice i { opacity: 1; background: #fff; box-shadow: 0 0 14px 3px rgba(90, 169, 255, 0.9); }
.ds-music { top: calc(50% + 4px); }
.ds-music b { font: 600 13px var(--mono); color: var(--dim); min-width: 5.5ch; transition: color 0.2s; }
.duck-scene.ducked .ds-music b { color: var(--amber); }
.duck-hold { margin-top: 14px; }
/* Sur la capture : plus de pastille. Les deux colonnes concernées s'éclairent, c'est tout. */
.duck-halo { box-shadow: 0 0 0 0.09em rgba(255, 177, 59, 0.9), 0 0 4.4em 0.4em rgba(255, 177, 59, 0.38), inset 0 0 3.75em rgba(255, 177, 59, 0.1); }
.duck-halo-v { box-shadow: 0 0 0 0.09em rgba(245, 245, 247, 0.75), 0 0 3.6em 0.3em rgba(90, 169, 255, 0.4), inset 0 0 3em rgba(90, 169, 255, 0.1); opacity: 0; transition: opacity 0.18s; }
.ui-shot.talking .duck-halo-v { opacity: 1; }
/* Pad en lecture : il reste allumé tant que le son joue ; un second clic l'arrête. */
.hot.playing::after { box-shadow: inset 0 0 0 0.19em var(--amber), 0 0 2.4em rgba(255, 177, 59, 0.55); background: rgba(255, 177, 59, 0.16); animation: hot-play 0.9s ease-in-out infinite alternate; }
@keyframes hot-play { from { background: rgba(255, 177, 59, 0.1); } to { background: rgba(255, 177, 59, 0.24); } }
@media (max-width: 880px) { .duck-scene { height: 150px; margin-top: 16px; } }
@media (min-width: 1700px) { .ds-l, .ds-music b { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .hot.playing::after { animation: none; } }


/* ── Bouton de téléchargement qui reconnaît le système (src/download.mjs) ── */
.dl{margin:0}
.dl-wrap{margin:24px 0 6px}
.dl-guide{margin:16px 0 0}
.dl-btns{display:flex;flex-wrap:wrap;gap:12px}
.dl .dl-btn{color:#000;text-decoration:none}
.dl .dl-btn[aria-disabled='true']{opacity:.5;cursor:not-allowed;pointer-events:none;box-shadow:none}
.dl-other{margin:12px 0 0;font-size:14px;color:#a1a6b0}
.dl-other a{color:inherit;font-weight:600;text-underline-offset:3px}
.dl-other a:hover{color:#f5f5f7}
.dl-phone-text{margin:0 0 12px;color:#a1a6b0}
.dl-req{margin:10px 0 0;font-size:13.5px;color:#8b909b}
.dl-reqs{margin:14px 0 0;font-size:15px;color:#a1a6b0;max-width:62ch}
.dl-reqs b{color:#f5f5f7}
.dl [hidden]{display:none!important}
.dl.dl-center .dl-btns{justify-content:center}
.dl.dl-center{text-align:center}
/* téléphone ou tablette : les deux boutons deviennent de simples liens */
.dl.is-phone .dl-btn{background:transparent;color:#f5f5f7;border:1px solid rgba(255,255,255,.14);box-shadow:none;padding:10px 18px;font-size:15px}
