/* ============================================================
   OPTERIA : page « Bobby CM » (06/10/2026, demande Axel) : la facette communication de l'écosystème Bobby.
   Chargée par bobby-cm.html après da-cerveau.css (dont elle reprend le langage : cartes grises, cadres peints, maquettes blanches).
   Esprit des pages produit de gleap.ai : démo jouée en scène au premier écran, colonne collante, cartographie au défilement.
   Animations : cerveau.js (data-scene : classes e1, e2… cumulées) et bobby-cm.js (cartographie). Transform, opacity, clip-path seulement.
   ============================================================ */
.bcm-tete { max-width: 860px; margin-bottom: 48px; }
.bcm-tete .meta, .bcm-main .meta { margin-bottom: 16px; }
.bcm-tete--centre { margin: 0 auto 8px; text-align: center; }
.bcm-coche, .bcm-ok i, .bcm-agenda__pied i, .bcm-com__delai i, .bcm-article__plan i, .bcm-article__pret i, .bcm-pub__rapport i, .bcm-notif > i {
  display: inline-grid; place-items: center; flex: none; width: 15px; height: 15px; border-radius: 50%; background: var(--vert, #3aa655); color: #fff; font-size: 9px; font-style: normal; font-weight: 500; }
.bcm-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: #191919; color: #fff; font-size: 12.5px; font-weight: 500; transition: transform .2s ease, background .2s ease; }
.bcm-ok { display: none; align-items: center; gap: 8px; font-size: 13px; color: #2f7d3e; }

/* ---------- Premier écran : le studio de Bobby CM sur la peinture ---------- */
.bcm-scene { position: relative; margin-top: 72px; padding: 56px 48px; border-radius: var(--r); background: var(--gris-cadre); overflow: hidden; isolation: isolate; text-align: left; }
html.js .bcm-scene { opacity: 0; transform: translateY(24px) scale(.985); transition: opacity 1s ease .25s, transform 1.2s cubic-bezier(.22,1,.36,1) .25s; }
html.js .bcm-scene.is-in { opacity: 1; transform: none; }
.bcm-studio, .bcm-notif { --paper: #fff; --ink: #292929; --texte: #353535; --muet: rgba(53,53,53,.7); color-scheme: light; }
.bcm-studio { max-width: 1040px; margin: 0 auto; border-radius: 16px; background: #fff; color: #0d0f14; font-size: 14px; line-height: 1.4; box-shadow: none; overflow: hidden; }
.bcm-studio p, .bcm-studio ul { margin: 0; } .bcm-studio ul { list-style: none; padding: 0; }
.bcm-studio__barre { display: flex; align-items: center; gap: 16px; height: 48px; padding: 0 18px; border-bottom: 1px solid #ececea; }
.bcm-studio__points { display: flex; gap: 6px; } .bcm-studio__points i { width: 10px; height: 10px; border-radius: 50%; background: #e4e4e2; }
.bcm-studio__titre { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.bcm-studio__titre .cv-av { width: 22px; height: 22px; } .bcm-studio__titre .cv-av svg { width: 14px; height: 14px; }
.bcm-studio__etat { display: flex; align-items: center; gap: 7px; margin-left: auto; font-size: 12px; color: #6b6b70; }
.bcm-studio__etat i { width: 7px; height: 7px; border-radius: 50%; background: var(--vert, #3aa655); animation: cv-point 2.4s ease-in-out infinite; }
.bcm-studio__corps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px) minmax(0, .72fr); gap: 22px; min-height: 452px; padding: 22px; }
.bcm-conv__lab { font-size: 12px; font-weight: 500; color: #8a8a90; letter-spacing: .01em; }
.bcm-conv { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 12px; }
.bcm-conv .cv-bulle { font-size: 14px; }
.bcm-conv__reseaux { display: flex; flex-direction: column; gap: 6px; }
.bcm-conv__reseaux li { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(11,11,11,.08); font-size: 13.5px; font-weight: 500; }
.bcm-conv__reseaux img { box-sizing: border-box; width: 26px; height: 26px; padding: 4px; border-radius: 7px; background: #f4f4f4; }
.bcm-conv__reseaux .cv-interr { margin-left: auto; }
.bcm-conv__valider { display: flex; align-items: center; gap: 10px; min-height: 30px; }
.bcm-post { align-self: start; padding: 12px; border-radius: 14px; border: 1px solid #ececea; box-shadow: none; }
.bcm-post__tete { display: flex; align-items: center; gap: 9px; margin-bottom: 10px !important; }
.bcm-post__tete b { display: block; font-size: 13px; font-weight: 500; } .bcm-post__tete small { display: block; font-size: 11.5px; color: #8a8a90; }
.bcm-post__av { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #efe9e0 url("assets/exemples/ambre-avatar.jpg") 50% 50% / cover no-repeat; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #e1306c; }
.bcm-post__visuel { position: relative; aspect-ratio: 5 / 4; border-radius: 10px; background: #f1f1f3; overflow: hidden; }
.bcm-post__gen { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; font-size: 12px; color: #8a8a90;
  background: linear-gradient(100deg, #f1f1f3 30%, #fafafa 50%, #f1f1f3 70%) 0 0 / 300% 100%; animation: bcm-lueur 1.6s linear infinite; }
.bcm-post__gen i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #d6d6db; border-top-color: #FB4D17; animation: bcm-tourne .9s linear infinite; }
@keyframes bcm-lueur { to { background-position: -150% 0; } }
@keyframes bcm-tourne { to { transform: rotate(360deg); } }
.bcm-post__img { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; color: #fff; background: #efe9e0 url("assets/exemples/portes-ouvertes.jpg") 50% 50% / cover no-repeat; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(.65,0,.35,1); }
.bcm-post__img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(40,20,10,.45)); }
.bcm-post__img b, .bcm-post__img small { position: relative; } .bcm-post__img b { font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; } .bcm-post__img small { margin-top: 4px; font-size: 12.5px; opacity: .9; }
.bcm-post__texte { margin-top: 6px; display: grid; gap: 4px; font-size: 13px; line-height: 1.45; color: #3a3a40; }
.bcm-post__texte p { clip-path: inset(0 100% 0 0); transition: clip-path .9s steps(28, end); }
.bcm-post__texte p:nth-child(2) { transition-delay: .5s; } .bcm-post__texte p:nth-child(3) { transition-delay: 1s; }
.bcm-post__tags { color: #2b5cc4; }
.bcm-cal { display: flex; flex-direction: column; gap: 12px; }
.bcm-cal__grille { display: flex; flex-direction: column; gap: 6px; }
.bcm-cal__j { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(11,11,11,.08); font-size: 12.5px; color: #6b6b70; transition: border-color .35s ease, background .35s ease; }
.bcm-cal__j:first-child, .bcm-cal__j i:first-of-type { margin-right: 0; }
.bcm-cal__j > i:first-of-type { margin-left: auto; }
.bcm-pastille { display: block; width: 26px; height: 8px; border-radius: 4px; background: var(--c); }
.bcm-pastille--neuve { opacity: 0; transform: scale(.4); transition: opacity .3s ease, transform .5s cubic-bezier(.3,1.5,.5,1); }
.bcm-notif { position: absolute; right: 30px; bottom: 26px; display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; color: #0d0f14; box-shadow: none; font-size: 13px; opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .4s ease, transform .55s cubic-bezier(.3,1.4,.5,1); }
.bcm-notif__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #f4f4f4; }
.bcm-notif b { display: block; font-weight: 500; } .bcm-notif small { display: block; font-size: 11.5px; color: #6b6b70; }

/* la scène : 1 votre demande, 2 Bobby écrit et le visuel se crée, 3 sa réponse, le visuel et le texte, 4 les réseaux, 5 vous validez, le calendrier se remplit */
.bcm-conv__vous, .bcm-conv__points, .bcm-conv__bobby, .bcm-conv__reseaux li, .bcm-conv__valider, .bcm-post, .bcm-post__gen { opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s cubic-bezier(.22,1,.36,1); }
.bcm-conv__reseaux li:nth-child(2) { transition-delay: .12s; } .bcm-conv__reseaux li:nth-child(3) { transition-delay: .24s; }
.bcm-studio.e1 .bcm-conv__vous, .bcm-studio.e2:not(.e3) .bcm-conv__points, .bcm-studio.e3 .bcm-conv__bobby, .bcm-studio.e2 .bcm-post, .bcm-studio.e2:not(.e3) .bcm-post__gen,
.bcm-studio.e4 .bcm-conv__reseaux li, .bcm-studio.e4 .bcm-conv__valider { opacity: 1; transform: none; }
.bcm-studio.e3 .bcm-post__img { clip-path: inset(0 0 0 0); }
.bcm-studio.e3 .bcm-post__texte p { clip-path: inset(0 0 0 0); }
.bcm-studio.e4 .bcm-conv__reseaux .cv-interr { background: #191919; } .bcm-studio.e4 .bcm-conv__reseaux .cv-interr::after { transform: translateX(10px); }
.bcm-conv__reseaux .cv-interr, .bcm-conv__reseaux .cv-interr::after { transition-delay: .35s; }
.bcm-studio.e5 .bcm-conv__valider .bcm-btn { display: none; }
.bcm-studio.e5 .bcm-conv__valider .bcm-ok { display: inline-flex; animation: cv-pose .5s cubic-bezier(.3,1.4,.5,1); }
.bcm-studio.e5 .bcm-pastille--neuve { opacity: 1; transform: none; }
.bcm-studio.e5 .bcm-cal__j--jeudi { border-color: rgba(251,77,23,.4); background: rgba(251,77,23,.045); color: #c2410c; }
.bcm-studio.e5 ~ .bcm-notif { opacity: 1; transform: none; transition-delay: .6s; }

/* ---------- Les scènes des étapes : le cadre suit la hauteur de sa maquette ---------- */
.bcm-capacites .cv-cadre { aspect-ratio: auto; min-height: 360px; align-self: stretch; }
.cv-fiche[class*="bcm-"] [class*="bcm-"], .cv-fiche[class*="bcm-"] li { transition: opacity .45s ease, transform .45s cubic-bezier(.22,1,.36,1), background-color .35s ease, border-color .35s ease, color .35s ease; }
.cv-fiche__lab small { margin-left: auto; font-size: 12px; font-weight: 400; color: #8a8a90; }
.cv-fiche__lab > img { box-sizing: border-box; width: 24px; height: 24px; padding: 3px; border-radius: 7px; background: #f4f4f4; }
/* calendrier éditorial : la semaine se remplit */
.bcm-agenda__liste { display: flex; flex-direction: column; gap: 6px; margin-top: 12px !important; }
.bcm-agenda__liste li { display: grid; grid-template-columns: 30px 18px minmax(0, 1fr) auto; align-items: center; gap: 8px; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(11,11,11,.08); font-size: 13px; opacity: 0; transform: translateX(-8px); }
.bcm-agenda__liste li span:nth-child(3) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcm-agenda__j { font-size: 11.5px; color: #8a8a90; }
.bcm-agenda__liste em { padding: 2px 8px; border-radius: 999px; background: #f4f4f4; font-size: 11.5px; font-style: normal; color: #3a3a40; }
.bcm-agenda.e1 li:nth-child(1), .bcm-agenda.e2 li:nth-child(2), .bcm-agenda.e3 li:nth-child(3), .bcm-agenda.e4 li:nth-child(4), .bcm-agenda.e5 li:nth-child(5) { opacity: 1; transform: none; }
.bcm-agenda[data-etape="1"] li:nth-child(1), .bcm-agenda[data-etape="2"] li:nth-child(2), .bcm-agenda[data-etape="3"] li:nth-child(3), .bcm-agenda[data-etape="4"] li:nth-child(4), .bcm-agenda[data-etape="5"] li:nth-child(5) { border-color: rgba(251,77,23,.4); background: rgba(251,77,23,.045); }
.bcm-agenda__pied { display: flex; align-items: center; gap: 8px; margin-top: 12px !important; padding-top: 12px; border-top: 1px solid #ececea; font-size: 13px; color: #2f7d3e; opacity: 0; }
.bcm-agenda.e6 .bcm-agenda__pied { opacity: 1; }
/* formats : post, carrousel, story, vidéo */
.bcm-formats__onglets { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: #f4f4f4; }
.bcm-formats__onglets span { flex: 1; padding: 5px 0; border-radius: 999px; font-size: 12px; text-align: center; color: #6b6b70; transition: background .3s ease, color .3s ease, box-shadow .3s ease; }
.bcm-formats[data-etape="1"] .bcm-formats__onglets span:nth-child(1), .bcm-formats[data-etape="0"] .bcm-formats__onglets span:nth-child(1), .bcm-formats[data-etape="2"] .bcm-formats__onglets span:nth-child(2),
.bcm-formats[data-etape="3"] .bcm-formats__onglets span:nth-child(3), .bcm-formats[data-etape="4"] .bcm-formats__onglets span:nth-child(4) { background: #fff; color: #191919; box-shadow: none; }
.bcm-formats__toile { position: relative; aspect-ratio: 1; margin-top: 12px; border-radius: 12px; background: #f1f1f3; overflow: hidden; }
.bcm-formats__f { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; color: #fff; opacity: 0; transform: scale(1.04); transition: opacity .5s ease, transform .7s cubic-bezier(.22,1,.36,1) !important; }
.bcm-formats__f b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; } .bcm-formats__f small { margin-top: 3px; font-size: 12px; }
.bcm-formats__f--post { background: linear-gradient(180deg, transparent 45%, rgba(40,20,10,.5)), url("assets/exemples/ambre-ambiance.jpg") 50% 45% / cover no-repeat; }
.bcm-formats__f--carrousel { flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; padding: 0 0 0 18px; }
.bcm-formats__f--carrousel i { flex: none; width: 70%; height: 78%; border-radius: 10px; background: #efe9e0 url("assets/exemples/ambre-ambiance.jpg") 50% 45% / cover no-repeat; }
.bcm-formats__f--carrousel i:nth-child(2) { background-image: url("assets/exemples/sauge-ambiance.jpg"); } .bcm-formats__f--carrousel i:nth-child(3) { background-image: url("assets/exemples/coffret-ambiance.jpg"); }
.bcm-formats__f--story { align-items: center; justify-content: center; }
.bcm-formats__f--story::before { content: ""; position: absolute; top: 6%; bottom: 6%; left: 50%; width: 50%; transform: translateX(-50%); border-radius: 12px; background: linear-gradient(180deg, rgba(40,20,10,.15), transparent 30%, transparent 60%, rgba(40,20,10,.35)), url("assets/exemples/coulisses-story.jpg") 50% 50% / cover no-repeat; }
.bcm-formats__f--story b { position: relative; font-size: 16px; }
.bcm-formats__barres { position: absolute; top: 9%; left: 28%; right: 28%; height: 3px; border-radius: 2px; background: rgba(255,255,255,.45); overflow: hidden; }
.bcm-formats__barres::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.bcm-formats__f--video { align-items: center; justify-content: center; background: #3a2c22 url("assets/exemples/video-atelier.jpg") 50% 50% / cover no-repeat; }
.bcm-formats__lecture { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23191919'/%3E%3C/svg%3E") 55% 50% / 26px no-repeat; }
.bcm-formats__piste { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.4); overflow: hidden; }
.bcm-formats__piste::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.bcm-formats[data-etape="0"] .bcm-formats__f--post, .bcm-formats[data-etape="1"] .bcm-formats__f--post, .bcm-formats[data-etape="2"] .bcm-formats__f--carrousel,
.bcm-formats[data-etape="3"] .bcm-formats__f--story, .bcm-formats[data-etape="4"] .bcm-formats__f--video { opacity: 1; transform: none; }
.bcm-formats[data-etape="2"] .bcm-formats__f--carrousel i { animation: bcm-glisse 1.3s cubic-bezier(.65,0,.35,1) .3s both; }
.bcm-formats[data-etape="3"] .bcm-formats__barres::after, .bcm-formats[data-etape="4"] .bcm-formats__piste::after { animation: bcm-avance 1.3s linear both; }
@keyframes bcm-glisse { to { transform: translateX(calc(-100% - 8px)); } }
@keyframes bcm-avance { to { transform: scaleX(1); } }
.bcm-formats__pied { display: flex; align-items: center; justify-content: space-between; margin-top: 12px !important; font-size: 12.5px; color: #6b6b70; }
.bcm-formats__couleurs { display: flex; gap: 4px; } .bcm-formats__couleurs i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
/* commentaires : la question arrive, Bobby écrit, la réponse part */
.cv-fiche__lab .bcm-com__live { display: inline-flex; align-items: center; gap: 6px; color: #2f7d3e; }
.bcm-com__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--vert, #3aa655); animation: cv-point 2.4s ease-in-out infinite; }
.bcm-com__fil { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 14px; min-height: 140px; align-content: start; }
.bcm-com__fil .bcm-com__msg--rep, .bcm-com__fil .cv-points { grid-row: 2; grid-column: 1; }
.bcm-com__msg { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; }
.bcm-com__msg > span:last-child { padding: 8px 11px; border-radius: 4px 14px 14px 14px; background: #f2f2f4; }
.bcm-com__msg b { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 500; color: #6b6b70; }
.bcm-com__msg--rep { margin-left: 22px; }
.bcm-com__msg--rep > span:last-child { background: rgba(251,77,23,.07); }
.bcm-com__msg .cv-av { background: #d9c6f0; color: #4b2a6f; }
.bcm-com__msg--rep .cv-av { background: #f1f1f3; color: #191919; }
.bcm-com__msg--rep .cv-av svg { width: 15px; height: 15px; }
.bcm-com__delai { display: flex; align-items: center; gap: 8px; margin-top: 12px !important; padding-top: 12px; border-top: 1px solid #ececea; font-size: 13px; color: #2f7d3e; }
.bcm-com .bcm-com__msg, .bcm-com .cv-points, .bcm-com .bcm-com__delai { opacity: 0; transform: translateY(6px); }
.bcm-com.e1 .bcm-com__msg:first-child, .bcm-com.e2:not(.e3) .cv-points, .bcm-com.e3 .bcm-com__msg--rep, .bcm-com.e4 .bcm-com__delai { opacity: 1; transform: none; }
.bcm-com.e4 .bcm-com__delai { animation: cv-pose .5s cubic-bezier(.3,1.4,.5,1); }
/* article de blog : le titre, le plan, les mots-clés, prêt à relire */
.bcm-article__url { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #f4f4f4; font-size: 11.5px; color: #6b6b70; }
.bcm-article__titre { margin-top: 12px !important; font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; clip-path: inset(0 100% 0 0); transition: clip-path .7s steps(24, end) !important; }
.bcm-article.e1 .bcm-article__titre { clip-path: inset(0 0 0 0); }
.bcm-article__plan { display: flex; flex-direction: column; gap: 0; margin-top: 10px !important; }
.bcm-article__plan li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid #f0f0ef; font-size: 13px; opacity: 0; transform: translateY(5px); }
.bcm-article.e2 .bcm-article__plan li:nth-child(-n+2), .bcm-article.e3 .bcm-article__plan li { opacity: 1; transform: none; }
.bcm-article__mots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px !important; }
.bcm-article__mots span { padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(251,77,23,.35); background: rgba(251,77,23,.05); color: #c2410c; font-size: 11.5px; opacity: 0; transform: scale(.85); }
.bcm-article.e4 .bcm-article__mots span { opacity: 1; transform: none; } .bcm-article__mots span:nth-child(2) { transition-delay: .1s !important; } .bcm-article__mots span:nth-child(3) { transition-delay: .2s !important; }
.bcm-article__pret { display: flex; align-items: center; gap: 8px; margin-top: 12px !important; padding-top: 10px; border-top: 1px solid #ececea; font-size: 13px; color: #2f7d3e; opacity: 0; }
.bcm-article.e5 .bcm-article__pret { opacity: 1; animation: cv-pose .5s cubic-bezier(.3,1.4,.5,1); }
/* publicité : les campagnes s'allument, les barres montent, l'ajustement, le rapport */
.bcm-pub .cv-lignes span:not(.cv-mini-tuile) { margin-left: auto; }
.bcm-pub.e1 li:nth-child(1) .cv-interr, .bcm-pub.e2 li:nth-child(2) .cv-interr { background: #191919; }
.bcm-pub.e1 li:nth-child(1) .cv-interr::after, .bcm-pub.e2 li:nth-child(2) .cv-interr::after { transform: translateX(10px); }
.bcm-pub__graph { display: flex; align-items: flex-end; gap: 6px; height: 76px; margin-top: 12px; padding: 8px 10px 0; border-radius: 10px; background: #f7f7f8; }
.bcm-pub__graph i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: #d6d6db; transform-origin: bottom; transform: scaleY(.12); transition: transform .8s cubic-bezier(.22,1,.36,1), background .4s ease; }
.bcm-pub__graph i:nth-child(2) { transition-delay: .06s; } .bcm-pub__graph i:nth-child(3) { transition-delay: .12s; } .bcm-pub__graph i:nth-child(4) { transition-delay: .18s; } .bcm-pub__graph i:nth-child(5) { transition-delay: .24s; } .bcm-pub__graph i:nth-child(6) { transition-delay: .3s; } .bcm-pub__graph i:nth-child(7) { transition-delay: .36s; }
.bcm-pub.e3 .bcm-pub__graph i { transform: none; } .bcm-pub.e3 .bcm-pub__graph i:nth-last-child(-n+3) { background: #FB4D17; }
.bcm-pub__ajuste { margin-top: 10px !important; padding: 8px 10px; border-radius: 10px; border: 1px dashed rgba(251,77,23,.45); font-size: 12.5px; color: #c2410c; opacity: 0; transform: translateY(5px); }
.bcm-pub.e4 .bcm-pub__ajuste { opacity: 1; transform: none; }
.bcm-pub__rapport { display: flex; align-items: center; gap: 8px; margin-top: 10px !important; font-size: 13px; color: #2f7d3e; opacity: 0; }
.bcm-pub.e5 .bcm-pub__rapport { opacity: 1; animation: cv-pose .5s cubic-bezier(.3,1.4,.5,1); }
/* rapport de la semaine : les lignes se posent une à une */
.bcm-rapport__tete { display: flex; align-items: center; gap: 10px; }
.bcm-rapport__tete small { display: block; font-size: 11.5px; color: #6b6b70; } .bcm-rapport__tete b { display: block; font-size: 15px; font-weight: 500; }
.bcm-rapport__liste { margin-top: 12px !important; }
.bcm-rapport__liste li { display: flex; flex-direction: column; gap: 1px; padding: 9px 0; border-top: 1px solid #f0f0ef; opacity: .25; transform: translateY(4px); }
.bcm-rapport__liste b { font-size: 11.5px; font-weight: 500; color: #8a8a90; } .bcm-rapport__liste span { font-size: 13.5px; }
.bcm-rapport.e1 li:nth-child(1), .bcm-rapport.e2 li:nth-child(2), .bcm-rapport.e3 li:nth-child(3), .bcm-rapport.e4 li:nth-child(4) { opacity: 1; transform: none; }
.bcm-rapport.e4 li:nth-child(4) span { color: #c2410c; }
/* votre accord : la publication attend, vous validez */
.bcm-accord__apercu { display: flex; flex-direction: column; gap: 6px; margin-top: 12px !important; }
.bcm-accord__apercu i { height: 8px; border-radius: 4px; background: #efeff1; }
.bcm-accord__apercu i:first-child { height: 74px; border-radius: 10px; background: #efe9e0 url("assets/exemples/atelier-samedi.jpg") 50% 50% / cover no-repeat; }
.bcm-accord__apercu i:nth-child(3) { width: 62%; }
.bcm-accord__etat { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; margin-top: 14px !important; padding-top: 12px; border-top: 1px solid #ececea; }
.bcm-accord__attente { padding: 3px 9px; border-radius: 999px; background: #fff4e5; color: #b45309; font-size: 11.5px; font-weight: 500; }
.bcm-accord.e1 .bcm-btn { transform: scale(.94); background: #3a3a3a; }
.bcm-accord.e2 .bcm-btn, .bcm-accord.e2 .bcm-accord__attente { display: none; }
.bcm-accord.e2 .bcm-ok { display: inline-flex; animation: cv-pose .5s cubic-bezier(.3,1.4,.5,1); }

/* ---------- La cartographie : la section défile, la carte reste collée et s'allume en trois temps (bobby-cm.js) ---------- */
.bcm-eco { padding-bottom: 0; }
.bcm-eco__piste { position: relative; height: 250vh; }
.bcm-eco__colle { position: sticky; top: 76px; display: flex; align-items: center; height: calc(100vh - 76px); min-height: 560px; }
.bcm-eco__grille { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 56px; align-items: center; width: 100%; }
.bcm-eco__textes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.bcm-eco__texte { position: relative; padding-left: 48px; opacity: .32; transition: opacity .5s ease; }
.bcm-eco__texte h3 { margin: 0; font-size: 22px; font-weight: 400; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.bcm-eco__texte p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--muet); }
.bcm-eco__n { position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2, rgba(0,0,0,.16)); font-size: 13px; color: var(--ink); transition: background .4s ease, color .4s ease, border-color .4s ease; }
.bcm-eco__liens { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.bcm-eco__piste[data-etat="1"] [data-pour="1"], .bcm-eco__piste[data-etat="2"] [data-pour="2"], .bcm-eco__piste[data-etat="3"] [data-pour="3"] { opacity: 1; }
.bcm-eco__piste[data-etat="1"] [data-pour="1"] .bcm-eco__n, .bcm-eco__piste[data-etat="2"] [data-pour="2"] .bcm-eco__n, .bcm-eco__piste[data-etat="3"] [data-pour="3"] .bcm-eco__n { background: #FB4D17; border-color: #FB4D17; color: #fff; }
.bcm-eco__piste[data-etat="2"] [data-pour="1"], .bcm-eco__piste[data-etat="3"] [data-pour="1"], .bcm-eco__piste[data-etat="3"] [data-pour="2"] { opacity: .32; }
.bcm-carte { position: relative; justify-self: center; width: min(100%, calc(100vh - 150px), 620px); aspect-ratio: 1; border-radius: 28px; background: var(--gris-cadre); overflow: hidden; isolation: isolate; }
.bcm-carte .cv-peinture { transform: scale(1.04); }
.bcm-carte__traits { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bcm-trait, .bcm-flux { fill: none; stroke-linecap: round; }
.bcm-trait { stroke: rgba(255,255,255,.9); stroke-width: .3; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.65,0,.35,1); transition-delay: calc(var(--i) * .08s); }
.bcm-flux { stroke: #FB4D17; stroke-width: .6; stroke-dasharray: .07 .93; stroke-dashoffset: 1; opacity: 0; transition: opacity .4s ease .6s; animation: bcm-flux 2.6s linear infinite; animation-delay: calc(var(--i) * -.6s); }
@keyframes bcm-flux { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.bcm-eco__piste.is-1 .t1.bcm-trait, .bcm-eco__piste.is-2 .t2.bcm-trait, .bcm-eco__piste.is-3 .t3.bcm-trait { stroke-dashoffset: 0; }
.bcm-eco__piste.is-1 .t1.bcm-flux, .bcm-eco__piste.is-2 .t2.bcm-flux, .bcm-eco__piste.is-3 .t3.bcm-flux { opacity: 1; }
.bcm-eco__piste.is-1 .t1.bcm-trait:not(.t1--outil) { stroke-width: .55; }
.bcm-carte__coeur { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 24px; background: #0a0a0a; box-shadow: 0 0 0 6px rgba(255,255,255,.35); }
.bcm-carte__coeur img { width: 52px; height: 52px; }
.bcm-carte__memoire { position: absolute; left: 50%; top: 50%; z-index: 1; width: 36%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.bcm-carte__memoire i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.75); opacity: .35; transition: opacity .6s ease, transform .6s ease; animation: bcm-tourne 40s linear infinite; }
.bcm-carte__memoire b { position: absolute; left: 50%; top: calc(50% + 54px); transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: #191919; font-size: 11.5px; font-weight: 500; white-space: nowrap; opacity: 0; transition: opacity .5s ease; }
.bcm-eco__piste.is-3 .bcm-carte__memoire i { opacity: 1; border-color: #fff; }
.bcm-eco__piste.is-3 .bcm-carte__memoire b { opacity: 1; }
.bcm-noeud { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); z-index: 2; transform: translate(-50%, -50%); transition: opacity .6s ease, transform .7s cubic-bezier(.3,1.3,.5,1); }
.bcm-noeud--facette { display: flex; flex-direction: column; align-items: center; gap: 7px; opacity: .28; transform: translate(-50%, -50%) scale(.9); }
.bcm-noeud--facette b { padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.94); color: #191919; font-size: 12px; font-weight: 500; white-space: nowrap; box-shadow: none; }
.bcm-noeud__tuile { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; box-shadow: none; }
.bcm-noeud__tuile svg { width: 76%; height: 76%; overflow: visible; }
.bcm-noeud--facette.bcm-noeud--cm { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
.bcm-noeud--facette.bcm-noeud--cm .bcm-noeud__tuile { box-shadow: 0 0 0 5px rgba(251,77,23,.55); animation: bcm-halo 2.4s ease-in-out infinite; }
.bcm-noeud--facette.bcm-noeud--cm b { background: #FB4D17; color: #fff; }
@keyframes bcm-halo { 50% { box-shadow: 0 0 0 10px rgba(251,77,23,.18); } }
.bcm-eco__piste.is-2 .bcm-noeud--facette { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.bcm-eco__piste.is-2 .bcm-noeud--facette.bcm-noeud--cm { transform: translate(-50%, -50%) scale(1.08); }
.bcm-noeud--outil { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: none; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.6); }
.bcm-noeud--outil img { width: 22px; height: 22px; object-fit: contain; }
.bcm-noeud--outil .bcm-noeud__app { width: 100%; height: 100%; object-fit: cover; }
.bcm-eco__piste.is-1 .bcm-noeud--o-cm, .bcm-eco__piste.is-3 .bcm-noeud--outil { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- Comment ça démarre ---------- */
.bcm-demarre .cv-duo__txt .h { margin-top: 0; }
.bcm-etapes { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.bcm-etapes li { display: flex; gap: 16px; }
.bcm-etapes li > span { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #191919; color: #fff; font-size: 14px; font-weight: 500; }
.bcm-etapes h3 { margin: 4px 0 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.bcm-etapes p { margin: 4px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--muet); }
.bcm-liens { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.bcm-lien { font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(127,127,127,.5); }
.bcm-lien:hover { text-decoration-color: currentColor; }

/* ---------- Mode nuit : les maquettes restent blanches, la carte garde sa peinture ---------- */
html[data-theme="nuit"] .bcm-etapes li > span { background: #fff; color: #141414; }
html[data-theme="nuit"] .bcm-eco__n { border-color: rgba(255,255,255,.22); }
html[data-theme="nuit"] .bcm-scene { box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }

/* ---------- Mouvement réduit : tout est posé ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js .bcm-scene { opacity: 1; transform: none; transition: none; }
  .bcm-studio *, .bcm-notif, .cv-fiche[class*="bcm-"] *, .bcm-trait, .bcm-flux, .bcm-noeud, .bcm-carte__memoire i, .bcm-eco__texte { transition: none !important; animation: none !important; }
  .bcm-post__gen, .bcm-studio__etat i, .bcm-com__live i, .bcm-noeud--facette.bcm-noeud--cm .bcm-noeud__tuile, .bcm-formats__f--carrousel i { animation: none !important; }
  .bcm-flux { display: none; }
  .bcm-eco__texte { opacity: 1 !important; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1100px) {
  .bcm-studio__corps { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
  .bcm-cal { display: none; }
}
@media (max-width: 960px) {
  .bcm-scene { margin-top: 48px; padding: 36px 24px; }
  .bcm-eco { padding-bottom: 64px; }
  .bcm-eco__piste { height: auto; }
  .bcm-eco__colle { position: static; height: auto; min-height: 0; padding-top: 32px; }
  .bcm-eco__grille { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .bcm-carte { width: min(100%, 560px); order: -1; }
  .bcm-eco__texte { opacity: 1; }
  .bcm-eco__piste[data-etat="2"] [data-pour="1"], .bcm-eco__piste[data-etat="3"] [data-pour="1"], .bcm-eco__piste[data-etat="3"] [data-pour="2"] { opacity: 1; }
}

/* ---------- Téléphone (390 px) ---------- */
@media (max-width: 720px) {
  .bcm-tete { margin-bottom: 32px; }
  .bcm-scene { margin: 40px calc(var(--gutter) * -1 + 8px) 0; padding: 14px 10px 64px; border-radius: 18px; }
  .bcm-studio__barre { height: 42px; padding: 0 12px; gap: 10px; }
  .bcm-studio__points, .bcm-studio__etat { display: none; }
  .bcm-studio__corps { grid-template-columns: minmax(0, 1fr); gap: 16px; min-height: 0; padding: 14px; }
  .bcm-conv__reseaux { flex-direction: row; flex-wrap: wrap; }
  .bcm-conv__reseaux li { flex: 1 1 30%; min-width: 0; height: 36px; padding: 0 8px; gap: 6px; font-size: 0; }
  .bcm-conv__reseaux .cv-interr { margin-left: auto; }
  .bcm-post__img b { font-size: 21px; }
  .bcm-notif { left: 50%; right: auto; bottom: 14px; transform: translate(-50%, 12px) scale(.96); white-space: nowrap; }
  .bcm-studio.e5 ~ .bcm-notif { transform: translate(-50%, 0); }
  .bcm-eco__texte { padding-left: 42px; }
  .bcm-eco__texte h3 { font-size: 19px; }
  .bcm-eco__texte p { font-size: 15px; }
  .bcm-carte { border-radius: 20px; }
  .bcm-noeud__tuile { width: 44px; height: 44px; border-radius: 13px; }
  .bcm-noeud--facette { gap: 5px; }
  .bcm-noeud--facette b { font-size: 10px; padding: 2px 7px; }
  .bcm-noeud--outil { width: 34px; height: 34px; } .bcm-noeud--outil img { width: 17px; height: 17px; }
  .bcm-carte__coeur { width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 18px; } .bcm-carte__coeur img { width: 38px; height: 38px; }
  .bcm-carte__memoire b { top: calc(50% + 40px); font-size: 10px; }
  .bcm-etapes p { font-size: 15px; }
}

/* Faux post Instagram : en-tête du compte, icônes j'aime, commentaire, partage, enregistrer (07/10/2026, demande Axel) */
.ig-tete { display: flex; align-items: center; gap: 7px; font-size: 12px; } .ig-tete b { font-weight: 500; } .ig-tete span { margin-left: auto; color: #8a8a90; letter-spacing: 1px; }
.ig-av { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #efe9e0 url("assets/exemples/ambre-avatar.jpg") 50% 50% / cover no-repeat; box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px #e1306c; }
.ig-actions { display: flex; align-items: center; gap: 12px; margin: 8px 0 0 !important; color: #0d0f14; }
.ig-actions svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ig-actions__droite { margin-left: auto; }
.wm-relais__post .ig-actions { margin: 0 !important; gap: 10px; } .wm-relais__post .ig-actions svg { width: 17px; height: 17px; }
.wm-relais__texte b { font-weight: 500; color: #0d0f14; }
