/* ==========================================================================
   BONNE NOUVELLE — Maison de tarot
   Direction : encre de nuit, or patiné, vermillon. Bodoni Moda · Newsreader · Marcellus SC
   ========================================================================== */

@font-face { font-family: 'Bodoni Moda'; src: url('../fonts/bodoni-moda.woff2') format('woff2-variations'), url('../fonts/bodoni-moda.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url('../fonts/bodoni-moda-italic.woff2') format('woff2-variations'), url('../fonts/bodoni-moda-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader.woff2') format('woff2-variations'), url('../fonts/newsreader.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader-italic.woff2') format('woff2-variations'), url('../fonts/newsreader-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Marcellus SC'; src: url('../fonts/marcellus-sc.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --night-950: #05060B;
  --night-900: #090B13;
  --night-850: #0D0F19;
  --night-800: #12141F;
  --night-750: #171A28;
  --night-700: #1D2132;
  --night-600: #2A2F45;

  --gold-50: #FBF4E2;
  --gold-100: #F3E4BC;
  --gold-200: #E8D099;
  --gold-300: #D9B873;
  --gold-400: #C9A257;
  --gold-500: #AD8540;
  --gold-600: #8A6630;
  --gold-700: #5E4420;

  --ivory: #ECE4D2;
  --ivory-2: #BCB4A2;
  --ivory-3: #8A8476;
  --ivory-4: #5E5A52;

  --vermilion: #D2553A;
  --vermilion-soft: rgba(210, 85, 58, .14);
  --sage: #8FB89A;

  --paper: #F1EADA;
  --paper-2: #E7DDC7;
  --paper-ink: #1B1813;
  --paper-ink-2: #5A5244;
  --paper-gold: #93702F;

  --line: rgba(232, 208, 153, .14);
  --line-2: rgba(232, 208, 153, .24);
  --line-3: rgba(232, 208, 153, .42);

  --foil: linear-gradient(115deg, #8A6630 0%, #E8D099 20%, #B48A3C 38%, #FBF4E2 50%, #C9A257 62%, #8A6630 80%, #D9B873 100%);

  --f-display: 'Bodoni Moda', 'Bodoni 72', Didot, 'Times New Roman', serif;
  --f-text: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --f-caps: 'Marcellus SC', 'Trajan Pro', Georgia, serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 3px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 74px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html.has-modal { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--night-900);
  color: var(--ivory);
  font: 400 18px/1.62 var(--f-text);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(46, 60, 118, .32), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(35, 44, 90, .28), transparent 60%),
    radial-gradient(800px 500px at 60% 110%, rgba(210, 85, 58, .07), transparent 60%),
    var(--night-900);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
img, svg { display: block; max-width: 100%; }
.ico { display: inline-block; flex: none; vertical-align: middle; }
a { color: var(--gold-200); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-50); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: rgba(201, 162, 87, .38); color: var(--gold-50); }
:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: 2px; }
input, textarea, select { font: inherit; color: inherit; }
hr { border: 0; height: 1px; background: var(--line); margin: 32px 0; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--night-900); }
::-webkit-scrollbar-thumb { background: #2C2A2A; border: 3px solid var(--night-900); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-600); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--gold-300); color: var(--night-900); padding: 10px 16px; font-family: var(--f-caps); letter-spacing: .14em; }
.skip:focus { top: 12px; }

/* ---------- Typographie ---------- */
.display { font-family: var(--f-display); font-weight: 400; line-height: .96; letter-spacing: -.012em; }
.h1 { font-family: var(--f-display); font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -.012em; }
.h2 { font-family: var(--f-display); font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.04; letter-spacing: -.01em; }
.h3 { font-family: var(--f-display); font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.15; }
.h4 { font-family: var(--f-display); font-size: 1.28rem; line-height: 1.2; }
.h1 em, .h2 em, .h3 em, .display em { font-style: italic; }
.eyebrow {
  display: flex; align-items: center; gap: .8em;
  font-family: var(--f-caps); font-size: .76rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-300);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.caps { font-family: var(--f-caps); letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: var(--ivory-2); line-height: 1.66; max-width: 36em; }
.muted { color: var(--ivory-3); }
.small { font-size: .88rem; }
.tiny { font-size: .78rem; }
.center { text-align: center; }
.italic { font-style: italic; }
.gold { color: var(--gold-300); }
.foil {
  background: var(--foil);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foil 9s ease-in-out infinite alternate;
}
@keyframes foil { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.ornament { display: flex; align-items: center; gap: 14px; color: var(--gold-400); margin: 28px 0; }
.ornament::before, .ornament::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-3), transparent); }
.ornament .emblem { width: 14px; height: 14px; }
.prose { max-width: 44em; }
.prose h2 { font-family: var(--f-display); font-size: 1.7rem; margin: 2.2em 0 .6em; color: var(--gold-100); }
.prose h3 { font-family: var(--f-display); font-size: 1.25rem; margin: 1.8em 0 .5em; }
.prose p, .prose li { color: var(--ivory-2); }
.prose ul { padding-left: 1.2em; }
.prose strong { color: var(--ivory); font-weight: 500; }

