/* Simulae · accueil, variante B (accueil-b.html) : le rituel guidé.
   Complète site.css (mêmes jetons, mêmes polices) ; préfixe .rb-. Mobile d'abord.
   Ambiance : pénombre, halo de bougie qui vacille (opacité seule), poussière lumineuse (canvas, rituel.js).
   prefers-reduced-motion : plus de vacillement ni de déplacements, seulement des fondus courts. */

body.rb-corps { background: var(--nuit-3); }
html.rb-ouvert, html.rb-ouvert body { overflow: hidden; }
html.rb-ouvert [data-rb-hors] { visibility: hidden; }

.rb {
    --rb-or: #E6C68A;                        /* lumière de bougie, texte sur fond sombre */
    --rb-trait: rgba(200, 161, 90, .38);
    --rb-verre: rgba(241, 236, 228, .06);
    --rb-erreur: #F2B8A8;
    --rb-dos: #1A2827;
    --rb-face: #FBF6EC;
    --rb-lent: .9s;
}
.rb.vy-lp { background: transparent; position: relative; z-index: 1; }
.rb [hidden] { display: none !important; }
.rb :where(form, fieldset, dl, dd, output) { margin: 0; padding: 0; border: 0; }

/* ---------- Ambiance (derrière tout) ---------- */
.rb-poussiere { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.rb-halo {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(70vmax 50vmax at 50% 16%, rgba(214, 168, 92, .22), rgba(214, 168, 92, 0) 62%),
        radial-gradient(60vmax 40vmax at 50% 104%, rgba(196, 116, 58, .14), rgba(196, 116, 58, 0) 64%),
        radial-gradient(140vmax 100vmax at 50% 45%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .5));
    animation: rb-bougie 6.5s ease-in-out infinite;
}
@keyframes rb-bougie {
    0%, 100% { opacity: .9; } 14% { opacity: 1; } 19% { opacity: .82; } 33% { opacity: .96; }
    51% { opacity: .87; } 58% { opacity: 1; } 76% { opacity: .9; } 84% { opacity: .97; }
}

/* ---------- En-tête ---------- */
.rb-top { display: flex; justify-content: space-between; align-items: center; padding-block: 12px; }
.rb-logo { height: 34px; }
.rb-son {
    flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid var(--rb-trait); background: rgba(20, 33, 32, .55); color: var(--doux);
    cursor: pointer; transition: color .4s, border-color .4s, box-shadow .4s;
}
.rb-son:hover { color: var(--clair); border-color: var(--laiton); }
.rb-son[aria-pressed="true"] { color: var(--laiton); border-color: var(--laiton); box-shadow: 0 0 22px rgba(214, 168, 92, .35); }
.rb-son .rb-son__on { display: none; }
.rb-son[aria-pressed="true"] .rb-son__on { display: block; }
.rb-son[aria-pressed="true"] .rb-son__off { display: none; }
.rb-son:focus-visible { border-radius: 50%; }

/* ---------- Seuil : accroche et six sujets ---------- */
.rb-seuil {
    min-height: calc(100svh - 68px); display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 12px; padding-block: 4px 40px;
}
.rb-seuil h1 {
    font-size: clamp(29px, 7.8vw, 66px); line-height: 1.04; max-width: 14em;
    text-shadow: 0 0 42px rgba(230, 198, 138, .28); animation: rb-apparait 1.4s ease backwards;
}
.rb-seuil__intro { font-size: 15px; line-height: 1.5; color: var(--doux); max-width: 34em; animation: rb-apparait 1.4s .25s ease backwards; }
.rb-label { margin-top: 6px; font-family: var(--serif); font-size: 21px; line-height: 1.2; color: var(--rb-or); animation: rb-apparait 1.4s .45s ease backwards; }
.rb-sujets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 760px; }
.rb-sujet {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0;
    padding: 12px 8px 12px; border-radius: 16px; border: 1px solid var(--rb-trait); color: var(--clair);
    background: linear-gradient(180deg, rgba(241, 236, 228, .08), rgba(241, 236, 228, .02));
    cursor: pointer; text-align: center; animation: rb-apparait 1.2s ease backwards;
    transition: transform .5s ease, border-color .5s, box-shadow .5s, background .5s;
}
.rb-sujet:nth-child(2) { animation-delay: .55s; } .rb-sujet:nth-child(1) { animation-delay: .5s; }
.rb-sujet:nth-child(3) { animation-delay: .6s; } .rb-sujet:nth-child(4) { animation-delay: .65s; }
.rb-sujet:nth-child(5) { animation-delay: .7s; } .rb-sujet:nth-child(6) { animation-delay: .75s; }
.rb-sujet:hover, .rb-sujet:focus-visible {
    border-color: var(--laiton); background: rgba(200, 161, 90, .12); transform: translateY(-2px);
    box-shadow: 0 0 0 1px var(--laiton), 0 14px 40px -12px rgba(230, 198, 138, .5);
}
.rb-sujet:focus-visible { border-radius: 16px; }
.rb-sujet.est-suggere { border-color: var(--laiton); background: rgba(200, 161, 90, .14); box-shadow: 0 0 30px -6px rgba(230, 198, 138, .45); }
.rb-sujet__camee { width: 46px; filter: drop-shadow(0 0 12px rgba(230, 198, 138, .35)); }
.rb-sujet__nom { font-size: 15px; font-weight: 600; line-height: 1.2; }
.rb-sujet__qui { font-size: 12px; line-height: 1.3; color: var(--doux); }
.rb-commencer { margin-top: 4px; animation: rb-apparait 1.2s .8s ease backwards; }
.rb-seuil__ia { max-width: 36em; margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--doux); }
.rb-seuil__ia strong { font-weight: 600; color: var(--clair); }

