/* ==========================================================================
   ViralTech Market — feuille de style principale
   Mobile d'abord · polices système (aucun chargement externe) · une couleur d'accent
   ========================================================================== */

:root {
  --ink: #0b1324;
  --ink-2: #16213a;
  --ink-3: #24314f;
  --text: #1b2433;
  --muted: #586378;
  --line: #e2e7ef;
  --line-strong: #cbd3df;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --accent: #1d5cff;
  --accent-ink: #1446cc;
  --accent-soft: #e8efff;
  --on-dark: #e8edf7;
  --on-dark-muted: #a9b4c9;
  --wa: #128c4a;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --ok: #157f3c;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(11, 19, 36, .06), 0 8px 24px rgba(11, 19, 36, .06);
  --container: 1200px;
  --gutter: 20px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg); padding-bottom: 68px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); font-weight: 750; }
h2, .h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem); font-weight: 700; }
h3, .h3 { font-size: 1.2rem; font-weight: 680; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.sprite { display: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt { margin-top: 2rem; }
.todo { display: inline-block; margin: 0 .3em; padding: 1px 8px; border-radius: 6px; background: #fff3c4; color: #6b4e00; font-size: .8rem; font-weight: 600; border: 1px dashed #c99a00; }

.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-sm { width: 17px; height: 17px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.narrow-wide { max-width: 940px; }

/* Boutons ----------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.25em; border-radius: var(--radius); border: 2px solid transparent; font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-sm { min-height: 42px; padding: .5em 1em; font-size: .95rem; }
.btn-lg { min-height: 52px; padding: .8em 1.4em; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0d7038; color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); color: var(--ink); }
.btn-row, .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.btn-row-center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 650; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* En-tête ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.15rem; letter-spacing: -.01em; }
.logo-mark { width: 40px; height: 40px; border-radius: 9px; }
.logo-full img { width: 120px; height: auto; border-radius: 12px; }
.logo-text strong { font-weight: 800; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100vh - 68px); overflow-y: auto; padding: 8px var(--gutter) 24px; box-shadow: var(--shadow); }
.site-nav.is-open { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; padding: 0 4px; background: none; border: 0; border-bottom: 1px solid var(--line); font: inherit; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; }
.nav-link[aria-current="page"] { color: var(--accent-ink); }
.mega-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mega { display: none; }
.mega.is-open { display: block; }
.mega-inner { padding: 8px 0 12px; display: grid; gap: 16px; }
.mega-title { margin: 8px 0 4px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 6px; border-radius: 8px; color: var(--text); text-decoration: none; }
.mega a:hover, .mega a[aria-current="page"] { background: var(--bg-soft); color: var(--accent-ink); }
.mega a .icon { color: var(--accent); }
.nav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.search-trigger { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 600; }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; position: static; align-items: center; gap: 18px; padding: 0; box-shadow: none; border: 0; max-height: none; overflow: visible; background: transparent; }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-link { min-height: 44px; border: 0; padding: 0 10px; border-radius: 8px; font-size: .97rem; gap: 4px; }
  .nav-link:hover { background: var(--bg-soft); }
  .has-mega { position: static; }
  .mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(11,19,36,.12); }
  .mega-inner { grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 24px var(--gutter) 28px; }
  .mega-aside { border-left: 1px solid var(--line); padding-left: 24px; }
  .nav-actions { flex-direction: row; align-items: center; margin: 0; }
  .search-trigger { width: 44px; height: 44px; min-height: 0; padding: 0; justify-content: center; }
  .search-trigger-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Fil d'Ariane ------------------------------------------------------------ */
.breadcrumbs { padding-top: 14px; padding-bottom: 0; font-size: .9rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-ink); text-decoration: underline; }

/* Sections ---------------------------------------------------------------- */
.section { padding: 56px 0; }
.section-tight { padding: 32px 0 56px; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #8fb0ff; }
.section-dark .section-lead { color: var(--on-dark-muted); }
@media (min-width: 900px) { .section { padding: 84px 0; } }
.section-head { max-width: 780px; margin-bottom: 32px; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; }
.section-lead { font-size: 1.1rem; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 .8em; font-size: .82rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 70ch; }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: .5em 1.2em; border-left: 4px solid var(--accent); background: var(--bg-soft); }

/* Hero accueil ------------------------------------------------------------ */
.hero { background: var(--ink); color: var(--on-dark); padding: 48px 0 56px; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 40px 40px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #8fb0ff; }
.hero .lead { color: var(--on-dark-muted); }
.hero-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .hero { padding: 72px 0 80px; } .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; } }
.hero-search { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding: 6px 6px 6px 14px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.hero-search input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; color: #fff; font: inherit; }
.hero-search input::placeholder { color: var(--on-dark-muted); }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { border-color: #8fb0ff; }
.hero-search-light { background: #fff; border-color: var(--line-strong); margin: 20px 0 0; }
.hero-search-light input { color: var(--text); }
.hero-search-light input::placeholder { color: var(--muted); }
.hero-search-light .icon { color: var(--muted); }
.hero-needs { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius-lg); padding: 22px; }
.needs-title { color: #fff; font-size: 1.2rem; margin-bottom: 14px; }
.needs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
@media (min-width: 560px) { .needs-list { grid-template-columns: 1fr 1fr; } }
.needs-list a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.04); color: var(--on-dark); text-decoration: none; font-size: .96rem; font-weight: 550; line-height: 1.3; }
.needs-list a .icon:first-child { color: #8fb0ff; }
.needs-list a span { flex: 1; }
.needs-arrow { opacity: .4; }
.needs-list a:hover { background: rgba(143,176,255,.14); color: #fff; }
.needs-list a:hover .needs-arrow { opacity: 1; }

.hero-trust-bar { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
@media (min-width: 580px) { .hero-trust-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .hero-trust-bar { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; padding-top: 32px; } }
.hero-trust-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: background .18s, border-color .18s, transform .18s; }
.hero-trust-item:hover { background: rgba(255,255,255,.07); border-color: rgba(143,176,255,.32); transform: translateY(-2px); }
.hero-trust-icon { width: 22px; height: 22px; flex: none; color: #8fb0ff; margin-top: 2px; }
.hero-trust-text { display: flex; flex-direction: column; gap: 2px; }
.hero-trust-text strong { font-size: .95rem; font-weight: 700; color: #fff; line-height: 1.3; }
.hero-trust-text span { font-size: .82rem; color: var(--on-dark-muted); line-height: 1.35; }


/* Hero pages internes ----------------------------------------------------- */
.page-hero { padding: 28px 0 48px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-soft), #fff); }
.page-hero-compact { padding-bottom: 28px; }
.page-hero-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .page-hero { padding: 36px 0 64px; } .page-hero-grid { grid-template-columns: 1fr 340px; gap: 56px; align-items: start; } }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; }
.toc-title { margin: 0 0 8px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc ul:not(.checklist) li a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 550; }
.toc ul:not(.checklist) li:last-child a { border: 0; }
.toc ul:not(.checklist) li a:hover { color: var(--accent-ink); }

/* Problèmes → solutions --------------------------------------------------- */
.problem-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.problem { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .problem { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) 210px; gap: 32px; align-items: center; } .problem-link { text-align: right; } }
.problem-q { margin: 0; font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.problem-a { margin: 0; color: var(--muted); display: flex; gap: 8px; align-items: baseline; }
.problem-a .icon { color: var(--accent); transform: translateY(3px); }
.problem-link { font-weight: 650; }
.section-soft .problem-list { border-color: var(--line-strong); }

/* Univers (familles de domaines) ------------------------------------------ */
.families { display: grid; gap: 40px; }
@media (min-width: 1000px) { .families { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.family-title { font-size: 1.1rem; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.family-intro { color: var(--muted); font-size: .97rem; }
.domain-links { list-style: none; margin: 0; padding: 0; }
.domain-links a { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; color: var(--text); }
.domain-links a:hover strong { color: var(--accent-ink); text-decoration: underline; }
.domain-text { display: flex; flex-direction: column; }
.domain-text strong { color: var(--ink); }
.domain-text span { color: var(--muted); font-size: .94rem; line-height: 1.45; }
.domain-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }

/* Mises en avant ---------------------------------------------------------- */
.highlights { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 700px) { .highlights { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .highlights { grid-template-columns: repeat(4, 1fr); } }
.highlight { background: #fff; padding: 26px 24px; display: flex; flex-direction: column; }
.highlight h3 a { color: var(--ink); text-decoration: none; }
.highlight h3 a:hover { color: var(--accent-ink); }
.highlight p { color: var(--muted); }
.highlight .text-link { margin-top: auto; }
.highlight-domain { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .05em; }

.checklist { list-style: none; margin: 0 0 1em; padding: 0; }
.checklist li { display: flex; gap: 10px; align-items: baseline; margin-bottom: .5em; }
.checklist .icon { color: var(--accent); transform: translateY(3px); }
.section-dark .checklist .icon { color: #8fb0ff; }
.checklist-sm { font-size: .95rem; }
.checklist-sm li { margin-bottom: .35em; }

/* Logiciels --------------------------------------------------------------- */
.software-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-3); }
.software-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 4px; border-bottom: 1px solid var(--ink-3); color: #fff; text-decoration: none; }
.software-list a:hover strong { color: #8fb0ff; }
.software-sector { grid-column: 1; font-size: .8rem; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: .05em; }
.software-list strong { grid-column: 1; }
.software-list .icon { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.software-list-light { border-color: var(--line); }
.software-list-light a { color: var(--ink); border-color: var(--line); }
.software-list-light .software-sector { color: var(--muted); }
.software-list-light a:hover strong { color: var(--accent-ink); }
@media (min-width: 900px) { .software-list-light { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border: 0; } }

.software-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .software-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .software-grid { grid-template-columns: repeat(4, 1fr); } }
.software-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; background: #fff; }
.software-card h3 a { color: var(--ink); text-decoration: none; }
.software-card h3 a:hover { color: var(--accent-ink); }
.software-card p { color: var(--muted); font-size: .97rem; }
.software-card-alt { background: var(--bg-soft); border-style: dashed; }
.status { font-size: .85rem; font-weight: 650; color: var(--ok) !important; }
.card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 16px; }
.tag { margin: 0 0 6px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-ink); }

.offers { margin-top: 48px; }
.offer-list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .offer-list { grid-template-columns: repeat(3, 1fr); } }
.offer { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: #fff; }
.offer.is-highlight { border: 2px solid var(--accent); }
.offer-billing { margin: 0; font-size: .8rem; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .05em; }
.offer h4 { margin: 4px 0 8px; font-size: 1.15rem; }
.offer-price { font-size: 1.25rem; font-weight: 750; color: var(--ink); }
.offer-price small { font-size: .9rem; color: var(--muted); font-weight: 500; }

/* Services d'un domaine --------------------------------------------------- */
.service-rows { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.service-row { display: grid; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line-strong); }
@media (min-width: 900px) { .service-row { grid-template-columns: 1.1fr 1.2fr auto; gap: 40px; align-items: start; } }
.service-row h3 { margin-bottom: .3em; }
.service-row h3 a { color: var(--ink); text-decoration: none; }
.service-row h3 a:hover { color: var(--accent-ink); text-decoration: underline; }
.service-row-head p { color: var(--muted); margin: 0; }
.service-row .checklist { margin: 0; }
.service-row .text-link { white-space: nowrap; }

/* Étapes ------------------------------------------------------------------ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.steps li { position: relative; padding-top: 52px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps li::after { content: ""; position: absolute; top: 19px; left: 50px; right: 10px; height: 1px; background: var(--line-strong); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.05rem; margin-bottom: .3em; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }
.mini-steps { padding-left: 1.2em; margin: 0; }
.mini-steps li { margin-bottom: .4em; font-size: .96rem; }

/* Avantages, pourquoi nous ------------------------------------------------ */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 800px) { .benefits { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; } }
.benefits li { border-top: 3px solid var(--accent); padding-top: 16px; }
.benefits p { color: var(--muted); margin: 0; }
.benefits-compact { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
.benefits-compact li { border-top-width: 2px; }
.benefits-compact h3 { font-size: 1.02rem; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: why; }
@media (min-width: 800px) { .why-list { grid-template-columns: repeat(3, 1fr); gap: 36px 48px; } }
.why-list li { counter-increment: why; }
.why-list li::before { content: counter(why, decimal-leading-zero); display: block; font-weight: 800; color: var(--accent); font-size: .95rem; margin-bottom: 6px; }
.why-list p { color: var(--muted); margin: 0; }

.notice { display: flex; gap: 10px; align-items: baseline; margin-top: 32px; padding: 14px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.notice .icon { color: var(--accent); transform: translateY(3px); }
.info-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; margin-top: 24px; }
.info-box h2, .info-box h3 { margin-top: 0; }
.section-soft .info-box { background: #fff; }
.mini-title { margin: 14px 0 4px; font-size: .8rem; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .05em; }

.pill-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); font-weight: 600; font-size: .95rem; }
.pill-links li { padding: 0; }
.pill-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; color: var(--ink); text-decoration: none; }
.pill-links a:hover, .pill-links a[aria-current="page"] { background: var(--ink); color: #fff; }
.pill-center { justify-content: center; }

.plain-links { list-style: none; margin: 0 0 1em; padding: 0; }
.plain-links li { padding: 5px 0; }
.plain-links a { text-decoration: none; font-weight: 550; display: inline-flex; align-items: center; gap: 6px; }
.plain-links a:hover { text-decoration: underline; }
.big-links li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.count { display: inline-block; min-width: 24px; padding: 0 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: .8rem; font-weight: 700; text-align: center; }
.more-link { margin-top: 20px; }
.more-link a { font-weight: 650; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }

.related-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 800px) { .related-links { grid-template-columns: repeat(3, 1fr); } }
.related-links a { display: flex; gap: 14px; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: .94rem; line-height: 1.45; height: 100%; }
.related-links a .icon { color: var(--accent); margin-top: 2px; }
.related-links a span { display: flex; flex-direction: column; }
.related-links strong { color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.related-links a:hover strong { color: var(--accent-ink); }

/* Vue d'ensemble des domaines --------------------------------------------- */
.domain-overview { display: grid; gap: 32px; }
@media (min-width: 800px) { .domain-overview { grid-template-columns: 1fr 1fr; gap: 40px 56px; } }
@media (min-width: 1100px) { .domain-overview { grid-template-columns: repeat(3, 1fr); } }
.domain-block h3 a { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.domain-block h3 a:hover { color: var(--accent-ink); }
.domain-block > p { color: var(--muted); font-size: .97rem; }
.domain-block .plain-links { font-size: .96rem; border-left: 2px solid var(--line-strong); padding-left: 14px; }

.biz-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .biz-grid { grid-template-columns: 1fr 1fr; gap: 36px 48px; } }
.biz-block .domain-icon { margin-bottom: 12px; }
.biz-block p { color: var(--muted); }

.maintenance-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.maintenance-list li { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); align-items: start; }
.maintenance-list .btn { grid-column: 2; justify-self: start; }
.maintenance-list h2 { margin-bottom: .3em; }
.maintenance-list h2 a { color: var(--ink); text-decoration: none; }
.maintenance-list h2 a:hover { color: var(--accent-ink); text-decoration: underline; }
.maintenance-list p { color: var(--muted); margin: 0; }
@media (min-width: 900px) { .maintenance-list li { grid-template-columns: auto 1fr auto; align-items: center; } .maintenance-list .btn { grid-column: 3; } }

/* Cartes génériques (réalisations, articles) ------------------------------- */
.cards-3 { display: grid; gap: 28px; }
@media (min-width: 800px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.project-card img { border-radius: var(--radius); margin-bottom: 14px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.project-card h2 a, .project-card h3 a { color: var(--ink); text-decoration: none; }
.project-card h2 a:hover, .project-card h3 a:hover { color: var(--accent-ink); }
.project-card p { color: var(--muted); }
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 800px) { .article-list { grid-template-columns: repeat(3, 1fr); } }
.article-list li { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.article-list h2 a, .article-list h3 a { color: var(--ink); text-decoration: none; }
.article-list h2 a:hover, .article-list h3 a:hover { color: var(--accent-ink); text-decoration: underline; }
.article-list p { color: var(--muted); }
.article-list img { border-radius: var(--radius); margin-bottom: 12px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.article-list-wide { margin-top: 28px; }
@media (min-width: 800px) { .article-list-wide { grid-template-columns: 1fr 1fr; } }
.article-head { margin-bottom: 28px; }
.article-image { border-radius: var(--radius-lg); margin: 0 0 28px; width: 100%; }
.article-author { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }

/* Produits ---------------------------------------------------------------- */
.product-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.product-media { display: block; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--line-strong); }
.product-placeholder .icon { width: 48px; height: 48px; }
.product-placeholder-lg { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: var(--bg-soft); }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.05rem; margin-bottom: .4em; }
.product-body h3 a { color: var(--ink); text-decoration: none; }
.product-body h3 a:hover { color: var(--accent-ink); }
.product-body p { font-size: .94rem; color: var(--muted); margin-bottom: .5em; }
.product-price { font-weight: 750; color: var(--ink) !important; margin-top: auto; }
.product-avail { font-size: .85rem !important; margin: 0 !important; }
.product-detail { display: grid; gap: 32px; }
@media (min-width: 900px) { .product-detail { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.product-detail-media img { border-radius: var(--radius-lg); width: 100%; }
.product-facts { display: grid; gap: 0; margin: 20px 0; border-top: 1px solid var(--line); }
.product-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.product-facts dt { color: var(--muted); }
.product-facts dd { margin: 0; font-weight: 600; text-align: right; }
.product-facts-compact { margin: 0; font-size: .95rem; }
.product-facts-compact div { flex-direction: column; gap: 2px; }
.product-facts-compact dd { text-align: left; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--muted); font-weight: 600; }
.category-groups { display: grid; gap: 28px; }
@media (min-width: 700px) { .category-groups { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.category-group h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.gallery img { border-radius: var(--radius); border: 1px solid var(--line); }

.empty-state { text-align: center; padding: 48px 24px; background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); max-width: 760px; margin: 0 auto; }
.empty-state > .icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: 12px; }
.empty-state p { color: var(--muted); max-width: 56ch; margin-left: auto; margin-right: auto; }

/* FAQ --------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 650; color: var(--ink); min-height: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-weight: 500; color: var(--accent-ink); }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--accent-ink); }
.faq-answer { padding: 0 0 18px; color: var(--muted); max-width: 72ch; }
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: 260px 1fr; gap: 56px; } .faq-toc { position: sticky; top: 92px; align-self: start; } }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 1.35rem; }

/* Bandeau d'appel à l'action ---------------------------------------------- */
.cta-band { background: var(--ink); color: var(--on-dark); padding: 56px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 60ch; }
.cta-inner { display: grid; gap: 24px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1000px) { .cta-inner { grid-template-columns: 1fr auto; align-items: center; gap: 48px; } }

/* Formulaires ------------------------------------------------------------- */
.form-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: 340px 1fr; gap: 56px; align-items: start; } .form-aside { position: sticky; top: 92px; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 18px; box-shadow: var(--shadow); }
@media (min-width: 700px) { .form-card { padding: 32px; } }
.form-section { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.form-section > legend { font-size: 1.15rem; font-weight: 700; color: var(--ink); padding: 0; margin-bottom: 14px; }
.field { margin-bottom: 18px; }
.field > label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink); font-size: 1rem; }
.field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.req { color: var(--danger); }
.opt { color: var(--muted); font-weight: 400; font-size: .9rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field input[type="number"], .field input[type="date"], .field select, .field textarea,
.type-switch select {
  width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; font: inherit; font-size: 1rem; color: var(--text);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .type-switch select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.has-error input, .has-error select, .has-error textarea, .has-error .file-drop { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .92rem; font-weight: 600; margin: 6px 0 0; }
.help { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.field-grid { display: grid; gap: 0 18px; }
@media (min-width: 700px) { .field-grid { grid-template-columns: 1fr 1fr; } .field-grid .field-radio { grid-column: 1 / -1; } }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; font-weight: 500; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; flex: none; }
.choice-consent { align-items: flex-start; border: 0; padding: 0; font-size: .95rem; }
.choice-consent:has(input:checked) { background: transparent; }
.choice-consent input { margin-top: 3px; }
.file-drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border: 2px dashed var(--line-strong); border-radius: var(--radius); background: var(--bg-soft); }
.file-drop .icon { color: var(--accent); }
.file-drop input { flex: 1; min-width: 0; font: inherit; font-size: .95rem; }
.file-drop.is-invalid { border-color: var(--danger); }
.form-submit { margin-top: 24px; }
.form-submit .btn { width: 100%; }
@media (min-width: 700px) { .form-submit .btn { width: auto; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 22px; }
.alert p { margin: 0; }
.alert-error { background: var(--danger-soft); color: var(--danger); font-weight: 600; }
.type-switch label { display: block; font-weight: 600; margin-bottom: 6px; }
.type-switch-row { display: flex; gap: 8px; }
.form-aside .info-box { margin-top: 20px; }
.success-mark { width: 72px; height: 72px; border-radius: 50%; background: #e7f6ec; color: var(--ok); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success-mark .icon { width: 36px; height: 36px; stroke-width: 2.4; }

/* Contact ----------------------------------------------------------------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 380px 1fr; gap: 56px; align-items: start; } }
.contact-methods { display: grid; gap: 12px; align-content: start; }
.contact-method { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--text); background: #fff; }
a.contact-method:hover { border-color: var(--accent); }
.contact-method > .icon { color: var(--accent); margin-top: 2px; }
.contact-method.is-wa > .icon { color: var(--wa); }
.contact-method span { display: flex; flex-direction: column; }
.contact-method strong { color: var(--ink); }

/* Demandes ---------------------------------------------------------------- */
.request-types { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 800px) { .request-types { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .request-types { grid-template-columns: repeat(3, 1fr); } }
.request-types a { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--muted); font-size: .94rem; line-height: 1.45; background: #fff; }
.request-types a > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.request-types strong { color: var(--ink); font-size: 1.02rem; margin-bottom: 2px; }
.request-types a:hover { border-color: var(--accent); }
.request-types a:hover strong { color: var(--accent-ink); }
.request-types a > .icon { color: var(--line-strong); margin-top: 10px; }

/* Recherche --------------------------------------------------------------- */
.search-page-results { list-style: none; margin: 0; padding: 0; }
.search-page-results li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.search-page-results h2 { margin-bottom: .3em; }
.search-page-results p:last-child { color: var(--muted); margin: 0; }
.search-dialog { position: fixed; inset: 0; z-index: 200; background: rgba(11,19,36,.6); display: flex; align-items: flex-start; justify-content: center; padding: 12px; }
.search-dialog[hidden] { display: none; }
.search-panel { width: 100%; max-width: 680px; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0,0,0,.25); margin-top: 6vh; overflow: hidden; }
.search-form { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--line); }
.search-form > .icon { color: var(--muted); }
.search-form input { flex: 1; min-width: 0; min-height: 52px; border: 0; font: inherit; font-size: 1.1rem; }
.search-form input:focus { outline: none; }
.search-close { width: 46px; height: 46px; border: 0; background: var(--bg-soft); border-radius: 10px; cursor: pointer; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.search-results { max-height: 55vh; overflow-y: auto; }
.search-results a { display: block; padding: 12px 18px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.search-results a:hover, .search-results a:focus, .search-results a.is-active { background: var(--bg-soft); outline: none; }
.search-results .r-type { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--accent-ink); letter-spacing: .05em; }
.search-results .r-title { display: block; font-weight: 650; color: var(--ink); }
.search-results .r-summary { display: block; font-size: .9rem; color: var(--muted); }
.search-results .r-empty { padding: 16px 18px; color: var(--muted); margin: 0; }
.search-hint { margin: 0; padding: 12px 18px; font-size: .9rem; color: var(--muted); background: var(--bg-soft); }

/* Pied de page ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 56px 0 0; font-size: .96rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; } }
.footer-brand p { margin: 14px 0; max-width: 40ch; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 10px; }
.footer-col ul, .footer-contact, .footer-socials { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 4px 0; }
.footer-contact li { display: flex; gap: 10px; align-items: center; padding: 4px 0; }
.footer-contact .icon { color: #8fb0ff; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding: 20px var(--gutter); border-top: 1px solid var(--ink-3); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }

/* Barre d'actions mobile -------------------------------------------------- */
.mobile-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(11,19,36,.08); padding-bottom: env(safe-area-inset-bottom); }
.mobile-actions a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; font-size: .78rem; font-weight: 650; color: var(--ink); text-decoration: none; }
.mobile-actions a.is-wa { color: var(--wa); }
.mobile-actions a.is-primary { background: var(--accent); color: #fff; }
@media (min-width: 900px) { .mobile-actions { display: none; } }

@media print {
  .site-header, .site-footer, .mobile-actions, .cta-band, .search-dialog { display: none !important; }
  body { padding: 0; }
}

/* Les enfants de grilles ne doivent jamais imposer une largeur supérieure à l'écran */
.hero-grid > *, .page-hero-grid > *, .form-layout > *, .contact-grid > *, .split > *, .faq-layout > *, .product-detail > *, .cta-inner > * { min-width: 0; }
.type-switch-row select { flex: 1; min-width: 0; }
.hero-search .btn { flex: none; }
body { overflow-wrap: break-word; }
.problem > *, .service-row > *, .maintenance-list li > * { min-width: 0; }

/* ==========================================================================
   Phase 2 : catalogue visuel, médias, logiciels, abonnements, rachat
   ========================================================================== */

/* Médias et badge Illustration */
.media { position: relative; margin: 0; overflow: hidden; background: #fff; border-radius: var(--radius); }
.media img { width: 100%; height: 100%; display: block; }
.media-contain { background: #fff; }
.media-contain img { object-fit: contain; padding: 8%; }
.media-cover img { object-fit: cover; }
.media-badge { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(11,19,36,.72); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .02em; pointer-events: none; }
.media-empty { background: linear-gradient(135deg, var(--bg-soft), #e9eef6); display: flex; }
.media-placeholder { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; font-weight: 600; text-align: center; padding: 12px; }
.media-placeholder .icon { width: 36px; height: 36px; color: var(--line-strong); }

/* Tuiles de catégories */
.tile-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (min-width: 700px) { .tile-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; } }
@media (min-width: 1000px) { .tile-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.tile-grid-sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (min-width: 700px) { .tile-grid-sm { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); } .tile-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s, box-shadow .15s; }
.tile:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.tile .tile-media { aspect-ratio: 4 / 3; border-radius: 0; border-bottom: 1px solid var(--line); }
.tile-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; }
.tile-body strong { color: var(--ink); font-size: 1rem; line-height: 1.3; }
.tile:hover strong { color: var(--accent-ink); }
.tile-text { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.tile-meta { color: var(--accent-ink); font-size: .78rem; font-weight: 700; margin-top: 2px; }
.tile-grid-compact .tile-body { padding: 8px 10px 10px; }
.tile-grid-compact .tile-body strong { font-size: .9rem; }
.group-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 32px 0 12px; }
.section-head + .group-title { margin-top: 0; }

/* Hero : collage visuel */
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-visual-item { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; background: #fff; text-decoration: none; transition: transform .2s; }
.hero-visual-item:hover { transform: translateY(-3px); }
.hero-visual-item .media { aspect-ratio: 4 / 3; border-radius: 0; }
.hero-visual-item > span { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; }
@media (min-width: 561px) { .hv-0 { transform: translateY(14px); } .hv-3 { transform: translateY(-14px); } .hv-0:hover { transform: translateY(10px); } .hv-3:hover { transform: translateY(-18px); } }

/* Que recherchez-vous */
.intents { display: grid; gap: 14px; }
@media (min-width: 700px) { .intents { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .intents { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.intent { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.intent-main { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 20px 20px 14px; text-decoration: none; color: var(--text); flex: 1; }
.intent-icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.intent-verb { font-size: 1.25rem; font-weight: 750; color: var(--ink); }
.intent-text { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.intent-main:hover .intent-verb { color: var(--accent-ink); }
.intent-main:hover .intent-icon { background: var(--accent); }
.intent-links { list-style: none; margin: 0; padding: 10px 20px 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.intent-links a { font-size: .9rem; font-weight: 600; text-decoration: none; display: inline-block; padding: 4px 0; }
.intent-links a:hover { text-decoration: underline; }
.quick-needs { margin-top: 20px; }
.quick-needs summary { cursor: pointer; font-weight: 650; color: var(--accent-ink); min-height: 44px; display: flex; align-items: center; }

/* Logiciels (accueil) */
.software-strip { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.software-chip { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); color: #fff; text-decoration: none; }
.software-chip .media { width: 64px; height: 64px; flex: none; border-radius: 8px; }
.software-chip .media-badge, .software-chip .media-placeholder span { display: none; }
.software-chip > span:last-child { display: flex; flex-direction: column; }
.software-chip strong { line-height: 1.3; }
.software-chip:hover { border-color: #8fb0ff; }
.chip-icon { width: 64px; height: 64px; flex: none; border-radius: 8px; background: var(--accent); display: flex; align-items: center; justify-content: center; }

.highlight-media { aspect-ratio: 16 / 10; margin: -26px -24px 16px; border-radius: 0; }
.resell { background: linear-gradient(135deg, #eef3ff, #fff); }
.resell-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .resell-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }

/* Catalogue : en-têtes et filtres */
.category-hero { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .category-hero { grid-template-columns: 1.3fr 1fr; gap: 56px; } }
.category-hero-media { aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.catalog-layout { display: grid; gap: 24px; }
@media (min-width: 1000px) { .catalog-layout { grid-template-columns: 250px 1fr; gap: 36px; align-items: start; } .filters { position: sticky; top: 92px; } }
.filters { display: grid; gap: 12px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); align-content: start; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.filters select, .filters input { min-height: 44px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; font-size: .95rem; background: #fff; width: 100%; min-width: 0; }
@media (max-width: 999px) { .filters { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } .filters .toc-title { grid-column: 1 / -1; } }
.catalog-layout > * { min-width: 0; }

/* Cartes produit */
.product-media { aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); }
.product-media .media { height: 100%; border-radius: 0; }
.product-kicker { font-size: .78rem !important; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; color: var(--muted) !important; margin: 0 0 4px !important; }
.badge-auth { display: inline-block; align-self: flex-start; padding: 1px 8px; border-radius: 6px; font-size: .75rem !important; font-weight: 700; margin: 0 0 6px !important; }
.badge-original { background: #e7f6ec; color: var(--ok) !important; }
.badge-compatible { background: #fff3c4; color: #6b4e00 !important; }
.avail { display: flex; align-items: center; gap: 6px; font-size: .85rem !important; font-weight: 600; margin: 4px 0 0 !important; color: var(--muted) !important; }
.avail .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); flex: none; }
.avail-disponible .dot { background: var(--ok); }
.avail-disponible { color: var(--ok) !important; }
.avail-sur_commande .dot { background: var(--accent); }
.avail-sur_demande .dot { background: #c27c00; }
.avail-rupture .dot, .avail-non_disponible .dot { background: var(--danger); }

/* Fiche produit */
.product-gallery-main .media { aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.product-thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.product-thumbs button { padding: 0; border: 2px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; width: 80px; height: 60px; }
.product-thumbs button[aria-current="true"] { border-color: var(--accent); }
.product-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery .help { display: flex; gap: 6px; align-items: baseline; }
.product-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.product-price-lg { font-size: 1.5rem; font-weight: 800; color: var(--ink); margin: 0; }

/* Logiciels */
.software-showcase { display: grid; gap: 20px; }
@media (min-width: 900px) { .software-showcase { grid-template-columns: 1fr 1fr; } }
.software-item { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
@media (min-width: 560px) { .software-item { grid-template-columns: 200px 1fr; } }
.software-item-media { display: block; }
.software-item-media .media { height: 100%; min-height: 160px; border-radius: 0; }
.software-item-body { padding: 20px; display: flex; flex-direction: column; }
.software-item-body h2 a { color: var(--ink); text-decoration: none; }
.software-item-body h2 a:hover { color: var(--accent-ink); }
.software-problem { font-size: .95rem; }
.problem-solution { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .problem-solution { grid-template-columns: 1fr auto 1.4fr; gap: 28px; } }
.ps-block { padding: 24px; border-radius: var(--radius-lg); min-width: 0; }
.ps-problem { background: var(--danger-soft); }
.ps-problem .eyebrow { color: var(--danger); }
.ps-text { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.ps-solution { background: var(--accent-soft); }
.ps-arrow { display: none; align-self: center; color: var(--accent); }
@media (min-width: 900px) { .ps-arrow { display: block; } .ps-arrow .icon { width: 36px; height: 36px; } }
.benefits-one { grid-template-columns: 1fr !important; }
.service-trio { display: grid; gap: 24px; }
@media (min-width: 800px) { .service-trio { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.service-trio .domain-icon { margin-bottom: 10px; }
.service-trio p { color: var(--muted); }
.shot-placeholders { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.shot-placeholder { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 10px; background: #fff; }
.shot-placeholder p { margin: 8px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.shot-bar { display: flex; gap: 4px; margin-bottom: 8px; }
.shot-bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.shot-body { display: grid; grid-template-columns: 1fr 3fr; gap: 8px; height: 120px; }
.shot-side { background: var(--bg-soft); border-radius: 6px; }
.shot-main { background: linear-gradient(180deg, var(--accent-soft) 0 30%, var(--bg-soft) 30% 100%); border-radius: 6px; }

/* Abonnements */
.offer { display: flex; flex-direction: column; }
.offer-label { margin: 12px 0 4px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.offer-rows { margin: 12px 0 0; }
.offer-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.offer-rows dt { color: var(--muted); }
.offer-rows dd { margin: 0; font-weight: 600; text-align: right; }
.plain-list { margin: 0; padding-left: 1.1em; font-size: .92rem; }
.offer-actions { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }

/* Solutions */
.pillars { display: grid; gap: 22px; }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.pillar-media { aspect-ratio: 16 / 9; border-radius: 0; }
.pillar-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pillar-body .text-link { margin-top: auto; padding-top: 12px; }
.pillar-kicker { display: flex; gap: 6px; align-items: center; font-weight: 700; color: var(--accent-ink); font-size: .9rem; margin-bottom: 6px; }
.pillar .pill-list { margin-bottom: 4px; }
.pillar .pill-list li { font-size: .82rem; padding: 3px 10px; }

/* Parcours et étapes illustrées */
.flow { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 800px) { .flow { grid-template-columns: repeat(3, 1fr); } }
.flow li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 18px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.flow li span:last-child { grid-column: 2; color: var(--muted); font-size: .95rem; }
.flow-num { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.visual-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.visual-steps li { position: relative; }
.visual-step-media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); margin-bottom: 12px; }
.visual-steps .flow-num { position: absolute; top: 10px; right: 10px; }
.visual-steps h3 { font-size: 1.05rem; margin-bottom: .2em; }
.visual-steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.issue-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.issue-list li { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 550; }
.issue-list .icon { color: var(--accent); }

/* Domaines et services : images */
.toc-media { padding-top: 0; overflow: hidden; }
.toc-figure { aspect-ratio: 16 / 9; margin: 0 -22px 14px; border-radius: 0; }
.service-row-media { grid-template-columns: 96px minmax(0, 1fr); }
.service-row-media > :not(.service-thumb) { grid-column: 2; }
.service-thumb { grid-row: 1 / span 3; }
.service-thumb .media { width: 96px; height: 96px; border-radius: 12px; }
.service-thumb .media-badge, .service-thumb .media-placeholder span { display: none; }
@media (min-width: 900px) {
  .service-row-media { grid-template-columns: 120px 1.1fr 1.2fr auto; }
  .service-row-media > :not(.service-thumb) { grid-column: auto; }
  .service-thumb { grid-row: auto; }
  .service-thumb .media { width: 120px; height: 90px; }
}

/* Crédits */
.table-scroll { overflow-x: auto; }
.credits-table td, .credits-table th { font-size: .9rem; }
.credits-table img { width: 72px; height: 54px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; }

/* Univers : légère identité par famille */
.page-hero.universe-gaming { background: linear-gradient(180deg, #f1edff, #fff); }
.page-hero.universe-informatique { background: linear-gradient(180deg, #eaf4ff, #fff); }
.page-hero.universe-3d { background: linear-gradient(180deg, #eafaf3, #fff); }
.page-hero.universe-led { background: linear-gradient(180deg, #fff7e6, #fff); }
.page-hero.universe-logiciel { background: linear-gradient(180deg, #eef3ff, #fff); }
.page-hero-rachat { background: linear-gradient(180deg, #fff1ec, #fff); }

/* ==========================================================================
   Phase 3-A : chargement et transitions
   ========================================================================== */

/* Écran de chargement (première page de la visite, seulement si lent) */
.loader { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; background: radial-gradient(circle at 50% 40%, #16213a, var(--ink) 70%); }
html.is-loading .loader { display: grid; opacity: 0; animation: loader-in .25s .3s forwards; }
html.loader-hide .loader { animation: loader-out .35s forwards; }
@keyframes loader-in { to { opacity: 1; } }
@keyframes loader-out { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
.loader-core { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.loader-mark { width: 110px; height: 110px; }
.loader-hex { stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.1s ease-out forwards; }
.loader-circuit path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .8s .35s ease-out forwards; }
.loader-nodes circle { opacity: 0; transform-origin: center; animation: node .5s .9s ease-out forwards; }
.loader-v { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .6s .55s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes node { to { opacity: 1; } }
.loader-name { margin: 0; color: #fff; font-weight: 800; letter-spacing: .02em; }
.loader-name span { font-weight: 400; color: var(--on-dark-muted); }
.loader-bar { width: 160px; height: 3px; border-radius: 3px; background: var(--ink-3); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 8%; background: linear-gradient(90deg, #2f6bff, #7ee0ff); transition: width .2s; }

/* Barre de progression de navigation */
.nav-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 999; pointer-events: none; }
.nav-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2f6bff, #7ee0ff); box-shadow: 0 0 8px rgba(47,107,255,.6); }
html.is-navigating .nav-progress span { animation: navbar 2.5s cubic-bezier(.1,.6,.3,1) forwards; }
@keyframes navbar { from { width: 0; } to { width: 85%; } }

/* Transitions entre pages (navigateurs compatibles ; sinon navigation classique) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-fade-out .22s ease-in both; }
::view-transition-new(root) { animation: vt-rise .38s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-rise { from { opacity: 0; transform: translateY(14px); } }
/* Variantes par univers */
html:active-view-transition-type(u-gaming)::view-transition-new(root) { animation: vt-zoom .42s cubic-bezier(.2,.7,.2,1) both; }
html:active-view-transition-type(u-logiciel)::view-transition-new(root) { animation: vt-boot .5s steps(1, end) both, vt-rise .4s .05s both; }
html:active-view-transition-type(u-3d)::view-transition-new(root) { animation: vt-turn .45s cubic-bezier(.2,.7,.2,1) both; }
html:active-view-transition-type(u-led)::view-transition-new(root) { animation: vt-light .6s ease-out both; }
html:active-view-transition-type(u-securite)::view-transition-new(root) { animation: vt-scan .5s ease-out both; }
html:active-view-transition-type(u-web)::view-transition-new(root) { animation: vt-slide .4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vt-zoom { from { opacity: 0; transform: scale(.97); } }
@keyframes vt-boot { 0% { clip-path: inset(0 0 100% 0); } 30% { clip-path: inset(0 0 60% 0); } 60% { clip-path: inset(0 0 20% 0); } 100% { clip-path: inset(0); } }
@keyframes vt-turn { from { opacity: 0; transform: perspective(1400px) rotateY(-6deg) translateX(20px); } }
@keyframes vt-light { from { opacity: 0; filter: brightness(.35); } }
@keyframes vt-scan { from { clip-path: circle(0% at 50% 30%); } to { clip-path: circle(150% at 50% 30%); } }
@keyframes vt-slide { from { opacity: 0; transform: translateX(24px); } }
/* Continuité visuelle : l'image d'une tuile devient l'image de la fiche */
.product-gallery-main .media, .category-hero-media { view-transition-name: vt-media; }
::view-transition-group(vt-media) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html.is-loading .loader { display: none; }
  html.is-navigating .nav-progress span { animation: none; width: 60%; }
}

/* ===================================================================== */
/* Phase 4 — Documentation, comparatifs, aides au choix, problèmes        */
/* ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.chip-list { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list a, .chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-size: .9rem; line-height: 1.3; }
.chip-list a:hover, .chip:hover { border-color: var(--accent); color: var(--accent-ink); }
.chip-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); }

.doc-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 14px; background: var(--bg-soft); border-radius: var(--radius); }
.doc-toc a { font-size: .9rem; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.doc-toc a:hover { border-color: var(--accent); }
.doc-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 0 0 24px; }
.doc-facts div { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; min-width: 0; }
.doc-facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.doc-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.doc-sections { display: grid; gap: 10px; }
.doc-section, .problem { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; scroll-margin-top: 90px; }
.doc-section > summary, .problem > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 600; color: var(--ink); }
.doc-section > summary::-webkit-details-marker, .problem > summary::-webkit-details-marker { display: none; }
.doc-section > summary span, .problem-title { flex: 1; min-width: 0; }
.doc-section > summary .icon, .problem > summary .icon { transition: transform .2s; color: var(--muted); }
.doc-section[open] > summary .icon, .problem[open] > summary .icon { transform: rotate(180deg); }
.doc-section[open] > summary, .problem[open] > summary { border-bottom: 1px solid var(--line); }
.doc-body { padding: 14px 18px 6px; }
.doc-list { padding-left: 1.2em; }
.doc-list-avantages li::marker { content: "+  "; color: var(--ok); font-weight: 700; }
.doc-list-limites li::marker, .doc-list-risques li::marker, .doc-list-erreurs li::marker { content: "–  "; color: var(--danger); font-weight: 700; }
.doc-fit, .doc-problems, .doc-compare { margin-top: 36px; scroll-margin-top: 90px; }
.fit-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.fit-card { padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); border-top: 4px solid var(--accent); background: #fff; min-width: 0; }
.fit-card h4 { margin-bottom: .4em; }
.fit-card ul { margin: 0; padding-left: 1.1em; font-size: .95rem; }
.fit-oui { border-top-color: var(--ok); }
.fit-non { border-top-color: var(--danger); }
.fit-envisager { border-top-color: #b7791f; }
.problem { margin-bottom: 10px; }
.problem-kind { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.problem-erreur .problem-kind { background: var(--danger-soft); color: var(--danger); }
.problem-title code, .h1-code { font-size: .85em; background: var(--bg-soft); padding: 1px 6px; border-radius: 4px; overflow-wrap: anywhere; }
.problem-body { padding: 6px 18px 14px; display: grid; gap: 4px 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pb-step h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 12px 0 4px; }
.pb-step ul, .pb-step ol { margin: 0; padding-left: 1.1em; }
.pb-step p { margin: 0 0 .5em; }
.pb-contact { grid-column: 1 / -1; background: var(--accent-soft); border-radius: 8px; padding: 2px 14px 8px; }
.pb-link { grid-column: 1 / -1; margin: 6px 0 0; font-size: .92rem; }
.doc-more { font-size: .95rem; }

.doc-entry-grid, .chooser-cards, .compare-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.doc-entry-grid a, .chooser-cards a, .compare-cards a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--muted); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.doc-entry-grid a:hover, .chooser-cards a:hover, .compare-cards a:hover { transform: translateY(-2px); border-color: var(--accent); }
.doc-entry-grid strong, .chooser-cards strong, .compare-cards strong { color: var(--ink); font-size: 1.08rem; }
.doc-entry-grid .icon, .chooser-icon .icon { width: 30px; height: 30px; color: var(--accent); }
.compare-vs { font-size: .85rem; font-weight: 700; color: var(--accent-ink); }
.compare-vs em { font-style: normal; color: var(--muted); font-weight: 400; margin: 0 4px; }
.doc-groups { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.doc-group { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.doc-group h3 { font-size: 1rem; }
.doc-group ul { margin: 0; padding-left: 1.1em; }
.doc-links-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.doc-links-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-width: 0; }
.doc-links-col h3 { display: flex; gap: 8px; align-items: center; font-size: 1.05rem; }
.doc-links-col h3 .icon { color: var(--accent); }
.doc-links-col ul { margin: 0; padding-left: 1.1em; font-size: .95rem; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 0 0 12px; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .95rem; }
.compare-table th, .compare-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--ink); color: #fff; }
.compare-table thead th a { color: #fff; }
.compare-table tbody th { color: var(--ink); background: var(--bg-soft); width: 22%; font-weight: 600; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.cell-list { margin: 0; padding-left: 1.1em; }
.comparator { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: end; margin-bottom: 20px; }
.comparator .field span, .problem-filter .field span { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.comparator .btn, .problem-filter .btn { margin-bottom: 18px; }
.problem-filter { display: grid; gap: 0 14px; grid-template-columns: 2fr 1fr 1fr auto; align-items: end; margin-bottom: 12px; }
.problem-filter input[type="search"] { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; }
.advice-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 10px; }
.advice-list li { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 14px 16px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.advice-if { color: var(--muted); }
.advice-then { font-weight: 700; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.advice-then .icon { color: var(--accent); width: 18px; height: 18px; }

.chooser-q { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 14px; min-width: 0; background: #fff; }
.chooser-q legend { font-weight: 700; color: var(--ink); padding: 0 6px; display: flex; gap: 10px; align-items: center; }
.chooser-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; flex: none; }
.chooser-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chooser-opt { position: relative; }
.chooser-opt input { position: absolute; opacity: 0; inset: 0; }
.chooser-opt span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); cursor: pointer; background: #fff; transition: background .15s, border-color .15s; }
.chooser-opt input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chooser-opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chooser-result { margin-top: 24px; scroll-margin-top: 90px; }
.chooser-result:empty { display: none; }
.chooser-hit { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; }
.chooser-hit.is-best { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.profile-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.profile-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-width: 0; }
.profile-card p { color: var(--muted); font-size: .95rem; }
@media (max-width: 720px) {
  .problem-filter { grid-template-columns: 1fr; }
  .compare-table tbody th { width: auto; }
  .doc-section > summary, .problem > summary { padding: 12px 14px; }
}
.compare-table.compare-n2 { min-width: 0; table-layout: fixed; }
.compare-table.compare-n2 tbody th { width: 30%; }

/* ---------- Espace LED ---------- */
.led-lab { display: grid; gap: 20px; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; margin-bottom: 32px; }
.led-room { --led-power: .8; --led-rgb: 255, 196, 128; --led-dark: .2; position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: #2a2f3a; box-shadow: var(--shadow); }
.led-room > * { position: absolute; }
.lr-wall { inset: 0 0 26% 0; background: linear-gradient(#3b4252, #4a5163); }
.lr-floor { left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(#5b4636, #3e2f24); }
.lr-window { left: 8%; top: 16%; width: 18%; height: 34%; border: 6px solid #6b7280; background: linear-gradient(160deg, #0f1a33, #1e2b4d); border-radius: 4px; }
.lr-shelf { right: 9%; top: 30%; width: 24%; height: 5px; background: #8a6a4f; }
.lr-shelf i { position: absolute; bottom: 5px; width: 14%; background: #a3b1c6; border-radius: 2px 2px 0 0; }
.lr-shelf i:nth-child(1) { left: 10%; height: 34px; }
.lr-shelf i:nth-child(2) { left: 30%; height: 24px; background: #c58b5f; }
.lr-shelf i:nth-child(3) { left: 58%; height: 40px; background: #7c9a83; }
.lr-sofa { left: 32%; bottom: 18%; width: 40%; height: 22%; background: #55627a; border-radius: 18px 18px 6px 6px; box-shadow: inset 0 -18px 0 #47536a; }
.lr-lamp { right: 12%; bottom: 18%; width: 4px; height: 40%; background: #9ca3af; }
.lr-lamp i { position: absolute; left: -22px; top: -16px; width: 48px; height: 30px; background: #d1d5db; clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.lr-ceiling-strip { left: 4%; right: 4%; top: 0; height: 6px; background: #4b5563; }
.lr-panel { left: 40%; top: 0; width: 20%; height: 8px; background: #4b5563; border-radius: 0 0 4px 4px; }
.lr-glow { inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; mix-blend-mode: screen; }
.lr-glow-strip { background: linear-gradient(rgba(var(--led-rgb), calc(var(--led-power) * 1)), rgba(var(--led-rgb), .08) 60%); }
.lr-glow-ceiling { background: radial-gradient(60% 70% at 50% 0, rgba(var(--led-rgb), calc(var(--led-power) * .95)), rgba(var(--led-rgb), .05) 80%); }
.lr-glow-lamp { background: radial-gradient(30% 45% at 87% 45%, rgba(var(--led-rgb), calc(var(--led-power) * .9)), rgba(var(--led-rgb), 0) 70%); }
.led-room.is-on-strip .lr-glow-strip, .led-room.is-on-ceiling .lr-glow-ceiling, .led-room.is-on-lamp .lr-glow-lamp { opacity: 1; }
.led-room.is-on-strip .lr-ceiling-strip { background: rgb(var(--led-rgb)); box-shadow: 0 0 18px rgba(var(--led-rgb), var(--led-power)); }
.led-room.is-on-ceiling .lr-panel { background: rgb(var(--led-rgb)); box-shadow: 0 0 30px rgba(var(--led-rgb), var(--led-power)); }
.led-room.is-on-lamp .lr-lamp i { background: rgb(var(--led-rgb)); }
.lr-dark { inset: 0; background: #05070d; opacity: var(--led-dark); transition: opacity .35s; pointer-events: none; }
.led-controls { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.led-controls fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.led-controls legend { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.led-toggle { display: flex; gap: 10px; align-items: center; padding: 6px 0; cursor: pointer; }
.led-toggle input { width: 20px; height: 20px; accent-color: var(--accent); }
.led-range { display: block; font-weight: 600; color: var(--ink); margin: 12px 0; }
.led-range output { float: right; font-weight: 400; color: var(--muted); }
.led-range input { display: block; width: 100%; margin-top: 8px; accent-color: var(--accent); }
.led-lab:not(.is-live) .led-controls fieldset, .led-lab:not(.is-live) .led-range { opacity: .5; pointer-events: none; }
.led-types { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.led-types a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--muted); font-size: .94rem; }
.led-types a:hover { border-color: #e0a100; }
.led-types strong { color: var(--ink); }
.led-type-icon { width: 40px; height: 40px; border-radius: 10px; background: #fff4d6; color: #a86b00; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.led-keys { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.led-keys > div { padding: 16px; border-radius: var(--radius); background: var(--bg-soft); }
.led-keys h3 { font-size: 1rem; margin-bottom: .3em; }
.led-keys p { margin: 0; font-size: .94rem; color: var(--muted); }
@media (max-width: 860px) { .led-lab { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .lr-glow, .lr-dark { transition: none; } }

/* ---------- Scènes au défilement ---------- */
.scene { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
.scene-visual { position: sticky; top: 90px; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.scene-visual svg { display: block; width: 100%; height: auto; }
.scene-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .12); }
.scene-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .4s; }
.scene-steps { list-style: none; margin: 0; padding: 0; }
.scene-step { position: relative; padding: 18px 18px 18px 64px; margin-bottom: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; min-height: 34vh; display: flex; flex-direction: column; justify-content: center; transition: border-color .25s, box-shadow .25s, opacity .25s; cursor: pointer; }
.scene-step:last-child { margin-bottom: 0; }
.scene-step h3 { font-size: 1.1rem; margin-bottom: .3em; }
.scene-step p { margin: 0; color: var(--muted); }
.scene-num { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; transition: background .25s, color .25s; }
.scene.is-live .scene-step { opacity: .55; }
.scene.is-live .scene-step.is-done { opacity: .75; }
.scene.is-live .scene-step.is-active { opacity: 1; border-color: var(--accent); box-shadow: var(--shadow); }
.scene-step.is-active .scene-num, .scene-step.is-done .scene-num { background: var(--accent); color: #fff; }
.js .scene.is-live [data-st] { opacity: 0; transition: opacity .45s ease, transform .55s ease; }
.js .scene.is-live [data-st].is-on { opacity: 1; }
.js .scene.is-live [data-st].sv-up:not(.is-on) { transform: translateY(14px); }
.js .scene.is-live [data-st].sv-lift:not(.is-on) { transform: translateY(-40px); }
.js .scene.is-live [data-st].sv-pop:not(.is-on) { transform: scale(.85); }
.sv-pop { transform-box: fill-box; transform-origin: center; }
.sv-bg { fill: #0f1830; }
.sv-label { font: 600 13px var(--font); fill: #c9d3e3; }
.sv-label-dark { font: 600 13px var(--font); fill: #0b1324; }
.sv-small { font: 500 11px var(--font); fill: #8fa0bf; }
.sv-spin { transform-box: fill-box; transform-origin: center; animation: sv-spin 1.2s linear infinite; }
.sv-blink { animation: sv-blink 1.4s ease-in-out infinite; }
.sv-flow { stroke-dasharray: 6 8; animation: sv-dash 1s linear infinite; }
@keyframes sv-spin { to { transform: rotate(360deg); } }
@keyframes sv-blink { 50% { opacity: .35; } }
@keyframes sv-dash { to { stroke-dashoffset: -28; } }
@media (max-width: 860px) {
  .scene { grid-template-columns: 1fr; gap: 14px; }
  .scene-visual { top: 64px; z-index: 2; }
  .scene-step { min-height: 0; padding: 14px 14px 14px 56px; }
  .scene-num { left: 14px; }
  .scene-steps { padding-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .scene.is-live [data-st], .scene-progress span { transition: none; }
  .js .scene.is-live [data-st]:not(.is-on) { transform: none; }
  .sv-spin, .sv-blink, .sv-flow { animation: none; }
}
.sv text[fill="#fff"] { fill: #fff; }
.pr-head { animation: pr-move 2.4s ease-in-out infinite alternate; }
@keyframes pr-move { from { transform: translateX(-40px); } to { transform: translateX(40px); } }
@media (prefers-reduced-motion: reduce) { .pr-head { animation: none; } }
.sv-hl { font: 600 11px var(--font); fill: #fff; }
.js .scene.is-live [data-st].sv-blink:not(.is-on), .js .scene.is-live [data-st]:not(.is-on) .sv-blink { animation: none; }
.sv-flow { fill: none; }
@media (max-width: 860px) { .scene-visual svg { max-height: 36vh; width: auto; margin: 0 auto; } }

/* ===================================================================== */
/* Phase 3 — Composants visuels et interactifs                            */
/* ===================================================================== */
.block + .block { border-top: 1px solid var(--line); }

/* Apparition progressive (data-reveal-group) */
.js [data-reveal-group].is-reveal-ready > * { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .6s ease; }
.js [data-reveal-group].is-reveal-ready > .is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal-group].is-reveal-ready > * { opacity: 1; transform: none; transition: none; } }

/* ---------- Accueil : intentions, parcours ---------- */
.journeys { margin-top: 28px; }
.journeys-title { font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.journeys ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.journeys a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--muted); font-size: .9rem; }
.journeys a:hover { border-color: var(--accent); }
.journeys a strong { color: var(--ink); font-size: 1rem; display: flex; align-items: center; gap: 6px; }
.journeys a .icon { color: var(--accent); }

/* ---------- Accueil : histoire progressive ---------- */
.story { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.story-item { display: grid; gap: 18px; align-items: center; padding: 18px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.story-media { display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); aspect-ratio: 4 / 3; }
.story-media .media { height: 100%; margin: 0; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media .media-contain img { object-fit: contain; padding: 10px; }
.story-kicker { font-size: .9rem; color: var(--muted); margin: 0 0 4px; }
.story-kicker strong { color: var(--accent-ink); text-transform: lowercase; }
.story-body h3 { font-size: 1.3rem; }
@media (min-width: 760px) {
  .story-item { grid-template-columns: 260px 1fr; padding: 22px; }
  .story-item:nth-child(even) { grid-template-columns: 1fr 260px; }
  .story-item:nth-child(even) .story-media { order: 2; }
}

/* ---------- Méthode ---------- */
.method { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); counter-reset: m; }
.method-step { position: relative; padding: 20px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.method-step h3 { font-size: 1.05rem; margin-bottom: .3em; }
.method-step p { margin: 0; color: var(--muted); font-size: .95rem; }
.method-num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 10px; }
.why-list-large { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); counter-reset: w; }
.why-list-large li { counter-increment: w; position: relative; padding: 22px 22px 22px 70px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.why-list-large li::before { content: counter(w); position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.why-list-large p { margin: 0; color: var(--muted); }

/* ---------- Témoignages, localisation ---------- */
.testimonials { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.testimonial { margin: 0; padding: 22px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.testimonial blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); }
.testimonial blockquote p::before { content: "« "; } .testimonial blockquote p::after { content: " »"; }
.testimonial figcaption { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: .92rem; }
.testimonial figcaption img { border-radius: 50%; object-fit: cover; }
.testimonial figcaption strong { display: block; color: var(--ink); }
.location-teaser { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--bg-soft); }
.location-teaser .btn-row { margin-top: 0; }
.location-teaser h2 { margin-bottom: .2em; }
.map-embed { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); border: 2px dashed var(--line-strong); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); text-align: center; padding: 20px; background: var(--bg-soft); }
.map-placeholder .icon { width: 40px; height: 40px; color: var(--accent); }

/* ---------- Rachat : ce que nous ne rachetons pas ---------- */
.excluded { margin-top: 36px; padding: 22px; border-radius: var(--radius-lg); background: #fff7f6; border: 1px solid #f6d3cf; }
.excluded h3 { display: flex; gap: 8px; align-items: center; color: var(--danger); }
.excluded > p { color: var(--muted); }
.excluded-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.excluded-list li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.excluded-list strong { display: block; color: var(--ink); }
.excluded-media { position: relative; flex: none; width: 64px; height: 48px; border-radius: 8px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.excluded-media img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; }
.excluded-x { position: absolute; right: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--danger); color: #fff; display: flex; align-items: center; justify-content: center; }
.excluded-x .icon { width: 12px; height: 12px; stroke-width: 3; }

/* ---------- Installation de jeux, cycle de vie, autour de ---------- */
.install-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.install-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; text-decoration: none; color: inherit; }
.install-card:hover { border-color: var(--accent); }
.install-media { aspect-ratio: 4 / 3; margin: 0; background: var(--bg-soft); }
.install-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.install-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 16px; }
.install-body strong { color: var(--ink); }
.install-status { align-self: flex-start; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.install-status.st-disponible { background: #e7f6ec; color: var(--ok); }
.install-status.st-sur_demande { background: #fff4d6; color: #8a5a00; }
.install-status.st-non { background: var(--danger-soft); color: var(--danger); }
.install-flag { display: inline-flex; gap: 6px; align-items: center; font-size: .92rem; color: var(--muted); }
.lifecycle { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lifecycle li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--ink); font-weight: 600; font-size: .94rem; }
.lifecycle li span { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.lifecycle li:not(:last-child)::after { content: "→"; margin-left: 6px; color: var(--muted); font-weight: 400; }
.rel-thumb { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex: none; background: var(--bg-soft); }
.around-links { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.around-links a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.around-links a:hover { border-color: var(--accent); }
.around-links .icon { color: var(--accent); }

/* ---------- Cartes de contenus éditoriaux et jaquettes typographiques ---------- */
.entry-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.entry-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.entry-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.entry-card-media { display: block; aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.entry-card-media .media { margin: 0; height: 100%; }
.entry-card-media img { width: 100%; height: 100%; object-fit: cover; }
.entry-card-icon { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent-soft), #fff); color: var(--accent); }
.entry-card-icon .icon { width: 44px; height: 44px; }
.entry-astuce .entry-card-icon { background: linear-gradient(135deg, #fff4d6, #fff); color: #a86b00; }
.entry-actualite .entry-card-icon, .entry-dossier .entry-card-icon { background: linear-gradient(135deg, #eafaf3, #fff); color: var(--ok); }
.entry-card-body { padding: 16px 18px 18px; }
.entry-card-body .tag { margin: 0 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); font-weight: 700; }
.entry-card-body h3 { font-size: 1.08rem; margin-bottom: .35em; }
.entry-card-body h3 a { color: var(--ink); text-decoration: none; }
.entry-card-body h3 a:hover { color: var(--accent-ink); }
.entry-card-body p { margin: 0; color: var(--muted); font-size: .94rem; }
.game-cover { display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%; padding: 16px; color: #fff; background: linear-gradient(150deg, #1d5cff, #0b1324); position: relative; overflow: hidden; }
.game-cover::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, .08); }
.game-cover-1 { background: linear-gradient(150deg, #e76f51, #3a0f1f); }
.game-cover-2 { background: linear-gradient(150deg, #2a9d8f, #0b2b2a); }
.game-cover-3 { background: linear-gradient(150deg, #7b2cbf, #1a0b2e); }
.game-cover-4 { background: linear-gradient(150deg, #f4a261, #3b1d06); }
.game-cover-5 { background: linear-gradient(150deg, #e63946, #1d0b10); }
.game-cover-platform { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: rgba(255, 255, 255, .16); }
.game-cover-title { font-size: 1.35rem; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; position: relative; z-index: 1; }
.game-cover-meta { font-size: .82rem; opacity: .8; }
.game-hero-cover { aspect-ratio: 3 / 4; max-width: 320px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.game-hero-cover .game-cover-title { font-size: 2rem; }
.entry-meta { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .94rem; }
.fact-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 0; }
.fact-grid > div { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.fact-grid dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.fact-grid dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.howto-steps { counter-reset: h; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.howto-steps li { counter-increment: h; position: relative; padding: 12px 14px 12px 54px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.howto-steps li::before { content: counter(h); position: absolute; left: 14px; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.tag-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--ink); text-decoration: none; font-size: .9rem; }
.tag-cloud a:hover { background: var(--accent-soft); color: var(--accent-ink); }
.tag-cloud span { color: var(--muted); font-size: .8rem; }
.popular-list { margin: 0; padding-left: 1.2em; font-size: .94rem; }
.popular-list li { margin-bottom: 6px; }
.concept-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.concept-grid article { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; border-left: 4px solid #7b5cff; }
.concept-grid h3 { font-size: 1.05rem; }
.concept-grid p { margin: 0; color: var(--muted); font-size: .95rem; }
.hero-discover { background-color: #0b1324; background-image: radial-gradient(60% 80% at 80% 20%, rgba(29, 92, 255, .35), transparent 70%), radial-gradient(40% 60% at 10% 90%, rgba(123, 92, 255, .3), transparent 70%); }

/* ---------- Astuces et secrets ---------- */
.tip { padding: 18px 20px; border-radius: var(--radius-lg); background: #fffaf0; border: 1px solid #f3e1b5; }
.tip-kicker { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #8a5a00; margin: 0 0 6px; }
.tip-secret > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-weight: 700; color: var(--ink); }
.tip-secret > summary::-webkit-details-marker { display: none; }
.tip-reveal { margin-left: auto; font-size: .82rem; padding: 4px 12px; border-radius: 999px; background: #8a5a00; color: #fff; }
.tip-secret[open] .tip-reveal { display: none; }
.tip-secret[open] > summary { margin-bottom: 10px; }

/* ---------- Outils interactifs ---------- */
.tool-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tool-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; overflow: hidden; text-decoration: none; color: var(--muted); transition: transform .15s, box-shadow .15s, border-color .15s; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.tool-media { aspect-ratio: 16 / 9; margin: 0; background: var(--bg-soft); }
.tool-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.tool-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; font-size: .94rem; flex: 1; }
.tool-body strong { color: var(--ink); font-size: 1.05rem; }
.tool-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-top: -34px; border: 3px solid #fff; }
.tool-gaming .tool-icon { background: #efe9ff; color: #6d3fd8; }
.tool-3d .tool-icon { background: #e4f7ee; color: var(--ok); }
.tool-go { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--accent-ink); display: inline-flex; gap: 4px; align-items: center; }
.tool-privacy { display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; color: var(--ok); background: #e7f6ec; padding: 6px 12px; border-radius: 999px; }
.gp-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .gp-layout { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.gp-stage { padding: 20px; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark); }
.gp-status { margin: 0 0 12px; font-size: .95rem; }
.gp-status.is-connected { color: #3ddc84; }
.gp-svg { width: 100%; height: auto; display: block; }
.gp-body { fill: #24314f; stroke: #3b4a6b; stroke-width: 3; }
.gp-btn { fill: #3b4a6b; transition: fill .08s; }
.gp-btn.is-pressed { fill: #1d5cff; }
.gp-stick-base { fill: #16213a; stroke: #3b4a6b; stroke-width: 2; }
.gp-stick { fill: #586a8e; }
.gp-readout { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 12px 0; font-size: .9rem; }
.gp-readout > div { background: rgba(255, 255, 255, .06); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; }
.gp-readout strong { color: #fff; }
.gp-readout span { font-variant-numeric: tabular-nums; color: var(--on-dark-muted); }
.gp-drift { color: #ffb4a8 !important; font-weight: 600; }
.screen-test { display: grid; gap: 16px; }
.screen-test-preview { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); border: 10px solid #111827; background: #fff; box-shadow: var(--shadow); }
.screen-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font: inherit; font-size: .9rem; cursor: pointer; }
.swatch:hover { border-color: var(--accent); }
.swatch-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line-strong); }
.sw-ffffff { background: #fff; } .sw-000000 { background: #000; } .sw-ff0000 { background: #f00; } .sw-00ff00 { background: #0f0; } .sw-0000ff { background: #00f; } .sw-808080 { background: #808080; }
.screen-overlay { position: fixed; inset: 0; z-index: 1000; display: none; cursor: pointer; }
.screen-overlay.is-open { display: block; }
.finder-steps { list-style: none; margin: 0 0 24px; padding: 0; display: flex; gap: 8px; counter-reset: f; }
.finder-steps li { counter-increment: f; flex: 1; padding: 10px 12px; border-radius: var(--radius); background: var(--bg-soft); color: var(--muted); font-weight: 600; font-size: .94rem; }
.finder-steps li::before { content: counter(f) ". "; }
.finder-steps li.is-current { background: var(--accent); color: #fff; }
.finder-panel h2 { outline: none; }
.finder-back { margin-top: 18px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.choice-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.choice-card { display: flex; gap: 10px; align-items: center; justify-content: center; text-align: center; min-height: 72px; padding: 14px 16px; border-radius: var(--radius); border: 2px solid var(--line); background: #fff; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; text-decoration: none; transition: border-color .15s, background .15s; }
.choice-card:hover { border-color: var(--accent); }
.choice-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice-card input { accent-color: var(--accent); }
.choice-card .icon { color: var(--accent); }
.choice-card-alt { border-style: dashed; color: var(--muted); font-weight: 600; }
.diag-result { margin: 20px 0; padding: 20px; border-radius: var(--radius-lg); background: var(--bg-soft); }
.diag-item { padding: 14px 16px; background: #fff; border-radius: var(--radius); margin-bottom: 10px; }
.diag-item h3 { font-size: 1.02rem; }
.diag-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 8px 0 4px; }
.diag-item ul { margin: 0; padding-left: 1.1em; }
.diag-tips li::marker { color: var(--ok); }
.stamp-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .stamp-layout { grid-template-columns: 1fr 1.3fr; align-items: start; } }
.stamp-controls input[type="range"] { width: 100%; accent-color: var(--accent); }
.stamp-controls input[type="text"] { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; }
.stamp-previews { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stamp-previews figure { margin: 0; padding: 14px; border-radius: var(--radius-lg); background: var(--bg-soft); text-align: center; }
.stamp-previews canvas { width: 100%; max-width: 320px; height: auto; border-radius: var(--radius); background: #fff; }
.stamp-previews figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* ---------- Blocs : frise, avant/après, vidéo, 3D ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(var(--accent), #7b5cff); }
.timeline-item { position: relative; display: grid; grid-template-columns: 1fr; gap: 4px 16px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.timeline-item::before { content: ""; position: absolute; left: -22px; top: 20px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.timeline-period { font-weight: 800; color: var(--accent-ink); font-size: .9rem; }
.timeline-item h3 { font-size: 1.05rem; margin: 0; }
.timeline-item h3 a { color: var(--ink); text-decoration: none; }
.timeline-item p { margin: 0; color: var(--muted); font-size: .94rem; }
.timeline-media { display: none; }
@media (min-width: 760px) {
  .timeline-item { grid-template-columns: 110px 1fr; grid-template-areas: "media period" "media title" "media text"; align-items: center; }
  .timeline-media { display: block; grid-area: media; width: 110px; height: 80px; border-radius: 8px; background: var(--bg-soft); overflow: hidden; }
  .timeline-media .media { margin: 0; height: 100%; }
  .timeline-media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
  .timeline-period { grid-area: period; } .timeline-item h3 { grid-area: title; } .timeline-item p { grid-area: text; }
}
.before-after { position: relative; border-radius: var(--radius-lg); overflow: hidden; --ba: 50%; user-select: none; }
.before-after > img, .ba-before img { display: block; width: 100%; height: auto; }
.ba-before { position: absolute; inset: 0; width: var(--ba); overflow: hidden; border-right: 3px solid #fff; }
.ba-before img { width: auto; height: 100%; max-width: none; }
.ba-label { position: absolute; top: 12px; padding: 4px 10px; border-radius: 6px; background: rgba(11, 19, 36, .75); color: #fff; font-size: .8rem; font-weight: 700; }
.ba-label-before { left: 12px; } .ba-label-after { right: 12px; }
.before-after input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.video-embed, .video-file { margin: 0; }
.video-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); cursor: pointer; color: #fff; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--accent); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.video-play::after { content: ""; position: absolute; left: 29px; top: 22px; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.video-title { position: absolute; left: 16px; bottom: 14px; right: 16px; text-align: left; font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.video-embed iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-lg); display: block; }
.video-file video { width: 100%; border-radius: var(--radius-lg); background: #000; display: block; }
.model-layout { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .model-layout { grid-template-columns: 1.2fr 1fr; } }
.model-stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(70% 70% at 50% 40%, #24314f, #0b1324); display: flex; align-items: center; justify-content: center; }
.model-stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.model-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.model-load { position: relative; z-index: 1; }
.model-stage model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; }
.model-stage.is-loaded .model-load, .model-stage.is-loaded .model-poster { display: none; }
.model-stage .media-badge { position: absolute; left: 12px; top: 12px; bottom: auto; z-index: 2; }
.model-hotspot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; background: var(--accent); color: #fff; font: 700 13px var(--font); cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.model-hotspot[data-visible="false"] { opacity: .35; }
.model-hotspot:focus-visible { outline: 3px solid #ffd166; }
.hotspot-list { padding-left: 1.3em; color: var(--muted); }
.hotspot-list li { margin-bottom: 6px; }
.hotspot-list strong { color: var(--ink); }
.model-error { position: relative; z-index: 1; color: var(--on-dark); text-align: center; padding: 20px; }

/* ---------- Maquettes d'écran (exemples de rendu) ---------- */
.mockups { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.mockup { margin: 0; }
.mockup figcaption { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.mockup figcaption strong { display: block; color: var(--ink); }
.mk-screen { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-strong); background: #fff; box-shadow: var(--shadow); aspect-ratio: 4 / 3; display: flex; flex-direction: column; }
.mk-bar { display: flex; gap: 5px; align-items: center; padding: 7px 10px; background: #e9edf3; flex: none; }
.mk-bar i { width: 8px; height: 8px; border-radius: 50%; background: #c3cad6; }
.mk-bar i:first-child { background: #ff6b6b; } .mk-bar i:nth-child(2) { background: #ffd166; } .mk-bar i:nth-child(3) { background: #3ddc84; }
.mk-bar span { flex: 1; height: 8px; margin-left: 8px; border-radius: 4px; background: #fff; }
.mk-body { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.mk-body s, .mk-body b, .mk-body em, .mk-body i { display: block; text-decoration: none; font-style: normal; }
.mk-body s { height: 6px; border-radius: 3px; background: #dfe4ec; }
.mk-nav { display: flex; gap: 8px; align-items: center; }
.mk-nav s { width: 26px; }
.mk-logo { width: 26px; height: 12px; border-radius: 3px; background: var(--accent); margin-right: auto; }
.mk-btn { width: 44px; height: 14px; border-radius: 7px; background: var(--accent); }
.mk-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 8px; background: var(--accent-soft); flex: 1; }
.mk-hero > div { display: flex; flex-direction: column; gap: 6px; }
.mk-h { height: 9px !important; width: 80%; background: #0b1324 !important; }
.mk-img { background: linear-gradient(135deg, #cfd9ee, #e9eef8); border-radius: 6px; min-height: 30px; }
.mk-hero .mk-img { height: 100%; min-height: 50px; }
.mk-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mk-cols b { height: 26px; border-radius: 6px; background: #f1f4f9; border: 1px solid #e2e7ef; }
.mk-cols-2 { grid-template-columns: 1fr 1fr; flex: 1; }
.mk-foot { height: 10px; border-radius: 3px; background: #0b1324; margin-top: auto; }
.mk-search { flex: 1; height: 12px !important; border-radius: 6px !important; background: #eef1f6 !important; border: 1px solid #dfe4ec; }
.mk-cart { min-width: 22px; height: 18px; border-radius: 9px; background: #ffd166; font-size: 10px; font-weight: 800; color: #0b1324; text-align: center; line-height: 18px; }
.mk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex: 1; }
.mk-grid-sm { grid-template-columns: repeat(3, 1fr); }
.mk-prod { display: flex; flex-direction: column; gap: 4px; padding: 4px; border-radius: 6px; border: 1px solid #e8ecf2; }
.mk-prod .mk-img { flex: 1; min-height: 22px; }
.mk-price { width: 50%; background: var(--accent) !important; }
.mk-split { display: grid; grid-template-columns: 30% 1fr; gap: 8px; flex: 1; min-height: 0; }
.mk-split > div:last-child { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mk-side { display: flex; flex-direction: column; gap: 7px; padding: 8px; border-radius: 6px; background: #f1f4f9; }
.mk-dark { background: #0b1324; }
.mk-dark s { background: #3b4a6b; }
.mk-dark s:first-child { background: var(--accent); }
.mk-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(30px, 1fr)); gap: 6px; }
.mk-kpis b { height: 28px; border-radius: 6px; background: var(--accent-soft); border-left: 3px solid var(--accent); }
.mk-table { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 6px; border: 1px solid #e8ecf2; flex: 1; }
.mk-chart { flex: 1; display: flex; align-items: flex-end; gap: 6px; padding: 8px; border-radius: 6px; background: #f6f8fb; }
.mk-chart i { flex: 1; border-radius: 3px 3px 0 0; background: var(--accent); }
.mk-chart .h40 { height: 40%; } .mk-chart .h50 { height: 50%; } .mk-chart .h60 { height: 60%; } .mk-chart .h65 { height: 65%; } .mk-chart .h75 { height: 75%; } .mk-chart .h80 { height: 80%; } .mk-chart .h90 { height: 90%; }
.mk-form { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 6px; background: #f6f8fb; }
.mk-form s { height: 10px; background: #fff; border: 1px solid #dfe4ec; }
.mk-avatar { width: 18px; height: 18px; border-radius: 50%; background: #f4a261; }
.mk-card { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 8px; border: 1px solid #e2e7ef; }
.mk-ok { background: #3ddc84 !important; width: 60%; }
.mk-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; flex: 1; }
.mk-cal i { border-radius: 4px; background: #f1f4f9; min-height: 12px; }
.mk-cal i.on { background: var(--accent); }
.mk-slots { display: flex; gap: 6px; align-items: center; }
.mk-slots s { flex: 1; height: 14px !important; border-radius: 7px !important; border: 1px solid #dfe4ec; background: #fff !important; }
.mk-slots s.on { background: var(--accent-soft) !important; border-color: var(--accent); }
.mk-board { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px; flex: 1; }
.mk-board b { border-radius: 6px; background: #f1f4f9; border-top: 3px solid var(--accent); }
.mk-board b:nth-child(2) { border-top-color: #ffd166; } .mk-board b:nth-child(3) { border-top-color: #3ddc84; } .mk-board b:nth-child(4) { border-top-color: #ff6b6b; }
.mk-bubble { height: 22px; width: 80%; border-radius: 10px 10px 10px 2px; background: #e7f6ec; }
.mk-bubble-2 { width: 60%; background: #e8efff; }

/* Mode rétro (secret) */
.retro-mode body { image-rendering: pixelated; }
.retro-mode .hero, .retro-mode .page-hero { background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.06) 0 2px, transparent 2px 4px); }
.retro-mode h1, .retro-mode h2 { font-family: "Courier New", ui-monospace, monospace; letter-spacing: 0; text-shadow: 3px 3px 0 #ffd166; }
.retro-mode .btn { border-radius: 0; box-shadow: 4px 4px 0 #0b1324; }
.retro-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 1100; padding: 12px 18px; border-radius: 8px; background: #0b1324; color: #ffd166; font: 700 .95rem "Courier New", monospace; box-shadow: 4px 4px 0 #1d5cff; }
.story-media picture, .entry-card-media picture, .tool-media picture, .install-media picture, .timeline-media picture { display: block; height: 100%; }
.story-media { max-height: 260px; }

/* ===================================================================== */
/* Univers de marque : structure commune + 3 identités distinctes         */
/* (couleurs et ambiances inspirées, aucun logo officiel)                 */
/* ===================================================================== */
.brand { --b-hero: #0b1324; --b-hero-ink: #fff; --b-accent: #1d5cff; --b-accent-ink: #fff; --b-soft: #f4f6fa; --b-kicker: #1d5cff; --b-radius: 14px; --b-head-weight: 800; --b-head-transform: none; --b-head-spacing: -.015em; --b-font: var(--font); --b-card-bg: #fff; --b-card-ink: var(--text); --b-line: var(--line); }
.brand h1, .brand h2, .brand h3 { font-family: var(--b-font); font-weight: var(--b-head-weight); text-transform: var(--b-head-transform); letter-spacing: var(--b-head-spacing); }
.brand-hero { position: relative; overflow: hidden; background: var(--b-hero); color: var(--b-hero-ink); padding: 56px 0 64px; }
.brand-hero-deco { position: absolute; inset: 0; pointer-events: none; }
.brand-hero-deco svg { width: 100%; height: 100%; display: block; }
.brand-hero-inner { position: relative; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .brand-hero-inner { grid-template-columns: 1.15fr 1fr; } }
.brand-hero h1 { color: var(--b-hero-ink); font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: .3em; }
.brand-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin: 0 0 12px; }
.brand-lead { font-size: 1.15rem; max-width: 40em; opacity: .9; }
.brand-hero-media { display: block; max-width: 460px; justify-self: center; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }
.brand-hero-media .media { background: transparent; margin: 0; }
.brand-hero-media img { width: 100%; height: auto; object-fit: contain; }
.brand-btn { background: var(--b-accent); color: var(--b-accent-ink); border: 2px solid var(--b-accent); border-radius: var(--b-radius); }
.brand-btn:hover { filter: brightness(1.1); color: var(--b-accent-ink); }
.brand-btn-ghost { background: transparent; color: inherit; border: 2px solid currentColor; border-radius: var(--b-radius); opacity: .95; }
.brand-btn-ghost:hover { color: inherit; opacity: 1; background: rgba(255, 255, 255, .08); }
.brand-subnav { position: sticky; top: 64px; z-index: 30; background: var(--b-card-bg); border-bottom: 1px solid var(--b-line); }
.brand-subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
.brand-subnav a { flex: none; padding: 6px 12px; border-radius: var(--b-radius); text-decoration: none; color: var(--b-card-ink); font-weight: 600; font-size: .92rem; }
.brand-subnav a:hover { background: var(--b-soft); color: var(--b-kicker); }
.brand-section { scroll-margin-top: 120px; }
.brand-alt { background: var(--b-soft); }
.brand-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--b-kicker); margin: 0 0 6px; }
.brand-intro { color: var(--muted); max-width: 46em; }
.brand-sub { margin-top: 32px; }
.brand-story { display: grid; gap: 32px; }
@media (min-width: 900px) { .brand-story { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.brand-story p { font-size: 1.05rem; }
.brand-traits { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.brand-traits li { padding: 18px; border-radius: var(--b-radius); background: var(--b-card-bg); border: 1px solid var(--b-line); border-left: 4px solid var(--b-accent); display: flex; flex-direction: column; gap: 4px; color: var(--muted); }
.brand-traits strong { color: var(--b-card-ink); }
.brand-track { list-style: none; margin: 20px 0 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px; overflow-x: auto; position: relative; }
.brand-track a { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 14px 10px; border-radius: var(--b-radius); background: var(--b-card-bg); border: 1px solid var(--b-line); text-decoration: none; color: var(--b-card-ink); text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s; }
.brand-track a:hover { transform: translateY(-4px); border-color: var(--b-accent); box-shadow: var(--shadow); }
.brand-track-year { font-weight: 800; font-size: 1.1rem; color: var(--b-kicker); }
.brand-track-media { width: 100%; aspect-ratio: 4 / 3; }
.brand-track-media .media { height: 100%; margin: 0; background: transparent; }
.brand-track-media picture { display: block; height: 100%; }
.brand-track-media img { width: 100%; height: 100%; object-fit: contain; }
.brand-track-sm { grid-auto-columns: minmax(130px, 180px); }
.brand-consoles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 18px; }
.brand-console { display: flex; flex-direction: column; border-radius: var(--b-radius); background: var(--b-card-bg); border: 1px solid var(--b-line); overflow: hidden; text-decoration: none; color: var(--b-card-ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.brand-console:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--b-accent); }
.brand-console-media { aspect-ratio: 4 / 3; margin: 0; background: var(--b-soft); }
.brand-console-media picture { display: block; height: 100%; }
.brand-console-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.brand-console-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; }
.brand-console-body strong { font-size: 1.12rem; }
.brand-console-year { font-size: .8rem; font-weight: 800; color: var(--b-kicker); letter-spacing: .06em; }
.brand-console-text { font-size: .92rem; color: var(--muted); }
.brand-console-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.brand-pill { font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--b-soft); color: var(--b-card-ink); }
.brand-pill-disponible { background: #e7f6ec; color: var(--ok); }
.brand-pill-sur_demande { background: #fff4d6; color: #8a5a00; }
.brand-pill-non { background: var(--danger-soft); color: var(--danger); }
.brand-links, .brand-game-actions { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 18px 0 8px; }
.brand-links a, .brand-game-actions a { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--b-radius); background: var(--b-card-bg); border: 1px solid var(--b-line); text-decoration: none; color: var(--muted); font-size: .92rem; }
.brand-links a:hover, .brand-game-actions a:hover { border-color: var(--b-accent); }
.brand-links .icon, .brand-game-actions .icon { color: var(--b-kicker); flex: none; margin-top: 2px; }
.brand-links strong, .brand-game-actions strong { display: block; color: var(--b-card-ink); font-size: 1rem; }
.brand-game-actions { margin-bottom: 22px; }
.brand-install { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.brand-install li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--b-radius); background: var(--b-card-bg); border: 1px solid var(--b-line); font-weight: 600; color: var(--b-card-ink); }
.brand-services { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 18px 0 4px; }
.brand-services a { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--b-radius); background: var(--b-card-bg); border: 1px solid var(--b-line); text-decoration: none; color: var(--muted); font-size: .9rem; transition: transform .2s, border-color .2s; }
.brand-services a:hover { transform: translateY(-3px); border-color: var(--b-accent); }
.brand-services .icon { width: 30px; height: 30px; color: var(--b-kicker); }
.brand-services strong { color: var(--b-card-ink); font-size: 1.05rem; }
.brand-understand { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 16px; }
.brand-understand > div { padding: 18px; border-radius: var(--b-radius); background: var(--b-card-bg); border: 1px solid var(--b-line); }
.brand-understand h3 { display: flex; gap: 8px; align-items: center; font-size: 1.02rem; }
.brand-understand h3 .icon { color: var(--b-kicker); }
.brand-understand ul { margin: 0; padding-left: 1.1em; font-size: .94rem; }
.brand-switch { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.brand-switch-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; text-decoration: none; color: #fff; overflow: hidden; min-height: 150px; transition: transform .2s, box-shadow .2s; }
.brand-switch-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .2); color: #fff; }
.brand-switch-card strong { font-size: 1.3rem; }
.brand-switch-card span { opacity: .9; font-size: .94rem; }
.brand-switch-card em { margin-top: auto; font-style: normal; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.brand-switch-media { display: block; height: 150px; margin: -6px -6px 6px; }
.brand-switch-media .media { height: 100%; margin: 0; background: transparent; }
.brand-switch-media picture { display: block; height: 100%; }
.brand-switch-media img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35)); }
.brand-switch-lg .brand-switch-card { min-height: 360px; }
.brand-switch-playstation { background: linear-gradient(140deg, #00113a, #003da5 60%, #2f7bff); font-weight: 300; }
.brand-switch-xbox { background: radial-gradient(120% 120% at 80% 10%, #1f8f23, #0b0d0b 60%); text-transform: none; }
.brand-switch-nintendo { background: #e60012; border-radius: 28px; }
.brand-switch-xbox strong { text-transform: uppercase; letter-spacing: .03em; }
.brand-switch-nintendo strong { font-family: ui-rounded, "Nunito", "Arial Rounded MT Bold", var(--font); }
.brand-legal { margin-top: 24px; font-size: .82rem; color: var(--muted); }
.brand-others { background: #fff; }

/* ---------- PlayStation : bleu nuit, lignes de lumière, élégance ---------- */
.brand-playstation { --b-hero: linear-gradient(135deg, #000c2b 0%, #00276f 55%, #0050c8 100%); --b-accent: #ffffff; --b-accent-ink: #00276f; --b-soft: #eef3ff; --b-kicker: #0b4fd6; --b-radius: 999px; --b-head-weight: 300; --b-head-spacing: -.01em; }
.brand-playstation .brand-hero { padding: 72px 0 80px; }
.brand-playstation .brand-hero h1 { font-weight: 200; letter-spacing: -.02em; }
.brand-playstation h2 { font-weight: 300; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.brand-playstation .brand-console, .brand-playstation .brand-track a, .brand-playstation .brand-traits li, .brand-playstation .brand-services a, .brand-playstation .brand-links a, .brand-playstation .brand-game-actions a, .brand-playstation .brand-understand > div, .brand-playstation .brand-install li { border-radius: 16px; }
.brand-playstation .brand-console:hover, .brand-playstation .brand-track a:hover { box-shadow: 0 12px 34px rgba(0, 80, 200, .22); border-color: #4f8cff; }
.brand-playstation .brand-traits li { border-left-color: #0050c8; }
.brand-playstation .brand-btn { box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.brand-playstation .brand-subnav a { border-radius: 999px; }
.bw-line { animation: bw-drift 9s ease-in-out infinite alternate; }
.bw-star { animation: sv-blink 3s ease-in-out infinite; }
@keyframes bw-drift { to { transform: translateY(-18px); } }

/* ---------- Xbox : noir et vert, angles nets, puissance ---------- */
.brand-xbox { --b-hero: #0a0c0a; --b-accent: #2fbf3a; --b-accent-ink: #061006; --b-soft: #121712; --b-kicker: #3ee04a; --b-radius: 4px; --b-head-weight: 800; --b-head-transform: uppercase; --b-head-spacing: .02em; --b-card-bg: #171d17; --b-card-ink: #eef5ee; --b-line: #263026; }
.brand-xbox .brand-section { background: #0e120e; color: #c8d3c8; }
.brand-xbox .brand-alt { background: #121712; }
.brand-xbox h2, .brand-xbox h3 { color: #f2f7f2; }
.brand-xbox .brand-intro, .brand-xbox .help, .brand-xbox .brand-console-text, .brand-xbox .brand-traits li, .brand-xbox .brand-links a, .brand-xbox .brand-services a, .brand-xbox .brand-game-actions a { color: #a9b6a9; }
.brand-xbox .brand-understand a, .brand-xbox .brand-story a { color: #6cf077; }
.brand-xbox .brand-console-media, .brand-xbox .brand-track-media { background: radial-gradient(circle at 50% 60%, #1f2a1f, #121712); }
.brand-xbox .brand-console:hover, .brand-xbox .brand-track a:hover, .brand-xbox .brand-services a:hover { box-shadow: 0 0 0 1px #2fbf3a, 0 10px 30px rgba(47, 191, 58, .25); }
.brand-xbox .brand-traits li { border-left-color: #2fbf3a; }
.brand-xbox .brand-pill { background: #232c23; color: #d6e2d6; }
.brand-xbox .brand-pill-sur_demande { background: #3a3110; color: #ffd76a; }
.brand-xbox .brand-pill-disponible { background: #12361a; color: #6cf077; }
.brand-xbox .brand-subnav { background: #0a0c0a; border-color: #1c241c; }
.brand-xbox .brand-subnav a { color: #d6e2d6; text-transform: uppercase; font-size: .82rem; letter-spacing: .06em; }
.brand-xbox .brand-subnav a:hover { background: #172017; color: #6cf077; }
.brand-xbox .brand-hero h1 { letter-spacing: .01em; }
.brand-xbox .brand-btn { box-shadow: 0 0 24px rgba(47, 191, 58, .45); }
.brand-xbox .entry-card, .brand-xbox .product { background: #171d17; border-color: #263026; color: #c8d3c8; }
.brand-xbox .entry-card-body h3 a, .brand-xbox .product h3 a, .brand-xbox .product h3 { color: #eef5ee; }
.brand-xbox .entry-card-body p { color: #a9b6a9; }
.bx-ring { transform-box: fill-box; transform-origin: center; animation: bx-pulse 4s ease-in-out infinite; }
.bx-ring-2 { animation-delay: -2s; }
@keyframes bx-pulse { 50% { transform: scale(1.06); opacity: .15; } }

/* ---------- Nintendo : rouge et blanc, formes rondes, joie ---------- */
.brand-nintendo { --b-hero: #e60012; --b-accent: #ffffff; --b-accent-ink: #e60012; --b-soft: #fff1f1; --b-kicker: #e60012; --b-radius: 24px; --b-head-weight: 800; --b-font: ui-rounded, "Nunito", "Arial Rounded MT Bold", var(--font); }
.brand-nintendo .brand-hero { background: radial-gradient(120% 90% at 85% 0%, #ff4a57 0%, #e60012 55%, #c4000f 100%); }
.brand-nintendo .brand-console, .brand-nintendo .brand-track a, .brand-nintendo .brand-services a, .brand-nintendo .brand-links a, .brand-nintendo .brand-game-actions a, .brand-nintendo .brand-understand > div, .brand-nintendo .brand-install li, .brand-nintendo .brand-traits li { border-radius: 24px; border: 2px solid #ffd6d9; box-shadow: 0 6px 0 #ffd6d9; }
.brand-nintendo .brand-console:hover, .brand-nintendo .brand-track a:hover, .brand-nintendo .brand-services a:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: 0 10px 0 #ff9ca3; border-color: #ff9ca3; }
.brand-nintendo .brand-traits li { border-left: 2px solid #ffd6d9; }
.brand-nintendo .brand-traits li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #e60012; margin-bottom: 4px; }
.brand-nintendo .brand-btn { font-weight: 800; box-shadow: 0 5px 0 rgba(0, 0, 0, .18); }
.brand-nintendo .brand-btn-ghost { border-width: 3px; font-weight: 800; }
.brand-nintendo .brand-subnav a { border-radius: 999px; font-family: var(--b-font); }
.brand-nintendo .brand-subnav a:hover { background: #ffe3e5; color: #e60012; }
.brand-nintendo .brand-track-year, .brand-nintendo .brand-console-year { font-family: var(--b-font); }
.brand-nintendo .brand-services .icon { background: #e60012; color: #fff; border-radius: 50%; padding: 6px; width: 36px; height: 36px; }
.bn-bubble { transform-box: fill-box; transform-origin: center; animation: bn-float 5s ease-in-out infinite alternate; }
.bn-b1 { animation-delay: -1s; } .bn-b2 { animation-delay: -2s; } .bn-b3 { animation-delay: -3s; } .bn-b4 { animation-delay: -1.5s; } .bn-b5 { animation-delay: -2.5s; }
@keyframes bn-float { to { transform: translateY(-16px) scale(1.06); } }

@media (prefers-reduced-motion: reduce) { .bw-line, .bw-star, .bx-ring, .bn-bubble { animation: none; } }
@media (max-width: 720px) { .brand-subnav { top: 56px; } .brand-hero { padding: 40px 0 48px; } .brand-hero-media { max-width: 280px; } }

/* Accent de marque sur les pages de consoles */
.brand-accent-playstation .category-hero { border-top: 4px solid #0050c8; }
.brand-accent-xbox .category-hero { border-top: 4px solid #2fbf3a; }
.brand-accent-nintendo .category-hero { border-top: 4px solid #e60012; }
.brand-enter { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 14px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .92rem; }
.brand-enter-playstation { background: #00276f; color: #fff; }
.brand-enter-xbox { background: #0a0c0a; color: #3ee04a; }
.brand-enter-nintendo { background: #e60012; color: #fff; }
.brand-enter:hover { filter: brightness(1.15); color: inherit; }
.brand-enter-playstation:hover, .brand-enter-nintendo:hover { color: #fff; }
/* Univers : vitrines des visuels (les photos ont un fond blanc) */
.brand-hero-media .media { background: #fff; border-radius: 24px; padding: 18px; }
.brand-playstation .brand-hero-media .media { box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 30px 80px rgba(79,140,255,.45); }
.brand-xbox .brand-hero-media .media { border-radius: 4px; box-shadow: 0 0 0 2px #2fbf3a, 0 0 60px rgba(47,191,58,.45); }
.brand-nintendo .brand-hero-media .media { border-radius: 36px; border: 6px solid #fff; box-shadow: 0 10px 0 rgba(0,0,0,.15); }
.brand-hero-media { filter: none; }
.brand-track-media { aspect-ratio: auto; height: 120px; background: #fff; border-radius: 10px; }
.brand-track-media .media, .brand-track-media picture { height: 100%; }
.brand-track-media img { padding: 8px; }
.brand-console-media { background: #fff !important; }
.brand-xbox .brand-track-media, .brand-xbox .brand-console-media { border-radius: 3px; }
.brand-nintendo .brand-track-media { border-radius: 18px; }
@media (max-width: 720px) { .brand-hero-deco { opacity: .35; } .brand-hero-media { max-width: 220px; } .brand-hero-media .media { padding: 10px; } }

/* ===================================================================== */
/* Phase 5 — Expériences pilotées par le défilement                      */
/* ===================================================================== */
.exp-page { --exp-bg: #030a1c; --exp-bg2: #071a44; --exp-ink: #e8eefc; --exp-muted: #a8b6d6; --exp-accent: #4f8cff; --exp-card: rgba(9, 20, 48, .72); --exp-line: rgba(140, 170, 255, .18); background: var(--exp-bg); color: var(--exp-ink); }
.exp-hero { position: relative; padding: 72px 0 40px; background: radial-gradient(90% 120% at 70% 0%, var(--exp-bg2), var(--exp-bg) 70%); overflow: hidden; }
.exp-hero h1 { color: #fff; font-weight: 200; font-size: clamp(2.3rem, 6vw, 4.2rem); letter-spacing: -.02em; margin-bottom: .25em; }
.exp-hero .brand-lead { color: var(--exp-muted); }
.exp-scroll-hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--exp-muted); }
.exp-scroll-hint span { width: 22px; height: 34px; border: 2px solid var(--exp-muted); border-radius: 12px; position: relative; }
.exp-scroll-hint span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--exp-accent); animation: exp-wheel 1.6s ease-in-out infinite; }
@keyframes exp-wheel { 50% { transform: translateY(10px); opacity: .3; } }

.exp { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.exp-pin, .exp-steps { grid-area: 1 / 1; }
.exp-pin { position: relative; }
.exp-stage { position: sticky; top: 64px; height: calc(100vh - 64px); height: calc(100svh - 64px); overflow: hidden; --light: 0; --p: 0;
  background: radial-gradient(60% 70% at 38% 55%, rgba(30, 80, 200, calc(.15 + var(--light) * .35)), transparent 70%), radial-gradient(120% 120% at 50% 100%, #06122e, var(--exp-bg) 70%); }
.exp-stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(120, 160, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 160, 255, .05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 40% 60%, #000, transparent); pointer-events: none; }
.exp-glow { position: absolute; left: 38%; top: 58%; width: 70vmin; height: 70vmin; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(79, 140, 255, .55), transparent 65%); opacity: calc(var(--light) * .9); filter: blur(20px); pointer-events: none; transition: opacity .2s; }
.exp-model, .exp-frames { position: absolute; inset: 0 40% 0 0; }
.exp-model model-viewer { width: 100%; height: 100%; --poster-color: transparent; background: transparent; }
.exp-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .45s ease; }
.exp-frames img.is-on { opacity: 1; }
.exp-stage.is-3d .exp-frames { opacity: 0; transition: opacity .6s; }
.exp-hud { position: absolute; left: 24px; bottom: 22px; right: 42%; display: flex; align-items: center; gap: 14px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--exp-muted); pointer-events: none; }
.exp-hud b { color: #fff; font-weight: 700; }
.exp-hud-bar { flex: 1; max-width: 220px; height: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.exp-hud-bar i { display: block; height: 100%; background: var(--exp-accent); transform-origin: left; transform: scaleX(0); }
.exp-hud-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-loading { position: absolute; left: 24px; top: 20px; display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--exp-muted); }
.exp-loading span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--exp-accent); border-top-color: transparent; animation: sv-spin .8s linear infinite; }

.exp-steps { position: relative; z-index: 2; padding: 0 0 12vh; pointer-events: none; }
.exp-step { min-height: 100vh; display: flex; align-items: center; justify-content: flex-end; padding: 0 max(24px, calc((100vw - var(--container)) / 2 + 20px)); }
.exp-step:first-child { min-height: 80vh; }
.exp-card { pointer-events: auto; width: min(440px, 38vw); padding: 26px 26px 22px; border-radius: 20px; background: var(--exp-card); border: 1px solid var(--exp-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); color: var(--exp-ink); opacity: .35; transform: translateY(16px); transition: opacity .4s, transform .5s; }
.exp-step.is-active .exp-card, .exp:not(.is-live) .exp-card { opacity: 1; transform: none; }
.exp-card h2 { color: #fff; font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .4em; }
.exp-card p { color: var(--exp-muted); }
.exp-card a { color: #9cc2ff; }
.exp-card .help { color: #7f8fb3; font-size: .82rem; }
.exp-card-num { font-size: .78rem; letter-spacing: .2em; color: var(--exp-accent) !important; font-weight: 700; margin: 0 0 6px; }
.exp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 0; }
.exp-facts div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--exp-line); }
.exp-facts dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #7f8fb3; }
.exp-facts dd { margin: 2px 0 0; color: #fff; font-weight: 600; font-size: .92rem; }
.exp-legend { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; font-size: .92rem; }
.exp-legend li { display: flex; gap: 10px; align-items: center; color: var(--exp-ink); }
.exp-legend i { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.lg-carte { background: #146e46; } .lg-fan { background: #0c0d10; border: 1px solid #556; } .lg-cuivre { background: #c48446; } .lg-alim { background: #969eac; } .lg-ssd { background: #1d8f5b; }
.exp-link { font-size: .9rem; margin: 10px 0 0; }
.exp-hotlist { list-style: none; padding: 0; margin: 12px 0 8px; display: grid; gap: 6px; }
.exp-hotlist button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--exp-line); background: rgba(255, 255, 255, .04); color: var(--exp-ink); font: inherit; font-size: .92rem; cursor: pointer; text-align: left; }
.exp-hotlist button:hover, .exp-hotlist button.is-on { border-color: var(--exp-accent); background: rgba(79, 140, 255, .15); }
.exp-hotlist span { width: 24px; height: 24px; border-radius: 50%; background: var(--exp-accent); color: #fff; font-size: .78rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.exp-hotinfo { font-size: .92rem; min-height: 3em; color: var(--exp-ink) !important; }
.exp-hotspot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; background: var(--exp-accent); color: #fff; font: 700 12px var(--font); cursor: pointer; box-shadow: 0 0 0 6px rgba(79, 140, 255, .25), 0 4px 12px rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; transform: scale(.6); }
.exp[data-state="ports"] .exp-hotspot, .exp-explore .exp-hotspot { opacity: 1; pointer-events: auto; transform: none; }
.exp-explore .exp-hotspot:not([data-visible]) { opacity: .2; }
.exp[data-state="ports"] .exp-hotspot-front, .exp[data-state="ports"] .exp-hotspot-side { opacity: 0; pointer-events: none; }
.exp-hotspot.is-on { background: #fff; color: #00276f; box-shadow: 0 0 0 8px rgba(255, 255, 255, .3); }
.exp-boot { display: flex; flex-direction: column; gap: 12px; align-items: center; margin: 14px 0 6px; padding: 22px; border-radius: 14px; background: #02060f; border: 1px solid var(--exp-line); }
.exp-boot-logo { width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--exp-accent); box-shadow: 0 0 calc(var(--light, 0) * 30px) var(--exp-accent); }
.exp-boot-bar { width: 70%; height: 3px; background: rgba(255, 255, 255, .1); border-radius: 2px; overflow: hidden; }
.exp-boot-bar i { display: block; height: 100%; width: 100%; background: var(--exp-accent); transform-origin: left; animation: exp-boot 2.4s ease-in-out infinite; }
.exp-boot-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
.exp-boot-tiles i { height: 34px; border-radius: 6px; background: linear-gradient(135deg, #10306f, #061430); }
@keyframes exp-boot { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
.exp-chips { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.exp-chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--exp-line); background: rgba(79, 140, 255, .12); font-size: .85rem; color: #fff; }
.exp-shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 4px; }
.exp-shelf-item { display: block; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; transition: transform .2s; }
.exp-shelf-item:hover { transform: translateY(-3px) scale(1.02); }
.exp-shelf .game-cover { padding: 10px; }
.exp-shelf .game-cover-title { font-size: .9rem; }
.exp-shelf .game-cover-meta { display: none; }
.exp-tiles, .exp-services { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.exp-tiles a, .exp-services a { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 12px; border-radius: 12px; border: 1px solid var(--exp-line); background: rgba(255, 255, 255, .04); color: #fff !important; text-decoration: none; font-size: .88rem; font-weight: 600; }
.exp-tiles a:hover, .exp-services a:hover { border-color: var(--exp-accent); background: rgba(79, 140, 255, .14); }
.exp-tiles .icon, .exp-services .icon { color: var(--exp-accent); }
.exp-compare { width: 100%; border-collapse: collapse; margin: 12px 0 4px; font-size: .86rem; }
.exp-compare th, .exp-compare td { padding: 7px 8px; border-bottom: 1px solid var(--exp-line); text-align: left; vertical-align: top; }
.exp-compare thead th { color: #fff; }
.exp-compare tbody th { color: #7f8fb3; font-weight: 600; width: 34%; }
.exp-compare td { color: var(--exp-ink); }
.exp-card .btn-row { margin-top: 16px; }

.exp-explore { background: #050d22 !important; }
.exp-explore h2 { color: #fff; font-weight: 300; }
.exp-explore p { color: var(--exp-muted); }
.exp-explore-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .exp-explore-grid { grid-template-columns: 1.2fr 1fr; } }
.exp-explore-stage { position: relative; aspect-ratio: 1; max-height: 70vh; border-radius: 24px; overflow: hidden; background: radial-gradient(60% 60% at 50% 55%, #0d2a6b, #030a1c 75%); border: 1px solid var(--exp-line); display: flex; align-items: center; justify-content: center; }
.exp-explore-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.exp-explore-btn { position: relative; z-index: 1; margin-top: auto; margin-bottom: 22px; }
.exp-explore model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; }
.exp-explore.is-loaded .exp-explore-poster, .exp-explore-stage.is-loaded .exp-explore-poster, .exp-explore-stage.is-loaded .exp-explore-btn { display: none; }
.exp-hotlist-static li { display: block; padding: 8px 0; border-bottom: 1px solid var(--exp-line); color: var(--exp-muted); font-size: .93rem; }
.exp-hotlist-static li span { display: inline-flex; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--exp-accent); color: #fff; font-size: .75rem; font-weight: 700; align-items: center; justify-content: center; }
.exp-hotlist-static strong { color: #fff; }
.exp-page .brand-section.brand-alt { background: #071433; color: var(--exp-muted); }
.exp-page .brand-alt h2 { color: #fff; font-weight: 300; }
.exp-page .doc { background: #f4f6fa; color: var(--text); }
.exp-page .brand-others { background: #030a1c; }
.exp-page .brand-others .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.exp-page .brand-legal { color: #7f8fb3; }

/* Mobile : la scène occupe le haut de l'écran, les cartes défilent dessous */
@media (max-width: 860px) {
  .exp-stage { height: 56vh; height: 56svh; top: 56px; }
  .exp-model, .exp-frames { inset: 0; }
  .exp-glow { left: 50%; }
  .exp-hud { right: 16px; left: 16px; bottom: 10px; }
  .exp-hud-name { display: none; }
  .exp-steps { margin-top: 0; }
  .exp-step { min-height: 90vh; align-items: flex-end; justify-content: center; padding: 0 12px 6vh; }
  .exp-step:first-child { min-height: 70vh; }
  .exp-card { width: 100%; padding: 18px; border-radius: 16px; background: rgba(6, 14, 34, .9); }
  .exp-tiles, .exp-services { grid-template-columns: repeat(2, 1fr); }
  .exp-hero { padding: 40px 0 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .exp-card, .exp-frames img, .exp-hotspot { transition: none; }
  .exp-scroll-hint span::after, .exp-boot-bar i { animation: none; }
}
.exp-loading[hidden] { display: none; }
.exp-card .btn.brand-btn { color: #00276f; }
.exp-card .btn.brand-btn-ghost { color: #fff; }
.exp-stage.cap::before { display: none; }
@media (max-width: 860px) {
  .exp-stage { height: 52vh; height: 52svh; }
  .exp-step { min-height: 115vh; align-items: flex-start; padding: 58vh 12px 4vh; }
  .exp-step:first-child { min-height: 100vh; }
  .exp-card { box-shadow: 0 -20px 40px rgba(3, 10, 28, .6); }
}

/* ---------- Expérience « Lumière » (LED) : ambiance chaude, la lumière au centre ---------- */
.exp-theme-lumiere-led { --exp-bg: #0b0806; --exp-bg2: #2a1a08; --exp-ink: #f6ecdf; --exp-muted: #cbb9a2; --exp-accent: #ffb347; --exp-card: rgba(26, 18, 10, .74); --exp-line: rgba(255, 200, 130, .2); }
.exp-theme-lumiere-led .exp-hero { background: radial-gradient(70% 120% at 70% 0%, #3a2408, #0b0806 70%); }
.exp-theme-lumiere-led .exp-card a { color: #ffd08a; }
.exp-theme-lumiere-led .exp-card .btn.brand-btn { background: #ffb347; border-color: #ffb347; color: #2a1606; border-radius: 999px; }
.exp-theme-lumiere-led .exp-card .btn.brand-btn-ghost { border-radius: 999px; color: #fff; }
.exp-lumiere-led .exp-stage { background: #050403; --dark: .93; --strip: 0; --panel: 0; --shelf: 0; --lamp: 0; --spot: 0; --wire: 0; --cool: .15; --rgb: 0; --hue: 30; --z1: 1; --z2: 1; --z3: 1; --dim: 1;
  --tc: color-mix(in srgb, #d8ecff calc(var(--cool) * 100%), #ffb062);
  --lc: color-mix(in srgb, hsl(calc(var(--hue) * 1deg) 95% 58%) calc(var(--rgb) * 100%), var(--tc)); }
.exp-lumiere-led .exp-stage::before { display: none; }
.exp-lumiere-led .exp-hud-bar i { background: var(--lc); }
.lx-room { position: absolute; inset: 4% 41% 4% 3%; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lx-room > * { position: absolute; }
.lx-wall { inset: 0 0 28% 0; background: linear-gradient(180deg, #7b7484, #635d6d 60%, #57525f); }
.lx-floor { left: 0; right: 0; bottom: 0; height: 28%; background: repeating-linear-gradient(90deg, #6d4a32 0 9%, #634330 9% 18%), #6d4a32; box-shadow: inset 0 14px 30px rgba(0, 0, 0, .35); }
.lx-window { left: 6%; top: 14%; width: 15%; height: 36%; background: linear-gradient(180deg, #0c1530, #1a2550); border: 6px solid #4b4655; border-radius: 4px; }
.lx-window i { position: absolute; width: 2px; height: 2px; background: #fff; border-radius: 50%; opacity: .7; left: 30%; top: 25%; }
.lx-window i + i { left: 65%; top: 55%; }
.lx-art { left: 36%; top: 17%; width: 18%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.lx-shelf { right: 6%; top: 36%; width: 28%; height: 3%; }
.lx-shelf b { position: absolute; inset: 0; background: #8a6247; border-radius: 2px; box-shadow: 0 4px 6px rgba(0, 0, 0, .3); }
.lx-shelf i { position: absolute; bottom: 100%; border-radius: 2px 2px 0 0; }
.lx-shelf .o1 { left: 8%; width: 8%; height: 380%; background: #b0483f; } .lx-shelf .o2 { left: 18%; width: 6%; height: 300%; background: #3f6fb0; }
.lx-shelf .o3 { left: 40%; width: 14%; height: 420%; background: #d9c7a8; border-radius: 40% 40% 6px 6px; } .lx-shelf .o4 { left: 70%; width: 18%; height: 220%; background: #2f6b4a; border-radius: 50% 50% 4px 4px; }
.lx-sofa { left: 16%; bottom: 13%; width: 46%; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .4)); }
.lx-plant { left: 2%; bottom: 18%; width: 7%; }
.lx-lampstand { right: 12%; bottom: 22%; width: 2%; height: 40%; }
.lx-lampstand::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1px; background: #3a3540; }
.lx-lampstand i { position: absolute; left: 50%; top: -4%; width: 520%; height: 14%; transform: translateX(-50%); background: #e9dfcf; clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.lx-dark { inset: 0; background: #030306; opacity: var(--dark); z-index: 2; transition: opacity .15s linear; }
.lx-src { inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen; }
.lx-strip { opacity: calc(var(--strip) * var(--z1) * var(--dim)); }
.lx-strip .lx-line { position: absolute; left: 2%; right: 2%; top: 1.5%; height: 4px; border-radius: 4px; background: var(--lc); box-shadow: 0 0 12px 3px var(--lc), 0 0 40px 10px var(--lc); }
.lx-strip .lx-wash { position: absolute; left: 0; right: 0; top: 0; height: 55%; background: linear-gradient(180deg, color-mix(in srgb, var(--lc) 70%, transparent), transparent); }
.lx-panel { opacity: calc(var(--panel) * var(--z1) * var(--dim)); }
.lx-panel-light { position: absolute; left: 38%; width: 24%; top: 3%; height: 2.2%; border-radius: 4px; background: #fff; box-shadow: 0 0 20px 6px var(--tc); }
.lx-cone { position: absolute; left: 14%; right: 14%; top: 4%; bottom: 0; clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 75%, transparent), color-mix(in srgb, var(--tc) 18%, transparent)); }
.lx-shelflight { opacity: calc(var(--shelf) * var(--z2) * var(--dim)); }
.lx-shelflight .lx-line { position: absolute; right: 6.5%; width: 27%; top: 39.2%; height: 3px; background: var(--lc); box-shadow: 0 0 10px 3px var(--lc); }
.lx-shelflight .lx-wash { position: absolute; right: 2%; width: 36%; top: 39%; height: 30%; background: radial-gradient(60% 100% at 50% 0, color-mix(in srgb, var(--lc) 80%, transparent), transparent 70%); }
.lx-lamp { opacity: calc(var(--lamp) * var(--z3) * var(--dim)); }
.lx-bulb { position: absolute; right: 12.3%; top: 39%; width: 3%; height: 4%; border-radius: 50%; background: #fff6e0; box-shadow: 0 0 16px 6px var(--tc); }
.lx-halo { position: absolute; right: -10%; top: 15%; width: 55%; height: 75%; background: radial-gradient(closest-side, color-mix(in srgb, var(--tc) 75%, transparent), transparent); }
.lx-spots { opacity: calc(var(--spot) * var(--z2) * var(--dim)); }
.lx-spot { position: absolute; top: 0; width: 14%; height: 52%; clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 85%, transparent), transparent 90%); }
.lx-spot.s1 { left: 34%; } .lx-spot.s2 { left: 45%; }
.lx-wire { inset: 0; width: 100%; height: 100%; z-index: 4; opacity: var(--wire); }
.lx-tag { z-index: 5; opacity: var(--wire); padding: 4px 10px; border-radius: 999px; background: rgba(10, 8, 4, .85); border: 1px solid rgba(255, 210, 122, .5); color: #ffd27a; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.lx-tag.t1 { left: 30%; top: 9%; } .lx-tag.t2 { right: 14%; top: 48%; } .lx-tag.t3 { right: 14%; top: 64%; }
.exp-kelvin { display: flex; justify-content: space-between; margin: 14px 0 6px; padding: 8px 10px; border-radius: 10px; background: linear-gradient(90deg, #ffb062, #fff3df 50%, #d8ecff); color: #2a1a08; font-size: .78rem; font-weight: 700; }
.exp-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.exp-controls button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--exp-line); background: rgba(255, 255, 255, .05); color: var(--exp-ink); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.exp-controls button:hover, .exp-controls button.is-on { border-color: var(--exp-accent); background: color-mix(in srgb, var(--exp-accent) 22%, transparent); }
.exp-swatches button span { width: 12px; height: 12px; border-radius: 50%; }
.sw-h0 span { background: hsl(0 95% 58%); } .sw-h35 span { background: hsl(35 95% 58%); } .sw-h130 span { background: hsl(130 95% 50%); } .sw-h190 span { background: hsl(190 95% 55%); } .sw-h225 span { background: hsl(225 95% 60%); } .sw-h280 span { background: hsl(280 95% 62%); } .sw-h320 span { background: hsl(320 95% 62%); }
.lg-led-strip { background: #ffb347; } .lg-led-profile { background: #a8adb7; } .lg-led-psu { background: #4c5260; } .lg-led-ctrl { background: #9fd0ff; }
@media (max-width: 860px) { .lx-room { inset: 3%; } .lx-tag { font-size: .62rem; padding: 3px 7px; } }

/* Sections de fin communes aux expériences */
.exp-after { background: var(--exp-bg); color: var(--exp-muted); }
.exp-after h2 { color: #fff; font-weight: 300; }
.exp-after .brand-kicker { color: var(--exp-accent); }
.exp-after-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.exp-after-grid a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: 16px; border: 1px solid var(--exp-line); background: rgba(255, 255, 255, .03); color: var(--exp-muted); text-decoration: none; font-size: .9rem; transition: border-color .2s, transform .2s; }
.exp-after-grid a:hover { border-color: var(--exp-accent); transform: translateY(-3px); }
.exp-after-grid .icon { color: var(--exp-accent); width: 28px; height: 28px; }
.exp-after-grid strong { color: #fff; }
.exp-page .doc { background: #f4f6fa; color: var(--text); }
/* LED : faisceaux plus doux */
.lx-cone { left: 22%; right: 22%; clip-path: polygon(40% 0, 60% 0, 92% 100%, 8% 100%); background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 42%, transparent), color-mix(in srgb, var(--tc) 4%, transparent)); filter: blur(6px); }
.lx-spot { width: 9%; height: 40%; background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 55%, transparent), transparent 95%); filter: blur(3px); }
.lx-spot.s1 { left: 36.5%; } .lx-spot.s2 { left: 44.5%; }
.lx-panel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 30%, color-mix(in srgb, var(--tc) 30%, transparent), transparent 75%); }

/* ---------- Expérience « Boutique en ligne » : univers web, clair et professionnel ---------- */
.exp-theme-boutique-en-ligne { --exp-bg: #f2f5fb; --exp-bg2: #e3ebfb; --exp-ink: #0b1324; --exp-muted: #4d5a72; --exp-accent: #1d5cff; --exp-card: rgba(255, 255, 255, .86); --exp-line: rgba(29, 92, 255, .14); }
.exp-theme-boutique-en-ligne .exp-hero { background: radial-gradient(80% 120% at 75% 0%, #dfe9ff, #f2f5fb 70%); }
.exp-theme-boutique-en-ligne .exp-hero h1, .exp-theme-boutique-en-ligne .exp-card h2, .exp-theme-boutique-en-ligne .exp-after h2 { color: #0b1324; font-weight: 700; letter-spacing: -.02em; }
.exp-theme-boutique-en-ligne .brand-eyebrow { color: #1d5cff; }
.exp-theme-boutique-en-ligne .exp-card { box-shadow: 0 20px 50px rgba(20, 40, 90, .14); }
.exp-theme-boutique-en-ligne .exp-card a { color: #1446cc; }
.exp-theme-boutique-en-ligne .exp-card .btn.brand-btn { background: #1d5cff; border-color: #1d5cff; color: #fff; border-radius: 10px; }
.exp-theme-boutique-en-ligne .exp-card .btn.brand-btn-ghost { color: #0b1324; border-radius: 10px; }
.exp-theme-boutique-en-ligne .exp-hud { color: #4d5a72; } .exp-theme-boutique-en-ligne .exp-hud b { color: #0b1324; }
.exp-theme-boutique-en-ligne .exp-hud-bar { background: rgba(11, 19, 36, .1); }
.exp-theme-boutique-en-ligne .exp-scroll-hint { color: #4d5a72; } .exp-theme-boutique-en-ligne .exp-scroll-hint span { border-color: #4d5a72; }
.exp-theme-boutique-en-ligne .exp-after { background: #f2f5fb; color: #4d5a72; }
.exp-theme-boutique-en-ligne .exp-after-grid a { background: #fff; color: #4d5a72; }
.exp-theme-boutique-en-ligne .exp-after-grid strong { color: #0b1324; }
.exp-theme-boutique-en-ligne .brand-legal { color: #4d5a72; }
.exp-boutique-en-ligne .exp-stage { background: radial-gradient(70% 70% at 35% 50%, #ffffff, #e7edf8 75%); --header: 1; --hero: 1; --grid: 1; --detail: 0; --cart: 0; --type: 0; --confirm: 0; --admin: 0; --neworder: 0; --stock: 0; --stats: 0; --cx: 70; --cy: 70; }
.exp-boutique-en-ligne .exp-stage::before { background-image: linear-gradient(rgba(29, 92, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 92, 255, .06) 1px, transparent 1px); }

.sh { position: absolute; inset: 6% 41% 7% 3%; display: flex; flex-direction: column; }
.sh-window { flex: 1; display: flex; flex-direction: column; border-radius: 14px; background: #fff; box-shadow: 0 30px 70px rgba(20, 40, 90, .22), 0 0 0 1px rgba(11, 19, 36, .06); overflow: hidden; }
.sh-bar { display: flex; gap: 6px; align-items: center; padding: 9px 12px; background: #eef1f6; font-size: .72rem; color: #6b778c; }
.sh-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; } .sh-bar i:nth-child(2) { background: #ffd166; } .sh-bar i:nth-child(3) { background: #3ddc84; }
.sh-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: #fff; flex: 1; max-width: 260px; }
.sh-screen { position: relative; flex: 1; overflow: hidden; font-size: clamp(.62rem, .9vw, .8rem); color: #0b1324; }
.sh-shop { position: absolute; inset: 0; padding: 0 0 10px; display: flex; flex-direction: column; }
.sh-header { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid #eef1f6; opacity: var(--header); transform: translateY(calc((1 - var(--header)) * -24px)); }
.sh-logo { font-weight: 800; color: #1d5cff; }
.sh-nav { display: flex; gap: 8px; } .sh-nav s { width: 34px; height: 6px; border-radius: 3px; background: #dfe4ec; }
.sh-search { flex: 1; height: 22px; border-radius: 6px; background: #f2f4f8; border: 1px solid #e3e7ee; }
.sh-cart { position: relative; color: #0b1324; } .sh-cart .icon { width: 18px; height: 18px; }
.sh-badge { position: absolute; right: -8px; top: -6px; min-width: 15px; height: 15px; border-radius: 8px; background: #ff4d4d; color: #fff; font: 700 .6rem/15px var(--font); text-align: center; transform: scale(var(--cart)); }
.sh-hero { margin: 12px 16px 0; padding: 14px 16px; border-radius: 10px; background: linear-gradient(120deg, #1d5cff, #6a8dff); color: #fff; display: flex; justify-content: space-between; align-items: center; opacity: var(--hero); transform: scale(calc(.94 + var(--hero) * .06)); }
.sh-hero strong { display: block; font-size: 1.15em; } .sh-hero span { display: block; opacity: .85; }
.sh-hero em { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 6px; background: #fff; color: #1d5cff; font-style: normal; font-weight: 700; }
.sh-hero i { width: 22%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd166, #f4a261); }
.sh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px 16px 0; flex: 1; }
.sh-prod { --i: 0; display: flex; flex-direction: column; gap: 3px; padding: 6px; border-radius: 8px; border: 1px solid #eef1f6; opacity: clamp(0, calc(var(--grid) * 6 - var(--i)), 1); transform: translateY(calc((1 - clamp(0, calc(var(--grid) * 6 - var(--i)), 1)) * 16px)); }
.sh-prod:nth-child(2) { --i: 1; } .sh-prod:nth-child(3) { --i: 2; } .sh-prod:nth-child(4) { --i: 3; } .sh-prod:nth-child(5) { --i: 4; } .sh-prod:nth-child(6) { --i: 5; }
.sh-img { display: block; aspect-ratio: 4 / 3; border-radius: 6px; position: relative; overflow: hidden; }
.sh-img::after { content: ""; position: absolute; inset: 22% 30%; border-radius: 8px; background: rgba(255, 255, 255, .7); }
.p1 { background: linear-gradient(135deg, #f6e7d3, #e9c9a0); } .p1::after { border-radius: 40%; background: #fff7ee; }
.p2 { background: linear-gradient(135deg, #cfe0ff, #9cbcff); } .p2::after { clip-path: polygon(20% 0, 80% 0, 100% 25%, 85% 35%, 85% 100%, 15% 100%, 15% 35%, 0 25%); border-radius: 0; inset: 18% 28%; }
.p3 { background: linear-gradient(135deg, #2a2f3a, #4b5466); } .p3::after { border-radius: 50% 50% 10px 10px; background: #1b1f27; border: 3px solid #8892a6; }
.p4 { background: repeating-linear-gradient(45deg, #ff9f1c 0 8px, #2ec4b6 8px 16px); } .p4::after { background: rgba(255, 255, 255, .55); border-radius: 6px 6px 10px 10px; }
.p5 { background: linear-gradient(135deg, #1f1a12, #3a2f1a); } .p5::after { border-radius: 50%; background: radial-gradient(circle, #ffe7a3, #ffb347 60%, transparent 70%); inset: 18% 34%; }
.p6 { background: linear-gradient(135deg, #e8f6ef, #b9e6cf); } .p6::after { border-radius: 3px; background: #2f6b4a; inset: 20% 34%; }
.sh-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-price { color: #1d5cff; font-weight: 800; }
.sh-detail { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px; background: #fff; opacity: var(--detail); transform: translateX(calc((1 - var(--detail)) * 30%)); pointer-events: none; }
.sh-detail-img { aspect-ratio: 1; border-radius: 12px; }
.sh-detail-info { display: flex; flex-direction: column; gap: 6px; }
.sh-detail-info strong { font-size: 1.3em; }
.sh-stars { color: #ffb400; } .sh-avail { color: #157f3c; font-weight: 600; }
.sh-lines { display: flex; flex-direction: column; gap: 5px; } .sh-lines s { height: 6px; border-radius: 3px; background: #e7ebf2; } .sh-lines s:nth-child(2) { width: 85%; } .sh-lines s:nth-child(3) { width: 60%; }
.sh-btn { display: inline-block; align-self: flex-start; padding: 7px 14px; border-radius: 8px; background: #1d5cff; color: #fff; font-style: normal; font-weight: 700; }
.sh-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; padding: 16px; background: #fff; box-shadow: -20px 0 40px rgba(20, 40, 90, .18); display: flex; flex-direction: column; gap: 10px; transform: translateX(calc((1 - var(--cart)) * 110%)); }
.sh-line { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid #eef1f6; }
.sh-line .sh-img { aspect-ratio: 1; }
.sh-total { display: flex; justify-content: space-between; font-size: 1.05em; margin-top: auto; }
.sh-checkout { position: absolute; inset: 0; padding: 18px 22px; background: #fff; display: flex; flex-direction: column; gap: 10px; opacity: 0; transition: opacity .3s; }
.exp[data-state="checkout"] .sh-checkout, .exp[data-state="confirm"] .sh-checkout { opacity: 1; }
.sh-checkout strong { font-size: 1.2em; }
.sh-checkout label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; color: #4d5a72; }
.sh-checkout label span { height: 26px; border-radius: 6px; border: 1px solid #dfe4ec; padding: 0 8px; display: flex; align-items: center; }
.sh-checkout label i { height: 7px; border-radius: 3px; background: #0b1324; opacity: .75; }
.ty1 { width: calc(clamp(0, var(--type) * 3, 1) * 55%); } .ty2 { width: calc(clamp(0, var(--type) * 3 - 1, 1) * 40%); } .ty3 { width: calc(clamp(0, var(--type) * 3 - 2, 1) * 75%); }
.sh-pay { display: flex; gap: 6px; flex-wrap: wrap; } .sh-pay span { padding: 5px 9px; border-radius: 6px; border: 1px solid #dfe4ec; } .sh-pay .on { border-color: #1d5cff; background: #e8efff; color: #1446cc; font-weight: 700; }
.sh-confirm { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; background: #fff; text-align: center; opacity: var(--confirm); transform: scale(calc(.9 + var(--confirm) * .1)); }
.sh-check { width: 54px; height: 54px; border-radius: 50%; background: #157f3c; color: #fff; font-size: 1.8em; display: flex; align-items: center; justify-content: center; }
.sh-confirm strong { font-size: 1.2em; } .sh-confirm span { color: #4d5a72; }
.sh-toast { position: absolute; right: 14px; bottom: 14px; padding: 8px 12px; border-radius: 10px; background: #0b1324; color: #fff; display: flex; gap: 6px; align-items: center; opacity: var(--confirm); transform: translateY(calc((1 - var(--confirm)) * 20px)); }
.exp[data-state="admin"] .sh-toast, .exp[data-state="stock"] .sh-toast, .exp[data-state="stats"] .sh-toast, .exp[data-state="care"] .sh-toast, .exp[data-state="cta"] .sh-toast { opacity: 0; }
.sh-admin { position: absolute; inset: 0; display: grid; grid-template-columns: 22% 1fr; background: #f6f8fc; transform: translateX(calc((1 - var(--admin)) * 102%)); }
.sh-side { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; background: #0b1324; color: #fff; }
.sh-side s { height: 7px; border-radius: 4px; background: #2a3550; } .sh-side s.on { background: #1d5cff; }
.sh-admin-main { padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sh-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sh-kpis div { padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid #e6ebf3; }
.sh-kpis small { display: block; color: #6b778c; } .sh-kpis b { font-size: 1.15em; }
.sh-orders { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: 8px; border: 1px solid #e6ebf3; padding: 6px; }
.sh-row { display: grid; grid-template-columns: 50px 1fr auto; gap: 8px; padding: 6px 8px; border-radius: 6px; align-items: center; }
.sh-row-new { background: #fff7db; opacity: var(--neworder); transform: translateY(calc((1 - var(--neworder)) * -10px)); box-shadow: inset 3px 0 0 #ffb400; }
.sh-status { padding: 2px 8px; border-radius: 999px; background: #fff0c2; color: #8a5a00; font-weight: 700; font-size: .9em; } .sh-status.ok { background: #e7f6ec; color: #157f3c; }
.sh-stock { display: grid; grid-template-columns: 1fr 34% auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid #e6ebf3; }
.sh-stock-bar { height: 8px; border-radius: 4px; background: #eef1f6; overflow: hidden; }
.sh-stock-bar i { display: block; height: 100%; background: #1d5cff; transform-origin: left; transform: scaleX(calc(.5 - var(--stock) * .1)); }
.sh-stock-n { position: relative; width: 16px; height: 1.2em; } .sh-stock-n em { position: absolute; inset: 0; font-style: normal; }
.sh-stock-n .n1 { opacity: calc(1 - var(--stock)); } .sh-stock-n .n2 { opacity: var(--stock); color: #b42318; }
.sh-chart { flex: 1; min-height: 60px; display: flex; align-items: flex-end; gap: 6px; padding: 10px; border-radius: 8px; background: #fff; border: 1px solid #e6ebf3; }
.sh-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #6a8dff, #1d5cff); height: 4%; }
.sh-chart .c0 { height: calc(4% + var(--stats) * 31%); } .sh-chart .c1 { height: calc(4% + var(--stats) * 46%); } .sh-chart .c2 { height: calc(4% + var(--stats) * 38%); } .sh-chart .c3 { height: calc(4% + var(--stats) * 64%); } .sh-chart .c4 { height: calc(4% + var(--stats) * 51%); } .sh-chart .c5 { height: calc(4% + var(--stats) * 76%); } .sh-chart .c6 { height: calc(4% + var(--stats) * 88%); }
.sh-notif { position: absolute; right: 12px; top: 10px; padding: 6px 10px; border-radius: 8px; background: #1d5cff; color: #fff; font-weight: 700; display: flex; gap: 6px; align-items: center; opacity: calc(var(--neworder) * (1 - var(--stock))); }
.sh-cursor { position: absolute; left: calc(var(--cx) * 1%); top: calc(var(--cy) * 1%); width: 18px; height: 18px; background: #0b1324; clip-path: polygon(0 0, 0 80%, 25% 60%, 45% 100%, 60% 92%, 42% 55%, 75% 55%); opacity: 0; transition: opacity .3s; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
.exp[data-state="detail"] .sh-cursor, .exp[data-state="cart"] .sh-cursor, .exp[data-state="checkout"] .sh-cursor { opacity: 1; }
.sh-caption { margin: 8px 0 0; font-size: .74rem; color: #6b778c; text-align: center; }
.exp-cycle { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.exp-cycle li { display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; background: #eef3ff; color: #0b1324; font-size: .84rem; font-weight: 600; }
.exp-cycle span { width: 20px; height: 20px; border-radius: 50%; background: #1d5cff; color: #fff; font-size: .7rem; display: flex; align-items: center; justify-content: center; }
@media (max-width: 860px) { .sh { inset: 4% 3% 5%; } .sh-screen { font-size: .62rem; } .sh-grid { gap: 6px; padding: 8px 10px 0; } .sh-header { padding: 7px 10px; } }

/* Démonstration manipulable */
.sd { display: grid; gap: 18px; margin-top: 20px; }
@media (min-width: 900px) { .sd { grid-template-columns: 1fr 1fr; } }
.sd-pane { background: #fff; border-radius: 16px; border: 1px solid #e3e8f2; box-shadow: 0 16px 40px rgba(20, 40, 90, .1); padding: 18px; color: #0b1324; display: flex; flex-direction: column; gap: 12px; }
.sd-head { display: flex; justify-content: space-between; align-items: center; }
.sd-cartbtn { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 999px; background: #eef3ff; font-weight: 700; color: #1446cc; }
.sd-cartbtn .icon { width: 18px; height: 18px; }
.sd-cartbtn.is-bump { animation: sd-bump .35s ease; }
@keyframes sd-bump { 50% { transform: scale(1.18); } }
.sd-products { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sd-products li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 6px; border-radius: 10px; border: 1px solid #eef1f6; }
.sd-products .sh-img { aspect-ratio: 1; }
.sd-pname { font-weight: 600; display: flex; flex-direction: column; } .sd-pname small { color: #1d5cff; font-weight: 800; }
.sd-products button { padding: 7px 12px; border-radius: 8px; border: 0; background: #1d5cff; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.sd-products button:disabled { background: #c6cfdd; cursor: not-allowed; }
.sd-cart { min-height: 44px; border-top: 1px dashed #dfe4ec; padding-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.sd-line { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; font-size: .92rem; }
.sd-rm { border: 0; background: #fdecea; color: #b42318; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font-weight: 700; }
.sd-empty { color: #6b778c; font-size: .9rem; margin: 0; list-style: none; }
.sd-total { display: flex; justify-content: space-between; font-size: 1.05rem; }
.sd-order { align-self: flex-start; background: #1d5cff; color: #fff; border-color: #1d5cff; }
.sd-order:disabled { opacity: .5; cursor: not-allowed; }
.sd-live { color: #157f3c; font-weight: 700; font-size: .85rem; }
.sd-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sd-kpis div { padding: 10px; border-radius: 10px; background: #f6f8fc; } .sd-kpis small { display: block; color: #6b778c; } .sd-kpis b { font-size: 1.1rem; }
.sd-admin h3 { font-size: .95rem; margin: 6px 0 0; }
.sd-orders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sd-orders li:not(.sd-empty) { display: grid; grid-template-columns: 60px 1fr auto; gap: 10px; padding: 8px 10px; border-radius: 8px; background: #f6f8fc; font-size: .9rem; }
.sd-orders li.is-new { animation: sd-new 1.4s ease; }
@keyframes sd-new { 0% { background: #fff0c2; transform: translateY(-6px); } 100% { background: #f6f8fc; transform: none; } }
.sd-id { font-weight: 700; color: #1446cc; }
.sd-stock { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sd-stock li { display: grid; grid-template-columns: 1fr 34% 60px; gap: 10px; align-items: center; font-size: .9rem; }
.sd-stock li.is-low b { color: #b42318; }
.sd-bar { height: 8px; border-radius: 4px; background: #eef1f6; overflow: hidden; }
.sd-bar i { display: block; height: 100%; background: #1d5cff; transform-origin: left; transition: transform .4s; }
.shop-demo-section h2 { color: #0b1324 !important; }
.sh-grid .sh-img { aspect-ratio: 16 / 10; }
.sh-grid { align-content: start; }
.sh-check { font-size: 1.8rem; font-weight: 800; line-height: 1; }

/* ---------- Expérience « Impression 3D » : univers technique (graphite, cyan, filament orange) ---------- */
.exp-theme-impression-3d { --exp-bg: #0b0f12; --exp-bg2: #10232a; --exp-ink: #e6eef2; --exp-muted: #9fb2bb; --exp-accent: #ff8a3d; --exp-card: rgba(14, 22, 27, .78); --exp-line: rgba(54, 214, 231, .18); }
.exp-theme-impression-3d .exp-hero { background: radial-gradient(70% 120% at 72% 0%, #12323a, #0b0f12 70%); }
.exp-theme-impression-3d .exp-hero h1 { font-weight: 300; letter-spacing: -.01em; }
.exp-theme-impression-3d .brand-eyebrow { color: #36d6e7; }
.exp-theme-impression-3d .exp-card { border-radius: 6px; border-left: 3px solid #ff8a3d; }
.exp-theme-impression-3d .exp-card-num { color: #36d6e7 !important; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.exp-theme-impression-3d .exp-card a { color: #6ee4f0; }
.exp-theme-impression-3d .exp-card .btn.brand-btn { background: #ff8a3d; border-color: #ff8a3d; color: #1a0d04; border-radius: 6px; }
.exp-theme-impression-3d .exp-card .btn.brand-btn-ghost { color: #fff; border-radius: 6px; }
.exp-impression-3d .exp-stage { --idea: 0; --wire: 0; --slice: 0; background: radial-gradient(60% 70% at 38% 55%, rgba(255, 138, 61, calc(.06 + var(--light) * .16)), transparent 70%), linear-gradient(180deg, #0d1418, #0b0f12); }
.exp-impression-3d .exp-stage::before { background-image: linear-gradient(rgba(54, 214, 231, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(54, 214, 231, .07) 1px, transparent 1px); background-size: 32px 32px; }
.exp-impression-3d .exp-glow { background: radial-gradient(circle, rgba(255, 138, 61, .45), transparent 65%); left: 36%; top: 64%; width: 40vmin; height: 40vmin; }
.exp-impression-3d .exp-hud-bar i { background: #ff8a3d; }
.px-overlay { position: absolute; inset: 0 40% 0 0; pointer-events: none; z-index: 2; }
.px-overlay svg { position: absolute; left: 50%; top: 50%; width: min(78%, 560px); transform: translate(-50%, -50%); }
.px-idea { opacity: var(--idea); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }
.px-draw { stroke-dasharray: 700; stroke-dashoffset: calc((1 - var(--idea)) * 700); }
.px-wire { opacity: var(--wire); transform: translate(-50%, -50%) scale(calc(.92 + var(--wire) * .08)) !important; }
.px-slice { opacity: var(--slice); clip-path: inset(calc((1 - var(--slice)) * 100%) 0 0 0); }
.exp-impression-3d .exp-model { opacity: calc(1 - max(var(--idea), var(--wire)) * .8); transition: opacity .2s; }
@media (max-width: 860px) { .px-overlay { inset: 0; } }

/* Bandeau « Expérience interactive » sur les pages de domaine et de service */
.exp-banner { padding: 26px 0; color: #fff; background: linear-gradient(120deg, #0b1324, #16213a); }
.exp-banner-inner { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.exp-banner h2 { color: #fff; margin: 4px 0 6px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.exp-banner p { margin: 0; color: rgba(255, 255, 255, .78); max-width: 46em; }
.exp-banner-kicker { display: inline-flex; gap: 6px; align-items: center; font-size: .78rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8fb0ff !important; }
.exp-banner-btn { background: #fff; color: #0b1324; border: 0; border-radius: 999px; }
.exp-banner-btn:hover { color: #0b1324; filter: brightness(.95); }
.exp-banner-lumiere-led { background: radial-gradient(80% 160% at 85% 0%, #5a3507, #120b04 70%); }
.exp-banner-lumiere-led .exp-banner-kicker { color: #ffcf85 !important; } .exp-banner-lumiere-led .exp-banner-btn { background: #ffb347; color: #2a1606; }
.exp-banner-boutique-en-ligne { background: linear-gradient(120deg, #1d5cff, #4f7dff); } .exp-banner-boutique-en-ligne .exp-banner-kicker { color: #dbe6ff !important; } .exp-banner-boutique-en-ligne .exp-banner-btn { color: #1446cc; }
.exp-banner-impression-3d { background: radial-gradient(80% 160% at 85% 0%, #12323a, #0b0f12 70%); } .exp-banner-impression-3d .exp-banner-kicker { color: #6ee4f0 !important; } .exp-banner-impression-3d .exp-banner-btn { background: #ff8a3d; color: #1a0d04; }
.exp-banner-playstation-ps5 { background: linear-gradient(135deg, #000c2b, #00276f 60%, #0050c8); } .exp-banner-playstation-ps5 .exp-banner-btn { color: #00276f; }
.exp-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.exp-cardlink { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 170px; padding: 20px; border-radius: 18px; color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; }
.exp-cardlink:hover { transform: translateY(-4px); color: #fff; }
.exp-cardlink strong { font-size: 1.2rem; } .exp-cardlink span { opacity: .82; font-size: .92rem; }
@media (max-width: 860px) { .exp-theme-boutique-en-ligne .exp-card { background: rgba(255, 255, 255, .96); box-shadow: 0 -16px 40px rgba(20, 40, 90, .16); } .exp-theme-lumiere-led .exp-card { background: rgba(22, 15, 8, .94); } .exp-theme-impression-3d .exp-card { background: rgba(12, 18, 22, .95); } }

/* ---------- Thèmes des expériences console ---------- */
.lg-alu { background: #7e847f; } .lg-disque { background: #78808c; } .lg-batterie { background: #c8cdd4; }
/* Xbox : noir profond, vert lumineux, angles nets, titres en capitales */
.exp-theme-xbox { --exp-bg: #050705; --exp-bg2: #0f2a10; --exp-ink: #eaf3ea; --exp-muted: #a7b6a7; --exp-accent: #3ee04a; --exp-card: rgba(10, 16, 10, .82); --exp-line: rgba(62, 224, 74, .2); }
.exp-theme-xbox .exp-hero { background: radial-gradient(70% 120% at 72% 0%, #14501a, #050705 70%); }
.exp-theme-xbox .exp-hero h1, .exp-theme-xbox .exp-card h2, .exp-theme-xbox .exp-after h2 { text-transform: uppercase; font-weight: 800; letter-spacing: .01em; }
.exp-theme-xbox .exp-card { border-radius: 4px; border-top: 3px solid #2fbf3a; }
.exp-theme-xbox .exp-card a { color: #6cf077; }
.exp-theme-xbox .exp-card .btn.brand-btn { background: #2fbf3a; border-color: #2fbf3a; color: #061006; border-radius: 3px; }
.exp-theme-xbox .exp-card .btn.brand-btn-ghost { color: #fff; border-radius: 3px; }
.exp-xbox .exp-stage { background: radial-gradient(55% 65% at 38% 55%, rgba(47, 191, 58, calc(.08 + var(--light) * .3)), transparent 70%), linear-gradient(180deg, #060906, #050705); }
.exp-xbox .exp-stage::before { background-image: repeating-linear-gradient(135deg, rgba(62, 224, 74, .05) 0 1px, transparent 1px 22px); background-size: auto; }
.exp-xbox .exp-glow { background: radial-gradient(circle, rgba(62, 224, 74, .5), transparent 65%); }
.exp-xbox .exp-hud-bar i, .exp-xbox .exp-hotlist span, .exp-xbox .exp-hotspot { background: #2fbf3a; }
.exp-xbox .exp-hotspot { box-shadow: 0 0 0 6px rgba(47, 191, 58, .25); }
/* Nintendo : clair, rouge, formes rondes et joyeuses */
.exp-theme-nintendo { --exp-bg: #fff6f6; --exp-bg2: #ffe0e2; --exp-ink: #2a0f12; --exp-muted: #6b4c50; --exp-accent: #e60012; --exp-card: rgba(255, 255, 255, .92); --exp-line: rgba(230, 0, 18, .16); }
.exp-theme-nintendo .exp-hero { background: radial-gradient(120% 90% at 85% 0%, #ff4a57, #e60012 55%, #c4000f); color: #fff; }
.exp-theme-nintendo .exp-hero h1 { color: #fff; font-family: ui-rounded, "Nunito", "Arial Rounded MT Bold", var(--font); font-weight: 800; }
.exp-theme-nintendo .exp-hero .brand-lead, .exp-theme-nintendo .exp-scroll-hint { color: rgba(255, 255, 255, .88); }
.exp-theme-nintendo .exp-scroll-hint span { border-color: #fff; } .exp-theme-nintendo .exp-scroll-hint span::after { background: #fff; }
.exp-theme-nintendo .exp-card { border-radius: 26px; border: 2px solid #ffd6d9; box-shadow: 0 8px 0 #ffd6d9, 0 20px 40px rgba(230, 0, 18, .1); color: #2a0f12; }
.exp-theme-nintendo .exp-card h2, .exp-theme-nintendo .exp-after h2 { color: #2a0f12; font-family: ui-rounded, "Nunito", "Arial Rounded MT Bold", var(--font); font-weight: 800; }
.exp-theme-nintendo .exp-card p { color: #6b4c50; }
.exp-theme-nintendo .exp-card-num { color: #e60012 !important; }
.exp-theme-nintendo .exp-card a { color: #c4000f; }
.exp-theme-nintendo .exp-chips li { background: #ffe8ea; color: #2a0f12; border-color: #ffd6d9; }
.exp-theme-nintendo .exp-facts div, .exp-theme-nintendo .exp-tiles a, .exp-theme-nintendo .exp-services a { background: #fff4f5; border-color: #ffd6d9; color: #2a0f12 !important; }
.exp-theme-nintendo .exp-facts dt { color: #a3737a; } .exp-theme-nintendo .exp-facts dd { color: #2a0f12; }
.exp-theme-nintendo .exp-compare th, .exp-theme-nintendo .exp-compare td { color: #2a0f12; border-color: #ffd6d9; }
.exp-theme-nintendo .exp-card .btn.brand-btn { background: #e60012; border-color: #e60012; color: #fff; border-radius: 999px; box-shadow: 0 5px 0 #a8000d; }
.exp-theme-nintendo .exp-card .btn.brand-btn-ghost { color: #c4000f; border-color: #c4000f; border-radius: 999px; }
.exp-theme-nintendo .exp-hud { color: #6b4c50; } .exp-theme-nintendo .exp-hud b { color: #2a0f12; } .exp-theme-nintendo .exp-hud-bar { background: rgba(230, 0, 18, .15); }
.exp-theme-nintendo .exp-after { background: #fff6f6; color: #6b4c50; } .exp-theme-nintendo .exp-after h2 { color: #2a0f12; }
.exp-theme-nintendo .exp-after-grid a { background: #fff; color: #6b4c50; border-color: #ffd6d9; } .exp-theme-nintendo .exp-after-grid strong { color: #2a0f12; }
.exp-theme-nintendo .brand-legal { color: #6b4c50; }
.exp-nintendo .exp-stage { background: radial-gradient(60% 70% at 38% 55%, #ffffff, #ffe9eb 70%, #ffd6d9); }
.exp-nintendo .exp-stage::before { background-image: radial-gradient(circle, rgba(230, 0, 18, .12) 2px, transparent 2.5px); background-size: 26px 26px; }
.exp-nintendo .exp-glow { background: radial-gradient(circle, rgba(255, 255, 255, .9), transparent 65%); }
.exp-nintendo .exp-hud-bar i, .exp-nintendo .exp-hotlist span { background: #e60012; }
/* PS4 : déclinaison PlayStation, indigo plus profond */
.exp-theme-playstation-gen { --exp-bg: #050818; --exp-bg2: #10184a; --exp-accent: #6c8cff; }
.exp-playstation-gen .exp-stage { background: radial-gradient(60% 70% at 38% 55%, rgba(80, 100, 230, calc(.12 + var(--light) * .3)), transparent 70%), radial-gradient(120% 120% at 50% 100%, #0a1030, #050818 70%); }
/* Portables : violet nomade */
.exp-theme-portables { --exp-bg: #0b0918; --exp-bg2: #251a52; --exp-ink: #ece9ff; --exp-muted: #b2abd6; --exp-accent: #8b7dff; --exp-card: rgba(18, 14, 38, .8); --exp-line: rgba(139, 125, 255, .22); }
.exp-theme-portables .exp-hero { background: radial-gradient(70% 120% at 72% 0%, #2c1f66, #0b0918 70%); }
.exp-theme-portables .exp-card { border-radius: 18px; }
.exp-theme-portables .exp-card a { color: #bdb4ff; }
.exp-theme-portables .exp-card .btn.brand-btn { background: #8b7dff; border-color: #8b7dff; color: #0b0918; border-radius: 999px; }
.exp-theme-portables .exp-card .btn.brand-btn-ghost { color: #fff; border-radius: 999px; }
.exp-portables .exp-stage { background: radial-gradient(55% 65% at 38% 55%, rgba(139, 125, 255, calc(.12 + var(--light) * .28)), transparent 70%), linear-gradient(180deg, #0d0a1d, #0b0918); }
.exp-portables .exp-glow { background: radial-gradient(circle, rgba(170, 160, 255, .5), transparent 65%); }
.exp-portables .exp-hud-bar i, .exp-portables .exp-hotlist span { background: #8b7dff; }
@media (max-width: 860px) { .exp-theme-nintendo .exp-card { background: rgba(255, 255, 255, .97); } .exp-theme-xbox .exp-card { background: rgba(8, 12, 8, .95); } .exp-theme-portables .exp-card { background: rgba(14, 11, 30, .95); } }

/* ---------- Expérience « Hébergement » : tech, bleu nuit et cyan ---------- */
.exp-theme-webtech { --exp-bg: #060b18; --exp-bg2: #0c1f45; --exp-ink: #e6eefc; --exp-muted: #a3b2d1; --exp-accent: #36d6e7; --exp-card: rgba(8, 16, 34, .8); --exp-line: rgba(54, 214, 231, .2); }
.exp-theme-webtech .exp-hero { background: radial-gradient(70% 120% at 72% 0%, #0f2c5c, #060b18 70%); }
.exp-theme-webtech .exp-card { border-radius: 12px; }
.exp-theme-webtech .exp-card a { color: #7fe7f2; }
.exp-theme-webtech .exp-card .btn.brand-btn { background: #36d6e7; border-color: #36d6e7; color: #04121a; border-radius: 10px; }
.exp-theme-webtech .exp-card .btn.brand-btn-ghost { color: #fff; border-radius: 10px; }
.exp-webtech .exp-stage { background: radial-gradient(60% 70% at 40% 50%, #0c1d40, #060b18 75%); }
.exp-webtech .exp-stage::before { background-image: linear-gradient(rgba(54, 214, 231, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(54, 214, 231, .06) 1px, transparent 1px); background-size: 40px 40px; }
.exp-webtech .exp-hud-bar i { background: #36d6e7; }
.exp-hebergement .exp-stage { --n1: 0; --n2: 0; --n3: 0; --n4: 0; --n5: 0; --n6: 0; --n7: 0; --n8: 0; --n9: 0; --n10: 0; --c1: 0; --c2: 0; --c3: 0; --c4: 0; --c5: 0; --c6: 0; --c7: 0; --c8: 0; }
.hx { position: absolute; left: 2%; top: 6%; width: 57%; height: 86%; }
.hx-n { transition: opacity .2s; transform-box: fill-box; transform-origin: center; }
.hx-n1 { opacity: var(--n1); } .hx-n2 { opacity: var(--n2); } .hx-n3 { opacity: var(--n3); } .hx-n4 { opacity: var(--n4); } .hx-n5 { opacity: var(--n5); }
.hx-n6 { opacity: var(--n6); } .hx-n7 { opacity: var(--n7); } .hx-n8 { opacity: var(--n8); } .hx-n9 { opacity: var(--n9); } .hx-n10 { opacity: var(--n10); }
.hx-n2 { transform: scale(calc(.8 + var(--n2) * .2)); } .hx-n4 { transform: translateY(calc((1 - var(--n4)) * 20px)); } .hx-n8 { transform: scale(calc(.5 + var(--n8) * .5)); }
.hx-c { fill: none; stroke: #36d6e7; stroke-width: 3; stroke-dasharray: 1; stroke-linecap: round; }
.hx-c1 { stroke-dashoffset: calc(1 - var(--c1)); } .hx-c2 { stroke-dashoffset: calc(1 - var(--c2)); } .hx-c3 { stroke-dashoffset: calc(1 - var(--c3)); } .hx-c4 { stroke-dashoffset: calc(1 - var(--c4)); }
.hx-c5 { stroke-dashoffset: calc(1 - var(--c5)); } .hx-c6 { stroke-dashoffset: calc(1 - var(--c6)); } .hx-c7 { stroke-dashoffset: calc(1 - var(--c7)); } .hx-c8 { stroke-dashoffset: calc(1 - var(--c8)); }
.hx-back { stroke: #7dd3fc; stroke-width: 2.5; } .hx-mail { stroke: #ffd166; } .hx-save { stroke: #3ddc84; }
.hx-dot { fill: #fff; filter: drop-shadow(0 0 6px #36d6e7); }
.hx-dot.d1 { opacity: var(--c3); } .hx-dot.d2 { opacity: var(--c6); fill: #7dd3fc; } .hx-dot.d3 { opacity: var(--c7); fill: #ffd166; } .hx-dot.d4 { opacity: var(--c8); fill: #3ddc84; }
.hx-label { font: 700 15px var(--font); fill: #c9d6f0; }
.hx-small { font: 500 13px ui-monospace, Consolas, monospace; fill: #7fe7f2; }
.hx-t-white { font: 700 15px var(--font); fill: #fff; } .hx-t-dark { font: 600 11px var(--font); fill: #0b1324; } .hx-green { font: 800 16px var(--font); fill: #3ddc84; }
.hx-led { fill: #3ddc84; animation: sv-blink 1.2s infinite; }
.exp-issues { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: .9rem; }
.exp-issues a { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--exp-line); background: rgba(255, 255, 255, .03); color: var(--exp-ink) !important; text-decoration: none; }
.exp-issues code { min-width: 64px; padding: 2px 6px; border-radius: 6px; background: rgba(54, 214, 231, .14); color: #7fe7f2; font-size: .78rem; text-align: center; }
@media (max-width: 860px) { .hx { left: 1%; width: 98%; top: 4%; height: 90%; } .exp-theme-webtech .exp-card { background: rgba(6, 12, 26, .95); } }
@media (prefers-reduced-motion: reduce) { .hx-dot { display: none; } }

/* ---------- Expérience « Messages en masse » : communication, teal ---------- */
.exp-theme-messages { --exp-bg: #061418; --exp-bg2: #0c3a3a; --exp-ink: #e4f6f2; --exp-muted: #9fc1ba; --exp-accent: #25d0a0; --exp-card: rgba(6, 24, 26, .82); --exp-line: rgba(37, 208, 160, .2); }
.exp-theme-messages .exp-hero { background: radial-gradient(70% 120% at 72% 0%, #0f4a44, #061418 70%); }
.exp-theme-messages .exp-card { border-radius: 18px 18px 18px 4px; }
.exp-theme-messages .exp-card a { color: #6ee8c6; }
.exp-theme-messages .exp-card .btn.brand-btn { background: #25d0a0; border-color: #25d0a0; color: #04140f; border-radius: 999px; }
.exp-theme-messages .exp-card .btn.brand-btn-ghost { color: #fff; border-radius: 999px; }
.exp-messages .exp-stage { background: radial-gradient(60% 70% at 40% 50%, #0b2e2e, #061418 75%); }
.exp-messages .exp-stage::before { background-image: radial-gradient(circle, rgba(37, 208, 160, .12) 1.5px, transparent 2px); background-size: 24px 24px; }
.exp-messages .exp-hud-bar i { background: #25d0a0; }
.lg-ok { background: #25d0a0; } .lg-ko { background: #ff6b6b; }
.exp-messages-en-masse .exp-stage { --org: 0; --sys: 0; --contacts: 0; --compose: 0; --send: 0; --track: 0; --clean: 0; }
.mm { position: absolute; inset: 7% 41% 8% 3%; font-size: clamp(.62rem, .85vw, .82rem); color: #e4f6f2; }
.mm > * { position: absolute; }
.mm-org { left: 0; top: 0; display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 14px; background: #0f2f30; border: 1px solid rgba(37, 208, 160, .3); opacity: var(--org); transform: translateY(calc((1 - var(--org)) * -16px)); }
.mm-ico { width: 30px; height: 30px; border-radius: 8px; background: #25d0a0; color: #04140f; display: flex; align-items: center; justify-content: center; }
.mm-ico .icon { width: 18px; height: 18px; }
.mm-sys { left: 0; top: 16%; width: 52%; bottom: 20%; border-radius: 16px; background: #f4fbf9; color: #0e2a26; box-shadow: 0 24px 50px rgba(0, 0, 0, .4); overflow: hidden; opacity: var(--sys); transform: scale(calc(.94 + var(--sys) * .06)); display: flex; flex-direction: column; }
.mm-sys-head { padding: 10px 14px; background: #0e2a26; color: #fff; display: flex; flex-direction: column; } .mm-sys-head span { opacity: .7; font-size: .85em; }
.mm-list { list-style: none; margin: 0; padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mm-list li { --i: 0; display: flex; gap: 8px; align-items: center; padding: 4px 6px; border-radius: 6px; background: #e6f4f0; opacity: clamp(0, calc(var(--contacts) * 8 - var(--i)), 1); }
.mm-list li:nth-child(2) { --i: 1; } .mm-list li:nth-child(3) { --i: 2; } .mm-list li:nth-child(4) { --i: 3; } .mm-list li:nth-child(5) { --i: 4; } .mm-list li:nth-child(6) { --i: 5; } .mm-list li:nth-child(7) { --i: 6; } .mm-list li:nth-child(8) { --i: 7; }
.mm-list li i { width: 16px; height: 16px; border-radius: 50%; background: #9fd9c8; flex: none; }
.mm-list li em { margin-left: auto; font-style: normal; font-size: .85em; color: #157f5c; }
.mm-list li.is-bad { background: color-mix(in srgb, #fdecea calc(var(--clean) * 100%), #e6f4f0); }
.mm-list li.is-bad em { color: #b42318; }
.mm-compose { padding: 10px; border-top: 1px solid #d5ebe4; display: flex; gap: 8px; align-items: flex-end; opacity: var(--compose); }
.mm-bubble { flex: 1; padding: 8px 10px; border-radius: 12px 12px 12px 3px; background: #dff7ef; overflow: hidden; }
.mm-typed { display: block; clip-path: inset(0 calc((1 - var(--compose)) * 100%) 0 0); }
.mm-send { font-style: normal; padding: 6px 12px; border-radius: 999px; background: #25d0a0; color: #04140f; font-weight: 800; transform: scale(calc(1 + var(--send) * .06)); }
.mm-lines { left: 52%; top: 16%; width: 18%; height: 64%; }
.mm-lines path { fill: none; stroke: #25d0a0; stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--send)); opacity: .7; }
.mm-phones { right: 0; top: 16%; width: 30%; height: 64%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mm-phone { --i: 0; position: relative; border-radius: 8px; background: #0b1f20; border: 2px solid #23484a; }
.mm-phone:nth-child(2) { --i: 1; } .mm-phone:nth-child(3) { --i: 2; } .mm-phone:nth-child(4) { --i: 3; } .mm-phone:nth-child(5) { --i: 4; } .mm-phone:nth-child(6) { --i: 5; } .mm-phone:nth-child(7) { --i: 6; } .mm-phone:nth-child(8) { --i: 7; } .mm-phone:nth-child(9) { --i: 8; }
.mm-notif { position: absolute; left: 10%; right: 10%; top: 18%; height: 30%; border-radius: 6px; background: #25d0a0; box-shadow: 0 0 14px rgba(37, 208, 160, .6); opacity: clamp(0, calc(var(--send) * 10 - var(--i) - 1), 1); }
.mm-phone:nth-child(6) .mm-notif { background: #ff6b6b; box-shadow: 0 0 14px rgba(255, 107, 107, .6); }
.mm-track { left: 0; right: 0; bottom: 0; height: 16%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: center; padding: 8px 14px; border-radius: 14px; background: #0f2f30; border: 1px solid rgba(37, 208, 160, .3); opacity: var(--track); transform: translateY(calc((1 - var(--track)) * 16px)); }
.mm-track small { display: block; color: #9fc1ba; } .mm-track b { font-size: 1.4em; } .mm-track .ok { color: #25d0a0; } .mm-track .ko { color: #ff6b6b; }
.mm-bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: #23484a; overflow: hidden; }
.mm-bar i { display: block; height: 100%; width: 95%; background: #25d0a0; transform-origin: left; transform: scaleX(var(--track)); }
@media (max-width: 860px) { .mm { inset: 4% 3% 6%; } .exp-theme-messages .exp-card { background: rgba(5, 20, 22, .95); } }

/* ---------- Expérience « Logiciel de gestion » : ardoise et violet ---------- */
.exp-theme-software { --exp-bg: #0a0b1a; --exp-bg2: #1c1a4a; --exp-ink: #ebeaff; --exp-muted: #aeacd6; --exp-accent: #7c74ff; --exp-card: rgba(14, 14, 34, .82); --exp-line: rgba(124, 116, 255, .22); }
.exp-theme-software .exp-hero { background: radial-gradient(70% 120% at 72% 0%, #2a2470, #0a0b1a 70%); }
.exp-theme-software .exp-card { border-radius: 14px; }
.exp-theme-software .exp-card a { color: #b6b0ff; }
.exp-theme-software .exp-card .btn.brand-btn { background: #7c74ff; border-color: #7c74ff; color: #fff; border-radius: 10px; }
.exp-theme-software .exp-card .btn.brand-btn-ghost { color: #fff; border-radius: 10px; }
.exp-software .exp-stage { background: radial-gradient(60% 70% at 40% 50%, #1a1846, #0a0b1a 75%); }
.exp-software .exp-hud-bar i { background: #7c74ff; }
.exp-logiciel-de-gestion .exp-stage { --boot: 0; --anim: 0; }
.sw { position: absolute; inset: 7% 41% 8% 3%; border-radius: 14px; overflow: hidden; background: #f6f6fb; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); font-size: clamp(.6rem, .85vw, .8rem); color: #1b1a33; }
.sw-boot { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: #15143a; color: #fff; opacity: calc(1 - var(--boot)); pointer-events: none; }
.exp:not([data-state="boot"]) .sw-boot { opacity: 0; }
.sw-logo { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #7c74ff, #36d6e7); }
.sw-load { width: 40%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.sw-load i { display: block; height: 100%; background: #7c74ff; transform-origin: left; transform: scaleX(var(--boot)); }
.sw-boot small { opacity: .7; }
.sw-app { position: absolute; inset: 0; display: grid; grid-template-columns: 24% 1fr; }
.sw-side { background: #15143a; color: #c9c7f0; padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; }
.sw-brand { color: #fff; padding: 4px 8px 10px; }
.sw-mi { display: flex; gap: 6px; align-items: center; padding: 6px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-mi .icon { width: 14px; height: 14px; flex: none; }
.exp[data-state="dash"] .sw-mi-dash, .exp[data-state="boot"] .sw-mi-dash, .exp[data-state="products"] .sw-mi-products, .exp[data-state="stock"] .sw-mi-stock, .exp[data-state="sales"] .sw-mi-sales, .exp[data-state="clients"] .sw-mi-clients, .exp[data-state="users"] .sw-mi-users, .exp[data-state="reports"] .sw-mi-reports, .exp[data-state="auto"] .sw-mi-auto { background: #7c74ff; color: #fff; }
.sw-main { position: relative; overflow: hidden; }
.sw-view { position: absolute; inset: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.exp[data-state="boot"] .sw-v-dash, .exp[data-state="dash"] .sw-v-dash, .exp[data-state="products"] .sw-v-products, .exp[data-state="stock"] .sw-v-stock, .exp[data-state="sales"] .sw-v-sales, .exp[data-state="clients"] .sw-v-clients, .exp[data-state="users"] .sw-v-users, .exp[data-state="reports"] .sw-v-reports, .exp[data-state="auto"] .sw-v-auto, .exp[data-state="plans"] .sw-v-dash, .exp[data-state="cta"] .sw-v-dash { opacity: 1; transform: none; }
.sw-view h4 { margin: 0; font-size: 1.15em; display: flex; justify-content: space-between; align-items: center; }
.sw-btn { font-style: normal; font-size: .85em; padding: 4px 10px; border-radius: 6px; background: #7c74ff; color: #fff; }
.sw-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sw-kpis div { padding: 8px; border-radius: 8px; background: #fff; border: 1px solid #e6e5f3; }
.sw-kpis small { display: block; color: #77759a; }
.sw-kpis b { font-size: 1.2em; }
.sw-kpis .warn b { color: #c2410c; }
.sw-chart { flex: 1; display: flex; align-items: flex-end; gap: 6px; padding: 10px; border-radius: 8px; background: #fff; border: 1px solid #e6e5f3; }
.sw-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #a59fff, #7c74ff); height: 70%; }
.exp[data-state="dash"] .sw-chart .b0 { height: calc(var(--anim) * 30%); } .exp[data-state="dash"] .sw-chart .b1 { height: calc(var(--anim) * 52%); } .exp[data-state="dash"] .sw-chart .b2 { height: calc(var(--anim) * 44%); } .exp[data-state="dash"] .sw-chart .b3 { height: calc(var(--anim) * 70%); }
.exp[data-state="dash"] .sw-chart .b4 { height: calc(var(--anim) * 58%); } .exp[data-state="dash"] .sw-chart .b5 { height: calc(var(--anim) * 82%); } .exp[data-state="dash"] .sw-chart .b6 { height: calc(var(--anim) * 76%); } .exp[data-state="dash"] .sw-chart .b7 { height: calc(var(--anim) * 90%); }
.sw-table, .sw-perms { display: flex; flex-direction: column; gap: 3px; background: #fff; border-radius: 8px; border: 1px solid #e6e5f3; padding: 6px; }
.sw-tr { display: grid; grid-template-columns: 1fr 2fr 1.4fr 1fr; gap: 6px; padding: 6px 8px; border-radius: 5px; }
.sw-perms .sw-tr { grid-template-columns: 1.6fr repeat(4, 1fr); text-align: center; }
.sw-perms .sw-tr span:first-child { text-align: left; }
.sw-th { background: #f0effa; font-weight: 700; color: #4b4973; }
.sw-stockrow { display: grid; grid-template-columns: 1.5fr 2fr 40px; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid #e6e5f3; }
.sw-sbar { height: 8px; border-radius: 4px; background: #ecebf6; overflow: hidden; }
.sw-sbar i { display: block; height: 100%; background: #7c74ff; transform-origin: left; }
.s0 .sw-sbar i { transform: scaleX(.8); } .s1 .sw-sbar i { transform: scaleX(.55); } .s3 .sw-sbar i { transform: scaleX(.4); }
.s2 .sw-sbar i { background: #ef4444; transform: scaleX(calc(.4 - var(--anim) * .28)); }
.s2 b { color: #ef4444; }
.sw-alert { display: flex; gap: 6px; align-items: center; padding: 8px 10px; border-radius: 8px; background: #fff1e6; color: #9a3412; font-weight: 700; opacity: var(--anim); transform: translateY(calc((1 - var(--anim)) * 10px)); }
.sw-pos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.sw-ticket { background: #fff; border-radius: 8px; border: 1px dashed #c9c7e6; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.sw-ticket div { display: flex; justify-content: space-between; }
.sw-tot { border-top: 1px solid #e6e5f3; padding-top: 6px; font-size: 1.1em; }
.sw-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.sw-keys i { font-style: normal; text-align: center; padding: 6px 0; border-radius: 6px; background: #fff; border: 1px solid #e6e5f3; }
.sw-paid { padding: 8px 10px; border-radius: 8px; background: #e7f6ec; color: #157f3c; font-weight: 700; opacity: var(--anim); }
.sw-client { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid #e6e5f3; }
.sw-client i { width: 24px; height: 24px; border-radius: 50%; background: #c9c5ff; }
.sw-client em { margin-left: auto; font-style: normal; color: #6b6994; }
.sw-toggle { display: inline-block; width: 26px; height: 14px; border-radius: 7px; background: #d9d8ea; position: relative; }
.sw-toggle::after { content: ""; position: absolute; left: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.sw-toggle.on { background: #7c74ff; } .sw-toggle.on::after { left: 14px; }
.sw-report { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 8px; background: #fff; border: 1px solid #e6e5f3; }
.sw-report small { display: block; color: #6b6994; }
.sw-doc { width: 34px; height: 42px; border-radius: 4px; background: linear-gradient(#ef4444 0 22%, #fff 22%); border: 1px solid #e6e5f3; }
.sw-pie { width: 40%; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: conic-gradient(#7c74ff 0 calc(var(--anim) * 45%), #36d6e7 0 calc(var(--anim) * 72%), #ffd166 0 calc(var(--anim) * 100%), #ecebf6 0); }
.sw-rule { padding: 10px; border-radius: 8px; background: #fff; border: 1px solid #e6e5f3; font-family: ui-monospace, Consolas, monospace; font-size: .92em; }
.sw-rule span { padding: 2px 6px; border-radius: 4px; background: #7c74ff; color: #fff; font-weight: 700; }
.sw-v-auto .sw-rule:nth-of-type(1) { opacity: clamp(0, calc(var(--anim) * 3), 1); }
.sw-v-auto .sw-rule:nth-of-type(2) { opacity: clamp(0, calc(var(--anim) * 3 - 1), 1); }
.sw-v-auto .sw-rule:nth-of-type(3) { opacity: clamp(0, calc(var(--anim) * 3 - 2), 1); }
@media (max-width: 860px) { .sw { inset: 4% 3% 6%; } .sw-app { grid-template-columns: 30% 1fr; } .exp-theme-software .exp-card { background: rgba(10, 10, 28, .95); } }

/* ---------- Expérience « Data » : sobre, émeraude et ambre ---------- */
.exp-theme-datatheme { --exp-bg: #071211; --exp-bg2: #0e2e28; --exp-ink: #e6f5f1; --exp-muted: #a1c0b8; --exp-accent: #34d399; --exp-card: rgba(7, 22, 20, .82); --exp-line: rgba(52, 211, 153, .2); }
.exp-theme-datatheme .exp-hero { background: radial-gradient(70% 120% at 72% 0%, #12423a, #071211 70%); }
.exp-theme-datatheme .exp-card { border-radius: 10px; }
.exp-theme-datatheme .exp-card a { color: #7ee8bf; }
.exp-theme-datatheme .exp-card .btn.brand-btn { background: #34d399; border-color: #34d399; color: #04140e; border-radius: 8px; }
.exp-theme-datatheme .exp-card .btn.brand-btn-ghost { color: #fff; border-radius: 8px; }
.exp-datatheme .exp-stage { background: radial-gradient(60% 70% at 40% 50%, #0d2c27, #071211 75%); }
.exp-datatheme .exp-stage::before { background-image: linear-gradient(rgba(52, 211, 153, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(52, 211, 153, .06) 1px, transparent 1px); background-size: 28px 28px; }
.exp-datatheme .exp-hud-bar i { background: #34d399; }
.exp-data .exp-stage { --scatter: 0; --collect: 0; --store: 0; --clean: 0; --analyze: 0; --viz: 0; --decide: 0; }
.dx { position: absolute; inset: 7% 41% 8% 3%; color: #e6f5f1; font-size: clamp(.62rem, .85vw, .82rem); }
.dx > * { position: absolute; }
.dx-field { inset: 0; }
.dx-file { position: absolute; --fx: 10%; --fy: 10%; left: calc(var(--fx) * (1 - var(--collect)) + 12% * var(--collect)); top: calc(var(--fy) * (1 - var(--collect)) + 42% * var(--collect)); width: 54px; height: 66px; border-radius: 6px; background: #f3f7f6; color: #0b2a24; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; opacity: calc(var(--scatter) * (1 - var(--store))); transform: rotate(calc((1 - var(--collect)) * var(--fr, 0deg))); box-shadow: 0 10px 20px rgba(0, 0, 0, .35); }
.dx-file b { font-size: .8em; text-transform: uppercase; padding: 1px 5px; border-radius: 3px; background: #34d399; color: #04140e; }
.dx-file.f0 { --fx: 12%; --fy: 18%; --fr: -8deg; } .dx-file.f1 { --fx: 70%; --fy: 10%; --fr: 6deg; } .dx-file.f2 { --fx: 30%; --fy: 62%; --fr: 10deg; } .dx-file.f3 { --fx: 82%; --fy: 58%; --fr: -12deg; }
.dx-file.f4 { --fx: 52%; --fy: 36%; --fr: 4deg; } .dx-file.f5 { --fx: 8%; --fy: 78%; --fr: -4deg; } .dx-file.f6 { --fx: 62%; --fy: 80%; --fr: 9deg; } .dx-file.f7 { --fx: 40%; --fy: 12%; --fr: -6deg; }
.dx-file.f1 b, .dx-file.f6 b { background: #fbbf24; }
.dx-db { left: 4%; top: 30%; width: 24%; display: flex; flex-direction: column; align-items: center; gap: 4px; opacity: var(--store); transform: scale(calc(.8 + var(--store) * .2)); }
.dx-db i { width: 100%; height: 34px; border-radius: 50% / 30%; background: linear-gradient(180deg, #1f5a4d, #123a32); border: 2px solid #34d399; }
.dx-db span { margin-top: 6px; font-weight: 700; color: #7ee8bf; }
.dx-clean { left: 2%; top: 72%; display: flex; flex-direction: column; gap: 4px; }
.dx-clean span { padding: 3px 9px; border-radius: 999px; font-weight: 700; font-size: .9em; opacity: clamp(0, calc(var(--clean) * 3 - var(--i, 0)), 1); }
.dx-clean .dup { --i: 0; background: #3b1a1a; color: #fca5a5; text-decoration: line-through; } .dx-clean .fix { --i: 1; background: #3a2f12; color: #fde68a; } .dx-clean .ok { --i: 2; background: #123a32; color: #7ee8bf; }
.dx-gear { left: 33%; top: 38%; display: flex; flex-direction: column; align-items: center; gap: 4px; opacity: var(--analyze); color: #7ee8bf; font-weight: 700; }
.dx-gear .icon { width: 44px; height: 44px; animation: sv-spin 3s linear infinite; }
.dx-board { right: 0; top: 4%; width: 54%; height: 58%; padding: 12px; border-radius: 14px; background: #f3f7f6; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; opacity: var(--viz); transform: translateY(calc((1 - var(--viz)) * 20px)); box-shadow: 0 24px 50px rgba(0, 0, 0, .4); }
.dx-bars { grid-row: 1 / 3; display: flex; align-items: flex-end; gap: 6px; padding: 6px; border-radius: 8px; background: #fff; }
.dx-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #6ee7b7, #10b981); }
.dx-bars .v0 { height: calc(var(--viz) * 40%); } .dx-bars .v1 { height: calc(var(--viz) * 62%); } .dx-bars .v2 { height: calc(var(--viz) * 48%); } .dx-bars .v3 { height: calc(var(--viz) * 80%); } .dx-bars .v4 { height: calc(var(--viz) * 66%); } .dx-bars .v5 { height: calc(var(--viz) * 92%); }
.dx-pie { border-radius: 50%; margin: auto; width: 76%; aspect-ratio: 1; background: conic-gradient(#10b981 0 calc(var(--viz) * 50%), #fbbf24 0 calc(var(--viz) * 78%), #60a5fa 0 calc(var(--viz) * 100%), #e5ece9 0); }
.dx-line { width: 100%; height: 100%; border-radius: 8px; background: #fff; }
.dx-line path { fill: none; stroke: #10b981; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--viz)); }
.dx-decision { right: 0; bottom: 0; width: 54%; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #10b981; color: #04140e; opacity: var(--decide); transform: scale(calc(.9 + var(--decide) * .1)); }
.dx-decision .icon { width: 30px; height: 30px; stroke-width: 3; }
.dx-decision b { display: block; font-size: 1.1em; }
@media (max-width: 860px) { .dx { inset: 4% 3% 6%; } .exp-theme-datatheme .exp-card { background: rgba(6, 20, 18, .95); } }

/* ---------- Expérience « Sécurité » : technique, alerte rouge ---------- */
.exp-theme-secu { --exp-bg: #080a10; --exp-bg2: #241015; --exp-ink: #eef0f6; --exp-muted: #aab0c0; --exp-accent: #ff4d4d; --exp-card: rgba(14, 16, 24, .84); --exp-line: rgba(255, 77, 77, .2); }
.exp-theme-secu .exp-hero { background: radial-gradient(70% 120% at 72% 0%, #3a1218, #080a10 70%); }
.exp-theme-secu .exp-card { border-radius: 6px; border-left: 3px solid #ff4d4d; }
.exp-theme-secu .exp-card a { color: #ff9b9b; }
.exp-theme-secu .exp-card .btn.brand-btn { background: #ff4d4d; border-color: #ff4d4d; color: #fff; border-radius: 6px; }
.exp-theme-secu .exp-card .btn.brand-btn-ghost { color: #fff; border-radius: 6px; }
.exp-secu .exp-stage { background: radial-gradient(60% 70% at 40% 50%, #14182a, #080a10 75%); }
.exp-secu .exp-hud-bar i { background: #ff4d4d; }
.lg-cyan { background: #36d6e7; }
.exp-securite .exp-stage { --bld: 0; --sensors: 0; --central: 0; --smoke: 0; --detect: 0; --alarm: 0; --notify: 0; --safe: 0; }
.sx { position: absolute; left: 2%; top: 5%; width: 57%; height: 88%; }
.sx-bld { opacity: var(--bld); }
.sx-room { font: 600 15px var(--font); fill: #6b7790; }
.sx-sensors { opacity: var(--sensors); }
.sx-central { opacity: var(--central); }
.sx-wire { fill: none; stroke: #36d6e7; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--central)); }
.sx-small { font: 700 14px var(--font); fill: #7fe7f2; }
.sx-led { fill: color-mix(in srgb, #ff4d4d calc(var(--detect) * 100%), #3ddc84); }
.sx-cled { fill: color-mix(in srgb, #ff4d4d calc(var(--detect) * 100%), #3ddc84); }
.sx-smoke { opacity: calc(var(--smoke) * .75); transform-box: fill-box; transform-origin: bottom; transform: scale(calc(.5 + var(--smoke) * .5)); filter: blur(3px); }
.sx-detect { opacity: var(--detect); transform-box: fill-box; transform-origin: center; animation: sx-pulse 1s ease-out infinite; }
.sx-alarm { opacity: var(--alarm); animation: sx-flash .7s steps(2) infinite; }
.sx-notify { opacity: var(--notify); transform-box: fill-box; transform-origin: center; transform: translateY(calc((1 - var(--notify)) * -30px)); }
.sx-white { font: 800 14px var(--font); fill: #fff; } .sx-white-sm { font: 600 11px var(--font); fill: #fff; }
.sx-safe { opacity: var(--safe); transform-box: fill-box; transform-origin: center; transform: scale(calc(.5 + var(--safe) * .5)); }
@keyframes sx-pulse { from { transform: scale(.8); } to { transform: scale(1.15); } }
@keyframes sx-flash { 50% { opacity: calc(var(--alarm) * .3); } }
@media (max-width: 860px) { .sx { left: 1%; width: 98%; top: 3%; height: 92%; } .exp-theme-secu .exp-card { background: rgba(12, 14, 20, .95); } }
@media (prefers-reduced-motion: reduce) { .sx-detect, .sx-alarm, .dx-gear .icon { animation: none; } }

/* ---------- Expérience « Rétro » : beige, phosphore, pixels ---------- */
.exp-theme-retro { --exp-bg: #17130e; --exp-bg2: #3a2c18; --exp-ink: #f4ead8; --exp-muted: #cdbb9c; --exp-accent: #e8b04a; --exp-card: rgba(32, 25, 16, .86); --exp-line: rgba(232, 176, 74, .25); }
.exp-theme-retro .exp-hero { background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 2px, transparent 2px 4px), radial-gradient(70% 120% at 72% 0%, #4a3518, #17130e 70%); }
.exp-theme-retro .exp-hero h1, .exp-theme-retro .exp-card h2, .exp-theme-retro .exp-after h2 { font-family: "Courier New", ui-monospace, monospace; font-weight: 700; letter-spacing: 0; text-shadow: 3px 3px 0 rgba(232, 176, 74, .35); }
.exp-theme-retro .exp-card { border-radius: 2px; border: 2px solid #e8b04a; box-shadow: 6px 6px 0 rgba(0, 0, 0, .5); }
.exp-theme-retro .exp-card a { color: #f3c96e; }
.exp-theme-retro .exp-card .btn.brand-btn { background: #e8b04a; border-color: #e8b04a; color: #17130e; border-radius: 0; box-shadow: 4px 4px 0 #000; }
.exp-theme-retro .exp-card .btn.brand-btn-ghost { color: #f4ead8; border-radius: 0; }
.exp-retro .exp-stage { background: radial-gradient(60% 70% at 40% 55%, #2c2316, #17130e 75%); }
.exp-retro .exp-stage::before { background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 2px, transparent 2px 4px); background-size: auto; mask-image: none; }
.exp-retro .exp-hud { font-family: "Courier New", monospace; } .exp-retro .exp-hud-bar i { background: #e8b04a; }
.exp-retro.exp .exp-stage { --console: 0; --cart: 0; --power: 0; --crt: 0; --game: 0; --clean: 0; }
.rx { position: absolute; inset: 6% 41% 6% 3%; }
.rx > * { position: absolute; }
.rx-tv { left: 8%; top: 0; width: 84%; height: 58%; border-radius: 26px; background: linear-gradient(180deg, #6b5a44, #4d3f2e); box-shadow: inset 0 0 0 6px #3a2f22, 0 24px 40px rgba(0, 0, 0, .5); padding: 5%; display: flex; gap: 4%; }
.rx-screen { position: relative; flex: 1; border-radius: 24px / 30px; background: #0b0d0a; overflow: hidden; box-shadow: inset 0 0 40px rgba(0, 0, 0, .9); }
.rx-picture { position: absolute; inset: 0; transform: scaleY(max(.012, var(--crt))) scaleX(calc(.3 + var(--crt) * .7)); opacity: calc(var(--power) * min(1, var(--crt) * 4)); filter: brightness(calc(1 + (1 - var(--crt)) * 2)); background: #5c94fc; }
.rx-sky { position: absolute; inset: 0; background: linear-gradient(#5c94fc, #7fb0ff); opacity: var(--game); }
.rx-hud { position: absolute; left: 4%; top: 5%; font: 700 clamp(.5rem, .8vw, .72rem) "Courier New", monospace; color: #fff; opacity: var(--game); }
.rx-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: repeating-linear-gradient(90deg, #c84c0c 0 18px, #e09050 18px 20px); opacity: var(--game); }
.rx-plat { position: absolute; height: 6%; background: #c84c0c; border: 2px solid #f0a060; opacity: var(--game); }
.rx-plat.p1 { left: 40%; width: 22%; bottom: 40%; } .rx-plat.p2 { left: 70%; width: 18%; bottom: 58%; }
.rx-coin { position: absolute; width: 3.2%; aspect-ratio: 1; border-radius: 50%; background: #ffd23f; border: 2px solid #b8860b; opacity: var(--game); animation: rx-spin 1s steps(2) infinite; }
.rx-coin.c1 { left: 45%; bottom: 50%; } .rx-coin.c2 { left: 51%; bottom: 50%; } .rx-coin.c3 { left: 76%; bottom: 68%; }
.rx-hero { position: absolute; left: calc(8% + var(--game) * 30%); bottom: 16%; width: 6%; aspect-ratio: 3 / 4; opacity: var(--game); background:
  linear-gradient(#2d6a2d 0 22%, transparent 22%) top / 100% 100% no-repeat,
  linear-gradient(90deg, transparent 20%, #f5c28a 20% 80%, transparent 80%) 0 22% / 100% 24% no-repeat,
  linear-gradient(#2d6a2d, #2d6a2d) 0 46% / 100% 34% no-repeat,
  linear-gradient(90deg, #6b3d1d 0 40%, transparent 40% 60%, #6b3d1d 60%) bottom / 100% 20% no-repeat;
  animation: rx-hop .5s steps(2) infinite; image-rendering: pixelated; }
.rx-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 2px, transparent 2px 4px); pointer-events: none; opacity: var(--power); }
.rx-knobs { width: 14%; display: flex; flex-direction: column; gap: 18%; padding-top: 12%; align-items: center; }
.rx-knobs i { width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #8a7658, #2f261b); box-shadow: 0 3px 0 #1f1912; }
.rx-console { left: 14%; bottom: 6%; width: 56%; height: 26%; border-radius: 10px 10px 6px 6px; background: linear-gradient(180deg, #d9cfbd, #b8ad98); box-shadow: 0 16px 30px rgba(0, 0, 0, .5), inset 0 -10px 0 #9d927e; opacity: var(--console); transform: translateY(calc((1 - var(--console)) * 30px)); }
.rx-slot { position: absolute; left: 30%; top: -4%; width: 40%; height: 18%; border-radius: 4px; background: #3d362c; }
.rx-cart { position: absolute; left: 32%; width: 36%; height: 64%; bottom: calc(86% + (1 - var(--cart)) * 120%); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #6b6d73, #4a4c52); box-shadow: 0 6px 12px rgba(0, 0, 0, .4); display: flex; align-items: flex-start; justify-content: center; padding-top: 10%; z-index: -1; }
.rx-cart span { padding: 2px 10px; background: #e8b04a; color: #17130e; font: 800 .7rem "Courier New", monospace; border-radius: 2px; }
.rx-front { position: absolute; left: 6%; right: 6%; bottom: 18%; display: flex; gap: 6%; align-items: center; }
.rx-led { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, #ff3b30 calc(var(--power) * 100%), #4a1a17); box-shadow: 0 0 calc(var(--power) * 10px) #ff3b30; }
.rx-btn { padding: 3px 8px; border-radius: 3px; background: #6b6458; color: #efe6d4; font: 700 .6rem "Courier New", monospace; }
.rx-pad { right: 2%; bottom: 4%; width: 22%; height: 14%; border-radius: 8px; background: #b8ad98; box-shadow: 0 8px 16px rgba(0, 0, 0, .4); opacity: var(--console); }
.rx-pad i { position: absolute; border-radius: 50%; }
.rx-pad .d { left: 10%; top: 30%; width: 20%; height: 40%; border-radius: 3px; background: linear-gradient(90deg, transparent 35%, #333 35% 65%, transparent 65%), linear-gradient(transparent 35%, #333 35% 65%, transparent 65%); }
.rx-pad .a { right: 10%; top: 30%; width: 14%; aspect-ratio: 1; background: #b8312f; } .rx-pad .b { right: 30%; top: 44%; width: 14%; aspect-ratio: 1; background: #b8312f; }
.rx-swab { left: 52%; bottom: 30%; width: 26%; height: 6px; border-radius: 3px; background: #f4f0e6; transform: rotate(-20deg) translateX(calc((1 - var(--clean)) * 60%)); opacity: var(--clean); }
.rx-swab::before, .rx-swab::after { content: ""; position: absolute; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.rx-swab::before { left: -6px; } .rx-swab::after { right: -6px; }
.rx-gens { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rx-gens a { display: flex; gap: 8px; align-items: center; padding: 6px 8px; border: 2px solid rgba(232, 176, 74, .4); color: #f4ead8 !important; text-decoration: none; font-size: .86rem; }
.rx-gens b { font-family: "Courier New", monospace; color: #e8b04a; }
@keyframes rx-hop { 50% { transform: translateY(-14%); } }
@keyframes rx-spin { 50% { transform: scaleX(.3); } }
@media (max-width: 860px) { .rx { inset: 4% 3% 6%; } .exp-theme-retro .exp-card { background: rgba(28, 22, 14, .96); } }
@media (prefers-reduced-motion: reduce) { .rx-hero, .rx-coin { animation: none; } }

/* ---------- Expérience « Jeux » : salle d'arcade, néon magenta ---------- */
.exp-theme-games { --exp-bg: #0c0716; --exp-bg2: #2b0f45; --exp-ink: #f1e9ff; --exp-muted: #b9a8d6; --exp-accent: #ff3fa4; --exp-card: rgba(20, 10, 34, .84); --exp-line: rgba(255, 63, 164, .22); }
.exp-theme-games .exp-hero { background: radial-gradient(60% 120% at 20% 0%, rgba(255, 63, 164, .35), transparent 60%), radial-gradient(60% 120% at 85% 0%, rgba(76, 201, 240, .35), transparent 60%), #0c0716; }
.exp-theme-games .exp-hero h1 { font-weight: 800; text-shadow: 0 0 24px rgba(255, 63, 164, .5); }
.exp-theme-games .exp-card { border-radius: 16px; }
.exp-theme-games .exp-card a { color: #ff8cc8; }
.exp-theme-games .exp-card .btn.brand-btn { background: #ff3fa4; border-color: #ff3fa4; color: #fff; border-radius: 12px; }
.exp-theme-games .exp-card .btn.brand-btn-ghost { color: #fff; border-radius: 12px; }
.exp-games .exp-stage { background: radial-gradient(50% 60% at 25% 40%, rgba(255, 63, 164, .16), transparent 70%), radial-gradient(50% 60% at 55% 70%, rgba(76, 201, 240, .14), transparent 70%), #0c0716; }
.exp-games .exp-hud-bar i { background: #ff3fa4; }
.exp-jeux .exp-stage { --wall: 0; --focus: 0; --inst: 0; }
.gw { position: absolute; inset: 6% 41% 7% 3%; }
.gw-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; align-content: center; perspective: 900px; }
.gw-item { --i: 0; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 22px rgba(0, 0, 0, .45); opacity: clamp(0, calc(var(--wall) * 26 - var(--i)), 1); transform: translateZ(calc((1 - clamp(0, calc(var(--wall) * 26 - var(--i)), 1)) * -300px)) rotateY(calc((1 - clamp(0, calc(var(--wall) * 26 - var(--i)), 1)) * 40deg)); transition: opacity .35s, filter .35s, transform .35s; }
.gw-item .game-cover { padding: 8px; }
.gw-item .game-cover-title { font-size: clamp(.55rem, .8vw, .78rem); }
.gw-item .game-cover-meta, .gw-item .game-cover-platform { display: none; }
.exp[data-state="ps"] .gw-item:not([data-brand~="playstation"]), .exp[data-state="xbox"] .gw-item:not([data-brand~="xbox"]), .exp[data-state="nintendo"] .gw-item:not([data-brand~="nintendo"]), .exp[data-state="retro"] .gw-item:not([data-brand~="retro"]),
.exp-stage[data-filter="playstation"] .gw-item:not([data-brand~="playstation"]), .exp-stage[data-filter="xbox"] .gw-item:not([data-brand~="xbox"]), .exp-stage[data-filter="nintendo"] .gw-item:not([data-brand~="nintendo"]), .exp-stage[data-filter="retro"] .gw-item:not([data-brand~="retro"]) { opacity: .12 !important; filter: grayscale(1); transform: scale(.94); }
.exp[data-state="ps"] .gw-item[data-brand~="playstation"], .exp[data-state="xbox"] .gw-item[data-brand~="xbox"], .exp[data-state="nintendo"] .gw-item[data-brand~="nintendo"], .exp[data-state="retro"] .gw-item[data-brand~="retro"] { box-shadow: 0 0 0 2px #fff, 0 0 24px rgba(255, 63, 164, .6); }
.exp[data-state="focus"] .gw-grid, .exp[data-state="install"] .gw-grid, .exp[data-state="buy"] .gw-grid { opacity: .15; filter: blur(2px); transition: opacity .4s, filter .4s; }
.gw-focus { position: absolute; left: 6%; right: 6%; top: 14%; display: grid; grid-template-columns: 38% 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: 18px; background: rgba(20, 10, 34, .9); border: 1px solid rgba(255, 63, 164, .4); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); opacity: var(--focus); transform: scale(calc(.85 + var(--focus) * .15)); pointer-events: none; }
.exp:not([data-state="focus"]) .gw-focus { opacity: 0; }
.gw-focus-cover { aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; }
.gw-focus-info strong { display: block; font-size: 1.3rem; margin-bottom: 8px; color: #fff; }
.gw-focus-info dl { margin: 0; display: grid; gap: 6px; }
.gw-focus-info dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #b9a8d6; }
.gw-focus-info dd { margin: 0; color: #fff; font-weight: 600; }
.gw-install { list-style: none; margin: 0; padding: 0; position: absolute; left: 4%; right: 4%; top: 36%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; opacity: 0; }
.exp[data-state="install"] .gw-install { opacity: 1; }
.gw-install li { --k: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: clamp(.55rem, .8vw, .78rem); font-weight: 700; text-align: center; opacity: clamp(.25, calc(var(--inst) * 6 - var(--k)), 1); }
.gw-install li span { width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, #ff3fa4 calc(clamp(0, var(--inst) * 6 - var(--k), 1) * 100%), #3a2a52); display: flex; align-items: center; justify-content: center; }
.gw-install li[data-k="1"] { --k: 1; } .gw-install li[data-k="2"] { --k: 2; } .gw-install li[data-k="3"] { --k: 3; } .gw-install li[data-k="4"] { --k: 4; } .gw-install li[data-k="5"] { --k: 5; }
.gw-disc { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; font-weight: 800; opacity: 0; transition: opacity .4s; }
.exp[data-state="buy"] .gw-disc { opacity: 1; }
.gw-disc span { width: 180px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #0c0716 0 9%, #c9d1e6 10% 14%, transparent 15%), conic-gradient(from 30deg, #cfd8ff, #ffd6f0, #d5fff4, #fff2c7, #cfd8ff); box-shadow: 0 0 40px rgba(255, 63, 164, .4); animation: sv-spin 6s linear infinite; }
.gw-st-disponible { border-color: #3ddc84 !important; } .gw-st-sur_demande { border-color: #ffd166 !important; }
@media (max-width: 860px) { .gw { inset: 4% 3% 6%; } .gw-grid { gap: 5px; } .exp-theme-games .exp-card { background: rgba(16, 8, 28, .95); } }
@media (prefers-reduced-motion: reduce) { .gw-disc span { animation: none; } }
.gw-item[data-i="1"] { --i: 1; }
.gw-item[data-i="2"] { --i: 2; }
.gw-item[data-i="3"] { --i: 3; }
.gw-item[data-i="4"] { --i: 4; }
.gw-item[data-i="5"] { --i: 5; }
.gw-item[data-i="6"] { --i: 6; }
.gw-item[data-i="7"] { --i: 7; }
.gw-item[data-i="8"] { --i: 8; }
.gw-item[data-i="9"] { --i: 9; }
.gw-item[data-i="10"] { --i: 10; }
.gw-item[data-i="11"] { --i: 11; }
.gw-item[data-i="12"] { --i: 12; }
.gw-item[data-i="13"] { --i: 13; }
.gw-item[data-i="14"] { --i: 14; }
.gw-item[data-i="15"] { --i: 15; }
.gw-item[data-i="16"] { --i: 16; }
.gw-item[data-i="17"] { --i: 17; }
.gw-item[data-i="18"] { --i: 18; }
.gw-item[data-i="19"] { --i: 19; }
.gw-item[data-i="20"] { --i: 20; }
.gw-item[data-i="21"] { --i: 21; }
.gw-item[data-i="22"] { --i: 22; }
.gw-item[data-i="23"] { --i: 23; }
.gw-item[data-i="24"] { --i: 24; }

/* ---------- Expérience « Homebrew » : terminal, vert lime pédagogique ---------- */
.exp-theme-homebrew { --exp-bg: #090c0a; --exp-bg2: #1a2a18; --exp-ink: #e8f2e6; --exp-muted: #a6b8a2; --exp-accent: #a3e635; --exp-card: rgba(12, 18, 12, .86); --exp-line: rgba(163, 230, 53, .2); }
.exp-theme-homebrew .exp-hero { background: radial-gradient(70% 120% at 72% 0%, #24391c, #090c0a 70%); }
.exp-theme-homebrew .exp-hero h1, .exp-theme-homebrew .exp-card h2 { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-weight: 600; letter-spacing: -.01em; }
.exp-theme-homebrew .exp-card { border-radius: 8px; }
.exp-theme-homebrew .exp-card-num::before { content: "> "; }
.exp-theme-homebrew .exp-card a { color: #c6f27a; }
.exp-theme-homebrew .exp-card .btn.brand-btn { background: #a3e635; border-color: #a3e635; color: #0b1206; border-radius: 6px; }
.exp-theme-homebrew .exp-card .btn.brand-btn-ghost { color: #fff; border-radius: 6px; }
.exp-homebrew .exp-stage { background: radial-gradient(60% 70% at 40% 50%, #142012, #090c0a 75%); }
.exp-homebrew .exp-stage::before { background-image: linear-gradient(rgba(163, 230, 53, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(163, 230, 53, .05) 1px, transparent 1px); }
.exp-homebrew .exp-hud-bar i { background: #a3e635; }
.exp-homebrew.exp .exp-stage { --l1: 0; --l2: 0; --l3: 0; --l4: 0; --l5: 0; --explode: 0; --save: 0; --warn: 0; }
.hb { position: absolute; inset: 6% 41% 6% 3%; perspective: 1200px; }
.hb-stack { position: absolute; left: 10%; right: 10%; top: 18%; height: 60%; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); }
.hb-layer { position: absolute; inset: 0; border-radius: 14px; display: flex; align-items: flex-end; justify-content: flex-start; padding: 14px; gap: 8px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .08) inset, 0 30px 40px rgba(0, 0, 0, .5); transition: opacity .3s; }
.hb-layer span { font: 700 clamp(.65rem, 1vw, .9rem) ui-monospace, Consolas, monospace; color: #fff; text-shadow: 0 1px 2px #000; margin-right: auto; }
.hb-l1 { background: linear-gradient(135deg, #14532d, #0f3d22); opacity: var(--l1); transform: translateZ(0); }
.hb-l2 { background: linear-gradient(135deg, #1e3a8a, #172a63); opacity: var(--l2); transform: translateZ(calc(20px + var(--explode) * 70px)); }
.hb-l3 { background: linear-gradient(135deg, #4c1d95, #35146a); opacity: var(--l3); transform: translateZ(calc(40px + var(--explode) * 140px)); }
.hb-l4 { background: linear-gradient(135deg, #365314, #26400c); border: 2px dashed #a3e635; opacity: var(--l4); transform: translateZ(calc(60px + var(--explode) * 210px)); }
.exp[data-state="launch"] .hb-l4, .exp[data-state="hb"] .hb-l4 { box-shadow: 0 0 0 2px #a3e635, 0 0 40px rgba(163, 230, 53, .5); }
.hb-chip { width: 22%; height: 30%; border-radius: 6px; background: #d1d5db; align-self: center; }
.hb-chip.c2 { width: 14%; height: 40%; background: #9ca3af; }
.hb-app { width: 12%; aspect-ratio: 1; border-radius: 10px; background: #c4b5fd; align-self: center; }
.hb-app.a2 { background: #a78bfa; } .hb-app.a3 { background: #ddd6fe; } .hb-app.hb-alt { background: #d9f99d; } .hb-app.hb-alt.a2 { background: #bef264; }
.hb-save { right: 0; bottom: 4%; width: 34%; padding: 12px 14px; border-radius: 12px; background: #0f2a17; border: 2px solid #3ddc84; color: #e8f2e6; opacity: var(--save); transform: translateY(calc((1 - var(--save)) * 20px)); display: flex; flex-direction: column; }
.hb-save small { color: #a6b8a2; }
.hb-warn { left: 0; bottom: 4%; display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 12px; background: #3a1414; border: 2px solid #f87171; color: #fecaca; font-weight: 700; opacity: var(--warn); }
.hb > .hb-save, .hb > .hb-warn { position: absolute; }
@media (max-width: 860px) { .hb { inset: 4% 3% 6%; } .exp-theme-homebrew .exp-card { background: rgba(10, 16, 10, .96); } }

/* ---------- Expérience « Générations PlayStation » : galerie de musée, projecteur ---------- */
.exp-theme-psgen { --exp-bg: #04060f; --exp-bg2: #0b1640; --exp-accent: #4f8cff; }
.exp-psgen .exp-stage { background: radial-gradient(35% 55% at 38% 40%, rgba(120, 150, 255, .22), transparent 70%), linear-gradient(180deg, #060a1c, #04060f); }
.exp-psgen .exp-stage::before { display: none; }
.pg { position: absolute; inset: 6% 41% 6% 3%; }
.pg-svg { position: absolute; left: 0; right: 0; bottom: 4%; width: 100%; height: 78%; }
.pg-g { opacity: 0; transform-box: fill-box; transform-origin: bottom center; transform: translateY(24px) scale(.92); transition: opacity .6s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.exp[data-state="ps1"] .pg-ps1, .exp[data-state="ps2"] .pg-ps2, .exp[data-state="ps3"] .pg-ps3, .exp[data-state="ps4"] .pg-ps4, .exp[data-state="ps5"] .pg-ps5, .exp[data-state="portables"] .pg-portables, .exp[data-state="compat"] .pg-compat, .exp[data-state="cta"] .pg-ps5 { opacity: 1; transform: none; }
.pg-cap { font: 700 18px var(--font); fill: #c9d6f0; }
.pg-year { position: absolute; left: 0; right: 0; top: 0; text-align: center; font: 200 clamp(3rem, 9vw, 7rem)/1 var(--font); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(160, 190, 255, .55); opacity: 0; transform: translateY(-10px); transition: opacity .5s, transform .6s; }
.exp[data-state="ps1"] .pg-year[data-y="ps1"], .exp[data-state="ps2"] .pg-year[data-y="ps2"], .exp[data-state="ps3"] .pg-year[data-y="ps3"], .exp[data-state="ps4"] .pg-year[data-y="ps4"], .exp[data-state="ps5"] .pg-year[data-y="ps5"], .exp[data-state="portables"] .pg-year[data-y="portables"] { opacity: 1; transform: none; }
@media (max-width: 860px) { .pg { inset: 4% 3% 6%; } }

/* ---------- Badges et affichage des promotions / tarifs ---------- */
.product-media { position: relative; }
.product-badge-promo { position: absolute; top: 12px; left: 12px; background: #e11d48; color: #fff; padding: 3px 10px; border-radius: 999px; font-weight: 800; font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(225, 29, 72, .35); z-index: 2; pointer-events: none; }
.product-promo-badge-wrap { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin-bottom: 6px; }
.badge-promo-flag { display: inline-flex; align-items: center; background: #ffe4e6; color: #be123c; border: 1px solid #fecdd3; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; }
.product-price-discounted { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0; }
.product-price-discounted .price-promo { color: #e11d48; font-weight: 850; font-size: 1.15em; }
.product-price-discounted .price-regular { color: var(--muted); text-decoration: line-through; font-size: 0.88em; font-weight: 500; }
.product-price-on-demand { color: var(--muted) !important; font-weight: 600; font-size: 0.95rem; }