/* ---------- Mise en page ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: 880px; }
.wrap-text { max-width: 760px; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 90px) 0; }
.stack > * + * { margin-top: var(--gap, 18px); }
.row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.grid { display: grid; gap: 22px; }
.view { min-height: calc(100vh - 200px); padding-top: var(--nav-h); }
#view { overflow-x: clip; }
.view-pad { padding-top: calc(var(--nav-h) + clamp(36px, 6vw, 72px)); padding-bottom: clamp(60px, 8vw, 110px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { margin-top: 18px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* ---------- Boutons ---------- */
.btn {
  --h: 52px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 28px;
  font-family: var(--f-caps); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .3s, background-color .25s, border-color .25s, color .25s, background-position .6s var(--ease);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-gold {
  color: #17130B;
  background: var(--foil);
  background-size: 200% 100%;
  background-position: 0% 50%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -1px 0 rgba(0, 0, 0, .25) inset, 0 12px 30px -12px rgba(201, 162, 87, .55);
}
.btn-gold:hover { color: #17130B; background-position: 100% 50%; box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 16px 40px -12px rgba(201, 162, 87, .75); }
.btn-line { color: var(--gold-100); border: 1px solid var(--line-3); background: rgba(201, 162, 87, .03); }
.btn-line:hover { color: var(--gold-50); border-color: var(--gold-300); background: rgba(201, 162, 87, .09); }
.btn-ghost { color: var(--ivory-2); padding: 0 14px; }
.btn-ghost:hover { color: var(--gold-100); }
.btn-danger { color: #fff; background: #8E2F22; border: 1px solid #B44330; }
.btn-danger:hover { color: #fff; background: #A3372A; }
.btn-sm { --h: 40px; padding: 0 18px; font-size: .72rem; letter-spacing: .18em; gap: 9px; }
.btn-lg { --h: 60px; padding: 0 36px; font-size: .84rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn.is-busy { color: transparent !important; pointer-events: none; }
.btn.is-busy::after {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid currentColor; border-color: var(--gold-200) transparent var(--gold-200) transparent;
  animation: spin .9s linear infinite;
}
.btn-gold.is-busy::after { border-color: #17130B transparent #17130B transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--gold-200); border-bottom: 1px solid var(--line-3); padding-bottom: 1px; }
.link:hover { border-color: var(--gold-200); }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%;
  color: var(--ivory-2); border: 1px solid transparent; transition: .2s;
}
.icon-btn:hover { color: var(--gold-100); border-color: var(--line-2); background: rgba(201, 162, 87, .06); }
.icon-btn.is-on { color: var(--gold-200); }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > label, .label { font-family: var(--f-caps); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-2); }
.input {
  width: 100%; height: 54px; padding: 0 18px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--ivory); font: 400 1.08rem/1.4 var(--f-text);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input::placeholder { color: var(--ivory-4); font-style: italic; }
.input:hover { border-color: var(--line-3); }
.input:focus { outline: none; border-color: var(--gold-300); background: rgba(201, 162, 87, .04); box-shadow: 0 0 0 4px rgba(201, 162, 87, .1); }
textarea.input { height: auto; min-height: 120px; padding: 15px 18px; resize: vertical; line-height: 1.55; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-300) 50%), linear-gradient(135deg, var(--gold-300) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
select.input option { background: #12141F; color: var(--ivory); }
.pack-row .input, .set-grid .input { height: 46px; font-size: 1rem; }
.input-code { text-align: center; font-family: var(--f-display); font-size: 2rem; letter-spacing: .4em; text-transform: uppercase; height: 72px; padding-left: .4em; }
.field.has-error .input { border-color: var(--vermilion); }
.field-msg { margin: 0; color: #F09A86; font-size: .9rem; }
.field-hint { margin: 0; color: var(--ivory-3); font-size: .88rem; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: var(--ivory-2); cursor: pointer; line-height: 1.5; }
.check input { appearance: none; flex: none; width: 20px; height: 20px; margin-top: 3px; border: 1px solid var(--line-3); border-radius: 2px; background: rgba(255, 255, 255, .02); display: grid; place-items: center; cursor: pointer; transition: .2s; }
.check input:checked { background: var(--gold-300); border-color: var(--gold-300); }
.check input:checked::after { content: ''; width: 10px; height: 6px; border-left: 2px solid var(--night-900); border-bottom: 2px solid var(--night-900); transform: rotate(-45deg) translate(1px, -1px); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; padding: 6px 0; }
.switch-text { display: grid; gap: 2px; }
.switch-text b { font-weight: 500; color: var(--ivory); }
.switch-text span { font-size: .88rem; color: var(--ivory-3); }
.switch input { appearance: none; position: relative; flex: none; width: 46px; height: 26px; border-radius: 26px; background: var(--night-600); border: 1px solid var(--line-2); cursor: pointer; transition: .25s; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ivory-2); transition: .25s var(--ease); }
.switch input:checked { background: rgba(201, 162, 87, .35); border-color: var(--gold-400); }
.switch input:checked::after { transform: translateX(20px); background: var(--gold-200); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 36px; color: var(--ivory-2);
  font-size: .92rem; transition: .2s; cursor: pointer; background: rgba(255, 255, 255, .015);
}
.chip:hover { border-color: var(--line-3); color: var(--ivory); }
.chip.is-active, .chip[aria-pressed="true"] { border-color: var(--gold-300); color: var(--gold-100); background: rgba(201, 162, 87, .1); }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 24px; font-family: var(--f-caps); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--gold-200); white-space: nowrap; }
.badge-gold { background: var(--foil); background-size: 200%; color: #17130B; border: 0; }
.badge-free { border-color: rgba(143, 184, 154, .5); color: var(--sage); }
.badge-red { border-color: rgba(210, 85, 58, .5); color: #F09A86; }

/* ---------- Panneaux ---------- */
.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(25, 28, 43, .78), rgba(14, 16, 25, .82));
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(22px, 3vw, 36px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.panel-gilt::before {
  content: ''; position: absolute; inset: 6px; border: 1px solid var(--line); border-radius: 2px; pointer-events: none;
}
.panel-title { font-family: var(--f-display); font-size: 1.45rem; margin-bottom: 6px; }
.notice {
  display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 16px 20px; border: 1px solid var(--line-2); border-radius: 4px;
  background: linear-gradient(90deg, rgba(201, 162, 87, .1), rgba(201, 162, 87, .03));
}
.notice p { margin: 0; color: var(--ivory); }
.notice-warn { border-color: rgba(210, 85, 58, .4); background: linear-gradient(90deg, rgba(210, 85, 58, .12), rgba(210, 85, 58, .03)); }
.empty { text-align: center; padding: 70px 20px; color: var(--ivory-3); }
.empty .h3 { color: var(--ivory); margin: 18px 0 10px; }
.empty .tcard { margin: 0 auto; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; }
.kv dt { color: var(--ivory-3); }
.kv dd { margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { text-align: left; font-family: var(--f-caps); font-weight: 400; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-3); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid rgba(232, 208, 153, .07); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: rgba(201, 162, 87, .04); }
.num { font-variant-numeric: tabular-nums; }
.pos { color: var(--sage); }
.neg { color: #F09A86; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--nav-h);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(9, 11, 19, .82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-100); }
.brand:hover { color: var(--gold-50); }
.brand .emblem { width: 22px; height: 22px; color: var(--gold-300); transition: transform 1.2s var(--ease); }
.brand:hover .emblem { transform: rotate(45deg); }
.brand-name { font-family: var(--f-caps); font-size: .98rem; letter-spacing: .34em; text-transform: uppercase; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative; padding: 10px 14px;
  font-family: var(--f-caps); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ivory-2);
}
.nav-link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold-300); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-link:hover { color: var(--gold-100); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--gold-100); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.credit-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 12px;
  border: 1px solid var(--line-2); border-radius: 38px; color: var(--gold-100);
  font-family: var(--f-caps); font-size: .78rem; letter-spacing: .12em;
  transition: .25s;
}
.credit-pill:hover { border-color: var(--gold-300); color: var(--gold-50); background: rgba(201, 162, 87, .07); }
.credit-pill .emblem { width: 14px; height: 14px; color: var(--gold-300); }
.credit-pill b { font-family: var(--f-display); font-size: 1.05rem; font-weight: 500; letter-spacing: 0; }
.credit-pill.is-bump { animation: bump .7s var(--ease); }

/* Bonne Nouvelle TV — lien « en direct » */
.nav-link { white-space: nowrap; }
.tv-live { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 15px; border-radius: 99px; border: 1px solid rgba(210, 85, 58, .45); color: var(--ivory-2); font-family: var(--f-caps); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; transition: border-color .25s, background-color .25s, color .25s; }
.tv-live:hover { border-color: var(--vermilion); color: #fff; background: var(--vermilion-soft); }
.tv-live-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--vermilion); animation: livepulse 1.8s ease-out infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(210, 85, 58, .6); } 70% { box-shadow: 0 0 0 7px rgba(210, 85, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(210, 85, 58, 0); } }
.mm-tv { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 14px 20px; border: 1px solid rgba(210, 85, 58, .5); border-radius: 99px; font-family: var(--f-caps); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory); }

/* Bandeau de la chaîne */
.tv-band { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 72px); align-items: center; padding: clamp(26px, 4vw, 56px); border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; color: inherit;
  background: radial-gradient(640px 320px at 18% 30%, rgba(210, 85, 58, .14), transparent 70%), radial-gradient(500px 300px at 90% 100%, rgba(201, 162, 87, .10), transparent 70%), linear-gradient(180deg, rgba(22, 25, 39, .88), rgba(11, 13, 21, .88));
  transition: border-color .35s, box-shadow .35s; }
