/* Les pages Use case (13 nov. 2026) : le gabarit des pages « capabilities » de ltx.io (relevé dans
   E:/claude-scratch/use-cases-13-11/ltx/RELEVE.md) dans l'identité claire de /sand3d/ : bande Craie, cadres blancs arrondis,
   Inter 300 pour les titres, texte noir puis gris. Aucun style en ligne (CSP) : uc.js ne pose que des classes. */
.uc-page { --uc-encre: #121117; --uc-gris: #6B6874; --uc-pale: #8E8B96; --uc-fond: #F7F6F3; --uc-creux: #EFEDE9;
  --uc-filet: rgba(18, 17, 23, .1); --uc-vue: #ECECEF; --uc-violet: #7C3AED; background: var(--uc-fond); }
.uc-page main, .uc-page .uc-hero, .uc-page .uc-sec, .uc-page .uc-fin { background: var(--uc-fond); color: var(--uc-encre); }

/* ---------- cadres de média : 16:9, coins de 1rem, fond de vue claire */
.uc-cadre { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 1rem; background: var(--uc-vue);
  box-shadow: inset 0 0 0 1px rgba(18, 17, 23, .06); }
.uc-cadre > video, .uc-cadre > img, .uc-cadre > .uc-balayage { display: block; width: 100%; height: 100%; object-fit: cover; }
.uc-cadre .uc-balayage { aspect-ratio: auto; border-radius: 0; }
/* une image plus large que 16:9 (la rangée de variantes, 3:1) : le cadre prend son format, sans bande ni rognage */
.uc-cadre:has(> img.uc-entier) { aspect-ratio: 3 / 1; }
.uc-credit { margin: .75rem 0 0; font-size: .75rem; line-height: 1.4; color: var(--uc-pale); }

/* ---------- ouverture : texte 1fr, média 1.3fr (LTX), centrés verticalement */
.uc-hero { padding: clamp(7rem, 11vw, 9.5rem) 0 clamp(3.5rem, 6vw, 5rem); }
.uc-hero-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: center; }
.uc-hero .v2-sur a { color: inherit; text-decoration: none; }
.uc-hero .v2-sur a::before { content: "// "; }
.uc-hero .v2-sur a:hover { color: var(--uc-encre); }
.uc-h1 { margin: 0; font-size: clamp(2.125rem, 3.7vw, 3.5rem); font-weight: 300; line-height: 1.04; letter-spacing: -.035em; color: var(--uc-encre); }
.uc-h1 > span { display: block; }
/* sur ordinateur, une ligne du titre = une ligne écrite (l'escalier de gen.stair), jamais coupée */
@media (min-width: 992px) { .uc-hero-grille .uc-h1 { font-size: min(2.9vw, 3.25rem); } .uc-hero-grille .uc-h1 > span { white-space: nowrap; } }
.uc-lead { max-width: 30em; margin: 1.375rem 0 0; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); font-weight: 300; line-height: 1.45;
  color: var(--uc-gris); text-wrap: pretty; }
