/* ===== Blog de weightless-ai.fr ===== */
body.blog { background: radial-gradient(70% 40% at 50% 0%, var(--veil) 0%, rgba(252,237,235,0) 70%), var(--white); }

.b-nav {
  position: sticky; top: 14px; z-index: 50; margin: 14px auto 0; width: max-content; max-width: calc(100% - 2 * var(--gutter)); box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 8px 8px 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--veil-2); box-shadow: 0 8px 30px rgba(226,60,46,.08);
}
.b-nav .nav-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); text-decoration: none; }
.b-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.b-links > a { display: inline-flex; align-items: center; color: var(--ink-soft); text-decoration: none; font-weight: 700; }
.b-nav .nav-brand, .b-links > a, .b-nav .nav-lang summary, .b-nav .nav-cta { line-height: 1.5; }
.b-links a:hover, .b-links a[aria-current="page"] { color: var(--red-ink); }
.b-nav .nav-cta { background: var(--red); color: #fff; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
@media (max-width: 520px) { .b-nav { gap: 10px; } .b-nav .nav-brand span { display: none; } .b-links { gap: 12px; font-size: 14px; } .b-nav .nav-cta .nc-long { display: none; } }

.b-main { max-width: 760px; margin: 0 auto; padding: clamp(40px, 8vh, 80px) var(--gutter) 40px; }
.b-main h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
.b-chapo { font-size: 19px; color: var(--ink-soft); margin: 0 0 1.6em; }
.b-main .kicker a { color: inherit; text-decoration: none; }

.b-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.b-carte { border: 1px solid var(--veil-2); border-radius: var(--radius); padding: 22px 24px; background: #fff; transition: transform .2s, box-shadow .2s; }
.b-carte:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(226,60,46,.12); }
.b-carte time { font-size: 13px; font-weight: 700; color: var(--red-ink); text-transform: uppercase; letter-spacing: .08em; }
.b-carte h2 { font-size: 24px; line-height: 1.2; margin: .3em 0 .4em; }
.b-carte h2 a { color: var(--ink); text-decoration: none; }
.b-carte h2 a:hover { color: var(--red-ink); }
.b-carte p { margin: 0 0 .8em; color: var(--ink-soft); }
.b-lire { font-weight: 700; text-decoration: none; }

.b-corps { font-size: 18px; line-height: 1.7; }
.b-corps h2 { font-size: 26px; line-height: 1.2; margin: 1.8em 0 .5em; }
.b-corps h3 { font-size: 20px; margin: 1.5em 0 .4em; }
.b-corps ul, .b-corps ol { padding-left: 1.3em; }
.b-corps li { margin: .35em 0; }
.b-corps blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--red); background: var(--veil); border-radius: 0 14px 14px 0; }
.b-corps blockquote p { margin: 0; }
.b-corps code { background: var(--veil); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.b-corps img { border-radius: 14px; border: 1px solid var(--veil-2); margin: 1.4em 0; }
.b-corps .b-encadre { border: 1px solid var(--veil-2); background: var(--veil); border-radius: 16px; padding: 16px 20px; margin: 1.4em 0; }
.b-retour { margin-top: 2.4em; font-weight: 700; }
.b-retour a { text-decoration: none; }

.b-cta { margin: 56px 0 0; text-align: center; padding: 34px 24px; border-radius: var(--radius); background: var(--veil); border: 1px solid var(--veil-2); }
.b-cta h2 { margin: 0 0 .3em; font-size: 26px; }
.b-cta p { margin: 0 0 1.2em; color: var(--ink-soft); }

.b-foot { text-align: center; padding: 20px var(--gutter) 40px; }
.b-foot .land-links { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
.b-foot .land-credit { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* Annonce du blog en haut de la page d'accueil */
.annonce-blog {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 clamp(10px, 2vh, 22px); padding: 7px 16px;
  border-radius: 999px; border: 1px solid var(--veil-2); background: rgba(255,255,255,.85);
  color: var(--ink); text-decoration: none; font-size: 15px; box-shadow: 0 6px 22px rgba(226,60,46,.10); position: relative; z-index: 2;
}
.annonce-blog b { background: var(--red); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.annonce-blog:hover { color: var(--red-ink); border-color: var(--red); }
@media (max-width: 520px) { .annonce-blog { font-size: 13px; max-width: calc(100vw - 32px); } }

/* Couleurs inversées par rapport au site : texte rouge sur fond blanc */
.b-nav .nav-cta { background: #fff; color: var(--red-ink); border: 2px solid var(--red); padding: 6px 13px; }
.b-nav .nav-cta:hover { background: var(--veil); color: var(--red); }
.b-cta { background: #fff; border: 2px solid var(--red); color: var(--red-ink); }
.b-cta h2 { color: var(--red-ink); }
.b-cta .land-cta { background: #fff; color: var(--red-ink); border: 2px solid var(--red); }
.b-cta .land-cta:hover { background: var(--veil); color: var(--red); }
.b-foot { background: #fff; color: var(--red-ink); border-top: 3px solid var(--red); margin-top: 40px; padding-top: 34px; }
.b-foot .land-links a { color: var(--red-ink); }
.b-foot .land-links a:hover { color: var(--red); }
.b-foot .land-credit { color: var(--red-ink); opacity: .85; }
.b-carte time, .b-main .kicker { color: var(--red-ink); }

/* Animation dans un article (même film que la page d'accueil) */
.b-film { margin: 1.8em 0; }
.b-film .film-steps { margin-top: 14px; }
.b-film .film-steps button { font-size: 15px; }

/* Pied de page : « Retour sur terre », lettres ALT+W en rouge sur blanc */
.b-foot .fall-word { overflow: hidden; }
.b-foot .fall-word span { color: var(--red); }
.b-foot .land-line { color: var(--red-ink); font-size: clamp(1.05rem, 2.4vw, 1.4rem); font-weight: 600; margin: 10px 0 24px; }
.b-foot .land-line kbd { border-color: var(--red); color: var(--red-ink); }

/* Tableau des équivalences de touches (article Mac / PC) */
.b-corps .b-touches { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 15px; }
.b-corps .b-touches th, .b-corps .b-touches td { padding: 10px 12px; border-bottom: 1px solid var(--veil-2); text-align: start; vertical-align: middle; }
.b-corps .b-touches th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--red-ink); }
.b-corps .b-touches td:first-child { font-weight: 700; }
.b-corps .b-touches kbd { white-space: nowrap; }
.b-corps .b-touches-os { margin: 22px auto 28px; }
@media (max-width: 560px) { .b-corps .b-touches { font-size: 14px; } .b-corps .b-touches th, .b-corps .b-touches td { padding: 8px 6px; } }

/* ---------- Animation « trajet des données » (articles sur la confidentialité) ---------- */
.b-donnees { margin: 26px 0 30px; padding: 22px clamp(14px, 3vw, 26px); border-radius: 22px; background: #fff; border: 1.5px solid var(--veil-2); box-shadow: 0 18px 40px -28px rgba(162,36,26,.45); }
.bd-titre { margin: 0 0 16px; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); text-align: center; }
.bd-voie { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: 10px; direction: ltr; }
.bd-noeud { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--red); font-weight: 700; font-size: 14px; line-height: 1.3; position: relative; }
.bd-noeud span { color: var(--ink); }
.bd-noeud > svg { padding: 12px; border-radius: 16px; background: var(--veil); box-sizing: content-box; }
.bd-ia > svg { background: var(--red); color: #fff; }
.bd-fil { position: relative; height: 140px; }
.bd-fil::before { content: ""; position: absolute; left: 0; right: 0; top: 104px; border-top: 3px dashed var(--red); opacity: .55; }
.bd-paquet { position: absolute; top: 105px; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(226,60,46,.18); animation: bd-va 3.2s cubic-bezier(.5,0,.5,1) infinite; }
.bd-fantome { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 10px; color: var(--ink-soft); opacity: .55; font-size: 12px; font-weight: 700; text-align: center; white-space: nowrap; }
.bd-fantome::after { content: ""; position: absolute; left: 50%; top: 17px; width: 46px; margin-left: -23px; border-top: 3px solid var(--red); transform: rotate(-35deg); }
.bd-fantome em { font-style: normal; color: var(--red); }
.bd-fantome span, .bd-fantome em { position: relative; line-height: 1.25; }
.bd-voie { align-items: end; }
.bd-voie > .bd-noeud { padding-bottom: 4px; }
.bd-local { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1.5px solid var(--veil-2); }
.bd-local p { margin: 0; display: flex; flex-direction: column; font-size: 15px; }
.bd-local p span { color: var(--ink-soft); font-size: 14px; }
.bd-orbite { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--red); animation: bd-orbite 2.6s linear infinite; }
@keyframes bd-va { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes bd-orbite { from { transform: rotate(0deg) translateX(34px) rotate(0deg); } to { transform: rotate(360deg) translateX(34px) rotate(-360deg); } }
@media (max-width: 520px) { .bd-voie { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); } .bd-noeud { font-size: 12.5px; } .bd-fantome { white-space: normal; font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .bd-paquet { animation: none; left: 50%; } .bd-orbite { animation: none; transform: translateX(34px); } }

/* ---------- Animation « liste fermée » : seuls les moteurs d'IA sont joignables ---------- */
.b-barriere { margin: 26px 0 30px; padding: 22px clamp(14px, 3vw, 26px); border-radius: 22px; background: #fff; border: 1.5px solid var(--veil-2); box-shadow: 0 18px 40px -28px rgba(162,36,26,.45); }
.bb-scene { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, 1.2fr); align-items: center; gap: 10px; direction: ltr; }
.bb-ext { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; text-align: center; }
.bb-ext img { border-radius: 12px; }
.bb-pistes { display: grid; gap: 34px; }
.bb-piste { position: relative; height: 4px; }
.bb-piste::before { content: ""; position: absolute; inset: 0; border-top: 3px dashed var(--red); opacity: .45; }
.bb-paquet { position: absolute; top: -6px; left: 0; width: 15px; height: 15px; margin-left: -7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(226,60,46,.18); }
.bb-ok .bb-paquet { animation: bb-passe 3.4s cubic-bezier(.5,0,.5,1) infinite; }
.bb-ko .bb-paquet { background: var(--ink-soft); box-shadow: 0 0 0 5px rgba(0,0,0,.08); animation: bb-rebond 3.4s cubic-bezier(.5,0,.5,1) infinite 1.1s; }
.bb-mur { position: absolute; right: 18%; top: -22px; width: 8px; height: 48px; border-radius: 4px; background: var(--red); animation: bb-choc 3.4s ease-in-out infinite 1.1s; }
.bb-dest { display: grid; gap: 14px; }
.bb-cible { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; font-weight: 700; font-size: 14px; line-height: 1.3; }
.bb-cible svg { flex: none; }
.bb-cible.bb-ok { background: var(--red); color: #fff; }
.bb-cible.bb-ko { background: var(--veil); color: var(--ink-soft); border: 1.5px dashed var(--veil-2); }
.bb-cible.bb-ko svg { color: var(--red); }
.bb-cible em { display: block; font-style: normal; font-size: 12px; color: var(--red-ink); }
@keyframes bb-passe { 0% { left: 0; opacity: 0; } 8%, 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes bb-rebond { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 45% { left: 78%; } 62% { left: 52%; opacity: 1; } 80%, 100% { left: 52%; opacity: 0; } }
@keyframes bb-choc { 0%, 40% { transform: scaleY(1); box-shadow: none; } 45% { transform: scaleY(1.15); box-shadow: 0 0 0 6px rgba(226,60,46,.25); } 55%, 100% { transform: scaleY(1); box-shadow: none; } }
@media (max-width: 520px) { .bb-scene { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.3fr); } .bb-cible { font-size: 12.5px; padding: 8px; } .bb-ext { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .bb-paquet, .bb-mur { animation: none; } .bb-ok .bb-paquet { left: 60%; } .bb-ko .bb-paquet { left: 52%; } }

/* ---------- Page « Code source » ---------- */
.cs-versions { list-style: none; padding: 0; margin: 16px 0 10px; display: grid; gap: 14px; }
.cs-version { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1.5px solid var(--veil-2); box-shadow: 0 18px 40px -30px rgba(162,36,26,.45); }
.cs-version > div { min-width: 0; flex: 1 1 320px; }
.cs-version h3 { margin: 0 0 2px; }
.cs-version p { margin: 2px 0; }
.cs-sha span { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.cs-sha code { display: block; font-size: 12px; overflow-wrap: anywhere; color: var(--ink); }
.cs .cs-btn { background: var(--red); color: #fff; animation: none; }
.cs .cs-btn:hover, .cs .cs-btn:focus-visible { background: var(--red-ink); color: #fff; outline-color: var(--red); }
.cs-ok, .cs-ko { padding: 12px 16px; border-radius: 14px; }
.cs-ok { background: var(--veil); }
.cs-ko { border: 1.5px dashed var(--red); }
.cs-droits { font-weight: 700; color: var(--red-ink); }

/* ---------- Animation « page piégée » (article sécurité 3.23) ---------- */
.b-piege { margin: 26px 0 30px; padding: 22px clamp(14px, 3vw, 26px); border-radius: 22px; background: #fff; border: 1.5px solid var(--veil-2); box-shadow: 0 18px 40px -28px rgba(162,36,26,.45); }
.bp-scene { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); align-items: center; gap: 12px; }
.bp-carte { position: relative; padding: 14px 14px 12px; border-radius: 16px; background: var(--veil); border: 1.5px solid var(--veil-2); font-size: 14px; line-height: 1.45; }
.bp-carte p { margin: 6px 0 0; }
.bp-label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--red-ink); }
.bp-brouillon { font-weight: 600; }
.bp-cite { color: var(--ink-soft); font-size: 13px; }
.bp-cache { font-size: 12.5px; color: #fff; border-radius: 8px; padding: 4px 6px; margin-top: 8px !important; animation: bp-revele 9s ease-in-out infinite; }
.bp-cache b { color: inherit; }
.bp-fleche { position: relative; height: 4px; }
.bp-fleche i { position: absolute; inset: 0; border-top: 3px dashed var(--red); opacity: .45; }
.bp-fleche span { position: absolute; left: 50%; top: -24px; transform: translateX(-50%); font-size: 11px; font-weight: 800; color: var(--red-ink); }
.bp-fleche::after { content: ""; position: absolute; top: -6px; left: 0; width: 15px; height: 15px; margin-left: -7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(226,60,46,.18); animation: bp-paquet 9s ease-in-out infinite; }
.bp-rep { animation: bp-rep 9s ease-in-out infinite; }
.bp-rep mark { background: transparent; color: inherit; font-weight: 800; border-radius: 4px; padding: 0 2px; animation: bp-mark 9s ease-in-out infinite; }
.bp-verdict { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; background: var(--red); color: #fff; animation: bp-verdict 9s cubic-bezier(.2,.8,.2,1) infinite; }
.bp-verdict svg { flex: none; }
.bp-verdict p { margin: 0; flex: 1 1 220px; line-height: 1.35; }
.bp-verdict b { display: block; font-size: 16px; }
.bp-verdict p span { font-size: 13.5px; opacity: .95; }
.bp-btn { flex: none; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--red-ink); font-weight: 800; font-size: 13px; }
@keyframes bp-revele { 0%, 12% { background: transparent; color: rgba(0,0,0,.06); outline: 2px dashed transparent; } 22%, 92% { background: rgba(226,60,46,.1); color: var(--red-ink); outline: 2px dashed var(--red); } 100% { background: transparent; color: rgba(0,0,0,.06); outline-color: transparent; } }
@keyframes bp-paquet { 0%, 26% { left: 0; opacity: 0; } 30% { opacity: 1; } 42% { left: 100%; opacity: 1; } 46%, 100% { left: 100%; opacity: 0; } }
@keyframes bp-rep { 0%, 40% { opacity: .25; transform: translateY(6px); } 48%, 94% { opacity: 1; transform: none; } 100% { opacity: .25; transform: translateY(6px); } }
@keyframes bp-mark { 0%, 52% { background: transparent; } 58%, 94% { background: rgba(226,60,46,.22); box-shadow: 0 0 0 2px var(--red); } 100% { background: transparent; } }
@keyframes bp-verdict { 0%, 62% { opacity: 0; transform: scale(.94) translateY(8px); } 68%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (max-width: 600px) {
  .bp-scene { grid-template-columns: minmax(0, 1fr); }
  .bp-fleche { height: 46px; width: 4px; justify-self: center; }
  .bp-fleche i { border-top: 0; border-left: 3px dashed var(--red); }
  .bp-fleche span { left: 14px; top: 50%; transform: translateY(-50%); }
  .bp-fleche::after { left: -5px; margin-left: 0; animation-name: bp-paquet-v; }
}
@keyframes bp-paquet-v { 0%, 26% { top: 0; opacity: 0; } 30% { opacity: 1; } 42% { top: 100%; opacity: 1; } 46%, 100% { top: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bp-cache, .bp-rep, .bp-rep mark, .bp-verdict, .bp-fleche::after { animation: none; } .bp-cache { background: rgba(226,60,46,.1); color: var(--red-ink); outline: 2px dashed var(--red); } .bp-rep mark { background: rgba(226,60,46,.22); } .bp-fleche::after { display: none; } }
[dir="rtl"] .bp-scene { direction: ltr; } [dir="rtl"] .bp-carte, [dir="rtl"] .bp-verdict { direction: rtl; text-align: right; }

/* Page Code source : « La sécurité, à chaque étage » */
.cs-secu { list-style: none; padding: 0; margin: 14px 0 8px; display: grid; gap: 10px; }
.cs-secu li { position: relative; padding: 12px 14px 12px 46px; border-radius: 14px; background: var(--veil); border: 1.5px solid var(--veil-2); line-height: 1.5; }
.cs-secu li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; }
.cs-secu li.cs-neuf { border-color: var(--red); background: #fff; }
.cs-fic { display: inline-block; margin-left: 4px; }
.cs-fic code { font-size: 12px; padding: 1px 6px; border-radius: 6px; background: #fff; color: var(--red-ink); border: 1px solid var(--veil-2); }
[dir="rtl"] .cs-secu li { padding: 12px 46px 12px 14px; } [dir="rtl"] .cs-secu li::before { left: auto; right: 14px; }

/* ---------- Article « réseaux et commentaires » : fenêtre neutre qui change d'outil ---------- */
.b-outils { margin: 24px 0 28px; }
.b-outils .bd-titre { margin-top: 10px; text-align: center; }
.bo-fen { max-width: 520px; margin: 0 auto; border-radius: 16px; background: #fff; border: 1.5px solid var(--veil-2); box-shadow: 0 18px 40px -28px rgba(162,36,26,.45); overflow: hidden; direction: ltr; }
.bo-tete { position: relative; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; background: var(--veil); border-bottom: 1px solid var(--veil-2); }
.bo-tete > i { width: 10px; height: 10px; border-radius: 50%; background: rgba(162,36,26,.25); }
.bo-noms { position: relative; flex: 1; height: 100%; margin-left: 8px; }
.bo-noms span { position: absolute; left: 0; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 13px; color: var(--ink-soft); opacity: 0; animation: bo-nom 20s infinite; }
.bo-noms b { color: var(--red-ink); }
.bo-noms span:nth-child(2) { animation-delay: 4s; } .bo-noms span:nth-child(3) { animation-delay: 8s; }
.bo-noms span:nth-child(4) { animation-delay: 12s; } .bo-noms span:nth-child(5) { animation-delay: 16s; }
.bo-corps { display: flex; gap: 12px; padding: 16px; min-height: 92px; }
.bo-av { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--red); }
.bo-lignes { flex: 1; display: grid; gap: 10px; align-content: start; padding-top: 4px; }
.bo-lignes > i { display: block; height: 9px; border-radius: 5px; background: rgba(162,36,26,.16); }
.bo-lignes > i:first-child { width: 92%; } .bo-lignes > i:last-child { width: 58%; }
.bo-lignes > .bo-mot { position: relative; height: 18px; background: none; font: 700 14px/18px var(--font); }
.bo-mot b { position: absolute; left: 0; top: 0; padding: 0 4px; border-radius: 4px; }
.bo-mot b:first-child { text-decoration: underline wavy var(--red); animation: bo-faute 4s infinite; }
.bo-mot b:last-child { color: var(--red-ink); background: rgba(226,60,46,.14); opacity: 0; animation: bo-juste 4s infinite; }
@keyframes bo-nom { 0% { opacity: 0; } 2%, 18% { opacity: 1; } 20%, 100% { opacity: 0; } }
@keyframes bo-faute { 0%, 45% { opacity: 1; } 52%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes bo-juste { 0%, 48% { opacity: 0; } 56%, 92% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bo-noms span, .bo-mot b { animation: none; } .bo-noms span:first-child, .bo-mot b:last-child { opacity: 1; } .bo-mot b:first-child { opacity: 0; } }

/* ---------- Article « réseaux et commentaires » : publication avec un vrai texte ---------- */
.b-social { margin: 24px 0 28px; }
.b-social .bd-titre { margin-top: 10px; text-align: center; }
.bs-post { max-width: 520px; margin: 0 auto; padding: 16px 18px 12px; border-radius: 16px; background: #fff; border: 1.5px solid var(--veil-2); box-shadow: 0 18px 40px -28px rgba(162,36,26,.45); }
.bs-tete { display: flex; align-items: center; gap: 10px; }
.bs-av { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--red); }
.bs-tete p { margin: 0; flex: 1; line-height: 1.25; }
.bs-tete b { display: block; font-size: 15px; }
.bs-tete span { font-size: 12.5px; color: var(--ink-soft); }
.bs-ok { width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font: 800 15px/26px var(--font); text-align: center; opacity: 0; animation: bs-ok 6s ease-out infinite; }
.bs-texte { margin: 12px 0 12px; font-size: 16px; line-height: 1.55; color: var(--ink); }
.bs-mot { display: inline-grid; vertical-align: bottom; }
.bs-mot b { grid-area: 1 / 1; font-weight: 600; border-radius: 4px; padding: 0 2px; }
.bs-mot b:first-child { text-decoration: underline wavy var(--red); text-underline-offset: 3px; animation: bs-faute 6s ease-in-out infinite; }
.bs-mot b:last-child { color: var(--red-ink); background: rgba(226,60,46,.14); opacity: 0; animation: bs-juste 6s ease-in-out infinite; }
.bs-pied { display: flex; gap: 18px; padding-top: 10px; border-top: 1px solid var(--veil-2); }
.bs-pied i { width: 46px; height: 8px; border-radius: 4px; background: rgba(162,36,26,.14); }
@keyframes bs-faute { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes bs-juste { 0%, 46% { opacity: 0; transform: translateY(3px); } 54%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes bs-ok { 0%, 52% { opacity: 0; transform: scale(.4); } 60%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bs-mot b, .bs-ok { animation: none; } .bs-mot b:first-child { opacity: 0; } .bs-mot b:last-child, .bs-ok { opacity: 1; } }
.bs-tete .bs-ok { color: #fff; font-size: 15px; }

/* ---------- Le sceau qui tourne : télécharger l'extension en un clic, sur chaque page du blog ---------- */
.b-sceau, .b-sceau-coin { position: relative; display: grid; place-items: center; color: var(--red); text-decoration: none; flex: none; }
.b-sceau > svg, .b-sceau-coin > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.b-sceau .sceau-roue, .b-sceau-coin .sceau-roue { animation: sceau-tourne 26s linear infinite; filter: drop-shadow(0 12px 14px rgba(162,36,26,.35)); }
.b-sceau:hover .sceau-roue, .b-sceau:focus-visible .sceau-roue, .b-sceau-coin:hover .sceau-roue, .b-sceau-coin:focus-visible .sceau-roue { animation-duration: 5s; }
.b-sceau .sceau-txt, .b-sceau-coin .sceau-txt { position: relative; color: #fff; font-weight: 900; line-height: 1.12; text-align: center; }
.b-sceau { width: 164px; height: 164px; }
.b-sceau .sceau-txt { font-size: 16px; }
.b-sceau:focus-visible { outline: none; } .b-sceau:focus-visible .sceau-txt { text-decoration: underline; }
.b-cta.b-cta-sceau { display: flex; align-items: center; gap: clamp(18px, 4vw, 36px); text-align: start; }
.b-cta.b-cta-sceau > div { min-width: 0; flex: 1; }
/* petit sceau toujours à portée de clic, en bas de l'écran */
.b-sceau-coin { position: fixed; z-index: 40; right: 18px; bottom: 18px; width: 84px; height: 84px; }
.b-sceau-coin .sceau-anneau text { display: none; }
.b-sceau-coin .sceau-txt { font-size: 10.5px; }
[dir="rtl"] .b-sceau-coin { right: auto; left: 18px; }
@media (max-width: 600px) {
  .b-cta.b-cta-sceau { flex-direction: column; text-align: center; }
  .b-sceau { width: 136px; height: 136px; } .b-sceau .sceau-txt { font-size: 13.5px; }
  .b-sceau-coin { width: 60px; height: 60px; right: 12px; bottom: 12px; } [dir="rtl"] .b-sceau-coin { left: 12px; }
  .b-sceau-coin .sceau-txt, .b-sceau-coin .sceau-anneau { display: none; }
  .b-sceau-coin::after { content: "+"; position: relative; color: #fff; font-weight: 900; font-size: 28px; line-height: 1; }
}
@media (prefers-reduced-motion: reduce) { .b-sceau .sceau-roue, .b-sceau-coin .sceau-roue { animation: none; } }
@media print { .b-sceau-coin { display: none; } }

/* pagination du blog : 5 articles par page */
.b-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 34px 0 10px; }
.b-pages a { text-decoration: none; font-weight: 700; color: var(--red-ink); border: 1px solid var(--veil-2); background: #fff; border-radius: 999px; padding: 8px 16px; transition: background .2s, border-color .2s; }
.b-pages a:hover, .b-pages a:focus-visible { background: var(--veil); border-color: var(--red); }
.b-pg-nums { display: flex; gap: 8px; }
.b-pg-nums a { min-width: 42px; text-align: center; padding: 8px 0; }
.b-pages a[aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; pointer-events: none; }
@media (max-width: 520px) { .b-pg-prec, .b-pg-suiv { flex: 1 1 100%; text-align: center; } }
@media print { .b-pages { display: none; } }

/* ===== Page « Toutes les fonctions » ===== */
.fx { max-width: 1080px; margin: 0 auto; }
.fx-tete { text-align: center; padding: 8px 0 18px; }
.fx-tete h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.05; margin: .15em 0 .3em; }
.fx-tete h1 em { color: var(--red); font-style: normal; }
.fx-tete .b-chapo { max-width: 640px; margin: 0 auto 26px; }
.fx-tete .stats { justify-content: center; margin: 0 auto; }
.fx-ciel { --r: 128px; position: relative; width: calc(var(--r) * 2 + 56px); aspect-ratio: 1; margin: 0 auto 6px; }
.fx-ciel img { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; animation: fx-flotte 5s ease-in-out infinite; filter: drop-shadow(0 14px 22px rgba(226,60,46,.25)); }
.fx-anneau { position: absolute; inset: 28px; border: 1.5px dashed var(--veil-2); border-radius: 50%; animation: fx-tourne 70s linear infinite; }
.fx-anneau span { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); }
.fx-anneau svg { width: 46px; height: 46px; padding: 11px; box-sizing: border-box; background: #fff; color: var(--red); border: 1px solid var(--veil-2); border-radius: 50%; box-shadow: 0 6px 16px rgba(226,60,46,.12); animation: fx-tourne 70s linear infinite reverse; }
@keyframes fx-tourne { to { transform: rotate(360deg); } }
@keyframes fx-flotte { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

.fx-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px auto 14px; max-width: 900px; }
.fx-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px 8px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--veil-2); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; transition: transform .2s, background .2s, border-color .2s; }
.fx-nav a:hover, .fx-nav a:focus-visible { background: var(--veil); border-color: var(--red); transform: translateY(-2px); }
.fx-nav-ico svg { width: 20px; height: 20px; color: var(--red); display: block; }
.fx-nav b { min-width: 24px; padding: 2px 7px; border-radius: 999px; background: var(--veil); color: var(--red-ink); font-size: .8rem; text-align: center; }

.fx-theme { padding: 46px 0 8px; scroll-margin-top: 80px; }
.fx-theme-tete { position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.fx-theme-tete h2 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.3rem); position: relative; }
.fx-ico { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--veil); color: var(--red); display: grid; place-items: center; }
.fx-ico svg { width: 30px; height: 30px; }
.fx-ico::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; animation: fx-onde 3.2s ease-out infinite; }
@keyframes fx-onde { 0% { transform: scale(.85); opacity: .45; } 70%, 100% { transform: scale(1.25); opacity: 0; } }
.fx-num { position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); font-size: clamp(3rem, 9vw, 5.5rem); font-weight: 900; color: var(--veil); line-height: 1; letter-spacing: -.04em; pointer-events: none; }
.fx-debut { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 16px; }
.fx-debut > span { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--red-ink); }
.fx-debut-lien { display: inline-flex; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; font-size: .92rem; transition: background .2s, transform .2s; }
.fx-debut-lien:hover, .fx-debut-lien:focus-visible { background: var(--red-ink); transform: translateY(-2px); }

.fx-grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.fx-carte { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; background: #fff; border: 1px solid var(--veil-2); border-radius: 18px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.fx-carte::before { content: ""; position: absolute; inset-inline-start: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--veil-2); transition: background .25s; }
.fx-carte:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(226,60,46,.12); border-color: var(--red); }
.fx-carte:hover::before { background: var(--red); }
.fx-carte p { margin: 0; color: var(--ink); line-height: 1.5; }
.fx-carte p b { color: var(--ink); }
.fx-puces { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-puces span { font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--veil); color: var(--red-ink); }
.fx-lien { margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--red-ink); text-decoration: none; }
.fx-lien::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.fx-lien span { display: inline-block; transition: transform .25s; }
.fx-carte:hover .fx-lien span { transform: translateX(4px); }
[dir="rtl"] .fx-carte:hover .fx-lien span { transform: translateX(-4px); }
.fx-a-lien { background: linear-gradient(180deg, #fff 60%, var(--veil) 100%); }

@supports (animation-timeline: view()) {
  .fx-carte { animation: fx-entre linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  .fx-theme-tete { animation: fx-entre linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}
@keyframes fx-entre { from { opacity: 0; transform: translateY(26px) scale(.97); } }

@media (max-width: 520px) {
  .fx-ciel { --r: 100px; }
  .fx-anneau span, .fx-anneau svg { width: 40px; height: 40px; }
  .fx-anneau span { margin: -20px 0 0 -20px; }
  .fx-anneau svg { padding: 9px; }
  .fx-ciel img { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
  .fx-nav { gap: 8px; }
  .fx-nav a { font-size: .88rem; }
  .fx-ico { width: 52px; height: 52px; }
  .fx-ico svg { width: 25px; height: 25px; }
  .fx-grille { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-ciel img, .fx-anneau, .fx-anneau svg, .fx-ico::after, .fx-carte, .fx-theme-tete { animation: none !important; }
}
@media print { .fx-ciel, .fx-nav { display: none; } .fx-carte { break-inside: avoid; } }
.b-main:has(.fx) { max-width: 1120px; }
.b-main:has(.fx) .b-cta { max-width: 760px; margin-inline: auto; }
/* Fonctions : cartes qui ont un article */
.fx-a-lien { border-color: #f3b9b2; padding-top: 24px; }
.fx-badge { position: absolute; top: -11px; inset-inline-end: 16px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px 4px 9px; border-radius: 999px; background: var(--red); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .02em; box-shadow: 0 6px 14px rgba(226,60,46,.3); animation: fx-badge 2.6s ease-in-out infinite; }
.fx-badge svg { width: 14px; height: 14px; }
@keyframes fx-badge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.fx-lien { display: block; padding-top: 12px; border-top: 1px dashed #f3b9b2; line-height: 1.35; }
.fx-lien-lab { display: block; margin-bottom: 3px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
@media (prefers-reduced-motion: reduce) { .fx-badge { animation: none; } }
/* Fonctions : toute la carte est le lien, le badge suffit */
.fx-couvre { position: absolute; inset: 0; border-radius: 18px; z-index: 1; }
.fx-couvre:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.fx-a-lien { cursor: pointer; }
/* Rond denté du coin : visible en descendant, masqué en haut et au pied de page (si le script tourne) */
.bsc-js .b-sceau-coin { opacity: 0; visibility: hidden; transform: translateY(24px) scale(.6) rotate(-40deg); pointer-events: none;
  transition: opacity .45s, transform .6s cubic-bezier(.2,1.4,.4,1), visibility 0s .6s; }
.bsc-js .b-sceau-coin.bsc-vu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .45s, transform .6s cubic-bezier(.2,1.4,.4,1), visibility 0s; }
/* Anneau de la page Fonctions piloté par le script : vitesse variable, icônes qui grossissent au survol */
.fx-ciel.fx-js .fx-anneau { animation: none; transform: rotate(var(--rot, 0deg)); }
.fx-ciel.fx-js .fx-anneau svg { animation: none; transform: rotate(calc(-1 * var(--rot, 0deg))); }
.fx-anneau svg { transition: scale .3s cubic-bezier(.2,1.5,.4,1), box-shadow .3s; }
.fx-anneau span:hover { z-index: 2; }
.fx-anneau span:hover svg { scale: 1.6; box-shadow: 0 10px 24px rgba(226,60,46,.3); }
.fx-ciel { cursor: default; }
@media (prefers-reduced-motion: reduce) { .bsc-js .b-sceau-coin { transition: none; transform: none; } }
/* Fonctions : note « pas encore d'article pour chaque fonction » */
.fx-note { max-width: 720px; margin: 6px auto 0; padding: 14px 20px; text-align: center; font-size: .95rem; line-height: 1.7; color: var(--ink-soft); background: var(--veil); border-radius: 18px; }
.fx-note a { font-weight: 700; color: var(--red-ink); text-decoration: none; white-space: nowrap; }
.fx-note a:hover { text-decoration: underline; }
.fx-badge.fx-badge-ex { position: static; vertical-align: middle; margin: 0 2px; animation: none; box-shadow: none; }
/* Rond « Ajouter à Chrome » des pages du blog : même place et même mouvement que sur l'accueil (piloté par js/blog.js) */
.bsc-js .b-sceau-coin, [dir="rtl"].bsc-js .b-sceau-coin, .bsc-js [dir="rtl"] .b-sceau-coin { top: 0; bottom: auto; right: auto; left: max(16px, calc((100vw - 1240px) / 2 - 112px));
  width: 96px; height: 96px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s; will-change: transform; }
.bsc-js .b-sceau-coin.on { opacity: 1; visibility: visible; pointer-events: auto; }
.bsc-js .b-sceau-coin .sceau-txt { font-size: 11px; }
@media (max-width: 1459px) { .bsc-js .b-sceau-coin, .bsc-js [dir="rtl"] .b-sceau-coin { left: 14px; width: 76px; height: 76px; } .bsc-js .b-sceau-coin .sceau-txt { font-size: 9px; } }
@media (max-width: 700px) { .bsc-js .b-sceau-coin, .bsc-js [dir="rtl"] .b-sceau-coin { left: 10px; width: 52px; height: 52px; } .bsc-js .b-sceau-coin.on.sur-texte { opacity: .4; } }
/* Fonctions : icônes de l anneau nettement plus grandes au survol */
.fx-anneau span:hover svg { scale: 1.85; }
@media print { .sceau-flottant { display: none; } }
/* Pied de page au-dessus de la roue dentée : elle glisse derrière, comme sous le bandeau rouge de l accueil */
.b-foot { position: relative; z-index: 31; }
/* Fonctions : le logo de l extension en grand, sans anneau (provisoire) */
.fx-logo { display: block; width: 240px; height: 240px; margin: 0 auto 18px; border-radius: 24%; box-shadow: 0 22px 44px -18px rgba(162,36,26,.55); }
@media (max-width: 700px) { .fx-logo { width: 170px; height: 170px; } }

/* Fonctions : orbite en 3D autour du logo. Les icônes passent derrière le logo, l'anneau s'incline selon la souris. */
.fx-orbite { position: relative; width: min(620px, 100%); height: 360px; margin: 0 auto 14px; }
.fx-orbite .fx-logo { position: absolute; left: 50%; top: 50%; margin: -120px 0 0 -120px; z-index: 3; pointer-events: none; }
.fx-orb-arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.fx-orb-arc path { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; }
.fx-orb-dos { z-index: 1; opacity: .35; }
.fx-orb-face { z-index: 4; opacity: .8; }
.fx-orb-ico { position: absolute; left: 0; top: 0; width: 50px; height: 50px; margin: -25px 0 0 -25px; will-change: transform; cursor: default; }
.fx-orb-ico svg { width: 100%; height: 100%; padding: 12px; box-sizing: border-box; background: #fff; color: var(--red); border: 1px solid var(--veil-2); border-radius: 50%; box-shadow: 0 8px 18px rgba(226,60,46,.18); transition: scale .3s cubic-bezier(.2,1.5,.4,1), box-shadow .3s; }
.fx-orb-ico:hover svg { scale: 1.9; box-shadow: 0 12px 28px rgba(226,60,46,.35); }
.fx-orb-ico:hover { z-index: 9 !important; }
.fx-orbite:not(.fx-js) .fx-orb-ico, .fx-orbite:not(.fx-js) .fx-orb-arc { display: none; }
@media (max-width: 700px) { .fx-orbite { height: 250px; } .fx-orbite .fx-logo { width: 150px; height: 150px; margin: -75px 0 0 -75px; } .fx-orb-ico { width: 38px; height: 38px; margin: -19px 0 0 -19px; } .fx-orb-ico svg { padding: 9px; } }
@media print { .fx-orb-ico, .fx-orb-arc { display: none; } }
/* Fonctions : le logo flotte doucement au milieu de son orbite (et penche un peu) */
@keyframes fx-logo-flotte { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
.fx-orbite .fx-logo { animation: fx-logo-flotte 5.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .fx-orbite .fx-logo { animation: none; } }

/* ==== Fonctions : « délire sublime » ==== */
/* Le logo : flotte, s'oriente vers la souris comme une carte en 3D, un reflet de lumière glisse dessus. */
.fx-logo-boite { position: absolute; left: 50%; top: 50%; width: 240px; height: 240px; margin: -120px 0 0 -120px; z-index: 3;
  perspective: 700px; animation: fx-logo-flotte 5.5s ease-in-out infinite; cursor: pointer; }
.fx-orbite .fx-logo-boite .fx-logo { position: static; margin: 0; width: 100%; height: 100%; animation: none; display: block;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--ls, 1)); transform-style: preserve-3d; border-radius: 24%; }
.fx-reflet { position: absolute; inset: 0; border-radius: 24%; pointer-events: none; mix-blend-mode: soft-light;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--ls, 1));
  background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,.95), rgba(255,255,255,.25) 28%, transparent 55%);
  opacity: var(--go, .55); }
/* Étincelles : la traînée de comète de l'étoile du logo */
.fx-etincelle { position: absolute; left: 0; top: 0; z-index: 6; width: var(--t, 10px); height: var(--t, 10px); pointer-events: none;
  background: var(--c, #e23c2e); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter: drop-shadow(0 0 4px rgba(255,170,80,.8)); animation: fx-etincelle var(--d, 1.4s) cubic-bezier(.15,.7,.3,1) forwards; }
@keyframes fx-etincelle { 0% { transform: translate(var(--x0), var(--y0)) scale(0) rotate(0); opacity: 1; }
  15% { transform: translate(var(--x0), var(--y0)) scale(1.2) rotate(40deg); opacity: 1; }
  100% { transform: translate(var(--x1), var(--y1)) scale(.1) rotate(var(--r, 260deg)); opacity: 0; } }
/* Icônes de l'orbite : survolées, elles s'avancent et disent leur nom ; un clic mène au thème */
.fx-orb-ico { text-decoration: none; cursor: pointer; }
.fx-orb-nom { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px) scale(.6); white-space: nowrap; padding: 5px 12px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 13px; border-radius: 99px; opacity: 0; pointer-events: none;
  box-shadow: 0 10px 24px -8px rgba(162,36,26,.6); transition: opacity .25s, transform .35s cubic-bezier(.2,1.6,.4,1); }
.fx-orb-ico:hover .fx-orb-nom { opacity: 1; transform: translate(-50%, 34px) scale(1); }
.fx-orb-ico:hover svg { scale: 2; background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 0 0 8px rgba(226,60,46,.15), 0 16px 34px rgba(226,60,46,.45); }
/* Tuiles : elles arrivent en se retournant comme des cartes, puis s'inclinent vers la souris avec un éclat de lumière */
.fx-cartes-js .fx-carte { animation: none; }
.fx-cartes-js .fx-carte:not(.fx-vu) { opacity: 0; }
.fx-cartes-js .fx-carte.fx-vu { animation: fx-retourne .95s cubic-bezier(.2,.9,.25,1.15) backwards; animation-delay: calc(min(var(--i, 0), 8) * 75ms); }
@keyframes fx-retourne { 0% { opacity: 0; transform: perspective(900px) translateY(50px) rotateX(-85deg) rotateZ(-3deg); }
  60% { opacity: 1; } 100% { opacity: 1; transform: perspective(900px) translateY(0) rotateX(0) rotateZ(0); } }
.fx-carte { transform-style: preserve-3d; }
.fx-carte.fx-penche { transition: transform .12s ease-out, box-shadow .25s, border-color .25s;
  transform: perspective(800px) rotateX(var(--px, 0deg)) rotateY(var(--py, 0deg)) translateY(-6px) scale(1.02); }
.fx-carte::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(226,60,46,.13), transparent 60%); }
.fx-carte.fx-penche::after { opacity: 1; }
/* Compteurs : ils s'allument en défilant */
.fx-tete .stats b.fx-compte { text-shadow: 0 0 18px rgba(226,60,46,.45); }
.fx-tete .stats li { transition: transform .4s cubic-bezier(.2,1.6,.4,1); }
.fx-tete .stats li:hover { transform: translateY(-6px) rotate(-1.5deg); }
@media (max-width: 700px) { .fx-logo-boite { width: 150px; height: 150px; margin: -75px 0 0 -75px; } }
@media (prefers-reduced-motion: reduce) { .fx-logo-boite { animation: none; } .fx-etincelle { display: none; } .fx-cartes-js .fx-carte { opacity: 1 !important; animation: none !important; } }
.fx-orbite { height: 410px; }
@media (max-width: 700px) { .fx-orbite { height: 270px; } }
/* Tuiles : en remontant, elles repartent comme elles sont venues */
.fx-cartes-js .fx-carte.fx-part { animation: fx-sort .6s cubic-bezier(.55,0,.75,.2) forwards; }
@keyframes fx-sort { 0% { opacity: 1; transform: perspective(900px) translateY(0) rotateX(0) rotateZ(0); } 100% { opacity: 0; transform: perspective(900px) translateY(50px) rotateX(-85deg) rotateZ(-3deg); } }

/* Blog : pied de page sur fond blanc, le lien du crédit garde la couleur du texte (2026-11-10) */
.b-foot .land-credit a { color: var(--red-ink); }

/* ===== Animations des articles de la réserve ===== */
/* =====================================================================
   Animations des articles en stock (à ajouter à la fin de css/blog.css
   le jour où le premier de ces articles est publié).
   Même langage que .b-donnees / .b-barriere : carte blanche, voile rouge.
   ===================================================================== */
.b-anim { margin: 26px 0 30px; padding: 22px clamp(14px, 3vw, 26px); border-radius: 22px; background: #fff; border: 1.5px solid var(--veil-2); box-shadow: 0 18px 40px -28px rgba(162,36,26,.45); overflow: hidden; }
.b-anim .bd-titre { margin: 0 0 16px; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); text-align: center; }
.ba-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--veil); color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1.2; border: 1.5px solid var(--veil-2); }
.ba-bulle { padding: 12px 14px; border-radius: 16px; background: var(--veil); border: 1.5px solid var(--veil-2); font-size: 14.5px; line-height: 1.45; }
.ba-label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 4px; }

/* ---------- 1. IA locale : le texte tourne dans l'ordinateur, rien ne sort ---------- */
.ba-l-scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 10px; direction: ltr; }
.ba-l-ordi { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; text-align: center; }
.ba-l-ecran { position: relative; width: 112px; height: 74px; border-radius: 12px; border: 3px solid var(--red); background: var(--veil); display: grid; place-items: center; }
.ba-l-ecran::after { content: ""; position: absolute; left: -14px; right: -14px; bottom: -11px; height: 6px; border-radius: 3px; background: var(--red); }
.ba-l-puce { position: relative; z-index: 1; padding: 4px 9px; border-radius: 8px; background: var(--red); color: #fff; font-weight: 800; font-size: 13px; }
.ba-l-orbite { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--red-ink); animation: ba-l-tour 2.8s linear infinite; }
.ba-l-fil { position: relative; height: 40px; }
.ba-l-fil::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 3px dashed var(--red); opacity: .35; }
.ba-l-paquet { position: absolute; top: 50%; left: 0; width: 15px; height: 15px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(226,60,46,.18); animation: ba-l-retour 3.6s cubic-bezier(.5,0,.5,1) infinite; }
.ba-l-mur { position: absolute; left: 55%; top: 50%; width: 8px; height: 44px; margin-top: -22px; border-radius: 4px; background: var(--red); animation: ba-l-choc 3.6s ease-in-out infinite; }
.ba-l-net { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--ink-soft); opacity: .65; font-weight: 700; font-size: 13px; }
.ba-l-net em { font-style: normal; color: var(--red-ink); font-size: 12px; }
@keyframes ba-l-tour { from { transform: rotate(0deg) translateX(44px) rotate(0deg); } to { transform: rotate(360deg) translateX(44px) rotate(-360deg); } }
@keyframes ba-l-retour { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 42% { left: 50%; } 62% { left: 12%; opacity: 1; } 78%, 100% { left: 0; opacity: 0; } }
@keyframes ba-l-choc { 0%, 38% { transform: scaleY(1); box-shadow: none; } 43% { transform: scaleY(1.15); box-shadow: 0 0 0 6px rgba(226,60,46,.25); } 55%, 100% { transform: scaleY(1); box-shadow: none; } }

/* ---------- 2. Huit moteurs : la pastille passe d'un moteur à l'autre ---------- */
.ba-m-pastille { display: flex; justify-content: center; margin-bottom: 16px; }
.ba-m-pastille .ba-chip { background: var(--red); color: #fff; border-color: var(--red); min-width: 190px; justify-content: center; }
.ba-m-noms { position: relative; display: inline-grid; }
.ba-m-noms b { grid-area: 1 / 1; opacity: 0; animation: ba-m-nom 16s infinite; }
.ba-m-groupes { display: grid; gap: 12px; }
.ba-m-groupe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ba-m-groupe > span:first-child { flex: 0 0 100%; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
.ba-m-groupe .ba-chip { animation: ba-m-on 16s infinite; }
.ba-m-n1 { animation-delay: 0s !important; } .ba-m-n2 { animation-delay: 2s !important; } .ba-m-n3 { animation-delay: 4s !important; } .ba-m-n4 { animation-delay: 6s !important; }
.ba-m-n5 { animation-delay: 8s !important; } .ba-m-n6 { animation-delay: 10s !important; } .ba-m-n7 { animation-delay: 12s !important; } .ba-m-n8 { animation-delay: 14s !important; }
@keyframes ba-m-on { 0%, 11.5% { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-2px); } 13%, 100% { background: var(--veil); color: var(--ink); border-color: var(--veil-2); transform: none; } }
@keyframes ba-m-nom { 0% { opacity: 0; } 1%, 11.5% { opacity: 1; } 12.5%, 100% { opacity: 0; } }

/* ---------- 3. Démarrer : trois étapes, deux minutes ---------- */
.ba-d-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ba-d-etapes li { padding: 12px; border-radius: 16px; background: var(--veil); border: 1.5px solid var(--veil-2); font-size: 14px; line-height: 1.35; font-weight: 600; animation: ba-d-on 9s infinite; }
.ba-d-etapes li b { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 8px; border-radius: 50%; background: #fff; color: var(--red); font-weight: 800; }
.ba-d-etapes li:nth-child(2) { animation-delay: 2s; } .ba-d-etapes li:nth-child(3) { animation-delay: 4s; }
.ba-d-pied { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.ba-d-barre { flex: 1; height: 8px; border-radius: 4px; background: var(--veil); overflow: hidden; }
.ba-d-barre i { display: block; height: 100%; width: 0; background: var(--red); border-radius: 4px; animation: ba-d-temps 9s linear infinite; }
.ba-d-temps { font-weight: 800; font-size: 14px; color: var(--red-ink); white-space: nowrap; }
.ba-d-pret { font-weight: 800; font-size: 14px; color: #fff; background: var(--red); padding: 6px 12px; border-radius: 999px; white-space: nowrap; opacity: 0; animation: ba-d-pret 9s infinite; }
@keyframes ba-d-on { 0% { background: var(--veil); } 3%, 20% { background: #fff; border-color: var(--red); box-shadow: 0 8px 18px -10px rgba(162,36,26,.5); } 24%, 100% { background: var(--veil); border-color: var(--veil-2); box-shadow: none; } }
@keyframes ba-d-temps { 0% { width: 0; } 66%, 100% { width: 100%; } }
@keyframes ba-d-pret { 0%, 64% { opacity: 0; transform: scale(.8); } 70%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- 4. Commandes « / » : on tape /relance, la consigne apparaît ---------- */
.ba-c-zone { position: relative; max-width: 460px; margin: 0 auto; }
.ba-c-champ { position: relative; min-height: 50px; padding: 13px 16px; border-radius: 16px; background: #fff; border: 2px solid var(--red); font-size: 15px; line-height: 1.4; }
.ba-c-tape { display: inline-block; vertical-align: bottom; overflow: hidden; white-space: nowrap; max-width: 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; color: var(--red-ink); animation: ba-c-tape 9s steps(var(--n, 8), end) infinite; }
.ba-c-curseur { display: inline-block; width: 2px; height: 1.1em; vertical-align: -2px; background: var(--ink); animation: ba-c-clign 1s steps(1) infinite, ba-c-cache 9s infinite; }
.ba-c-consigne { position: absolute; inset: 13px 16px auto; opacity: 0; animation: ba-c-consigne 9s infinite; }
.ba-c-liste { list-style: none; margin: 8px 0 0; padding: 6px; border-radius: 14px; background: #fff; border: 1.5px solid var(--veil-2); box-shadow: 0 14px 30px -18px rgba(162,36,26,.45); opacity: 0; animation: ba-c-liste 9s infinite; }
.ba-c-liste li { display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 14px; }
.ba-c-liste li code { font-weight: 700; color: var(--red-ink); background: none; padding: 0; }
.ba-c-liste li span { color: var(--ink-soft); }
.ba-c-liste li.ba-c-choix { animation: ba-c-choix 9s infinite; }
@keyframes ba-c-tape { 0%, 6% { max-width: 0; } 30%, 52% { max-width: calc(var(--n, 8) * 1ch + .2ch); } 56%, 100% { max-width: 0; } }
@keyframes ba-c-clign { 50% { opacity: 0; } }
@keyframes ba-c-cache { 0%, 52% { visibility: visible; } 53%, 100% { visibility: hidden; } }
@keyframes ba-c-liste { 0%, 8% { opacity: 0; transform: translateY(-6px); } 12%, 50% { opacity: 1; transform: none; } 54%, 100% { opacity: 0; } }
@keyframes ba-c-choix { 0%, 30% { background: transparent; } 34%, 52% { background: var(--veil); } 56%, 100% { background: transparent; } }
@keyframes ba-c-consigne { 0%, 54% { opacity: 0; } 60%, 94% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- 5. Recherche web : la réponse et ses sources ---------- */
.ba-w-scene { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.ba-w-rep p { margin: 0; }
.ba-w-rep sup { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin: 0 1px; border-radius: 6px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; vertical-align: 3px; opacity: 0; animation: ba-w-sup 8s infinite; }
.ba-w-rep sup + sup, .ba-w-rep .ba-w-s2 { animation-delay: .8s; }
.ba-w-sources { display: grid; gap: 8px; }
.ba-w-sources .ba-label { margin: 0; }
.ba-w-source { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 12px; background: #fff; border: 1.5px solid var(--veil-2); font-size: 13.5px; font-weight: 600; opacity: 0; animation: ba-w-source 8s infinite; }
.ba-w-source b { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--red); color: #fff; font-size: 11px; }
.ba-w-source:nth-of-type(2) { animation-delay: .8s; }
.ba-w-source em { margin-inline-start: auto; font-style: normal; color: var(--red-ink); font-size: 12px; white-space: nowrap; }
@keyframes ba-w-sup { 0%, 18% { opacity: 0; transform: scale(.4); } 24%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ba-w-source { 0%, 26% { opacity: 0; transform: translateX(14px); } 34%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- 6. Images et PDF : les fichiers entrent, la réponse sort ---------- */
.ba-f-scene { max-width: 480px; margin: 0 auto; display: grid; gap: 12px; }
.ba-f-fichiers { display: flex; justify-content: center; gap: 14px; height: 70px; }
.ba-f-doc { position: relative; width: 50px; height: 64px; border-radius: 8px 16px 8px 8px; background: #fff; border: 2.5px solid var(--red); display: grid; place-items: end center; padding-bottom: 7px; font-size: 11px; font-weight: 800; color: var(--red-ink); animation: ba-f-tombe 8s cubic-bezier(.5,0,.5,1) infinite; }
.ba-f-doc + .ba-f-doc { animation-delay: .6s; }
.ba-f-doc::before { content: ""; position: absolute; left: 9px; right: 9px; top: 12px; height: 18px; background: repeating-linear-gradient(var(--veil-2) 0 3px, transparent 3px 7px); }
.ba-f-barre { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; border: 2px solid var(--red); background: #fff; font-size: 14.5px; color: var(--ink-soft); }
.ba-f-barre svg { flex: none; color: var(--red); }
.ba-f-rep { opacity: 0; animation: ba-f-rep 8s infinite; }
.ba-f-rep b { color: var(--red-ink); }
@keyframes ba-f-tombe { 0% { transform: translateY(-14px); opacity: 0; } 8%, 26% { transform: none; opacity: 1; } 40% { transform: translateY(70px) scale(.5); opacity: 0; } 100% { transform: translateY(70px) scale(.5); opacity: 0; } }
@keyframes ba-f-rep { 0%, 44% { opacity: 0; transform: translateY(8px); } 52%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- 7. Drive : d'un ordinateur à l'autre, par un dossier privé ---------- */
.ba-s-scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 8px; direction: ltr; }
.ba-s-ordi { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-weight: 700; font-size: 13.5px; color: var(--red); }
.ba-s-ordi span { color: var(--ink); }
.ba-s-ordi svg { padding: 11px; border-radius: 16px; background: var(--veil); box-sizing: content-box; }
.ba-s-fil { position: relative; height: 96px; }
.ba-s-fil::before { content: ""; position: absolute; left: 0; right: 0; top: 70px; border-top: 3px dashed var(--red); opacity: .4; }
.ba-s-nuage { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; color: var(--red-ink); text-align: center; white-space: nowrap; }
.ba-s-nuage svg { color: var(--red); }
.ba-s-bulle { position: absolute; top: 61px; left: 0; width: 22px; height: 18px; border-radius: 7px 7px 7px 2px; background: var(--red); animation: ba-s-va 4.5s cubic-bezier(.5,0,.5,1) infinite; }
.ba-s-export { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1.5px solid var(--veil-2); }
.ba-s-export .ba-chip { animation: ba-s-pulse 4.5s infinite; }
.ba-s-export .ba-chip + .ba-chip { animation-delay: .5s; }
@keyframes ba-s-va { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 40%, 52% { left: 50%; transform: translateY(-34px) scale(.8); } 92% { left: 100%; opacity: 1; transform: none; } 100% { left: 100%; opacity: 0; } }
@keyframes ba-s-pulse { 0%, 60% { background: var(--veil); color: var(--ink); } 68%, 86% { background: var(--red); color: #fff; } 94%, 100% { background: var(--veil); color: var(--ink); } }

/* ---------- 8. Personnages : la même question, six réponses ---------- */
.ba-p-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 14px; }
.ba-p-chips .ba-chip { animation: ba-p-on 12s infinite; }
.ba-p-q { margin: 0 0 10px; text-align: center; font-weight: 700; }
.ba-p-reps { display: grid; }
.ba-p-reps p { grid-area: 1 / 1; margin: 0; opacity: 0; animation: ba-p-rep 12s infinite; }
.ba-p-1 { animation-delay: 0s !important; } .ba-p-2 { animation-delay: 2s !important; } .ba-p-3 { animation-delay: 4s !important; }
.ba-p-4 { animation-delay: 6s !important; } .ba-p-5 { animation-delay: 8s !important; } .ba-p-6 { animation-delay: 10s !important; }
.ba-p-reps code { background: none; padding: 0; font-weight: 700; color: var(--red-ink); }
@keyframes ba-p-on { 0%, 15.5% { background: var(--red); color: #fff; border-color: var(--red); } 17%, 100% { background: var(--veil); color: var(--ink); border-color: var(--veil-2); } }
@keyframes ba-p-rep { 0% { opacity: 0; transform: translateY(6px); } 2%, 15% { opacity: 1; transform: none; } 16.6%, 100% { opacity: 0; } }

/* ---------- Petits écrans ---------- */
@media (max-width: 520px) {
  .ba-l-ecran { width: 86px; height: 60px; }
  .ba-l-ordi, .ba-l-net, .ba-s-ordi { font-size: 12px; }
  .ba-d-etapes { grid-template-columns: minmax(0, 1fr); }
  .ba-w-scene { grid-template-columns: minmax(0, 1fr); }
  .ba-s-nuage { white-space: normal; font-size: 11px; }
}

/* ---------- Animations réduites : une image fixe et lisible ---------- */
@media (prefers-reduced-motion: reduce) {
  .b-anim *, .b-anim *::before, .b-anim *::after { animation: none !important; }
  .ba-l-paquet { left: 40%; } .ba-l-orbite { transform: translateX(44px); }
  .ba-m-noms b:first-child, .ba-p-reps p:first-child, .ba-c-consigne, .ba-w-rep sup, .ba-w-source, .ba-f-rep, .ba-d-pret { opacity: 1; }
  .ba-m-n1, .ba-p-chips .ba-chip:first-child { background: var(--red); color: #fff; }
  .ba-d-barre i { width: 100%; }
  .ba-c-tape, .ba-c-curseur, .ba-c-liste { display: none; }
  .ba-c-consigne { position: static; }
  .ba-s-bulle { left: 50%; transform: translateY(-34px) scale(.8); }
  .ba-f-doc { opacity: 1; }
}

/* ---------- 9. Touches utiles : PC d'un côté, Mac de l'autre ---------- */
.ba-k-tetes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-bottom: 12px; direction: ltr; }
.ba-k-tetes span { text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 6px; border-bottom: 1.5px solid var(--veil-2); }
.ba-k-scene { display: grid; min-height: 116px; }
.ba-k-combo { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; row-gap: 14px; opacity: 0; animation: ba-k-vue 12.5s infinite; direction: ltr; }
.ba-k-touches { display: flex; align-items: center; justify-content: center; gap: 8px; }
.ba-k-touches kbd { display: inline-grid; place-items: center; min-width: 52px; height: 54px; padding: 0 12px; border-radius: 14px; background: #fff; border: 2px solid var(--veil-2); border-bottom-width: 6px; font: 800 18px/1 var(--font); color: var(--ink); white-space: nowrap; animation: ba-k-appui 12.5s infinite; animation-delay: inherit; }
.ba-k-touches span { font-weight: 800; color: var(--ink-soft); }
.ba-k-effet { grid-column: 1 / -1; font-weight: 700; font-size: 15px; color: var(--red-ink); text-align: center; }
.ba-k-c1 { animation-delay: 0s; } .ba-k-c2 { animation-delay: 2.5s; } .ba-k-c3 { animation-delay: 5s; } .ba-k-c4 { animation-delay: 7.5s; } .ba-k-c5 { animation-delay: 10s; }
@keyframes ba-k-vue { 0% { opacity: 0; transform: translateY(8px); } 2%, 18% { opacity: 1; transform: none; } 20%, 100% { opacity: 0; } }
@keyframes ba-k-appui { 0%, 5% { transform: none; border-bottom-width: 6px; background: #fff; color: var(--ink); } 7%, 13% { transform: translateY(4px); border-bottom-width: 2px; background: var(--red); color: #fff; border-color: var(--red-ink); } 16%, 100% { transform: none; border-bottom-width: 6px; background: #fff; color: var(--ink); } }
@media (max-width: 520px) { .ba-k-touches { gap: 4px; } .ba-k-touches kbd { min-width: 38px; height: 44px; font-size: 14px; padding: 0 8px; border-radius: 10px; } }
@media (prefers-reduced-motion: reduce) { .ba-k-scene { gap: 18px; } .ba-k-combo { grid-area: auto; opacity: 1; } }
.ba-k-tactile { margin: 16px 0 0; padding-top: 12px; border-top: 1.5px solid var(--veil-2); text-align: center; font-size: 14px; color: var(--ink-soft); }
.ba-k-tactile b { color: var(--ink); }

/* ---------- Série « Réglage par réglage » : un panneau de paramètres miniature ---------- */
.ba-r-panneau { max-width: 420px; margin: 0 auto; border-radius: 18px; background: #fff; border: 1.5px solid var(--veil-2); box-shadow: 0 14px 30px -20px rgba(162,36,26,.45); overflow: hidden; }
.ba-r-tete { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--red); color: #fff; font-weight: 800; font-size: 14px; }
.ba-r-tete svg { flex: none; }
.ba-r-corps { padding: 14px; display: grid; gap: 14px; }
.ba-r-ligne { display: grid; gap: 6px; }
.ba-r-ligne > span:first-child { font-size: 12.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-soft); }
.ba-r-ligne.ba-r-actif > span:first-child { color: var(--red-ink); }
.ba-r-ligne.ba-r-actif { padding: 8px 10px; margin: -8px -10px; border-radius: 12px; background: var(--veil); }
/* interrupteur */
.ba-r-inter { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14.5px; font-weight: 600; }
.ba-r-inter i { position: relative; flex: none; width: 44px; height: 24px; border-radius: 12px; background: #d9c3c0; animation: ba-r-fond 5s infinite; }
.ba-r-inter i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); animation: ba-r-bille 5s infinite; }
@keyframes ba-r-fond { 0%, 30% { background: #d9c3c0; } 38%, 88% { background: var(--red); } 96%, 100% { background: #d9c3c0; } }
@keyframes ba-r-bille { 0%, 30% { transform: none; } 38%, 88% { transform: translateX(20px); } 96%, 100% { transform: none; } }
/* curseur */
.ba-r-curseur { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.ba-r-piste { position: relative; flex: 1; height: 6px; border-radius: 3px; background: var(--veil-2); }
.ba-r-piste i { position: absolute; top: 50%; left: 70%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(226,60,46,.18); animation: ba-r-glisse 6s ease-in-out infinite; }
.ba-r-piste b { position: absolute; left: 0; top: 0; bottom: 0; width: 70%; border-radius: 3px; background: var(--red); animation: ba-r-remplit 6s ease-in-out infinite; }
.ba-r-val { display: inline-grid; min-width: 44px; text-align: center; color: var(--red-ink); }
.ba-r-val b { grid-area: 1 / 1; opacity: 0; animation: ba-r-val3 6s infinite; font-weight: 800; }
.ba-r-val b:nth-child(2) { animation-delay: 2s; } .ba-r-val b:nth-child(3) { animation-delay: 4s; }
@keyframes ba-r-glisse { 0%, 26% { left: 70%; } 34%, 59% { left: 15%; } 67%, 92% { left: 95%; } 100% { left: 70%; } }
@keyframes ba-r-remplit { 0%, 26% { width: 70%; } 34%, 59% { width: 15%; } 67%, 92% { width: 95%; } 100% { width: 70%; } }
@keyframes ba-r-val3 { 0% { opacity: 0; } 3%, 31% { opacity: 1; } 34%, 100% { opacity: 0; } }
/* liste déroulante qui change de valeur */
.ba-r-select { position: relative; display: grid; padding: 9px 36px 9px 12px; border-radius: 12px; border: 2px solid var(--red); background: #fff; font-size: 14.5px; font-weight: 600; }
.ba-r-select::after { content: "▾"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--red); }
.ba-r-select b { grid-area: 1 / 1; font-weight: 600; opacity: 0; animation: ba-r-opt 12s infinite; }
.ba-r-select b:nth-child(2) { animation-delay: 3s; } .ba-r-select b:nth-child(3) { animation-delay: 6s; } .ba-r-select b:nth-child(4) { animation-delay: 9s; }
@keyframes ba-r-opt { 0% { opacity: 0; transform: translateY(6px); } 2%, 23% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; } }
/* pastilles de couleur */
.ba-r-pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.ba-r-pastilles i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); animation: ba-r-anneau 9s infinite; }
@keyframes ba-r-anneau { 0%, 10% { box-shadow: 0 0 0 3px #fff, 0 0 0 5.5px var(--c); transform: scale(1.08); } 11.1%, 100% { box-shadow: none; transform: none; } }
.ba-r-apercu { height: 10px; border-radius: 5px; animation: ba-r-teinte 9s steps(1) infinite; }
@keyframes ba-r-teinte { 0% { background: #ea4335; } 11.1% { background: #1a73e8; } 22.2% { background: #7c4dff; } 33.3% { background: #00897b; } 44.4% { background: #e91e8c; } 55.5% { background: #f4511e; } 66.6% { background: #3949ab; } 77.7% { background: #0097a7; } 88.8% { background: #f9a825; } }
/* boutons, favoris, notification */
.ba-r-boutons { display: flex; flex-wrap: wrap; gap: 6px; }
.ba-r-boutons span { padding: 6px 10px; border-radius: 999px; border: 1.5px solid var(--veil-2); background: var(--veil); font-size: 13px; font-weight: 700; animation: ba-r-presse 6s infinite; }
.ba-r-boutons span:nth-child(2) { animation-delay: 2s; } .ba-r-boutons span:nth-child(3) { animation-delay: 4s; }
@keyframes ba-r-presse { 0%, 4% { background: var(--veil); color: var(--ink); } 8%, 26% { background: var(--red); color: #fff; border-color: var(--red); } 30%, 100% { background: var(--veil); color: var(--ink); } }
.ba-r-notif { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 13.5px; opacity: 0; animation: ba-r-notif 5s infinite; }
.ba-r-notif img { flex: none; border-radius: 6px; }
@keyframes ba-r-notif { 0%, 44% { opacity: 0; transform: translateY(10px); } 52%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
.ba-r-touches { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ba-r-touches kbd { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; border: 2px solid var(--veil-2); border-bottom-width: 5px; background: #fff; font: 800 15px/1 var(--font); }
.ba-r-touches .ba-r-crayon { margin-inline-start: auto; padding: 6px 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; animation: ba-r-presse 6s infinite 1s; }
.ba-r-corbeille { display: flex; flex-wrap: wrap; gap: 8px; }
.ba-r-corbeille span { padding: 7px 11px; border-radius: 12px; border: 1.5px dashed var(--red); color: var(--red-ink); font-size: 13px; font-weight: 700; background: #fff; }
.ba-r-sombre { display: flex; gap: 10px; }
.ba-r-sombre span { flex: 1; height: 54px; border-radius: 12px; border: 1.5px solid var(--veil-2); padding: 8px; display: grid; gap: 5px; align-content: start; animation: ba-r-theme 6s infinite; }
.ba-r-sombre span i { height: 6px; border-radius: 3px; background: currentColor; opacity: .5; }
.ba-r-sombre span i:first-child { width: 60%; background: var(--red); opacity: 1; }
@keyframes ba-r-theme { 0%, 42% { background: #fff; color: var(--ink); } 50%, 92% { background: #1f1716; color: #f3e6e4; } 100% { background: #fff; color: var(--ink); } }
@media (prefers-reduced-motion: reduce) { .ba-r-val b:first-child, .ba-r-select b:first-child, .ba-r-notif { opacity: 1; } }