.tv-band:hover { border-color: var(--gold-300); box-shadow: 0 30px 80px -40px rgba(232, 208, 153, .35); }
.tv-band-screen { position: relative; aspect-ratio: 16 / 9; padding: clamp(7px, 1vw, 11px); border-radius: 14px; background: linear-gradient(145deg, #1C1F2E, #06070C); box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(232, 208, 153, .2); margin-bottom: 16px; }
.tv-band-screen::after { content: ''; position: absolute; left: 36%; right: 36%; bottom: -16px; height: 16px; background: linear-gradient(#14161F, #07080D); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.tv-band-glass { position: relative; height: 100%; display: grid; place-items: center; overflow: hidden; border-radius: 7px; color: var(--gold-200);
  background: radial-gradient(circle at 50% 45%, #2C3263 0%, #141735 52%, #07080F 100%); }
.tv-band-glass::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px); pointer-events: none; }
.tv-band-glass::after { content: ''; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent 0 40%, rgba(232, 208, 153, .10) 50%, transparent 60% 100%); animation: tvsweep 9s linear infinite; pointer-events: none; }
@keyframes tvsweep { to { transform: rotate(360deg); } }
.tv-band-glass .emblem { width: 18%; height: auto; filter: drop-shadow(0 0 22px rgba(232, 208, 153, .6)); animation: breathe2 4s ease-in-out infinite; position: relative; z-index: 1; }
.tv-band-live { position: absolute; z-index: 2; top: 10%; left: 4.5%; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 3px; background: var(--vermilion); color: #fff; font: 400 .6rem/1 var(--f-caps); letter-spacing: .2em; text-transform: uppercase; }
.tv-band-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: breathe2 1.4s ease-in-out infinite; }
.tv-band-name { position: absolute; z-index: 2; right: 4.5%; bottom: 9%; font-family: var(--f-caps); font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: rgba(232, 208, 153, .75); }
.tv-band-copy { display: grid; justify-items: start; gap: 14px; }
.tv-band-copy .h2, .tv-band-copy .h3 { margin: 0; }
.tv-band-copy .lead, .tv-band-copy .muted { margin: 0 0 6px; }
.tv-band.is-compact { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); padding: clamp(20px, 3vw, 34px); }
.tv-band.is-compact .tv-band-live { font-size: .5rem; padding: 4px 7px; }
.tv-band.is-compact .tv-band-name { display: none; }

/* Réglages : statut du webhook Stripe */
.wh-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 3px; font-size: .94rem; color: var(--ivory-2); }
.wh-status > span:nth-child(2) { flex: 1 1 260px; }
.wh-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ivory-4); }
.wh-dot.is-on { background: #7EC496; box-shadow: 0 0 10px rgba(126, 196, 150, .6); }
.wh-dot.is-warn { background: var(--gold-300); box-shadow: 0 0 10px rgba(232, 208, 153, .5); }
.set-manual summary { cursor: pointer; color: var(--ivory-3); font-size: .9rem; }
.set-manual summary:hover { color: var(--gold-100); }
@keyframes bump { 30% { transform: scale(1.12); border-color: var(--gold-200); } }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-display); font-style: italic; font-size: 1.05rem; color: var(--gold-100);
  border: 1px solid var(--line-3); background: radial-gradient(circle at 30% 30%, rgba(201, 162, 87, .25), rgba(201, 162, 87, .04));
  transition: .25s;
}
.avatar:hover { border-color: var(--gold-200); }
.menu { position: relative; }
.menu-pop {
  position: absolute; right: 0; top: calc(100% + 12px); min-width: 230px;
  padding: 8px; border: 1px solid var(--line-2); border-radius: 4px;
  background: rgba(13, 15, 25, .97); backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: .22s var(--ease);
}
.menu.is-open .menu-pop { opacity: 1; transform: none; pointer-events: auto; }
.menu-head { padding: 12px 14px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-head b { display: block; font-family: var(--f-display); font-size: 1.1rem; font-weight: 400; }
.menu-head span { font-size: .84rem; color: var(--ivory-3); }
.menu-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 3px; color: var(--ivory-2); font-size: .98rem; width: 100%; text-align: left; }
.menu-item:hover { background: rgba(201, 162, 87, .08); color: var(--gold-50); }
.menu-item .ico { color: var(--gold-400); }
.burger { display: none; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 40px;
  background: rgba(7, 8, 14, .97); backdrop-filter: blur(20px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a.mm-link {
  display: block; padding: 12px 0; font-family: var(--f-display); font-size: 2.1rem; color: var(--ivory);
  border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px); transition: .45s var(--ease);
}
.mobile-menu.is-open a.mm-link { opacity: 1; transform: none; }
.mobile-menu a.mm-link em { font-style: italic; color: var(--gold-200); }
.mobile-menu .mm-foot { margin-top: auto; display: grid; gap: 12px; }
.mm-close { position: absolute; top: 17px; right: var(--gutter); }

/* ---------- Pied de page ---------- */
.footer { position: relative; margin-top: 40px; padding: 80px 0 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(5, 6, 11, .8)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--f-caps); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory-3); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--ivory-2); font-size: .98rem; }
.footer ul a:hover { color: var(--gold-100); }
.footer-brand p { color: var(--ivory-3); max-width: 26em; margin-top: 18px; }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--ivory-4); font-size: .86rem; }
.tv-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tv-chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 30px; font-family: var(--f-caps); font-size: .66rem; letter-spacing: .16em; color: var(--ivory-3); }

/* ---------- Toasts, modales, célébration ---------- */
#toasts { position: fixed; z-index: 200; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; gap: 10px; width: min(92vw, 460px); pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; gap: 14px; align-items: center; padding: 15px 20px;
  background: rgba(17, 19, 30, .97); border: 1px solid var(--line-2); border-radius: 4px;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .85);
  opacity: 0; transform: translateY(14px) scale(.98); transition: .4s var(--ease); cursor: pointer;
}
.toast.is-in { opacity: 1; transform: none; }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-300); flex: none; box-shadow: 0 0 12px var(--gold-300); }
.toast-success .toast-dot { background: var(--sage); box-shadow: 0 0 12px var(--sage); }
.toast-error { border-color: rgba(210, 85, 58, .45); }
.toast-error .toast-dot { background: var(--vermilion); box-shadow: 0 0 12px var(--vermilion); }
.toast-msg { font-size: .98rem; }
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 5, 9, .78); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.modal-dialog {
  position: relative; width: 100%; max-height: calc(100vh - 40px); overflow-y: auto;
  background: linear-gradient(180deg, #161927, #0E1019);
  border: 1px solid var(--line-2); border-radius: 4px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9);
  opacity: 0; transform: translateY(16px) scale(.985); transition: .38s var(--ease);
}
.modal-dialog::before { content: ''; position: absolute; inset: 6px; border: 1px solid var(--line); border-radius: 2px; pointer-events: none; }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-dialog { opacity: 1; transform: none; }
.modal-sm { max-width: 460px; }
.modal-md { max-width: 620px; }
.modal-lg { max-width: 920px; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ivory-3); border-radius: 50%; }
.modal-close:hover { color: var(--gold-100); background: rgba(201, 162, 87, .08); }
.modal-title { font-family: var(--f-display); font-size: 1.9rem; line-height: 1.1; margin-bottom: 14px; padding-right: 36px; }
.modal-text { color: var(--ivory-2); }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; margin-top: 26px; }
.burst { position: fixed; inset: 0; pointer-events: none; z-index: 400; }
.burst i {
  position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  background: var(--foil); background-size: 200%;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: burst 1.5s var(--ease-out) forwards;
}
@keyframes burst {
  0% { transform: translate(0, 0) scale(0) rotate(0); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(var(--dx), calc(var(--dy) + 120px)) scale(var(--s)) rotate(var(--r)); opacity: 0; }
}

