/* ==========================================================================
   Le Tarot de la Transition — feuille de style
   Palette nuit profonde / or, typographies Cinzel (titres) et Cormorant Garamond (texte).
   ========================================================================== */

:root {
  --bg: #07060f;
  --bg-2: #0e0b22;
  --bg-3: #15102b;
  --ink: #f3ecda;
  --ink-2: #d2c9b9;
  --muted: #9d95b8;
  --faint: rgba(243, 236, 218, 0.08);
  --gold: #d4b36a;
  --gold-2: #f3dd9a;
  --gold-deep: #9a7a36;
  --violet: #7c5cff;
  --violet-2: #a78bfa;
  --rose: #e07aa8;
  --indigo: #6f8cff;
  --ok: #8fd8a8;
  --line: rgba(212, 179, 106, 0.24);
  --line-2: rgba(243, 236, 218, 0.1);
  --radius: 18px;
  --radius-sm: 11px;
  --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-body: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.75);
  --glow: 0 0 40px rgba(212, 179, 106, 0.22);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --topbar-h: 70px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 19px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  position: relative;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff3cf; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: rgba(212, 179, 106, 0.35); color: #fff; }
.icon { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--gold); color: #1b1407; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
.link { background: none; border: 0; padding: 0; color: var(--gold-2); cursor: pointer; font: italic 500 17px var(--font-body); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { color: #fff3cf; }

/* ---------- Fond : étoiles et nébuleuse ---------- */
.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.nebula { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 50% -10%, #1a1240 0%, transparent 55%), linear-gradient(180deg, #0a0818 0%, var(--bg) 60%, #09071a 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; mix-blend-mode: screen; animation: drift 26s ease-in-out infinite; }
.orb--1 { width: 55vw; height: 55vw; max-width: 720px; max-height: 720px; left: -14vw; top: 6vh; background: radial-gradient(circle, rgba(124, 92, 255, 0.5), transparent 68%); }
.orb--2 { width: 44vw; height: 44vw; max-width: 560px; max-height: 560px; right: -10vw; top: 28vh; background: radial-gradient(circle, rgba(212, 179, 106, 0.28), transparent 68%); animation-delay: -9s; }
.orb--3 { width: 50vw; height: 50vw; max-width: 640px; max-height: 640px; left: 30vw; bottom: -20vh; background: radial-gradient(circle, rgba(224, 122, 168, 0.22), transparent 68%); animation-delay: -17s; }
@keyframes drift { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 33% { transform: translate3d(4vw, -3vh, 0) scale(1.08); } 66% { transform: translate3d(-3vw, 4vh, 0) scale(0.95); } }

/* ---------- Barre de navigation ---------- */
.topbar { position: sticky; top: 0; z-index: 50; isolation: isolate; }
.topbar::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(7, 6, 15, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-2); }
.topbar__inner { max-width: 1320px; margin: 0 auto; padding: 0 22px; height: var(--topbar-h); display: flex; align-items: center; gap: 16px; }
body.app .topbar__inner { max-width: 1680px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-2); white-space: nowrap; }
.brand__mark { font-size: 24px; color: var(--gold); transition: transform 0.6s var(--ease); display: inline-block; }
.brand:hover .brand__mark { transform: rotate(180deg) scale(1.15); }
.brand__text { font: 600 13px var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; }
.mainnav { display: flex; gap: 2px; margin-left: auto; }
.mainnav__link { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 999px; color: var(--ink-2); font: 500 16px var(--font-body); transition: background 0.3s, color 0.3s, transform 0.3s var(--ease); white-space: nowrap; }
.mainnav__link .icon { width: 17px; height: 17px; }
.mainnav__link:hover { background: var(--faint); color: #fff; }
.mainnav__link.is-active { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1407; box-shadow: 0 8px 24px -12px rgba(212, 179, 106, 0.9); }
.topbar__right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.mainnav + .topbar__right { margin-left: 0; }
.topbar__account { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-2); font: 500 16px var(--font-body); position: relative; max-width: 160px; }
.topbar__account span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__account.is-active { background: rgba(212, 179, 106, 0.14); }
.dot { position: absolute; top: 4px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 2px var(--bg); }
.tabbar__link { position: relative; }
.tabbar__link .dot { top: 2px; right: calc(50% - 18px); }
.mobilemenu__link .dot { position: static; margin-left: auto; box-shadow: none; }
.langmenu { position: relative; }
.langmenu summary { list-style: none; cursor: pointer; }
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu__btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; border-radius: 999px; color: var(--ink-2); font: 600 12px var(--font-display); letter-spacing: 0.08em; }
.langmenu__btn .icon { width: 17px; height: 17px; }
.langmenu__btn:hover { background: var(--faint); color: #fff; }
.langmenu__list { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: #15102b; border: 1px solid var(--line); border-radius: 14px; min-width: 170px; box-shadow: var(--shadow); z-index: 60; animation: popIn 0.25s var(--ease); }
.langmenu__list a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-size: 17px; }
.langmenu__list a:hover, .langmenu__list a.is-active { background: rgba(212, 179, 106, 0.14); color: var(--gold-2); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 50%; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--gold-2); transition: transform 0.3s, opacity 0.3s; }
.burger:hover { background: var(--faint); }