/* ---------- Sections du dessous (opaques, l'ambiance reste en haut) ---------- */
.rb-sections { position: relative; background: var(--nuit); }
.rb-pied-fond { position: relative; }

/* ---------- La séance (plein écran) ---------- */
.rb-seance {
    position: fixed; inset: 0; z-index: 40; overflow-y: auto; overscroll-behavior: contain; color: var(--clair);
    background:
        radial-gradient(90vmax 60vmax at 50% 8%, rgba(214, 168, 92, .2), rgba(214, 168, 92, 0) 58%),
        radial-gradient(120vmax 90vmax at 50% 50%, rgba(10, 16, 16, 0) 40%, rgba(5, 9, 9, .7)),
        rgba(15, 24, 23, .55);
    animation: rb-fondu var(--rb-lent) ease backwards;
}
.rb-seance__haut {
    position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 14px; background: linear-gradient(rgba(15, 24, 23, .95) 60%, rgba(15, 24, 23, 0));
}
.rb-quitter {
    flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px 0 6px;
    border: 0; background: none; color: var(--doux); font-size: 14px; cursor: pointer;
}
.rb-quitter:hover { color: var(--clair); }
.rb-progres { display: flex; gap: 6px; align-items: center; }
.rb-progres li { width: 7px; height: 7px; border-radius: 50%; background: rgba(241, 236, 228, .18); transition: background .6s, transform .6s, box-shadow .6s; }
.rb-progres li.est-fait { background: var(--laiton); }
.rb-progres li.est-actif { background: var(--rb-or); transform: scale(1.35); box-shadow: 0 0 10px rgba(230, 198, 138, .7); }

.rb-seance__corps {
    width: 100%; max-width: 640px; min-height: calc(100svh - 64px); margin: 0 auto; padding: 0 20px 28px;
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
}
.rb-voyant { display: flex; flex-direction: column; align-items: center; gap: 4px; transition: gap var(--rb-lent); }
.rb-voyant__camee { position: relative; width: 92px; transition: width var(--rb-lent) ease; }
.rb-voyant__camee::before {
    content: ""; position: absolute; inset: -38%; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(230, 198, 138, .42), rgba(230, 198, 138, 0));
    animation: rb-souffle 4.8s ease-in-out infinite;
}
@keyframes rb-souffle { 0%, 100% { opacity: .65; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.05); } }
.rb-voyant__nom { margin-top: 6px !important; font-size: 32px; line-height: 1.05; transition: font-size var(--rb-lent) ease; }
.rb-voyant__nom:focus { outline: none; }
.rb-voyant__methode { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--rb-or); }
.rb-voyant__ia { font-size: 12px; line-height: 1.4; color: var(--doux); }
.rb-voyant__ia strong { font-weight: 600; color: var(--clair); }
/* Pendant le rituel : le voyant reste présent, en plus petit */
.rb-seance.est-compacte .rb-voyant__camee { width: 58px; }
.rb-seance.est-compacte .rb-voyant__nom { font-size: 24px; }