/* ---------- Lames du tarot ---------- */
.tcard {
  --w: 140px;
  --rx: 0deg; --ry: 0deg;
  position: relative;
  width: var(--w);
  aspect-ratio: 300 / 510;
  flex: none;
  border-radius: calc(var(--w) * .047);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .5s;
  -webkit-tap-highlight-color: transparent;
}
.tcard.is-tilting { transition: transform .08s linear; }
.tcard-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .95s cubic-bezier(.3, .9, .25, 1); border-radius: inherit; }
.tcard-face {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9), 0 2px 6px rgba(0, 0, 0, .5), 0 0 0 1px rgba(232, 208, 153, .16);
}
.tcard-back { background: #0E1222 url('../img/card-back.svg') center / 100% 100% no-repeat; }
.tcard.is-front .tcard-front { background: #0D0F18; }
.tcard.is-flip .tcard-front { transform: rotateY(180deg); background: #0D0F18; }
.tcard.is-flip.is-flipped .tcard-inner { transform: rotateY(180deg); }
.tcard-svg { width: 100%; height: 100%; }
.tcard.is-reversed .tcard-svg { transform: rotate(180deg); }
.tcard-svg .t-num { font-family: var(--f-display); font-size: 25px; fill: #E6CD94; letter-spacing: 1px; }
.tcard-svg .t-name { font-family: var(--f-caps); fill: #E6CD94; letter-spacing: 2.2px; }
.tcard-svg .t-glyph { font-family: var(--f-caps); font-size: 15px; fill: #D9B873; }
.tcard-shine, .tcard-foil { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; }
.tcard-shine { background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 244, 214, .3), transparent 48%); mix-blend-mode: overlay; }
.tcard-foil {
  background: linear-gradient(115deg, transparent 22%, rgba(255, 222, 150, .28) 38%, rgba(160, 205, 255, .16) 48%, rgba(255, 170, 210, .14) 56%, rgba(255, 222, 150, .22) 64%, transparent 80%);
  background-size: 260% 260%;
  background-position: var(--fx, 50%) var(--fy, 50%);
  mix-blend-mode: color-dodge;
}
.tcard.is-tilting .tcard-shine { opacity: 1; }
.tcard.is-tilting .tcard-foil { opacity: .85; }
.tcard.is-back .tcard-foil { display: none; }
.tcard.is-glow .tcard-face { box-shadow: 0 0 0 1px rgba(246, 235, 203, .55), 0 0 28px rgba(232, 208, 153, .45), 0 0 80px rgba(201, 162, 87, .3); }
.tcard.is-reveal .tcard-front::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 240, 200, .55) 48%, transparent 66%);
  background-size: 250% 100%; background-position: 130% 0;
  mix-blend-mode: overlay;
  animation: sheen 1.4s .5s var(--ease) forwards;
}
@keyframes sheen { to { background-position: -40% 0; } }
button.tcard, .tcard[role="button"] { cursor: pointer; }
.card-caption { margin-top: 12px; text-align: center; }
.card-caption b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; }
.card-caption span { font-family: var(--f-caps); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); }

/* Disposition d'un tirage */
.spread { position: relative; width: 100%; margin: 0 auto; }
.spread-slot { position: absolute; display: block; }
.spread-slot .tcard { --w: 100%; width: 100%; }
.spread-slot.is-rot .tcard { transform: rotate(90deg); }
.spread-slot.is-rot .tcard.is-tilting { transform: rotate(90deg); }
.spread-slot .tcard { cursor: pointer; }
.spread-slot .slot-n {
  position: absolute; z-index: 3; top: -9px; left: -9px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--f-display); font-size: .8rem; font-style: italic;
  color: var(--night-900); background: var(--gold-300); box-shadow: 0 0 0 3px var(--night-900);
  transition: transform .3s var(--ease), background .3s;
}
.spread-slot.is-rot .slot-n { top: auto; bottom: -9px; left: auto; right: -9px; }
.spread-slot.is-active .slot-n { transform: scale(1.25); background: var(--gold-50); }
.spread-slot.is-active .tcard-face { box-shadow: 0 0 0 1px rgba(246, 235, 203, .6), 0 0 26px rgba(232, 208, 153, .4); }
.spread-slot.is-dim { opacity: .55; transition: opacity .5s; }
.spread-slot .slot-label { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); width: max-content; max-width: 190px; text-align: center; }
.spread-slot .slot-label b { display: block; font-family: var(--f-caps); font-weight: 400; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); }
.spread-slot .slot-label span { display: block; font-family: var(--f-display); font-size: 1rem; color: var(--ivory); margin-top: 3px; }
.spread-slot .slot-label em { font-size: .82rem; color: var(--ivory-3); }
.spread.has-labels { margin-bottom: 64px; }
.slot-ghost { position: absolute; inset: 0; border: 1px dashed var(--line-3); border-radius: 6px; background: rgba(201, 162, 87, .03); }
.spread-mini { position: relative; width: 100%; }
.spread-mini i { position: absolute; border: 1px solid var(--line-3); border-radius: 2px; background: rgba(201, 162, 87, .06); transition: background .4s, border-color .4s; }
.spread-mini i.is-rot { transform: rotate(90deg); }
.spread-mini.is-lit i { animation: litup 2.4s var(--ease) infinite; }
@keyframes litup { 0%, 100% { background: rgba(201, 162, 87, .06); } 25% { background: rgba(232, 208, 153, .5); border-color: var(--gold-200); } 50% { background: rgba(201, 162, 87, .1); } }

