/* La question de fin des modules du Cercle (hetadam-boussole 1.3.0, 01/11/2026) : les styles .qf et .bb de
   hetadam-travail 1.1.13 (base.css), avec leurs couleurs ; « body » devant pour passer avant les styles de chaque page,
   claire ou sombre (currentColor). */
body .qf { margin: 0 auto 1.4rem; max-width: 560px; width: 100%; padding: 16px 18px; border: 1px solid rgba(128,128,128,.35); border-radius: 10px; background: rgba(128,128,128,.07); text-align: left; color: inherit; }
body .qf p.qf-q { font-family: var(--display, Georgia, serif); font-style: normal; font-size: 19px; line-height: 1.35; max-width: none; margin: 0 0 10px; color: inherit; }
body .qf .qf-choix { display: flex; flex-wrap: wrap; gap: 8px; }
body .qf p.qf-doux { font-family: var(--body, system-ui, sans-serif); font-style: normal; font-variation-settings: normal; font-size: 13px; line-height: 1.45; max-width: none; opacity: .75; margin: 10px 0 0; color: inherit; }
body .qf-b { font-family: var(--body, system-ui, sans-serif); font-size: 15px; line-height: 1.2; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(201,162,74,.75); background: transparent; color: inherit; cursor: pointer; }
body .qf-b:hover, body .qf-b:focus-visible { background: rgba(201,162,74,.18); }

body .bb { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 0 auto 1.4rem; max-width: 560px; width: 100%; padding: 16px 18px; border: 1px solid rgba(201,162,74,.55); border-radius: 10px; background: rgba(128,128,128,.07); text-align: left; color: inherit; animation: bb-apparaitre .6s ease both; }
body .bb-dessin { width: 150px; height: 150px; flex: 0 0 150px; overflow: visible; }
body .bb-guide { fill: none; stroke: currentColor; stroke-opacity: .25; stroke-width: 2; }
body .bb-forme { fill: #C9A24A; fill-opacity: .16; stroke: #C9A24A; stroke-opacity: .5; stroke-width: 2; }
body .bb-dir { fill: none; stroke: #C9A24A; stroke-width: 9; stroke-linecap: round; }
body .bb-dir2 { stroke-opacity: .5; stroke-width: 6; }
body .bb-case { fill: currentColor; fill-opacity: .08; stroke: currentColor; stroke-opacity: .3; stroke-width: 1.5; }
body .bb-autre { fill: #7E9489; fill-opacity: .8; }
body .bb-part { fill: #C9A24A; }
body .bb:not(.ferme) .bb-part { animation: bb-battre 1.1s ease-in-out .5s 3; }
body .bb-centre { fill: currentColor; fill-opacity: .06; stroke: currentColor; stroke-opacity: .25; }
body .bb-centre.bb-nuit { fill: #C9A24A; fill-opacity: .22; stroke: #C9A24A; stroke-opacity: .6; }
body .bb-txt { flex: 1 1 220px; }
body .bb .bb-txt p { font-family: var(--body, system-ui, sans-serif); font-style: normal; font-variation-settings: normal; max-width: none; margin: 0 0 6px; color: inherit; font-size: 15px; line-height: 1.45; }
body .bb .bb-txt p.bb-titre { font-family: var(--display, Georgia, serif); font-size: 19px; margin-bottom: 6px; }
body .bb .bb-txt p.bb-dir-txt { font-size: 13px; opacity: .75; }
body .bb .bb-txt p.bb-dir-txt:empty { display: none; }
body .bb-txt a.bb-lien { color: inherit; font-size: 15px; }
body .bb .bb-ouvrir { margin-top: 4px; }
body .bb.ferme { border-color: rgba(128,128,128,.35); }
body .bb.ferme .bb-dessin, body .bb.ferme .bb-titre, body .bb.ferme .bb-dir-txt, body .bb.ferme a.bb-lien, body .bb.ferme .bb-def { display: none; }
body .bb:not(.ferme) .bb-dessin { animation: bb-apparaitre .6s ease both; }
@keyframes bb-apparaitre { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bb-battre { 50% { fill-opacity: .45; } }
/* Sur un téléphone, le dessin à côté du texte, plus petit : tout tient sur un écran. */
@media (max-width: 480px) { body .bb { flex-wrap: nowrap; align-items: flex-start; gap: 12px; padding: 14px; } body .bb .bb-dessin { width: 104px; height: 104px; flex-basis: 104px; } body .bb .bb-txt p { font-size: 14px; } body .bb .bb-txt p.bb-titre { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { body .bb, body .bb .bb-dessin, body .bb:not(.ferme) .bb-part { animation: none; } }