.rb-recit { min-height: 84px; display: flex; flex-direction: column; justify-content: center; gap: 6px; max-width: 26em; }
.rb-ligne { font-family: var(--serif); font-size: 21px; line-height: 1.32; color: var(--clair); animation: rb-apparait 1.2s ease backwards; }
.rb-ligne + .rb-ligne { color: #E9E2D6; }
.rb-ligne.est-passee { animation: rb-disparait .35s ease forwards; }
.rb-geste { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rb-geste > * { animation: rb-apparait 1s ease backwards; }
.rb-aide { font-size: 14px; line-height: 1.4; color: var(--doux); min-height: 1.4em; }
.rb-seance__mention { margin-top: auto !important; padding-top: 10px; max-width: 34em; font-size: 11.5px; line-height: 1.5; color: var(--doux); opacity: .85; }

@keyframes rb-apparait { from { opacity: 0; transform: translateY(8px); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rb-disparait { to { opacity: 0; transform: translateY(-6px); filter: blur(4px); } }
@keyframes rb-fondu { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Champs (prénom, intention, date) ---------- */
.rb-champ { width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: left; }
.rb-champ__label { font-size: 14px; font-weight: 600; color: var(--rb-or); text-align: center; }
.rb-champ__aide { font-size: 13px; color: var(--doux); text-align: center; }
.rb-champ input, .rb-champ textarea {
    display: block; width: 100%; min-height: 54px; margin: 0; padding: 13px 16px; border-radius: 14px;
    border: 1px solid var(--rb-trait); background: rgba(241, 236, 228, .07); color: var(--clair);
    font: inherit; font-size: 18px; line-height: 1.35; text-align: center; -webkit-appearance: none; appearance: none;
    transition: border-color .4s, box-shadow .4s, background .4s;
}
.rb-champ textarea { min-height: 84px; resize: none; overflow: hidden; text-align: left; }
.rb-champ input::placeholder, .rb-champ textarea::placeholder { color: #9AA8A3; opacity: 1; }
.rb-champ input:focus, .rb-champ textarea:focus,
.rb-champ input:focus-visible, .rb-champ textarea:focus-visible {
    outline: 2px solid transparent; border-radius: 14px; border-color: var(--laiton);
    background: rgba(241, 236, 228, .1); box-shadow: 0 0 0 3px rgba(200, 161, 90, .3), 0 0 30px -6px rgba(230, 198, 138, .45);
}
.rb-champ [aria-invalid="true"] { border-color: var(--rb-erreur); }
.rb-compteur { align-self: flex-end; margin-top: -4px; font-size: 12px; color: var(--doux); font-variant-numeric: tabular-nums; }
.rb-err { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--rb-erreur); text-align: center; }
.rb-champ__btn { width: 100%; margin-top: 4px; }
.rb .vy-btn:focus-visible { border-radius: 999px; }
.rb .vy-btn:disabled, .rb .vy-btn[aria-disabled="true"] { opacity: .45; cursor: default; filter: none; }

/* ---------- Cartes : dos et face ---------- */
.rb-dos, .rb-face {
    position: relative; display: block; width: 100%; height: 100%; border-radius: 9px; overflow: hidden;
}
.rb-dos {
    background:
        radial-gradient(circle at 50% 50%, rgba(230, 198, 138, .18), rgba(230, 198, 138, 0) 46%),
        repeating-linear-gradient(45deg, rgba(230, 198, 138, .1) 0 1.5px, transparent 1.5px 7px),
        repeating-linear-gradient(-45deg, rgba(230, 198, 138, .07) 0 1.5px, transparent 1.5px 7px),
        var(--rb-dos);
    border: 1.5px solid var(--laiton); box-shadow: inset 0 0 0 3px var(--rb-dos), inset 0 0 0 4px rgba(200, 161, 90, .55);
}
.rb-dos::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(45deg);
    border: 1px solid rgba(230, 198, 138, .6); border-radius: 3px;
}
.rb-face {
    display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 8px 4px 9px;
    background: var(--rb-face); color: var(--encre); border: 1.5px solid #2A2420; box-shadow: inset 0 0 0 3px var(--rb-face), inset 0 0 0 4px #2A2420;
}
.rb-face__num { font-family: var(--serif); font-size: 13px; min-height: 15px; }
.rb-face__ico { color: var(--laiton-fonce); }
.rb-face__nom { font-family: var(--serif); font-size: 11px; line-height: 1.1; text-align: center; padding-inline: 2px; overflow-wrap: anywhere; hyphens: auto; }

/* ---------- Le paquet : mélanger en maintenant appuyé ---------- */
.rb-melange { position: relative; width: 210px; height: 210px; display: flex; align-items: center; justify-content: center; }
.rb-anneau { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.rb-anneau circle { fill: none; stroke-width: 3; }
.rb-anneau__fond { stroke: rgba(241, 236, 228, .12); }
.rb-anneau__plein { stroke: var(--laiton); stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(230, 198, 138, .7)); }
.rb-paquet {
    position: relative; width: 96px; height: 152px; padding: 0; border: 0; background: none; cursor: grab; border-radius: 10px;
    touch-action: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none;
}
.rb-paquet:focus-visible { border-radius: 10px; }
.rb-paquet .rb-dos { position: absolute; inset: 0; transition: transform .25s ease; }
.rb-paquet .rb-dos:nth-child(1) { transform: translate(-5px, 4px) rotate(-3deg); }
.rb-paquet .rb-dos:nth-child(2) { transform: translate(-3px, 2px) rotate(-1.5deg); }
.rb-paquet .rb-dos:nth-child(4) { transform: translate(3px, -2px) rotate(1.5deg); }
.rb-paquet .rb-dos:nth-child(5) { transform: translate(5px, -4px) rotate(3deg); }
.rb-paquet .rb-dos:nth-child(6) { transform: translate(6px, -6px) rotate(4deg); }
.rb-paquet.est-melange { cursor: grabbing; }
.rb-paquet.est-melange .rb-dos:nth-child(odd) { animation: rb-melange-a .42s ease-in-out infinite; }
.rb-paquet.est-melange .rb-dos:nth-child(even) { animation: rb-melange-b .42s ease-in-out infinite; }
.rb-paquet.est-melange .rb-dos:nth-child(3) { animation-delay: -.2s; }
.rb-paquet.est-pret .rb-dos { box-shadow: inset 0 0 0 3px var(--rb-dos), inset 0 0 0 4px rgba(200, 161, 90, .55), 0 0 26px rgba(230, 198, 138, .55); }
@keyframes rb-melange-a { 0%, 100% { transform: translate(-34px, 3px) rotate(-11deg); } 50% { transform: translate(30px, -5px) rotate(9deg); } }
@keyframes rb-melange-b { 0%, 100% { transform: translate(32px, -3px) rotate(10deg); } 50% { transform: translate(-28px, 5px) rotate(-8deg); } }

/* ---------- Couper en trois tas ---------- */
.rb-tas-rangee { display: flex; gap: 18px; justify-content: center; }
.rb-tas { position: relative; width: 78px; height: 124px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 10px; animation: rb-tas-sort .7s ease backwards; }
.rb-tas--0 { animation-name: rb-tas-gauche; } .rb-tas--2 { animation-name: rb-tas-droite; }
.rb-tas .rb-dos { position: absolute; inset: 0; }
.rb-tas .rb-dos:nth-child(2) { transform: translate(2px, -3px); } .rb-tas .rb-dos:nth-child(3) { transform: translate(4px, -6px); }
.rb-tas:hover .rb-dos:last-child, .rb-tas:focus-visible .rb-dos:last-child { box-shadow: inset 0 0 0 3px var(--rb-dos), inset 0 0 0 4px rgba(200, 161, 90, .55), 0 0 22px rgba(230, 198, 138, .55); }
.rb-tas:focus-visible { border-radius: 10px; }
.rb-tas.est-choisi { transform: translateY(-14px); }
.rb-tas-rangee.est-regroupe .rb-tas { transition: transform .8s ease, opacity .8s; }
.rb-tas-rangee.est-regroupe .rb-tas--0 { transform: translateX(96px); opacity: .0; }
.rb-tas-rangee.est-regroupe .rb-tas--2 { transform: translateX(-96px); opacity: .0; }
.rb-tas-rangee.est-regroupe .rb-tas.est-choisi { opacity: 1; transform: translateY(-14px) scale(1.06); }
@keyframes rb-tas-gauche { from { transform: translateX(96px); } to { transform: none; } }
@keyframes rb-tas-droite { from { transform: translateX(-96px); } to { transform: none; } }
@keyframes rb-tas-sort { from { opacity: .4; } to { opacity: 1; } }

/* ---------- L'éventail (tarot) ---------- */
.rb-eventail {
    position: relative; width: 100%; max-width: 380px; height: 166px; margin-bottom: 4px; touch-action: none;
    -webkit-user-select: none; user-select: none; transition: opacity .8s ease, transform .8s ease;
}
.rb-eventail__carte {
    position: absolute; left: 50%; bottom: 54px; width: 54px; height: 88px; margin-left: -27px; padding: 0; border: 0;
    background: none; cursor: pointer; border-radius: 9px; transform-origin: 50% 260%;
    transform: rotate(var(--a)) translateY(0); transition: transform .3s ease, opacity .5s ease;
    animation: rb-ouvre .9s calc(var(--i) * 18ms) ease backwards;
}
.rb-eventail__carte .rb-dos { box-shadow: inset 0 0 0 3px var(--rb-dos), inset 0 0 0 4px rgba(200, 161, 90, .55), -2px 2px 6px rgba(0, 0, 0, .45); }
.rb-eventail__carte.est-survolee { transform: rotate(var(--a)) translateY(-20px); }
.rb-eventail__carte.est-survolee .rb-dos { box-shadow: inset 0 0 0 3px var(--rb-dos), inset 0 0 0 4px rgba(200, 161, 90, .7), 0 0 22px rgba(230, 198, 138, .65); }
.rb-eventail__carte:focus-visible { outline-offset: 2px; border-radius: 9px; }
.rb-eventail__carte.est-prise { transform: rotate(var(--a)) translateY(-90px) scale(.6); opacity: 0; pointer-events: none; }
.rb-eventail.est-ferme { opacity: 0; transform: translateY(18px); }
@keyframes rb-ouvre { from { transform: rotate(0deg) translateY(0); opacity: 0; } to { transform: rotate(var(--a)) translateY(0); opacity: 1; } }

/* ---------- L'étalage (Lenormand, 36 cartes) ---------- */
.rb-etalage { display: grid; grid-template-columns: repeat(9, 34px); gap: 6px 5px; justify-content: center; transition: opacity .8s ease; }
.rb-etalage__carte {
    width: 34px; height: 50px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 6px;
    transform: rotate(var(--r, 0deg)); transition: transform .3s ease, opacity .5s; animation: rb-pose .6s calc(var(--i) * 14ms) ease backwards;
}
.rb-etalage__carte .rb-dos { border-radius: 6px; border-width: 1px; box-shadow: inset 0 0 0 2px var(--rb-dos), inset 0 0 0 3px rgba(200, 161, 90, .45); }
.rb-etalage__carte .rb-dos::after { width: 40%; }
.rb-etalage__carte:hover, .rb-etalage__carte:focus-visible { transform: translateY(-5px) rotate(var(--r, 0deg)); }
.rb-etalage__carte:hover .rb-dos, .rb-etalage__carte:focus-visible .rb-dos { box-shadow: inset 0 0 0 2px var(--rb-dos), inset 0 0 0 3px rgba(200, 161, 90, .7), 0 0 16px rgba(230, 198, 138, .6); }
.rb-etalage__carte:focus-visible { border-radius: 6px; outline-offset: 2px; }
.rb-etalage__carte.est-prise { opacity: 0; transform: translateY(-40px) scale(.7); pointer-events: none; }
.rb-etalage.est-ferme { opacity: 0; }
@keyframes rb-pose { from { opacity: 0; transform: translateY(-10px) rotate(var(--r, 0deg)); } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }

/* ---------- Emplacements, puis cartes retournées une à une ---------- */
.rb-emplacements { display: flex; gap: 12px; justify-content: center; }
.rb-emplacement { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 92px; }
.rb-emplacement__case {
    position: relative; width: 86px; height: 140px; border-radius: 10px; border: 1px dashed rgba(200, 161, 90, .45);
    background: rgba(241, 236, 228, .03);
}
.rb-emplacement__case .rb-dos { position: absolute; inset: 0; animation: rb-arrive .7s ease backwards; }
.rb-emplacement__place { font-size: 12px; line-height: 1.25; color: var(--doux); }
@keyframes rb-arrive { from { opacity: 0; transform: translateY(-60px) rotate(-8deg) scale(.7); } to { opacity: 1; transform: none; } }

.rb-carte {
    position: relative; width: 86px; height: 140px; padding: 0; border: 0; background: none; cursor: pointer;
    border-radius: 10px; perspective: 900px;
}
.rb-carte:focus-visible { border-radius: 10px; outline-offset: 3px; }
.rb-carte[aria-disabled="true"] { cursor: default; }
.rb-carte__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.3, .7, .2, 1); }
.rb-carte__in > * { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.rb-carte__in > .rb-face { transform: rotateY(180deg); }
.rb-carte.est-retournee .rb-carte__in { transform: rotateY(180deg); }
.rb-carte.est-retournee .rb-face { box-shadow: inset 0 0 0 3px var(--rb-face), inset 0 0 0 4px #2A2420, 0 0 34px rgba(230, 198, 138, .55); }
.rb-carte.est-prochaine:not(.est-retournee) .rb-dos { animation: rb-appel 1.8s ease-in-out infinite; }
@keyframes rb-appel { 0%, 100% { box-shadow: inset 0 0 0 3px var(--rb-dos), inset 0 0 0 4px rgba(200, 161, 90, .55), 0 0 0 rgba(230, 198, 138, 0); } 50% { box-shadow: inset 0 0 0 3px var(--rb-dos), inset 0 0 0 4px rgba(200, 161, 90, .8), 0 0 24px rgba(230, 198, 138, .6); } }

/* ---------- Numérologie : les chiffres s'additionnent, puis se réduisent ---------- */
.rb-chiffres { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.rb-chiffre {
    width: 36px; height: 48px; padding: 0; border-radius: 9px; border: 1px solid var(--rb-trait);
    background: rgba(241, 236, 228, .07); color: var(--clair); font-family: var(--serif); font-size: 24px; cursor: pointer;
    transition: transform .5s ease, background .5s, color .5s, border-color .5s, box-shadow .5s, opacity .5s;
}
.rb-chiffre--sep { margin-left: 8px; }
.rb-chiffre:hover, .rb-chiffre:focus-visible { border-color: var(--laiton); box-shadow: 0 0 16px rgba(230, 198, 138, .4); }
.rb-chiffre:focus-visible { border-radius: 9px; }
.rb-chiffre.est-compte { transform: translateY(10px) scale(.9); background: rgba(200, 161, 90, .25); border-color: var(--laiton); color: var(--rb-or); opacity: .7; cursor: default; }
.rb-somme { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rb-total { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--rb-or); text-shadow: 0 0 24px rgba(230, 198, 138, .45); }
.rb-total.est-pulse { animation: rb-pulse .5s ease; }
@keyframes rb-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.rb-calcul { min-height: 1.5em; font-size: 15px; color: var(--doux); font-variant-numeric: tabular-nums; }
.rb-nombres { display: flex; gap: 22px; justify-content: center; }
.rb-nombre { display: flex; flex-direction: column; align-items: center; gap: 8px; animation: rb-apparait 1.1s ease backwards; }
.rb-nombre__rond {
    width: 78px; height: 78px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
    border: 1.5px solid var(--laiton); font-family: var(--serif); font-size: 38px; color: var(--rb-or);
    box-shadow: 0 0 30px rgba(230, 198, 138, .35), inset 0 0 18px rgba(230, 198, 138, .15);
}
.rb-nombre__label { font-size: 12px; color: var(--doux); }

/* ---------- Astrologie : la roue ---------- */
.rb-roue { position: relative; width: 272px; height: 272px; touch-action: none; -webkit-user-select: none; user-select: none; cursor: grab; }
.rb-roue svg { display: block; width: 100%; height: 100%; }
.rb-roue__disque { transform-origin: 50% 50%; will-change: transform; }
.rb-roue__cercle { fill: none; stroke: var(--laiton); stroke-dasharray: 2 5; opacity: .8; }
.rb-roue__seg { fill: rgba(241, 236, 228, .06); stroke: rgba(200, 161, 90, .45); stroke-width: 1; transition: fill .8s; }
.rb-roue__seg.est-actif { fill: rgba(200, 161, 90, .55); }
.rb-roue__lab { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .04em; fill: var(--doux); }
.rb-roue__lab.est-actif { fill: var(--clair); }
.rb-roue__index {
    position: absolute; left: 50%; top: -6px; width: 0; height: 0; margin-left: -9px; z-index: 1;
    border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 16px solid var(--rb-or);
    filter: drop-shadow(0 0 6px rgba(230, 198, 138, .8));
}
.rb-roue__centre {
    position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; pointer-events: none;
    background: radial-gradient(circle, rgba(26, 40, 39, .95), rgba(20, 33, 32, .9)); border: 1px solid rgba(200, 161, 90, .4);
}
.rb-roue__signe { font-family: var(--serif); font-size: 24px; line-height: 1.05; color: var(--rb-or); }
.rb-roue__dates { font-size: 11px; color: var(--doux); }
.rb-roue.est-arrivee .rb-roue__centre { box-shadow: 0 0 40px rgba(230, 198, 138, .45); }

/* ---------- Rêves : les images ---------- */
.rb-images { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 8px; max-width: 420px; }
.rb-image {
    position: relative; min-height: 40px; padding: 8px 14px 8px 26px; border-radius: 999px; border: 1px solid var(--rb-trait);
    background: rgba(241, 236, 228, .05); color: var(--clair); font-family: var(--serif); font-size: 16px; cursor: pointer;
    transition: background .5s, border-color .5s, box-shadow .5s, opacity .5s, transform .5s; animation: rb-apparait 1s calc(var(--i) * 60ms) ease backwards;
}
.rb-image::before {
    content: ""; position: absolute; left: 11px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
    background: rgba(230, 198, 138, .45); transition: background .5s, box-shadow .5s;
}
.rb-image:nth-child(3n+1) { transform: translateY(4px); } .rb-image:nth-child(4n+2) { transform: translateY(-3px); }
.rb-image.est-suggere::before { background: var(--rb-or); box-shadow: 0 0 8px rgba(230, 198, 138, .9); }
.rb-image:hover, .rb-image:focus-visible { border-color: var(--laiton); }
.rb-image:focus-visible { border-radius: 999px; }
.rb-image[aria-pressed="true"] { background: rgba(200, 161, 90, .28); border-color: var(--laiton); box-shadow: 0 0 22px rgba(230, 198, 138, .45); }
.rb-image[aria-pressed="true"]::before { background: var(--clair); box-shadow: 0 0 10px rgba(255, 245, 225, .9); }
.rb-image[aria-disabled="true"] { opacity: .4; cursor: default; }
.rb-images.est-garde .rb-image:not([aria-pressed="true"]) { opacity: 0; transform: scale(.8); }
.rb-lunes { display: flex; gap: 12px; }
.rb-lune { width: 24px; height: 24px; border-radius: 50%; background: var(--rb-or); opacity: .25; animation: rb-lune 2s ease-in-out infinite; }
.rb-lune:nth-child(1) { box-shadow: inset -9px 0 0 0 #13201F; } .rb-lune:nth-child(2) { box-shadow: inset -5px 0 0 0 #13201F; animation-delay: .35s; }
.rb-lune:nth-child(3) { animation-delay: .7s; } .rb-lune:nth-child(4) { box-shadow: inset 5px 0 0 0 #13201F; animation-delay: 1.05s; }
.rb-lune:nth-child(5) { box-shadow: inset 9px 0 0 0 #13201F; animation-delay: 1.4s; }
@keyframes rb-lune { 0%, 100% { opacity: .25; } 45% { opacity: 1; } }

/* ---------- Recueillement (attente réelle de la lecture) ---------- */
.rb-recueil { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.rb-flamme { width: 26px; height: 46px; transform-origin: 50% 100%; animation: rb-flamme 2.6s ease-in-out infinite; filter: drop-shadow(0 0 14px rgba(240, 190, 110, .8)); }
@keyframes rb-flamme { 0%, 100% { transform: scale(1, 1) rotate(-1deg); } 30% { transform: scale(.94, 1.06) rotate(1.5deg); } 55% { transform: scale(1.04, .96) rotate(-2deg); } 80% { transform: scale(.97, 1.03) rotate(1deg); } }
.rb-recueil__txt { font-size: 14px; color: var(--doux); }

/* ---------- Arrêt (détresse, mineur) et incidents ---------- */
.rb-encart { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 10px; align-items: center; padding: 16px; border-radius: 16px; border: 1px solid var(--rb-trait); background: rgba(241, 236, 228, .06); font-size: 15px; line-height: 1.5; color: var(--clair); }
.rb-encart a { color: var(--rb-or); font-weight: 600; }
.rb-geste > .rb-encart--urgent { animation: none; border-color: var(--laiton); }
.rb-encart__tel { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.rb-lien { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--doux); font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.rb-lien:hover { color: var(--clair); }

/* ---------- La lecture : dévoilée doucement, signée, suite floutée ---------- */
.rb-lecture {
    width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 14px; padding: 22px 20px 20px; text-align: left;
    border-radius: 20px; background: #FFFDF9; color: var(--encre); border: 1.5px solid var(--laiton);
    box-shadow: 0 0 60px -10px rgba(230, 198, 138, .45), 0 30px 60px -30px rgba(0, 0, 0, .7);
    animation: rb-apparait 1.4s ease backwards;
}
.rb-lecture__sur { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #7A5C24; }
.rb-lecture__titre { margin-top: -6px !important; font-size: 27px; line-height: 1.1; }
.rb-lecture__titre:focus { outline: none; }
.rb-lecture__rituel { font-size: 13px; color: var(--gris); }
.rb-lecture__texte { position: relative; display: flex; flex-direction: column; gap: 12px; font-family: var(--serif); font-size: 18px; line-height: 1.55; }
.rb-lecture__texte p { overflow-wrap: anywhere; }
.rb-lecture__texte p:not(.rb-flou) { animation: rb-apparait 1.6s ease backwards; }
.rb-lecture__texte p:nth-child(1) { animation-delay: .5s; }
.rb-lecture__texte p:nth-child(2) { animation-delay: 1.5s; }
.rb-lecture__texte p.rb-flou, .rb-lecture__lignes { animation: rb-fondu 1.6s 2.2s ease backwards; }
.rb-flou { filter: blur(5px); -webkit-user-select: none; user-select: none; pointer-events: none; }
.rb-lecture__lignes { display: flex; flex-direction: column; gap: 11px; padding-top: 4px; filter: blur(3px); }
.rb-lecture__lignes span { display: block; height: 11px; border-radius: 6px; background: linear-gradient(90deg, #D9CFC2, #E6DED3); }
.rb-lecture__lignes span:nth-child(2) { width: 92%; } .rb-lecture__lignes span:nth-child(3) { width: 64%; }
.rb-lecture__voile { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(rgba(255, 253, 249, 0), #FFFDF9); pointer-events: none; }
.rb-lecture__signature { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 18px; animation: rb-apparait 1.4s 2.4s ease backwards; }
.rb-lecture__signature .vy-camee { width: 30px; }
.rb-lecture__verrou { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid #DDD3C6; font-size: 15px; font-weight: 600; }
.rb-lecture__verrou svg { flex: none; color: #7A5C24; }
.rb-lecture__liste { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.rb-lecture__liste li { display: flex; gap: 10px; }
.rb-lecture__liste li::before { content: "✓"; color: #7A5C24; font-weight: 600; }
.rb-lecture__btn { width: 100%; padding-inline: 16px; font-size: 16px; text-wrap: balance; }
.rb-lecture__note { font-size: 12.5px; line-height: 1.45; color: var(--gris); text-align: center; }
.rb-lecture__note a { color: inherit; }

/* ---------- Barre fixe mobile (styles de site.css) ---------- */
.rb-barre .vy-barre__txt [data-rb-barre-titre] { font-size: 13px; font-weight: 600; color: var(--clair); }

/* ---------- Ordinateur ---------- */
@media (min-width: 761px) {
    .rb-top { padding-block: 20px; }
    .rb-logo { height: 42px; }
    .rb-seuil { gap: 16px; padding-block: 12px 72px; }
    .rb-seuil__intro { font-size: 18px; }
    .rb-label { font-size: 24px; margin-top: 10px; }
    .rb-sujets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .rb-sujet { padding: 18px 12px 16px; gap: 9px; }
    .rb-sujet__camee { width: 62px; }
    .rb-sujet__nom { font-size: 17px; }
    .rb-sujet__qui { font-size: 13px; }
    .rb-ligne { font-size: 24px; }
    .rb-voyant__camee { width: 110px; }
    .rb-seance.est-compacte .rb-voyant__camee { width: 70px; }
    .rb-eventail { max-width: 460px; height: 190px; }
    .rb-eventail__carte { width: 62px; height: 100px; margin-left: -31px; }
    .rb-etalage { grid-template-columns: repeat(9, 42px); gap: 8px 7px; }
    .rb-etalage__carte { width: 42px; height: 62px; }
    .rb-emplacement { width: 112px; }
    .rb-emplacement__case, .rb-carte { width: 104px; height: 168px; }
    .rb-face__nom { font-size: 13px; }
    .rb-lecture { padding: 28px 28px 24px; }
    .rb-lecture__btn { font-size: 17px; }
}
@media (max-width: 359px) {
    .rb-sujets { gap: 8px; }
    .rb-emplacements { gap: 8px; }
    .rb-emplacement { width: 84px; }
    .rb-emplacement__case, .rb-carte { width: 78px; height: 128px; }
    .rb-etalage { grid-template-columns: repeat(9, 29px); gap: 5px 3px; }
    .rb-etalage__carte { width: 29px; height: 44px; }
    .rb-roue { width: 240px; height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
    .rb-halo, .rb-voyant__camee::before, .rb-flamme, .rb-lune, .rb-carte.est-prochaine:not(.est-retournee) .rb-dos { animation: none !important; }
    .rb *, .rb *::before, .rb *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; }
    .rb-paquet.est-melange .rb-dos { animation: none !important; }
    .rb-paquet.est-melange { filter: drop-shadow(0 0 16px rgba(230, 198, 138, .6)); }
    .rb-carte__in { transition: none !important; }
}