/* ---------- Accueil (visiteur) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 30px) 0 70px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 40%), rgba(232, 208, 153, .07), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
.hero-title { font-size: clamp(3.8rem, 8.6vw, 8.4rem); line-height: .86; letter-spacing: -.02em; margin: 26px 0 0; }
.hero-title .l1 { display: block; }
.hero-title .l2 { display: block; padding-left: .55em; font-style: italic; }
.hero-sub { font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--ivory); margin: 28px 0 18px; line-height: 1.2; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-micro { margin-top: 22px; display: flex; gap: 18px; flex-wrap: wrap; color: var(--ivory-3); font-size: .9rem; }
.hero-micro span { display: inline-flex; align-items: center; gap: 8px; }
.hero-micro .emblem { width: 10px; height: 10px; color: var(--gold-400); }
.hero-stage { position: relative; height: min(76vh, 640px); display: grid; place-items: center; }
.hero-wheel { position: absolute; width: min(620px, 100%); aspect-ratio: 1; opacity: .5; animation: turn 160s linear infinite; }
.hero-halo { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(232, 208, 153, .16), transparent 65%); filter: blur(10px); }
@keyframes turn { to { transform: rotate(360deg); } }
.hero-cards { position: relative; width: 100%; height: 100%; }
.hero-cards .tcard { position: absolute; left: 50%; top: 50%; --w: clamp(150px, 15vw, 214px); }
.hero-cards .hc { position: absolute; left: 50%; top: 50%; }
.hc-1 { transform: translate(-118%, -42%) rotate(-12deg); animation: float1 9s ease-in-out infinite; }
.hc-2 { transform: translate(-50%, -56%); z-index: 2; animation: float2 8s ease-in-out infinite; }
.hc-3 { transform: translate(18%, -42%) rotate(12deg); animation: float3 10s ease-in-out infinite; }
.hc .tcard { position: relative; left: auto; top: auto; }
@keyframes float1 { 50% { transform: translate(-118%, -45%) rotate(-13.5deg); } }
@keyframes float2 { 50% { transform: translate(-50%, -60%); } }
@keyframes float3 { 50% { transform: translate(18%, -45%) rotate(13.5deg); } }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; color: var(--ivory-3); font-family: var(--f-caps); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; }
.hero-scroll i { width: 1px; height: 44px; background: linear-gradient(var(--gold-300), transparent); animation: drip 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.marquee { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 20px 0; background: rgba(5, 6, 11, .35); }
.marquee-track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee span { font-family: var(--f-caps); font-size: .86rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ivory-3); white-space: nowrap; padding: 0 22px; }
.marquee span.star { color: var(--gold-400); padding: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

.rituel { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.rituel-step { padding: 44px 36px 10px 0; position: relative; }
.rituel-step + .rituel-step { padding-left: 36px; border-left: 1px solid var(--line); }
.rituel-num { font-family: var(--f-display); font-style: italic; font-size: 4.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-400); }
.rituel-step h3 { font-family: var(--f-display); font-size: 1.7rem; margin: 18px 0 12px; }
.rituel-step p { color: var(--ivory-2); }

.spread-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.spread-card {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px 26px 26px;
  border: 1px solid var(--line); border-radius: 4px; color: var(--ivory);
  background: linear-gradient(180deg, rgba(25, 28, 43, .6), rgba(14, 16, 25, .7));
  transition: border-color .35s, transform .45s var(--ease), background .35s;
  overflow: hidden;
}
.spread-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 208, 153, .09), transparent 50%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.spread-card:hover { border-color: var(--line-3); transform: translateY(-4px); color: var(--ivory); }
.spread-card:hover::after { opacity: 1; }
.spread-card .spread-mini { height: 120px; }
.spread-card .sc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.spread-card h3 { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.1; }
.spread-card p { margin: 0; color: var(--ivory-2); font-size: .98rem; }
.spread-card .sc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--f-caps); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-3); }
.spread-card .sc-foot b { color: var(--gold-200); font-weight: 400; }
.spread-card.is-featured { border-color: var(--line-3); }
.spread-card:hover .spread-mini i { animation: litup 2.4s var(--ease) infinite; }
@media (min-width: 900px) {
  .spread-grid.is-catalog { grid-template-columns: repeat(3, 1fr); }
  .spread-grid.is-catalog .spread-card.is-wide { grid-column: span 2; }
}

.paper { position: relative; background: var(--paper); color: var(--paper-ink); }
.paper::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='4'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .42 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"); }
.paper .eyebrow { color: var(--paper-gold); }
.paper .lead, .paper p { color: var(--paper-ink-2); }
.paper .h2, .paper .h3 { color: var(--paper-ink); }
.paper a { color: var(--paper-gold); }
.oracle-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: start; position: relative; }
.paper .pull { color: var(--paper-ink); }
.pull { font-family: var(--f-display); font-style: italic; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.16; color: var(--paper-ink); margin: 26px 0; }
.pull::before { content: '«'; color: var(--paper-gold); margin-right: .12em; }
.pull::after { content: '»'; color: var(--paper-gold); margin-left: .12em; }
.excerpt { border-left: 1px solid rgba(147, 112, 47, .4); padding: 6px 0 6px 26px; }
.excerpt .ex-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.excerpt .ex-h i { font-family: var(--f-display); font-style: italic; color: var(--paper-gold); font-size: 1.2rem; }
.excerpt .ex-h b { font-family: var(--f-caps); font-weight: 400; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--paper-ink-2); }
.excerpt .ex-h span { font-family: var(--f-display); font-size: 1.15rem; color: var(--paper-ink); }
.principles { display: grid; gap: 22px; margin-top: 36px; }
.principle { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.principle .ico-wrap { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(147, 112, 47, .4); color: var(--paper-gold); }
.principle h4 { font-family: var(--f-display); font-size: 1.22rem; color: var(--paper-ink); margin-bottom: 4px; }
.principle p { margin: 0; font-size: .98rem; }
.ai-note { margin-top: 30px; font-size: .86rem; color: var(--paper-ink-2); border-top: 1px solid rgba(147, 112, 47, .25); padding-top: 18px; }

.daily-tease { display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.daily-tease .tcard { --w: clamp(180px, 20vw, 250px); }
.daily-card-wrap { position: relative; display: grid; place-items: center; justify-self: center; }
.daily-card-wrap::before { content: ''; position: absolute; width: 170%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(232, 208, 153, .14), transparent 62%); }
.daily-card-wrap .tcard { animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translateY(-8px) rotate(-1deg); } }

.strip { display: flex; gap: 22px; overflow-x: auto; padding: 24px var(--gutter) 34px; scroll-snap-type: x proximity; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip > * { scroll-snap-align: center; }
.strip .tcard { --w: 168px; }
.strip a { color: inherit; }

.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pack {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 40px 28px 30px; border: 1px solid var(--line); border-radius: 4px;
  background: linear-gradient(180deg, rgba(25, 28, 43, .7), rgba(14, 16, 25, .78));
  transition: transform .45s var(--ease), border-color .35s;
}
.pack:hover { transform: translateY(-4px); border-color: var(--line-3); }
.pack.is-featured { border-color: var(--gold-500); background: linear-gradient(180deg, rgba(46, 40, 30, .5), rgba(14, 16, 25, .85)); }
.pack.is-featured::before { content: ''; position: absolute; inset: 6px; border: 1px solid var(--line-2); border-radius: 2px; pointer-events: none; }
.pack-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); }
.pack-name { font-family: var(--f-caps); font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-200); }
.pack-credits { font-family: var(--f-display); font-size: 5.2rem; line-height: 1; margin: 18px 0 2px; }
.pack-credits small { display: block; font-family: var(--f-caps); font-size: .7rem; letter-spacing: .26em; color: var(--ivory-3); margin-top: 8px; }
.pack-price { font-family: var(--f-display); font-size: 1.7rem; margin-top: 18px; }
.pack-unit { color: var(--ivory-3); font-size: .9rem; margin-bottom: 22px; }
.pack-tag { color: var(--ivory-2); font-style: italic; margin-bottom: 24px; }
.pack .btn { margin-top: auto; }
.secure { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 28px; color: var(--ivory-3); font-size: .9rem; }
.secure span { display: inline-flex; align-items: center; gap: 8px; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--f-display); font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--gold-300); transition: transform .35s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details > div { padding: 0 0 26px; color: var(--ivory-2); max-width: 46em; }

.final-cta { text-align: center; position: relative; overflow: hidden; }
.final-cta .h1 { max-width: 14em; margin: 0 auto; }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ---------- Accueil (membre) ---------- */
.dash-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-bottom: 44px; }
.dash-head .h1 em { color: var(--gold-200); }
.moon { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory-3); font-size: .95rem; }
.moon svg { width: 28px; height: 28px; }
.dash-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; }
.daily-panel { display: grid; grid-template-columns: auto 1fr; gap: clamp(26px, 4vw, 48px); align-items: center; overflow: hidden; }
.daily-panel .tcard { --w: clamp(130px, 14vw, 176px); }
.daily-panel .good { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; line-height: 1.35; color: var(--gold-100); margin: 12px 0 20px; }
.stat-panel { display: grid; gap: 4px; align-content: start; }
.stat-big { font-family: var(--f-display); font-size: 4rem; line-height: 1; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.mini-stat { padding: 14px; border: 1px solid var(--line); border-radius: 3px; }
.mini-stat b { display: block; font-family: var(--f-display); font-size: 1.6rem; font-weight: 400; }
.mini-stat span { font-family: var(--f-caps); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-3); }
.quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.quick a { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 3px; color: var(--ivory); transition: .3s var(--ease); }
.quick a:hover { border-color: var(--line-3); background: rgba(201, 162, 87, .05); transform: translateY(-2px); }
.quick a b { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; }
.quick a span { font-family: var(--f-caps); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); }