.uc-hero .btns { margin-top: 1.875rem; }
.uc-hero-centre .uc-h1 { font-size: clamp(2.25rem, 4.6vw, 4.25rem); }
/* les boutons à contour sur la bande claire : blancs, filet gris (comme /sand3d/) */
.uc-page .uc-sec .btn.contour { background: #fff; color: var(--uc-encre); box-shadow: inset 0 0 0 1px rgba(18, 17, 23, .14); }
.uc-page .uc-sec .btn.contour:hover { background: var(--uc-creux); }
.uc-hero .btns .btn.contour:not([data-liste-attente]) { background: #fff; color: var(--uc-encre); box-shadow: inset 0 0 0 1px rgba(18, 17, 23, .14); }
.uc-hero .btns .btn.contour:not([data-liste-attente]):hover { background: var(--uc-creux); }
.uc-hero-centre { text-align: center; }
.uc-hero-centre .uc-lead { margin-inline: auto; }
.uc-hero-centre .btns { justify-content: center; }
.uc-hero > .uc-credit { margin-top: .75rem; text-align: right; }
@media (max-width: 991px) {
  .uc-hero-grille { grid-template-columns: minmax(0, 1fr); }
  .uc-hero > .uc-credit { text-align: left; }
}

/* ---------- sections : la tête de ltx.io (gen.tete_ltx) sur la bande claire */
.uc-sec { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.uc-sec + .uc-sec { padding-top: 0; }
.uc-sec .v2-tete { margin-bottom: clamp(2.5rem, 4.5vw, 4rem); }
.uc-sec h3 { margin: 0; font-size: 1.25rem; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; color: var(--uc-encre); }
.uc-sec p { color: var(--uc-gris); }

/* ---------- capacités : trois cartes, titre et phrase calés en bas (LTX) */
.uc-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.uc-cap { display: flex; flex-direction: column; min-height: 17rem; padding: 1.75rem; border-radius: 1rem; background: #fff;
  box-shadow: 0 1px 2px rgba(18, 17, 23, .04), 0 1rem 2rem -1.5rem rgba(18, 17, 23, .14); }
.uc-cap-ic { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: auto; border-radius: .625rem;
  background: var(--uc-creux); color: var(--uc-encre); }
.uc-cap-ic svg { width: 1.25rem; height: 1.25rem; }
.uc-cap h3 { margin-top: 2.5rem; }
.uc-cap p { margin: .625rem 0 0; font-size: .9375rem; line-height: 1.5; text-wrap: pretty; }
@media (max-width: 991px) { .uc-caps { grid-template-columns: minmax(0, 1fr); } .uc-cap { min-height: 0; } .uc-cap h3 { margin-top: 1.5rem; } }

/* ---------- étapes épinglées : le texte défile à gauche, le média reste à droite (LTX, gabarit VFX) */
.uc-etapes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.uc-etapes-liste { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.uc-etape { display: flex; flex-direction: column; justify-content: center; min-height: 72vh; padding: 2rem 0;
  opacity: .28; transition: opacity .5s ease-in-out; }
.uc-etape:first-child { min-height: 50vh; justify-content: flex-start; padding-top: 12vh; }
.uc-etape:last-child { min-height: 60vh; }
.uc-etape.actif { opacity: 1; }
.uc-etape-n { margin-bottom: .875rem; font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--uc-violet);
  font-variant-numeric: tabular-nums; }
.uc-etape h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 400; letter-spacing: -.02em; }
.uc-etape p { max-width: 26em; margin: .75rem 0 0; font-size: 1rem; line-height: 1.55; text-wrap: pretty; }
.uc-code { display: block; max-width: 100%; margin-top: 1.125rem; padding: .625rem .875rem; overflow-x: auto; border-radius: .625rem;
  background: #fff; box-shadow: inset 0 0 0 1px var(--uc-filet); font: 400 .75rem/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: #3F3E44; white-space: pre; }
.uc-etapes-colle { position: sticky; top: max(5rem, calc(50vh - 13rem)); }   /* le média (≈ 24 rem de haut) au milieu de l'écran */
.uc-etapes-media { aspect-ratio: 16 / 9; }
.uc-etapes-media .uc-etape-img { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease-in-out, visibility .5s; }
.uc-etapes-media .uc-etape-img.actif { opacity: 1; visibility: visible; }
@media (max-width: 991px) {
  .uc-etapes { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .uc-etapes-colle { order: -1; top: 3.75rem; z-index: 2; padding: .5rem 0; background: var(--uc-fond); }
  .uc-etape, .uc-etape:first-child, .uc-etape:last-child { min-height: 58vh; padding-top: 2rem; justify-content: flex-start; }
}

/* ---------- les viewers (use-cases-medias/viewers) : l'affiche tient la place jusqu'au montage */
.uc-viewer { position: relative; width: 100%; height: 100%; }
.uc-viewer-affiche { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s ease; }
.uc-viewer.monte .uc-viewer-affiche { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.uc-etapes-media[data-mode="viewer"] { aspect-ratio: auto; overflow: visible; background: none; box-shadow: none; }
.uc-etapes-media[data-mode="viewer"] .uc-viewer-affiche { aspect-ratio: 16 / 9; border-radius: 1rem; }

/* ---------- exemples : la pile de cartes qui se dépile (LTX, CSS pur : collées par le bas) */
.uc-pile { margin: 0; padding: 0 0 4rem; list-style: none; }
.uc-pile-carte { position: sticky; bottom: 10vh; display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center; margin-bottom: 10rem; padding: clamp(1.25rem, 3vw, 3rem); border-radius: 1.25rem; background: #fff;
  box-shadow: 0 1px 2px rgba(18, 17, 23, .04), 0 1.5rem 3rem -2rem rgba(18, 17, 23, .22); }
.uc-pile-carte:last-child { margin-bottom: 0; }
.uc-pile-carte:nth-child(1) { bottom: 18vh; z-index: 6; }
.uc-pile-carte:nth-child(2) { bottom: 16vh; z-index: 5; }
.uc-pile-carte:nth-child(3) { bottom: 14vh; z-index: 4; }
.uc-pile-carte:nth-child(4) { bottom: 12vh; z-index: 3; }
.uc-pile-carte:nth-child(5) { bottom: 10vh; z-index: 2; }
.uc-pile-texte h3 { font-size: clamp(1.5rem, 2.4vw, 2.1875rem); font-weight: 300; letter-spacing: -.025em; }
.uc-pile-texte p { margin: .75rem 0 0; font-size: 1rem; line-height: 1.5; }
@media (max-width: 991px) {
  .uc-pile-carte { position: static; grid-template-columns: minmax(0, 1fr); margin-bottom: 1rem; }
}

/* ---------- entrée / sortie : deux cartes, puces techniques ; entrée en sortant du flou (LTX : blur 16 px → 0, 0,5 s) */
.uc-es { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.uc-es-carte { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 1rem; background: #fff; box-shadow: inset 0 0 0 1px var(--uc-filet); }
.uc-es-nom { margin: 0 0 1.25rem; font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--uc-pale); }
.uc-es-carte h3 { font-size: clamp(1.5rem, 2.4vw, 2.1875rem); font-weight: 300; letter-spacing: -.025em; }
.uc-es-carte > p:not(.uc-es-nom):not(.uc-es-t) { margin: .75rem 0 0; font-size: 1rem; line-height: 1.5; }
.uc-es-t { margin: 1.75rem 0 .5rem; font-size: .875rem; font-weight: 500; color: var(--uc-encre) !important; }
.uc-es ul { margin: 0; padding: 0; list-style: none; }
.uc-es li { padding: .625rem 0; border-top: 1px solid var(--uc-filet); font-size: .9375rem; color: #3F3E44; }
.v2-anim .uc-flou { filter: blur(16px); opacity: .4; transition: filter .5s cubic-bezier(.215, .61, .355, 1), opacity .5s ease; }
.v2-anim .uc-flou.vu { filter: none; opacity: 1; }
@media (max-width: 991px) { .uc-es { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ : sur-titre à gauche, accordéon à droite, « + » qui pivote en « − » */
.uc-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; }
.uc-faq-liste { border-bottom: 1px solid var(--uc-filet); }
.uc-q { border-top: 1px solid var(--uc-filet); }
.uc-q summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.375rem 0; cursor: pointer; list-style: none; }
.uc-q summary::-webkit-details-marker { display: none; }
.uc-q summary h3 { font-size: 1.125rem; font-weight: 400; }
.uc-plus { position: relative; flex: none; width: .875rem; height: .875rem; }
.uc-plus::before, .uc-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px;
  background: var(--uc-encre); transition: transform .35s cubic-bezier(.165, .84, .44, 1); }
.uc-plus::after { transform: rotate(90deg); }
.uc-q[open] .uc-plus::after { transform: rotate(0deg); }
.uc-r p { max-width: 38em; margin: 0 0 1.5rem; font-size: 1rem; line-height: 1.55; }
.v2-anim .uc-q[open] .uc-r { animation: uc-ouvre .45s cubic-bezier(.215, .61, .355, 1); }
@keyframes uc-ouvre { from { opacity: 0; transform: translateY(-.5rem); } to { opacity: 1; transform: none; } }
@media (max-width: 991px) { .uc-faq { grid-template-columns: minmax(0, 1fr); gap: .5rem; } }

/* ---------- cartes d'usage (voisins et hub) : vidéo au survol (LTX), toute la carte est le lien */
.uc-cartes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.uc-cartes-hub { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.uc-cartes-hub > li { grid-column: span 2; }
.uc-cartes-hub > li:nth-child(-n+2) { grid-column: span 3; }
.uc-carte { display: flex; flex-direction: column; height: 100%; padding: .625rem .625rem 1.25rem; border-radius: 1.25rem; background: #fff;
  color: var(--uc-encre); text-decoration: none; box-shadow: 0 1px 2px rgba(18, 17, 23, .04), 0 1rem 2rem -1.5rem rgba(18, 17, 23, .14);
  transition: box-shadow .35s cubic-bezier(.165, .84, .44, 1), transform .35s cubic-bezier(.165, .84, .44, 1); }
.uc-carte:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(18, 17, 23, .06), 0 1.5rem 2.5rem -1.5rem rgba(18, 17, 23, .24); }
.uc-carte .uc-cadre { border-radius: .75rem; }
.uc-carte .uc-cadre video { position: absolute; inset: 0; }
.uc-carte-t { display: flex; align-items: center; gap: .5rem; margin: 1.125rem .625rem 0; font-size: 1.0625rem; font-weight: 500; }
.uc-carte-ic { display: inline-grid; color: var(--uc-gris); }
.uc-carte-ic svg { width: 1rem; height: 1rem; }
.uc-carte-p { margin: .375rem .625rem 0; font-size: .875rem; line-height: 1.45; color: var(--uc-gris); }
.uc-carte-lien { display: inline-flex; align-items: center; gap: .375rem; margin: auto .625rem 0; padding-top: 1rem; font-size: .8125rem;
  font-weight: 500; color: var(--uc-encre); }
.uc-carte-lien svg { width: .875rem; height: .875rem; transition: transform .35s cubic-bezier(.165, .84, .44, 1); }
.uc-carte:hover .uc-carte-lien svg { transform: translateX(3px); }
.uc-carte.grande .uc-carte-t { font-size: 1.375rem; font-weight: 400; letter-spacing: -.015em; }
@media (max-width: 991px) {
  .uc-cartes, .uc-cartes-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uc-cartes-hub > li, .uc-cartes-hub > li:nth-child(-n+2) { grid-column: auto; }
}
@media (max-width: 600px) { .uc-cartes, .uc-cartes-hub { grid-template-columns: minmax(0, 1fr); } }

/* ---------- fin : la carte noire du modèle de l'accueil, sur la bande claire */
.uc-fin { padding: 0 0 clamp(4.5rem, 8vw, 7rem); }
.uc-fin-carte { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5.5rem); border-radius: 1.5rem;
  background: var(--uc-encre); color: #F7F6F3; }
.uc-fin-carte .waves { position: absolute; inset: 0; }
.uc-fin-contenu { position: relative; max-width: 34rem; }
.uc-fin-contenu .v2-sur { color: var(--uc-pale); }
.uc-fin-contenu .v2-cta-t { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.05; letter-spacing: -.03em; color: #F7F6F3; }
.uc-fin-contenu .v2-cta-t > span { display: block; }
.uc-fin-contenu .v2-cta-p { margin: 1.25rem 0 0; font-size: 1.0625rem; font-weight: 300; line-height: 1.5; color: rgba(247, 246, 243, .72); }
.uc-fin-contenu .btns { margin-top: 1.75rem; }

/* ---------- fil d'Ariane (LTX, en bas de page) */
.uc-ariane { padding: 0 0 2.5rem; font-size: .8125rem; color: var(--uc-pale); }
.uc-ariane a { color: var(--uc-gris); text-decoration: none; }
.uc-ariane a:hover { color: var(--uc-encre); }
.uc-page .uc-ariane { background: var(--uc-fond); }

/* ---------- bande sombre : les nuages de points (Tanguy, 13 nov. : « sur fond noir de préférence ») */
.uc-page .uc-sec.uc-sombre { padding-top: clamp(4.5rem, 8vw, 8rem); background: #0A0A0C; color: #F7F6F3; }
.uc-sombre + .uc-sec { padding-top: clamp(4.5rem, 8vw, 8rem); }
.uc-sombre .stair, .uc-sombre h3 { color: #F7F6F3; }
.uc-sombre p, .uc-sombre .v2-tete-l { color: rgba(247, 246, 243, .64); }
.uc-sombre .uc-code { background: #17161B; box-shadow: inset 0 0 0 1px rgba(247, 246, 243, .1); color: rgba(247, 246, 243, .82); }
.uc-sombre .uc-cadre { background: #0A0A0C; box-shadow: inset 0 0 0 1px rgba(247, 246, 243, .08); }
.uc-sombre .uc-credit { color: rgba(247, 246, 243, .45); }
@media (max-width: 991px) { .uc-sombre .uc-etapes-colle { background: #0A0A0C; } }

/* =========================================================================== refonte page par page (13 nov., nuit)
   Trame : Code to 3D, puis ce que ça change pour l'usage, puis la démonstration. Contrôles clairs, accent violet, aucune
   carte noire face à une blanche (Tanguy : « les onglets noir et blanc comme ça je trouve ça horrible »). */

/* ---------- Code to 3D : les idées à gauche, le programme à droite ; l'idée choisie allume ses lignes */
.uc-c3d { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem; align-items: start; }
.uc-c3d-idees { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.uc-c3d-b { display: grid; grid-template-columns: 1.75rem 1fr; gap: .25rem .75rem; width: 100%; padding: 1rem 1.125rem;
  border: 0; border-radius: .875rem; background: transparent; font: inherit; text-align: left; color: var(--uc-encre); cursor: pointer;
  transition: background .25s ease, box-shadow .25s ease; }
.uc-c3d-b:hover { background: rgba(255, 255, 255, .6); }
.uc-c3d-b[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 2px rgba(18, 17, 23, .06), 0 .75rem 1.5rem -1rem rgba(18, 17, 23, .2); }
.uc-c3d-n { grid-row: span 2; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--uc-creux); font-size: .75rem; font-weight: 600; color: var(--uc-gris); }
.uc-c3d-b[aria-pressed="true"] .uc-c3d-n { background: var(--uc-violet); color: #fff; }
.uc-c3d-t { font-size: 1.0625rem; font-weight: 500; line-height: 1.75rem; }
.uc-c3d-p { font-size: .9375rem; line-height: 1.5; color: var(--uc-gris); }
.uc-c3d-b:not([aria-pressed="true"]) .uc-c3d-p { display: none; }
.uc-c3d-code { min-width: 0; padding: 1.125rem 0 .75rem; border-radius: 1rem; background: #fff; box-shadow: inset 0 0 0 1px var(--uc-filet); }
.uc-c3d-fichier { margin: 0 1.25rem .75rem; font: 500 .8125rem/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--uc-encre) !important; }
.uc-c3d-fichier span { margin-left: .5rem; font-family: Inter, sans-serif; font-weight: 400; color: var(--uc-pale); }
.uc-c3d-code ol { max-height: 30rem; margin: 0; padding: 0; overflow: auto; list-style: none; }
.uc-c3d-code li { display: grid; grid-template-columns: 2.75rem 1fr; padding: 0 1.25rem 0 0;
  font: 400 .75rem/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #3F3E44; transition: opacity .3s ease; }
.uc-c3d-code li.c { color: var(--uc-pale); }
.uc-c3d-code .ln { padding-right: .75rem; text-align: right; color: var(--uc-pale); }
.uc-c3d-code code { font: inherit; white-space: pre; }
.uc-c3d-code span.piece, .uc-c3d-code span.dim, .uc-c3d-code span.param { border-radius: 3px; transition: background .3s ease, color .3s ease; }
.uc-c3d[data-h="piece"] span.piece, .uc-c3d[data-h="dim"] span.dim, .uc-c3d[data-h="param"] span.param {
  background: rgba(124, 58, 237, .14); color: #5B21B6; }
.uc-c3d[data-h="opt"] li.opt { background: rgba(124, 58, 237, .1); box-shadow: inset 3px 0 0 var(--uc-violet); }
.uc-c3d[data-h="opt"] li.opt code { text-decoration: line-through; text-decoration-color: rgba(91, 33, 182, .5); }
.uc-c3d-source { margin: .75rem 1.25rem 0; font-size: .75rem; color: var(--uc-pale) !important; }
.uc-c3d-source a { color: inherit; }
@media (max-width: 991px) { .uc-c3d { grid-template-columns: minmax(0, 1fr); } }

/* ---------- avant / après : un tableau clair, la colonne « code » marquée d'un filet violet */
.uc-aa { overflow-x: auto; border-radius: 1rem; background: #fff; box-shadow: inset 0 0 0 1px var(--uc-filet); }
.uc-aa table { width: 100%; border-collapse: collapse; }
.uc-aa th, .uc-aa td { padding: 1rem 1.5rem; border-bottom: 1px solid var(--uc-filet); text-align: left; vertical-align: top;
  font-size: 1rem; line-height: 1.45; }
.uc-aa tbody tr:last-child th, .uc-aa tbody tr:last-child td { border-bottom: 0; }
.uc-aa thead th { font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--uc-pale); }
.uc-aa thead th:last-child { color: var(--uc-violet); }
.uc-aa tbody th { width: 11rem; font-weight: 500; color: var(--uc-encre); }
.uc-aa td { color: var(--uc-gris); }
.uc-aa td:last-child { color: var(--uc-encre); box-shadow: inset 2px 0 0 rgba(124, 58, 237, .35); }

/* ---------- étapes au clic : la liste numérotée à gauche, le média à droite (plus d'épinglage) */
.uc-etapes { align-items: center; }
.uc-etapes-liste .uc-etape, .uc-etapes-liste .uc-etape:first-child, .uc-etapes-liste .uc-etape:last-child {
  display: block; min-height: 0; padding: 0; border-top: 1px solid var(--uc-filet); opacity: 1; }
.uc-etapes-liste .uc-etape:last-child { border-bottom: 1px solid var(--uc-filet); }
.uc-etape-btn { display: flex; align-items: baseline; gap: 1rem; width: 100%; padding: 1.125rem 0; border: 0; background: none;
  font: inherit; text-align: left; color: var(--uc-pale); cursor: pointer; transition: color .25s ease; }
.uc-etape-btn:hover, .uc-etape.actif .uc-etape-btn { color: var(--uc-encre); }
.uc-etape-btn .uc-etape-n { margin: 0; color: inherit; }
.uc-etape.actif .uc-etape-btn .uc-etape-n { color: var(--uc-violet); }
.uc-etape-t { font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 400; letter-spacing: -.015em; }
.uc-etapes-liste .uc-etape p { display: none; max-width: 28em; margin: -.25rem 0 1.25rem 2.5rem; font-size: .9375rem; line-height: 1.55; }
.uc-etapes-liste .uc-etape.actif p { display: block; }
.uc-etapes-colle { position: static; }
@media (max-width: 991px) { .uc-etapes-colle { position: static; order: 0; padding: 1rem 0 0; } }

/* ---------- exemples : l'étiquette d'industrie ou de style */
.uc-tag { display: inline-block; margin: 0 0 .875rem !important; padding: .25rem .625rem; border-radius: 999px;
  background: rgba(124, 58, 237, .08); font-size: .75rem !important; font-weight: 500; color: #6D28D9 !important; }

/* ---------- comment on travaille */
.uc-trs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.uc-tr { position: relative; padding: 1.5rem; border-radius: 1rem; background: #fff; box-shadow: inset 0 0 0 1px var(--uc-filet); }
.uc-tr-qui { display: inline-block; margin-bottom: 1.25rem; padding: .25rem .625rem; border-radius: 999px; background: var(--uc-creux);
  font-size: .75rem; font-weight: 500; color: var(--uc-encre); }
.uc-tr-qui.nous { background: rgba(124, 58, 237, .1); color: #6D28D9; }
.uc-tr-n { position: absolute; top: 1.5rem; right: 1.5rem; font-size: .75rem; font-weight: 600; color: var(--uc-pale); }
.uc-tr h3 { font-size: 1.125rem; }
.uc-tr p { margin: .5rem 0 0; font-size: .9375rem; line-height: 1.5; }
@media (max-width: 991px) { .uc-trs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .uc-trs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- capacités en bento (pages pas encore refaites) */
.uc-bento { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 1rem;
  margin: 0; padding: 0; list-style: none; }
.uc-bento-c { display: flex; flex-direction: column; gap: 1.5rem; padding: 1.25rem; border-radius: 1.25rem; background: #fff;
  box-shadow: inset 0 0 0 1px var(--uc-filet); }
.uc-bento-c.grande { grid-row: span 2; }
.uc-bento-txt h3 { font-size: 1.25rem; }
.uc-bento-txt p { margin: .5rem 0 0; font-size: .9375rem; line-height: 1.5; }
.uc-pan { padding: 1rem 1.125rem; border-radius: .875rem; background: var(--uc-fond); box-shadow: inset 0 0 0 1px var(--uc-filet); }
.uc-pan-t { margin: 0 0 .75rem; font: 500 .6875rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .08em;
  text-transform: uppercase; color: var(--uc-pale) !important; }
.uc-pan ul { margin: 0; padding: 0; list-style: none; }
.uc-pan li, .uc-pan-total { display: flex; justify-content: space-between; gap: 1rem; padding: .4375rem 0; border-bottom: 1px solid var(--uc-filet);
  font-size: .875rem; color: var(--uc-encre); }
.uc-pan li span:last-child { color: var(--uc-gris); font-variant-numeric: tabular-nums; }
.uc-pan-total { margin: 0; border-bottom: 0; font-weight: 500; }
.uc-pan-total span:last-child { color: var(--uc-violet); }
@media (max-width: 991px) { .uc-bento { grid-template-columns: minmax(0, 1fr); } .uc-bento-c.grande { grid-row: auto; } }

/* ---------- repris du tour 2 : le comparateur et les écarts (bande sombre) */
/* ---------- le comparateur des packshots : deux images de la même caméra, une poignée entre les deux */
.uc-scene-comp .wrap { width: min(100% - 2rem, 92rem); }
.uc-comp-onglets { display: inline-flex; gap: .25rem; margin-bottom: 1rem; padding: .25rem; border-radius: 999px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--uc-filet); }
.uc-comp-produit { padding: .5rem 1rem; border: 0; border-radius: 999px; background: none; font: inherit; font-size: .875rem;
  font-weight: 500; color: var(--uc-gris); cursor: pointer; }
.uc-comp-produit[aria-pressed="true"] { background: var(--uc-encre); color: #F7F6F3; }
.uc-comp-vue { --x: 50%; position: relative; aspect-ratio: 4 / 3; max-height: calc(100vh - 12rem); margin: 0 auto; overflow: hidden;
  border-radius: 1.25rem; background: var(--uc-vue); cursor: ew-resize; touch-action: pan-y; user-select: none; }
.uc-comp-vue img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.uc-comp-trait { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 17, 23, .12); pointer-events: none; }
.uc-comp-poignee { position: absolute; top: 50%; left: var(--x); display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  margin: -1.375rem 0 0 -1.375rem; border-radius: 50%; background: #fff; color: var(--uc-encre);
  box-shadow: 0 .5rem 1.25rem -.5rem rgba(18, 17, 23, .4); }
.uc-comp-poignee svg { width: 1.125rem; height: 1.125rem; }
.uc-comp-poignee:focus-visible { outline: 2px solid var(--uc-violet); outline-offset: 2px; }
.uc-comp-et { position: absolute; bottom: 1rem; left: 1rem; padding: .3125rem .625rem; border-radius: 999px; background: rgba(18, 17, 23, .62);
  color: #fff; font-size: .75rem; font-weight: 500; pointer-events: none; }
.uc-comp-et.droite { left: auto; right: 1rem; }
.uc-comp-vignettes { display: flex; gap: .5rem; margin: 1rem 0 0; padding: 0 0 .25rem; overflow-x: auto; list-style: none; }
.uc-comp-vignettes > li[hidden] { display: none; }
.uc-comp-vign { display: grid; gap: .375rem; width: 7.5rem; padding: 0; border: 0; background: none; font: inherit; font-size: .75rem;
  color: var(--uc-gris); text-align: left; cursor: pointer; }
.uc-comp-vign img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5rem; opacity: .7;
  box-shadow: inset 0 0 0 1px var(--uc-filet); transition: opacity .25s ease; }
.uc-comp-vign:hover img, .uc-comp-vign[aria-pressed="true"] img { opacity: 1; }
.uc-comp-vign[aria-pressed="true"] { color: var(--uc-encre); }
.uc-comp-vign[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--uc-encre); }
.uc-4x3 { aspect-ratio: 4 / 3; }

/* ---------- Point cloud : l'écart au scan, pièce par pièce (bande sombre) */
.uc-ec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 4rem); }
.uc-ec-gros { margin: 0; font-size: clamp(4rem, 8vw, 7rem); font-weight: 200; line-height: 1; letter-spacing: -.05em; color: #F7F6F3 !important; }
.uc-ec-g p { font-size: 1rem; line-height: 1.5; }
.uc-ec-leg { display: flex; align-items: center; gap: .5rem; font-size: .8125rem !important; }
.uc-ec-leg i { display: inline-block; width: .75rem; height: .5rem; border-radius: 2px; }
.uc-ec-leg i.p90 { margin-left: .75rem; }
.uc-ec-liste { margin: 0; padding: 0; list-style: none; }
.uc-ec-liste li { display: grid; grid-template-columns: minmax(7rem, 10rem) 1fr 7.5rem; gap: 1rem; align-items: center; padding: .5rem 0;
  border-bottom: 1px solid rgba(247, 246, 243, .08); font-size: .875rem; }
.uc-ec-nom { color: rgba(247, 246, 243, .86); }
.uc-ec-barre { position: relative; height: .5rem; border-radius: 2px; background: rgba(247, 246, 243, .06); }
.uc-ec-barre i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; }
i.p90 { background: rgba(196, 181, 253, .35); }
i.med { background: #C4B5FD; }
.uc-ec-v { text-align: right; color: #F7F6F3; font-variant-numeric: tabular-nums; }
.uc-ec-v span { color: rgba(247, 246, 243, .5); }
@media (max-width: 991px) { .uc-ec { grid-template-columns: minmax(0, 1fr); } .uc-ec-liste li { grid-template-columns: 7rem 1fr 6.5rem; } }


/* ---------- ce que ça change : quatre chiffres en bento (Tanguy : « on veut pas des gros tableaux compliqués ») */
.uc-atouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.uc-atout { display: flex; flex-direction: column; padding: 1.75rem 1.5rem 1.5rem; border-radius: 1.25rem; background: #fff;
  box-shadow: inset 0 0 0 1px var(--uc-filet); }
.uc-atout-n { margin-bottom: 1.5rem; font-size: clamp(1.875rem, 2.6vw, 2.75rem); font-weight: 300; line-height: 1; letter-spacing: -.04em;
  color: var(--uc-encre); font-variant-numeric: tabular-nums; white-space: nowrap; }
.uc-atout h3 { font-size: 1.0625rem; font-weight: 500; }
.uc-atout p { margin: .5rem 0 0; font-size: .9375rem; line-height: 1.5; }
.uc-atout:first-child .uc-atout-n { color: var(--uc-violet); }
@media (max-width: 991px) { .uc-atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .uc-atouts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Game props : les sept variantes en cartes */
.uc-vars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 1rem; margin: 0; padding: 0; list-style: none; }
.uc-var .uc-cadre { border-radius: .875rem; }
.uc-var h3 { margin-top: .875rem; font-size: 1rem; }
.uc-var p { margin: .25rem 0 0; font-size: .8125rem; }
.uc-var-appel code { font: 400 .75rem ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #3F3E44; word-break: break-word; }
@media (max-width: 991px) { .uc-vars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Blocking to video : le viewer du château en grand */
.uc-usage-vue { aspect-ratio: 16 / 9; }
.uc-usage-vue .uc-viewer { height: 100%; }

/* ---------- exemples : trois faits sous le texte */
.uc-faits-ex { display: flex; flex-wrap: wrap; gap: .375rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.uc-faits-ex li { padding: .3125rem .625rem; border-radius: 999px; background: var(--uc-creux); font-size: .8125rem; color: var(--uc-encre); }
.uc-pile-texte p:not(.uc-tag) { font-size: 1.0625rem; line-height: 1.55; }

/* ---------- Game props : collections et fiches, à la manière de 3dgarden.app */
.uc-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.uc-col { display: block; color: var(--uc-encre); text-decoration: none; }
.uc-col-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: .875rem; background: #0A0A0C; }
.uc-col-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.uc-col:hover .uc-col-img img { transform: scale(1.08); }
.uc-col-t { display: block; margin-top: .75rem; font-size: 1rem; font-weight: 500; }
.uc-col-p { display: block; margin-top: .125rem; font-size: .8125rem; color: var(--uc-pale); }
.uc-fiches-tete { margin: clamp(3rem, 6vw, 4.5rem) 0 1.25rem; }
.uc-fiches-tete h3 { font-size: 1.375rem; font-weight: 400; letter-spacing: -.015em; }
.uc-fiches-tete p { margin: .375rem 0 0; font-size: .9375rem; }
.uc-fiches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.uc-fiche { display: flex; flex-direction: column; gap: .375rem; padding: .625rem .625rem 1rem; border-radius: 1rem; background: #fff;
  box-shadow: inset 0 0 0 1px var(--uc-filet); }
.uc-fiche-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: .375rem; border-radius: .625rem; background: var(--uc-vue); }
.uc-fiche-img img { width: 100%; height: 100%; object-fit: cover; }
.uc-fiche-t { padding: 0 .375rem; font-size: .9375rem; font-weight: 500; color: var(--uc-encre); }
.uc-fiche-c { padding: 0 .375rem; font: 400 .6875rem/1.45 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--uc-gris);
  word-break: break-word; }
.uc-fiche-tags { display: flex; flex-wrap: wrap; gap: .25rem; padding: .25rem .375rem 0; }
.uc-fiche-tags span { padding: .1875rem .5rem; border-radius: 999px; background: var(--uc-creux); font-size: .6875rem; color: var(--uc-encre); }
@media (max-width: 991px) { .uc-cols, .uc-fiches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =========================================================================== version épurée (référence skyfall.ai/sky-001) */
.uc-lean-hero { padding: clamp(7rem, 12vw, 10rem) 0 clamp(2.5rem, 5vw, 4rem); text-align: center; background: var(--uc-fond); }
.uc-lean-sur { margin: 0 0 1.25rem; font-size: .8125rem; color: var(--uc-pale); }
.uc-lean-sur a { color: var(--uc-gris); text-decoration: none; }
.uc-lean-h1 { margin: 0; font-size: clamp(2.75rem, 6.4vw, 5.5rem); font-weight: 300; line-height: 1; letter-spacing: -.045em; color: var(--uc-encre); }
.uc-lean-h1 > span { display: block; }
.uc-lean-p { max-width: 34em; margin: 1.5rem auto 0; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); font-weight: 300; line-height: 1.5;
  color: var(--uc-gris); text-wrap: balance; }
.uc-lean-hero .btns { justify-content: center; margin-top: 2rem; }
.uc-lean-hero .btns .btn.contour:not([data-liste-attente]) { background: #fff; color: var(--uc-encre); box-shadow: inset 0 0 0 1px rgba(18, 17, 23, .14); }
.uc-lean-3d { padding: 0 0 clamp(3rem, 6vw, 5rem); background: var(--uc-fond); }
.uc-lean-vue { width: min(100% - 2rem, 92rem); height: min(78vh, 52rem); margin: 0 auto; overflow: hidden; border-radius: 1.5rem;
  background: var(--uc-vue); }
.uc-lean-vue .uc-viewer, .uc-lean-vue .uc-viewer > .ucv { width: 100%; height: 100%; }
.uc-lean-vue .uc-viewer-affiche { width: 100%; height: 100%; object-fit: cover; }
.uc-lean-leg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 1.75rem auto 0; padding: 0; list-style: none; }
.uc-lean-leg li { font-size: .9375rem; line-height: 1.5; color: var(--uc-gris); }
.uc-lean-leg li span { display: block; margin-bottom: .25rem; font-weight: 500; color: var(--uc-encre); }
.uc-lean-chiffres { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--uc-fond); }
.uc-lean-chiffres ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--uc-filet); }
.uc-lean-chiffres li { padding: 2rem 0 0; }
.uc-lean-chiffres .n { display: block; font-size: clamp(3rem, 6vw, 5rem); font-weight: 200; line-height: 1; letter-spacing: -.05em; color: var(--uc-encre); }
.uc-lean-chiffres .t { display: block; margin-top: .75rem; font-size: 1rem; color: var(--uc-gris); }
.uc-lean-exs { padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 7rem); background: var(--uc-fond); }
.uc-lean-h2 { margin: 0 0 2rem; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 300; letter-spacing: -.03em; color: var(--uc-encre); }
.uc-lean-exs-l { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.uc-lean-ex { cursor: pointer; }
.uc-lean-ex .uc-cadre { border-radius: 1rem; }
.uc-lean-ex .uc-cadre video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uc-lean-ex .uc-tag { margin-top: 1rem !important; }
.uc-lean-ex h3 { margin: 0; font-size: 1.125rem; font-weight: 500; color: var(--uc-encre); }
.uc-lean-ex p:not(.uc-tag) { margin: .375rem 0 0; font-size: .9375rem; line-height: 1.5; color: var(--uc-gris); }
@media (max-width: 991px) {
  .uc-lean-leg, .uc-lean-chiffres ul { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .uc-lean-exs-l { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uc-lean-vue { height: 70vh; }
}

/* ---------- Product viewer : le configurateur côté code */
.uc-opt { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1rem; }
.uc-opt-gauche { display: grid; align-content: start; gap: 1.25rem; padding: 1.5rem; border-radius: 1rem; background: #fff;
  box-shadow: inset 0 0 0 1px var(--uc-filet); }
.uc-opt-t { margin: 0 0 .5rem; font-size: .8125rem; font-weight: 500; color: var(--uc-encre) !important; }
.uc-opt-cs { display: flex; flex-wrap: wrap; gap: .375rem; }
.uc-opt-c { display: inline-flex; align-items: center; gap: .375rem; padding: .4375rem .75rem; border: 0; border-radius: 999px;
  background: var(--uc-creux); font: inherit; font-size: .8125rem; color: var(--uc-encre); cursor: pointer; }
.uc-opt-c[aria-pressed="true"] { background: var(--uc-encre); color: #F7F6F3; }
.uc-opt-pastille { width: .75rem; height: .75rem; }
.uc-opt-note { margin: .25rem 0 0; font-size: .8125rem; }
.uc-opt-droite { min-width: 0; padding: 1.25rem 0 1rem; border-radius: 1rem; background: #fff; box-shadow: inset 0 0 0 1px var(--uc-filet); }
.uc-opt-fichier { margin: 0 1.25rem .75rem; font: 500 .8125rem/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--uc-encre) !important; }
.uc-opt-fichier span { margin-left: .5rem; font-family: Inter, sans-serif; font-weight: 400; color: var(--uc-pale); }
.uc-opt-resume { margin: 0 1.25rem .75rem; font-size: .875rem; }
.uc-opt-code ol { max-height: 24rem; margin: 0; padding: 0; overflow: auto; list-style: none; }
.uc-opt-code li { display: grid; grid-template-columns: 3.25rem 1fr; padding: .125rem 1.25rem .125rem 0;
  font: 400 .75rem/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #3F3E44; }
.uc-opt-code .ln { padding-right: .875rem; text-align: right; color: var(--uc-pale); }
.uc-opt-code code { font: inherit; white-space: pre; }
.uc-opt-code li.change { background: rgba(124, 58, 237, .08); box-shadow: inset 3px 0 0 var(--uc-violet); }
.uc-opt-code li.retire { background: rgba(18, 17, 23, .04); color: var(--uc-pale); }
.uc-opt-code li.retire code { text-decoration: line-through; text-decoration-color: rgba(18, 17, 23, .35); }
.uc-opt-code .fn { color: #6D28D9; }
.uc-opt-code .str { color: #0F766E; }
.uc-opt-code .num { color: #B45309; }
@media (max-width: 991px) { .uc-opt { grid-template-columns: minmax(0, 1fr); } }


/* =========================================================================== version 4 */
.uc-v4-vue { height: min(76vh, 50rem); overflow: hidden; border-radius: 1.25rem; background: var(--uc-vue); }
.uc-v4-vue .uc-viewer, .uc-v4-vue .uc-viewer > .ucv { width: 100%; height: 100%; }
.uc-v4-vue .uc-viewer-affiche { width: 100%; height: 100%; object-fit: cover; }
.uc-sec-vitrine .uc-lean-leg { width: 100%; }
.uc-use { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-top: 1px solid var(--uc-filet); }
.uc-use:first-of-type { border-top: 0; padding-top: 0; }
.uc-use.inverse .uc-use-txt { order: 2; }
.uc-use-h { margin: 0; font-size: clamp(1.75rem, 3vw, 2.625rem); font-weight: 300; line-height: 1.08; letter-spacing: -.03em; color: var(--uc-encre); }
.uc-use-h > span { display: block; }
.uc-use-txt > p:last-child { margin: 1.125rem 0 0; max-width: 30em; font-size: 1.0625rem; line-height: 1.55; color: var(--uc-gris); }
.uc-use-media .uc-cadre video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uc-v4-el .uc-opt { grid-template-columns: minmax(0, 1fr); }
.uc-v4-el .uc-opt-gauche { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uc-v4-el .uc-opt-note { display: none; }
.uc-v4-atouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 0; padding: 2rem 0 0; list-style: none;
  border-top: 1px solid var(--uc-filet); }
.uc-v4-atouts h3 { font-size: 1.25rem; font-weight: 400; letter-spacing: -.01em; }
.uc-v4-atouts p { margin: .5rem 0 0; font-size: 1rem; line-height: 1.55; }
@media (max-width: 991px) {
  .uc-use { grid-template-columns: minmax(0, 1fr); }
  .uc-use.inverse .uc-use-txt { order: 0; }
  .uc-v4-atouts { grid-template-columns: minmax(0, 1fr); }
  .uc-v4-el .uc-opt-gauche { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================================== version 5 : la pile de cartes des usages */
.uc-pile-carte { grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); min-height: min(70vh, 34rem); }
.uc-pile-texte .uc-use-h { font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
.uc-pile-media .uc-cadre video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uc-pile-media .uc-v4-el .uc-opt-code ol { max-height: 12rem; }
.uc-v5-caps .uc-cap { min-height: 15rem; }

/* ---------- version 5 sur les cinq pages */
.uc-v4-vue.video { height: auto; aspect-ratio: 16 / 9; }
.uc-v4-vue.video video { width: 100%; height: 100%; object-fit: cover; }
.uc-sec-vitrine.uc-sombre .uc-v4-vue { background: #0A0A0C; }
.uc-sec-vitrine.uc-sombre .uc-lean-leg li span { color: #F7F6F3; }
.uc-boite-sombre { padding: 1.5rem; border-radius: 1rem; background: #0A0A0C; }
.uc-boite-sombre .uc-ec { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.uc-boite-sombre .uc-ec-g p { color: rgba(247, 246, 243, .64); }
.uc-boite-sombre .uc-ec-gros { font-size: 3rem; }
.uc-boite-sombre .uc-ec-liste li { padding: .3125rem 0; font-size: .8125rem; }
.uc-pile-media .uc-comp-vue { max-height: 52vh; }
.uc-pile-media .uc-comp-onglets { margin-bottom: .75rem; }
.uc-pile-media .uc-cols, .uc-pile-media .uc-fiches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uc-pile-media .uc-cols > li:nth-child(n+5) { display: none; }
.uc-pile-media .uc-fiches > li:nth-child(n+5) { display: none; }
.uc-pile-media .uc-usage-vue { aspect-ratio: 16 / 10; }
.uc-v5-gamme { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.uc-v5-gamme .uc-cadre { border-radius: .625rem; }
.uc-v5-gamme p { margin: .375rem 0 0; font-size: .8125rem; }

/* =========================================================================== l'immersion au défilement (14 nov.) */
.uc-imm { position: relative; background: #0A0A0C; }
.uc-imm-scene { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.uc-imm-video, .uc-imm-3d, .uc-imm-3d > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uc-imm-3d.monte > img { opacity: 0; transition: opacity .4s ease; }
.uc-imm-voile { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 10, 12, .55) 0%, rgba(10, 10, 12, .2) 38%, rgba(10, 10, 12, 0) 60%); }
.uc-imm-textes { position: relative; height: 100%; pointer-events: none; }
.uc-imm-t { position: absolute; left: 0; max-width: 32rem; opacity: 0; transform: translateY(1rem); pointer-events: none;
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.uc-imm-t.actif { opacity: 1; transform: none; pointer-events: auto; }
.uc-imm-titre { top: 50%; margin-top: -9rem; }
.uc-imm-titre .v2-sur a { color: rgba(247, 246, 243, .7); text-decoration: none; }
.uc-imm-titre .v2-sur a::before { content: "// "; }
.uc-imm-titre .uc-h1 { color: #F7F6F3; }
.uc-imm-titre .uc-lead { color: rgba(247, 246, 243, .78); }
.uc-imm-titre .btns { margin-top: 1.75rem; }
.uc-imm-titre .btn.contour:not([data-liste-attente]) { background: rgba(255, 255, 255, .14); color: #F7F6F3; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.uc-imm-carte { bottom: clamp(3rem, 9vh, 6rem); padding: 1.25rem 1.5rem 1.375rem; border-radius: 1rem; background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1rem 2.5rem -1.25rem rgba(0, 0, 0, .45); }
.uc-imm-n { display: block; margin-bottom: .5rem; font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--uc-violet); }
.uc-imm-carte h2 { margin: 0; font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 400; letter-spacing: -.02em; color: var(--uc-encre); }
.uc-imm-carte p { margin: .5rem 0 0; font-size: 1rem; line-height: 1.5; color: var(--uc-gris); }
.uc-imm-fil { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .12); }
.uc-imm-fil i { display: block; height: 100%; background: var(--uc-violet); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 767px) {
  .uc-imm-titre { top: auto; bottom: 4rem; margin-top: 0; }
  .uc-imm-voile { background: linear-gradient(0deg, rgba(10, 10, 12, .7) 0%, rgba(10, 10, 12, 0) 60%); }
  .uc-imm-carte { left: 0; right: 0; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .uc-imm-t { transition: none; } }

.uc-imm.droite .uc-imm-t { left: auto; right: 0; }
.uc-imm.droite .uc-imm-voile { background: linear-gradient(270deg, rgba(10, 10, 12, .6) 0%, rgba(10, 10, 12, .22) 38%, rgba(10, 10, 12, 0) 60%); }
@media (max-width: 767px) { .uc-imm.droite .uc-imm-voile { background: linear-gradient(0deg, rgba(10, 10, 12, .7) 0%, rgba(10, 10, 12, 0) 60%); } }

/* =========================================================================== écrans de portable (14 nov.)
   Tanguy : « les viewers et vidéos sont plus grands que la taille de l'écran en hauteur, c'est pas bon ». Tout média tient
   dans la hauteur visible sous l'en-tête : sa largeur est bornée par la hauteur d'écran selon son format, il se centre. */
.uc-page .uc-cadre { width: min(100%, calc((100vh - 8rem) * 16 / 9)); margin-inline: auto; }
.uc-page .uc-cadre.uc-4x3 { width: min(100%, calc((100vh - 8rem) * 4 / 3)); }
.uc-page .uc-comp-vue { width: min(100%, calc((100vh - 13rem) * 4 / 3)); max-height: none; }
.uc-page .uc-pile-media .uc-cadre { width: min(100%, calc((100vh - 18rem) * 16 / 9)); }
.uc-page .uc-pile-media .uc-comp-vue { width: min(100%, calc((100vh - 21rem) * 4 / 3)); }
.uc-page .uc-pile-carte { min-height: 0; max-height: calc(100vh - 7rem); }
.uc-page .uc-v4-vue { height: min(calc(100vh - 10rem), 50rem); }
.uc-page .uc-v4-vue.video { height: auto; width: min(100%, calc((100vh - 10rem) * 16 / 9)); margin-inline: auto; }
.uc-page .uc-usage-vue { width: min(100%, calc((100vh - 9rem) * 16 / 9)); aspect-ratio: 16 / 9; }
.uc-page .uc-etapes-media { width: min(100%, calc((100vh - 9rem) * 16 / 9)); }
.uc-page .uc-hero-media { max-height: calc(100vh - 12rem); }

/* ---------- l'entrée de l'immersion : le titre sur le fond clair, la scène qui grandit depuis la droite */
.uc-imm { background: var(--uc-fond); }
.uc-imm-media { position: absolute; inset: 0; overflow: hidden; transform-origin: 96% 56%; transform: scale(.58); border-radius: 24px;
  background: #0A0A0C; will-change: transform; }
.uc-imm-voile { opacity: 0; }
.uc-imm-titre { left: 0 !important; right: auto !important; max-width: min(30rem, 36vw); }
.uc-imm-titre .v2-sur a { color: var(--uc-gris); }
.uc-imm-titre .uc-h1 { color: var(--uc-encre); }
.uc-imm-titre .uc-lead { color: var(--uc-gris); }
.uc-imm-titre .btn.contour:not([data-liste-attente]) { background: #fff; color: var(--uc-encre); box-shadow: inset 0 0 0 1px rgba(18, 17, 23, .14); }
@media (max-width: 767px) {
  .uc-imm-media { transform-origin: 50% 96%; }
  .uc-imm-titre { top: 5.5rem; bottom: auto; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .uc-imm-media { transition: none; } }

/* ---------- les films : la vidéo entière en 16:9 à droite, le titre puis le code et les cartes à gauche (14 nov.) */
.uc-imm.film .uc-imm-scene { top: var(--uc-tete, 4rem); height: calc(100vh - var(--uc-tete, 4rem)); display: grid;
  grid-template-columns: minmax(0, 30fr) minmax(0, 70fr); gap: clamp(1.25rem, 2.5vw, 2.5rem); align-items: center;
  padding: clamp(1rem, 2.5vh, 2rem) clamp(1rem, 3vw, 3rem); background: var(--uc-fond); }
.uc-imm.film .uc-imm-cadre { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; min-width: 0; }
.uc-imm.film .uc-imm-media { position: relative; inset: auto; width: min(100%, calc((100vh - var(--uc-tete, 4rem) - 4rem) * 16 / 9));
  aspect-ratio: 16 / 9; transform-origin: 100% 50%; border-radius: 16px; background: var(--uc-vue);
  box-shadow: 0 1.5rem 3rem -2rem rgba(18, 17, 23, .35); }
.uc-imm.film .uc-imm-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.uc-imm.film .uc-imm-voile { display: none; }
.uc-imm.film .uc-imm-gauche { position: relative; height: 100%; min-width: 0; }
.uc-imm.film .uc-imm-t { left: 0 !important; right: 0 !important; max-width: none; }
.uc-imm.film .uc-imm-titre { top: 50%; transform: translateY(-50%); margin: 0; }
.uc-imm.film .uc-imm-titre.actif { transform: translateY(-50%); }
.uc-imm.film .uc-imm-carte { bottom: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--uc-filet); -webkit-backdrop-filter: none; backdrop-filter: none; }
.uc-imm-code { position: absolute; left: 0; right: 0; top: 0; bottom: 11rem; display: flex; flex-direction: column; padding: .875rem 0 .5rem;
  border-radius: 1rem; background: #fff; box-shadow: inset 0 0 0 1px var(--uc-filet); opacity: 0; transition: opacity .4s ease; }
.uc-imm.film.code-vu .uc-imm-code { opacity: 1; }
.uc-imm-code-t { margin: 0 1rem .5rem; font: 500 .75rem ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--uc-encre); }
.uc-imm-code ol { flex: 1; margin: 0; padding: 0 1rem; overflow: hidden; list-style: none; counter-reset: l; }
.uc-imm-code li { counter-increment: l; font: 400 .6875rem/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #3F3E44;
  white-space: pre; opacity: .12; transition: opacity .2s ease; }
.uc-imm-code li::before { content: counter(l); display: inline-block; width: 2.25rem; padding-right: .625rem; text-align: right; color: var(--uc-pale); }
.uc-imm-code li.ecrite { opacity: 1; }
.uc-imm-code li.vive { background: rgba(124, 58, 237, .1); box-shadow: inset 2px 0 0 var(--uc-violet); }
@media (max-width: 991px) {
  .uc-imm.film .uc-imm-scene { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; }
  .uc-imm.film .uc-imm-gauche { order: 2; height: auto; min-height: 14rem; }
  .uc-imm-code { display: none; }
  .uc-imm.film .uc-imm-cadre { height: auto; }
}

/* le titre dans la colonne de gauche des films : deux lignes, jamais trois */
.uc-imm.film .uc-imm-titre .uc-h1 { font-size: clamp(1.75rem, 2.4vw, 2.75rem); }
.uc-imm.film .uc-imm-titre .uc-h1 > span { white-space: nowrap; }
.uc-imm.film .uc-imm-titre .uc-lead { font-size: 1rem; }

/* ---------- les scènes 3D immersives : elles prennent la hauteur de leur conteneur (viewers/ETAT.md) */
.uc-imm-3d .ucv, .uc-imm-3d .ucv-immersion { width: 100%; height: 100%; }
.uc-imm:not(.film) .uc-imm-scene { top: var(--uc-tete, 4rem); height: calc(100vh - var(--uc-tete, 4rem)); }

/* le titre des immersions sur deux lignes, jamais trois */
.uc-imm .uc-imm-titre .uc-h1 { font-size: clamp(1.875rem, 2.6vw, 3rem); }
.uc-imm .uc-imm-titre .uc-h1 > span { white-space: nowrap; }
.uc-imm .uc-imm-titre .uc-lead { font-size: 1rem; }

/* ---------- film en fond plein écran (Packshots) : la vidéo couvre la scène, le code et les images par-dessus */
.uc-imm.film.plein .uc-imm-scene { display: block; padding: 0; }
.uc-imm.film.plein .uc-imm-cadre { position: absolute; inset: 0; height: auto; display: block; }
.uc-imm.film.plein .uc-imm-media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; transform-origin: 96% 56%;
  border-radius: 24px; box-shadow: none; }
.uc-imm.film.plein .uc-imm-video { object-fit: cover; }
.uc-imm.film.plein .uc-imm-gauche { position: absolute; z-index: 2; left: clamp(1rem, 3vw, 3rem); top: clamp(1rem, 3vh, 2rem);
  bottom: clamp(1rem, 3vh, 2rem); width: min(26rem, 32vw); }
.uc-imm.film.plein .uc-imm-code { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1rem 2.5rem -1.25rem rgba(18, 17, 23, .35); bottom: 15.5rem; }
.uc-imm.film.plein .uc-imm-carte { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1rem 2.5rem -1.25rem rgba(18, 17, 23, .35); }
.uc-imm-refs { position: absolute; left: calc(100% + 1rem); top: 0; display: flex; flex-direction: column; gap: .5rem; width: 9rem;
  pointer-events: none; }
.uc-imm-refs figure { margin: 0; padding: .375rem; border-radius: .75rem; background: rgba(255, 255, 255, .92);
  box-shadow: 0 .75rem 1.75rem -1rem rgba(18, 17, 23, .4); opacity: 0; transform: translateX(-.5rem);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
.uc-imm-refs figure.actif { opacity: 1; transform: none; }
.uc-imm-refs img { display: block; width: 100%; height: auto; border-radius: .5rem; }
.uc-imm-refs figcaption { margin: .3125rem .125rem 0; font-size: .6875rem; color: var(--uc-gris); }
@media (max-width: 991px) {
  .uc-imm.film.plein .uc-imm-gauche { top: auto; width: auto; right: 1rem; height: 12rem; }
  .uc-imm-refs { display: none; }
}

.uc-imm.film:not(.code-vu) .uc-imm-refs { opacity: 0; }
.uc-imm-refs { transition: opacity .4s ease; }

/* le panneau ne garde que les lignes déjà écrites : il grandit avec le programme au lieu d'être une grande boîte vide */
.uc-imm.film.plein .uc-imm-code { bottom: auto; max-height: calc(100% - 15.5rem); }
.uc-imm.film.plein .uc-imm-code ol { flex: 0 1 auto; }
.uc-imm.film.plein .uc-imm-code li:not(.ecrite) { display: none; }
.uc-imm.film.code-fini .uc-imm-code { opacity: 0; }

.uc-imm.film.plein .uc-imm-gauche { height: auto; }
.uc-imm.film.code-vide .uc-imm-code { opacity: 0; }

/* ---------- l'entrée sans cadre (Tanguy, 14 nov. : « intégrées directement dans le fond, pas que ça fasse un viewer à droite ») :
   la scène est incrustée, bords fondus dans un fond de sa couleur, puis grandit au défilement */
.uc-page .uc-imm, .uc-page .uc-imm .uc-imm-scene { background: var(--uc-imm-fond, var(--uc-fond)); }
.uc-page .uc-imm .uc-imm-media { transform: scale(.74); border-radius: 0; box-shadow: none; background: transparent; }

.uc-page .uc-imm .uc-imm-media { transform: translateX(20%); transform-origin: 50% 50%; }
@media (max-width: 767px) { .uc-page .uc-imm .uc-imm-media { transform: translateY(30%); } }
/* Packshots : les images de référence en petit, à côté du code */
.uc-imm-refs { width: 5.5rem; gap: .375rem; }
.uc-imm-refs figure { padding: .25rem; border-radius: .5rem; }
.uc-imm-refs img { border-radius: .3125rem; }
.uc-imm-refs figcaption { font-size: .625rem; margin-top: .1875rem; }
/* Point cloud : le scan est sur noir, la section aussi ; le titre passe en blanc */
.uc-page .uc-imm.sombre { --uc-imm-fond: #0A0A0C; }
.uc-imm.sombre .uc-imm-titre .v2-sur, .uc-imm.sombre .uc-imm-titre .v2-sur a { color: rgba(255, 255, 255, .6); }
.uc-imm.sombre .uc-imm-titre .uc-h1 { color: #fff; }
.uc-imm.sombre .uc-imm-titre .uc-lead { color: rgba(255, 255, 255, .72); }
.uc-imm.sombre .uc-imm-titre .btn:not(.contour) { background: #fff; color: var(--uc-encre); }
.uc-imm.sombre .uc-imm-titre .btn.contour:not([data-liste-attente]) { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.uc-comp-169 .uc-comp-vue { aspect-ratio: 16 / 9; background: #0A0A0C; }
.uc-page .uc-comp-169 .uc-comp-vue, .uc-page .uc-pile-media .uc-comp-169 .uc-comp-vue { width: 100%; }
.uc-page .uc-imm.sombre-site { --uc-imm-fond: var(--uc-encre); }

/* ---------- version 7 : les cartes des usages ont toutes la même taille ; à droite un cadre 16:9 qui se joue seul */
.uc-page .uc-pile-carte.v7 { height: min(calc(100vh - 9rem), 34rem); min-height: 0; max-height: none;
  grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); align-items: center; overflow: hidden; }
.uc-pile-carte.v7 .uc-pile-texte .v2-sur { margin: 0 0 1rem; }
.uc-pile-carte.v7 .uc-pile-texte p:not(.v2-sur) { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.uc-pile-carte.v7 .uc-pile-media { height: 100%; display: flex; align-items: center; min-width: 0; }
.uc-pile-cadre { position: relative; width: 100%; max-height: 100%; aspect-ratio: 16 / 9; margin: 0; overflow: hidden;
  border-radius: 1rem; background: var(--uc-vue); }
.uc-pile-cadre > video, .uc-pile-cadre > img, .uc-pile-cadre > picture, .uc-pile-cadre > picture img, .uc-pile-cadre .uc-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uc-pile-cadre .uc-comp, .uc-pile-cadre .uc-comp-vue { position: absolute; inset: 0; width: 100% !important; height: 100%;
  max-height: none !important; aspect-ratio: auto; margin: 0; border-radius: 0; }
.uc-pile-cadre .uc-comp-vue img { transition: opacity .3s ease; }
.uc-mosaique { position: absolute; inset: 0; display: grid; gap: .375rem; margin: 0; padding: .375rem; list-style: none; }
.uc-mosaique.n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.uc-mosaique.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.uc-mosaique li { position: relative; min-height: 0; overflow: hidden; border-radius: .625rem; background: #fff; }
.uc-mosaique img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uc-mosaique.noms span { position: absolute; left: .625rem; bottom: .5rem; font-size: .75rem; font-weight: 500; color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
@media (max-width: 991px) {
  .uc-page .uc-pile-carte.v7 { height: auto; grid-template-columns: minmax(0, 1fr); }
  .uc-pile-carte.v7 .uc-pile-media { height: auto; }
}
/* les titres des films s'alignent sur le logo, comme ceux des scènes 3D */
.uc-imm.film.plein .uc-imm-gauche { left: max(1rem, calc((100% - var(--w, 75rem)) / 2)); }
/* titres des cartes resserrés (Tanguy, 17 nov. : « trop d'espace entre les lignes des titres de la partie de gauche ») :
   interligne serré, une ligne écrite = une ligne affichée */
.uc-pile-carte.v7 .uc-use-h { font-size: clamp(1.5rem, 2.1vw, 2.125rem); line-height: 1.1; letter-spacing: -.025em; }
.uc-pile-carte.v7 .uc-use-h span { line-height: inherit; white-space: nowrap; }
.uc-pile-carte.v7 .uc-pile-texte .v2-sur { font-size: .75rem; letter-spacing: .12em; }
.uc-imm-carte h2 { line-height: 1.1; }
/* 17 nov. (Tanguy : « optimise mal l'espace de la section sur la largeur ») : la colonne de texte des immersions colle au bord
   gauche de l'écran sur toutes les pages, plus large, pour laisser le centre et la droite au film ou à la scène */
.uc-imm.film.plein .uc-imm-gauche { left: clamp(1rem, 3vw, 3rem); width: min(34rem, 34vw); }
.uc-page .uc-imm .wrap.uc-imm-textes { width: auto; margin: 0 clamp(1rem, 3vw, 3rem); }
.uc-imm-refs figcaption { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* la forme de verre de l'accueil, à droite du bloc final */
.uc-fin-forme { position: absolute; right: 2%; top: 50%; width: min(34rem, 46%); aspect-ratio: 1; transform: translateY(-50%);
  pointer-events: none; }
@media (max-width: 767px) { .uc-fin-forme { position: relative; right: auto; top: auto; width: 80%; margin: -2rem auto 0; transform: none; } }
/* Game props, la rangée des variantes : entière, sur la couleur de son fond de studio */
.uc-pile-cadre.uc-rang { background: rgb(232, 232, 235); }
.uc-pile-cadre.uc-rang > img { object-fit: contain; }
/* la forme du bloc final, comme à l'accueil (v2.css .v2-sphere-b / .v2-sphere-vol) : même taille S, canevas 1 × 1,4 S, centre de
   la boule 0,132 S au-dessus du milieu de la carte, qui déborde par le haut (Tanguy, 17 nov. : « la 3D doit déborder au-dessus
   donc plus grosse ») ; la carte ne coupe plus, son motif reste dans ses coins arrondis */
.uc-fin-carte { overflow: visible; }
.uc-fin-carte .waves { overflow: hidden; border-radius: inherit; }
.uc-fin-forme { --s: clamp(28.57rem, 52.55vw, 46.78rem); width: var(--s); aspect-ratio: 1 / 1.4; right: auto; transform: none;
  left: calc(100% - var(--s) * .914 - 4.5rem); top: calc(50% - var(--s) * .832);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent); }
.uc-fin-contenu { z-index: 1; }
@media (max-width: 767px) { .uc-fin-forme { --s: 90vw; position: relative; left: auto; top: auto; margin: -6rem auto 0; } }
.uc-pile-cadre.uc-cadre-3d { background: #F2F1EE; }
.uc-pile-cadre .uc-velo { position: absolute; inset: 0; }
.uc-pile-cadre.uc-rang .uc-mosaique li { background: rgb(232, 232, 235); }
.uc-pile-cadre.uc-rang > img { object-fit: cover; }
/* cartes condensées (Tanguy, 17 nov. : « j'aime pas quand il y a autant d'espace en haut et en bas ») : la hauteur suit le
   cadre 16:9, qui a la même largeur sur toutes les cartes : elles restent toutes de la même taille, sans vide au-dessus ni
   au-dessous */
.uc-page .uc-pile-carte.v7 { height: auto; padding: clamp(1rem, 1.6vw, 1.5rem); padding-left: clamp(1.5rem, 3vw, 2.75rem); }
.uc-pile-carte.v7 .uc-pile-media { height: auto; }
.uc-pile-carte.v7 .uc-pile-cadre { max-height: calc(100vh - 9rem); }
/* cartes de chapitre plus petites : sur portable, elles laissent la scène respirer */
.uc-page .uc-imm-carte { max-width: 23rem; padding: .875rem 1.125rem 1rem; }
.uc-imm.film.plein .uc-imm-t.uc-imm-carte { right: auto !important; max-width: 23rem; }
.uc-page .uc-imm-carte h2 { font-size: clamp(1.0625rem, 1.35vw, 1.375rem); }
.uc-page .uc-imm-carte p { margin-top: .3125rem; font-size: .875rem; line-height: 1.45; }
.uc-page .uc-imm-n { font-size: .6875rem; }
/* cartes des usages rapprochées (Tanguy, 17 nov. : « trop d'espace entre elles après défilement ») */
.uc-page .uc-pile-carte.v7 { margin-bottom: clamp(1.5rem, 4vh, 3rem); }
.uc-page .uc-pile-carte.v7:last-child { margin-bottom: 0; }
.uc-page .uc-pile { padding-bottom: 1.5rem; }
.uc-page .ucv-credit { display: none; }
/* cartes des usages : sur-titre plus petit, titre plus gros, trois points à icône séparés d'un filet gris */
.uc-pile-carte.v7 .uc-pile-texte .v2-sur { font-size: .6875rem; letter-spacing: .14em; margin-bottom: .75rem; }
.uc-pile-carte.v7 .uc-use-h { font-size: clamp(1.75rem, 2.5vw, 2.5rem); }
.uc-points { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.uc-points li { display: flex; align-items: center; gap: .75rem; padding: .75rem 0; border-top: 1px solid var(--uc-filet);
  font-size: .9375rem; line-height: 1.35; color: var(--uc-gris); }
.uc-points li:last-child { border-bottom: 1px solid var(--uc-filet); }
.uc-points svg { flex: none; width: 1.125rem; height: 1.125rem; color: var(--uc-encre); opacity: .75; }
/* les trois points, épurés (17 nov.) : plus d'air sous le titre, typo plus fine et plus petite, icônes discrètes, la colonne
   de gauche occupée correctement */
.uc-page .uc-pile-carte.v7 { grid-template-columns: minmax(0, .46fr) minmax(0, 1fr); padding-left: clamp(1.75rem, 3.5vw, 3.25rem); }
.uc-pile-carte.v7 .uc-pile-texte { padding-right: clamp(.5rem, 1.5vw, 1.5rem); }
.uc-points { margin-top: clamp(1.75rem, 3vh, 2.5rem); }
.uc-points li { gap: 1rem; padding: .875rem 0; font-size: .875rem; font-weight: 300; letter-spacing: .005em; color: var(--uc-gris); }
.uc-points svg { width: 1rem; height: 1rem; opacity: .5; stroke-width: 1.5; }
.uc-points svg { opacity: .85; color: var(--uc-encre); }
.uc-pile-cadre.uc-cadre-drift { background: #F2F1EE; }
.uc-pile-cadre .uc-drift { position: absolute; inset: 0; }
.uc-drift-t { position: relative; display: grid; place-items: center; background: #fff; }
.uc-drift-t img { width: 82%; height: 82%; object-fit: contain; }
.uc-drift-t span { position: absolute; left: .625rem; bottom: .5rem; font-size: .625rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--uc-gris); }

/* ---------- version 8 : Input and output en sombre, puis les autres usages façon Chroma Grid, sombres aussi */
.uc-sombre .uc-es-carte { background: #141318; box-shadow: inset 0 0 0 1px rgba(247, 246, 243, .1); }
.uc-sombre .uc-es-carte h3 { color: #F7F6F3; }
.uc-sombre .uc-es-nom, .uc-sombre .uc-es-t { color: rgba(247, 246, 243, .5) !important; }
.uc-sombre .uc-es li { border-top-color: rgba(247, 246, 243, .1); color: rgba(247, 246, 243, .78); }
.uc-sombre + .uc-sombre { padding-top: 0; }
.uc-chroma { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0;
  list-style: none; }
.uc-chroma-carte { --c: #7C3AED; --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; height: 100%;
  padding: .625rem .625rem 1.25rem; border-radius: 1.125rem; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 22%, #141318), #0E0D12 62%);
  box-shadow: inset 0 0 0 1px rgba(247, 246, 243, .08); color: #F7F6F3; text-decoration: none; overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease; }
.uc-chroma-carte::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(18rem circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 30%, transparent), transparent 70%);
  transition: opacity .3s ease; }
.uc-chroma-carte:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent); transform: translateY(-2px); }
.uc-chroma-carte:hover::before { opacity: 1; }
.uc-chroma-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: .75rem; background: #0A0A0C; }
.uc-chroma-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.85); transition: filter .4s ease; }
.uc-chroma-carte:hover .uc-chroma-img img { filter: none; }
/* la lumière de la grille : hors du cercle qui suit la souris, les cartes restent en gris */
.uc-chroma.vise::after { content: ""; position: absolute; inset: -1rem; pointer-events: none; border-radius: 1.5rem;
  background: radial-gradient(22rem circle at var(--gx) var(--gy), transparent 0%, rgba(10, 10, 12, .35) 70%); }
.uc-chroma-t { position: relative; display: flex; align-items: center; gap: .5rem; margin: 1rem .5rem 0; font-size: 1.0625rem; font-weight: 400; }
.uc-chroma-t svg { width: 1rem; height: 1rem; color: var(--c); }
.uc-chroma-p { position: relative; margin: .375rem .5rem 0; font-size: .875rem; font-weight: 300; line-height: 1.45; color: rgba(247, 246, 243, .62); }
.uc-chroma-lien { position: relative; display: inline-flex; align-items: center; gap: .375rem; margin: auto .5rem 0; padding-top: 1rem;
  font-size: .8125rem; color: var(--c); }
.uc-chroma-lien svg { width: .875rem; height: .875rem; }
@media (max-width: 991px) { .uc-chroma { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .uc-chroma { grid-template-columns: minmax(0, 1fr); } }
/* le mur des catégories : objets entiers sur tuile blanche, sans le voile d'encre des tuiles image du composant */
.uc-drift .uc-drift-t img, .uc-drift .rb-drift-wall__tile--image .uc-drift-t img { position: static; width: 82%; height: 82%;
  object-fit: contain; }
.uc-drift .rb-drift-wall__inner::before, .uc-drift .rb-drift-wall__inner::after { display: none; }
.uc-drift .rb-drift-wall__inner { background: #fff; }
.uc-drift .rb-drift-wall__tile .rb-drift-wall__inner::after, .uc-drift .rb-drift-wall__tile .rb-drift-wall__inner::before { display: none !important; }
.uc-drift .rb-drift-wall__tile .rb-drift-wall__inner, .uc-drift .uc-drift-t { background: #fff !important; }
/* la zone sombre du bas de page : un seul fond, le motif animé de l'ouverture, et les deux sections rapprochées */
.uc-zone-sombre { position: relative; background: #0A0A0C; overflow: hidden; }
.uc-zone-sombre > .waves { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.uc-zone-sombre > .waves canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; }
.uc-zone-sombre > .waves[data-ready="true"] canvas { opacity: 1; }
.uc-zone-sombre > .uc-sec { position: relative; z-index: 1; background: transparent !important; }
.uc-page .uc-zone-sombre .uc-sec-es { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.uc-page .uc-zone-sombre .uc-sec-chroma { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
/* Input and output : hiérarchie nette (étiquette → titre → phrase → détails), flèche entre les deux cartes */
.uc-sombre .uc-es { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 1.25rem; }
.uc-es-fleche { align-self: center; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: #141318; box-shadow: inset 0 0 0 1px rgba(247, 246, 243, .14); color: #F7F6F3; }
.uc-es-fleche svg { width: 1.125rem; height: 1.125rem; }
.uc-sombre .uc-es-carte { padding: clamp(1.75rem, 3vw, 2.5rem); }
.uc-sombre .uc-es-nom { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; font-size: .6875rem;
  letter-spacing: .16em; color: rgba(247, 246, 243, .55) !important; }
.uc-sombre .uc-es-nom svg { width: .875rem; height: .875rem; }
.uc-sombre .uc-es-nom.sortie { color: #B39DFF !important; }
.uc-sombre .uc-es-carte h3 { font-size: clamp(1.75rem, 2.6vw, 2.375rem); line-height: 1.1; }
.uc-sombre .uc-es-carte > p:not(.uc-es-nom):not(.uc-es-t) { margin-top: .875rem; font-size: 1.0625rem; color: rgba(247, 246, 243, .78); }
.uc-sombre .uc-es-t { margin: 2.25rem 0 .25rem; font-size: .625rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(247, 246, 243, .4) !important; }
.uc-sombre .uc-es li { position: relative; padding: .625rem 0 .625rem 1.125rem; font-size: .875rem; font-weight: 300;
  color: rgba(247, 246, 243, .62); border-top-color: rgba(247, 246, 243, .08); }
.uc-sombre .uc-es li::before { content: ""; position: absolute; left: 0; top: 1.125rem; width: .3125rem; height: .3125rem; border-radius: 50%;
  background: rgba(247, 246, 243, .35); }
@media (max-width: 767px) {
  .uc-sombre .uc-es { grid-template-columns: minmax(0, 1fr); }
  .uc-es-fleche { justify-self: center; transform: rotate(90deg); }
}

/* ---------- le bento « Why code » (magic-bento du site) et ses illustrations en code */
.uc-sec-bento .uc-mbento { margin-top: 1rem; }
.uc-mbento .rb-magic-bento__carte { gap: .5rem; padding: 1.375rem 1.5rem 1.5rem; }
.uc-mbento strong { font-size: 1.25rem; font-weight: 400; letter-spacing: -.01em; color: #F7F6F3; }
.uc-mbento p { margin: 0; font-size: .875rem; font-weight: 300; line-height: 1.5; color: rgba(247, 246, 243, .6); }
.uc-mb-code { margin-top: auto; padding: 1rem 1.125rem; border-radius: .75rem; background: rgba(247, 246, 243, .04);
  box-shadow: inset 0 0 0 1px rgba(247, 246, 243, .08); font: 400 .8125rem/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.uc-mb-code code { display: block; color: rgba(247, 246, 243, .7); background: none; padding: 0; }
.uc-mb-code em { font-style: normal; color: #B39DFF; }
.uc-mb-code u { text-decoration: none; color: #F2C14E; }
.uc-mb-valises { display: flex; align-items: flex-end; gap: 1rem; margin-top: 1.25rem; color: rgba(247, 246, 243, .8); }
.uc-mb-valises svg { width: 3.75rem; height: auto; }
.uc-mb-valises svg:nth-child(2) { color: #B39DFF; }
.uc-mb-chiffre { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; }
.uc-mb-chiffre em { font-style: normal; font-size: 4rem; font-weight: 300; line-height: 1; color: #F7F6F3; }
.uc-mb-chiffre small { font-size: .875rem; color: rgba(247, 246, 243, .5); }
.uc-mb-barres { display: grid; gap: .375rem; margin-top: auto; }
.uc-mb-barres i { display: block; height: .5rem; border-radius: 999px; }
.uc-mb-barres .main { width: 100%; background: rgba(247, 246, 243, .22); }
.uc-mb-barres .code { width: 6%; background: linear-gradient(90deg, #7C3AED, #EC4899); }
.uc-mb-legende { display: flex; justify-content: space-between; margin-top: .375rem; }
.uc-mb-legende small { font-size: .6875rem; color: rgba(247, 246, 243, .45); }
.uc-mb-arbre { margin: auto 0 0; padding: 0; list-style: none; columns: 2; column-gap: 1.5rem;
  font: 400 .8125rem/2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: rgba(247, 246, 243, .7); }
.uc-mb-arbre li { display: flex; align-items: center; gap: .5rem; break-inside: avoid; }
.uc-mb-arbre i { width: .375rem; height: .375rem; border-radius: 2px; background: #B39DFF; opacity: .8; }
.uc-mb-lien { display: flex; align-items: center; gap: .5rem; margin-top: auto; }
.uc-mb-lien code, .uc-mb-formats code { padding: .25rem .5rem; border-radius: .375rem; background: rgba(247, 246, 243, .06);
  box-shadow: inset 0 0 0 1px rgba(247, 246, 243, .1); font: 400 .75rem ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #F7F6F3; }
.uc-mb-lien i { flex: 1; height: 1px; background: linear-gradient(90deg, #7C3AED, #EC4899); }
.uc-mb-formats { display: flex; gap: .5rem; margin-top: auto; }
/* le bento sur fond clair (Tanguy, 17 nov. : « le magic bento doit être sur fond clair dans notre cas ») */
.uc-sec-bento .rb-magic-bento__carte { background: #fff; box-shadow: inset 0 0 0 1px var(--uc-filet), 0 1px 2px rgba(18, 17, 23, .04);
  color: var(--uc-encre); }
.uc-sec-bento .rb-magic-bento__num, .uc-sec-bento .rb-magic-bento__haut { color: var(--uc-pale); }
.uc-sec-bento .uc-mbento strong { color: var(--uc-encre); }
.uc-sec-bento .uc-mbento p { color: var(--uc-gris); }
.uc-sec-bento .uc-mb-code { background: #F4F3F0; box-shadow: inset 0 0 0 1px var(--uc-filet); }
.uc-sec-bento .uc-mb-code code { color: #3F3E44; }
.uc-sec-bento .uc-mb-code em { color: #7C3AED; }
.uc-sec-bento .uc-mb-code u { color: #C2410C; }
.uc-sec-bento .uc-mb-valises { color: #3F3E44; }
.uc-sec-bento .uc-mb-valises svg:nth-child(2) { color: #7C3AED; }
.uc-sec-bento .uc-mb-chiffre em { color: var(--uc-encre); }
.uc-sec-bento .uc-mb-chiffre small, .uc-sec-bento .uc-mb-legende small { color: var(--uc-pale); }
.uc-sec-bento .uc-mb-barres .main { background: #E7E5E0; }
.uc-sec-bento .uc-mb-arbre { color: #3F3E44; }
.uc-sec-bento .uc-mb-arbre i { background: #7C3AED; }
.uc-sec-bento .uc-mb-lien code, .uc-sec-bento .uc-mb-formats code { background: #F4F3F0; box-shadow: inset 0 0 0 1px var(--uc-filet);
  color: var(--uc-encre); }
.uc-sec-bento .uc-mbento { grid-column: 1 / -1; width: 100%; }
.uc-mb-barres .code { min-width: 1.25rem; }

/* ---------- bento illustratif (17 nov., façon glaze.app) : titre en haut, une interface dessinée qui déborde par le bas */
.uc-sec-bento .bx { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; margin: 0;
  padding: 0; list-style: none; }
.bx-t { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 1.5rem;
  background: linear-gradient(180deg, #fff, #F7F6F3); box-shadow: inset 0 0 0 1px var(--uc-filet), 0 1px 2px rgba(18, 17, 23, .04); }
.bx-t::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(22rem circle at var(--mx) var(--my), rgba(124, 58, 237, .07), transparent 70%); transition: opacity .3s ease; }
.bx-t:hover::after { opacity: 1; }
.bx-a { grid-column: span 4; } .bx-b { grid-column: span 2; } .bx-c, .bx-d, .bx-e { grid-column: span 2; }
.bx-txt { padding: 1.625rem 1.75rem 1.25rem; }
.bx-txt h3 { margin: 0; font-size: 1.375rem; font-weight: 400; letter-spacing: -.015em; color: var(--uc-encre); }
.bx-txt p { margin: .375rem 0 0; max-width: 30rem; font-size: .9375rem; font-weight: 300; line-height: 1.5; color: var(--uc-gris); }
.bx-ill { position: relative; flex: 1; display: grid; place-items: end center; min-height: 19rem; padding: 0 1.75rem; overflow: hidden; }
.bx-a .bx-ill { min-height: 21rem; }
.bx-b .bx-ill, .bx-d .bx-ill { place-items: center; }
.bx-win { width: 100%; max-width: 40rem; border-radius: .875rem .875rem 0 0; background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 17, 23, .08), 0 1.5rem 3rem -1.5rem rgba(18, 17, 23, .25); overflow: hidden; }
.bx-win-barre { display: flex; align-items: center; gap: .375rem; padding: .625rem .875rem; border-bottom: 1px solid #EFEDE9; }
.bx-win-barre i { width: .5625rem; height: .5625rem; border-radius: 50%; background: #E2DFDA; }
.bx-win-barre span { margin-left: .5rem; font: 500 .75rem ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #6B6874; }
.bx-win-corps { padding: 1rem; }
.bx-var { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: center; }
.bx-code { font: 400 .75rem/1.75 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #3F3E44; }
.bx-code code { display: block; padding: 0; background: none; }
.bx-code em { font-style: normal; color: #7C3AED; } .bx-code u { text-decoration: none; color: #C2410C; }
.bx-curseurs { display: grid; gap: .625rem; margin-top: 1rem; }
.bx-curseurs label { display: grid; grid-template-columns: 3.5rem 1fr; align-items: center; font: 500 .6875rem Inter, sans-serif; color: #8E8B96; }
.bx-curseurs b { --v: .5; position: relative; height: .25rem; border-radius: 999px; background: #EFEDE9; }
.bx-curseurs b::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: inherit;
  background: linear-gradient(90deg, #7C3AED, #EC4899); }
.bx-curseurs b::after { content: ""; position: absolute; top: 50%; left: calc(var(--v) * 100%); width: .75rem; height: .75rem;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(18, 17, 23, .15), 0 2px 4px rgba(18, 17, 23, .15); transform: translate(-50%, -50%); }
.bx-curseurs .v62 { --v: .62; } .bx-curseurs .v30 { --v: .3; } .bx-curseurs .v48 { --v: .48; }
.bx-apercu { display: grid; place-items: center; gap: .75rem; padding: .75rem; border-radius: .625rem; background: #F6F5F2; }
.bx-apercu img { width: 100%; max-width: 15rem; height: auto; }
.bx-pastilles { display: flex; gap: .375rem; }
.bx-pastille { width: 1.125rem; height: 1.125rem; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(18, 17, 23, .12); }
.bx-pastille.p0 { background: #B45309; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #7C3AED; } .bx-pastille.p1 { background: #1F2937; }
.bx-pastille.p2 { background: #9CA3AF; } .bx-pastille.p3 { background: #065F46; } .bx-pastille.p4 { background: #E5D3B3; }
.bx-carte { width: 100%; max-width: 17rem; padding: 1.125rem; border-radius: 1rem; background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 17, 23, .06), 0 1.25rem 2.5rem -1.5rem rgba(18, 17, 23, .25); text-align: center; }
.bx-sur { margin: 0 0 .5rem; font-size: .625rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #8E8B96; }
.bx-jauge svg { display: block; width: 100%; height: auto; }
.bx-gros { margin: -2.25rem 0 0; font-size: 1.75rem; font-weight: 300; letter-spacing: -.02em; color: var(--uc-encre); }
.bx-sous { margin: .125rem 0 1rem; font-size: .75rem; color: #8E8B96; }
.bx-lignes { display: grid; grid-template-columns: 1fr auto; gap: .5rem .75rem; padding-top: .75rem; border-top: 1px solid #EFEDE9;
  font-size: .75rem; text-align: left; color: #6B6874; }
.bx-lignes b { font-weight: 500; color: #3F3E44; } .bx-lignes b.v { color: #7C3AED; }
.bx-outliner, .bx-exp { max-width: 19rem; }
.bx-tete { display: flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; font: 500 .75rem ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--uc-encre); }
.bx-tete img { width: 2rem; height: 2rem; object-fit: contain; border-radius: .375rem; background: #F6F5F2; }
.bx-arbre { margin: 0; padding: 0; list-style: none; }
.bx-arbre li { display: grid; grid-template-columns: .75rem 1fr auto .875rem; align-items: center; gap: .5rem; padding: .3125rem .5rem;
  border-radius: .375rem; font: 400 .71875rem ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #3F3E44; }
.bx-arbre li.sel { background: rgba(124, 58, 237, .1); color: #5B21B6; }
.bx-arbre small { font-family: Inter, sans-serif; color: #8E8B96; }
.bx-ic { width: .625rem; height: .625rem; border-radius: 2px; background: #C4B5FD; }
.bx-oeil { width: .75rem; height: .5rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #B8B5BE; }
.bx-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; width: 100%; padding-bottom: 1.5rem; }
.bx-cats figure { margin: 0; padding: .5rem .5rem .375rem; border-radius: .75rem; background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 17, 23, .06), 0 .75rem 1.5rem -1rem rgba(18, 17, 23, .25); }
.bx-cats img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.bx-cats figcaption { margin-top: .25rem; font-size: .625rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #8E8B96; }
.bx-export { display: grid; gap: .375rem; margin: 0 0 .875rem; padding: 0; list-style: none; }
.bx-export li { display: grid; grid-template-columns: auto 1fr auto .875rem; align-items: center; gap: .5rem; padding: .5rem;
  border-radius: .5rem; background: #F6F5F2; font-size: .71875rem; color: #3F3E44; }
.bx-export small { color: #8E8B96; }
.bx-fmt { padding: .125rem .375rem; border-radius: .25rem; background: #fff; box-shadow: 0 0 0 1px #E2DFDA;
  font: 600 .625rem ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--uc-encre); }
.bx-ok { width: .875rem; height: .875rem; border-radius: 50%; background: #10B981; box-shadow: inset 0 0 0 3px #D1FAE5; }
.bx-bouton { margin: 0; padding: .625rem; border-radius: .625rem; background: var(--uc-encre); color: #F7F6F3; font-size: .75rem;
  font-weight: 500; text-align: center; }
@media (max-width: 991px) {
  .uc-sec-bento .bx { grid-template-columns: minmax(0, 1fr); }
  .bx-a, .bx-b, .bx-c, .bx-d, .bx-e { grid-column: auto; }
  .bx-var { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- bento, retours du 17 nov. : animé, fondu en bas des cartes intérieures, pas de bouton, dégradé V01 seulement
   dans la jauge, typo code seulement pour du vrai code, carte du haut entière, pas de reflet au survol */
.bx-t::after { display: none; }
.bx-ill { place-items: start center; padding-top: .25rem; }
.bx-b .bx-ill, .bx-d .bx-ill { place-items: center; }
.bx-ill > .bx-win, .bx-ill > .bx-cats, .bx-ill > .bx-carte {
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 98%); mask-image: linear-gradient(180deg, #000 62%, transparent 98%); }
.bx-b .bx-ill > .bx-carte { -webkit-mask-image: none; mask-image: none; }
.bx-win { border-radius: .875rem; }
.bx-win-barre span, .bx-tete, .bx-arbre li, .bx-fmt { font-family: Inter, sans-serif; }
.bx-win-barre span { font-weight: 500; }
.bx-arbre li { font-size: .78125rem; }
.bx-fmt { font-size: .625rem; letter-spacing: .04em; }
.bx-curseurs b::before { background: var(--uc-encre); opacity: .8; }
/* animations : lancées quand la tuile entre à l'écran (.bx-vu, uc.js), discrètes, en boucle lente */
@property --v { syntax: "<number>"; inherits: true; initial-value: .5; }
@keyframes bx-curseur { 0%, 100% { --v: var(--v0); } 50% { --v: var(--v1); } }
.bx-curseurs .v62 { --v0: .62; --v1: .4; } .bx-curseurs .v30 { --v0: .3; --v1: .55; } .bx-curseurs .v48 { --v0: .48; --v1: .7; }
.bx-vu .bx-curseurs b { animation: bx-curseur 6s ease-in-out infinite; }
.bx-vu .bx-curseurs .v30 { animation-delay: -2s; } .bx-vu .bx-curseurs .v48 { animation-delay: -4s; }
@keyframes bx-pastille { 0%, 18% { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--uc-encre); } 22%, 100% { box-shadow: inset 0 0 0 1px rgba(18, 17, 23, .12); } }
.bx-pastille.p0 { box-shadow: inset 0 0 0 1px rgba(18, 17, 23, .12); }
.bx-vu .bx-pastille { animation: bx-pastille 10s linear infinite; }
.bx-vu .bx-pastille.p1 { animation-delay: 2s; } .bx-vu .bx-pastille.p2 { animation-delay: 4s; }
.bx-vu .bx-pastille.p3 { animation-delay: 6s; } .bx-vu .bx-pastille.p4 { animation-delay: 8s; }
.bx-arc { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.2s cubic-bezier(.22, 1, .36, 1) .3s; }
.bx-vu .bx-arc { stroke-dashoffset: 92; }
@keyframes bx-sel { 0%, 100% { background: transparent; color: #3F3E44; } 4%, 20% { background: rgba(18, 17, 23, .06); color: var(--uc-encre); } 24% { background: transparent; } }
.bx-arbre li.sel { background: transparent; color: #3F3E44; }
.bx-vu .bx-arbre li { animation: bx-sel 9.6s ease-in-out infinite; }
.bx-vu .bx-arbre li:nth-child(2) { animation-delay: 1.2s; } .bx-vu .bx-arbre li:nth-child(3) { animation-delay: 2.4s; }
.bx-vu .bx-arbre li:nth-child(4) { animation-delay: 3.6s; } .bx-vu .bx-arbre li:nth-child(5) { animation-delay: 4.8s; }
.bx-vu .bx-arbre li:nth-child(6) { animation-delay: 6s; } .bx-vu .bx-arbre li:nth-child(7) { animation-delay: 7.2s; }
.bx-vu .bx-arbre li:nth-child(8) { animation-delay: 8.4s; }
.bx-ic { background: #D6D3DC; }
@keyframes bx-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.bx-vu .bx-cats figure { animation: bx-flotte 5s ease-in-out infinite; }
.bx-vu .bx-cats figure:nth-child(2) { animation-delay: -.8s; } .bx-vu .bx-cats figure:nth-child(3) { animation-delay: -1.6s; }
.bx-vu .bx-cats figure:nth-child(4) { animation-delay: -2.4s; } .bx-vu .bx-cats figure:nth-child(5) { animation-delay: -3.2s; }
.bx-vu .bx-cats figure:nth-child(6) { animation-delay: -4s; }
@keyframes bx-ok { 0%, 8% { transform: scale(0); opacity: 0; } 14%, 92% { transform: scale(1); opacity: 1; } 100% { transform: scale(0); opacity: 0; } }
.bx-ok { background: #121117; box-shadow: inset 0 0 0 3px #E7E5E0; }
.bx-vu .bx-ok { animation: bx-ok 7s ease-in-out infinite both; }
.bx-vu .bx-export li:nth-child(2) .bx-ok { animation-delay: .6s; } .bx-vu .bx-export li:nth-child(3) .bx-ok { animation-delay: 1.2s; }
.bx-vu .bx-export li:nth-child(4) .bx-ok { animation-delay: 1.8s; }
@media (prefers-reduced-motion: reduce) {
  .bx-vu .bx-curseurs b, .bx-vu .bx-pastille, .bx-vu .bx-arbre li, .bx-vu .bx-cats figure, .bx-vu .bx-ok { animation: none; }
  .bx-arc { transition: none; }
}

/* la jauge se remplit presque entière : le temps gagné */
.bx-vu .bx-arc { stroke-dashoffset: 5; }

/* ---------- bento : les catégories défilent (beaucoup d'objets), la jauge compte (uc.js) */
.bx-cats.bx-defile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; align-self: stretch;
  height: 21rem; padding: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 72%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 72%, transparent); }
.bx-defile .bx-piste { display: flex; flex-direction: column; }
/* une marge sous chaque carte plutôt qu'un gap : les deux moitiés de la piste font exactement la même hauteur */
.bx-defile figure { margin: 0 0 .5rem; animation: none !important; }
@keyframes bx-piste { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.bx-vu .bx-defile .bx-piste { animation: bx-piste 38s linear infinite; }
.bx-vu .bx-defile .bx-col:nth-child(2) .bx-piste { animation-duration: 30s; animation-direction: reverse; }
.bx-vu .bx-defile .bx-col:nth-child(3) .bx-piste { animation-duration: 44s; }
.bx-arc { transition: none; }
@media (prefers-reduced-motion: reduce) { .bx-vu .bx-defile .bx-piste { animation: none; } }

/* tuile A : le code part du haut, les couleurs du fauteuil au-dessus de l'aperçu (hors du fondu du bas) */
.bx-var { align-items: start; }
.bx-code { padding-top: .25rem; }
.bx-pastilles { order: -1; }
.bx-apercu img { max-width: 13rem; }

/* le fondu ne couvre que du vide : une hauteur fixe de fondu, et la même marge vide sous le contenu des fenêtres */
.bx-ill > .bx-win, .bx-ill > .bx-carte {
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 2.75rem), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 2.75rem), transparent); }
.bx-ill > .bx-win .bx-win-corps { padding-bottom: 3rem; }
.bx-cats.bx-defile { -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 86%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 86%, transparent); }

/* tuile A : le rayonnage dessiné par uc.js ; curseurs et pastilles suivent ses valeurs */
.bx-rack { display: block; width: 100%; max-width: 15rem; height: auto; }
.bx-vu .bx-curseurs b, .bx-vu .bx-pastille { animation: none; }
.bx-curseurs b { transition: --v .7s cubic-bezier(.22, 1, .36, 1); }
.bx-pastille { transition: box-shadow .3s; }
.bx-pastille.p0 { background: #E8752A; } .bx-pastille.p1 { background: #2F5D9E; } .bx-pastille.p2 { background: #8A8F98; }
.bx-pastille.p3 { background: #2E7D5B; } .bx-pastille.p4 { background: #E3B23C; }
.bx-pastille.on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--uc-encre); }
.bx-code u { transition: background-color .4s; border-radius: 3px; }
.bx-code u.flash { background-color: rgba(18, 17, 23, .07); }

/* retours du 17 nov. (suite) : animations très lentes et discrètes ; export validé du gris clair au vert ; liste jusqu'en bas */
.bx-curseurs b { transition-duration: 1.8s; }
.bx-pastille { transition-duration: 1s; }
.bx-code u { transition-duration: 1s; }
.bx-vu .bx-defile .bx-piste { animation-duration: 70s; }
.bx-vu .bx-defile .bx-col:nth-child(2) .bx-piste { animation-duration: 58s; }
.bx-vu .bx-defile .bx-col:nth-child(3) .bx-piste { animation-duration: 84s; }
.bx-vu .bx-arbre li { animation-duration: 19.2s; }
.bx-vu .bx-arbre li:nth-child(2) { animation-delay: 2.4s; } .bx-vu .bx-arbre li:nth-child(3) { animation-delay: 4.8s; }
.bx-vu .bx-arbre li:nth-child(4) { animation-delay: 7.2s; } .bx-vu .bx-arbre li:nth-child(5) { animation-delay: 9.6s; }
.bx-vu .bx-arbre li:nth-child(6) { animation-delay: 12s; } .bx-vu .bx-arbre li:nth-child(7) { animation-delay: 14.4s; }
.bx-vu .bx-arbre li:nth-child(8) { animation-delay: 16.8s; }
.bx-arbre li { grid-template-columns: auto 1fr auto; }
.bx-oeil { display: none; }
.bx-exp .bx-win-corps { padding-bottom: 0; }
.bx-export { margin-bottom: 0; }
.bx-ok { position: relative; width: .875rem; height: .875rem; border-radius: 50%; background: #E4E2DE; box-shadow: none; transform: none; opacity: 1; }
.bx-ok::after { content: ""; position: absolute; left: 50%; top: 45%; width: .25rem; height: .4375rem; border: solid #fff;
  border-width: 0 1.5px 1.5px 0; transform: translate(-50%, -50%) rotate(45deg); opacity: 0; }
@keyframes bx-valide { 0%, 12% { background: #E4E2DE; } 18%, 82% { background: #2E9E6B; } 90%, 100% { background: #E4E2DE; } }
@keyframes bx-coche { 0%, 12% { opacity: 0; } 18%, 82% { opacity: 1; } 90%, 100% { opacity: 0; } }
.bx-vu .bx-ok { animation: bx-valide 21s ease-in-out infinite both; }
.bx-vu .bx-ok::after { animation: bx-coche 21s ease-in-out infinite both; }
.bx-vu .bx-export li:nth-child(2) .bx-ok, .bx-vu .bx-export li:nth-child(2) .bx-ok::after { animation-delay: 1.2s; }
.bx-vu .bx-export li:nth-child(3) .bx-ok, .bx-vu .bx-export li:nth-child(3) .bx-ok::after { animation-delay: 2.4s; }
.bx-vu .bx-export li:nth-child(4) .bx-ok, .bx-vu .bx-export li:nth-child(4) .bx-ok::after { animation-delay: 3.6s; }
.bx-vu .bx-export li:nth-child(5) .bx-ok, .bx-vu .bx-export li:nth-child(5) .bx-ok::after { animation-delay: 4.8s; }
.bx-vu .bx-export li:nth-child(6) .bx-ok, .bx-vu .bx-export li:nth-child(6) .bx-ok::after { animation-delay: 6s; }
.bx-vu .bx-export li:nth-child(7) .bx-ok, .bx-vu .bx-export li:nth-child(7) .bx-ok::after { animation-delay: 7.2s; }
@media (prefers-reduced-motion: reduce) { .bx-vu .bx-ok, .bx-vu .bx-ok::after { animation: none; } .bx-ok { background: #2E9E6B; } .bx-ok::after { opacity: 1; } }
/* l'export descend jusqu'au bas de la tuile : le fondu est porté par la tuile, pas par la fenêtre */
.bx-e .bx-ill { place-items: start center; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 3rem), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 3rem), transparent); }
.bx-e .bx-ill > .bx-win { -webkit-mask-image: none; mask-image: none; }

.bx-rack { max-width: 17rem; }
/* une seule ligne sélectionnée à la fois : 8 lignes, 19,2 s, chacune tient 12,5 % du cycle */
@keyframes bx-sel1 { 0%, 100% { background: transparent; color: #3F3E44; } 2%, 10% { background: rgba(18, 17, 23, .06); color: var(--uc-encre); } 12.5% { background: transparent; color: #3F3E44; } }
.bx-vu .bx-arbre li { animation-name: bx-sel1; }

/* forme du bloc final, 17 nov. (suite) : « un peu trop grosse dans le cadre, baisse-la un peu » : environ 20 % plus petite,
   centre de la boule à 0,05 S au-dessus du milieu de la carte au lieu de 0,132 S */
@media (min-width: 768px) {
  .uc-fin-forme { --s: clamp(23rem, 42vw, 37.5rem); top: calc(50% - var(--s) * .75); left: calc(100% - var(--s) * .914 - 5.5rem); }
}

/* tuile A : les rendus de la balayeuse, en fondu très lent */
.bx-vues { position: relative; width: 100%; max-width: 15rem; aspect-ratio: 1; }
.bx-vues img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1.6s ease; }
.bx-vues img.on { opacity: 1; }
.bx-pastille.c0 { background: #E3B23C; } .bx-pastille.c1 { background: #ECEAE8; } .bx-pastille.c2 { background: #8DAE6A; }
.bx-pastille.c3 { background: #5D86B3; }
/* tuiles resserrées, comme au début (« les tuiles sont très hautes, condense ») */
.bx-ill { min-height: 14.5rem; }
.bx-a .bx-ill { min-height: 16rem; }
.bx-ill > .bx-win .bx-win-corps { padding-bottom: 1.5rem; }
.bx-ill > .bx-win, .bx-ill > .bx-carte {
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 1.75rem), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 1.75rem), transparent); }
.bx-e .bx-ill { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 2.5rem), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 2.5rem), transparent); }
.bx-cats.bx-defile { height: 16rem; }
.bx-apercu { padding: .5rem; gap: .25rem; }
.bx-curseurs label { grid-template-columns: 4.75rem 1fr; }
.bx-arbre li { padding-block: .25rem; }
.bx-carte.bx-jauge { padding: .875rem 1.125rem; }
/* six lignes dans l'Outliner : 14,4 s, chacune tient 1/6 du cycle */
@keyframes bx-sel6 { 0%, 100% { background: transparent; color: #3F3E44; } 2%, 13% { background: rgba(18, 17, 23, .06); color: var(--uc-encre); } 16.6% { background: transparent; color: #3F3E44; } }
.bx-vu .bx-arbre li { animation-name: bx-sel6; animation-duration: 14.4s; }
/* rangée du bas à hauteur fixe : la liste d'export et les catégories continuent sous le fondu, la tuile ne s'allonge plus */
@media (min-width: 768px) {
  .bx-c .bx-ill, .bx-d .bx-ill, .bx-e .bx-ill { height: 15.5rem; min-height: 0; }
  .bx-cats.bx-defile { height: 100%; }
}
.bx-vues { max-width: 16rem; }
/* rangée du bas plus courte (17 nov.) : hauteur ferme, flex: none pour que le contenu ne la pousse pas */
@media (min-width: 768px) {
  .bx-c .bx-ill, .bx-d .bx-ill, .bx-e .bx-ill { flex: none; height: 13rem; min-height: 0; overflow: hidden; }
  .bx-cats.bx-defile { height: 13rem; }
}
/* l'Outliner continue sous le bas de la tuile, avec le même fondu que l'export */
.bx-c .bx-ill { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 2.5rem), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 2.5rem), transparent); }
.bx-c .bx-ill > .bx-win { -webkit-mask-image: none; mask-image: none; }
/* forme du bloc final : entre les deux réglages, elle déborde un peu par le haut du cadre */
@media (min-width: 768px) {
  .uc-fin-forme { --s: clamp(25.5rem, 47vw, 42rem); top: calc(50% - var(--s) * .8); left: calc(100% - var(--s) * .914 - 5rem); }
}

/* FAQ : titre en escalier à gauche, qui reste en vue pendant qu'on lit les réponses */
.uc-faq-tete .v2-h2 { margin-top: .75rem; }
@media (min-width: 992px) { .uc-faq-tete { position: sticky; top: 6rem; align-self: start; } }
.uc-r a { color: inherit; text-decoration: underline; text-decoration-color: rgba(18, 17, 23, .3); text-underline-offset: .2em; }
.uc-r a:hover { text-decoration-color: currentColor; }

/* tuile A interactive : colonne de code resserrée, aperçu large en 4:3 qui laisse la place à la 3D */
.bx-a .bx-ill { padding-inline: 1.25rem; }
.bx-a .bx-ill > .bx-win { width: 100%; max-width: none; }
.bx-var { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: .875rem; }
.bx-vues { max-width: none; width: 100%; aspect-ratio: 4 / 3; }
.bx-vues img { transition-duration: .7s; }
.bx-apercu { padding: .375rem .375rem .25rem; }
.bx-curseurs label { grid-template-columns: 4.5rem 1fr; gap: .5rem; }
.bx-curseurs input[type="range"] { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 1rem; margin: 0;
  background: transparent; cursor: pointer; }
.bx-curseurs input[type="range"]::-webkit-slider-runnable-track { height: .25rem; border-radius: 999px;
  background: linear-gradient(90deg, var(--uc-encre) 0 var(--p), #EFEDE9 var(--p)); }
.bx-curseurs input[type="range"]::-moz-range-track { height: .25rem; border-radius: 999px; background: #EFEDE9; }
.bx-curseurs input[type="range"]::-moz-range-progress { height: .25rem; border-radius: 999px; background: var(--uc-encre); }
.bx-curseurs input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: .875rem; height: .875rem; margin-top: -.3125rem;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(18, 17, 23, .18), 0 2px 4px rgba(18, 17, 23, .18); }
.bx-curseurs input[type="range"]::-moz-range-thumb { width: .875rem; height: .875rem; border: 0; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 17, 23, .18), 0 2px 4px rgba(18, 17, 23, .18); }
.bx-curseurs input[type="range"]:focus-visible { outline: 2px solid var(--uc-encre); outline-offset: 3px; border-radius: 4px; }
button.bx-pastille { padding: 0; border: 0; cursor: pointer; transition: box-shadow .3s, transform .2s; }
button.bx-pastille:hover { transform: scale(1.08); }
button.bx-pastille[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--uc-encre); }
button.bx-pastille:focus-visible { outline: 2px solid var(--uc-encre); outline-offset: 4px; }
/* une ancienne règle (.bx-apercu img, max-width 13rem) bridait les rendus : ils prennent tout le cadre */
.bx-apercu .bx-vues img { max-width: none; }
/* les fenêtres et cartes intérieures se détachent de leur tuile : un filet net (une bordure, que le fondu n'efface pas
   comme une ombre) et un fond à peine plus clair que la tuile */
.bx-win, .bx-carte { border: 1px solid rgba(18, 17, 23, .1); background: #fff; }
.bx-t { background: linear-gradient(180deg, #FAF9F7, #F4F3F0); }

/* le fil de progression des sections 1 : le dégradé de la charte (une tranche de l'image V01, à sa largeur, jamais étirée),
   révélé de gauche à droite par uc.js, et un peu plus épais (17 nov.) */
.uc-imm-fil { height: 5px; }
.uc-imm-fil i { transform: none; clip-path: inset(0 100% 0 0);
  background: url("/rb/assets/v01/sandflow-02-nappe-diagonale-paysage.webp") 50% 50% / 100% auto no-repeat; }

/* le viewer se pose sur l'affiche (même cadrage, même lumière) et la remplace en fondu au premier rendu */
.bx-vues .bx-canevas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; cursor: grab; }
.bx-vues .bx-canevas:active { cursor: grabbing; }
.bx-vues.bx-vif .bx-canevas { opacity: 1; }
.bx-vues.bx-vif img { opacity: 0; transition: opacity .6s ease .2s; }

/* =========================================================================== les quatre autres bentos (17 nov.)
   Une grille et une famille d'éléments par page ; les tuiles q1..q5 ne reprennent aucune règle des tuiles a..e de Game
   props. Animations très lentes, lancées à l'entrée (.bx-vu), coupées en mouvement réduit. */
.bx-pv .bx-ill, .bx-pk .bx-ill, .bx-pc .bx-ill, .bx-bv .bx-ill { min-height: 0; }
.bx-pv .bx-ill, .bx-pk .bx-ill, .bx-pc .bx-ill, .bx-bv .bx-ill { place-items: center; padding: 0 1.5rem 1.5rem; }
.bx-pv [data-c], .bx-pc [data-c] { --c: #888; }
@media (min-width: 992px) {
  .uc-sec-bento .bx-pv { grid-template-columns: 1.2fr 1fr 1fr; }
  .bx-pv .q1 { grid-row: span 2; }
  .uc-sec-bento .bx-pk { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bx-pk .q1 { grid-column: span 3; } .bx-pk .q4 { grid-column: span 2; }
  .uc-sec-bento .bx-pc { grid-template-columns: 1.1fr 1fr 1fr; }
  .bx-pc .q1 { grid-row: span 2; } .bx-pc .q2 { grid-column: span 2; } .bx-pc .q5 { grid-column: span 3; }
  .uc-sec-bento .bx-bv { grid-template-columns: 1fr 1fr .9fr; }
  .bx-bv .q1 { grid-column: span 2; } .bx-bv .q2 { grid-row: span 2; grid-column: 3; grid-row-start: 1; } .bx-bv .q5 { grid-column: span 3; }
}
@media (max-width: 991px) { .uc-sec-bento .bx-pv, .uc-sec-bento .bx-pk, .uc-sec-bento .bx-pc, .uc-sec-bento .bx-bv { grid-template-columns: minmax(0, 1fr); } .bx-pv .bx-t, .bx-pk .bx-t, .bx-pc .bx-t, .bx-bv .bx-t { grid-column: auto; grid-row: auto; } }
.bx-fig { margin: 0; }

/* ---------- Product viewer : commerce et cotes */
.pv-supports { position: relative; width: 100%; max-width: 30rem; padding-bottom: 2.5rem; }
.pv-supports figure { margin: 0; }
.pv-nav { width: 88%; border: 1px solid rgba(18, 17, 23, .1); border-radius: .75rem; background: #fff; overflow: hidden;
  box-shadow: 0 1.25rem 2.5rem -1.75rem rgba(18, 17, 23, .35); }
.pv-nav-barre { display: flex; align-items: center; gap: .3rem; padding: .5rem .75rem; border-bottom: 1px solid rgba(18, 17, 23, .07); }
.pv-nav-barre i { width: .45rem; height: .45rem; border-radius: 50%; background: #E2E0DC; }
.pv-nav-barre span { margin-left: .5rem; font-size: .6875rem; color: #8E8B96; }
.pv-nav img { display: block; width: 100%; height: auto; }
.pv-supports figcaption { padding: .5rem .75rem; font-size: .6875rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #8E8B96; }
.pv-tel { position: absolute; right: 0; bottom: 0; width: 38%; padding: .375rem; border-radius: 1.5rem; background: #121117;
  box-shadow: 0 1.5rem 3rem -1.5rem rgba(18, 17, 23, .55); }
.pv-tel-ecran { position: relative; padding: .5rem .625rem .75rem; border-radius: 1.125rem; background: #fff; overflow: hidden; }
.pv-tel-ecran img { display: block; width: 100%; height: auto; aspect-ratio: 470 / 590; object-fit: cover; }
.pv-tel-ecran img.b { position: absolute; left: .625rem; top: .5rem; width: calc(100% - 1.25rem); opacity: 0; }
.pv-tel-ecran p { margin: .375rem 0 0; font-size: .625rem; line-height: 1.3; color: #121117; }
.pv-tel-ecran .prix { margin-top: .125rem; font-weight: 600; }
.pv-tel figcaption { position: absolute; left: 0; right: 0; top: 100%; text-align: center; }
.pv-fichier { position: absolute; left: 0; bottom: 0; margin: 0; display: flex; flex-direction: column; gap: .125rem;
  font-size: .8125rem; font-weight: 500; color: var(--uc-encre); }
.pv-fichier span { font-size: .6875rem; font-weight: 400; color: #8E8B96; }
@keyframes pv-fini { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
.bx-vu .pv-tel-ecran img.b { animation: pv-fini 16s ease-in-out infinite; }
.pv-confs { width: 100%; }
.pv-confs ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: .375rem; margin: 0; padding: 0; list-style: none; }
.pv-confs li { position: relative; aspect-ratio: 1; border-radius: .5rem; background: #fff; border: 1px solid rgba(18, 17, 23, .08); }
.pv-confs li i { position: absolute; display: block; background: var(--c); }
.pv-confs .dos { left: 34%; right: 34%; top: 14%; height: 36%; border-radius: 3px 3px 2px 2px; }
.pv-confs .ass { left: 26%; right: 26%; top: 52%; height: 13%; border-radius: 3px; }
.pv-confs .pied { left: 30%; right: 30%; bottom: 14%; height: 2px; }
.pv-confs .br { top: 44%; width: 2px; height: 16%; background: #3F3E44; } .pv-confs .br.g { left: 21%; } .pv-confs .br.d { right: 21%; }
@keyframes pv-conf { 0%, 3.5% { box-shadow: 0 0 0 1.5px var(--uc-encre); } 4.2%, 100% { box-shadow: none; } }
.bx-vu .pv-confs li { animation: pv-conf 33.6s linear infinite; }
.bx-vu .pv-confs li:nth-child(1) { animation-delay: 0.0s; }
.bx-vu .pv-confs li:nth-child(2) { animation-delay: 1.4s; }
.bx-vu .pv-confs li:nth-child(3) { animation-delay: 2.8s; }
.bx-vu .pv-confs li:nth-child(4) { animation-delay: 4.2s; }
.bx-vu .pv-confs li:nth-child(5) { animation-delay: 5.6s; }
.bx-vu .pv-confs li:nth-child(6) { animation-delay: 7.0s; }
.bx-vu .pv-confs li:nth-child(7) { animation-delay: 8.4s; }
.bx-vu .pv-confs li:nth-child(8) { animation-delay: 9.8s; }
.bx-vu .pv-confs li:nth-child(9) { animation-delay: 11.2s; }
.bx-vu .pv-confs li:nth-child(10) { animation-delay: 12.6s; }
.bx-vu .pv-confs li:nth-child(11) { animation-delay: 14.0s; }
.bx-vu .pv-confs li:nth-child(12) { animation-delay: 15.4s; }
.bx-vu .pv-confs li:nth-child(13) { animation-delay: 16.8s; }
.bx-vu .pv-confs li:nth-child(14) { animation-delay: 18.2s; }
.bx-vu .pv-confs li:nth-child(15) { animation-delay: 19.6s; }
.bx-vu .pv-confs li:nth-child(16) { animation-delay: 21.0s; }
.bx-vu .pv-confs li:nth-child(17) { animation-delay: 22.4s; }
.bx-vu .pv-confs li:nth-child(18) { animation-delay: 23.8s; }
.bx-vu .pv-confs li:nth-child(19) { animation-delay: 25.2s; }
.bx-vu .pv-confs li:nth-child(20) { animation-delay: 26.6s; }
.bx-vu .pv-confs li:nth-child(21) { animation-delay: 28.0s; }
.bx-vu .pv-confs li:nth-child(22) { animation-delay: 29.4s; }
.bx-vu .pv-confs li:nth-child(23) { animation-delay: 30.8s; }
.bx-vu .pv-confs li:nth-child(24) { animation-delay: 32.2s; }

.pv-confs p { display: flex; align-items: baseline; gap: .375rem; margin: .875rem 0 0; font-size: .8125rem; color: #6B6872; }
.pv-confs p b { font-size: 1.75rem; font-weight: 300; letter-spacing: -.02em; color: var(--uc-encre); }
.pv-confs p span { margin-left: auto; font-size: .75rem; color: #8E8B96; }
.pv-cote { width: 100%; max-width: 15rem; height: auto; }
.pv-cote .trait { fill: none; stroke: #8E8B96; stroke-width: 1.4; stroke-linejoin: round; }
.pv-cote .cote path { fill: none; stroke: var(--uc-encre); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; }
.bx-vu .pv-cote .cote path { transition: stroke-dashoffset 2.6s cubic-bezier(.22, 1, .36, 1) .4s; stroke-dashoffset: 0; }
.pv-cote text { font: 500 9.5px Inter, sans-serif; fill: var(--uc-encre); }
.pv-cote text.pied { font-weight: 400; fill: #8E8B96; }
.pv-eclate { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; width: 100%; }
.pv-eclate-img { position: relative; }
.pv-eclate-img img { display: block; width: 100%; height: auto; }
.pv-eclate-img img.b { position: absolute; inset: 0; opacity: 0; }
@keyframes pv-ouvre { 0%, 35% { opacity: 0; } 50%, 85% { opacity: 1; } 100% { opacity: 0; } }
.bx-vu .pv-eclate-img img.b { animation: pv-ouvre 14s ease-in-out infinite; }
.pv-eclate ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.pv-eclate li { display: flex; flex-direction: column; font-size: .6875rem; color: #8E8B96; }
.pv-eclate li b { font-size: .875rem; font-weight: 500; color: var(--uc-encre); }
.pv-valeur { width: 100%; }
.pv-ligne { margin: 0 0 .375rem; font-size: .6875rem; color: #8E8B96; }
.pv-code { position: relative; height: 3.25rem; padding: .625rem .75rem; border: 1px solid rgba(18, 17, 23, .1); border-radius: .625rem; background: #fff; overflow: hidden; }
.pv-code code { position: absolute; left: .75rem; right: .75rem; top: .625rem; white-space: normal; font-size: .6875rem; line-height: 1.6; opacity: 0; }
@keyframes pv-ligne { 0%, 2% { opacity: 0; } 5%, 31% { opacity: 1; } 34%, 100% { opacity: 0; } }
.pv-code code.v0 { opacity: 1; }
.bx-vu .pv-code code { animation: pv-ligne 21s ease-in-out infinite; }
.bx-vu .pv-code code.v1 { animation-delay: 7s; } .bx-vu .pv-code code.v2 { animation-delay: 14s; }
.pv-nuancier { display: flex; gap: 1rem; margin: .875rem 0 0; padding: 0; list-style: none; }
.pv-nuancier li { display: flex; align-items: center; gap: .375rem; font-size: .75rem; color: #6B6872; }
.pv-nuancier i { width: .875rem; height: .875rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(18, 17, 23, .12); }
@keyframes pv-pastille { 0%, 2% { box-shadow: inset 0 0 0 1px rgba(18, 17, 23, .12); } 5%, 31% { box-shadow: 0 0 0 2px #fff, 0 0 0 3.25px var(--uc-encre); } 34%, 100% { box-shadow: inset 0 0 0 1px rgba(18, 17, 23, .12); } }
.bx-vu .pv-nuancier i { animation: pv-pastille 21s ease-in-out infinite; }
.bx-vu .pv-nuancier li.v1 i { animation-delay: 7s; } .bx-vu .pv-nuancier li.v2 i { animation-delay: 14s; }

/* ---------- Packshots : tirage et planche contact */
.pk-paires { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; width: 100%; }
.pk-comp { position: relative; margin: 0; border-radius: .75rem; overflow: hidden; aspect-ratio: 16 / 9; }
.pk-comp img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pk-comp-r { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.pk-comp-fil { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .25); }
.pk-comp span { position: absolute; top: .5rem; padding: .1875rem .5rem; border-radius: 999px; background: rgba(255, 255, 255, .85);
  font-size: .625rem; font-weight: 500; letter-spacing: .04em; color: var(--uc-encre); }
.pk-comp span.g { left: .5rem; } .pk-comp span.d { right: .5rem; }
@keyframes pk-volet { 0%, 100% { clip-path: inset(0 78% 0 0); } 50% { clip-path: inset(0 22% 0 0); } }
@keyframes pk-fil { 0%, 100% { left: 22%; } 50% { left: 78%; } }
.bx-vu .pk-comp-r { animation: pk-volet 14s ease-in-out infinite; }
.bx-vu .pk-comp-fil { animation: pk-fil 14s ease-in-out infinite; }
.bx-vu .pk-comp.c2 .pk-comp-r, .bx-vu .pk-comp.c2 .pk-comp-fil { animation-delay: -7s; }
.pk-epreuve { position: relative; width: 100%; padding: 1.25rem 1.25rem 0; border: 1px solid rgba(18, 17, 23, .1); border-radius: .25rem; background: #fff; }
.pk-epreuve .coin { position: absolute; width: .75rem; height: .75rem; border-color: var(--uc-encre); border-style: solid; border-width: 0; }
.pk-epreuve .hg { left: .375rem; top: .375rem; border-left-width: 1px; border-top-width: 1px; }
.pk-epreuve .hd { right: .375rem; top: .375rem; border-right-width: 1px; border-top-width: 1px; }
.pk-epreuve .bg { left: .375rem; bottom: .375rem; border-left-width: 1px; border-bottom-width: 1px; }
.pk-epreuve .bd { right: .375rem; bottom: .375rem; border-right-width: 1px; border-bottom-width: 1px; }
.pk-epreuve .cible { position: absolute; top: 50%; width: .875rem; margin-top: -1.75rem; fill: none; stroke: var(--uc-encre); stroke-width: 1; }
.pk-epreuve .cible.g { left: .1875rem; } .pk-epreuve .cible.d { right: .1875rem; }
.pk-etiq { overflow: hidden; border-radius: .125rem; }
.pk-etiq img { display: block; width: 100%; height: auto; transform-origin: 60% 55%; }
@keyframes pk-loupe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.bx-vu .pk-etiq img { animation: pk-loupe 18s ease-in-out infinite; }
.pk-barre { display: flex; align-items: center; gap: .25rem; margin: .625rem 0 .625rem; }
.pk-barre i { width: .625rem; height: .625rem; }
.pk-barre .c { background: #00A0E3; } .pk-barre .m { background: #E5007E; } .pk-barre .y { background: #FFED00; } .pk-barre .k { background: #121117; }
.pk-barre span { margin-left: .5rem; font-size: .625rem; color: #8E8B96; }
.pk-decors { position: relative; width: 100%; aspect-ratio: 4 / 3.4; }
.pk-decors figure { position: absolute; left: 6%; right: 6%; top: 4%; margin: 0; padding: .375rem .375rem .25rem; background: #fff;
  border: 1px solid rgba(18, 17, 23, .1); box-shadow: 0 1rem 2rem -1.5rem rgba(18, 17, 23, .5); }
.pk-decors img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pk-decors figcaption { padding-top: .25rem; font-size: .6875rem; color: #6B6872; }
.pk-decors .d0 { transform: rotate(-4deg) translate(-4%, 8%); z-index: 1; }
.pk-decors .d1 { transform: rotate(3deg) translate(4%, 4%); z-index: 2; }
.pk-decors .d2 { transform: rotate(-1deg) translate(0, 16%); z-index: 3; }
@keyframes pk-dessus { 0%, 30% { z-index: 4; transform: rotate(-1deg) translate(0, 16%); } 33.4%, 100% { z-index: 1; } }
.bx-vu .pk-decors figure { animation: pk-dessus 24s step-end infinite; }
.bx-vu .pk-decors .d1 { animation-delay: 8s; } .bx-vu .pk-decors .d2 { animation-delay: 16s; }
.pk-planche { position: relative; width: 100%; padding: .75rem .75rem .5rem; border-radius: .375rem; background: #1A191E; }
.pk-planche ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0; padding: 0; list-style: none; }
.pk-planche li { display: flex; flex-direction: column; gap: .25rem; }
.pk-planche img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pk-planche span { font: 500 .5625rem Inter, sans-serif; letter-spacing: .1em; color: #C9A227; }
.pk-cercle { position: absolute; width: 34%; left: 2%; top: 4%; fill: none; stroke: #E5484D; stroke-width: 1.6; overflow: visible; }
.pk-cercle ellipse { stroke-dasharray: 1; stroke-dashoffset: 1; }
@keyframes pk-cercle { 0%, 12% { stroke-dashoffset: 1; } 30%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes pk-saute { 0%, 33.2% { left: 2%; top: 4%; } 33.3%, 66.5% { left: 34%; top: 48%; } 66.6%, 100% { left: 65%; top: 4%; } }
.bx-vu .pk-cercle ellipse { animation: pk-cercle 9s ease-in-out infinite; }
.bx-vu .pk-cercle { animation: pk-saute 27s step-end infinite; }
.pk-cal { width: 100%; }
.pk-sem { display: grid; grid-template-columns: 5.5rem repeat(3, 1fr); font-size: .625rem; color: #8E8B96; }
.pk-sem span:first-child { grid-column: 2; }
.pk-sem span { padding-left: .25rem; border-left: 1px solid rgba(18, 17, 23, .1); }
.pk-ligne { display: grid; grid-template-columns: 5.5rem 1fr; align-items: center; margin: .625rem 0 0; }
.pk-ligne .n { font-size: .75rem; color: #3F3E44; }
.pk-piste { display: flex; gap: 2px; height: 1.5rem; }
.pk-piste i { display: flex; align-items: center; padding-left: .375rem; border-radius: .25rem; background: #E7E5E0; font: normal 500 .5625rem Inter, sans-serif; color: #6B6872; overflow: hidden; white-space: nowrap; }
.pk-piste .s1 { flex: 3; } .pk-piste .s2 { flex: 2; } .pk-piste .s3 { flex: 2; } .pk-piste .s4 { flex: 6; }
.pk-ligne.nous .pk-piste i { flex: 0 0 auto; width: 2.75rem; background: var(--uc-encre); color: #fff; }
.pk-piste i { transform-origin: 0 50%; transform: scaleX(0); }
.bx-vu .pk-piste i { transform: none; transition: transform 1.6s cubic-bezier(.22, 1, .36, 1); }
.bx-vu .pk-piste .s2 { transition-delay: .5s; } .bx-vu .pk-piste .s3 { transition-delay: 1s; } .bx-vu .pk-piste .s4 { transition-delay: 1.5s; }
.bx-vu .pk-ligne.nous .pk-piste i { transition-delay: 2.4s; }
.pk-note { margin: .75rem 0 0; font-size: .625rem; color: #8E8B96; }

/* ---------- Point cloud : relevé et mesure */
.bx-pc .q1.sombre { background: #0B0B0E; border-color: #0B0B0E; }
.bx-pc .q1.sombre h3 { color: #F7F6F3; } .bx-pc .q1.sombre p { color: rgba(247, 246, 243, .6); }
.pc-noir { position: relative; width: 100%; aspect-ratio: 4 / 3.6; overflow: hidden; }
.pc-noir img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.pc-noir img.b { opacity: 0; }
@keyframes pc-parts { 0%, 38% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }
.bx-vu .pc-noir img.b { animation: pc-parts 16s ease-in-out infinite; }
.pc-compte { position: absolute; left: 0; bottom: 0; margin: 0; font-size: .8125rem; color: rgba(247, 246, 243, .7); }
.pc-compte span { position: absolute; left: 0; bottom: 0; white-space: nowrap; }
.pc-compte b { display: block; font-size: 1.5rem; font-weight: 300; color: #F7F6F3; }
.pc-compte .b { opacity: 0; }
@keyframes pc-compte-a { 0%, 38% { opacity: 1; } 50%, 88% { opacity: 0; } 100% { opacity: 1; } }
.bx-vu .pc-compte .a { animation: pc-compte-a 16s ease-in-out infinite; } .bx-vu .pc-compte .b { animation: pc-parts 16s ease-in-out infinite; }
.pc-mesure { width: 100%; }
.pc-mesure ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.75rem; row-gap: .3125rem; margin: 0; padding: 0; list-style: none; }
.pc-mesure li { display: grid; grid-template-columns: 6.5rem 1fr 2rem; align-items: center; gap: .5rem; font-size: .6875rem; color: #6B6872; }
.pc-mesure li i { --v: 0; height: .375rem; border-radius: 999px; background: #CFCCD4; transform-origin: 0 50%; transform: scaleX(0); width: calc(var(--v) * 100%); }
.pc-mesure li.acc i { background: var(--uc-encre); }
.pc-mesure li b { font-weight: 500; text-align: right; color: var(--uc-encre); font-variant-numeric: tabular-nums; }
.bx-vu .pc-mesure li i { transform: none; transition: transform 2s cubic-bezier(.22, 1, .36, 1); }
.bx-vu .pc-mesure li:nth-child(1) i { transition-delay: 0.00s; }
.bx-vu .pc-mesure li:nth-child(2) i { transition-delay: 0.15s; }
.bx-vu .pc-mesure li:nth-child(3) i { transition-delay: 0.30s; }
.bx-vu .pc-mesure li:nth-child(4) i { transition-delay: 0.45s; }
.bx-vu .pc-mesure li:nth-child(5) i { transition-delay: 0.60s; }
.bx-vu .pc-mesure li:nth-child(6) i { transition-delay: 0.75s; }
.bx-vu .pc-mesure li:nth-child(7) i { transition-delay: 0.90s; }
.bx-vu .pc-mesure li:nth-child(8) i { transition-delay: 1.05s; }
.bx-vu .pc-mesure li:nth-child(9) i { transition-delay: 1.20s; }
.bx-vu .pc-mesure li:nth-child(10) i { transition-delay: 1.35s; }
.bx-vu .pc-mesure li:nth-child(11) i { transition-delay: 1.50s; }
.bx-vu .pc-mesure li:nth-child(12) i { transition-delay: 1.65s; }
.bx-vu .pc-mesure li:nth-child(13) i { transition-delay: 1.80s; }
.bx-vu .pc-mesure li:nth-child(14) i { transition-delay: 1.95s; }
.bx-vu .pc-mesure li:nth-child(15) i { transition-delay: 2.10s; }
.bx-vu .pc-mesure li:nth-child(16) i { transition-delay: 2.25s; }

.pc-axe { display: flex; justify-content: space-between; margin: .625rem 0 0; font-size: .625rem; color: #8E8B96; }
.pc-poids { display: flex; align-items: flex-end; justify-content: center; gap: 1.5rem; width: 100%; }
.pc-bloc { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.pc-bloc i { display: block; width: 8.5rem; aspect-ratio: 1; border-radius: .375rem; }
.pc-bloc.pts i { background: radial-gradient(circle, #8E8B96 1px, transparent 1.3px) 0 0 / 5px 5px, #F1EFEB; border: 1px solid rgba(18, 17, 23, .1); }
.pc-bloc.parts i { width: calc(8.5rem * var(--c)); background: var(--uc-encre); }
.pc-bloc p { margin: 0; font-size: .6875rem; line-height: 1.4; color: #8E8B96; }
.pc-bloc b { display: block; font-size: 1rem; font-weight: 500; color: var(--uc-encre); }
.pc-legende { width: 100%; height: 12.5rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 82%, transparent); }
.pc-legende ul { margin: 0; padding: 0; list-style: none; }
.pc-legende li { display: grid; grid-template-columns: .75rem 1fr auto; align-items: center; gap: .625rem; padding: .375rem 0; border-bottom: 1px solid rgba(18, 17, 23, .06); font-size: .75rem; color: #3F3E44; }
.pc-legende i { width: .75rem; height: .75rem; border-radius: 2px; background: var(--c); }
.pc-legende small { font-size: .625rem; color: #8E8B96; font-variant-numeric: tabular-nums; }
@keyframes pc-defile { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.bx-vu .pc-legende ul { animation: pc-defile 60s linear infinite; }
.pc-chaine { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; width: 100%; margin: 0; padding: .5rem 0 0; list-style: none; counter-reset: n; }
.pc-chaine li { position: relative; display: flex; flex-direction: column; gap: .25rem; padding: .875rem 1rem; border: 1px solid rgba(18, 17, 23, .1); border-radius: .75rem; background: #fff; }
.pc-chaine li b { font-size: .8125rem; font-weight: 500; color: var(--uc-encre); }
.pc-chaine li span { font-size: .6875rem; color: #8E8B96; }
.pc-chaine li + li::before { content: ""; position: absolute; right: 100%; top: 50%; width: 2.5rem; height: 1px; background: rgba(18, 17, 23, .2); }
.pc-chaine li + li::after { content: ""; position: absolute; right: calc(100% + 2.5rem - .25rem); top: calc(50% - .1875rem); width: .375rem; height: .375rem; border-radius: 50%; background: var(--uc-encre); opacity: 0; }
@keyframes pc-flux { 0% { right: calc(100% + 2.25rem); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { right: calc(100% + .0625rem); opacity: 0; } }
.bx-vu .pc-chaine li + li::after { animation: pc-flux 4.5s ease-in-out infinite; }
.bx-vu .pc-chaine li:nth-child(3)::after { animation-delay: 1.5s; } .bx-vu .pc-chaine li:nth-child(4)::after { animation-delay: 3s; }
@media (max-width: 991px) { .pc-chaine { grid-template-columns: 1fr 1fr; gap: 1rem; } .pc-chaine li::before, .pc-chaine li::after { display: none; } }

/* ---------- Blocking to video : tournage et montage */
.bv-viseur { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: .5rem; overflow: hidden; background: #0B0B0E; }
.bv-viseur img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.bv-viseur img.v0 { opacity: 1; }
@keyframes bv-cam { 0%, 2% { opacity: 0; } 5%, 31% { opacity: 1; } 34%, 100% { opacity: 0; } }
.bx-vu .bv-viseur img, .bx-vu .bv-hud span { animation: bv-cam 24s ease-in-out infinite; }
.bx-vu .bv-viseur .v1 { animation-delay: 8s; } .bx-vu .bv-viseur .v2 { animation-delay: 16s; }
.bv-viseur .c { position: absolute; width: 1.25rem; height: 1.25rem; border: 0 solid rgba(255, 255, 255, .85); }
.bv-viseur .hg { left: .75rem; top: .75rem; border-left-width: 1.5px; border-top-width: 1.5px; }
.bv-viseur .hd { right: .75rem; top: .75rem; border-right-width: 1.5px; border-top-width: 1.5px; }
.bv-viseur .bg { left: .75rem; bottom: .75rem; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.bv-viseur .bd { right: .75rem; bottom: .75rem; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.bv-viseur .croix { position: absolute; left: 50%; top: 50%; width: 1rem; height: 1rem; margin: -.5rem; background:
  linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)) 50% 0 / 1px 100% no-repeat,
  linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)) 0 50% / 100% 1px no-repeat; }
.bv-hud { position: absolute; left: 1.25rem; bottom: 1.1rem; right: 1.25rem; margin: 0; height: 1rem; font: 500 .6875rem Inter, sans-serif; letter-spacing: .06em; color: #fff; }
.bv-hud span { position: absolute; left: 1.125rem; top: 0; opacity: 0; } .bv-hud span.v0 { opacity: 1; }
.bv-hud .rec { position: absolute; left: 0; top: .1875rem; width: .5rem; height: .5rem; border-radius: 50%; background: #E5484D; }
@keyframes bv-rec { 50% { opacity: .25; } }
.bx-vu .bv-hud .rec { animation: bv-rec 2.4s ease-in-out infinite; }
.bx-vu .bv-hud .v1 { animation-delay: 8s; } .bx-vu .bv-hud .v2 { animation-delay: 16s; }
.bv-plan { width: 100%; max-width: 15rem; height: auto; }
.bv-plan .pont { fill: #D8D4CC; }
.bv-plan .chateau { fill: #BDB7AD; }
.bv-plan text { font: 500 8px Inter, sans-serif; fill: #6B6872; }
.bv-plan .cam .chemin { fill: none; stroke: var(--uc-encre); stroke-width: 1; stroke-dasharray: 2 2.5; opacity: .45; }
.bv-plan .cam .champ { fill: rgba(18, 17, 23, .08); stroke: rgba(18, 17, 23, .35); stroke-width: .75; }
.bv-plan .cam circle { fill: var(--uc-encre); }
.bv-plan .cam text { fill: var(--uc-encre); }
@keyframes bv-champ { 0%, 2% { fill: rgba(18, 17, 23, .08); } 5%, 31% { fill: rgba(18, 17, 23, .28); } 34%, 100% { fill: rgba(18, 17, 23, .08); } }
.bx-vu .bv-plan .cam .champ { animation: bv-champ 24s ease-in-out infinite; }
.bx-vu .bv-plan .cam.v1 .champ { animation-delay: 8s; } .bx-vu .bv-plan .cam.v2 .champ { animation-delay: 16s; }
.bv-pile { position: relative; width: 100%; aspect-ratio: 16 / 11.5; }
.bv-pile figure { position: absolute; width: 82%; margin: 0; padding: .375rem; border-radius: .625rem; background: #fff; border: 1px solid rgba(18, 17, 23, .1);
  box-shadow: 0 1rem 2rem -1.5rem rgba(18, 17, 23, .5); transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.bv-pile img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .375rem; }
.bv-pile figcaption { padding: .375rem .125rem .125rem; font-size: .6875rem; color: #6B6872; }
.bv-pile .a { left: 0; top: 0; z-index: 1; } .bv-pile .b { right: 0; bottom: 0; z-index: 2; }
@keyframes bv-devant { 0%, 45% { z-index: 1; } 50%, 95% { z-index: 3; } 100% { z-index: 1; } }
.bx-vu .bv-pile .a { animation: bv-devant 16s step-end infinite; }
.bv-feuille { width: 100%; padding: .75rem 1rem; border: 1px solid rgba(18, 17, 23, .1); border-radius: .25rem; background:
  repeating-linear-gradient(180deg, #fff 0 1.9rem, #EEF0F6 1.9rem calc(1.9rem + 1px)); }
.bv-feuille table { width: 100%; border-collapse: collapse; font-size: .75rem; color: #3F3E44; }
.bv-feuille th { padding: 0 0 .5rem; text-align: left; font-size: .625rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #8E8B96; }
.bv-feuille td { height: 1.9rem; padding: 0; font-variant-numeric: tabular-nums; }
.bv-feuille tbody tr { transition: background-color .6s; }
@keyframes bv-ligne { 0%, 2% { background: transparent; } 5%, 31% { background: rgba(255, 214, 10, .28); } 34%, 100% { background: transparent; } }
.bx-vu .bv-feuille tbody tr { animation: bv-ligne 24s ease-in-out infinite; }
.bx-vu .bv-feuille tbody tr:nth-child(2) { animation-delay: 8s; } .bx-vu .bv-feuille tbody tr:nth-child(3) { animation-delay: 16s; }
.bv-feuille p { margin: .5rem 0 0; font-size: .625rem; color: #8E8B96; }
.bv-montage { position: relative; width: 100%; padding-left: 2rem; }
.bv-regle { display: flex; justify-content: space-between; margin: 0 0 .375rem; font-size: .5625rem; color: #8E8B96; font-variant-numeric: tabular-nums; }
.bv-piste { position: relative; display: flex; align-items: center; margin-top: .375rem; }
.bv-piste b { position: absolute; left: -2rem; font-size: .625rem; font-weight: 500; color: #8E8B96; }
.bv-piste ul { display: flex; gap: 3px; width: 100%; margin: 0; padding: 0; list-style: none; }
.bv-piste li { --c: 5; position: relative; flex: var(--c) 1 0; height: 3.25rem; border-radius: .375rem; overflow: hidden; background: #0B0B0E; }
.bv-piste .blk li { height: 2.25rem; }
.bv-piste img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.bv-piste li span { position: absolute; left: .375rem; top: .25rem; font-size: .625rem; font-weight: 600; color: #fff; }
.bv-tete { position: absolute; top: 0; bottom: 0; left: 2rem; width: 2px; border-radius: 1px;
  background: url("/rb/assets/v01/sandflow-05-courant-vertical.webp") 50% 50% / auto 100%; }
@keyframes bv-tete { from { left: 2rem; } to { left: 100%; } }
.bx-vu .bv-tete { animation: bv-tete 36s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .bx-vu .pv-tel-ecran img.b, .bx-vu .pv-confs li, .bx-vu .pv-eclate-img img.b, .bx-vu .pv-code code, .bx-vu .pv-nuancier i,
  .bx-vu .pk-comp-r, .bx-vu .pk-comp-fil, .bx-vu .pk-etiq img, .bx-vu .pk-decors figure, .bx-vu .pk-cercle, .bx-vu .pk-cercle ellipse,
  .bx-vu .pc-noir img.b, .bx-vu .pc-compte span, .bx-vu .pc-legende ul, .bx-vu .pc-chaine li::after,
  .bx-vu .bv-viseur img, .bx-vu .bv-hud span, .bx-vu .bv-hud .rec, .bx-vu .bv-plan .champ, .bx-vu .bv-pile .a, .bx-vu .bv-feuille tr, .bx-vu .bv-tete { animation: none; }
  .pk-cercle ellipse, .pv-cote .cote path { stroke-dashoffset: 0; }
}
/* Game props, rangée du haut resserrée (17 nov. : « encore trop longue en hauteur sans raison ») : un aperçu moins haut, et
   la fenêtre du code finit sous ses curseurs, sans marge ni fondu */
.bx-a .bx-ill { min-height: 0; padding-bottom: 1.25rem; }
.bx-a .bx-ill > .bx-win { -webkit-mask-image: none; mask-image: none; border-radius: .875rem; }
.bx-a .bx-ill > .bx-win .bx-win-corps { padding-bottom: .875rem; }
.bx-vues { aspect-ratio: 16 / 10.5; }
.bx-vues img { object-fit: cover; }
.bx-b .bx-ill { min-height: 0; padding-bottom: 1.25rem; }
/* Product viewer, après capture : l'éclaté plus petit (il allongeait la rangée), le bloc « un fichier » plus grand dans sa
   tuile haute */
.pv-eclate { grid-template-columns: 9.5rem auto; justify-content: center; gap: 1.5rem; }
.pv-eclate-img { border: 1px solid rgba(18, 17, 23, .08); border-radius: .75rem; background: #fff; overflow: hidden; }
.pv-supports { max-width: none; padding-bottom: 3rem; }
.pv-nav { width: 86%; }
.pv-tel { width: 40%; bottom: .5rem; }
.bx-pv .q1 .bx-ill { align-items: end; padding-bottom: 2rem; }

/* après capture (17 nov.) */
@media (min-width: 992px) { .bx-bv .q2 { grid-column: 3; grid-row: 1 / span 2; } }
.bv-viseur { aspect-ratio: 2.39 / 1; }
.bv-hud { text-shadow: 0 1px 6px rgba(0, 0, 0, .55); }
.bv-plan { max-width: 17rem; }
.bv-plan text { font-size: 9px; }
.pk-piste i { padding: 0; }
.pk-piste .s1 { background: #EAE7E1; } .pk-piste .s2 { background: #DCD8D0; } .pk-piste .s3 { background: #CCC7BC; } .pk-piste .s4 { background: #B9B3A7; }
.pk-ligne.nous .pk-piste i { padding-left: .375rem; }
.pk-leg { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin: .75rem 0 0 5.5rem; font-size: .625rem; color: #6B6872; }
.pk-leg span { display: inline-flex; align-items: center; gap: .3rem; }
.pk-leg span::before { content: ""; width: .5rem; height: .5rem; border-radius: 2px; }
.pk-leg .s1::before { background: #EAE7E1; } .pk-leg .s2::before { background: #DCD8D0; } .pk-leg .s3::before { background: #CCC7BC; } .pk-leg .s4::before { background: #B9B3A7; }
/* les deux compteurs du nuage ne se croisent plus : l'un s'efface avant que l'autre n'apparaisse */
@keyframes pc-compte-a2 { 0%, 36% { opacity: 1; } 41%, 93% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes pc-compte-b2 { 0%, 43% { opacity: 0; } 48%, 86% { opacity: 1; } 91%, 100% { opacity: 0; } }
.bx-vu .pc-compte .a { animation-name: pc-compte-a2; } .bx-vu .pc-compte .b { animation-name: pc-compte-b2; }
.bx-pc .q1 .bx-ill { align-items: center; }

/* =========================================================================== bentos, v2 : illustratifs, deux rangées */
@media (min-width: 992px) {
  .uc-sec-bento .bx-pc { grid-template-columns: 1.15fr 1fr 1fr .95fr; }
  .bx-pc .q1 { grid-column: 1; grid-row: 1 / span 2; } .bx-pc .q2 { grid-column: 2 / span 2; grid-row: 1; }
  .bx-pc .q4 { grid-column: 4; grid-row: 1 / span 2; } .bx-pc .q3 { grid-column: 2; grid-row: 2; } .bx-pc .q5 { grid-column: 3; grid-row: 2; }
  .uc-sec-bento .bx-bv { grid-template-columns: 1fr 1.25fr .95fr; }
  .bx-bv .q1 { grid-column: 1 / span 2; grid-row: 1; } .bx-bv .q2 { grid-column: 3; grid-row: 1 / span 2; }
  .bx-bv .q3 { grid-column: 1; grid-row: 2; } .bx-bv .q4 { grid-column: 2; grid-row: 2; }
}
/* silhouettes dessinées */
.sil { display: block; width: 100%; height: auto; overflow: visible; }

/* ---------- Product viewer v2 */
@keyframes pv2-teinte { 0%, 30% { fill: #6B4A2E; } 36%, 63% { fill: #C8A06A; } 69%, 94% { fill: #3A3B40; } 100% { fill: #6B4A2E; } }
.bx-pv .sil .f { fill: #6B4A2E; } .bx-pv .sil .p { stroke: #3F3E44; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.bx-vu .bx-pv .sil .f, .bx-pv .bx-vu .sil .f { animation: pv2-teinte 18s ease-in-out infinite; }
.pv2-un { display: flex; flex-direction: column; align-items: center; width: 100%; }
.pv2-glb { display: flex; align-items: center; gap: .5rem; margin: 0; padding: .5rem .875rem; border: 1px solid rgba(18, 17, 23, .12); border-radius: 999px; background: #fff; font-size: .8125rem; }
.pv2-glb i { width: .75rem; height: .75rem; border-radius: 3px; background: var(--uc-encre); transform: rotate(45deg) scale(.8); }
.pv2-glb b { font-weight: 500; } .pv2-glb span { color: #8E8B96; font-size: .6875rem; }
.pv2-fil { width: 1px; height: 1.75rem; background: linear-gradient(rgba(18, 17, 23, .3), rgba(18, 17, 23, .3)) 0 0 / 1px 100%; }
.pv2-ecrans { display: grid; grid-template-columns: 1fr .62fr; grid-template-rows: auto auto; gap: .75rem; width: 100%; }
.pv2-ecrans > div > span { display: block; padding-top: .375rem; font-size: .625rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #8E8B96; }
.pv2-ecrans .corps { position: relative; border: 1px solid rgba(18, 17, 23, .1); background: #fff; overflow: hidden; }
.pv2-nav { grid-column: 1 / -1; }
.pv2-nav .barre { display: flex; gap: .25rem; margin: 0; padding: .4rem .6rem; border: 1px solid rgba(18, 17, 23, .1); border-bottom: 0; border-radius: .625rem .625rem 0 0; background: #fff; }
.pv2-nav .barre i { width: .4rem; height: .4rem; border-radius: 50%; background: #E2E0DC; }
.pv2-nav .corps { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: .75rem; padding: 1rem 1rem 1rem 1.25rem; border-radius: 0 0 .625rem .625rem; }
.pv2-nav .hero { grid-row: span 2; width: 78%; justify-self: center; }
.pv2-ecrans .l { height: .375rem; margin: .25rem 0; border-radius: 999px; background: #ECEAE6; }
.pv2-ecrans .l1 { width: 80%; } .pv2-ecrans .l2 { width: 55%; } .pv2-ecrans .l3 { width: 45%; background: var(--uc-encre); }
.pv2-tel .corps { padding: .875rem .75rem .75rem; border-radius: 1.125rem; border: 4px solid #121117; }
.pv2-tel .sil { width: 82%; margin: 0 auto .625rem; }
.pv2-plan .corps { height: 100%; min-height: 7.5rem; border-radius: .625rem; background: #FAFAF8; }
.pv2-plan .mur { position: absolute; background: #3F3E44; }
.pv2-plan .m1 { left: 10%; top: 12%; right: 10%; height: 3px; } .pv2-plan .m2 { left: 10%; top: 12%; bottom: 12%; width: 3px; }
.pv2-plan .m3 { left: 55%; top: 12%; height: 45%; width: 3px; }
.pv2-plan .pose { position: absolute; left: 22%; bottom: 16%; width: 26%; }
.pv2-eclate { width: 100%; display: grid; place-items: center; }
.pv2-eclate .pile { position: relative; width: 11rem; height: 12.5rem; }
.pv2-eclate .piece { position: absolute; left: 0; right: 0; display: flex; align-items: center; gap: .75rem; transition: transform 1.2s; }
.pv2-eclate .piece i { flex: none; display: block; width: 6.5rem; height: 2.25rem; border-radius: .5rem; background: #fff; border: 1px solid rgba(18, 17, 23, .14);
  box-shadow: 0 .75rem 1.25rem -1rem rgba(18, 17, 23, .5); transform: perspective(300px) rotateX(48deg); }
.pv2-eclate .p1 i { height: 1.5rem; width: 5rem; margin-left: .75rem; } .pv2-eclate .p2 i { background: #E9DCC6; }
.pv2-eclate .p3 i { width: 4.5rem; margin-left: 1rem; background: #D6D3DC; } .pv2-eclate .p4 i { width: 6.5rem; background: #3F3E44; border-color: #3F3E44; }
.pv2-eclate .piece span { font-size: .6875rem; color: #6B6872; opacity: 0; transition: opacity .8s; }
.pv2-eclate .p1 { top: 3.75rem; } .pv2-eclate .p2 { top: 4.75rem; } .pv2-eclate .p3 { top: 5.75rem; } .pv2-eclate .p4 { top: 6.75rem; }
@keyframes pv2-p1 { 0%, 15%, 90%, 100% { transform: translateY(0); } 35%, 75% { transform: translateY(-3.5rem); } }
@keyframes pv2-p2 { 0%, 15%, 90%, 100% { transform: translateY(0); } 35%, 75% { transform: translateY(-1.25rem); } }
@keyframes pv2-p3 { 0%, 15%, 90%, 100% { transform: translateY(0); } 35%, 75% { transform: translateY(1.25rem); } }
@keyframes pv2-p4 { 0%, 15%, 90%, 100% { transform: translateY(0); } 35%, 75% { transform: translateY(3.5rem); } }
@keyframes pv2-nom { 0%, 25%, 85%, 100% { opacity: 0; } 38%, 72% { opacity: 1; } }
.bx-vu .pv2-eclate .p1 { animation: pv2-p1 12s ease-in-out infinite; } .bx-vu .pv2-eclate .p2 { animation: pv2-p2 12s ease-in-out infinite; }
.bx-vu .pv2-eclate .p3 { animation: pv2-p3 12s ease-in-out infinite; } .bx-vu .pv2-eclate .p4 { animation: pv2-p4 12s ease-in-out infinite; }
.bx-vu .pv2-eclate .piece span { animation: pv2-nom 12s ease-in-out infinite; }
.pv2-fini { position: relative; width: 100%; display: grid; grid-template-columns: 5.5rem 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 1.25rem; }
.pv2-fini .boule { grid-column: 1; grid-row: 1 / span 2; width: 5.5rem; height: 5.5rem; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .55), transparent 38%), radial-gradient(circle at 60% 70%, rgba(0, 0, 0, .35), transparent 60%), var(--c);
  box-shadow: 0 1rem 1.5rem -1rem rgba(18, 17, 23, .6); }
.pv2-fini .boule.v0 { opacity: 1; }
.pv2-fini .boule.v1, .pv2-fini .boule.v2 { margin-top: 0; }
.pv2-fini .boule { position: relative; }
.pv2-fini .boule + .boule { position: absolute; left: 0; top: 50%; margin-top: -2.75rem; }
.pv2-ligne { position: relative; height: 2.25rem; padding: .5rem .75rem; border: 1px solid rgba(18, 17, 23, .1); border-radius: .5rem; background: #fff; }
.pv2-ligne code { position: absolute; left: .75rem; top: .5rem; font-size: .75rem; opacity: 0; } .pv2-ligne code.v0 { opacity: 1; }
.pv2-fini .pv-nuancier { margin-top: .625rem; }
@keyframes pv2-fin { 0%, 2% { opacity: 0; } 5%, 31% { opacity: 1; } 34%, 100% { opacity: 0; } }
.bx-vu .pv2-fini .boule, .bx-vu .pv2-ligne code { animation: pv2-fin 18s ease-in-out infinite; }
.bx-vu .pv2-fini .v1, .bx-vu .pv2-fini li.v1 i { animation-delay: 6s; } .bx-vu .pv2-fini .v2, .bx-vu .pv2-fini li.v2 i { animation-delay: 12s; }
.bx-vu .pv2-fini .pv-nuancier i { animation: pv-pastille 18s ease-in-out infinite; }

/* ---------- Packshots v2 */
.pk2-comp { width: 100%; } .pk2-comp .pk-comp { aspect-ratio: 2.35 / 1; }
.pk2-epreuve { position: relative; width: 100%; padding: 1.125rem 1.125rem .25rem; border: 1px solid rgba(18, 17, 23, .1); border-radius: .25rem; background: #fff; }
.pk2-epreuve .coin { position: absolute; width: .75rem; height: .75rem; border: 0 solid var(--uc-encre); }
.pk2-epreuve .hg { left: .375rem; top: .375rem; border-left-width: 1px; border-top-width: 1px; }
.pk2-epreuve .hd { right: .375rem; top: .375rem; border-right-width: 1px; border-top-width: 1px; }
.pk2-epreuve .bg { left: .375rem; bottom: .375rem; border-left-width: 1px; border-bottom-width: 1px; }
.pk2-epreuve .bd { right: .375rem; bottom: .375rem; border-right-width: 1px; border-bottom-width: 1px; }
.pk2-epreuve .lab { padding: .875rem 1rem; border-radius: .375rem; background: #F4EFE6; }
.pk2-epreuve .lab p { margin: 0; }
.pk2-epreuve .marque { font-size: .625rem; font-weight: 600; letter-spacing: .24em; color: #B42318; }
.pk2-epreuve .nom { margin-top: .25rem !important; font-size: 1rem; font-weight: 500; color: var(--uc-encre); }
.pk2-epreuve .sous { font-size: .6875rem; color: #6B6872; }
.pk2-epreuve .lignes { display: grid; gap: .25rem; margin: .625rem 0 !important; }
.pk2-epreuve .lignes i { height: .25rem; border-radius: 999px; background: #DDD5C7; } .pk2-epreuve .lignes .c { width: 60%; }
.pk2-epreuve .cb { width: 4.5rem; height: 1.25rem; background: repeating-linear-gradient(90deg, #121117 0 1px, transparent 1px 3px, #121117 3px 5px, transparent 5px 6px); }
.pk2-epreuve .poids { position: absolute; right: 2rem; bottom: 2.75rem; font-size: .5rem; color: #3F3E44; }
.pk2-epreuve .loupe { position: absolute; right: .875rem; bottom: 1.75rem; width: 4.25rem; height: 4.25rem; border-radius: 50%; display: grid; place-items: center;
  background: #F4EFE6; border: 2px solid var(--uc-encre); box-shadow: 0 .5rem 1rem -.5rem rgba(18, 17, 23, .5); }
.pk2-epreuve .loupe p { margin: 0; font-size: .6875rem; font-weight: 600; line-height: 1.1; text-align: center; color: var(--uc-encre); }
@keyframes pk2-loupe { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-1.75rem, -.5rem); } }
.bx-vu .pk2-epreuve .loupe { animation: pk2-loupe 14s ease-in-out infinite; }
.pk2-epreuve .pk-barre { margin: .5rem 0 .375rem; }
.pk2-decor { position: relative; width: 100%; aspect-ratio: 4 / 3.3; border-radius: .75rem; overflow: hidden; }
.pk2-decor .fond { position: absolute; inset: 0; opacity: 0; }
.pk2-decor .fond.bois { opacity: 1; background: repeating-linear-gradient(100deg, #C79B6B 0 7px, #BC8F60 7px 11px, #CFA676 11px 19px); }
.pk2-decor .fond.pierre { background: radial-gradient(circle at 20% 30%, #B8B5AF 0 2px, transparent 3px) 0 0 / 22px 22px, radial-gradient(circle at 70% 60%, #A8A49D 0 1.5px, transparent 2.5px) 0 0 / 17px 17px, #C8C5BF; }
.pk2-decor .fond.sauge { background: linear-gradient(180deg, #A9B9A0 0 62%, #93A68B 62%); }
@keyframes pk2-fond { 0%, 2% { opacity: 0; } 6%, 31% { opacity: 1; } 35%, 100% { opacity: 0; } }
.bx-vu .pk2-decor .fond, .bx-vu .pk2-decor .etiq span { animation: pk2-fond 21s ease-in-out infinite; }
.bx-vu .pk2-decor .pierre { animation-delay: 7s !important; } .bx-vu .pk2-decor .sauge { animation-delay: 14s !important; }
.pk2-decor .produit { position: absolute; left: 50%; bottom: 14%; width: 26%; transform: translateX(-50%); }
.pk2-decor .produit .ombre { position: absolute; left: -10%; right: -10%; bottom: -6%; height: 12%; border-radius: 50%; background: rgba(0, 0, 0, .25); filter: blur(4px); z-index: -1; }
.pk2-decor .sil .f { fill: rgba(255, 255, 255, .78); stroke: rgba(18, 17, 23, .25); } .pk2-decor .sil .cap { fill: #F4F2EE; }
.pk2-decor .sil .lab { fill: #2F6FB0; }
.pk2-decor .etiq { position: absolute; left: .75rem; top: .75rem; margin: 0; }
.pk2-decor .etiq span { position: absolute; left: 0; top: 0; padding: .1875rem .5rem; border-radius: 999px; background: rgba(255, 255, 255, .85); font-size: .625rem; font-weight: 500; opacity: 0; white-space: nowrap; }
.pk2-decor .etiq span.bois { opacity: 1; }
.pk2-gamme { position: relative; width: 100%; padding: .75rem; border-radius: .375rem; background: #1A191E; }
.pk2-gamme ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin: 0; padding: 0; list-style: none; }
.pk2-gamme li { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 7.5rem; padding: .5rem .5rem .375rem; background: #F3F1EC; }
.pk2-gamme .n { position: absolute; left: .3rem; top: .25rem; font-size: .5rem; font-weight: 600; letter-spacing: .1em; color: #C9A227; }
.pk2-gamme .pot { --v: 1; width: calc(70% * var(--v)); margin: 0 auto; }
.pk2-gamme .sil .f { fill: #fff; stroke: rgba(18, 17, 23, .18); } .pk2-gamme .sil .cap { fill: #E2DFD8; } .pk2-gamme .sil .lab { fill: var(--c); }
.pk2-gamme .pk-cercle { width: 22%; left: .5%; top: 2%; }
@keyframes pk2-saute { 0%, 24.9% { left: .5%; } 25%, 49.9% { left: 33.5%; } 50%, 74.9% { left: 50%; } 75%, 100% { left: 66.5%; } }
.bx-vu .pk2-gamme .pk-cercle { animation: pk2-saute 36s step-end infinite; }

/* ---------- Point cloud v2 : la chaîne en colonne */
.pc-chaine.vertical { grid-template-columns: 1fr; gap: 1.125rem; padding: 0; }
.pc-chaine.vertical li { padding: .625rem .875rem; }
.pc-chaine.vertical li + li::before { right: auto; left: 1.5rem; top: auto; bottom: 100%; width: 1px; height: 1.125rem; }
.pc-chaine.vertical li + li::after { display: none; }
.bx-pc .q4 .pc-legende { height: auto; max-height: 30rem; }
.bx-pc .q2 .bx-ill, .bx-pc .q3 .bx-ill, .bx-pc .q5 .bx-ill { padding-bottom: 1.25rem; }

/* ---------- Blocking v2 */
.bv2-viseur { position: relative; width: 100%; aspect-ratio: 2.39 / 1; border-radius: .5rem; overflow: hidden; background: #DCE3EA; }
.bv2-viseur .zoom { position: absolute; inset: 0; transform-origin: 50% 52%; }
.bv2-paysage { display: block; width: 100%; height: 100%; }
.bv2-paysage .ciel { fill: #E6ECF1; } .bv2-paysage .m3 { fill: #C3CAD3; } .bv2-paysage .m2 { fill: #A7B0BA; }
.bv2-paysage .sol { fill: #8C9A86; } .bv2-paysage .eau { fill: #9DB7C4; } .bv2-paysage .chateau { fill: #E4DFD6; stroke: #8E887E; stroke-width: 1; }
.bv2-paysage .pont { fill: #D7D1C6; stroke: #8E887E; stroke-width: 1; } .bv2-paysage .arches { fill: none; stroke: #8E887E; stroke-width: 1.2; }
@keyframes bv2-zoom { 0%, 22% { transform: scale(1); } 33%, 55% { transform: scale(1.2); } 66%, 88% { transform: scale(1.75); } 100% { transform: scale(1); } }
.bx-vu .bv2-viseur .zoom { animation: bv2-zoom 27s cubic-bezier(.45, 0, .2, 1) infinite; }
.bv2-viseur .c { position: absolute; width: 1.25rem; height: 1.25rem; border: 0 solid var(--uc-encre); }
.bv2-viseur .hg { left: .75rem; top: .75rem; border-left-width: 1.5px; border-top-width: 1.5px; }
.bv2-viseur .hd { right: .75rem; top: .75rem; border-right-width: 1.5px; border-top-width: 1.5px; }
.bv2-viseur .bg { left: .75rem; bottom: .75rem; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.bv2-viseur .bd { right: .75rem; bottom: .75rem; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.bv2-viseur .croix { position: absolute; left: 50%; top: 50%; width: 1rem; height: 1rem; margin: -.5rem; background:
  linear-gradient(var(--uc-encre), var(--uc-encre)) 50% 0 / 1px 100% no-repeat, linear-gradient(var(--uc-encre), var(--uc-encre)) 0 50% / 100% 1px no-repeat; }
.bv2-viseur .bv-hud { color: var(--uc-encre); text-shadow: none; }
@keyframes bv2-hud { 0%, 2% { opacity: 0; } 4%, 31% { opacity: 1; } 33%, 100% { opacity: 0; } }
.bx-vu .bv2-viseur .bv-hud span { animation: bv2-hud 27s ease-in-out infinite; }
.bx-vu .bv2-viseur .bv-hud .v1, .bx-vu .bv2-bague .v1 { animation-delay: 9s; } .bx-vu .bv2-viseur .bv-hud .v2, .bx-vu .bv2-bague .v2 { animation-delay: 18s; }
.bv2-bague { position: absolute; right: 1.25rem; bottom: 1rem; display: flex; gap: .5rem; margin: 0; font-size: .6875rem; font-weight: 500; color: rgba(18, 17, 23, .35); }
.bv2-bague span { padding: .125rem .375rem; border-radius: 999px; }
@keyframes bv2-bague { 0%, 2% { background: transparent; color: rgba(18, 17, 23, .35); } 4%, 31% { background: var(--uc-encre); color: #fff; } 33%, 100% { background: transparent; color: rgba(18, 17, 23, .35); } }
.bx-vu .bv2-bague span { animation: bv2-bague 27s ease-in-out infinite; }
.bv2-decoupage { width: 100%; display: grid; gap: .875rem; }
.bv2-decoupage .bv-feuille td { height: 1.75rem; }
.bv2-tl { position: relative; }
.bv2-tl ul { display: flex; gap: 3px; margin: 0 0 3px; padding: 0; list-style: none; }
.bv2-tl li { --c: 5; flex: var(--c) 1 0; height: 1.5rem; border-radius: .3rem; background: var(--uc-encre); position: relative; }
.bv2-tl .blk li { height: .875rem; background: #D6D3DC; }
.bv2-tl li span { position: absolute; left: .375rem; top: .125rem; font-size: .625rem; font-weight: 600; color: #fff; }
.bv2-tl .blk span { display: none; }
.bv2-tl .bv-tete { left: 0; }
@keyframes bv2-tete { from { left: 0; } to { left: 100%; } }
.bx-vu .bv2-tl .bv-tete { animation: bv2-tete 36s linear infinite; }
.bv2-tl p { display: flex; justify-content: space-between; margin: .375rem 0 0; font-size: .625rem; color: #8E8B96; }

@media (prefers-reduced-motion: reduce) {
  .bx-vu .bx-pv .sil .f, .bx-vu .pv2-eclate .piece, .bx-vu .pv2-eclate .piece span, .bx-vu .pv2-fini .boule, .bx-vu .pv2-ligne code,
  .bx-vu .pv2-fini .pv-nuancier i, .bx-vu .pk2-epreuve .loupe, .bx-vu .pk2-decor .fond, .bx-vu .pk2-decor .etiq span,
  .bx-vu .pk2-gamme .pk-cercle, .bx-vu .bv2-viseur .zoom, .bx-vu .bv2-viseur .bv-hud span, .bx-vu .bv2-bague span, .bx-vu .bv2-tl .bv-tete { animation: none; }
}

/* =========================================================================== bentos, v3 : les dessins */
.pk-comp svg { display: block; width: 100%; height: 100%; }
.pk-comp.pk3 { aspect-ratio: 2.35 / 1; }
.pk3-pack .fond { fill: #F2EEE7; } .pk3-pack .sol { fill: #E5DCCD; } .pk3-pack .ombre { fill: rgba(60, 40, 20, .22); }
.pk3-pack .face { fill: rgba(255, 255, 255, .55); stroke: rgba(120, 100, 80, .35); } .pk3-pack .cote { fill: rgba(255, 255, 255, .35); stroke: rgba(120, 100, 80, .3); }
.pk3-pack .dessus { fill: rgba(255, 255, 255, .7); stroke: rgba(120, 100, 80, .3); }
.pk3-pack .etiq { fill: #FBF7F0; } .pk3-pack .bande { fill: #B42318; }
.pk3-pack .ronds circle { fill: #E9B44C; } .pk3-pack .ronds circle:nth-child(n+4) { fill: #D8576F; }
.pk3-pack .reflet { fill: rgba(255, 255, 255, .55); } .pk3-pack .arete { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 1.2; }
.pk3-pack.rendu .fond { fill: #E9E9EC; } .pk3-pack.rendu .sol { fill: #DCDCE0; } .pk3-pack.rendu .ombre { fill: rgba(0, 0, 0, .1); }
.pk3-pack.rendu .face, .pk3-pack.rendu .cote, .pk3-pack.rendu .dessus { fill: #F4F4F6; stroke: #8E8B96; stroke-width: 1; }
.pk3-pack.rendu .etiq { fill: #FFF; stroke: #8E8B96; stroke-width: .8; } .pk3-pack.rendu .bande { fill: #B42318; }
.pk3-pack.rendu .ronds circle { fill: #D6D3DC; stroke: #8E8B96; stroke-width: .8; } .pk3-pack.rendu .reflet { display: none; }
.pk3-pack.rendu .arete { stroke: #6B6872; stroke-width: 1; }
.pc-noir.pc3 { display: grid; place-items: center; aspect-ratio: auto; height: 100%; min-height: 20rem; }
.pc3-nuage { width: 100%; height: auto; }
.pc3-nuage .pts circle { fill: #D9D6CF; }
.pc3-nuage .parts path { fill: var(--c); opacity: 0; }
@keyframes pc3-pts { 0%, 34% { opacity: 1; } 46%, 88% { opacity: .12; } 100% { opacity: 1; } }
@keyframes pc3-parts { 0%, 38% { opacity: 0; } 50%, 86% { opacity: .95; } 98%, 100% { opacity: 0; } }
.bx-vu .pc3-nuage .pts { animation: pc3-pts 16s ease-in-out infinite; }
.bx-vu .pc3-nuage .parts path { animation: pc3-parts 16s ease-in-out infinite; }
.pc-noir.pc3 .pc-compte { left: 0; bottom: 0; }
.bv3-avant { width: 100%; } .pk-comp.bv3 { aspect-ratio: 470 / 230; }
.bv3-decor .ciel { fill: #E6ECF1; } .bv3-decor .mont { fill: #B6BEC8; } .bv3-decor .sol { fill: #8FA087; } .bv3-decor .grille { display: none; }
.bv3-decor .chateau rect { fill: #E8E1D4; stroke: #8E887E; } .bv3-decor .toit { fill: #4B5C88; } .bv3-decor .pont { fill: #D9CFBF; stroke: #8E887E; }
.bv3-decor .arches { fill: none; stroke: #7E776C; stroke-width: 1.4; } .bv3-decor .eau { fill: #7FB2C6; }
.bv3-decor.blk .ciel { fill: #F1F1F3; } .bv3-decor.blk .mont { fill: #D4D4D9; } .bv3-decor.blk .sol { fill: #E2E2E6; }
.bv3-decor.blk .grille { display: inline; } .bv3-decor.blk .grille path { stroke: rgba(18, 17, 23, .12); stroke-width: 1; fill: none; }
.bv3-decor.blk .chateau rect, .bv3-decor.blk .pont { fill: #C9C8CF; stroke: #6B6872; } .bv3-decor.blk .toit { fill: #A9A7B0; }
.bv3-decor.blk .arches { stroke: #6B6872; } .bv3-decor.blk .eau { fill: #CDD6DE; }
/* gamme : des pots plus grands dans des vignettes plus basses ; le titre du bento produit centré dans sa tuile haute */
.pk2-gamme li { height: 6rem; } .pk2-gamme .pot { width: calc(78% * var(--v)); }
.pk2-epreuve .loupe p { font-size: .5625rem; }
.bx-pv .q1 .bx-ill { align-items: center; }
@media (prefers-reduced-motion: reduce) { .bx-vu .pc3-nuage .pts, .bx-vu .pc3-nuage .parts path { animation: none; } .pc3-nuage .parts path { opacity: .95; } .pc3-nuage .pts { opacity: .12; } }

/* =========================================================================== bentos, v4 : une rangée par case, 3D et graphiques */
@media (min-width: 992px) {
  .uc-sec-bento .bx-pv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bx-pv .bx-t { grid-row: auto !important; grid-column: auto !important; } .bx-pv .q4 { grid-column: span 2 !important; }
  .uc-sec-bento .bx-pk { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .uc-sec-bento .bx-pc { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bx-pc .bx-t { grid-row: auto !important; grid-column: auto !important; } .bx-pc .q1, .bx-pc .q2, .bx-pc .q5 { grid-column: span 2 !important; }
  .uc-sec-bento .bx-bv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bx-bv .bx-t { grid-row: auto !important; grid-column: auto !important; } .bx-bv .q1, .bx-bv .q4 { grid-column: span 2 !important; }
}
canvas.m3 { display: block; width: 100%; aspect-ratio: 4 / 3; }
.bx-pv .q4 canvas.m3 { aspect-ratio: 2.2 / 1; }
.pv4-produit { position: relative; width: 100%; }
.pv4-produit canvas.m3 { aspect-ratio: 5 / 4; }
.pv4-produit .pv2-glb { position: absolute; left: 0; top: 0; }
.pv4-cibles { display: flex; flex-wrap: wrap; justify-content: center; gap: .375rem; margin: .25rem 0 0; }
.pv4-cibles span { padding: .25rem .625rem; border: 1px solid rgba(18, 17, 23, .1); border-radius: 999px; background: #fff; font-size: .6875rem; color: #3F3E44; }
.pv4-arbre { width: 100%; height: auto; }
.pv4-arbre .liens path { fill: none; stroke: rgba(18, 17, 23, .16); stroke-width: .8; }
.pv4-arbre .noeuds circle { fill: #3F3E44; } .pv4-arbre .noeuds circle.f { fill: #fff; stroke: #3F3E44; stroke-width: .9; }
.pv4-arbre .tetes text { font: 500 7px Inter, sans-serif; fill: #8E8B96; }
@keyframes pv4-feuille { 0%, 3.5% { fill: var(--uc-encre); } 4.5%, 100% { fill: #fff; } }
.bx-vu .pv4-arbre circle.f { animation: pv4-feuille 24s linear infinite; }
.bx-vu .pv4-arbre circle.f:nth-of-type(22) { animation-delay: 0s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(23) { animation-delay: 1s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(24) { animation-delay: 2s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(25) { animation-delay: 3s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(26) { animation-delay: 4s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(27) { animation-delay: 5s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(28) { animation-delay: 6s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(29) { animation-delay: 7s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(30) { animation-delay: 8s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(31) { animation-delay: 9s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(32) { animation-delay: 10s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(33) { animation-delay: 11s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(34) { animation-delay: 12s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(35) { animation-delay: 13s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(36) { animation-delay: 14s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(37) { animation-delay: 15s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(38) { animation-delay: 16s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(39) { animation-delay: 17s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(40) { animation-delay: 18s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(41) { animation-delay: 19s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(42) { animation-delay: 20s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(43) { animation-delay: 21s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(44) { animation-delay: 22s; }
.bx-vu .pv4-arbre circle.f:nth-of-type(45) { animation-delay: 23s; }

.pv4-total { margin: .5rem 0 0; font-size: .75rem; color: #6B6872; } .pv4-total b { font-size: 1.25rem; font-weight: 400; color: var(--uc-encre); margin-right: .25rem; }
.pk4-pack { position: relative; width: 100%; }
.pk4-pack canvas.m3 { aspect-ratio: 2.6 / 1; border-radius: .75rem; }
.pk4-pack span { position: absolute; top: .5rem; padding: .1875rem .5rem; border-radius: 999px; background: rgba(255, 255, 255, .85); font-size: .625rem; font-weight: 500; }
.pk4-pack .g { left: .5rem; } .pk4-pack .d { right: .5rem; }
.bx-pk .q3 canvas.m3 { border-radius: .75rem; }
.pk4-matrice { width: 100%; font-size: .6875rem; color: #6B6872; }
.pk4-matrice p { display: grid; grid-template-columns: 6.5rem repeat(4, 1fr); align-items: center; gap: .3125rem; margin: 0 0 .3125rem; }
.pk4-matrice .tete span { font-size: .5625rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #8E8B96; text-align: center; }
.pk4-matrice .rang span { display: flex; align-items: center; gap: .375rem; }
.pk4-matrice .rang i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--c); }
.pk4-matrice b { height: 1.125rem; border-radius: .25rem; background: #ECEAE6; transition: background-color .6s; }
@keyframes pk4-case { 0%, 4% { background: #ECEAE6; } 8%, 92% { background: var(--uc-encre); } 100% { background: #ECEAE6; } }
.bx-vu .pk4-matrice b { animation: pk4-case 30s ease-in-out infinite; }
.bx-vu .pk4-matrice .rang:nth-of-type(2) b:nth-of-type(1) { animation-delay: 0.00s; }
.bx-vu .pk4-matrice .rang:nth-of-type(2) b:nth-of-type(2) { animation-delay: 0.35s; }
.bx-vu .pk4-matrice .rang:nth-of-type(2) b:nth-of-type(3) { animation-delay: 0.70s; }
.bx-vu .pk4-matrice .rang:nth-of-type(2) b:nth-of-type(4) { animation-delay: 1.05s; }
.bx-vu .pk4-matrice .rang:nth-of-type(3) b:nth-of-type(1) { animation-delay: 1.40s; }
.bx-vu .pk4-matrice .rang:nth-of-type(3) b:nth-of-type(2) { animation-delay: 1.75s; }
.bx-vu .pk4-matrice .rang:nth-of-type(3) b:nth-of-type(3) { animation-delay: 2.10s; }
.bx-vu .pk4-matrice .rang:nth-of-type(3) b:nth-of-type(4) { animation-delay: 2.45s; }
.bx-vu .pk4-matrice .rang:nth-of-type(4) b:nth-of-type(1) { animation-delay: 2.80s; }
.bx-vu .pk4-matrice .rang:nth-of-type(4) b:nth-of-type(2) { animation-delay: 3.15s; }
.bx-vu .pk4-matrice .rang:nth-of-type(4) b:nth-of-type(3) { animation-delay: 3.50s; }
.bx-vu .pk4-matrice .rang:nth-of-type(4) b:nth-of-type(4) { animation-delay: 3.85s; }
.bx-vu .pk4-matrice .rang:nth-of-type(5) b:nth-of-type(1) { animation-delay: 4.20s; }
.bx-vu .pk4-matrice .rang:nth-of-type(5) b:nth-of-type(2) { animation-delay: 4.55s; }
.bx-vu .pk4-matrice .rang:nth-of-type(5) b:nth-of-type(3) { animation-delay: 4.90s; }
.bx-vu .pk4-matrice .rang:nth-of-type(5) b:nth-of-type(4) { animation-delay: 5.25s; }
.bx-vu .pk4-matrice .rang:nth-of-type(6) b:nth-of-type(1) { animation-delay: 5.60s; }
.bx-vu .pk4-matrice .rang:nth-of-type(6) b:nth-of-type(2) { animation-delay: 5.95s; }
.bx-vu .pk4-matrice .rang:nth-of-type(6) b:nth-of-type(3) { animation-delay: 6.30s; }
.bx-vu .pk4-matrice .rang:nth-of-type(6) b:nth-of-type(4) { animation-delay: 6.65s; }
.bx-vu .pk4-matrice .rang:nth-of-type(7) b:nth-of-type(1) { animation-delay: 7.00s; }
.bx-vu .pk4-matrice .rang:nth-of-type(7) b:nth-of-type(2) { animation-delay: 7.35s; }
.bx-vu .pk4-matrice .rang:nth-of-type(7) b:nth-of-type(3) { animation-delay: 7.70s; }
.bx-vu .pk4-matrice .rang:nth-of-type(7) b:nth-of-type(4) { animation-delay: 8.05s; }

.pk4-matrice .total { display: block; margin-top: .5rem; } .pk4-matrice .total b { display: inline; height: auto; background: none; animation: none !important; font-size: 1.125rem; font-weight: 400; color: var(--uc-encre); margin-right: .25rem; }
.pc4-noir { position: relative; width: 100%; }
.pc4-noir canvas.m3 { aspect-ratio: 2.2 / 1; }
.pc4-noir .pc-compte { position: absolute; left: 0; bottom: 0; margin: 0; }
.bx-pc .q4 .pc-legende { height: 11rem; max-height: none; }
.bx-pc .q5 .pc-chaine.vertical { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.bx-pc .q5 .pc-chaine.vertical li + li::before { left: auto; right: 100%; top: 50%; bottom: auto; width: 1.5rem; height: 1px; }
.bv4-viseur { width: 100%; } .bv4-viseur canvas.m3 { aspect-ratio: 2.39 / 1; border-radius: .5rem; }
.bx-bv .q3 canvas.m3 { aspect-ratio: 5 / 4; }

.bx-ill > canvas.m3, .bx-ill > div > canvas.m3 { justify-self: stretch; width: 100%; }
.bx-ill:has(> canvas.m3) { place-items: stretch; }
.pk4-matrice b { height: .875rem; border-radius: 3px; }
.bx-pv .q4 canvas.m3 { aspect-ratio: 3 / 1; }
.bx-bv .q3 canvas.m3 { aspect-ratio: 16 / 10; }

/* blocking v5 : la vraie scène et ses caméras ; le graphique des focales */
.bv5-scene { position: relative; width: 100%; aspect-ratio: 2.39 / 1; border-radius: .625rem; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #FFFFFF, #ECEBEF); }
.bv5-scene .bx-canevas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; }
.bv5-scene.bx-vif .bx-canevas { opacity: 1; }
.bv5-scene .c { position: absolute; z-index: 1; width: 1.125rem; height: 1.125rem; border: 0 solid var(--uc-encre); }
.bv5-scene .hg { left: .75rem; top: .75rem; border-left-width: 1.5px; border-top-width: 1.5px; }
.bv5-scene .hd { right: .75rem; top: .75rem; border-right-width: 1.5px; border-top-width: 1.5px; }
.bv5-scene .bg { left: .75rem; bottom: .75rem; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.bv5-scene .bd { right: .75rem; bottom: .75rem; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.bv5-hud { position: absolute; z-index: 1; left: 1.5rem; bottom: 1.125rem; display: flex; align-items: center; gap: .5rem; margin: 0;
  padding: .25rem .625rem; border-radius: 999px; background: rgba(255, 255, 255, .8); font: 500 .6875rem Inter, sans-serif; color: var(--uc-encre); }
.bv5-hud .rec { width: .5rem; height: .5rem; border-radius: 50%; background: #E5484D; }
.bx-vu .bv5-hud .rec { animation: bv-rec 2.4s ease-in-out infinite; }
.bv5-focales { width: 100%; max-width: 20rem; height: auto; }
.bv5-focales .aire { fill: rgba(18, 17, 23, .05); stroke: rgba(18, 17, 23, .35); stroke-width: .8; }
.bv5-focales text { font: 500 9px Inter, sans-serif; fill: var(--uc-encre); opacity: 0; }
.bv5-focales circle { fill: var(--uc-encre); }
@keyframes bv5-champ { 0%, 2% { fill: rgba(18, 17, 23, .05); } 5%, 31% { fill: rgba(18, 17, 23, .2); } 34%, 100% { fill: rgba(18, 17, 23, .05); } }
@keyframes bv5-txt { 0%, 2% { opacity: 0; } 5%, 31% { opacity: 1; } 34%, 100% { opacity: 0; } }
.bv5-focales .v0 text { opacity: 1; }
.bx-vu .bv5-focales .aire { animation: bv5-champ 18s ease-in-out infinite; } .bx-vu .bv5-focales text { animation: bv5-txt 18s ease-in-out infinite; }
.bx-vu .bv5-focales .v1 .aire, .bx-vu .bv5-focales .v1 text { animation-delay: 6s; } .bx-vu .bv5-focales .v2 .aire, .bx-vu .bv5-focales .v2 text { animation-delay: 12s; }
@media (prefers-reduced-motion: reduce) { .bx-vu .bv5-focales .aire, .bx-vu .bv5-focales text, .bx-vu .bv5-hud .rec { animation: none; } }

/* blocking v6 : le motard */
.bv5-scene { background: linear-gradient(180deg, #DCE9F5, #F3F1EC); }
.bv6-moniteur { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: .5rem; overflow: hidden; background: #0B0B0E; }
.bv6-moniteur .bx-canevas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; }
.bv6-moniteur.bx-vif .bx-canevas { opacity: 1; }
.bv6-moniteur .c { position: absolute; z-index: 1; width: .875rem; height: .875rem; border: 0 solid rgba(255, 255, 255, .9); }
.bv6-moniteur .hg { left: .5rem; top: .5rem; border-left-width: 1.5px; border-top-width: 1.5px; }
.bv6-moniteur .hd { right: .5rem; top: .5rem; border-right-width: 1.5px; border-top-width: 1.5px; }
.bv6-moniteur .bg { left: .5rem; bottom: .5rem; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.bv6-moniteur .bd { right: .5rem; bottom: .5rem; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.bv6-tc { position: absolute; z-index: 1; left: 1rem; top: .875rem; display: flex; gap: .5rem; margin: 0; font: 600 .625rem Inter, sans-serif; letter-spacing: .08em; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.bv6-tc span { color: #FF6B6B; }
.bv6-couv { position: relative; width: 100%; }
.bv6-couv ul { display: grid; gap: .4375rem; margin: 0; padding: 0; list-style: none; }
.bv6-couv li { --g: 0; --w: .2; position: relative; display: grid; grid-template-columns: 1rem 1fr; align-items: center; height: 1.25rem; font-size: .625rem; color: #8E8B96; }
.bv6-couv li i { position: relative; display: block; height: 100%; margin-left: calc(var(--g) * 100%); width: calc(var(--w) * 100%);
  border-radius: .3125rem; background: #E2E0E6; transition: background-color .6s; }
.bv6-couv li b { position: absolute; left: calc(1rem + var(--g) * (100% - 1rem) + .4rem); font-weight: 500; color: #3F3E44; }
.bv6-couv li.on i { background: var(--uc-encre); } .bv6-couv li.on b { color: #fff; }
.bv6-couv .regle { display: flex; justify-content: space-between; margin: .5rem 0 0 1rem; font-size: .5625rem; color: #8E8B96; }
.bv6-feuille tbody tr.on { background: rgba(255, 214, 10, .28); }
.bx-vu .bv6-feuille tbody tr { animation: none; }
.bv6-feuille td { height: 1.5rem !important; }
/* la zone sombre : le motif s'efface avant « Explore » (17 nov.), la section des autres usages est sur un noir uni.
   --fin : le haut de la section Explore dans la zone, posé par uc.js */
.uc-zone-sombre > .waves { -webkit-mask-image: linear-gradient(180deg, #000 calc(var(--fin, 60%) - 16rem), transparent var(--fin, 60%));
  mask-image: linear-gradient(180deg, #000 calc(var(--fin, 60%) - 16rem), transparent var(--fin, 60%)); }
/* Game props, rangée du haut (18 nov. : « réduis le bas et ajoute un fade pour gagner de la place ») : les deux cases ont
   une hauteur ferme, leur contenu part du haut et s'efface en bas */
@media (min-width: 992px) {
  .bx-a .bx-ill, .bx-b .bx-ill { flex: none; height: 19.5rem; min-height: 0; padding-bottom: 0; overflow: hidden; place-items: start center;
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 3.5rem), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 3.5rem), transparent); }
  .bx-b .bx-ill > .bx-carte { -webkit-mask-image: none; mask-image: none; }
}
.bx-vues { aspect-ratio: 16 / 9.5; }
/* un peu moins serré : le dernier curseur et le bas du modèle restent au-dessus du fondu */
@media (min-width: 992px) {
  .bx-a .bx-ill, .bx-b .bx-ill { height: 22.25rem;
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 2.25rem), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 2.25rem), transparent); }
}

/* la section « Explore » (18 nov., test) : un fond V01 animé et discret (uc.js), et les cartes en verre dépoli */
.uc-sec-chroma { position: relative; isolation: isolate; }
.uc-sec-chroma > .wrap { position: relative; z-index: 1; }
.uc-explore-fond { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
.uc-explore-fond.pret { opacity: 1; }
.uc-explore-fond canvas { display: block; width: 100%; height: 100%; }
.uc-sec-chroma .uc-chroma-carte { background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .12), 0 1.5rem 3rem -2rem rgba(0, 0, 0, .7); }
.uc-sec-chroma .uc-chroma-carte:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .16), 0 1.5rem 3rem -2rem rgba(0, 0, 0, .7); }
.uc-sec-chroma .uc-chroma-carte::before { display: none; }
.uc-sec-chroma .uc-chroma-img { background: rgba(255, 255, 255, .03); }

/* >>> bentos 18 nov. */
/* Bentos « Why code » des quatre pages Use case (18 nov.) : Grille à 12 colonnes, deux rangées, tuiles
   condensées ; cartes intérieures blanches à filet net, fondues en bas ; animations lentes lancées par .bx-vu. */
.uc-sec-bento .bx.g12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.bx.g12 > .c3 { grid-column: span 3; } .bx.g12 > .c4 { grid-column: span 4; } .bx.g12 > .c5 { grid-column: span 5; }
.bx.g12 > .c6 { grid-column: span 6; } .bx.g12 > .c7 { grid-column: span 7; } .bx.g12 > .c8 { grid-column: span 8; }
.bx.g12 .bx-txt { padding: 1.5rem 1.625rem 1.125rem; }
.bx.g12 .bx-txt h3 { font-size: 1.25rem; }
.bx.g12 .bx-txt p { font-size: .875rem; max-width: 26rem; }
.bx.g12 .bx-ill { flex: none; height: 17rem; min-height: 0; padding: 2px 1.5rem 0; place-items: start center; overflow: hidden; }   /* 2 px en haut : le filet des cartes, dessiné à l'extérieur, reste visible */
/* la carte intérieure : blanche, filet net, ombre douce, fondu en bas (rien d'important dans le dernier tiers) */
.bx-in { position: relative; width: 100%; margin: 0; border-radius: .875rem; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(18, 17, 23, .09), 0 1.25rem 2.5rem -1.5rem rgba(18, 17, 23, .22);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.bx-in.net { -webkit-mask-image: none; mask-image: none; }
.bx-in img { display: block; width: 100%; height: auto; }
.bx-puce { position: absolute; display: inline-flex; align-items: center; gap: .375rem; padding: .3125rem .625rem; border-radius: 999px;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(18, 17, 23, .08); font-size: .6875rem; font-weight: 500; color: #3F3E44; }
@media (prefers-reduced-motion: reduce) { .bx.g12 * { animation: none !important; transition: none !important; } }

/* ---------------------------------------------------------------- Packshots : 6·3·3 / 6·6 */
.spk-cadre { aspect-ratio: auto; }
.spk-cadre .spk-photo { transform-origin: 60% 55%; }
.bx-vu .spk-cadre .spk-photo { animation: spk-zoom 24s ease-in-out infinite alternate; }
@keyframes spk-zoom { to { transform: scale(1.045); } }
.spk-cadre .bx-puce { top: .875rem; right: .875rem; }
.spk-visee { position: absolute; inset: .625rem; pointer-events: none;
  background: linear-gradient(#fff, #fff) 0 0 / 14px 1.5px, linear-gradient(#fff, #fff) 0 0 / 1.5px 14px,
    linear-gradient(#fff, #fff) 100% 0 / 14px 1.5px, linear-gradient(#fff, #fff) 100% 0 / 1.5px 14px;
  background-repeat: no-repeat; opacity: .9; }
.spk-pip { position: absolute; left: .875rem; top: .875rem; width: 36%; padding: .3125rem; border-radius: .625rem; background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 17, 23, .08), 0 .75rem 1.5rem -.5rem rgba(18, 17, 23, .35); }
.spk-pip img { border-radius: .375rem; }
.spk-pip span { display: block; padding: .375rem .25rem .125rem; font-size: .625rem; font-weight: 500; color: #6B6874; }
.bx-vu .spk-pip { animation: spk-flotte 9s ease-in-out infinite alternate; }
@keyframes spk-flotte { to { transform: translateY(-4px); } }

.spk-epreuve { max-width: 21rem; padding: .25rem .25rem 0; }
.spk-epreuve svg { display: block; width: 100%; height: auto; font-family: Inter, sans-serif; }
.spk-loupe { filter: drop-shadow(0 6px 10px rgba(18, 17, 23, .22)); }

.spk-cal { max-width: 15rem; padding: .875rem .875rem .75rem; }
.spk-jours { display: grid; grid-template-columns: repeat(7, 1fr); gap: .1875rem; margin: .125rem 0 .625rem; padding: 0; list-style: none; }
.spk-jours li { position: relative; aspect-ratio: 1; border-radius: .3125rem; background: #F4F3F0; font-size: .5625rem; font-weight: 500;
  color: #A3A0AA; display: grid; place-items: center; }
.spk-jours li.s { background: #E4E2DD; color: #6B6874; }
.bx-vu .spk-jours li.s { animation: spk-jour .6s ease both; animation-delay: calc(var(--c) * 90ms + .3s); }
@keyframes spk-jour { from { background: #F4F3F0; color: #A3A0AA; } }
.spk-jours li.h { background: #fff; color: #121117; box-shadow: inset 0 0 0 1.5px #121117; }
.spk-jours li.h::after { content: ""; position: absolute; right: 3px; top: 3px; width: 5px; height: 5px; border-radius: 50%;
  background: url(/rb/assets/v01/sandflow-03-noyau-carre.webp) center / cover; }
.spk-leg { display: grid; gap: .375rem; margin: 0; padding-top: .75rem; border-top: 1px solid #EFEDE9; font-size: .75rem; }
.spk-leg div { display: flex; justify-content: space-between; }
.spk-leg dt { display: flex; align-items: center; gap: .5rem; color: #6B6874; }
.spk-leg dd { margin: 0; font-weight: 500; color: #121117; }
.spk-leg i { width: .625rem; height: .625rem; border-radius: .1875rem; }
.spk-l-shoot { background: #E4E2DD; } .spk-l-3d { background-size: cover; background-position: center; }

.spk-decors { max-width: 34rem; }
.spk-prompt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .625rem; padding: .625rem .75rem;
  border-bottom: 1px solid #EFEDE9; font-size: .75rem; }
.spk-p-et { color: #8E8B96; }
.spk-p-txt { position: relative; height: 1.1rem; overflow: hidden; }
.spk-p-txt b { position: absolute; inset: 0; font-weight: 500; color: #121117; opacity: 0; transition: opacity 1.4s ease, transform 1.4s ease; transform: translateY(.4rem); white-space: nowrap; }
.spk-p-txt b.on { opacity: 1; transform: none; }
.spk-p-cam { padding: .1875rem .5rem; border-radius: 999px; background: #F4F3F0; color: #6B6874; font-size: .6875rem; font-weight: 500; }
.spk-pile { position: relative; aspect-ratio: 16 / 9; }
.spk-pile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 2.4s ease; }
.spk-pile img.on { opacity: 1; }

.spk-gamme { max-width: 34rem; }
.spk-file { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; padding: .625rem .75rem;
  border-bottom: 1px solid #EFEDE9; font-size: .75rem; }
.spk-f-nom { font-weight: 500; color: #121117; }
.spk-f-cams { display: flex; gap: .25rem; }
.spk-f-cams b { padding: .1875rem .4375rem; border-radius: .375rem; font-size: .625rem; font-weight: 500; color: #8E8B96; background: #F4F3F0; transition: all .8s ease; }
.spk-f-cams b.on { background: #121117; color: #fff; }
.spk-f-n { display: flex; align-items: center; gap: .5rem; color: #6B6874; }
.spk-f-n em { font-style: normal; font-variant-numeric: tabular-nums; }
.spk-barre { position: relative; width: 4.5rem; height: .25rem; border-radius: 999px; background: #EFEDE9; overflow: hidden; }
.spk-barre i { position: absolute; inset: 0; width: calc(var(--v, 1) * 100%); border-radius: inherit; background: #121117; transition: width .6s ease; }
.spk-gamme img { margin-top: 0; }
.spk-variantes { display: flex; justify-content: space-around; margin-top: -2.75rem; padding: 0 1.25rem; font-size: .625rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: #8E8B96; }

/* ---------------------------------------------------------------- Blocking to video : 7·5 / 5·7 */
.sbk-scene { height: 100%; min-height: 15.5rem; }
.sbk-vue { position: absolute; inset: 0; }
.sbk-vue canvas, .sbk-moniteur canvas { display: block; width: 100%; height: 100%; }
.sbk-cam { left: .75rem; top: .75rem; margin: 0; }
.sbk-cam i { width: .4375rem; height: .4375rem; border-radius: 50%; background: #7C3AED; }
.sbk-moniteur-cadre { max-width: 26rem; margin-top: 1rem; padding: .4375rem; border-radius: 1rem; }
.sbk-moniteur { aspect-ratio: 16 / 9; border-radius: .625rem; overflow: hidden; background: #dfe9f2; }
.sbk-visee { position: absolute; inset: 1rem; pointer-events: none;
  background: linear-gradient(#fff, #fff) 0 0 / 12px 1.5px, linear-gradient(#fff, #fff) 0 0 / 1.5px 12px,
    linear-gradient(#fff, #fff) 100% 0 / 12px 1.5px, linear-gradient(#fff, #fff) 100% 0 / 1.5px 12px,
    linear-gradient(#fff, #fff) 0 100% / 12px 1.5px, linear-gradient(#fff, #fff) 0 100% / 1.5px 12px,
    linear-gradient(#fff, #fff) 100% 100% / 12px 1.5px, linear-gradient(#fff, #fff) 100% 100% / 1.5px 12px;
  background-repeat: no-repeat; opacity: .85; }
.bx-t .sbk-hud { position: absolute; left: 1.5rem; right: 1.5rem; top: 1.25rem; display: flex; justify-content: space-between; margin: 0;
  font-size: .625rem; font-weight: 500; letter-spacing: .04em; color: #fff !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.sbk-tc { font-variant-numeric: tabular-nums; }
.sbk-code { max-width: 30rem; }
.sbk-code .bx-code { font-size: .6875rem; line-height: 1.85; white-space: nowrap; }
.sbk-code s { text-decoration: none; color: #0F766E; }
.sbk-code .sbk-l { margin: 0 -1rem; padding: 0 1rem; background: rgba(124, 58, 237, .08); }
.sbk-lens { display: inline-block; min-width: 1.3em; }
.sbk-lens.vu { animation: sbk-flash 1.2s ease; }
@keyframes sbk-flash { from { background: rgba(194, 65, 12, .18); } }
.sbk-frise { padding: .875rem 1rem 1rem; }
.sbk-regle { position: relative; height: 1rem; margin: 0 0 .375rem 1.25rem; font-size: .5625rem; color: #8E8B96; font-variant-numeric: tabular-nums; }
.sbk-regle span { position: absolute; left: calc(var(--g) * 100%); transform: translateX(-2px); }
.sbk-pistes { position: relative; display: grid; gap: .3125rem; margin: 0; padding: 0; list-style: none; }
.sbk-pistes li { position: relative; display: grid; grid-template-columns: 1.25rem 1fr; align-items: center; height: 1.625rem; }
.sbk-n { font-size: .625rem; font-weight: 500; color: #8E8B96; }
.sbk-clip { position: relative; margin-left: calc(var(--g) * 100%); width: calc(var(--w) * 100%); height: 100%; border-radius: .375rem;
  overflow: hidden; box-shadow: 0 0 0 1px rgba(18, 17, 23, .12); background: #EFEDE9; }
.sbk-imgs { display: flex; height: 100%; }
.sbk-imgs img { flex: 1; min-width: 0; height: 100%; object-fit: cover; }
.sbk-clip b { position: absolute; left: .3125rem; bottom: .1875rem; padding: .0625rem .3125rem; border-radius: .25rem; background: rgba(18, 17, 23, .72);
  font-size: .5rem; font-weight: 500; color: #fff; }
.sbk-pistes li.on .sbk-clip { box-shadow: 0 0 0 1.5px #7C3AED; }
.sbk-tete { position: absolute; top: 1.625rem; bottom: .75rem; left: calc(2.25rem + var(--p, 0) * (100% - 3.25rem)); width: 1.5px; background: #7C3AED; }
.sbk-tete::before { content: ""; position: absolute; top: -3px; left: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: #7C3AED; }

/* ---------------------------------------------------------------- Point cloud to 3D : 3·6·3 / 7·5 ; nuages sur fond noir */
.spc-noir { background: #fff; }
.b18-pc .bx-t.c5 .bx-ill { padding: 2px 1.25rem 0; }
.spc-noir[data-pcb] { height: 16rem; }
.spc-vue { position: absolute; inset: 0; } .spc-vue canvas { display: block; width: 100%; height: 100%; }
.bx-t .spc-chips { position: absolute; left: .875rem; top: .875rem; display: flex; align-items: center; gap: .5rem; margin: 0;
  font-size: .6875rem; font-weight: 500; color: #3F3E44; }
.spc-chips span { padding: .25rem .5625rem; border-radius: 999px; background: #F4F3F0; box-shadow: inset 0 0 0 1px rgba(18, 17, 23, .08); }
.spc-chips i { width: 1.25rem; height: 1px; background: rgba(18, 17, 23, .25); }
.spc-reseau { padding: .75rem .75rem .5rem; font-size: .6875rem; }
.bx-t .spc-r-tete, .bx-t .spc-r-pied { display: flex; justify-content: space-between; margin: 0 0 .375rem; color: #8E8B96; font-size: .625rem; font-weight: 500; }
.spc-reseau ul { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.spc-reseau li { display: grid; grid-template-columns: 1fr auto; gap: .375rem .5rem; padding: .5rem; border-radius: .5rem; background: #F7F6F3; }
.spc-reseau li.spc-sel { background: rgba(124, 58, 237, .07); }
.spc-f { display: flex; align-items: center; gap: .375rem; font-weight: 500; color: #121117; }
.spc-f small { margin-left: auto; padding-left: .25rem; font-weight: 400; color: #8E8B96; }
.spc-reseau b { font-weight: 500; color: #3F3E44; font-variant-numeric: tabular-nums; }
.spc-barre { grid-column: 1 / -1; height: .3125rem; border-radius: 999px; background: #E7E5E0; position: relative; }
.spc-barre::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); min-width: .3125rem; border-radius: inherit; background: #121117; }
.spc-sel .spc-barre::before { background: #7C3AED; }
.bx-vu .spc-barre::before { animation: spc-charge 2.4s cubic-bezier(.3, .7, .2, 1) both; }
.bx-vu .spc-sel .spc-barre::before { animation-delay: .4s; animation-duration: .8s; }
@keyframes spc-charge { from { width: 0; } }
.spc-ic { width: .75rem; height: .75rem; border-radius: .1875rem; background: #121117; }
.spc-ic.nuage { background: radial-gradient(circle, #121117 1.2px, transparent 1.5px) 0 0 / 4px 4px; box-shadow: inset 0 0 0 1px #121117; }
.spc-ic.piece { background: #7C3AED; }
.bx-t .spc-r-pied { margin: .5rem 0 0; color: #7C3AED; }
.spc-nom { max-width: 13rem; padding: .875rem 0 1rem; text-align: center; }
.spc-nom img { width: auto; height: 9.5rem; margin: .625rem auto 0; }
.spc-nom figcaption { display: grid; gap: .125rem; padding: 0; font-size: .6875rem; color: #8E8B96; }
.spc-nom figcaption b { font-size: .875rem; font-weight: 500; color: #121117; }
.spc-ecarts { padding: .625rem .875rem; }
.bx-t .spc-e-tete { display: grid; grid-template-columns: 2.5rem 1fr 9rem 3.5rem 3.5rem; gap: .5rem; margin: 0 0 .25rem; padding: 0 .25rem; font-size: .625rem; font-weight: 500; color: #8E8B96; }
.spc-e-tete span:first-child { grid-column: 2; } .spc-e-tete span:nth-child(2) { grid-column: 3 / 5; } .spc-e-tete span:last-child { text-align: right; }
.spc-ecarts ol { display: grid; gap: .125rem; margin: 0; padding: 0; list-style: none; }
.spc-ecarts li { display: grid; grid-template-columns: 2.5rem 1fr 9rem 3.5rem 3.5rem; align-items: center; gap: .5rem; padding: .3125rem .25rem; font-size: .75rem; }
.spc-ecarts li + li { border-top: 1px solid #F1EFEB; }
.spc-ecarts img { width: 2.5rem; height: 2.5rem; border-radius: .5rem; background: #F4F3F0; object-fit: contain; padding: .125rem; }
.spc-ecarts span { display: grid; } .spc-ecarts b { font-weight: 500; color: #121117; } .spc-ecarts small { color: #8E8B96; font-size: .6875rem; }
.spc-b { position: relative; height: .3125rem; border-radius: 999px; background: #EFEDE9; }
.spc-b::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: inherit; background: #121117; }
.bx-vu .spc-b::before { animation: spc-charge 1.6s cubic-bezier(.3, .7, .2, 1) both; }
.spc-ecarts em { font-style: normal; font-variant-numeric: tabular-nums; color: #3F3E44; text-align: right; }
.spc-ecarts em:last-child { color: #8E8B96; }
.spc-sim { max-width: 30rem; }
.spc-sim .bx-puce { left: .75rem; top: .75rem; margin: 0; } .spc-sim .bx-puce b { font-weight: 600; color: #121117; }
/* Packshots · le volet lent : blocking en argile → packshot généré, même cadre */
.spk-volet { aspect-ratio: 16 / 9; }
.spk-volet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spk-volet .spk-apres { clip-path: inset(0 0 0 var(--x, 50%)); }
.spk-ligne { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 1.5px; background: #fff; box-shadow: 0 0 0 .5px rgba(18, 17, 23, .1); }
.spk-volet .bx-puce { top: .75rem; } .spk-p1 { left: .75rem; } .spk-p2 { right: .75rem; }

.spc-nom-t { display: flex; flex-direction: column; align-items: center; gap: .125rem; font-size: .6875rem; color: #8E8B96; }
.spc-nom-t b { font-size: .875rem; font-weight: 500; color: #121117; }
.spk-volet .spk-ligne, .spk-volet .spk-apres { will-change: clip-path, left; }

/* le fondu en bas : sur la zone visible de la tuile, pour qu'il se voie même quand la carte dépasse */
.bx.g12 .bx-ill { -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%); mask-image: linear-gradient(180deg, #000 74%, transparent 100%); }
.bx.g12 .bx-ill:has(> .net) { -webkit-mask-image: none; mask-image: none; }
.bx.g12 .bx-in { -webkit-mask-image: none; mask-image: none; }
/* Point cloud · l'escalier éclaté, ses pièces nommées */
.spc-eclate { max-width: 17rem; padding: .5rem; }
.spc-eclate img { width: 100%; height: auto; }
.spc-tag { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); display: grid; padding-left: 2.75rem;
  font-size: .625rem; color: #8E8B96; white-space: nowrap; transform: translateY(-50%); }
.spc-tag::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #7C3AED; box-shadow: 0 0 0 3px rgba(124, 58, 237, .18); }
.spc-tag::after { content: ""; position: absolute; left: 6px; top: 50%; width: 2.25rem; height: 1px; background: rgba(18, 17, 23, .3); }
.spc-tag b { font: 500 .6875rem ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #121117; }
/* Point cloud · la chargeuse, des points aux pièces, en fondu lent ; les filtres ; le stockage */
.spc-etapes { max-width: 28rem; }
.spc-pile { position: relative; aspect-ratio: 16 / 10; background: #F4F4F6; }
.spc-pile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: .75rem; opacity: 0; transition: opacity 2.4s ease; }
.spc-pile img.on { opacity: 1; }
.spc-pas { display: flex; justify-content: center; gap: .375rem; padding: .625rem .75rem; border-top: 1px solid #EFEDE9; font-size: .6875rem; color: #8E8B96; }
.spc-pas span { padding: .1875rem .5rem; border-radius: 999px; transition: all .8s ease; }
.spc-pas span.on { background: #121117; color: #fff; }
.spc-etapes { display: flex; flex-direction: column-reverse; }
.spc-etapes .spc-pas { border-top: 0; border-bottom: 1px solid #EFEDE9; }
.spc-filtres, .spc-sim { background: #F4F3F0; }
.spc-filtres .bx-puce, .spc-sim .bx-puce { left: .75rem; top: .75rem; margin: 0; }
.spc-filtres code { padding: 0; background: none; font: 500 .6875rem ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #7C3AED; }
.spc-filtres img { padding: 2.5rem .5rem 0; }
.spc-sim img { padding: 2.25rem 1rem 0; }

/* ---------------------------------------------------------------- Product viewer : 7·5 / 6·6, de grands éléments */
.b18-pv .bx-ill { height: 21rem; padding: 2px 1.25rem 0; }
.b18-pv > .c7 .bx-ill, .b18-pv > .c5 .bx-ill { height: 23.5rem; }   /* la rangée du haut, plus haute (Tanguy, 18 nov.) */
/* le site de vente du vélo, en boucle vidéo rendue depuis la 3D */
.spv-film { max-width: none; }
.spv-film .bx-win-barre span, .spv-nav .bx-win-barre span, .spv-shop .bx-win-barre span { font-family: Inter, sans-serif; font-size: .625rem; }
.spv-boucle { display: block; width: 100%; height: auto; background: #F3F1EC; }
/* le fauteuil en 3D sur sa page produit, et en AR */
.spv-surfaces { position: relative; width: 100%; height: 100%; }
.spv-nav { position: absolute; left: 0; top: .25rem; width: 72%; }
.spv-nav .spv-mv { position: relative; aspect-ratio: 4 / 3; background: #F6F5F2; }
.spv-mv .rb-model-viewer__hint, .spv-mv .rb-model-viewer__side { display: none; }
.bx-t .spv-fiche-l { display: grid; gap: .125rem; margin: 0; padding: .625rem .75rem .875rem; padding-right: 30%; font-size: .6875rem; color: #8E8B96; }
.spv-fiche-l b { font-size: .8125rem; font-weight: 500; color: #121117; }
.spv-tel { position: absolute; right: 0; top: 2rem; width: 38%; padding: .3125rem; border-radius: 1.375rem; background: #121117; }
.spv-tel img { display: block; width: 100%; aspect-ratio: 9 / 17; object-fit: cover; border-radius: 1.0625rem; }
.spv-ar { position: absolute; left: .875rem; top: .875rem; padding: .125rem .375rem; border-radius: .375rem; background: rgba(255, 255, 255, .9); font-size: .5625rem; font-weight: 600; color: #121117; }
.bx-vu .spv-tel { animation: spk-flotte 9s ease-in-out infinite alternate; }
/* la page produit façon grande boutique : vignettes, grande vue, colonne d'achat */
.spv-shop { max-width: none; }
.bx-t .spv-ariane { margin: 0; padding: .5rem .75rem 0; font-size: .5625rem; color: #8E8B96; }
.spv-shop-corps { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) minmax(0, 1fr); gap: .625rem; padding: .375rem .75rem .75rem; }
.spv-vignettes { display: grid; gap: .3125rem; align-content: start; margin: 0; padding: 0; list-style: none; }
.spv-vignettes li { border-radius: .3125rem; overflow: hidden; box-shadow: inset 0 0 0 1px #E6E3DE; transition: box-shadow .5s ease; }
.spv-vignettes li.on { box-shadow: 0 0 0 1.5px #121117; }
.spv-vignettes img { display: block; width: 100%; height: auto; }
.spv-grande { position: relative; aspect-ratio: 1; }
.spv-grande img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1.2s ease; }
.spv-grande img.on { opacity: 1; }
.spv-achat { font-size: .625rem; color: #55535C; }
.bx-t .spv-titre { margin: 0 0 .25rem; font-size: .8125rem; line-height: 1.3; font-weight: 500; color: #121117; }
.bx-t .spv-couleur { margin: 0 0 .5rem; }
.spv-couleur b { font-weight: 600; color: #121117; }
.spv-achat dl { display: grid; gap: .125rem; margin: 0 0 .375rem; }
.spv-achat dl div { display: flex; justify-content: space-between; padding-bottom: .1875rem; border-bottom: 1px solid #F1EFEB; }
.spv-achat dt { color: #8E8B96; } .spv-achat dd { margin: 0; font-weight: 600; color: #121117; font-variant-numeric: tabular-nums; }
.bx-t .spv-stock { margin: 0 0 .375rem; font-weight: 600; color: #0F7B3E; }
.spv-panier, .spv-acheter { display: block; margin-top: .3125rem; padding: .375rem; border-radius: 999px; text-align: center; font-size: .625rem; font-weight: 500; color: #121117; }
.spv-panier { background: #FFD84D; } .spv-acheter { background: #FFAA3A; }
/* la lampe, en vraie 3D, ses quatre articulations au curseur */
.spv-lampe { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); height: 19.5rem; background: #fff; }
.spv-lp-vue { position: relative; min-height: 0; }
.spv-lp-vue canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.spv-lp-ctl { display: grid; align-content: start; gap: .75rem; padding: 1.75rem .875rem .875rem; border-left: 1px solid #EFEDE9; }
.spv-lp-ctl label { display: grid; gap: .125rem; font: 500 .625rem Inter, sans-serif; color: #8E8B96; }
.spv-lp-ctl input { width: 100%; accent-color: #121117; }
/* le poids */
.spv-poids { padding: 0 0 .875rem; }
.spv-poids .spv-boucle { width: 78%; margin: 0 auto .25rem; background: #fff; }
.spv-p-l { display: grid; grid-template-columns: 2.75rem 1fr; gap: .25rem .5rem; align-items: center; margin: 0 .875rem .5rem; font-size: .6875rem; color: #8E8B96; }
.spv-p-l b { grid-column: 2; font-weight: 500; color: #3F3E44; font-variant-numeric: tabular-nums; }
.spv-p-l.on b { color: #7C3AED; }
.spv-p-b { position: relative; height: .3125rem; border-radius: 999px; background: #EFEDE9; }
.spv-p-b::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); min-width: .3125rem; border-radius: inherit; background: #121117; }
.spv-p-l.on .spv-p-b::before { background: #7C3AED; }
.bx-vu .spv-p-b::before { animation: spc-charge 2s cubic-bezier(.3, .7, .2, 1) both; }

/* la page produit : la vue 360° (boucle vidéo rendue depuis la 3D) en tête, sans cotes */
.spv-grande video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1.2s ease; background: #fff; }
.spv-grande video.on { opacity: 1; }
.spv-v360 { position: relative; }
.spv-v360 b { position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); padding: 0 .1875rem; border-radius: .1875rem; background: rgba(255, 255, 255, .92); font-size: .4375rem; font-weight: 700; color: #121117; }
.bx-t .spv-etoiles { margin: 0 0 .375rem; font-size: .6875rem; letter-spacing: .05em; color: #E8A33A; }
.bx-t .spv-teintes { display: flex; gap: .25rem; margin: -.25rem 0 .5rem; }
.spv-teintes i { width: 1rem; height: 1rem; border-radius: .25rem; background: radial-gradient(circle at 50% 55%, #E9B76A, #7A3A12 75%); box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px #121117; }
.bx-t .spv-apropos { margin: 0 0 .1875rem; font-weight: 600; color: #121117; }
.spv-puces { margin: 0 0 .5rem; padding-left: .875rem; line-height: 1.45; }

/* Point cloud, version animée (18 nov., après Tanguy : « on ne comprend pas bien chaque exemple… il faut de l'animation ») :
   quatre boucles vidéo tirées de nos scènes 3D, et la case du poids */
.b18-pc .bx-ill { height: 19rem; }
.spc-film { background: #F4F3F0; }
.spc-boucle { display: block; width: 100%; height: auto; background: #F4F3F0; }
.spc-etapes-film .spc-pas { position: absolute; left: 0; right: 0; top: 0; z-index: 1; margin: 0; border: 0; background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 1px 0 #EFEDE9; }
.spc-etapes-film .spc-boucle { margin-top: 2.25rem; }

/* les films remplissent leur tuile ; la légende, en HTML net, suit le temps de la vidéo */
.b18-pc .spc-film .spc-boucle { height: 17.5rem; object-fit: cover; object-position: 50% 45%; }
.b18-pc .spc-grand .spc-boucle { height: auto; aspect-ratio: 1300 / 564; object-fit: cover; background: #F4F4F6; }   /* le film de la chargeuse, recadré sur la machine, sans barre d'étapes */
.spc-leg { position: absolute; left: .75rem; top: .75rem; z-index: 1; }
.spc-leg > div { display: none; min-width: 11rem; padding: .625rem .75rem; border-radius: .75rem; background: rgba(255, 255, 255, .94);
  box-shadow: 0 0 0 1px rgba(18, 17, 23, .08), 0 .75rem 1.5rem -.75rem rgba(18, 17, 23, .3); }
.spc-leg > div.on { display: block; animation: spc-leg-entre .5s ease both; }
@keyframes spc-leg-entre { from { opacity: 0; transform: translateY(4px); } }
.spc-leg small { display: block; margin-bottom: .1875rem; font-size: .5625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #7C3AED; }
.spc-leg b { display: block; font-size: .875rem; font-weight: 500; color: #121117; }
.spc-leg span { display: block; margin-top: .125rem; font-size: .6875rem; color: #6B6874; }
.spc-leg em { display: flex; gap: .25rem; margin-top: .5rem; }
.spc-leg em i { width: 1rem; height: .1875rem; border-radius: 999px; background: #E7E5E0; }
.spc-leg em i.on { background: #121117; }

/* Point cloud, retours du 18 nov. (soir) : rangée du bas moins haute, fondu plus long et plus doux (comme Game props) */
.b18-pc .bx-ill { -webkit-mask-image: linear-gradient(180deg, #000 52%, rgba(0, 0, 0, .55) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 52%, rgba(0, 0, 0, .55) 78%, transparent 100%); }
.b18-pc > li:nth-child(n+3) .bx-ill { height: 14.5rem; }
.b18-pc > li:nth-child(n+3) .spc-film .spc-boucle { height: 14.5rem; }
/* Point cloud, retours du 18 nov. (fin d'après-midi) : cartouches réduits au nom, sans sur-titre, pour laisser voir l'objet */
.spc-leg { left: .5rem; top: .5rem; }
.spc-leg > div { min-width: 0; padding: .3125rem .5625rem; border-radius: .5rem; }
.spc-leg b { font-size: .6875rem; line-height: 1.3; white-space: nowrap; }
.spc-leg em { gap: .1875rem; margin-top: .3125rem; }
.spc-leg em i { width: .625rem; height: .125rem; }
.b18-pc .spc-film .spc-boucle.spc-bas { object-position: 50% 88%; }
/* Packshots, retours du 18 nov. (soir) : volet à deux pastilles séparées, calendrier en deux pistes, variantes 12 / 6 */
.spk-volet .spk-p1 { right: auto; } .spk-volet .spk-p2 { left: auto; }
.spk-cal { max-width: 16rem; }
.spk-voie { margin-top: .75rem; }
.spk-voie p { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 .375rem; font-size: .6875rem; color: #6B6874; }
.spk-voie b { font-weight: 500; color: #121117; }
.spk-voie em { font-style: normal; font-weight: 500; color: #121117; }
.spk-piste { position: relative; display: flex; gap: 2px; height: 1.375rem; border-radius: .375rem; background: #F4F3F0; overflow: hidden; }
.spk-piste i { display: flex; align-items: center; justify-content: center; font-style: normal; font-size: .5625rem; font-weight: 500; color: #55535C;
  background-color: #E4E2DD; transform-origin: left center; }
.spk-piste .spk-s1 { flex: 0 0 22%; } .spk-piste .spk-s2 { flex: 0 0 36%; background-color: #D9D6D0; } .spk-piste .spk-s3 { flex: 0 0 38%; }
.spk-piste .spk-s4 { flex: 0 0 4%; min-width: .5rem; border-radius: .375rem; background-size: cover; background-position: center; }
.spk-v3d .spk-piste span { position: absolute; left: calc(4% + .5rem); top: 50%; transform: translateY(-50%); font-size: .5625rem; font-weight: 500; color: #121117; }
.spk-axe { display: flex; margin: .625rem 0 0; padding-top: .375rem; border-top: 1px solid #EFEDE9; font-size: .5rem; color: #8E8B96; }
.spk-axe span { flex: 1; } .spk-axe span + span { text-align: center; } .spk-axe span:last-child { text-align: right; }
.bx-vu .spk-piste i { animation: spk-pousse .9s cubic-bezier(.2, .7, .2, 1) both; }
.bx-vu .spk-piste .spk-s2 { animation-delay: .35s; } .bx-vu .spk-piste .spk-s3 { animation-delay: .7s; } .bx-vu .spk-piste .spk-s4 { animation-delay: 1.1s; }
@keyframes spk-pousse { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .bx-vu .spk-piste i { animation: none; } }
.spk-formats { max-width: 34rem; }
.spk-formats img { display: block; width: 100%; height: auto; }
.spk-formats .bx-puce { top: .75rem; transform: translateX(-50%); }
.spk-formats .spk-f12 { left: 33%; } .spk-formats .spk-f6 { left: 79%; }
/* Packshots · formats : les pastilles se posent à côté de chaque bouteille */
.spk-formats .bx-puce.spk-f12 { left: auto; right: 62%; top: 44%; transform: none; }
.spk-formats .bx-puce.spk-f6 { left: 61%; top: 55%; transform: none; }
/* Packshots, retours du 18 nov. (fin de journée) */
.spk-piste .spk-s4 { flex: 0 0 4%; min-width: 1.125rem; overflow: hidden; background: none; }
.spk-piste .spk-s4 img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spk-v3d .spk-piste span { left: 1.625rem; }
/* première rangée plus basse : l'illustration s'arrête peu après son contenu, le fondu ne prend que le bas */
.b18-pk > li:nth-child(-n+3) .bx-ill { height: 14.5rem; mask-image: linear-gradient(180deg, #000 80%, transparent 100%); }
.b18-pk .spk-volet { width: 100%; max-width: 25rem; margin: 0 auto; }
/* une sortie, quatre formats : cadres au bon ratio, même hauteur, l'un après l'autre en avant */
.spk-ratios { width: 100%; max-width: 34rem; padding: 1.25rem 1rem 1rem; }
.spk-ratios ol { display: flex; justify-content: center; align-items: flex-end; gap: .875rem; margin: 0; padding: 0; list-style: none; }
.spk-ratios li { display: flex; flex-direction: column; align-items: center; gap: .125rem; }
.spk-cadre-r { display: grid; place-items: center; height: clamp(4rem, 12vw, 7rem); margin-bottom: .5rem; border-radius: .375rem;
  background: #F4F3F0; box-shadow: inset 0 0 0 1px #E4E2DD; transition: box-shadow .6s ease, background-color .6s ease; }
.spk-r0 .spk-cadre-r { aspect-ratio: 1; } .spk-r1 .spk-cadre-r { aspect-ratio: 4 / 5; }
.spk-r2 .spk-cadre-r { aspect-ratio: 16 / 9; } .spk-r3 .spk-cadre-r { aspect-ratio: 9 / 16; }
.spk-obj { position: relative; width: .875rem; height: 42%; border-radius: .25rem .25rem .1875rem .1875rem; background: #D9D6D0; margin-top: 12%; }
.spk-obj::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 38%; height: 22%; transform: translateX(-50%); border-radius: 2px 2px 0 0; background: #C9C6C0; }
.spk-ratios b { font-size: .75rem; font-weight: 500; color: #121117; }
.spk-ratios small { font-size: .625rem; color: #8E8B96; }
.spk-ratios li.on .spk-cadre-r { background: #fff; box-shadow: inset 0 0 0 1.5px #121117; }
/* Packshots · « One render, every format » : le même packshot sur quatre écrans qui se chevauchent */
.spk-ecrans { width: 100%; max-width: 34rem; padding-top: .75rem; }
.spk-scene { position: relative; aspect-ratio: 34 / 17; container-type: inline-size; }
.spk-ap { position: absolute; }
.spk-ap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spk-tag { position: absolute; z-index: 3; font-style: normal; font-size: 1.75cqw; font-weight: 500; letter-spacing: .01em; color: #55535C; white-space: nowrap;
  padding: .55cqw 1.4cqw; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 0 0 1px rgba(18, 17, 23, .06), 0 1cqw 2.4cqw -1cqw rgba(18, 17, 23, .25); }
/* l'écran large, au fond */
.spk-moniteur { left: 21%; top: 2%; width: 53%; z-index: 1; }
.spk-moniteur .spk-ecran { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: .9cqw solid #1B1A20; border-radius: 1.3cqw;
  background: #1B1A20; box-shadow: 0 0 0 .2cqw #3A3940, 0 3cqw 6cqw -2.5cqw rgba(18, 17, 23, .45); }
.spk-moniteur .spk-tag { left: auto; right: 1.6cqw; top: 1.4cqw; }
.spk-pied { position: relative; display: block; width: 14%; height: 4.2cqw; margin: 0 auto; background: linear-gradient(90deg, #CFCCC6, #E6E4DF 45%, #C4C1BA);
  clip-path: polygon(22% 0, 78% 0, 92% 100%, 8% 100%); }
.spk-ban { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); }
.spk-ban b { display: block; font-size: 2.7cqw; font-weight: 500; letter-spacing: -.01em; color: #121117; }
.spk-ban span { display: inline-block; margin-top: 1.1cqw; padding: .6cqw 1.6cqw; border-radius: 999px; background: #121117; color: #fff; font-size: 1.4cqw; font-weight: 500; }
/* la fiche produit, en fragment de navigateur, devant à gauche */
.spk-nav { left: 0; top: 37%; width: 39%; z-index: 3; border-radius: 1.6cqw; background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 17, 23, .07), 0 3.4cqw 7cqw -2.5cqw rgba(18, 17, 23, .38); }
.spk-nav-barre { display: flex; align-items: center; gap: .8cqw; height: 4.2cqw; padding: 0 1.6cqw; border-radius: 1.6cqw 1.6cqw 0 0; background: #F6F5F2; border-bottom: 1px solid #ECEAE5; }
.spk-nav-barre i { width: 1.05cqw; height: 1.05cqw; border-radius: 50%; background: #DAD7D1; }
.spk-nav-barre span { flex: 1; height: 2.2cqw; margin-left: 1.6cqw; border-radius: 999px; background: #ECEAE5; }
.spk-fiche { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2cqw; padding: 2cqw; }
.spk-fiche img { height: auto; aspect-ratio: 1; border-radius: 1cqw; }
.spk-info { display: flex; flex-direction: column; justify-content: center; gap: 1.1cqw; }
.spk-info i { display: block; height: 1.1cqw; border-radius: 999px; background: #E4E2DD; }
.spk-info .spk-l1 { width: 85%; height: 1.6cqw; background: #121117; } .spk-info .spk-l2 { width: 60%; } .spk-info .spk-l3 { width: 72%; }
.spk-btn { margin-top: 1.2cqw; padding: .9cqw 0; border-radius: 999px; background: #121117; color: #fff; font-size: 1.45cqw; font-weight: 500; text-align: center; }
.spk-nav .spk-tag { left: 1.6cqw; top: -2.6cqw; }
/* les téléphones */
.spk-tel { width: 18.5%; }
.spk-tel .spk-ecran { position: relative; aspect-ratio: 9 / 19.5; overflow: hidden; border: .85cqw solid #1B1A20; border-radius: 3.4cqw; background: #fff;
  box-shadow: 0 0 0 .22cqw #3A3940, 0 3.4cqw 7cqw -2.5cqw rgba(18, 17, 23, .45); }
.spk-tel .spk-ecran::before { content: ""; position: absolute; z-index: 2; top: 1.1cqw; left: 50%; width: 32%; height: 1.7cqw; transform: translateX(-50%); border-radius: 999px; background: #1B1A20; }
.spk-fil { right: 19%; top: 8%; z-index: 2; }
.spk-fil-tete { display: flex; align-items: center; gap: .8cqw; padding: 4.2cqw 1.4cqw 1.2cqw; }
.spk-av { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: #E4E2DD; box-shadow: 0 0 0 .3cqw #fff, 0 0 0 .5cqw #E4E2DD; }
.spk-nm { width: 40%; height: 1cqw; border-radius: 999px; background: #DAD7D1; }
.spk-fil .spk-ecran img { height: auto; aspect-ratio: 4 / 5; }
.spk-fil-pied { display: flex; gap: 1cqw; padding: 1.3cqw 1.4cqw .9cqw; }
.spk-fil-pied i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; box-shadow: inset 0 0 0 .3cqw #121117; }
.spk-fil-l { display: block; width: 78%; height: .9cqw; margin: 0 1.4cqw .8cqw; border-radius: 999px; background: #E4E2DD; }
.spk-fil-l.spk-court { width: 50%; }
.spk-fil .spk-tag { left: -1.5cqw; top: -2.4cqw; }
.spk-story { right: 1.5%; top: 25%; z-index: 4; }
.spk-story .spk-ecran img { position: absolute; inset: 0; }
.spk-story-barres { position: absolute; z-index: 1; top: 3.9cqw; left: 1.4cqw; right: 1.4cqw; display: flex; gap: .5cqw; }
.spk-story-barres i { flex: 1; height: .35cqw; border-radius: 999px; background: rgba(255, 255, 255, .55); }
.spk-story-barres i.on { background: #fff; }
.spk-story-rep { position: absolute; left: 1.4cqw; right: 1.4cqw; bottom: 2.2cqw; height: 3.2cqw; border-radius: 999px; box-shadow: inset 0 0 0 .25cqw rgba(255, 255, 255, .8); }
.spk-story .spk-tag { left: -3cqw; top: -2.6cqw; }
/* arrivée l'un après l'autre, puis une dérive très lente, désynchronisée */
.bx-vu .spk-ap { animation: spk-ap-entre 1.3s cubic-bezier(.2, .7, .2, 1) both, spk-ap-flotte 9s ease-in-out 2.6s infinite alternate; }
.bx-vu .spk-nav { animation-delay: .45s, 3.4s; animation-duration: 1.3s, 11s; }
.bx-vu .spk-fil { animation-delay: .9s, 2.9s; animation-duration: 1.3s, 10s; }
.bx-vu .spk-story { animation-delay: 1.35s, 4.1s; animation-duration: 1.3s, 12s; }
@keyframes spk-ap-entre { from { opacity: 0; transform: translateY(3cqw); } }
@keyframes spk-ap-flotte { to { transform: translateY(-1.1cqw); } }
@media (prefers-reduced-motion: reduce) { .bx-vu .spk-ap { animation: none; } }
.b18-pk .spk-ecrans { background: none; box-shadow: none; border: 0; border-radius: 0; overflow: visible; }
.spk-moniteur .spk-tag { left: 1.6cqw; right: auto; }
/* Packshots · décors : un cadre plus bas, centré sur le pot, pour que le pot entier reste au-dessus du fondu */
.b18-pk .spk-decors { max-width: 29rem; }
.b18-pk .spk-pile { aspect-ratio: 30 / 11; }
.b18-pk .spk-pile img { object-position: 50% 54%; }

/* Packshots · « From weeks to hours » : deux barres sur la même échelle, la durée au bout ; la longueur porte le message */
.spk-duree .spk-d { margin-top: .875rem; }
.spk-duree .spk-d > b { display: block; margin-bottom: .375rem; font-size: .75rem; font-weight: 500; color: #121117; }
.spk-duree .spk-d p { display: flex; align-items: center; gap: .5rem; margin: 0; }
.spk-duree .spk-d em { flex: none; font-style: normal; font-size: .75rem; font-weight: 500; color: #6B6874; white-space: nowrap; }
.spk-d-studio { display: block; flex: 0 1 100%; height: .75rem; border-radius: 999px; background: #D9D6D0; transform-origin: left center; }
.spk-d-3d { display: block; flex: none; width: .75rem; height: .75rem; border-radius: 999px; overflow: hidden; }
.spk-d-3d img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bx-vu .spk-d-studio { animation: spk-pousse 1.4s cubic-bezier(.2, .7, .2, 1) .3s both; }
@media (prefers-reduced-motion: reduce) { .bx-vu .spk-d-studio { animation: none; } }
/* Packshots · décors : l'image descend jusqu'au bas de la tuile ; le fondu commence plus bas pour laisser le pot entier */
.b18-pk .bx-ill:has(.spk-decors) { height: 18.5rem; mask-image: linear-gradient(180deg, #000 84%, transparent 100%); }
.b18-pk .spk-decors { display: flex; flex-direction: column; height: 100%; }
.b18-pk .spk-decors .spk-pile { flex: 1; aspect-ratio: auto; }
.b18-pk .spk-pile img { object-position: 50% 100%; }
/* Téléphone (Tanguy, 20 nov. : « les viewers mets-les en plus gros… au-dessus ») : une tuile par ligne, chaque vue 3D ou
   visionneuse en grand sur toute la largeur, au-dessus de ses réglages ou de son code */
@media (max-width: 767px) {
  .uc-sec-bento .bx.g12 { grid-template-columns: minmax(0, 1fr); gap: .875rem; }
  .uc-sec-bento .bx.g12 > li { grid-column: 1 / -1; }
  .uc-sec-bento .bx.g12 > li .bx-ill { height: auto; min-height: 0; padding: 2px 1rem 1.5rem; }
  .uc-sec-bento .bx.g12 > li .bx-in { max-width: none; width: 100%; }
  /* la lampe : la vue en grand, les quatre curseurs dessous, sur deux colonnes */
  .spv-lampe { grid-template-columns: minmax(0, 1fr); height: auto; }
  .spv-lp-vue { height: 21rem; }
  .spv-lp-ctl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem 1rem; padding: .875rem; border-left: 0; border-top: 1px solid #EFEDE9; }
}
@media (max-width: 767px) {
  /* le fauteuil : le viewer 3D sur toute la largeur, le téléphone AR posé en bas à droite */
  .b18-pv .spv-nav { position: relative; left: auto; top: auto; width: 100%; }
  .b18-pv .spv-tel { top: auto; bottom: 1rem; right: 1.5rem; width: 32%; }
  /* la guitare : la grande vue à côté des vignettes, la fiche d'achat dessous */
  .spv-shop-corps { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .spv-shop-corps > :nth-child(3) { grid-column: 1 / -1; }
  /* les décors du pot : un cadre 4:3, l'image ne dépend plus de la hauteur de la tuile */
  .b18-pk .spk-decors { height: auto; }
  .b18-pk .spk-decors .spk-pile { flex: none; aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
  /* la règle pleine largeur des cadres ne vaut pas pour le téléphone AR, posé sur le viewer */
  .uc-sec-bento .bx.g12 > li .spv-tel { width: 32%; }
}

/* <<< bentos 18 nov. */
/* Explore (18 nov., suite) : pas d'ombre sous les cartes ; icônes et liens sans couleur ; au survol, la carte s'éclaire
   et laisse passer davantage le dégradé V01 qui coule derrière */
.uc-sec-chroma .uc-chroma-carte { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: background-color .5s ease, box-shadow .5s ease, -webkit-backdrop-filter .5s ease, backdrop-filter .5s ease, transform .5s ease; }
.uc-sec-chroma .uc-chroma-t svg, .uc-sec-chroma .uc-chroma-lien, .uc-sec-chroma .uc-chroma-lien svg { color: rgba(247, 246, 243, .85); }
.uc-sec-chroma .uc-chroma-carte:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
  -webkit-backdrop-filter: blur(16px) saturate(180%) brightness(1.45); backdrop-filter: blur(16px) saturate(180%) brightness(1.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .25); }
.uc-sec-chroma .uc-chroma-carte:hover .uc-chroma-lien { color: #fff; }
/* plus de voile sombre autour de la grille au survol (l'ancien effet chroma) : seule la carte visée s'éclaire */
.uc-sec-chroma .uc-chroma.vise::after { display: none; }
/* Game props en film (18 nov.) : la scène a laissé la droite libre pour le code (les objets sont décalés à gauche) ; après le
   titre (code-vu), la colonne du code et des cartes passe à droite */
@media (min-width: 992px) {
  .uc-imm.film.plein.code-droite.code-vu .uc-imm-gauche { left: auto; right: clamp(1rem, 3vw, 3rem); }
}
/* à l'étroit, le film est recadré en hauteur et le code n'est pas affiché : le cadrage suit les objets, décalés à gauche dans
   le film (environ 30 % de sa largeur) */
@media (max-width: 991px) {
  .uc-imm.film.plein.code-droite .uc-imm-video { object-position: 25% 50%; }
}

/* immersion en scène 3D : l'affiche (1280 px) ne se montre plus pendant que la scène monte ; elle reste le repli */
@media (prefers-reduced-motion: no-preference) {
  [data-ucv-imm]:not(.monte):not(.repli) > img, [data-ucv-imm]:not(.monte):not(.repli) .uc-viewer-affiche { visibility: hidden; }
  [data-ucv-imm].monte:not(.repli):has(canvas) > img { visibility: hidden; }
}

/* l'écran de chargement, façon elvalabs.ai (18 nov.) : le symbole dans sa carte ; la carte s'étire en pilule (morphing)
   pendant que le symbole s'efface sans rebond et que « Sandflow » se déplie depuis le centre ; puis retour ; cycle de 4 s */
.chargeur-icone.chargeur-logo { width: 4.5rem; overflow: hidden; animation: chargeur-carte 4s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes chargeur-carte { 0%, 24% { width: 4.5rem; } 38%, 72% { width: 12.5rem; } 86%, 100% { width: 4.5rem; } }
.chargeur-logo .chargeur-s { position: absolute; width: 2.25rem; height: auto; animation: chargeur-symbole 4s cubic-bezier(.65, 0, .35, 1) infinite; }
.chargeur-logo .chargeur-a, .chargeur-logo .chargeur-b { animation: none; }
@keyframes chargeur-symbole {
  0%, 22% { transform: scale(1); opacity: 1; filter: blur(0); }
  32% { transform: scale(.35); opacity: 0; filter: blur(3px); }
  33%, 78% { transform: scale(.35); opacity: 0; }
  90%, 100% { transform: scale(1); opacity: 1; filter: blur(0); } }
.chargeur-nom { position: absolute; display: flex; margin: 0; perspective: 18rem; white-space: nowrap;
  font: 500 1.375rem/1 Inter, sans-serif; letter-spacing: -.025em; color: #F7F6F3; }
.chargeur-nom span { display: inline-block; opacity: 0; animation: 4s cubic-bezier(.22, 1, .36, 1) infinite both; will-change: transform, opacity, filter; }
.chargeur-nom .lg { transform-origin: 100% 50%; animation-name: chargeur-lettre-g; }
.chargeur-nom .ld { transform-origin: 0% 50%; animation-name: chargeur-lettre-d; }
.chargeur-nom .k1 { animation-delay: .05s; } .chargeur-nom .k2 { animation-delay: .1s; } .chargeur-nom .k3 { animation-delay: .15s; }
@keyframes chargeur-lettre-g {
  0%, 29% { opacity: 0; transform: rotateY(-88deg) scaleX(.25); filter: blur(4px); }
  42%, 70% { opacity: 1; transform: none; filter: blur(0); }
  80%, 100% { opacity: 0; transform: rotateY(-88deg) scaleX(.25); filter: blur(4px); } }
@keyframes chargeur-lettre-d {
  0%, 29% { opacity: 0; transform: rotateY(88deg) scaleX(.25); filter: blur(4px); }
  42%, 70% { opacity: 1; transform: none; filter: blur(0); }
  80%, 100% { opacity: 0; transform: rotateY(88deg) scaleX(.25); filter: blur(4px); } }
@media (prefers-reduced-motion: reduce) {
  .chargeur-icone.chargeur-logo, .chargeur-logo .chargeur-s { animation: none; }
  .chargeur-nom span { animation: none; }
}
/* (18 nov., suite) « la card noire, garde-la seulement pour l'icône, pas autour du logo typographique » : la carte (fond et
   liseré) se réduit et s'efface avec le symbole ; « Sandflow » se déplie seul sur le noir ; puis carte et symbole reviennent */
.chargeur-icone.chargeur-logo { width: 4.5rem; overflow: visible; isolation: isolate; animation: none;
  background: none; box-shadow: none; }
.chargeur-icone.chargeur-logo::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(160deg, #222128, #141319 70%);
  box-shadow: inset 0 0 0 1px rgba(247, 246, 243, .09), 0 .875rem 1.75rem rgba(0, 0, 0, .45);
  animation: chargeur-carte-fond 4s cubic-bezier(.65, 0, .35, 1) infinite; }
.chargeur-icone.chargeur-logo::after { animation: chargeur-lisere 2.4s linear infinite, chargeur-carte-fond 4s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes chargeur-carte-fond {
  0%, 22% { transform: scale(1); opacity: 1; }
  32%, 78% { transform: scale(.4); opacity: 0; }
  90%, 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .chargeur-icone.chargeur-logo::before { animation: none; opacity: 0; }
  .chargeur-icone.chargeur-logo::after { animation: none; opacity: 0; }
  .chargeur-logo .chargeur-s { opacity: 0; }
  .chargeur-nom span { opacity: 1; transform: none; filter: none; }
}
/* Cartes de chapitre sur les vidéos de la section 1 (Tanguy, 18 nov.) : titre plus gros, numéro en fond, gris discret,
   et un peu plus de marge intérieure */
.uc-page .uc-imm-carte { max-width: 26rem; padding: 1.5rem 1.75rem 1.625rem; overflow: hidden; }
.uc-imm.film.plein .uc-imm-t.uc-imm-carte { max-width: 26rem; }
.uc-page .uc-imm-carte h2, .uc-page .uc-imm-carte p { position: relative; }
.uc-page .uc-imm-carte h2 { padding-right: 3.5rem; font-size: clamp(1.375rem, 1.9vw, 1.875rem); line-height: 1.1; }
.uc-page .uc-imm-carte p { margin-top: .5rem; font-size: .9375rem; }
.uc-page .uc-imm-n { position: absolute; top: .375rem; right: 1.125rem; margin: 0; font-size: 4.5rem; line-height: 1;
  font-weight: 500; letter-spacing: -.04em; color: rgba(18, 17, 23, .07); pointer-events: none; }
@media (max-width: 47.99rem) {
  .uc-page .uc-imm-carte { padding: 1.125rem 1.25rem 1.25rem; }
  .uc-page .uc-imm-n { font-size: 3.5rem; }
}
/* Input and output (Tanguy, 18 nov.) : « met les flèches à la place des points et les textes gris fait les un peu plus
   clairs », puis « celle d'import et d'export pour chaque ligne » : ↓ dans la carte d'entrée, ↗ dans celle de sortie, comme
   leurs en-têtes (caractères d'Inter : aucune image à charger, la CSP reste intacte) */
.uc-sombre .uc-es li { padding-left: 1.5rem; color: rgba(247, 246, 243, .9); }
.uc-sombre .uc-es li::before { content: "\2193"; top: .625rem; width: auto; height: auto; border-radius: 0; background: none;
  font-size: .875rem; line-height: 1.5; color: rgba(247, 246, 243, .55); }
.uc-sombre .uc-es-carte:has(.uc-es-nom.sortie) li::before { content: "\2197"; }
.uc-sombre .uc-es-carte > p:not(.uc-es-nom):not(.uc-es-t) { color: rgba(247, 246, 243, .9); }
.uc-sombre .uc-es-nom:not(.sortie), .uc-sombre .uc-es-t { color: rgba(247, 246, 243, .64) !important; }
/* Lifestyle : la même bouteille, trois saisons, une image à la fois (18 nov.) */
.uc-saisons { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: inherit; background: #EDECE8; }
.uc-saisons-vues { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.uc-saisons-vues li { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s cubic-bezier(.4, 0, .2, 1); }
.uc-saisons-vues li.actif { opacity: 1; }
.uc-saisons-vues img { display: block; width: 100%; height: 100%; object-fit: cover; }
.uc-saisons-choix { position: absolute; left: 50%; bottom: .875rem; display: flex; gap: .25rem; margin: 0; padding: .25rem;
  list-style: none; transform: translateX(-50%); border-radius: 999px; background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 .25rem 1rem rgba(18, 17, 23, .12); }
.uc-saisons-choix button { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .75rem; border: 0;
  border-radius: 999px; background: none; font: 500 .8125rem/1 Inter, sans-serif; color: #5E5C66; cursor: pointer;
  transition: background .4s ease, color .4s ease; }
.uc-saisons-choix button .ic { width: .9375rem; height: .9375rem; }
.uc-saisons-choix button.actif { background: #121117; color: #F7F6F3; }
.uc-saisons-choix button:focus-visible { outline: 2px solid #7C3AED; outline-offset: 2px; }
@media (max-width: 30rem) { .uc-saisons-choix button span { display: none; } .uc-saisons-choix button { padding: .4375rem; } }
@media (prefers-reduced-motion: reduce) { .uc-saisons-vues li, .uc-saisons-choix button { transition: none; } }
/* Lifestyle (Tanguy, 18 nov.) : « laisse juste l'icône » ; le nom reste lu par les lecteurs d'écran */
.uc-saisons-choix button { padding: .4375rem; }
.uc-saisons-choix button .ic { width: 1rem; height: 1rem; }
.uc-saisons-choix button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* Game props (Tanguy, 18 nov.) : « les titres sont toujours à gauche sauf pour props, passe le titre à gauche » ; le code reste
   à droite, sur la place libre du film, et les cartes de chapitre reviennent à gauche comme sur les autres pages */
@media (min-width: 992px) {
  .uc-imm.film.plein.code-droite.code-vu .uc-imm-gauche { left: clamp(1rem, 3vw, 3rem); right: clamp(1rem, 3vw, 3rem); width: auto; pointer-events: none; }
  .uc-imm.film.plein.code-droite.code-vu .uc-imm-code { left: auto; right: 0; width: min(34rem, 34vw); }
  .uc-imm.film.plein.code-droite.code-vu .uc-imm-t.uc-imm-carte { left: 0 !important; right: auto !important; }
}
/* Input and output animé (Tanguy, 19 nov.) : badges gris clair sur le fond sombre ; à côté, une pile où les éléments surgissent
   par en dessous puis se relaient (même grammaire que le badge +100K de Sand3D) ; les lignes apparaissent l'une après l'autre */
.uc-es-tete { display: flex; align-items: center; gap: .625rem; margin-bottom: 1.5rem; }
.uc-sombre .uc-es-tete .uc-es-nom { margin: 0; padding: .4375rem .8125rem; border-radius: 999px; background: rgba(247, 246, 243, .08);
  box-shadow: inset 0 0 0 1px rgba(247, 246, 243, .1); }
.uc-es-pile { position: relative; display: inline-grid; width: 2.5rem; height: 2.5rem; overflow: hidden; }
.uc-es-obj { grid-area: 1 / 1; display: grid; place-items: center; opacity: 0; transform: translateY(110%) scale(.7);
  transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), opacity .25s ease; }
.uc-es-obj .ic { width: 1.25rem; height: 1.25rem; color: rgba(247, 246, 243, .85); }
.uc-es-obj img { display: block; width: 2.5rem; height: 2.5rem; object-fit: contain; }
.uc-es-obj.sort { opacity: 0; transform: translateY(110%) scale(.7); transition: transform .25s ease-in, opacity .2s ease; }
.uc-es:not(.anime) .uc-es-obj.actif, .uc-es.vu .uc-es-obj.actif { opacity: 1; transform: none; }
.uc-es.anime .uc-es-nom, .uc-es.anime li, .uc-es.anime h3, .uc-es.anime h3 + p { opacity: 0; transform: translateY(.625rem);
  transition: opacity .6s ease, transform .7s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--d, 0s); }
.uc-es.vu .uc-es-nom, .uc-es.vu li, .uc-es.vu h3, .uc-es.vu h3 + p { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .uc-es-obj.actif { opacity: 1; transform: none; } .uc-es-obj { transition: none; } }
/* Tanguy, 19 nov. : « rajoute un peu d'espace entre les deux sections » (Input and output, puis Explore) */
.uc-zone-sombre .uc-sec-chroma { margin-top: clamp(3rem, 6vw, 5.5rem); }
/* les objets 3D de sortie, un peu plus grands que les icônes d'entrée (19 nov.) */
.uc-es-carte:has(.uc-es-nom.sortie) .uc-es-pile, .uc-es-carte:has(.uc-es-nom.sortie) .uc-es-obj img { width: 3.25rem; height: 3.25rem; }
.uc-es-tete { min-height: 3.25rem; }
/* plus de pile (19 nov.) : le badge seul ; Output en tons violets */
.uc-es-tete { min-height: 0; }
.uc-sombre .uc-es-tete .uc-es-nom.sortie { background: rgba(124, 58, 237, .18); box-shadow: inset 0 0 0 1px rgba(179, 157, 255, .28); }
/* fondu montant franc (19 nov.) : chaque élément monte de 1,75rem en se révélant ; la flèche centrale aussi */
.uc-es.anime .uc-es-nom, .uc-es.anime h3, .uc-es.anime h3 + p, .uc-es.anime .uc-es-t, .uc-es.anime li, .uc-es.anime .uc-es-fleche {
  opacity: 0; transform: translateY(1.75rem);
  transition: opacity .8s ease, transform 1s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
.uc-es.vu .uc-es-nom, .uc-es.vu h3, .uc-es.vu h3 + p, .uc-es.vu .uc-es-t, .uc-es.vu li, .uc-es.vu .uc-es-fleche { opacity: 1; transform: none; }
@media (max-width: 991px) { .uc-es.vu .uc-es-fleche { transform: rotate(90deg); } }
/* Explore (Tanguy, 19 nov. : « on a perdu l'effet de glow au passage de la souris, ça suivait la souris, là toute la carte
   brille ») : le halo coloré revient sous le curseur (--mx, --my posés par uc.js) ; la carte entière ne s'éclaire plus que
   légèrement */
.uc-sec-chroma .uc-chroma-carte:hover { -webkit-backdrop-filter: blur(16px) saturate(140%) brightness(1.08); backdrop-filter: blur(16px) saturate(140%) brightness(1.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); }
.uc-sec-chroma .uc-chroma-carte::before { display: block; z-index: 0; mix-blend-mode: screen; transition: opacity .35s ease;
  background: radial-gradient(17rem circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 55%, transparent),
    color-mix(in srgb, var(--c) 18%, transparent) 45%, transparent 72%); }
.uc-sec-chroma .uc-chroma-carte:hover::before { opacity: 1; }
.uc-sec-chroma .uc-chroma-carte > * { position: relative; z-index: 1; }


/* =========================================================================== la valise du bento Game props (19 nov.)
   tuile A : suitcase.py ; curseur du couvercle, trois molettes de la combinaison, pastilles des cuirs */
.bx-pastille.v0 { background: #5A3422; } .bx-pastille.v1 { background: #9A5226; }
.bx-pastille.v2 { background: #1D1A18; } .bx-pastille.v3 { background: #6A1B17; }
.bx-combo { display: grid; grid-template-columns: 4.5rem 1fr; gap: .5rem; align-items: center; font: 500 .6875rem Inter, sans-serif; color: #8E8B96; }
.bx-molettes { display: flex; gap: .25rem; }
.bx-molette { width: 1.5rem; height: 1.875rem; padding: 0; border: 0; border-radius: .3125rem; cursor: pointer;
  background: linear-gradient(180deg, #3A393F, #121117 30%, #121117 70%, #3A393F); color: #fff;
  font: 600 .8125rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; transition: transform .2s; }
.bx-molette:hover { transform: translateY(-1px); }
.bx-molette:focus-visible { outline: 2px solid var(--uc-encre); outline-offset: 2px; }
.bx-vues .bx-canevas.bx-main { cursor: pointer; }
.bx-var[data-valise] .bx-curseurs label, .bx-var[data-valise] .bx-combo { grid-template-columns: 5.5rem 1fr; }
/* Tanguy, 19 nov. : « le halo doit être blanc et faire ressortir le dégradé du fond plutôt que remontrer l'ancienne couleur de
   chaque bloc » : un halo blanc en overlay, qui double la lumière du dégradé vu à travers le verre (presque rien sur le noir),
   plus un soupçon de blanc pur pour qu'on sente la lumière même là où le fond est sombre */
.uc-sec-chroma .uc-chroma-carte::before { mix-blend-mode: overlay;
  background: radial-gradient(16rem circle at var(--mx) var(--my), rgba(255, 255, 255, .95), rgba(255, 255, 255, .35) 45%, transparent 72%); }
.uc-sec-chroma .uc-chroma-carte:hover { background: radial-gradient(14rem circle at var(--mx) var(--my), rgba(255, 255, 255, .06), transparent 70%),
  linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03)); }
/* halo : color-dodge (19 nov.), le noir reste noir et seules les couleurs du dégradé derrière le verre s'avivent ; le fond
   gris de la carte au survol est retiré pour que le halo n'éclaire pas du gris */
.uc-sec-chroma .uc-chroma-carte::before { mix-blend-mode: color-dodge;
  background: radial-gradient(15rem circle at var(--mx) var(--my), rgba(255, 255, 255, .5), rgba(255, 255, 255, .18) 45%, transparent 72%); }
.uc-sec-chroma .uc-chroma-carte:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015)); }
/* les pastilles de la valise : la couleur de la coque telle que le viewer la rend (médiane mesurée sur la valise fermée,
   use-cases-medias/viewers/outils/pastilles_vl.py, 19 nov.) */
.bx-pastille.v0 { background: #553A2C; } .bx-pastille.v1 { background: #9E5530; }
.bx-pastille.v2 { background: #2C2A27; } .bx-pastille.v3 { background: #662B28; }
/* Explore, halo (Tanguy, 19 nov. : « en blanc j'aime pas, c'est juste de l'exposition qu'il faut, pas réellement du blanc ») :
   aucun blanc peint. Le verre passe de la carte à ::after (une carte avec backdrop-filter isolerait ses enfants du fond) ;
   ::before, masqué en cercle sous le curseur, surexpose et sature le fond réel vu à travers le verre */
.uc-sec-chroma .uc-chroma-carte, .uc-sec-chroma .uc-chroma-carte:hover { isolation: isolate; -webkit-backdrop-filter: none; backdrop-filter: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); }
.uc-sec-chroma .uc-chroma-carte::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; pointer-events: none;
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); }
.uc-sec-chroma .uc-chroma-carte::before { display: block; z-index: -1; mix-blend-mode: normal; background: none; opacity: 0;
  -webkit-backdrop-filter: brightness(1.9) saturate(1.6); backdrop-filter: brightness(1.9) saturate(1.6);
  -webkit-mask: radial-gradient(15rem circle at var(--mx) var(--my), #000, rgba(0, 0, 0, .45) 40%, transparent 72%);
          mask: radial-gradient(15rem circle at var(--mx) var(--my), #000, rgba(0, 0, 0, .45) 40%, transparent 72%);
  transition: opacity .35s ease; }
.uc-sec-chroma .uc-chroma-carte:hover::before { opacity: 1; }
.uc-sec-chroma .uc-chroma-carte > * { z-index: auto; }
/* Packshots, section 1 (Tanguy, 19 nov. : « label artwork, mets-le au-dessus et plus gros ») : l'étiquette s'affiche seule
   après les trois photos ; elle prend le haut de la colonne au lieu de la place de la 4e vignette, et l'affiche en grand */
.uc-imm-refs figure:nth-child(4):last-child { position: absolute; top: 0; left: 0; width: 16rem; padding: .375rem; border-radius: .75rem; }
.uc-imm-refs figure:nth-child(4):last-child img { border-radius: .5rem; }
.uc-imm-refs figure:nth-child(4):last-child figcaption { font-size: .75rem; margin-top: .3125rem; }
/* Explore (Tanguy, 19 nov. : « garde un effet de hover sur l'ensemble de la carte, mais plus discret qu'avant ») : le verre de
   toute la carte s'éclaire un peu (avant : brightness 1.45, saturate 180 %) ; le halo sous le curseur reste par-dessus */
.uc-sec-chroma .uc-chroma-carte::after { transition: -webkit-backdrop-filter .45s ease, backdrop-filter .45s ease; }
.uc-sec-chroma .uc-chroma-carte:hover::after { -webkit-backdrop-filter: blur(22px) saturate(160%) brightness(1.2); backdrop-filter: blur(22px) saturate(160%) brightness(1.2); }
/* le contour discret des cartes (Tanguy, 19 nov. : « garde le contour discret qu'on avait ») : le calque de verre (::after)
   passait par-dessus le liseré de la carte ; le liseré est donc porté par ce calque */
.uc-sec-chroma .uc-chroma-carte::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: -webkit-backdrop-filter .45s ease, backdrop-filter .45s ease, box-shadow .45s ease; }
.uc-sec-chroma .uc-chroma-carte:hover::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .16); }
/* plus de voile sombre sur les immersions en 3D (20 nov.) : il assombrissait la fenêtre de jour de la chambre (Tanguy :
   « la fenêtre vers l'extérieur, ajoute un peu de vie, journée, lumière douce ») ; les cartes de chapitre sont blanches et
   lisibles seules, et les films n'en avaient déjà plus */
.uc-page .uc-imm-voile { display: none; }

/* Game props, 20 nov. (« tu peux juste assombrir à 20-30 % à gauche plutôt que full », « la vidéo doit faire toute la largeur ») :
   la cinématique couvre la section d'un bord à l'autre, un voile léger à gauche porte le titre, pas de barre de progression */
.uc-imm[data-fixe] .uc-imm-media { border-radius: 0; }
.uc-imm[data-fixe] .uc-imm-cadre::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .5) 25%, rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, 0) 60%); }
/* « je veux de l'opacité à gauche pour que le texte soit lisible » (20 nov.) : voile plus dense derrière le titre */
@media (max-width: 767px) {
  .uc-imm[data-fixe] .uc-imm-cadre::after { background: linear-gradient(0deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .22) 35%, rgba(0, 0, 0, 0) 65%); }
}
.uc-imm[data-fixe] .uc-imm-fil { display: none; }
.uc-imm[data-fixe] .uc-imm-scene { position: relative; top: 0; height: 100%; }
/* les règles du film plein (.uc-page .uc-imm.film.plein …) l'emportaient : coins carrés d'un bord à l'autre */
.uc-page .uc-imm.film.plein[data-fixe] .uc-imm-media { border-radius: 0; }
/* téléphone : par-dessus la vidéo, le texte débordait (titre sur 2/3 de la hauteur, bouton coupé) ; la vidéo en bande 16:9 sur
   toute la largeur, le titre dessous sur le fond sombre */
@media (max-width: 767px) {
  .uc-page .uc-imm[data-fixe] { height: auto !important; }
  .uc-page .uc-imm.film.plein[data-fixe] .uc-imm-scene { height: auto; display: flex; flex-direction: column; align-items: stretch; }
  .uc-page .uc-imm.film.plein[data-fixe] .uc-imm-cadre { position: relative; inset: auto; aspect-ratio: 16 / 9; }
  .uc-page .uc-imm.film.plein[data-fixe] .uc-imm-cadre::after { display: none; }
  .uc-page .uc-imm.film.plein[data-fixe] .uc-imm-gauche { position: static; width: auto; height: auto; padding: 1.75rem 1rem 2.25rem; }
  .uc-page .uc-imm.film.plein[data-fixe] .uc-imm-titre { position: static; transform: none; margin: 0; }
}
/* 20 nov. : « fait le bouton en blanc », « le sous-titre un peu plus blanc ainsi que le // use cases », et 5 % de plus au voile */
.uc-page .uc-imm[data-fixe] .uc-imm-titre .uc-lead { color: rgba(247, 246, 243, .9); }
.uc-page .uc-imm[data-fixe] .uc-imm-titre .v2-sur, .uc-page .uc-imm[data-fixe] .uc-imm-titre .v2-sur a { color: rgba(247, 246, 243, .88); }
.uc-page .uc-imm[data-fixe] .uc-imm-titre .btn.uc-demo { background: #fff; color: #121117; box-shadow: none; }
.uc-page .uc-imm[data-fixe] .uc-imm-titre .btn.uc-demo:hover { background: #E9E8E4; }
/* Game props, carte des catégories (Tanguy, 20 nov. : « fait bien descendre l'image sur toute la card ») : le mur va jusqu'aux
   bords haut, droit et bas de la carte, sur toute sa hauteur (la carte, overflow: hidden, arrondit les coins) */
.uc-page .uc-pile-carte.v7:has(.uc-cadre-drift) { --uc-pad: clamp(1rem, 1.6vw, 1.5rem); }
.uc-page .uc-pile-carte.v7 .uc-pile-media:has(> .uc-cadre-drift) { align-self: stretch; align-items: stretch;
  margin: calc(-1 * var(--uc-pad)) calc(-1 * var(--uc-pad)) calc(-1 * var(--uc-pad)) 0; }
.uc-page .uc-pile-carte.v7 .uc-pile-cadre.uc-cadre-drift { min-height: 100%; max-height: none; border-radius: 0; }
.uc-pile-cadre .uc-drift.rb-drift-wall { height: 100%; }
@media (max-width: 991px) {
  .uc-page .uc-pile-carte.v7 .uc-pile-media:has(> .uc-cadre-drift) { margin: 0 calc(-1 * var(--uc-pad)) calc(-1 * var(--uc-pad)); }
}
/* « les ombres sont buggées » : le fondu du composant (ellipse et bandes, sur un écart de quelques niveaux de gris) se lit en
   anneaux et en marches sur grand écran ; ici le mur s'arrête net au bord de la carte */
.uc-pile-cadre .uc-drift.rb-drift-wall { -webkit-mask-image: none; mask-image: none; }
/* sous 992 px, la carte des catégories s'empile : texte, puis le mur jusqu'aux bords bas et côtés (la colonne de gauche
   était trop étroite pour le titre) */
@media (max-width: 991px) {
  .uc-page .uc-pile-carte.v7:has(.uc-cadre-drift) { grid-template-columns: minmax(0, 1fr); --uc-pad-g: clamp(1.75rem, 3.5vw, 3.25rem); }
  .uc-page .uc-pile-carte.v7 .uc-pile-media:has(> .uc-cadre-drift) { margin: 0 calc(-1 * var(--uc-pad)) calc(-1 * var(--uc-pad)) calc(-1 * var(--uc-pad-g)); }
  .uc-page .uc-pile-carte.v7 .uc-pile-cadre.uc-cadre-drift { min-height: 0; aspect-ratio: 4 / 3; }
}

/* Game props, carte « Test in a real game » (20 nov., d'après Northeast Tomato sur cta.gallery) : la capture du jeu plein cadre,
   coins arrondis, titre centré à nos typos, une ligne, un bouton blanc en pastille */
.uc-sec-cta-jeu { padding-top: 0; padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.uc-cta-jeu { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 24px; aspect-ratio: 16 / 8;
  min-height: 26rem; isolation: isolate; background: #1b2a1c; }
.uc-cta-jeu-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.uc-cta-jeu::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(10, 10, 12, .5), rgba(10, 10, 12, .18) 70%, rgba(10, 10, 12, .1)); }
.uc-cta-jeu-texte { max-width: 40rem; padding: 2rem 1.25rem; text-align: center; color: #F7F6F3; }
.uc-cta-jeu-titre { margin: 0; font-size: clamp(2.5rem, 5.6vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: -.035em;
  color: #fff; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.uc-sec .uc-cta-jeu-p { max-width: 26rem; margin: 1.125rem auto 0; font-size: 1.0625rem; line-height: 1.45; color: #fff;
  text-wrap: balance; text-shadow: 0 1px 12px rgba(0, 0, 0, .3); }
.uc-cta-jeu .btns { justify-content: center; margin-top: 1.75rem; }
.uc-page .uc-cta-jeu .btn.uc-cta-jeu-btn { background: #fff; color: #121117; border-radius: 999px; box-shadow: none; padding: 0 1.375rem; }
.uc-page .uc-cta-jeu .btn.uc-cta-jeu-btn:hover { background: #E9E8E4; }
@media (max-width: 767px) { .uc-cta-jeu { aspect-ratio: 4 / 5; min-height: 0; border-radius: 18px; } }
/* « "Test now" "in a real game" et mets la typo en plus grasse » (20 nov.) */
.uc-cta-jeu-titre { font-weight: 600; letter-spacing: -.04em; }
.uc-cta-jeu-titre span { display: block; }
/* (20 nov.) « le titre, centre-le bien en hauteur à gauche par rapport au plein écran » : la section suit le 16:9 et dépasse
   l'écran sur un écran large ; le bloc du titre prend la hauteur visible (écran moins l'entête), pas celle de la section */
@media (min-width: 768px) {
  .uc-page .uc-imm.film.plein[data-fixe] .uc-imm-gauche { top: 0; bottom: auto; height: min(100%, calc(100svh - var(--uc-tete, 4rem))); }
}

/* >>> Game props, bento sur téléphone, 20 nov.
   Tanguy : « sur mobile optimise le bento, enlève toujours le cadre avec l'info sur le temps gagné et les named parts ».
   Sous 768 px : sans la jauge (bx-b) ni l'Outliner (bx-c) ; la valise sur une colonne, l'aperçu au-dessus du code (une règle
   plus tardive, sans media, gardait deux colonnes et coupait le code). Les bentos des autres pages (.g12) ne changent pas. */
@media (max-width: 767px) {
  .uc-sec-bento .bx:not(.g12) > .bx-b, .uc-sec-bento .bx:not(.g12) > .bx-c { display: none; }
  .uc-sec-bento .bx:not(.g12) .bx-var { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .uc-sec-bento .bx:not(.g12) .bx-apercu { order: -1; }
  .uc-sec-bento .bx:not(.g12) > .bx-a .bx-ill { min-height: 0; padding: 0 1rem 1.25rem; }
  .uc-sec-bento .bx:not(.g12) > .bx-d .bx-ill, .uc-sec-bento .bx:not(.g12) > .bx-e .bx-ill { min-height: 0; padding: 0 1rem; }
}
/* <<< Game props, bento sur téléphone, 20 nov. */

/* la valise sur téléphone (Tanguy, 20 nov. : « la valise dans props je la vois en petit, mets-la au-dessus plus gros ») :
   sous 768 px, la vue 3D passe au-dessus, sur toute la largeur de la fenêtre, carrée ; le code et les réglages dessous */
@media (max-width: 767px) {
  .bx-a .bx-ill { padding-inline: .5rem; }
  .bx-var[data-valise] { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; }
  .bx-var[data-valise] .bx-apercu { order: -1; margin: -.5rem -.5rem 0; padding: .5rem .25rem .25rem; }
  .bx-var[data-valise] .bx-vues { width: 100%; max-width: none; aspect-ratio: 5 / 4; }
  .bx-var[data-valise] .bx-code { padding-top: 0; }
}

/* Cartes « What the 3D is used for » sur téléphone (Tanguy, 20 nov. : « le texte de gauche prend trop de place, donc mets
   l'image puis les 3 lignes avec icône en dessous » ; « si tu peux faire tenir les 3 lignes sur la même ligne en mode 3 blocs
   avec un trait entre ») : sur-titre et titre, l'image en pleine largeur, puis les trois points côte à côte. Une règle à deux
   colonnes (plus haut, sans palier) écrasait le texte à un mot par ligne. */
@media (max-width: 767px) {
  .uc-page .uc-pile-carte.v7 { display: flex; flex-direction: column; align-items: stretch; gap: 0; height: auto; max-height: none;
    padding: 1.25rem; }
  .uc-page .uc-pile-carte.v7 .uc-pile-texte { display: contents; }
  .uc-pile-carte.v7 .uc-pile-texte .v2-sur { order: 1; }
  .uc-pile-carte.v7 .uc-use-h { order: 2; font-size: 1.75rem; }
  .uc-page .uc-pile-carte.v7 .uc-pile-media { order: 3; height: auto; margin: 1.25rem 0 0; }
  .uc-page .uc-pile-carte.v7 .uc-pile-cadre { max-height: none; }
  .uc-page .uc-pile-carte.v7 .uc-pile-media:has(> .uc-cadre-drift) { margin: 1.25rem -1.25rem 0; }
  .uc-page .uc-pile-carte.v7 .uc-pile-cadre.uc-cadre-drift { aspect-ratio: 4 / 3; min-height: 0; }
  .uc-pile-carte.v7 .uc-points { order: 4; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.25rem 0 0; }
  .uc-pile-carte.v7 .uc-points li { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .25rem .75rem;
    border: 0; font-size: .75rem; line-height: 1.35; }
  .uc-pile-carte.v7 .uc-points li:first-child { padding-left: 0; }
  .uc-pile-carte.v7 .uc-points li:last-child { padding-right: 0; border-bottom: 0; }
  .uc-pile-carte.v7 .uc-points li + li { border-left: 1px solid var(--uc-filet); }
}
/* les points courts des cartes d'usage, sur téléphone seulement (use_cases.py, POINTS_COURTS ; 3 lignes au plus) */
.uc-pt-c { display: none; }
@media (max-width: 767px) { .uc-pt-l { display: none; } .uc-pt-c { display: inline; } }
/* la forme décorative de la carte de fin dépassait d'un pixel à droite sur téléphone (scroll horizontal ; 23 nov.) */
.uc-page .uc-fin { overflow-x: clip; }