/* ---------- Menu mobile (hors du header, plein écran) ---------- */
.mobilemenu { position: fixed; inset: 0; z-index: 90; background: rgba(7, 6, 15, 0.97); display: flex; flex-direction: column; padding: 14px 22px 30px; overflow-y: auto; opacity: 0; transform: translateY(-10px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.mobilemenu.is-open { opacity: 1; transform: none; }
.mobilemenu__head { display: flex; justify-content: space-between; align-items: center; height: var(--topbar-h); color: var(--gold-2); }
.mobilemenu__close { width: 44px; height: 44px; border: 0; background: var(--faint); border-radius: 50%; color: var(--gold-2); cursor: pointer; display: grid; place-items: center; }
.mobilemenu__nav { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.mobilemenu__form { display: contents; }
.mobilemenu__link { display: flex; align-items: center; gap: 14px; padding: 9px 14px; border-radius: 12px; color: var(--ink); font: 400 21px/1.2 var(--font-body); background: none; border: 0; width: 100%; text-align: left; cursor: pointer; opacity: 0; transform: translateX(-12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
@media (max-height: 700px) { .mobilemenu__link { padding: 6px 14px; font-size: 19px; } .mobilemenu__head { height: 56px; } .mobilemenu__langs { padding-top: 12px; } }
@media (max-height: 600px) { .mobilemenu__link { padding: 4px 14px; font-size: 18px; } .mobilemenu__nav { gap: 0; } }
.mobilemenu.is-open .mobilemenu__link { opacity: 1; transform: none; }
.mobilemenu__link:nth-child(1) { transition-delay: 0.05s; } .mobilemenu__link:nth-child(2) { transition-delay: 0.1s; } .mobilemenu__link:nth-child(3) { transition-delay: 0.15s; } .mobilemenu__link:nth-child(4) { transition-delay: 0.2s; } .mobilemenu__link:nth-child(5) { transition-delay: 0.25s; } .mobilemenu__link:nth-child(6) { transition-delay: 0.3s; } .mobilemenu__link:nth-child(7) { transition-delay: 0.35s; } .mobilemenu__link:nth-child(8) { transition-delay: 0.4s; } .mobilemenu__link:nth-child(n+9) { transition-delay: 0.45s; }
.mobilemenu__link .icon { color: var(--gold); }
.mobilemenu__link.is-active { background: rgba(212, 179, 106, 0.12); color: var(--gold-2); }
.mobilemenu__langs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; padding-bottom: env(safe-area-inset-bottom); }
.mobilemenu__langs a { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 12px var(--font-display); letter-spacing: 0.1em; color: var(--ink-2); }
.mobilemenu__langs a.is-active { background: var(--gold); color: #1b1407; border-color: transparent; }

/* ---------- Barre d'onglets mobile ---------- */
.tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 48; background: rgba(10, 8, 22, 0.94); border-top: 1px solid var(--line-2); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabbar__link { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; color: var(--muted); font: 500 12px var(--font-body); border-radius: 10px; }
.tabbar__link .icon { width: 22px; height: 22px; }
.tabbar__link.is-active { color: var(--gold-2); }
.tabbar__link.is-active .icon { filter: drop-shadow(0 0 8px rgba(212, 179, 106, 0.8)); }

/* ---------- Structure ---------- */
.main { max-width: 1240px; margin: 0 auto; padding: 26px 22px 90px; }
.page-head { text-align: center; margin: 14px auto 34px; max-width: 820px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1.4 var(--font-display); letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.kicker .icon { width: 15px; height: 15px; }
.kicker--wide { letter-spacing: 0.45em; font-size: 10px; color: rgba(212, 179, 106, 0.75); }
.page-title { font: 400 clamp(32px, 5.2vw, 60px)/1.08 var(--font-display); letter-spacing: 0.04em; background: linear-gradient(115deg, #fff6d8 0%, var(--gold-2) 30%, var(--gold) 60%, #fff3cf 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 30px rgba(212, 179, 106, 0.18)); margin: 4px 0 10px; overflow-wrap: anywhere; hyphens: auto; }
.page-title--rose { background-image: linear-gradient(115deg, #ffe0ec, var(--rose) 45%, #ffd6e4); }
.page-title--indigo { background-image: linear-gradient(115deg, #e3e8ff, var(--indigo) 45%, #dbe2ff); }
.page-title--left { text-align: left; }
.page-sub { font: italic 400 clamp(19px, 2.2vw, 23px) var(--font-body); color: var(--muted); margin: 0; }
.h-center { text-align: center; }
.h-section { display: flex; align-items: center; gap: 10px; font: 600 14px var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.h-section .icon { width: 18px; height: 18px; }
.h-small { font: 600 12px var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.h-small .icon { width: 16px; height: 16px; }
.hint { font: italic 400 17px var(--font-body); color: var(--muted); display: flex; align-items: center; gap: 8px; margin: 0; }
.hint--ok { color: var(--ok); }
.hint .icon { width: 17px; height: 17px; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); background: rgba(124, 92, 255, 0.12); border: 1px solid rgba(167, 139, 250, 0.3); color: #dcd3ff; font-size: 17px; margin: 0 0 8px; }
.note--center { justify-content: center; max-width: 760px; margin: 0 auto 26px; }
.note .icon { flex: none; margin-top: 2px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 600 10px var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; background: rgba(255, 255, 255, 0.1); color: var(--ink-2); vertical-align: middle; }
.badge--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1407; }
.badge--ok { background: rgba(72, 187, 120, 0.2); color: var(--ok); }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--rose); color: #fff; font: 600 11px var(--font-display); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border-radius: 999px; font: 600 12.5px/1.1 var(--font-display); letter-spacing: 0.13em; text-transform: uppercase; border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden; text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s; white-space: nowrap; }
.btn .icon { width: 17px; height: 17px; }
.btn--primary { background: linear-gradient(135deg, #f8e6ad 0%, var(--gold) 55%, #b8923f 100%); color: #1b1407; box-shadow: 0 12px 30px -12px rgba(212, 179, 106, 0.8); }
.btn--primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%); transform: translateX(-130%); transition: transform 0.7s var(--ease); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(212, 179, 106, 0.9); color: #1b1407; }
.btn--primary:hover::after { transform: translateX(130%); }
.btn--rose { background: linear-gradient(135deg, #ffc9dc, var(--rose) 55%, #b0507e); box-shadow: 0 12px 30px -12px rgba(224, 122, 168, 0.8); }
.btn--indigo { background: linear-gradient(135deg, #d6ddff, var(--indigo) 55%, #4f63c9); box-shadow: 0 12px 30px -12px rgba(111, 140, 255, 0.8); }
.btn--outline { border-color: var(--line); color: var(--gold-2); background: rgba(255, 255, 255, 0.025); }
.btn--outline:hover { background: rgba(212, 179, 106, 0.12); border-color: rgba(212, 179, 106, 0.55); color: #fff3cf; transform: translateY(-1px); }
.btn--ghost { color: var(--muted); background: transparent; }
.btn--ghost:hover { color: var(--ink); background: var(--faint); }
.btn--danger { color: #f3a9c6; }
.btn--danger:hover { background: rgba(224, 122, 168, 0.14); color: #ffd3e4; }
.btn--lg { padding: 16px 30px; font-size: 14px; }
.btn--sm { padding: 8px 14px; font-size: 11px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none; }
.btn:focus-visible, .tcard:focus-visible, .chip:focus-visible, .fav:focus-visible, .fan__card:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin: 22px 0 0; }
.actions--start { justify-content: flex-start; }
.actions .hint { width: 100%; justify-content: center; margin-bottom: 4px; }
.actions--start .hint { justify-content: flex-start; }

/* ---------- Panneaux et formulaires ---------- */
.panel { background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.panel--form { max-width: 740px; margin: 0 auto; }
.panel--reading { max-width: 920px; margin: 0 auto; padding: clamp(22px, 4vw, 42px); }
.panel--soft { padding: 20px; box-shadow: none; }
.panel--gold { border-color: rgba(212, 179, 106, 0.55); background: linear-gradient(160deg, rgba(212, 179, 106, 0.16), rgba(124, 92, 255, 0.08)); }
.panel--danger { border-color: rgba(224, 122, 168, 0.35); }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.field { display: block; margin: 0 0 18px; }
.field__label { display: block; font: 600 11px var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.field__label small { font: italic 400 14px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.field__hint { display: block; font: italic 400 15px var(--font-body); color: var(--muted); margin-top: 6px; }
.field input:not([type=checkbox]):not([type=file]), .field textarea, .field select, .form input:not([type=checkbox]) {
  width: 100%; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); padding: 12px 15px; font: 400 18px var(--font-body); transition: border-color 0.3s, box-shadow 0.3s; color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 179, 106, 0.15); }
.field select option { background: var(--bg-3); }
.fieldset { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 18px 20px 4px; margin: 0; }
.fieldset__legend { display: inline-flex; align-items: center; gap: 8px; padding: 0 8px; font: 600 12px var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); }
.twocol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.twocol--top { align-items: start; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--ink-2); margin: 0 0 18px; }
.check input { margin-top: 5px; accent-color: var(--gold); }
.toggle { display: inline-flex; align-items: center; gap: 8px; font: italic 500 16px var(--font-body); color: var(--muted); cursor: pointer; }
.toggle input { accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; }
.alert { padding: 11px 15px; border-radius: var(--radius-sm); background: rgba(224, 122, 168, 0.15); border: 1px solid rgba(224, 122, 168, 0.4); color: #ffd6e5; font-size: 17px; text-align: left; }
.alert--ok { background: rgba(72, 187, 120, 0.14); border-color: rgba(143, 216, 168, 0.4); color: #cdf5db; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font: 500 15.5px var(--font-body); color: var(--ink-2); }
.chip .icon { width: 15px; height: 15px; }
.chip--gold { border-color: var(--line); color: var(--gold-2); background: rgba(212, 179, 106, 0.08); }
.chip--violet { background: rgba(124, 92, 255, 0.18); border-color: rgba(167, 139, 250, 0.4); color: #dcd3ff; }
.chip--inline { margin: 0 0 14px; }
.chips--select .chip { cursor: pointer; transition: background 0.25s, color 0.25s, transform 0.25s var(--ease); }
.chips--select .chip:hover { transform: translateY(-1px); border-color: var(--line); }
.chips--select .chip.is-on { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1407; border-color: transparent; }
.toolbar { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin: 0 0 26px; }
.search { display: flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 16px; color: var(--muted); min-width: 240px; }
.search input { background: none; border: 0; color: var(--ink); font: 400 18px var(--font-body); width: 100%; outline: none; }
.table { width: 100%; border-collapse: collapse; font-size: 17px; }
.table th { font: 600 11px var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 11px 8px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table td small { color: var(--muted); }
.table .num { text-align: right; white-space: nowrap; }
.minilist { list-style: none; padding: 0; margin: 0 0 12px; }
.minilist li a { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font-size: 17px; }
.minilist li a small { margin-left: auto; color: var(--muted); white-space: nowrap; }
.minilist li a:hover { color: var(--gold-2); }

/* ---------- Étapes ---------- */
.steps { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 0 0 30px; flex-wrap: wrap; }
.steps__item { display: flex; align-items: center; gap: 8px; padding: 6px 12px; font: 600 10.5px var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.steps__item span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 11px; transition: all 0.3s; }
.steps__item.is-active { color: var(--gold-2); }
.steps__item.is-active span { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1407; border-color: transparent; box-shadow: 0 0 18px rgba(212, 179, 106, 0.5); }
.steps__item.is-done { color: var(--ink-2); }
.steps__item.is-done span { border-color: var(--gold); color: var(--gold); }
.steps__item + .steps__item::before { content: ''; width: 18px; height: 1px; background: var(--line-2); margin-right: 6px; }
.step { animation: fadeUp 0.6s var(--ease); }

/* ---------- Choix du tirage ---------- */
.spreadgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; max-width: 1000px; margin: 22px auto 0; }
.spreadcard { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 22px 26px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); cursor: pointer; text-align: center; box-shadow: var(--shadow); transition: border-color 0.35s, box-shadow 0.35s, background 0.35s; position: relative; overflow: hidden; }
.spreadcard::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(212, 179, 106, 0.18), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.spreadcard:hover, .spreadcard.is-on { border-color: rgba(212, 179, 106, 0.6); box-shadow: var(--glow), var(--shadow); }
.spreadcard:hover::before, .spreadcard.is-on::before { opacity: 1; }
.spreadcard__mini { position: relative; width: 110px; height: 96px; margin-bottom: 10px; display: block; }
.spreadcard__mini i { position: absolute; width: 20px; height: 30px; border-radius: 3px; border: 1px solid var(--gold); background: linear-gradient(160deg, rgba(212, 179, 106, 0.35), rgba(124, 92, 255, 0.25)); box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.8); transition: transform 0.4s var(--ease); }
.spreadcard__mini--single i { left: 45px; top: 33px; width: 24px; height: 36px; }
.spreadcard__mini--row i { top: 33px; left: calc(22px + var(--n) * 25px); }
.spreadcard__mini--celtic i { width: 14px; height: 21px; }
.spreadcard__mini--celtic i:nth-child(1) { left: 38px; top: 38px; }
.spreadcard__mini--celtic i:nth-child(2) { left: 38px; top: 38px; transform: rotate(90deg); }
.spreadcard__mini--celtic i:nth-child(3) { left: 16px; top: 38px; }
.spreadcard__mini--celtic i:nth-child(4) { left: 60px; top: 38px; }
.spreadcard__mini--celtic i:nth-child(5) { left: 38px; top: 10px; }
.spreadcard__mini--celtic i:nth-child(6) { left: 38px; top: 66px; }
.spreadcard__mini--celtic i:nth-child(7) { left: 92px; top: 70px; }
.spreadcard__mini--celtic i:nth-child(8) { left: 92px; top: 48px; }
.spreadcard__mini--celtic i:nth-child(9) { left: 92px; top: 26px; }
.spreadcard__mini--celtic i:nth-child(10) { left: 92px; top: 4px; }
.spreadcard:hover .spreadcard__mini i { transform: translateY(-4px); }
.spreadcard:hover .spreadcard__mini--celtic i:nth-child(2) { transform: rotate(90deg) translateX(-4px); }
.spreadcard__name { font: 600 17px var(--font-display); letter-spacing: 0.08em; color: var(--gold-2); }
.spreadcard__desc { font: italic 400 18px var(--font-body); color: var(--ink-2); }
.spreadcard__meta { font: 600 10px var(--font-display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.spreadcard__price { margin-top: 10px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font: 600 13px var(--font-display); letter-spacing: 0.06em; color: var(--gold-2); display: inline-flex; align-items: center; gap: 6px; }
.spreadcard__price small { font: italic 400 14px var(--font-body); color: var(--muted); letter-spacing: 0; }
.spreadcard__price--free { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1407; border-color: transparent; }
.spreadcard__price--ok { color: var(--ok); border-color: rgba(143, 216, 168, 0.4); }
.spreadcard__price .icon { width: 15px; height: 15px; }
.chosen { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.chosen__label { font: 600 18px var(--font-display); letter-spacing: 0.08em; color: var(--gold-2); }
.chosen__long { font: italic 400 18px var(--font-body); color: var(--muted); margin: 0 0 22px; }
.unlock { margin: 6px 0 22px; padding: 22px; border-radius: var(--radius-sm); background: rgba(212, 179, 106, 0.08); border: 1px dashed rgba(212, 179, 106, 0.45); text-align: center; animation: fadeUp 0.5s var(--ease); }
.unlock__title { display: flex; justify-content: center; align-items: center; gap: 8px; font: 600 15px var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; }
.unlock__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Jeu de cartes et distribution ---------- */
.deck { position: relative; width: 150px; height: 225px; margin: 10px auto 0; transition: opacity 0.6s, transform 0.6s var(--ease); }
.deck__card { position: absolute; inset: 0; width: 150px; height: 225px; border-radius: 12px; object-fit: cover; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(212, 179, 106, 0.3); transform: translate(calc(var(--n) * -1.6px), calc(var(--n) * -2.2px)); }
.deck.is-shuffling .deck__card { animation: shuffle 0.85s var(--ease) infinite; animation-delay: calc(var(--n) * -0.11s); }
.deck.is-dealt { opacity: 0; transform: scale(0.8); pointer-events: none; }
@keyframes shuffle { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-54px, -10px) rotate(-7deg); } 50% { transform: translate(0, -4px) rotate(0); } 75% { transform: translate(54px, -10px) rotate(7deg); } }

.tcard { --w: 160px; width: var(--w); aspect-ratio: 2 / 3; perspective: 1400px; position: relative; cursor: pointer; outline: none; border-radius: 14px; flex: none; }
.tcard--sm { --w: 112px; }
.tcard--lg { --w: 230px; }
.tcard--xl { --w: 300px; cursor: default; }
.tcard[role=img] { cursor: default; }
.tcard__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.95s var(--ease); border-radius: 14px; }
.tcard.is-flipped .tcard__inner { transform: rotateY(180deg); }
.tcard__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 14px; overflow: hidden; background: #15102b; box-shadow: 0 24px 44px -20px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(212, 179, 106, 0.35); }
.tcard__face img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.tcard__face--front { transform: rotateY(180deg); }
.tcard.is-reversed .tcard__face--front img { transform: rotate(180deg); }
.tcard__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 8px 10px; background: linear-gradient(to top, rgba(7, 6, 15, 0.94) 30%, rgba(7, 6, 15, 0)); text-align: center; }
.tcard__name { display: block; font: 600 11.5px var(--font-display); letter-spacing: 0.08em; color: var(--gold-2); line-height: 1.25; }
.tcard__pos { display: block; font: italic 400 13px var(--font-body); color: var(--ink-2); }
.tcard--sm .tcard__name { font-size: 9.5px; }
.tcard--sm .tcard__pos { font-size: 11px; }
.tcard--sm .tcard__cap { padding: 20px 5px 6px; }
.tcard--xl .tcard__cap, .tcard--lg.is-flipped[role=img] .tcard__cap:empty { display: none; }
.tcard__badge { position: absolute; top: -9px; right: -9px; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1407; font-size: 15px; font-weight: 700; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.8); z-index: 3; opacity: 0; transform: scale(0); transition: opacity 0.3s 0.7s, transform 0.5s 0.7s var(--ease); }
.tcard.is-flipped .tcard__badge { opacity: 1; transform: scale(1); }
.tcard__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.22) 48%, transparent 62%); transform: translateX(-130%); transition: transform 0.9s var(--ease); pointer-events: none; }
.tcard:hover .tcard__shine, .tcard.is-flipping .tcard__shine { transform: translateX(130%); }
.tcard:not(.is-flipped):not([role=img]):hover .tcard__inner { transform: translateY(-8px) rotateX(4deg); }
.tcard.is-flipped:not([role=img]):hover .tcard__inner { transform: rotateY(180deg) translateY(-6px); }
.tcard.is-dealing { animation: deal 0.85s var(--ease) both; animation-delay: calc(var(--i) * 0.16s); }
@keyframes deal { from { opacity: 0; transform: translate(var(--dx, 0px), var(--dy, -60px)) rotate(-6deg) scale(0.85); } to { opacity: 1; transform: none; } }
.tcard__num { position: absolute; top: -10px; left: -10px; z-index: 3; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--gold); color: var(--gold-2); font: 600 11px var(--font-display); }

.spread { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 22px; margin: 26px auto; max-width: 1100px; }
.spread__slot { display: flex; flex-direction: column; align-items: center; gap: 9px; position: relative; }
.spread__label { font: italic 400 16px var(--font-body); color: var(--muted); text-align: center; max-width: 170px; line-height: 1.2; }
.spread--single { min-height: 240px; }
.spread--celtic { display: grid; grid-template-columns: repeat(4, max-content); grid-template-rows: repeat(4, max-content); gap: 8px 18px; justify-content: center; align-items: center; }
.spread--celtic .spread__slot { grid-row: 2; }
.spread--celtic .spread__slot[data-pos=cc1] { grid-column: 2; }
.spread--celtic .spread__slot[data-pos=cc2] { grid-column: 2; z-index: 2; }
.spread--celtic .spread__slot[data-pos=cc2] .tcard { transform: rotate(90deg) translateY(-6px); }
.spread--celtic .spread__slot[data-pos=cc2] .tcard__num { transform: rotate(-90deg); }
.spread--celtic .spread__slot[data-pos=cc3] { grid-column: 1; }
.spread--celtic .spread__slot[data-pos=cc4] { grid-column: 3; }
.spread--celtic .spread__slot[data-pos=cc5] { grid-column: 2; grid-row: 1; }
.spread--celtic .spread__slot[data-pos=cc6] { grid-column: 2; grid-row: 3; }
.spread--celtic .spread__slot[data-pos=cc7] { grid-column: 4; grid-row: 4; }
.spread--celtic .spread__slot[data-pos=cc8] { grid-column: 4; grid-row: 3; }
.spread--celtic .spread__slot[data-pos=cc9] { grid-column: 4; grid-row: 2; }
.spread--celtic .spread__slot[data-pos=cc10] { grid-column: 4; grid-row: 1; }
.spread--celtic .spread__label { display: none; }
.spread--celtic .tcard { --w: 118px; }
.spread--celtic .tcard.is-dealing { animation-delay: calc(var(--i) * 0.22s); }
.spread--done { margin-top: 0; }
.spread.is-static .tcard { cursor: default; }
.spread__legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px 18px; max-width: 900px; margin: 0 auto 10px; font-size: 16px; color: var(--muted); }
.spread__legend b { color: var(--gold-2); font-weight: 600; }

/* ---------- Rituel (chargement) ---------- */
.ritual { text-align: center; padding: 36px 0 30px; animation: fadeUp 0.5s var(--ease); }
.ritual__orb { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 50%; background: radial-gradient(circle at 36% 34%, #fff6d6, var(--gold) 32%, rgba(124, 92, 255, 0.55) 68%, transparent 72%); box-shadow: 0 0 70px rgba(212, 179, 106, 0.55), 0 0 140px rgba(124, 92, 255, 0.35); animation: orb 2.6s ease-in-out infinite; }
.ritual__orb--rose { background: radial-gradient(circle at 36% 34%, #fff0f6, var(--rose) 32%, rgba(124, 92, 255, 0.55) 68%, transparent 72%); box-shadow: 0 0 70px rgba(224, 122, 168, 0.55); }
.ritual__orb--indigo { background: radial-gradient(circle at 36% 34%, #f1f4ff, var(--indigo) 32%, rgba(124, 92, 255, 0.55) 68%, transparent 72%); box-shadow: 0 0 70px rgba(111, 140, 255, 0.55); }
@keyframes orb { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.14) rotate(180deg); } }
.ritual__title { font: 400 24px var(--font-display); letter-spacing: 0.06em; color: var(--gold-2); margin: 0 0 6px; }
.ritual__status { font: italic 400 18px var(--font-body); color: var(--muted); min-height: 1.5em; transition: opacity 0.4s; }
.ritual__status.is-fading { opacity: 0; }
.reading-meta { text-align: center; color: var(--muted); font: italic 400 18px var(--font-body); margin: 0 0 18px; }
.reading-meta b { color: var(--gold-2); font-weight: 600; font-style: normal; font-family: var(--font-display); font-size: 14px; letter-spacing: 0.1em; }

/* ---------- Lecture (résultats) ---------- */
.reading { display: flex; flex-direction: column; gap: 30px; }
.reading__chips { justify-content: center; }
.prose p { margin: 0 0 1em; font-size: 19.5px; line-height: 1.62; color: var(--ink); }
.prose p:last-child { margin-bottom: 0; }
.prose--lg p { font-size: 21.5px; }
.prose--center { text-align: center; max-width: 720px; margin: 0 auto; }
.prose--legal { text-align: left; max-width: 860px; margin: 0 auto; overflow-wrap: anywhere; }
.prose--legal h2 { font: 600 14px var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 26px 0 10px; }
.prose--legal h2:first-child { margin-top: 0; }
.prose ul { padding-left: 22px; } .prose li { margin-bottom: 6px; }
.prose h4 { font: 600 13px var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 18px 0 8px; }
.type-in p { opacity: 0; animation: fadeUp 0.9s var(--ease) forwards; }
.type-in p:nth-child(1) { animation-delay: 0.1s; } .type-in p:nth-child(2) { animation-delay: 0.5s; } .type-in p:nth-child(3) { animation-delay: 0.9s; } .type-in p:nth-child(4) { animation-delay: 1.3s; } .type-in p:nth-child(5) { animation-delay: 1.7s; } .type-in p:nth-child(n+6) { animation-delay: 2.1s; }
.insights { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.insight { display: flex; gap: 18px; padding: 16px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.26); border: 1px solid var(--line-2); animation: fadeUp 0.7s var(--ease) both; }
.insight:nth-child(1) { animation-delay: 0.1s; } .insight:nth-child(2) { animation-delay: 0.2s; } .insight:nth-child(3) { animation-delay: 0.3s; } .insight:nth-child(4) { animation-delay: 0.4s; } .insight:nth-child(5) { animation-delay: 0.5s; } .insight:nth-child(n+6) { animation-delay: 0.6s; }
.insight__img { width: 58px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; flex: none; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.9); }
.insight__img.is-reversed, .is-reversed > img, img.is-reversed { transform: rotate(180deg); }
.insight__body p { margin: 0; font-size: 18px; }
.insight__pos { font: 600 10.5px var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 3px !important; }
.insight__card { font: 600 17px var(--font-display); letter-spacing: 0.04em; color: var(--gold-2); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.callout { padding: 22px 26px; border-left: 3px solid var(--gold); background: linear-gradient(90deg, rgba(212, 179, 106, 0.14), rgba(212, 179, 106, 0.02)); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout p { margin: 0; font-size: 20px; }
.callout__title { display: flex; align-items: center; gap: 8px; font: 600 13px var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.callout--center { text-align: center; border-left: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 24px 10px; }
.callout--center .callout__title { justify-content: center; }
.affirmation { font: italic 400 24px var(--font-body); color: var(--gold-2); }
.reading__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.quote { margin: 0 0 12px; padding: 10px 18px; border-left: 2px solid var(--violet-2); font: italic 400 18.5px var(--font-body); color: var(--ink-2); }
.quote--big { font-size: 25px; text-align: center; border: 0; color: var(--gold-2); padding: 18px 0; margin: 10px 0 20px; }
.questions { padding: 0; margin: 0; list-style: none; counter-reset: q; display: grid; gap: 12px; }
.questions li { position: relative; padding: 14px 18px 14px 56px; background: rgba(0, 0, 0, 0.26); border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-size: 19px; }
.questions li::before { counter-increment: q; content: counter(q); position: absolute; left: 14px; top: 13px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1407; font: 600 13px var(--font-display); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: flex-start; font-size: 18px; }
.ticks .icon { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 4px; }
.ticks--center { justify-items: center; margin: 18px 0 26px; }
.domains { display: grid; gap: 10px; }
.domain { display: flex; gap: 12px; align-items: flex-start; }
.domain p { margin: 2px 0 0; font-size: 17px; color: var(--ink-2); }

/* ---------- Guidance ---------- */
.guidance { display: grid; grid-template-columns: minmax(250px, 320px) 1fr; gap: 44px; align-items: start; }
.guidance__card { text-align: center; position: sticky; top: calc(var(--topbar-h) + 20px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.halo { position: absolute; width: min(360px, 90vw); height: min(360px, 90vw); left: 50%; top: 150px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(212, 179, 106, 0.28), rgba(124, 92, 255, 0.12) 45%, transparent 70%); filter: blur(10px); animation: halo 6s ease-in-out infinite; pointer-events: none; z-index: -1; }
@keyframes halo { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; } 50% { transform: translate(-50%, -50%) scale(1.18); opacity: 1; } }
.guidance__intro { font: italic 400 19px var(--font-body); color: var(--muted); margin: 0; }
.guidance__name { display: flex; flex-direction: column; gap: 4px; align-items: center; margin: 0; }
.guidance__name strong { font: 600 22px var(--font-display); letter-spacing: 0.06em; color: var(--gold-2); }
.guidance__label { font: 600 10px var(--font-display); letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }
.guidance__text { min-height: 200px; }
.gstrip { margin-top: 46px; }
.gstrip__list { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 12px; scrollbar-width: thin; }
.gstrip__item { flex: none; width: 108px; text-align: center; color: var(--ink-2); }
.gstrip__item img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-2); transition: transform 0.4s var(--ease), border-color 0.3s; }
.gstrip__item:hover img { transform: translateY(-5px); border-color: var(--gold); }
.gstrip__name { display: block; font: 600 11px var(--font-display); letter-spacing: 0.06em; color: var(--gold-2); margin-top: 8px; }
.gstrip__date { display: block; font: italic 400 14px var(--font-body); color: var(--muted); }

/* ---------- Tirage personnalisé : éventail ---------- */
.fan { position: relative; height: 290px; margin: 6px auto 10px; max-width: 980px; }
.fan__card { position: absolute; left: 50%; bottom: 10px; width: 96px; aspect-ratio: 2 / 3; margin-left: -48px; transform-origin: 50% 300%; transform: rotate(var(--rot, 0deg)); transition: transform 0.55s var(--ease), opacity 0.4s, box-shadow 0.4s; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: -4px 10px 24px -8px rgba(0, 0, 0, 0.9); background: none; padding: 0; cursor: pointer; opacity: 0; animation: fanIn 0.7s var(--ease) forwards; animation-delay: calc(var(--n) * 0.035s); }
@keyframes fanIn { to { opacity: 1; } }
.fan__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan__card:hover, .fan__card:focus-visible { transform: rotate(var(--rot, 0deg)) translateY(-26px); box-shadow: 0 0 30px rgba(212, 179, 106, 0.45); z-index: 5; }
.fan__card.is-picked { opacity: 0.22; pointer-events: none; }
.tray { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; min-height: 96px; margin-bottom: 10px; }
.tray__card { position: relative; width: 60px; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; border: 1px solid var(--gold); animation: popIn 0.4s var(--ease); background: none; padding: 0; cursor: pointer; }
.tray__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tray__card span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #1b1407; font: 600 12px var(--font-display); display: grid; place-items: center; }

/* ---------- Compatibilité ---------- */
.compat-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px 14px; max-width: 760px; margin: 20px auto 28px; }
.compat-cards__slot { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.compat-cards__label { font: italic 400 15px var(--font-body); color: var(--muted); line-height: 1.2; }
.compat-cards__slot[data-pos=p1_strengths] { grid-column: 1; grid-row: 1; }
.compat-cards__slot[data-pos=p1_challenges] { grid-column: 1; grid-row: 2; }
.compat-cards__slot[data-pos=dynamic] { grid-column: 2; grid-row: 1; }
.compat-cards__slot[data-pos=potential] { grid-column: 2; grid-row: 2; }
.compat-cards__slot[data-pos=p2_strengths] { grid-column: 3; grid-row: 1; }
.compat-cards__slot[data-pos=p2_challenges] { grid-column: 3; grid-row: 2; }
.compat-cards .tcard { --w: 124px; }
.score { position: relative; width: 170px; margin: 0 auto 16px; text-align: center; }
.score__ring { width: 170px; height: 170px; transform: rotate(-90deg); }
.score__track { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 7; }
.score__bar { fill: none; stroke: var(--rose); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s var(--ease); filter: drop-shadow(0 0 8px rgba(224, 122, 168, 0.7)); }
.score__value { position: absolute; left: 0; right: 0; top: 0; height: 170px; display: flex; justify-content: center; align-items: baseline; gap: 2px; padding-top: 58px; font: 600 44px var(--font-display); color: var(--gold-2); }
.score__value span { font-size: 20px; }
.score__label { font: 600 11px var(--font-display); letter-spacing: 0.25em; text-transform: uppercase; color: var(--rose); margin: -8px 0 0; }

/* ---------- Méditation ---------- */
.chooser { display: flex; gap: 14px; overflow-x: auto; padding: 12px 6px 18px; scroll-snap-type: x proximity; scrollbar-width: thin; margin: 0 -6px; }
.chooser__card { flex: none; width: 112px; scroll-snap-align: center; background: none; border: 0; padding: 0; cursor: pointer; text-align: center; color: var(--ink-2); font: 500 15px var(--font-body); }
.chooser__card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-2); transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s; display: block; margin-bottom: 8px; }
.chooser__card:hover img { transform: translateY(-6px); border-color: var(--gold); }
.chooser__card.is-on img { border-color: var(--gold-2); box-shadow: 0 0 0 2px var(--gold), 0 0 30px rgba(212, 179, 106, 0.5); transform: translateY(-6px) scale(1.04); }
.chooser__card.is-on span { color: var(--gold-2); }
.medit-selected { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; margin-top: 22px; }
.medit-selected .tcard { --w: 180px; }
.player { max-width: 840px; margin: 0 auto; }
.player__head { text-align: center; margin-bottom: 10px; }
.player__title { font: 400 clamp(26px, 3.6vw, 38px) var(--font-display); color: var(--gold-2); margin: 4px 0 10px; }
.player__intention { font: italic 400 21px var(--font-body); color: var(--muted); }
.player__stage { display: grid; grid-template-columns: 230px 1fr; gap: 34px; align-items: center; margin: 24px 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(111, 140, 255, 0.08), rgba(255, 255, 255, 0.02)); }
.breath { position: relative; width: 230px; height: 230px; display: grid; place-items: center; }
.breath__circle { position: absolute; inset: 24px; border-radius: 50%; background: radial-gradient(circle, rgba(111, 140, 255, 0.65), rgba(124, 92, 255, 0.2) 58%, transparent 72%); box-shadow: 0 0 60px rgba(111, 140, 255, 0.35); transform: scale(0.72); transition: transform 4s ease-in-out; }
.breath::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(111, 140, 255, 0.35); }
.breath.is-in .breath__circle, .breath.is-hold .breath__circle { transform: scale(1.12); }
.breath.is-hold .breath__circle { transition-duration: 0.6s; }
.breath.is-out .breath__circle { transform: scale(0.72); }
.breath.is-off .breath__circle { transform: scale(0.85); transition-duration: 1s; }
.breath__label { position: relative; font: 600 12px var(--font-display); letter-spacing: 0.3em; text-transform: uppercase; color: #e3e8ff; }
.player__step-title { font: 600 20px var(--font-display); color: #e3e8ff; margin: 4px 0 10px; }
.player__step-text { font-size: 20.5px; line-height: 1.6; min-height: 4em; }
.progress { height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 3px; overflow: hidden; margin: 12px 0 6px; }
.progress__bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--indigo), var(--violet-2)); transition: width 1s linear; border-radius: 3px; }
.player__timer { font: 600 13px var(--font-display); letter-spacing: 0.14em; color: var(--muted); margin: 0; }
.player__controls { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 24px 20px; }
.gallery--compact { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.gcard.is-hidden { display: none; }
.gcard__btn { display: block; width: 100%; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #15102b; padding: 0; cursor: pointer; position: relative; box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.9); transition: box-shadow 0.4s, border-color 0.4s; }
.gcard__btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gcard__btn:hover { border-color: var(--gold); box-shadow: var(--glow), 0 24px 40px -18px rgba(0, 0, 0, 0.9); }
.gcard__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.2) 48%, transparent 62%); transform: translateX(-130%); transition: transform 0.8s var(--ease); pointer-events: none; }
.gcard__btn:hover .gcard__shine { transform: translateX(130%); }
.gcard__meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.gcard__num { font: 600 11px var(--font-display); letter-spacing: 0.1em; color: var(--gold); }
.gcard__name { flex: 1; font: 500 17px var(--font-body); color: var(--ink); line-height: 1.2; }
.fav { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 50%; display: grid; place-items: center; transition: transform 0.3s var(--ease), color 0.3s; }
.fav:hover { color: var(--rose); transform: scale(1.15); }
.fav.is-on { color: var(--rose); }
.fav.is-on .icon { fill: currentColor; }
.fav-btn.is-on { border-color: rgba(224, 122, 168, 0.6); color: #ffd3e4; }
.fav-btn.is-on .icon { fill: currentColor; }
.cardpage__nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 24px; }
.cardpage__grid { display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: start; }
.cardpage__visual { position: sticky; top: calc(var(--topbar-h) + 20px); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cardpage__body { display: flex; flex-direction: column; gap: 26px; }
.cardpage__body .chips { margin-top: -10px; }

/* ---------- Historique ---------- */
.hlist { display: grid; gap: 18px; }
.hitem { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 20px 22px; transition: border-color 0.3s, transform 0.3s var(--ease); }
.hitem:hover { border-color: rgba(212, 179, 106, 0.5); }
.hitem.is-hidden { display: none; }
.hitem__cards { display: flex; gap: 4px; flex-wrap: wrap; max-width: 148px; align-content: flex-start; }
.hitem__card { width: 44px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.9); }
.hitem__meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 6px; }
.hitem__date { display: inline-flex; align-items: center; gap: 5px; font: italic 400 15px var(--font-body); color: var(--muted); }
.hitem__date .icon { width: 14px; height: 14px; }
.hitem__title { font: 500 italic 22px var(--font-body); color: var(--ink); margin: 0 0 6px; }
.hitem__excerpt { font-size: 17px; color: var(--ink-2); margin: 0 0 12px; }
.hitem__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.empty { text-align: center; padding: 50px 24px; max-width: 560px; margin: 0 auto; }
.empty__icon { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: rgba(212, 179, 106, 0.12); color: var(--gold); margin-bottom: 14px; }
.empty__icon .icon { width: 32px; height: 32px; }
.empty__icon--ok { color: var(--ok); background: rgba(72, 187, 120, 0.15); }
.empty h2 { font-size: 24px; color: var(--gold-2); margin-bottom: 8px; }
.empty .btn { margin-top: 10px; }
.locked { text-align: center; max-width: 640px; margin: 0 auto; padding: 44px 30px; }
.locked__icon { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: rgba(212, 179, 106, 0.12); color: var(--gold); margin-bottom: 12px; }
.locked__icon .icon { width: 30px; height: 30px; }
.locked__title { font-size: 28px; color: var(--gold-2); margin-bottom: 8px; }
.locked__text { font: italic 400 19px var(--font-body); color: var(--muted); }

/* ---------- Compte ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 0 0 28px; }
.tab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font: 500 16px var(--font-body); transition: all 0.3s; position: relative; }
.tab .icon { width: 16px; height: 16px; }
.tab:hover { border-color: var(--line); color: #fff; }
.tab.is-active { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1407; border-color: transparent; }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fadeUp 0.5s var(--ease); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.stat { text-align: center; padding: 24px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat__icon { color: var(--gold); }
.stat__icon .icon { width: 26px; height: 26px; }
.stat__num { font: 600 36px var(--font-display); color: var(--gold-2); line-height: 1; }
.stat__label { font: italic 400 16px var(--font-body); color: var(--muted); }
.subbanner { display: flex; gap: 16px; align-items: center; margin: 0 0 22px; padding: 18px 22px; }
.subbanner > div { flex: 1; font-size: 17px; color: var(--ink-2); }
.subbanner strong { color: var(--gold-2); font-size: 18px; }
.subbanner__icon { color: var(--gold); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(212, 179, 106, 0.14); flex: none; }
.notifs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.notif { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.22); border: 1px solid var(--line-2); transition: border-color 0.3s, background 0.3s; }
.notif.is-new { border-color: var(--line); background: rgba(212, 179, 106, 0.07); }
.notif__type { color: var(--gold); flex: none; margin-top: 2px; }
.notif__body { flex: 1; font-size: 17px; }
.notif__body p { margin: 4px 0 6px; color: var(--ink-2); }
.notif__body small { color: var(--muted); font-style: italic; }
.backpreview { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.backpreview img { width: 110px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.backpreview > div { flex: 1; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 200px; }
.file input { display: none; }

/* ---------- Offres ---------- */
.offers-block { margin: 0 0 44px; }
.offers-block .lsection__head { text-align: center; margin-bottom: 20px; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; max-width: 900px; margin: 0 auto 30px; }
.offers__group { justify-content: center; margin: 10px 0 14px; }
.offer { text-align: center; padding: 32px 26px 26px; display: flex; flex-direction: column; align-items: center; }
.offer--best { border-color: rgba(212, 179, 106, 0.65); box-shadow: var(--glow), var(--shadow); background: linear-gradient(160deg, rgba(212, 179, 106, 0.12), rgba(124, 92, 255, 0.06)); }
.offer.is-highlight { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.offer__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1407; font: 600 10px var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.offer__name { font: 600 17px var(--font-display); letter-spacing: 0.06em; color: var(--gold-2); margin: 4px 0 6px; }
.offer__desc { font: italic 400 17px var(--font-body); color: var(--muted); margin: 0 0 10px; }
.offer__price { font: 600 40px var(--font-display); color: var(--gold-2); margin: 10px 0 16px; line-height: 1; }
.offer__price small { display: block; font: italic 400 16px var(--font-body); color: var(--muted); margin-top: 6px; }
.offer .ticks { text-align: left; margin: 0 auto 22px; width: 100%; max-width: 270px; }
.offer form { width: 100%; margin-top: auto; }

/* ---------- Authentification, erreurs ---------- */
.authbox { max-width: 470px; margin: 30px auto; text-align: center; padding: 38px 32px; }
.authbox--wide { max-width: 640px; }
.authbox__title { font: 400 32px var(--font-display); letter-spacing: 0.04em; color: var(--gold-2); margin: 4px 0 8px; }
.authbox__sub { font: italic 400 19px var(--font-body); color: var(--muted); margin: 0 0 8px; }
.authbox .form { text-align: left; margin-top: 22px; }
.authbox__links { font-size: 17px; color: var(--muted); margin: 14px 0 0; }
.page-auth .main { display: grid; place-items: center; min-height: calc(100vh - var(--topbar-h) - 200px); }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--line-2); padding: 36px 22px 40px; text-align: center; color: var(--muted); }
.footer__tagline { color: var(--gold); font: italic 400 20px var(--font-body); margin: 0 0 12px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin: 0 0 12px; font-size: 16px; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--gold-2); }
.footer__copy { font: 600 10px var(--font-display); letter-spacing: 0.2em; color: rgba(243, 236, 218, 0.3); margin: 0; }

/* ---------- Fenêtres modales et notifications ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(7, 6, 15, 0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn 0.25s; }
.modal__box { background: linear-gradient(160deg, #19132f, #0f0b20); border: 1px solid var(--line); border-radius: var(--radius); max-width: 900px; width: 100%; max-height: 92vh; overflow: auto; padding: 30px; position: relative; animation: popIn 0.4s var(--ease); box-shadow: var(--shadow); }
.modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--faint); color: var(--gold-2); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.modal__close:hover { background: rgba(212, 179, 106, 0.2); }
.modal__grid { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.modal__grid .tcard { --w: 250px; margin: 0 auto; }
.modal__body { display: flex; flex-direction: column; gap: 18px; }
.modal__body h2 { font-size: 30px; color: var(--gold-2); }
.modal__body h3 { font: 600 12px var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 6px; }
.modal__body p { margin: 0; font-size: 18px; }
.modal--confirm .modal__box { max-width: 460px; text-align: center; }
.modal--confirm p { font-size: 20px; margin: 10px 0 22px; }
.toasts { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 10px; width: min(92vw, 440px); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 12px; background: #1b1534; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow); animation: toastIn 0.45s var(--ease); font-size: 17px; }
.toast.is-leaving { animation: toastOut 0.35s forwards; }
.toast--error { border-color: rgba(224, 122, 168, 0.6); }
.toast--ok { border-color: rgba(143, 216, 168, 0.5); }
.toast .icon { color: var(--gold); }
.toast--error .icon { color: var(--rose); }
.toast--ok .icon { color: var(--ok); }

/* ---------- Page d'accueil Veilstone ---------- */
body.landing { font-size: 19px; }
.lhead { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 18px 28px; isolation: isolate; transition: padding 0.4s var(--ease); }
.lhead::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(7, 6, 15, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-2); opacity: 0; transition: opacity 0.4s; }
.lhead.is-scrolled { padding: 10px 28px; }
.lhead.is-scrolled::before { opacity: 1; }
.lhead__inner { display: flex; justify-content: space-between; align-items: center; max-width: 1320px; margin: 0 auto; gap: 20px; }
.lhead__right { display: flex; align-items: center; gap: 6px; }
.veil { display: inline-block; line-height: 1.2; }
.veil__name { display: block; font: 400 15px var(--font-display); letter-spacing: 0.32em; color: #fff; }
.veil__name em { font-style: italic; color: var(--gold); }
.veil__sub { display: block; font: 400 9.5px var(--font-display); letter-spacing: 0.34em; color: rgba(255, 255, 255, 0.42); }
.lnav { display: flex; gap: 34px; align-items: center; }
.lnav__link { font: 400 11px var(--font-display); letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); transition: color 0.3s; }
.lnav__link:hover { color: var(--gold-2); }
.lnav__cta { font: 600 11px var(--font-display); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(212, 179, 106, 0.4); padding: 11px 18px; transition: all 0.3s; }
.lnav__cta:hover { background: var(--gold); color: #1b1407; border-color: var(--gold); }
/* Menu d'accueil : lettres moins espacées entre 1101 et 1240 px, burger en dessous (sinon les entrées passent sur deux lignes) */
/* Avec le lien « Blog », sept entrées : espacement resserré entre 1130 et 1299 px, burger en dessous ; jamais deux lignes */
.lnav__link, .lnav__cta { white-space: nowrap; }
@media (max-width: 1299px) { .lnav { gap: 20px; } .lnav__link, .lnav__cta { letter-spacing: 0.18em; } .lnav__cta { padding: 11px 14px; } }
@media (max-width: 1129px) { .lnav { display: none; } .lhead .burger { display: flex; } }
.lmain { position: relative; }
.hero { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 30px; padding: 130px 48px 90px; max-width: 1320px; margin: 0 auto; position: relative; }
.hero__inner { position: relative; z-index: 2; }
.hero__title { font: 300 clamp(60px, 9.4vw, 136px)/0.95 var(--font-body); font-style: italic; color: rgba(255, 255, 255, 0.93); margin: 14px 0 0; letter-spacing: -0.01em; }
.hero__t1, .hero__t2 { display: block; }
.hero__t2 { background: linear-gradient(110deg, #fff6d8, var(--gold-2) 35%, var(--gold) 70%, #e8cf8a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font: 300 23px/1.45 var(--font-body); color: rgba(255, 255, 255, 0.58); margin: 26px 0 38px; max-width: 540px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
/* Les cartes voisines s'écartent d'au moins 85 % de leur largeur : la carte centrale ne couvre jamais les noms */
.hero__cards { position: relative; height: 520px; perspective: 1400px; --mx: 0; --my: 0; --cw: clamp(140px, 14vw, 230px); --sp: calc(var(--cw) * 0.85); }
.hero__card { position: absolute; width: var(--cw); aspect-ratio: 2 / 3; border-radius: 16px; overflow: hidden; left: 50%; top: 50%; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(212, 179, 106, 0.4); transform-origin: 50% 130%; transform: translate(-50%, -50%) rotate(calc((var(--n) - 1) * 13deg)) translate3d(calc((var(--n) - 1) * var(--sp) + var(--mx) * (var(--n) - 1) * 14px), calc(var(--my) * 10px), 0); animation: floatCard 7s ease-in-out infinite; animation-delay: calc(var(--n) * -2.3s); transition: transform 0.6s var(--ease); }
.hero__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__card:nth-child(2) { z-index: 2; }
.hero__card-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%); background-size: 250% 100%; animation: shine 6s linear infinite; animation-delay: calc(var(--n) * -2s); }
@keyframes floatCard { 0%, 100% { margin-top: 0; } 50% { margin-top: -14px; } }
@keyframes shine { 0% { background-position: 150% 0; } 100% { background-position: -150% 0; } }
.hero__scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); width: 24px; height: 60px; display: block; }
.hero__scroll span { position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: linear-gradient(transparent, var(--gold)); animation: scrollHint 2.2s ease-in-out infinite; }
@keyframes scrollHint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.lsection { padding: 110px 28px; border-top: 1px solid rgba(255, 255, 255, 0.05); position: relative; }
.lsection__inner { max-width: 1100px; margin: 0 auto; }
.lsection__inner--narrow { max-width: 760px; text-align: center; }
.lsection__head { text-align: center; max-width: 760px; margin: 0 auto; }
.lsection__cta { text-align: center; margin: 10px 0 0; }
.ltitle { font: 300 italic clamp(38px, 5.6vw, 68px)/1.05 var(--font-body); color: rgba(255, 255, 255, 0.88); margin: 12px 0 22px; }
.ltitle--authors span { display: block; }
.ltitle--authors small { display: block; font: 400 11px var(--font-display); letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin: 10px 0 18px; font-style: normal; }
.ltitle--authors b { display: block; font-size: 0.5em; color: rgba(255, 255, 255, 0.4); margin: 4px 0; font-weight: 300; }
.rule { display: block; width: 64px; height: 1px; background: rgba(212, 179, 106, 0.45); margin: 0 auto 26px; }
.llead { font: 300 22px/1.6 var(--font-body); color: rgba(255, 255, 255, 0.58); max-width: 660px; margin: 0 auto; }
.arcana-strip { display: flex; gap: 12px; margin: 64px auto 0; max-width: 1240px; overflow-x: auto; padding: 16px 20px 6px; scrollbar-width: none; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.arcana-strip::-webkit-scrollbar { display: none; }
.arcana-strip__card { flex: none; width: 92px; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; opacity: 0.8; border: 1px solid rgba(212, 179, 106, 0.25); transition: transform 0.45s var(--ease), opacity 0.4s, border-color 0.4s; }
.arcana-strip__card:nth-child(even) { transform: translateY(12px); }
.arcana-strip__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arcana-strip__card:hover { opacity: 1; transform: translateY(-8px) scale(1.06); border-color: var(--gold); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin: 54px 0 40px; }
.feature { display: block; padding: 30px 26px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line-2); border-radius: var(--radius); color: inherit; transition: border-color 0.4s, box-shadow 0.4s; }
.feature:hover { border-color: rgba(212, 179, 106, 0.5); box-shadow: var(--glow); }
.feature--soon { opacity: 0.85; }
.feature__soon { display: inline-flex; margin: 0 0 10px; font-size: 12px; }
.feature__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(212, 179, 106, 0.12); color: var(--gold); margin-bottom: 16px; }
.feature__icon .icon { width: 24px; height: 24px; }
.feature__title { font: 600 14px var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 10px; }
.feature__text { font-size: 17.5px; color: rgba(255, 255, 255, 0.62); margin: 0; }
.collection { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.09); margin-top: 44px; }
.collection__item { background: rgba(10, 8, 22, 0.82); padding: 42px 34px; display: block; color: inherit; position: relative; transition: background 0.4s; }
.collection__item--link:hover { background: rgba(212, 179, 106, 0.07); }
.collection__soon { display: inline-block; font: 600 9px var(--font-display); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(212, 179, 106, 0.35); padding: 6px 10px; margin-bottom: 18px; }
.collection__soon--live { background: var(--gold); color: #1b1407; border-color: var(--gold); }
.collection__title { font: 400 italic 29px var(--font-body); color: rgba(255, 255, 255, 0.88); margin: 0 0 6px; }
.collection__desc { font-size: 16.5px; color: rgba(255, 255, 255, 0.42); margin: 0; }
.collection__open { display: block; margin-top: 16px; color: var(--gold); font: 600 11px var(--font-display); letter-spacing: 0.22em; text-transform: uppercase; }
.lquote { text-align: center; padding: 90px 24px; font: italic 300 clamp(22px, 3vw, 30px) var(--font-body); color: var(--gold); }
.lquote p { margin: 0; }
.lfoot { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 64px 28px 40px; max-width: 1240px; margin: 0 auto; }
.lfoot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 36px; }
.lfoot__h { font: 600 10px var(--font-display); letter-spacing: 0.3em; text-transform: uppercase; color: rgba(212, 179, 106, 0.65); margin: 0 0 16px; }
.lfoot__link { display: block; color: rgba(255, 255, 255, 0.48); margin-bottom: 9px; font-size: 17.5px; }
.lfoot__link:hover { color: var(--gold-2); }
.lfoot__addr { color: rgba(255, 255, 255, 0.42); font-size: 16.5px; line-height: 1.65; margin-top: 14px; }
.lfoot__copy { text-align: center; margin: 44px 0 0; font: 400 10.5px var(--font-display); letter-spacing: 0.22em; color: rgba(255, 255, 255, 0.3); }

/* ---------- Apparitions et effets ---------- */
.reveal { opacity: 0; translate: 0 26px; transition: opacity 0.95s var(--ease), translate 0.95s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; translate: 0 0; }
html:not(.js) .reveal { opacity: 1; translate: none; }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s var(--ease); will-change: transform; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.94) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(18px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- Responsive ---------- */
/* Barre d'application (9 entrées, libellés jusqu'à 610 px selon la langue) :
   icônes + libellés à partir de 1700 px, libellés seuls entre 1366 et 1699 px, icônes seules en dessous. */
@media (max-width: 1699px) {
  .mainnav__link .icon { display: none; }
  .mainnav__link { padding: 9px 12px; font-size: 15px; gap: 0; }
  .brand__text { font-size: 12px; letter-spacing: 0.12em; }
}
@media (max-width: 1365px) {
  .mainnav__link .icon { display: inline-block; width: 19px; height: 19px; }
  .mainnav__link span { display: none; }
  .mainnav__link { padding: 9px 10px; }
}
@media (max-width: 960px) {
  .mainnav, .topbar__login, .lnav { display: none; }
  .burger { display: flex; }
  /* En-tête mobile : marque + burger seulement (langues et compte sont dans le menu et la barre d'onglets) */
  body.app .langmenu, body.app .topbar__account { display: none; }
  .brand { min-width: 0; }
  .brand__text { white-space: normal; font-size: 10.5px; letter-spacing: 0.1em; line-height: 1.25; max-width: 190px; }
  .topbar__right { flex-shrink: 0; }
  .hero { grid-template-columns: 1fr; padding: 120px 24px 80px; text-align: center; gap: 10px; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__cards { height: clamp(230px, 62vw, 380px); --cw: clamp(88px, 27vw, 170px); --sp: calc(var(--cw) * 0.85); }
  .guidance { grid-template-columns: 1fr; gap: 30px; }
  .guidance__card { position: static; }
  .cardpage__grid { grid-template-columns: 1fr; gap: 30px; }
  .cardpage__visual { position: static; }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__grid .tcard { --w: 200px; }
  .player__stage { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .twocol { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  body.app { padding-bottom: 76px; }
  .tabbar { display: flex; }
  .main { padding: 18px 16px 70px; }
  .panel { padding: 22px 18px; }
  .stats { grid-template-columns: 1fr; gap: 10px; }
  .stat { flex-direction: row; justify-content: space-between; padding: 14px 18px; }
  .hitem { grid-template-columns: 1fr; }
  .hitem__cards { max-width: none; }
  .subbanner { flex-wrap: wrap; }
  .medit-selected { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .medit-selected .actions--start { justify-content: center; }
  .compat-cards { gap: 10px 6px; }
  .compat-cards .tcard { --w: 92px; }
  .compat-cards__label { font-size: 13px; }
  .toasts { bottom: 90px; }
  .lsection { padding: 80px 20px; }
  .collection__item { padding: 30px 24px; }
  .lhead { padding: 14px 16px; }
  .lhead.is-scrolled { padding: 8px 16px; }
  .spread--celtic { gap: 6px 8px; }
  .spread--celtic .tcard { --w: 78px; }
  .spread--celtic .tcard__name { font-size: 7.5px; }
  .spread--celtic .tcard__cap { padding: 14px 3px 4px; }
  .spread--celtic .tcard__num { width: 20px; height: 20px; font-size: 9px; top: -7px; left: -7px; }
  .tcard--lg { --w: 200px; }
  .tcard--xl { --w: 240px; }
  .fan { height: 230px; }
  .fan__card { width: 66px; margin-left: -33px; transform-origin: 50% 330%; }
  .steps__item { padding: 6px 8px; font-size: 9.5px; }
  .steps__item + .steps__item::before { width: 8px; }
  .reading-meta { font-size: 16px; }
  .questions li { font-size: 18px; }
}
@media (max-width: 480px) {
  /* Libellés longs (allemand, portugais) : les boutons passent sur deux lignes au lieu d'être coupés */
  .btn { white-space: normal; text-align: center; letter-spacing: 0.1em; padding: 12px 18px; }
  .btn--lg { padding: 14px 22px; font-size: 13px; }
  .minilist li a { flex-wrap: wrap; }
  .minilist li a small { margin-left: 0; width: 100%; }
}
@media (max-width: 420px) {
  .spread--celtic .tcard { --w: 68px; }
  .spread--celtic { gap: 6px 6px; }
  .spread { gap: 18px 10px; }
  .tcard { --w: 130px; }
  .tcard--sm { --w: 96px; }
  .page-title { font-size: 30px; }
  .btn--lg { padding: 14px 20px; font-size: 12.5px; }
  .fan__card { width: 60px; margin-left: -30px; }
  .score, .score__ring { width: 150px; }
  .score__ring { height: 150px; }
  .score__value { height: 150px; padding-top: 50px; font-size: 38px; }
}

/* ---------- Mouvement réduit et impression ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .type-in p, .insight { opacity: 1; translate: none; }
  .tcard__inner { transition-duration: 0.3s !important; }
}
/* ---------- Impression : fond blanc économique, titres or, cartes entières et bien alignées ---------- */
@media print {
  @page { size: A4; margin: 14mm 14mm 16mm; }
  :root { --print-gold: #8a6a2a; --print-ink: #1d1a2a; --print-muted: #5c5668; --print-line: #d9d2c0; }
  html, body { background: #fff !important; color: var(--print-ink) !important; }
  body { padding: 0 !important; font-size: 12pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .topbar, .footer, .tabbar, .stars, .nebula, .actions, .steps, .mobilemenu, .toasts, .ritual, .deck, .hint, .halo, .reading-meta .btn, .tcard__shine, .tcard__badge, .tcard__num, .tcard__face--back, .skip, .fav-btn, .cardpage__nav, .burger, #modal-root, .note { display: none !important; }
  .main { max-width: none; padding: 0; margin: 0; }
  /* Animations d'apparition : tout visible */
  .reveal, .type-in p, .insight, .is-dealing, .tcard { opacity: 1 !important; translate: 0 0 !important; animation: none !important; transition: none !important; }
  /* Titres */
  .page-head { margin: 0 0 8mm; }
  .page-title, .page-title--left, .h-section, .h-small, .callout__title, .kicker, .insight__card, .insight__pos, .affirmation, .score__num, .tcard__pos, .tcard__name { color: var(--print-gold) !important; -webkit-text-fill-color: var(--print-gold); background: none !important; filter: none !important; text-shadow: none !important; }
  .page-title { font-size: 26pt; margin: 0 0 4px; }
  .page-sub, .spread__label, .compat-cards__label { color: var(--print-muted) !important; }
  .h-section { font-size: 11pt; letter-spacing: 0.22em; margin: 7mm 0 3mm; border-bottom: 1px solid var(--print-line); padding-bottom: 2mm; break-after: avoid; }
  /* Textes */
  .prose p, .prose, .questions li, .insight, .callout, .callout p, .quote, .ticks li, .reading__col, .reading__col p, .poem__text, .chip, li, p { color: var(--print-ink) !important; background: none !important; box-shadow: none !important; }
  .prose p, .prose--lg p { font-size: 12pt; line-height: 1.55; }
  .panel, .panel--reading, .panel--soft, .reading__col, .insight, .callout, .quote, .box { background: none !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; }
  .panel--reading { max-width: none; }
  .callout { border-left: 2px solid var(--print-gold) !important; padding: 2mm 5mm !important; margin: 4mm 0; }
  .quote { border-left: 2px solid var(--print-gold) !important; padding: 1mm 5mm !important; color: var(--print-gold) !important; }
  .chip { border: 1px solid var(--print-line) !important; background: none !important; }
  .chip--gold, .chip--violet { color: var(--print-gold) !important; }
  .reading__cols { gap: 5mm; }
  .reading__col { break-inside: avoid; border-top: 1px solid var(--print-line) !important; padding-top: 3mm !important; }
  .insight { break-inside: avoid; border-bottom: 1px solid var(--print-line) !important; padding: 3mm 0 !important; border-radius: 0 !important; }
  .questions li, .callout, .quote { break-inside: avoid; }
  .poem__text { font-size: 11pt !important; line-height: 1.4 !important; }
  /* Cartes : faces avant à plat, aucune perspective, dimensions fixes en millimètres */
  .tcard { --w: 46mm !important; width: var(--w) !important; aspect-ratio: auto !important; height: auto !important; perspective: none !important; transform: none !important; cursor: default; background: none !important; border: 0 !important; box-shadow: none !important; }
  .tcard--sm { --w: 34mm !important; }
  .tcard--lg, .tcard--xl { --w: 62mm !important; }
  .tcard__inner { position: static !important; transform: none !important; transform-style: flat !important; }
  .tcard__face { position: static !important; transform: none !important; backface-visibility: visible !important; border-radius: 0; border: 0; background: none !important; box-shadow: none !important; overflow: visible; }
  .tcard__face img { border-radius: 3mm; border: 1px solid var(--print-line); }
  .tcard__face img { width: 100% !important; height: auto !important; aspect-ratio: 2 / 3; object-fit: cover; transition: none !important; }
  .tcard.is-reversed .tcard__face--front img { transform: rotate(180deg); }
  .tcard__cap { position: static !important; background: none !important; padding: 2mm 0 0 !important; text-align: center; }
  .tcard__name { font-size: 9.5pt !important; }
  .tcard__pos { font-size: 8pt !important; }
  .spread { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 6mm 7mm !important; margin: 4mm auto 8mm !important; max-width: none; break-inside: avoid; }
  .spread__slot { gap: 2mm; }
  .spread__label { font-size: 9pt; max-width: 46mm; }
  /* Croix celtique imprimée : la carte qui croise (2) est posée à côté de la situation (1), sans rotation, pour rester lisible */
  .spread--celtic { display: grid !important; grid-template-columns: repeat(5, 28mm) !important; grid-template-rows: repeat(4, max-content) !important; gap: 2mm 3mm !important; justify-content: center; break-inside: auto; }
  .spread--celtic .tcard { --w: 28mm !important; }
  .spread--celtic .spread__slot { break-inside: avoid; }
  .spread--celtic .tcard__name { font-size: 7pt !important; }
  .spread--celtic .tcard__pos { font-size: 6.5pt !important; }
  .spread--celtic .spread__slot[data-pos=cc1] { grid-column: 2 !important; }
  .spread--celtic .spread__slot[data-pos=cc2] { grid-column: 3 !important; }
  .spread--celtic .spread__slot[data-pos=cc2] .tcard { transform: none !important; }
  .spread--celtic .spread__slot[data-pos=cc3] { grid-column: 1 !important; }
  .spread--celtic .spread__slot[data-pos=cc4] { grid-column: 4 !important; }
  .spread--celtic .spread__slot[data-pos=cc5], .spread--celtic .spread__slot[data-pos=cc6] { grid-column: 2 !important; }
  .spread--celtic .spread__slot[data-pos=cc7], .spread--celtic .spread__slot[data-pos=cc8], .spread--celtic .spread__slot[data-pos=cc9], .spread--celtic .spread__slot[data-pos=cc10] { grid-column: 5 !important; }
  .compat-cards { gap: 4mm 3mm; max-width: none; }
  .compat-cards .tcard { --w: 38mm !important; }
  .cardpage__grid { display: block; }
  .cardpage__visual { position: static; float: left; width: 62mm; margin: 0 8mm 4mm 0; }
  .cardpage__body { display: block; }
  .cardpage__body .h-section { clear: none; }
  .poem { clear: both; }
  .poem { border-color: var(--print-line) !important; padding: 4mm !important; }
  a { color: inherit !important; text-decoration: none; }
}

/* ---------- Réservation de consultations ---------- */
.services { max-width: 1000px; }
.service { position: relative; cursor: pointer; text-align: center; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease); }
.service input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.service:hover { border-color: rgba(212, 179, 106, 0.5); transform: translateY(-3px); }
.service:has(input:checked) { border-color: var(--gold-2); box-shadow: 0 0 0 2px var(--gold), var(--glow), var(--shadow); background: linear-gradient(160deg, rgba(212, 179, 106, 0.14), rgba(124, 92, 255, 0.06)); }
.service:has(input:focus-visible) { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.service .offer__desc { font-size: 16.5px; margin: 10px 0 12px; }
.service .offer__price { font-size: 32px; margin: 6px 0 0; }
.service__check { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1407; opacity: 0; transform: scale(0.6); transition: opacity 0.25s, transform 0.3s var(--ease); }
.service:has(input:checked) .service__check { opacity: 1; transform: scale(1); }
.service__check .icon { width: 16px; height: 16px; }
.booking .panel--form { margin-top: 26px; }
.chips--select label.chip { cursor: pointer; }
.lsection--booking { background: linear-gradient(180deg, transparent, rgba(212, 179, 106, 0.05), transparent); }
.table th { white-space: nowrap; }

/* ---------- Dans l'application Android (coque WebView) ---------- */
html.in-app .lhead, html.in-app .lnav__cta { display: none; }
html.in-app .lmain { padding-top: 0; }
html.in-app .hero { padding-top: 60px; }
html.in-app .topbar__login { display: none; }
/* Mots longs (allemand) dans les titres de page */
.h-section, .prose--legal h2 { overflow-wrap: anywhere; hyphens: auto; }

/* ---------- Poème de la carte (textes du livre) ---------- */
.poem { text-align: center; padding: 26px 18px; margin: 6px 0 26px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.h-section--center { justify-content: center; }
.poem__text { margin: 0; font: italic 400 21px/1.6 var(--font-body); color: var(--ink); }
.poem__orn { display: block; margin-top: 14px; color: var(--gold); letter-spacing: 0.3em; font-size: 13px; }

/* ==========================================================================
   Blog, commentaires et communauté
   ========================================================================== */

/* ---------- Liste des articles ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 380px)); justify-content: center; gap: 24px; }
.posts--landing { margin: 40px 0 34px; text-align: left; }
.posts__other { margin: 44px 0 18px; }
.post { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s; }
.post:hover { border-color: rgba(212, 179, 106, 0.5); transform: translateY(-4px); }
.post__cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0c0920; }
.post__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.post:hover .post__cover img { transform: scale(1.04); }
/* Vignette tirée d'une carte (format portrait) : on cadre le haut de l'image, là où se trouve le sujet */
.post__cover--card img { object-position: 50% 30%; }
.post__cover--plain { display: grid; place-items: center; background: radial-gradient(120% 140% at 20% 0%, rgba(124, 92, 255, 0.34), transparent 60%), radial-gradient(120% 140% at 90% 100%, rgba(212, 179, 106, 0.26), transparent 62%), #0c0920; }
.post__mark { font-size: 34px; color: var(--gold-2); text-shadow: 0 0 26px rgba(212, 179, 106, 0.65); }
.post__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font: italic 400 15.5px var(--font-body); color: var(--muted); }
.post__meta span { display: inline-flex; align-items: center; gap: 5px; }
.post__meta .icon { width: 14px; height: 14px; }
.post__meta .badge { font-style: normal; }
.post__title { font: 600 19px/1.3 var(--font-display); letter-spacing: 0.03em; overflow-wrap: anywhere; }
.post__title a { color: var(--gold-2); }
.post__title a:hover { color: #fff3cf; }
.post__excerpt { margin: 0; color: var(--ink-2); font-size: 18px; line-height: 1.5; }
.post__foot { margin: auto 0 0; padding-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 14px; }
.post__comments { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font: italic 400 15.5px var(--font-body); }
.post__comments .icon { width: 15px; height: 15px; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin: 34px 0 0; }
.pager > :last-child { justify-self: end; }
.pager > :first-child { justify-self: start; }
.pager__info { color: var(--muted); font-style: italic; text-align: center; }
.blog-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 40px 0 0; }
.note--stack { align-items: flex-start; text-align: left; }
.note__list { margin: 8px 0 0; padding-left: 20px; }
.note__list li { margin-bottom: 4px; }
.note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.lsection--blog { background: linear-gradient(180deg, transparent, rgba(124, 92, 255, 0.06), transparent); }

/* ---------- Article ---------- */
.article { max-width: 800px; margin: 0 auto; }
.article__nav { margin: 0 0 22px; }
.article__head { text-align: center; margin: 0 0 28px; }
.article__head .kicker { display: block; letter-spacing: 0.24em; }
.article__title { font-size: clamp(30px, 4.6vw, 50px); overflow-wrap: anywhere; hyphens: auto; }
.article__author { margin: 12px 0 0; font: italic 400 19px var(--font-body); color: var(--muted); }
.article__cover { margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.article__cover img { display: block; width: 100%; height: auto; }
.article__body { overflow-wrap: anywhere; }
.article__body p { font-size: 21px; line-height: 1.68; }
.article__body h2 { font: 600 clamp(20px, 2.6vw, 25px)/1.3 var(--font-display); letter-spacing: 0.04em; color: var(--gold-2); margin: 1.7em 0 0.6em; }
.article__body h3 { font: 600 15px/1.4 var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 1.6em 0 0.6em; }
.article__body h2:first-child, .article__body h3:first-child { margin-top: 0; }
.article__body a { text-decoration: underline; text-underline-offset: 3px; }
.article__body ul, .article__body ol { padding-left: 26px; margin: 0 0 1.1em; font-size: 21px; line-height: 1.6; }
.article__body li { margin-bottom: 8px; }
.article__body li::marker { color: var(--gold); }
.article__body blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 3px solid var(--gold); background: linear-gradient(90deg, rgba(212, 179, 106, 0.12), rgba(212, 179, 106, 0.02)); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.article__body blockquote p { margin: 0; font-style: italic; color: var(--ink); }
.article__body figure { margin: 1.6em 0; text-align: center; }
.article__body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line-2); }
.article__body figure img { max-height: 540px; width: auto; box-shadow: var(--shadow); }
.article__body hr { border: 0; height: 1px; margin: 2.2em auto; max-width: 240px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.article__foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 34px 0 0; padding-top: 26px; border-top: 1px solid var(--line-2); }
.article__siblings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin: 26px 0 0; }
.sibling { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); color: var(--ink); transition: border-color 0.3s, background 0.3s; min-width: 0; }
.sibling:hover { border-color: var(--line); background: rgba(212, 179, 106, 0.06); color: var(--ink); }
.sibling small { display: inline-flex; align-items: center; gap: 4px; font: 600 10.5px var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.sibling small .icon { width: 14px; height: 14px; }
.sibling span { font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.sibling--next { text-align: right; align-items: flex-end; }

/* ---------- Commentaires ---------- */
.comments-zone { max-width: 800px; margin: 54px auto 0; scroll-margin-top: calc(var(--topbar-h) + 16px); }
.comments-zone .h-section { flex-wrap: wrap; }
.comments-zone__count { margin-left: auto; font: italic 400 16.5px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.commentgate { margin: 0 0 26px; }
.commentgate p { margin: 0 0 14px; font-size: 19px; }
.commentgate .actions { margin-top: 0; }
.commentform { margin: 0 0 30px; }
.commentform__as { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--ink-2); font-size: 18px; }
.commentform__reply { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 12px; padding: 8px 14px; border-radius: var(--radius-sm); background: rgba(124, 92, 255, 0.14); border: 1px solid rgba(167, 139, 250, 0.3); color: #dcd3ff; font-size: 17px; }
.commentform .field { margin-bottom: 12px; }
.commentform textarea { min-height: 120px; }
.commentform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.commentform__foot .field__hint { flex: 1 1 280px; margin: 0; }
.commentform__foot .field__hint a { text-decoration: underline; text-underline-offset: 3px; }
.commentform__count { color: var(--muted); font: 500 14px var(--font-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.commentform__count.is-near { color: var(--gold-2); }
.commentform__count.is-over { color: #f3a9c6; }
.commentform.is-busy { opacity: 0.7; pointer-events: none; }
.comments { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.comments--replies { margin: 18px 0 0; padding-left: 18px; border-left: 1px solid var(--line-2); gap: 18px; }
.comments--replies:empty { display: none; }
.comment { display: flex; gap: 14px; align-items: flex-start; scroll-margin-top: calc(var(--topbar-h) + 20px); }
.comment__avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 600 16px var(--font-display); color: #fff; background: linear-gradient(135deg, hsl(var(--h, 260) 46% 42%), hsl(calc(var(--h, 260) + 40) 52% 26%)); border: 1px solid rgba(255, 255, 255, 0.16); }
.comment--reply .comment__avatar { width: 34px; height: 34px; font-size: 13px; }
.comment__main { flex: 1; min-width: 0; }
.comment__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 4px; font-size: 16px; color: var(--muted); }
.comment__name { color: var(--ink); font-size: 18.5px; font-weight: 600; overflow-wrap: anywhere; }
.comment.is-staff > .comment__main > .comment__meta .comment__name { color: var(--gold-2); }
.comment__meta time { font-style: italic; }
.comment__body { font-size: 19.5px; line-height: 1.55; color: var(--ink); overflow-wrap: anywhere; }
.comment__actions { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 8px 0 0; }
.comment__actions:empty { display: none; }
.comment__actions .link { font-size: 16px; color: var(--muted); text-decoration: none; }
.comment__actions .link:hover { color: var(--gold-2); text-decoration: underline; }
.comment.is-pending > .comment__main > .comment__body { opacity: 0.7; }
.comment.is-pending > .comment__avatar { opacity: 0.6; }
.comment.is-fresh > .comment__main { animation: commentIn 1.6s var(--ease); border-radius: var(--radius-sm); }
.comment.is-leaving { opacity: 0; translate: 0 -8px; transition: opacity 0.4s, translate 0.4s; }
@keyframes commentIn { 0% { background: rgba(212, 179, 106, 0.22); box-shadow: 0 0 0 10px rgba(212, 179, 106, 0.22); } 100% { background: transparent; box-shadow: 0 0 0 10px transparent; } }
#comments-empty { margin-top: 4px; }
#comments-empty:empty { display: none; }

/* ---------- Fenêtres de modération et de signalement ---------- */
.modal--mod .modal__box, .modal--report .modal__box { max-width: 540px; }
.modal--mod .modal__box { text-align: center; }
.modmsg__icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; margin: 6px 0 14px; background: rgba(212, 179, 106, 0.14); color: var(--gold-2); }
.modmsg__icon .icon { width: 30px; height: 30px; }
.modmsg--reject .modmsg__icon { background: rgba(224, 122, 168, 0.16); color: #f3a9c6; }
.modmsg--support .modmsg__icon { background: rgba(124, 92, 255, 0.2); color: #dcd3ff; }
.modmsg__title { font: 600 20px/1.3 var(--font-display); letter-spacing: 0.05em; color: var(--gold-2); margin: 0 0 12px; }
.modmsg__text { font-size: 20px; line-height: 1.55; margin: 0 0 10px; }
.modmsg__hint { font-size: 18px; color: var(--ink-2); margin: 0 0 6px; }
.modmsg--support .modmsg__hint { padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(124, 92, 255, 0.14); border: 1px solid rgba(167, 139, 250, 0.3); color: #ece6ff; margin-top: 14px; }
.modal--mod .actions { margin-top: 20px; }
.report__title { font: 600 18px/1.3 var(--font-display); letter-spacing: 0.06em; color: var(--gold-2); margin: 0 40px 10px 0; }
.report__text { font-size: 18.5px; color: var(--ink-2); margin: 0 0 16px; }
.reasons { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; }
.reason { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); cursor: pointer; font-size: 18.5px; transition: border-color 0.25s, background 0.25s; }
.reason:hover { border-color: var(--line); }
.reason input { accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
.reason:has(input:checked) { border-color: var(--gold); background: rgba(212, 179, 106, 0.1); }

/* ---------- Charte ---------- */
.charter__rules { padding-left: 0; list-style: none; counter-reset: regle; display: grid; gap: 14px; margin: 0 0 8px; }
.charter__rules li { counter-increment: regle; position: relative; padding: 2px 0 2px 52px; font-size: 19.5px; line-height: 1.55; margin: 0; }
.charter__rules li::before { content: counter(regle); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 15px var(--font-display); color: #1b1407; background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.charter__rules strong { color: var(--gold-2); }
.charter .actions { margin-top: 28px; }

/* ---------- Compte : onglet Communauté ---------- */
.community__state { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; font-size: 19px; font-weight: 600; color: var(--ink); }
.community__state .icon { flex: none; margin-top: 3px; color: var(--gold); }
.community__state--ok, .community__state--ok .icon { color: var(--ok); }
.community__state--alert, .community__state--alert .icon { color: #f3a9c6; }
.community__text { margin: 0 0 12px; font-size: 18px; color: var(--ink-2); overflow-wrap: anywhere; }
.community__text--muted { font-style: italic; color: var(--muted); }
.community__strikes { margin-top: 22px; }
.meter { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin: 0 0 12px; }
.meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), var(--rose)); }
.strikes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.strike { padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(224, 122, 168, 0.3); }
.strike.is-off { border-color: var(--line-2); opacity: 0.72; }
.strike__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 4px; font-size: 18.5px; }
.strike__head small { color: var(--muted); font-style: italic; margin-left: auto; }
.strike__reason { margin: 0 0 8px; color: var(--ink-2); font-size: 17.5px; }
.strike__quote { margin: 0 0 10px; padding: 8px 14px; border-left: 2px solid var(--line); color: var(--muted); font-style: italic; font-size: 17px; overflow-wrap: anywhere; }
.strike__appeal { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; font-style: italic; color: var(--muted); }
.strike__appeal .icon { width: 16px; height: 16px; }
.strike__appeal--ok { color: var(--ok); }
.strike__form summary { list-style: none; display: inline-flex; }
.strike__form summary::-webkit-details-marker { display: none; }
.strike__form form { margin-top: 14px; }

@media (max-width: 768px) {
  .article__body p, .article__body ul, .article__body ol { font-size: 20px; }
  .post__body { padding: 18px 18px 20px; }
  .comments--replies { padding-left: 12px; }
  .comment { gap: 10px; }
  .comment__avatar { width: 36px; height: 36px; font-size: 14px; }
  .comment--reply .comment__avatar { width: 30px; height: 30px; font-size: 12px; }
  .charter__rules li { padding-left: 46px; }
  .strike__head small { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .article__siblings { grid-template-columns: minmax(0, 1fr); }
  .sibling--next { text-align: left; align-items: flex-start; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager__info { grid-column: 1 / -1; order: -1; }
  .commentform__foot .btn { width: 100%; }
  .comments-zone__count { margin-left: 0; width: 100%; }
}
@media print {
  .commentform, .commentgate, .comment__actions, .article__foot, .article__nav, .blog-links, .pager { display: none !important; }
}

/* ---------- Menu chargé (neuf entrées ou plus : blog, méditations et consultations ouverts) : les paliers montent d'un cran ---------- */
body.app .topbar--many .topbar__inner { max-width: 1840px; }
@media (max-width: 1919px) {
  .topbar--many .mainnav__link .icon { display: none; }
  .topbar--many .mainnav__link { padding: 9px 12px; font-size: 15px; gap: 0; }
  .topbar--many .brand__text { font-size: 12px; letter-spacing: 0.12em; }
}
@media (max-width: 1499px) {
  .topbar--many .mainnav__link .icon { display: inline-block; width: 19px; height: 19px; }
  .topbar--many .mainnav__link span { display: none; }
  .topbar--many .mainnav__link { padding: 9px 8px; }
}