/* ---------- Journal ---------- */
.journal-list { display: grid; gap: 12px; }
.jl-item {
  display: grid; grid-template-columns: 74px 1fr auto; gap: 22px; align-items: center;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: 4px; color: var(--ivory);
  background: linear-gradient(90deg, rgba(25, 28, 43, .55), rgba(14, 16, 25, .45));
  transition: border-color .3s, transform .35s var(--ease), background .3s;
}
.jl-item:hover { border-color: var(--line-3); color: var(--ivory); transform: translateX(3px); }
.jl-date { text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.jl-date b { display: block; font-family: var(--f-display); font-size: 2.2rem; font-weight: 400; line-height: 1; }
.jl-date span { font-family: var(--f-caps); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); }
.jl-main { min-width: 0; }
.jl-main h3 { font-family: var(--f-display); font-size: 1.3rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.jl-q { color: var(--ivory-2); font-style: italic; margin: 4px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jl-good { color: var(--gold-100); margin: 6px 0 0; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jl-cards { display: flex; }
.jl-cards .tcard { --w: 38px; margin-left: -14px; box-shadow: -4px 0 10px rgba(0, 0, 0, .5); }
.jl-cards .tcard:first-child { margin-left: 0; }
.jl-cards .more { align-self: center; margin-left: 8px; font-family: var(--f-caps); font-size: .7rem; color: var(--ivory-3); }
.fav { color: var(--vermilion); }
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 34px; }
.stats-band > div { padding: 22px 24px; }
.stats-band > div + div { border-left: 1px solid var(--line); }
.stats-band b { display: block; font-family: var(--f-display); font-size: 2.2rem; font-weight: 400; line-height: 1.1; }
.stats-band span { font-family: var(--f-caps); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-3); }
.fetish { display: flex; align-items: center; gap: 14px; }
.fetish .tcard { --w: 40px; }

/* ---------- Rituel de tirage ---------- */
.ritual { position: relative; }
.intent-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.intent-aside .spread-mini { max-width: 340px; height: 210px; margin: 34px 0; }
.intent-card { position: relative; display: grid; place-items: center; width: max-content; margin: 46px 0 0 clamp(0px, 6vw, 70px); }
.intent-card::before { content: ''; position: absolute; width: 230%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(232, 208, 153, .13), transparent 60%); pointer-events: none; }
.intent-card .tcard { --w: clamp(150px, 15vw, 200px); animation: breathe 6s ease-in-out infinite; transform: rotate(-4deg); }
.pos-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pos-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.pos-list li i { font-family: var(--f-display); font-style: italic; color: var(--gold-300); font-size: 1.15rem; }
.pos-list li b { font-weight: 500; display: block; }
.pos-list li span { color: var(--ivory-3); font-size: .92rem; }
.cost-line { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cost-line b { font-family: var(--f-display); font-size: 1.3rem; font-weight: 400; }
.stage { position: relative; min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 0; }
.stage-title { text-align: center; max-width: 640px; margin: 0 auto 30px; }
.stage-title .h2 { margin-top: 14px; }
.stage-title p { color: var(--ivory-2); margin-top: 12px; }
.pile { position: relative; width: 150px; aspect-ratio: 300 / 510; margin: 30px auto; }
.pile .tcard { position: absolute; inset: 0; --w: 150px; transition: transform .5s var(--ease); }
.pile.is-riffle .tcard:nth-child(odd) { animation: riffleL 1.1s var(--ease) 2; }
.pile.is-riffle .tcard:nth-child(even) { animation: riffleR 1.1s var(--ease) 2; }
@keyframes riffleL { 0%, 100% { transform: translate(0, 0) rotate(0); } 35% { transform: translate(-92px, 6px) rotate(-14deg); } 65% { transform: translate(-30px, 0) rotate(-4deg); } }
@keyframes riffleR { 0%, 100% { transform: translate(0, 0) rotate(0); } 35% { transform: translate(92px, 6px) rotate(14deg); } 65% { transform: translate(30px, 0) rotate(4deg); } }
.pile.is-cut .tcard:nth-last-child(-n+5) { animation: cutTop .9s var(--ease) forwards; }
@keyframes cutTop { 0% { transform: translate(0, 0); } 40% { transform: translate(120px, -40px) rotate(8deg); } 70% { transform: translate(120px, 20px) rotate(4deg); z-index: -1; } 100% { transform: translate(0, 0); z-index: -1; } }
.fan-wrap { position: relative; width: 100%; }
.fan { position: relative; width: 100%; margin: 0 auto; }
.fan-card { position: absolute; left: 50%; bottom: 0; padding: 0; transform-origin: 50% calc(100% + var(--R)); transition: transform .55s var(--ease), opacity .35s, filter .3s; outline: none; }
.fan-card .tcard { --w: var(--cw); pointer-events: none; }
.fan-card:hover, .fan-card:focus-visible { z-index: 300 !important; }
.fan-card:hover .tcard, .fan-card:focus-visible .tcard { transform: translateY(-26px); }
.fan-card:focus-visible .tcard-face { box-shadow: 0 0 0 2px var(--gold-200); }
.fan-card.is-picked { visibility: hidden; pointer-events: none; }
.fan.is-done .fan-card { opacity: .25; pointer-events: none; }
.fan.is-strip { display: flex; overflow-x: auto; padding: 40px 20px 20px; scroll-snap-type: x mandatory; scrollbar-width: thin; height: auto !important; }
.fan.is-strip .fan-card { position: relative; left: auto; bottom: auto; transform: none !important; margin-left: calc(var(--cw) * -0.55); scroll-snap-align: center; flex: none; }
.fan.is-strip .fan-card:first-child { margin-left: 0; }
.fan-hint { text-align: center; color: var(--ivory-3); font-size: .9rem; margin-top: 10px; }
.slots { display: flex; justify-content: center; gap: var(--sg, 14px); flex-wrap: wrap; margin-top: 22px; }
[data-pick] .stage-title { margin-bottom: 8px; }
.slot { width: var(--sw, 76px); display: grid; grid-template-columns: 100%; justify-items: center; gap: 8px; }
.slot .slot-num { font-family: var(--f-display); font-style: italic; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--gold-300); }
.slot-box { position: relative; width: 100%; aspect-ratio: 300 / 510; border: 1px dashed var(--line-3); border-radius: 5px; background: rgba(201, 162, 87, .03); }
.slot-box .tcard { position: absolute; inset: 0; --w: 100%; }
.slot.is-next .slot-box { border-color: var(--gold-200); box-shadow: 0 0 22px rgba(232, 208, 153, .25); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 6px rgba(232, 208, 153, .1); } }
.slot span { font-family: var(--f-caps); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-3); text-align: center; line-height: 1.3; }
.flyer { position: fixed; z-index: 120; pointer-events: none; transition: transform .7s var(--ease-out); }
.flyer .tcard { --w: 100%; width: 100%; }
.progress-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.progress-dots i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--gold-400); }
.progress-dots i.on { background: var(--gold-300); }
.sound-toggle { position: absolute; top: 0; right: 0; }

/* ---------- Lecture ---------- */
.reading-head { margin-bottom: 40px; }
.reading-head .h1 { margin: 16px 0 14px; }
.reading-q { font-family: var(--f-display); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.75rem); color: var(--ivory); line-height: 1.3; max-width: 34em; }
.reading-q::before { content: '« '; color: var(--gold-300); }
.reading-q::after { content: ' »'; color: var(--gold-300); }
.reading-meta { display: flex; gap: 10px 22px; flex-wrap: wrap; color: var(--ivory-3); font-size: .92rem; margin-top: 14px; }
.reading-meta span { display: inline-flex; align-items: center; gap: 8px; }
.reading-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.reading-grid.is-stacked { grid-template-columns: 1fr; }
.reading-cards { position: sticky; top: calc(var(--nav-h) + 30px); }
.reading-grid.is-stacked .reading-cards { position: relative; top: 0; max-width: 880px; margin: 0 auto; width: 100%; }
.reading.is-stacked .reading-head, .reading-grid.is-stacked .oracle { max-width: 760px; width: 100%; margin-left: auto; margin-right: auto; }
.cards-legend { margin-top: 26px; display: grid; gap: 6px; }
.cards-legend button { display: grid; grid-template-columns: 28px 1fr; gap: 10px; text-align: left; padding: 7px 10px; border-radius: 3px; color: var(--ivory-2); font-size: .95rem; transition: .2s; }
.cards-legend button:hover, .cards-legend button.is-active { background: rgba(201, 162, 87, .07); color: var(--ivory); }
.cards-legend i { font-family: var(--f-display); font-style: italic; color: var(--gold-300); }
.cards-legend em { color: var(--ivory-3); font-size: .85rem; }
.oracle { position: relative; }
.oracle-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.oracle-sigil { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-3); color: var(--gold-200); flex: none; }
.oracle-sigil .emblem { width: 20px; height: 20px; }
.oracle.is-writing .oracle-sigil .emblem { animation: turn 6s linear infinite; }
.oracle-head b { display: block; font-family: var(--f-caps); font-weight: 400; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-200); }
.oracle-head span { font-size: .9rem; color: var(--ivory-3); font-style: italic; }
.oracle-wait { display: flex; align-items: center; gap: 16px; padding: 30px 0; color: var(--ivory-2); font-style: italic; font-size: 1.1rem; }
.oracle-wait .dots { display: inline-flex; gap: 6px; }
.oracle-wait .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-300); animation: dot 1.4s ease-in-out infinite; }
.oracle-wait .dots i:nth-child(2) { animation-delay: .2s; }
.oracle-wait .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; transform: scale(.7); } 40% { opacity: 1; transform: scale(1); } }
.oracle-text { font-size: clamp(1.08rem, 1.3vw, 1.2rem); line-height: 1.75; color: var(--ivory); }
.oracle-text p { margin: 0 0 1.05em; }
.oracle-text strong { font-weight: 600; color: var(--gold-100); }
.oracle-text em { font-style: italic; }
.or-open p:first-child::first-letter { float: left; font-family: var(--f-display); font-size: 4.2em; line-height: .78; padding: .06em .1em 0 0; color: var(--gold-200); }
.or-sec { margin-top: 2.1em; scroll-margin-top: 120px; }
.or-h { display: flex; gap: 16px; align-items: center; margin-bottom: .8em; cursor: pointer; }
.or-n { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-3); font-family: var(--f-display); font-style: italic; font-size: 1.1rem; color: var(--gold-200); transition: .3s; }
.or-pos.is-active .or-n { background: var(--gold-300); color: var(--night-900); border-color: var(--gold-300); }
.or-hl { display: grid; gap: 1px; }
.or-label { font-family: var(--f-caps); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300); }
.or-card { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.15; }
.or-rev { font-family: var(--f-text); font-size: .9rem; color: var(--vermilion); font-style: italic; }
.or-h2 { font-family: var(--f-display); font-size: 1.55rem; margin-bottom: .6em; display: flex; align-items: center; gap: 14px; }
.or-h2::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.or-advice { padding: 26px 28px; border-left: 2px solid var(--gold-400); background: linear-gradient(90deg, rgba(201, 162, 87, .07), transparent); }
.or-advice .or-h2::after { display: none; }
.or-good { position: relative; margin-top: 2.6em; padding: 34px clamp(24px, 4vw, 44px); text-align: center; border: 1px solid var(--line-3); border-radius: 4px; background: radial-gradient(120% 140% at 50% 0%, rgba(232, 208, 153, .14), transparent 60%), rgba(18, 20, 31, .6); }
.or-good::before { content: ''; position: absolute; inset: 6px; border: 1px solid var(--line); border-radius: 2px; pointer-events: none; }
.or-good-label { font-family: var(--f-caps); font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-200); margin-bottom: 14px !important; }
.or-good-label span { color: var(--gold-400); margin: 0 6px; }
.or-good-body p { font-family: var(--f-display); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.35; color: var(--gold-50); }
.or-good-body p:last-child { margin-bottom: 0; }
.or-good-body strong { color: inherit; }
.or-answer { text-align: center; padding: 10px 0 24px; border-bottom: 1px solid var(--line); margin-top: 0; }
.or-answer-label { font-family: var(--f-caps); font-size: .74rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-300); margin: 0 !important; }
.or-answer-value { font-family: var(--f-display); font-style: italic; font-size: clamp(3.2rem, 7vw, 5.4rem); line-height: 1.05; margin: 6px 0 14px !important; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.18em; background: var(--gold-200); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.reading-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.ai-disclaimer { margin-top: 26px; font-size: .84rem; color: var(--ivory-4); display: flex; gap: 10px; align-items: flex-start; }
.followups { margin-top: 56px; }
.fu-item { padding: 22px 0; border-top: 1px solid var(--line); }
.fu-q { font-family: var(--f-display); font-style: italic; font-size: 1.25rem; color: var(--gold-100); margin-bottom: 10px; }
.fu-a p { color: var(--ivory); }
.fu-form { margin-top: 18px; display: grid; gap: 12px; }
.fu-form .row-between { gap: 10px; }

/* ---------- Grimoire ---------- */
.grim-tools { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 34px; }
.grim-search { position: relative; min-width: 240px; flex: 0 1 320px; }
.grim-search .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ivory-3); }
.grim-search .input { padding-left: 46px; height: 46px; }
.grim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 34px 22px; }
.grim-item { display: grid; justify-items: center; gap: 12px; color: var(--ivory); text-align: center; }
.grim-item .tcard { --w: 100%; max-width: 170px; }
.grim-item:hover { color: var(--gold-100); }
.grim-item b { font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; line-height: 1.2; }
.grim-item small { display: block; font-family: var(--f-caps); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-3); margin-top: 3px; }
.grim-group-title { grid-column: 1 / -1; margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.grim-group-title:first-child { margin-top: 0; }
.grim-group-title h2 { font-family: var(--f-display); font-size: 1.7rem; }
.grim-group-title p { margin: 0; color: var(--ivory-3); font-size: .95rem; }
.grim-group-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.card-detail { display: grid; grid-template-columns: auto 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.card-detail .tcard { --w: clamp(230px, 26vw, 330px); }
.card-detail .cd-num { font-family: var(--f-display); font-style: italic; font-size: 1.4rem; color: var(--gold-300); }
.card-detail .h1 { margin: 6px 0 10px; }
.kw-block { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0; }
.kw-block > div { padding: 20px 22px; border: 1px solid var(--line); border-radius: 3px; }
.kw-block h4 { font-family: var(--f-caps); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 10px; }
.kw-block .chips { gap: 6px; }
.kw-block .chip { height: 30px; font-size: .86rem; cursor: default; }
.kw-block p { margin: 12px 0 0; color: var(--ivory-2); }
.kw-block .is-rev h4 { color: #F09A86; }
.cd-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); }
.cd-nav a { display: grid; gap: 2px; color: var(--ivory-2); }
.cd-nav a:hover { color: var(--gold-100); }
.cd-nav a span { font-family: var(--f-caps); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-3); }
.cd-nav a b { font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; }
.cd-nav a:last-child { text-align: right; }
.modal-card { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: start; }
.modal-card .tcard { --w: 210px; }

/* ---------- Authentification ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { position: relative; display: grid; place-items: center; overflow: hidden; border-right: 1px solid var(--line); background: radial-gradient(circle at 50% 45%, rgba(46, 60, 118, .25), transparent 60%); }
.auth-art .tcard { --w: clamp(200px, 20vw, 270px); }
.auth-art blockquote { position: absolute; left: 0; right: 0; bottom: 48px; margin: 0 auto; max-width: 420px; text-align: center; font-family: var(--f-display); font-style: italic; font-size: 1.25rem; color: var(--ivory-2); padding: 0 20px; }
.auth-form { display: grid; place-items: center; padding: calc(var(--nav-h) + 30px) var(--gutter) 60px; }
.auth-box { width: 100%; max-width: 440px; }
.auth-box .h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin: 18px 0 12px; }
.auth-box .lead { margin-bottom: 30px; }
.auth-alt { margin-top: 26px; color: var(--ivory-3); text-align: center; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 52px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: grid; place-items: center; color: var(--ivory-3); }
.pw-toggle:hover { color: var(--gold-200); }
.gift { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 3px; background: rgba(201, 162, 87, .05); margin-bottom: 24px; color: var(--ivory-2); font-size: .95rem; }
.gift b { color: var(--gold-100); font-weight: 500; }
.gift .emblem { color: var(--gold-300); width: 20px; height: 20px; flex: none; }

/* ---------- Crédits & compte ---------- */
.balance { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.balance b { font-family: var(--f-display); font-size: clamp(4rem, 9vw, 7rem); font-weight: 400; line-height: .9; }
.balance span { color: var(--ivory-2); font-size: 1.1rem; }
.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.account-nav { position: sticky; top: calc(var(--nav-h) + 30px); display: grid; gap: 4px; }
.account-nav a { padding: 11px 14px; border-radius: 3px; color: var(--ivory-2); display: flex; align-items: center; gap: 12px; }
.account-nav a:hover, .account-nav a.is-active { background: rgba(201, 162, 87, .07); color: var(--gold-50); }
.account-nav a .ico { color: var(--gold-400); }
.account-sec { scroll-margin-top: 110px; margin-bottom: 30px; }
.sess { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sess:last-child { border-bottom: 0; }
.sess b { font-weight: 500; }
.sess span { color: var(--ivory-3); font-size: .9rem; }

/* ---------- TV ---------- */
.tv-box { max-width: 560px; margin: 0 auto; text-align: center; }
.tv-screen { width: 120px; height: 84px; margin: 0 auto 30px; border: 1px solid var(--line-3); border-radius: 6px; display: grid; place-items: center; position: relative; color: var(--gold-200); }
.tv-screen::after { content: ''; position: absolute; bottom: -14px; left: 50%; width: 40px; height: 1px; background: var(--line-3); transform: translateX(-50%); }
.tv-device { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border: 1px solid var(--line-2); border-radius: 99px; color: var(--ivory-2); margin: 4px 0 20px; }
.tv-device svg { color: var(--gold-300); }
.tv-device b { font-weight: 500; color: var(--ivory); }

/* ---------- Admin ---------- */
.admin-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 30px; overflow-x: auto; }
.admin-tabs button { padding: 14px 18px; font-family: var(--f-caps); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-3); border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.admin-tabs button.is-active { color: var(--gold-100); border-color: var(--gold-300); }
.settings { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.set-sec { display: grid; gap: 18px; transition: box-shadow .6s; }
.set-sec.is-saved { box-shadow: 0 0 0 1px var(--gold-300), 0 0 40px -12px rgba(232, 208, 153, .45); }
.set-wide { grid-column: 1 / -1; }
.set-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.set-head .h4 { display: inline-flex; align-items: center; gap: 10px; }
.set-head .h4 svg { color: var(--gold-300); }
.set-sub { font-family: var(--f-caps); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300); margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 18px; }
.set-grid .set-full { grid-column: 1 / -1; }
.set-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.set-result { margin: 0; padding: 12px 14px; border-radius: 3px; font-size: .92rem; border: 1px solid var(--line-2); }
.set-result.is-ok { border-color: rgba(126, 196, 150, .45); color: #A9DDBA; background: rgba(126, 196, 150, .06); }
.set-result.is-warn { border-color: rgba(232, 208, 153, .45); color: var(--gold-100); background: rgba(232, 208, 153, .06); }
.set-result.is-err { border-color: rgba(240, 154, 134, .45); color: #F09A86; background: rgba(240, 154, 134, .06); }
.copy-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 8px 8px 14px; border: 1px dashed var(--line-3); border-radius: 3px; margin: 2px 0 4px; }
.copy-line code, .field-hint code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; color: var(--gold-100); word-break: break-all; }
.copy-line code { flex: 1; }
.packs-edit { display: grid; gap: 10px; }
.pack-row { display: grid; grid-template-columns: 1.2fr .6fr .7fr 1.6fr auto auto; gap: 12px; align-items: end; padding: 14px; border: 1px solid var(--line); border-radius: 3px; background: rgba(9, 11, 19, .35); }
.pack-feat { display: inline-flex; align-items: center; gap: 6px; height: 46px; font-size: .86rem; color: var(--ivory-3); cursor: pointer; white-space: nowrap; }
.pack-feat input { accent-color: var(--gold-300); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.kpi { padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: rgba(18, 20, 31, .6); }
.kpi span { font-family: var(--f-caps); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-3); }
.kpi b { display: block; font-family: var(--f-display); font-size: 2.3rem; font-weight: 400; line-height: 1.1; margin: 8px 0 4px; }
.kpi small { color: var(--ivory-3); font-size: .85rem; }
.kpi-model { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; color: var(--ivory-3); white-space: nowrap; letter-spacing: 0; }
.chart { width: 100%; height: 200px; }
.chart .bar { fill: rgba(201, 162, 87, .55); }
.chart .bar:hover { fill: var(--gold-200); }
.chart text { fill: var(--ivory-3); font-size: 10px; font-family: var(--f-text); }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* ---------- Pages diverses ---------- */
.page-hero { padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 90px)); padding-bottom: clamp(30px, 4vw, 50px); }
.page-hero .h1 { margin-top: 18px; }
.page-hero .lead { margin-top: 18px; }
.legal { padding-bottom: 100px; }
.legal .prose h2:first-child { margin-top: 0; }
.share-cta { margin-top: 60px; text-align: center; padding: 50px 30px; }
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.notfound .tcard { margin: 0 auto 34px; --w: 160px; }
.loader-line { position: fixed; top: 0; left: 0; height: 2px; z-index: 90; background: var(--foil); background-size: 200%; width: 0; opacity: 0; transition: width .4s var(--ease), opacity .3s; box-shadow: 0 0 10px var(--gold-300); }
.loader-line.is-on { opacity: 1; }
.boot { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: var(--night-900); transition: opacity .7s var(--ease), visibility .7s; }
.boot.is-gone { opacity: 0; visibility: hidden; }
.boot .emblem { width: 44px; height: 44px; color: var(--gold-300); animation: turn 4s linear infinite, breathe2 2s ease-in-out infinite; }
@keyframes breathe2 { 50% { opacity: .45; } }
#view { transition: opacity .35s var(--ease), transform .45s var(--ease); }
#view.is-leaving { opacity: 0; transform: translateY(10px); }
#view.is-entering { animation: enter .6s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1499px) {
  .tv-live.is-visitor .tv-live-long { display: none; }
}
@media (max-width: 1280px) {
  .tv-live .tv-live-long { display: none; }
}
@media (max-width: 1100px) {
  .nav-links .nav-link { padding: 10px 10px; letter-spacing: .14em; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); }
  .hero-stage { height: 420px; order: 2; }
  .oracle-grid, .intent-grid, .card-detail, .daily-tease, .dash-grid { grid-template-columns: 1fr; }
  .reading-grid { grid-template-columns: 1fr; }
  .reading-cards { position: relative; top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .admin-cols { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .account-grid { grid-template-columns: 1fr; }
  .account-nav { position: relative; top: 0; display: flex; overflow-x: auto; }
  .card-detail { justify-items: center; }
  .card-detail > div:last-child { width: 100%; }
}
@media (max-width: 860px) {
  .settings { grid-template-columns: 1fr; }
  .tv-live { display: none; }
  .tv-band, .tv-band.is-compact { grid-template-columns: 1fr; }
  .pack-row { grid-template-columns: 1fr 1fr; }
  .pack-row .pack-tagline { grid-column: 1 / -1; }
  :root { --nav-h: 64px; }
  body { font-size: 17px; }
  .nav-links, .nav-actions .hide-m { display: none; }
  .burger { display: inline-grid; }
  .nav-actions { margin-left: auto; }
  .brand-name { font-size: .84rem; letter-spacing: .28em; }
  .rituel { grid-template-columns: 1fr; }
  .rituel-step, .rituel-step + .rituel-step { padding: 34px 0 18px; border-left: 0; border-bottom: 1px solid var(--line); }
  .packs { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stats-band > div:nth-child(3) { border-left: 0; }
  .stats-band > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .jl-item { grid-template-columns: 56px 1fr; padding: 16px; gap: 16px; }
  .jl-cards { grid-column: 1 / -1; padding-left: 72px; }
  .jl-date { padding-right: 12px; }
  .jl-date b { font-size: 1.8rem; }
  .kw-block { grid-template-columns: 1fr; }
  .modal-card { grid-template-columns: 1fr; justify-items: center; }
  .modal-card .tcard { --w: 170px; }
  .daily-panel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .dash-head { grid-template-columns: 1fr; }
  .hero-title .l2 { padding-left: .5em; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stage { height: 340px; }
  .hero-cards .tcard { --w: 128px; }
  .btn { padding: 0 22px; letter-spacing: .16em; }
  .hero-cta .btn { width: 100%; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi b { font-size: 1.8rem; }
  .grim-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 24px 12px; }
  .or-card { font-size: 1.3rem; }
  .slot { --sw: 54px; }
  .intent-card { display: none; }
  .hide-sm { display: none !important; }
  .eyebrow { letter-spacing: .26em; }
  .strip .tcard { --w: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  body::before, body::after, #sky, .nav, .footer, .reading-actions, .followups .fu-form { display: none !important; }
  body { background: #fff; color: #000; }
  .oracle-text { color: #000; }
}

body[data-chrome="minimal"] .footer { display: none; }
