/* ==========================================================================
   CARTAS CLARAS — Design system « le salon de lecture à la bougie »
   Nuit violette veloutée, filets d'or, et les cartes crème comme seules
   sources de lumière. Fraunces (titres, noms de cartes) + Outfit (texte).
   Mobile d'abord. Breakpoints : 720px, 1040px.
   ========================================================================== */

/* ---------- 1. Jetons ---------- */
:root {
  --night-0: #07060d;
  --night-1: #0d0a18;
  --night-2: #151024;
  --night-3: #1d1632;
  --night-4: #2a2046;
  --velvet: #2b1745;
  --plum: #4a2466;
  --line: rgba(233, 214, 255, .09);
  --line-2: rgba(233, 214, 255, .16);
  --line-gold: rgba(212, 175, 106, .32);

  --ink: #f4effb;
  --ink-2: #cdc2e0;
  --ink-3: #9d90b8;

  --gold: #d4af6a;
  --gold-2: #efd7a6;
  --gold-3: #a7803e;
  --gold-grad: linear-gradient(120deg, #f6e2b6 0%, #d4af6a 48%, #b78642 100%);
  --cta-grad: linear-gradient(135deg, #ffe6ad 0%, #ebb862 45%, #c98040 100%);
  --cta-ink: #23140b;
  --candle: #f2a54a;
  --candle-soft: rgba(242, 165, 74, .22);
  --presence: #5fe39a;
  --presence-soft: rgba(95, 227, 154, .16);
  --rose: #ee7f9c;
  --danger: #ff8a8a;

  --cream: #f4e4c6;
  --cream-2: #ead3a8;
  --ink-brown: #352417;

  --r-xs: 8px;
  --r-s: 12px;
  --r: 16px;
  --r-l: 22px;
  --r-xl: 30px;
  --pill: 999px;

  --sh-1: 0 10px 30px -14px rgba(0, 0, 0, .7);
  --sh-2: 0 26px 64px -22px rgba(0, 0, 0, .8);
  --sh-gold: 0 0 0 1px rgba(212, 175, 106, .35), 0 18px 46px -18px rgba(212, 175, 106, .35);
  --glow-candle: 0 0 70px 10px rgba(242, 165, 74, .16);

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.5, .64, 1);

  --container: 1200px;
  --gutter: clamp(16px, 4.2vw, 36px);
  --header-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); overflow-x: clip; }
body {
  min-height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--night-1);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px; font-weight: 340; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
p a, .prose a { color: var(--gold-2); text-decoration: underline; text-decoration-color: rgba(239, 215, 166, .35); text-underline-offset: 3px; }
p a:hover, .prose a:hover { text-decoration-color: var(--gold-2); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(212, 175, 106, .32); color: #fff; }
[hidden] { display: none !important; }
main { flex: 1 0 auto; position: relative; z-index: 1; }

/* ---------- 3. Ambiance : velours qui dérive + grain + poussière d'or ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(120% 80% at 50% -10%, #1f1236 0%, #110b1f 46%, #0b0814 100%); }
.ambient i { position: absolute; display: block; border-radius: 50%; will-change: transform; animation: drift-a 46s ease-in-out infinite alternate; }
.ambient i:nth-child(1) { top: -30vmax; left: -28vmax; width: 80vmax; height: 80vmax;
  background: radial-gradient(closest-side, rgba(126, 52, 170, .30), transparent), radial-gradient(closest-side at 64% 60%, rgba(70, 40, 140, .24), transparent 85%); }
.ambient i:nth-child(2) { right: -34vmax; bottom: -40vmax; width: 84vmax; height: 84vmax; animation-name: drift-b; animation-duration: 54s;
  background: radial-gradient(closest-side, rgba(64, 48, 170, .26), transparent), radial-gradient(closest-side at 30% 34%, rgba(150, 50, 120, .14), transparent 85%); }
.ambient i:nth-child(3) { top: 18%; left: 58%; width: 44vmax; height: 44vmax; animation-name: drift-c; animation-duration: 38s;
  background: radial-gradient(closest-side, rgba(242, 165, 74, .10), transparent); }
.ambient::before { content: ''; position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(239, 215, 166, .55), transparent 60%),
    radial-gradient(1px 1px at 78% 12%, rgba(239, 215, 166, .45), transparent 60%),
    radial-gradient(1.2px 1.2px at 64% 42%, rgba(255, 255, 255, .35), transparent 60%),
    radial-gradient(1px 1px at 30% 66%, rgba(239, 215, 166, .35), transparent 60%),
    radial-gradient(1px 1px at 88% 74%, rgba(255, 255, 255, .3), transparent 60%),
    radial-gradient(1.3px 1.3px at 46% 88%, rgba(239, 215, 166, .3), transparent 60%),
    radial-gradient(1px 1px at 6% 52%, rgba(255, 255, 255, .25), transparent 60%);
  animation: twinkle 7s ease-in-out infinite alternate; }
.ambient::after { content: ''; position: absolute; inset: 0; opacity: .055; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .8 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes drift-a { 0% { transform: translate3d(0,0,0) rotate(0) scale(1); } 50% { transform: translate3d(12vmax, 8vmax, 0) rotate(40deg) scale(1.12); } 100% { transform: translate3d(4vmax, 16vmax, 0) rotate(-20deg) scale(.95); } }
@keyframes drift-b { 0% { transform: translate3d(0,0,0) rotate(0) scale(1.04); } 50% { transform: translate3d(-14vmax, -6vmax, 0) rotate(-36deg) scale(.92); } 100% { transform: translate3d(-5vmax, -14vmax, 0) rotate(24deg) scale(1.1); } }
@keyframes drift-c { 0% { transform: translate3d(0,0,0) scale(1); opacity: .7; } 50% { transform: translate3d(-18vmax, 5vmax, 0) scale(1.25); opacity: 1; } 100% { transform: translate3d(-6vmax, -10vmax, 0) scale(.9); opacity: .8; } }
@keyframes twinkle { from { opacity: .3; } to { opacity: .65; } }

/* ---------- 4. Typographie ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.015em; line-height: 1.1; font-optical-sizing: auto; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.4rem); font-variation-settings: 'SOFT' 50, 'WONK' 0; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.25; }
em.gold, .gold { font-style: italic; color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; font-variation-settings: 'SOFT' 100, 'WONK' 1; padding-right: .04em; }
.eyebrow { display: inline-flex; align-items: center; gap: .55em; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.eyebrow::before { content: '✦'; font-size: .9em; color: var(--gold); letter-spacing: 0; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.smallcaps { font-variant-caps: all-small-caps; letter-spacing: .08em; }
.num { font-variant-numeric: tabular-nums; }
.prose p { margin: 0 0 1em; color: var(--ink-2); }
.prose h2 { font-size: 1.45rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.15rem; margin: 1.4em 0 .5em; }
.prose ul, .prose ol { margin: 0 0 1em 1.2em; color: var(--ink-2); }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: .6em .7em; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--gold-2); font-weight: 500; }
.prose .table-scroll { overflow-x: auto; margin: 1em 0 1.4em; }
.prose .table-scroll table { margin: 0; min-width: 560px; }
.prose .table-scroll td + td { white-space: nowrap; }
.prose strong { color: var(--ink); font-weight: 500; }

/* ---------- 5. Mise en page ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.section { padding-block: clamp(56px, 9vw, 112px); position: relative; }
.section--tight { padding-block: clamp(36px, 6vw, 72px); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(26px, 4vw, 44px); }
.section-head--center { text-align: center; justify-items: center; }
.section-head p { max-width: 620px; }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.link-more { display: inline-flex; align-items: center; gap: .4em; color: var(--gold-2); font-weight: 450; font-size: .95rem; }
.link-more::after { content: '→'; transition: transform .3s var(--ease-out); }
.link-more:hover::after { transform: translateX(4px); }
.divider-star { display: flex; align-items: center; gap: 14px; color: var(--gold); justify-content: center; }
.divider-star::before, .divider-star::after { content: ''; height: 1px; width: min(120px, 18vw); background: linear-gradient(90deg, transparent, var(--line-gold)); }
.divider-star::after { transform: scaleX(-1); }

/* ---------- 6. Boutons, chips, badges ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: 0 22px;
  border-radius: var(--pill); font-weight: 500; font-size: .98rem; letter-spacing: .01em; white-space: nowrap; isolation: isolate;
  transition: transform .25s var(--ease-out), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn .ico { flex: none; }
.btn-cta { color: var(--cta-ink); background: var(--cta-grad); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 12px 34px -12px rgba(235, 184, 98, .75); overflow: hidden; }
.btn-cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%); transform: translateX(-120%); animation: shine 5.5s var(--ease) infinite 1.5s; }
.btn-cta:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 16px 44px -10px rgba(242, 165, 74, .8), var(--glow-candle); transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.06rem; }
.btn-xl { min-height: 62px; padding: 0 34px; font-size: 1.12rem; }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-gold); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(212, 175, 106, .07); }
.btn-soft { color: var(--ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.btn-soft:hover { background: rgba(255, 255, 255, .1); }
.btn-text { min-height: 0; padding: 6px 4px; color: var(--ink-2); font-weight: 400; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.btn.is-busy::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .8s linear infinite; }
@keyframes shine { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(120%); } }
@keyframes spin { to { transform: rotate(360deg); } }

.chip { display: inline-flex; align-items: center; gap: .45em; min-height: 38px; padding: 0 15px; border-radius: var(--pill);
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .035); color: var(--ink-2); font-size: .92rem; font-weight: 400;
  transition: border-color .25s, background .25s, color .25s, transform .2s var(--ease-out); white-space: nowrap; }
.chip:hover { border-color: var(--line-gold); color: var(--ink); }
.chip.is-on, .chip[aria-pressed='true'] { background: rgba(212, 175, 106, .16); border-color: var(--gold); color: var(--gold-2); }
.chip--sm { min-height: 30px; padding: 0 11px; font-size: .82rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.chips--scroll::-webkit-scrollbar { display: none; }

.badge { display: inline-flex; align-items: center; gap: .35em; padding: 3px 9px; border-radius: var(--pill); font-size: .74rem; font-weight: 500; letter-spacing: .02em;
  background: rgba(255, 255, 255, .07); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.badge--gold { background: rgba(212, 175, 106, .14); color: var(--gold-2); border-color: var(--line-gold); }
.badge--free { background: linear-gradient(135deg, rgba(255, 230, 173, .95), rgba(235, 184, 98, .95)); color: var(--cta-ink); border: 0; }
.badge--new { background: rgba(122, 92, 246, .16); color: #cdbcff; border-color: rgba(160, 130, 255, .3); }

.dot { width: 9px; height: 9px; border-radius: 50%; background: #6c6380; flex: none; }
.dot--on { background: var(--presence); box-shadow: 0 0 0 0 rgba(95, 227, 154, .55); animation: pulse-on 2.2s ease-out infinite; }
@keyframes pulse-on { 0% { box-shadow: 0 0 0 0 rgba(95, 227, 154, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(95, 227, 154, 0); } }

.stars { --v: 5; position: relative; display: inline-block; font-size: .95em; line-height: 1; letter-spacing: 2px; color: rgba(255, 255, 255, .16); }
.stars::before { content: '★★★★★'; }
.stars::after { content: '★★★★★'; position: absolute; inset: 0; width: calc(var(--v) / 5 * 100%); overflow: hidden; color: var(--gold); }

/* ---------- 7. Formulaires ---------- */
.field { display: grid; gap: 7px; }
.field > span, .label { font-size: .86rem; color: var(--ink-2); font-weight: 450; }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-s); border: 1px solid var(--line-2);
  background: rgba(8, 6, 16, .55); color: var(--ink); font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s; }
.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: #7f739a; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 106, .14); background: rgba(8, 6, 16, .75); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .9rem; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.check input { appearance: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1.5px solid var(--line-2); background: rgba(8, 6, 16, .6); display: grid; place-items: center; transition: all .2s; cursor: pointer; }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { content: ''; width: 10px; height: 6px; border: 2px solid var(--cta-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.form-error { color: var(--danger); font-size: .9rem; min-height: 1.2em; }
.form-note { color: var(--ink-3); font-size: .82rem; }

/* ---------- 8. Surfaces ---------- */
.panel { background: linear-gradient(180deg, rgba(29, 22, 50, .78), rgba(21, 16, 36, .78)); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.panel--gold { border-color: var(--line-gold); box-shadow: var(--sh-gold); }
.glass { background: rgba(21, 16, 36, .55); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }

/* ---------- 9. En-tête ---------- */
.ribbon { position: relative; z-index: 51; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 36px; padding: 7px var(--gutter);
  background: linear-gradient(90deg, rgba(212, 175, 106, .16), rgba(212, 175, 106, .26) 50%, rgba(212, 175, 106, .16)); border-bottom: 1px solid var(--line-gold);
  color: var(--gold-2); font-size: .86rem; font-weight: 450; line-height: 1.35; text-align: center; text-wrap: balance; transition: background .2s; }
.ribbon:hover { background: linear-gradient(90deg, rgba(212, 175, 106, .22), rgba(212, 175, 106, .34) 50%, rgba(212, 175, 106, .22)); }
.ribbon svg { flex: none; }
.ribbon__go { transition: transform .2s var(--ease-out); }
.ribbon:hover .ribbon__go { transform: translateX(3px); }
@media (max-width: 479px) { .ribbon { font-size: .8rem; gap: 7px; } .ribbon__go { display: none; } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--gold); color: var(--cta-ink); border-radius: 10px; }
.skip:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, .site-header--solid { background: rgba(11, 8, 20, .78); border-bottom-color: var(--line); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); }
.nav { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.32rem; letter-spacing: .02em; color: var(--ink); flex: none; }
.brand svg { width: 32px; height: 32px; filter: drop-shadow(0 0 10px rgba(212, 175, 106, .35)); }
.brand b { font-weight: 400; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* « Cartas Claras » est deux fois plus long que l'ancien nom : sur téléphone, la marque, « Chat gratis » et le menu
   doivent tenir sur une ligne dès 360 px ; en dessous, le symbole seul. */
@media (max-width: 479px) { .nav { gap: 10px; } .brand { gap: 7px; font-size: 1.08rem; } .brand svg { width: 26px; height: 26px; } }
@media (max-width: 359px) { .brand b { display: none; } }
.nav-links { display: none; align-items: center; gap: 4px; margin-left: 14px; }
.nav-links a { padding: 8px 12px; border-radius: var(--pill); color: var(--ink-2); font-size: .94rem; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-account { display: none; align-items: center; gap: 6px; color: var(--ink-2); font-size: .94rem; padding: 8px 10px; border-radius: var(--pill); }
.nav-account:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.balance-pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px 0 10px; border-radius: var(--pill); border: 1px solid var(--line-gold); background: rgba(212, 175, 106, .08); color: var(--gold-2); font-size: .88rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.balance-pill svg { width: 14px; height: 14px; }
.nav-cta { height: 40px; min-height: 40px; padding: 0 17px; font-size: .92rem; }
.nav-cta__now { display: none; }
@media (max-width: 479px) { .nav-cta__go { display: none; } }
@media (min-width: 1240px) {
  .nav-cta { gap: .7em; font-weight: 400; }
  .nav-cta__now { display: inline-flex; align-items: center; gap: .7em; font-weight: 600; }
  .nav-cta__now::after { content: ''; width: 1px; height: 1.1em; background: currentColor; opacity: .3; }
}
@media (max-width: 479px) { .site-header.is-auth .nav-cta { display: none; } }
.burger { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); }
.burger-lines > span { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger-lines > span + span { margin-top: 5px; }
.burger-lines { display: grid; }
.burger[aria-expanded='true'] .burger-lines > span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger[aria-expanded='true'] .burger-lines > span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] .burger-lines > span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: var(--header-h) 0 0; z-index: 49; padding: 20px var(--gutter) calc(30px + var(--safe-b)); background: rgba(10, 7, 18, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .35s var(--ease-out), visibility .3s; }
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a:not(.btn) { padding: 15px 4px; font-family: var(--font-display); font-size: 1.5rem; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 22px; }
.mobile-nav__note { margin-top: 8px; text-align: center; color: var(--ink-3); font-size: .8rem; }
@media (min-width: 1040px) {
  .nav-links { display: flex; }
  .nav-account { display: inline-flex; }
  .burger, .mobile-nav { display: none; }
}

/* ---------- 10. Pied de page ---------- */
.site-footer { position: relative; z-index: 1; margin-top: auto; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 7, 18, .4), rgba(7, 5, 13, .92)); padding: 56px 0 calc(28px + var(--safe-b)); }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; display: grid; gap: 12px; max-width: 360px; }
.footer-brand p { color: var(--ink-3); font-size: .92rem; }
.footer-col h4 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); font-weight: 500; margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--ink-3); font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; color: var(--ink-3); font-size: .8rem; line-height: 1.55; }
.footer-noscam { display: flex; align-items: flex-start; gap: 8px; color: var(--ink-2); }
.footer-noscam .ico { flex: none; margin-top: 3px; color: var(--gold); }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.footer-langs a { color: var(--ink-3); }
.footer-langs a[aria-current='true'] { color: var(--gold-2); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } .footer-brand { grid-column: auto; } }

/* ---------- 11. Carte de tarot (face crème, bandeaux composés en HTML) ---------- */
.tcard { --w: 120px; position: relative; width: var(--w); aspect-ratio: 3 / 5; flex: none; border-radius: calc(var(--w) * .055); container-type: inline-size; }
.tcard__face, .tcard__back { position: absolute; inset: 0; margin: 0; border-radius: inherit; overflow: hidden; }
.tcard__face { background: var(--cream); box-shadow: 0 0 0 1px rgba(53, 36, 23, .35), 0 14px 26px -12px rgba(0, 0, 0, .7); }
.tcard__img, .tcard__svg { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.tcard__num, .tcard__name { position: absolute; left: 4%; right: 4%; text-align: center; color: var(--ink-brown); font-family: var(--font-display); line-height: 1; pointer-events: none; white-space: nowrap; overflow: hidden; }
.tcard__num { top: 5.35%; transform: translateY(-50%); font-size: 6.6cqw; letter-spacing: .1em; font-weight: 500; }
.tcard__name { top: 94%; transform: translateY(-50%); font-size: 7.4cqw; font-weight: 520; font-variant-caps: all-small-caps; letter-spacing: .045em; text-overflow: ellipsis; }
.tcard__name.is-long { font-size: 6.4cqw; letter-spacing: .02em; }
.tcard__name.is-xlong { font-size: 5.6cqw; letter-spacing: 0; }
.tcard__back { background: #141036; box-shadow: 0 0 0 1px rgba(212, 175, 106, .35), 0 14px 26px -12px rgba(0, 0, 0, .75); color: var(--gold); }
.tcard__back img { width: 100%; height: 100%; object-fit: cover; }
.tcard__back--svg { display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #2a1d63, #120d33 70%); }
.tcard__back--svg svg { width: 100%; height: 100%; }
/* Carte retournable (3D) */
.tcard--flip { perspective: 1400px; }
.tcard--flip .tcard__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.3, 1.25, .5, 1); border-radius: inherit; }
.tcard--flip .tcard__side { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: inherit; }
.tcard--flip .tcard__side--front { transform: rotateY(180deg); }
.tcard--flip.is-revealed .tcard__inner { transform: rotateY(180deg); }
.tcard--flip.is-revealed .tcard__side--front .tcard__face { animation: card-halo 1.6s var(--ease-out) .35s both; }
@keyframes card-halo { 0% { box-shadow: 0 0 0 1px rgba(53, 36, 23, .35), 0 0 0 0 rgba(255, 214, 140, .0); } 35% { box-shadow: 0 0 0 1px rgba(53, 36, 23, .35), 0 0 46px 10px rgba(255, 214, 140, .55); } 100% { box-shadow: 0 0 0 1px rgba(53, 36, 23, .35), 0 14px 26px -12px rgba(0, 0, 0, .7); } }

/* Croix de 5 cartes (hero, profil, plateau, résumé) */
.cross { --cw: 74px; --gap: 10px; position: relative; width: calc(var(--cw) * 3 + var(--gap) * 2); height: calc(var(--cw) * 5 / 3 * 3 + var(--gap) * 2); }
.cross > .slot { position: absolute; width: var(--cw); aspect-ratio: 3 / 5; }
.cross > .slot .tcard { --w: var(--cw); }
.cross > .slot[data-pos='1'] { left: calc(var(--cw) + var(--gap)); top: calc(var(--cw) * 5 / 3 + var(--gap)); z-index: 2; }
.cross > .slot[data-pos='2'] { left: 0; top: calc(var(--cw) * 5 / 3 + var(--gap)); }
.cross > .slot[data-pos='3'] { right: 0; top: calc(var(--cw) * 5 / 3 + var(--gap)); }
.cross > .slot[data-pos='4'] { left: calc(var(--cw) + var(--gap)); top: 0; }
.cross > .slot[data-pos='5'] { left: calc(var(--cw) + var(--gap)); bottom: 0; }
.cross .slot__label { position: absolute; left: 50%; bottom: -1.7em; transform: translateX(-50%); font-size: .68rem; color: var(--ink-3); white-space: nowrap; letter-spacing: .02em; }
.cross--compact { height: calc(var(--cw) * 5 / 3 * 2.15 + var(--gap)); }
.cross--compact > .slot[data-pos='4'] { top: calc(-1 * var(--cw) * 5 / 3 * .42); }
.slot-empty { position: absolute; inset: 0; border-radius: calc(var(--cw) * .06); border: 1px dashed rgba(212, 175, 106, .4); background: rgba(212, 175, 106, .03); }

/* ---------- 12. Carte voyant (liste, carrousels) ---------- */
.rcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; background: var(--night-2); border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s; isolation: isolate; }
.rcard:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: var(--sh-2), 0 0 0 1px rgba(212, 175, 106, .18); }
.rcard__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, #2b1d48, #120d22); }
.rcard__media img, .rcard__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity .5s; }
/* Pendant que la carte monte, le calque de la photo peut déborder d'un pixel sous le dégradé (ligne claire) :
   zoom ancré en bas, et les 2 derniers pixels fondus, pour que ce pixel-là soit transparent. */
.rcard__media img { transform-origin: 50% 100%; }
.rcard__media img, .rcard__media video { -webkit-mask-image: linear-gradient(to top, transparent, #000 2px); mask-image: linear-gradient(to top, transparent, #000 2px); }
.rcard:hover .rcard__media img { transform: scale(1.04); }
.rcard__media video { opacity: 0; }
.rcard.is-playing .rcard__media video { opacity: 1; }
.rcard__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 7, 18, 0) 45%, rgba(10, 7, 18, .55) 72%, rgba(10, 7, 18, .96) 100%); }
.rcard__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 3.2rem; color: rgba(239, 215, 166, .55); letter-spacing: .04em; }
.rcard__status { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 9px; border-radius: var(--pill); font-size: .76rem; font-weight: 500; background: rgba(10, 7, 18, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); }
.rcard__status.is-on { color: #d8fbe7; }
.rcard__free { position: absolute; top: 12px; right: 12px; z-index: 2; }
.rcard__id { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; }
.rcard__name { font-family: var(--font-display); font-size: 1.42rem; line-height: 1.1; color: #fff; }
.rcard__city { color: var(--ink-2); font-size: .86rem; margin-top: 2px; }
.rcard__body { display: grid; gap: 11px; padding: 14px 16px 16px; flex: 1; }
.rcard__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rcard__meta { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; font-size: .84rem; color: var(--ink-3); }
.rcard__reads { white-space: nowrap; }
.rcard__meta strong { color: var(--ink); font-weight: 500; }
.rcard__quote { font-family: var(--font-display); font-style: italic; color: var(--ink-2); font-size: .98rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.rcard__price { font-size: .92rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rcard__price strong { color: var(--gold-2); font-weight: 500; font-size: 1.02rem; }
.rcard__price--then { font-size: .8rem; color: var(--ink-3); line-height: 1.25; }
.rcard__chat { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.rcard__fast { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); }
.rcard__fast .ico { color: var(--presence); }
.rcard__status { white-space: nowrap; }
/* Alerte activée : état visible (B-26). */
.btn-ghost.is-on { color: #c9f6dc; border-color: rgba(95, 227, 154, .5); background: rgba(95, 227, 154, .08); }
.rcard__link { position: absolute; inset: 0; z-index: 1; }
.rcard__foot .btn, .rcard__fav { position: relative; z-index: 3; }
.rgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); }
.rcard__hd { display: none; }
/* Liste sur mobile : une ligne compacte par voyant (photo à gauche), pour en voir plusieurs par écran. */
@media (max-width: 599px) {
  .rgrid--list { gap: 10px; grid-template-columns: 1fr; }
  .rgrid--list .rcard { display: grid; grid-template-columns: 116px minmax(0, 1fr); border-radius: var(--r); }
  .rgrid--list .rcard:hover { transform: none; }
  .rgrid--list .rcard__media { aspect-ratio: auto; min-height: 168px; }
  .rgrid--list .rcard__media::after { background: linear-gradient(180deg, rgba(10, 7, 18, 0) 55%, rgba(10, 7, 18, .7) 100%); }
  .rgrid--list .rcard__id { display: none; }
  /* L'accroche reste visible : c'est elle qui distingue les voyants (B-02). */
  .rgrid--list .rcard__quote { font-size: .86rem; line-height: 1.35; -webkit-line-clamp: 2; }
  .rgrid--list .rcard__chips .chip--sm:nth-child(3) { display: none; }
  .rgrid--list .rcard__status { top: auto; bottom: 8px; left: 8px; padding: 3px 8px 3px 7px; font-size: .68rem; gap: 5px; }
  .rgrid--list .rcard__status .dot { width: 7px; height: 7px; }
  .rgrid--list .rcard__free { top: 8px; left: 8px; right: auto; font-size: .64rem; padding: 2px 7px; }
  .rgrid--list .rcard__body { gap: 7px; padding: 12px 12px 12px 14px; min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .rgrid--list .rcard__hd { display: block; }
  .rgrid--list .rcard__name2 { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.1; color: var(--ink); }
  .rgrid--list .rcard__city2 { font-size: .8rem; color: var(--ink-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rgrid--list .rcard__chips { gap: 4px; max-height: 28px; overflow: hidden; }
  .rgrid--list .rcard__chips .chip--sm { min-height: 26px; padding: 0 9px; font-size: .74rem; }
  .rgrid--list .rcard__meta { font-size: .76rem; }
  .rgrid--list .rcard__chat { min-height: 44px; padding: 0 14px; font-size: .88rem; }
  .rgrid--list .rcard__foot { flex-wrap: wrap; gap: 6px 10px; }
}
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 72%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 720px) { .rail { grid-auto-columns: minmax(250px, 34%); } }
@media (min-width: 1040px) { .rail { grid-auto-columns: calc((100% - 3 * 14px) / 4); margin-inline: 0; padding-inline: 0; } }

/* Avatar rond (repli : initiales) */
.avatar { --s: 44px; position: relative; width: var(--s); height: var(--s); border-radius: 50%; flex: none; overflow: hidden; background: linear-gradient(140deg, #3a2667, #1a1230); display: grid; place-items: center; color: var(--gold-2); font-family: var(--font-display); font-size: calc(var(--s) * .38); box-shadow: 0 0 0 2px rgba(212, 175, 106, .4); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-stack { display: flex; }
.avatar-stack .avatar { --s: 34px; box-shadow: 0 0 0 2px var(--night-1); }
.avatar-stack .avatar + .avatar { margin-left: -10px; }

/* ---------- 13. Feuilles (bottom sheets) et modales ---------- */
.sheet { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; }
.sheet.is-open { visibility: visible; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(5, 3, 10, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s; }
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet__panel { position: relative; width: 100%; max-width: 560px; max-height: min(92dvh, 860px); overflow: auto; overscroll-behavior: contain;
  padding: 10px 22px calc(24px + var(--safe-b)); border-radius: var(--r-xl) var(--r-xl) 0 0; background: linear-gradient(180deg, #1e1636, #140f25 60%); border: 1px solid var(--line-gold); border-bottom: 0;
  box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .8), 0 -1px 0 rgba(239, 215, 166, .12) inset; transform: translateY(105%); transition: transform .5s var(--ease-out); }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__grip { width: 42px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); margin: 2px auto 16px; }
.sheet__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); background: rgba(255, 255, 255, .05); }
.sheet__close:hover { color: var(--ink); background: rgba(255, 255, 255, .1); }
.sheet__title { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.2; padding-right: 36px; }
.sheet__sub { color: var(--ink-2); margin-top: 6px; }
@media (min-width: 720px) {
  .sheet { align-items: center; padding: 24px; }
  .sheet__panel { border-radius: var(--r-xl); border-bottom: 1px solid var(--line-gold); transform: translateY(24px) scale(.98); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s; }
  .sheet.is-open .sheet__panel { transform: none; opacity: 1; }
  .sheet__grip { display: none; }
}

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); z-index: 120; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: var(--pill); background: #241b3e; border: 1px solid var(--line-gold); color: var(--ink); font-size: .92rem; box-shadow: var(--sh-2); transition: opacity .3s, transform .4s var(--ease-out); pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 14. Barre d'action collante (mobile) ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px var(--gutter) calc(12px + var(--safe-b)); background: linear-gradient(180deg, rgba(11, 8, 20, 0), rgba(11, 8, 20, .92) 36%); transform: translateY(110%); transition: transform .45s var(--ease-out); }
.sticky-cta.is-on { transform: none; }
.sticky-cta .btn { width: 100%; }
.sticky-cta__note { text-align: center; font-size: .76rem; color: var(--ink-3); margin-top: 7px; }
@media (min-width: 1040px) { .sticky-cta { display: none; } }

/* ---------- 15. Révélation au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- 16. CTA final / encarts ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 64px) clamp(22px, 5vw, 56px); text-align: center; border: 1px solid var(--line-gold);
  background: radial-gradient(90% 120% at 50% 0%, rgba(242, 165, 74, .16), transparent 60%), linear-gradient(180deg, #24183f, #160f29); box-shadow: var(--sh-2); }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--ink-2); margin-bottom: 24px; }
.tool-cta { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 26px 22px; border-radius: var(--r-l); border: 1px solid var(--line-gold); background: linear-gradient(180deg, rgba(212, 175, 106, .08), rgba(212, 175, 106, .02)); }

/* Bandeau cookies */
.cookie { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: 45; max-width: 520px; margin-inline: auto; display: flex; gap: 12px; align-items: center; padding: 10px 12px 10px 14px; border-radius: var(--r); font-size: .8rem; line-height: 1.4; color: var(--ink-2); transition: bottom .35s var(--ease-out); }
.cookie .btn { flex: none; min-height: 36px; height: 36px; padding: 0 14px; font-size: .82rem; }
/* Jamais par-dessus la barre d'action collante (A-09) : le bandeau remonte au-dessus d'elle. */
@media (max-width: 1039px) { body:has(.sticky-cta.is-on) .cookie { bottom: calc(112px + var(--safe-b)); } }
/* Profil et page d'arrivée des pubs : le bouton d'action est dans le premier écran, le bandeau passe en haut. */
@media (max-width: 599px) {
  body.page-reader .cookie, body.page-start .cookie,
  body.page-reader:has(.sticky-cta.is-on) .cookie, body.page-start:has(.sticky-cta.is-on) .cookie { top: calc(var(--header-h) + 8px); bottom: auto; }
}
.cookie p { flex: 1; }

/* Utilitaires */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.stack { display: grid; gap: 12px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 17. Feuille d'entrée (thème → prénom → compte → mise en relation) ---------- */
.intake__progress { display: flex; gap: 6px; margin: 0 40px 18px 0; }
.intake__progress i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); transition: background .4s; }
.intake__progress i.is-on { background: var(--gold-grad); }
.intake__step { display: none; animation: step-in .45s var(--ease-out); }
.intake__step.is-on { display: block; }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } }
.intake__topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.topic { display: grid; justify-items: center; gap: 7px; padding: 14px 6px 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--ink-2); font-size: .86rem; text-align: center; line-height: 1.2; transition: all .25s var(--ease-out); }
.topic .ico { color: var(--gold); transition: transform .3s var(--spring); }
.topic:hover { border-color: var(--line-gold); color: var(--ink); }
.topic.is-on { border-color: var(--gold); background: rgba(212, 175, 106, .13); color: var(--gold-2); box-shadow: 0 0 0 3px rgba(212, 175, 106, .1); }
.topic.is-on .ico { transform: scale(1.15); }
.intake__secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; color: var(--ink-3); font-size: .82rem; }
/* En-tête de contexte : avec qui, l'offre, la question (B-11). */
.intake__ctx { display: flex; align-items: center; gap: 12px; margin: -4px 40px 14px 0; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line-gold); background: rgba(212, 175, 106, .07); }
.intake__ctx > div { display: grid; gap: 2px; min-width: 0; }
.intake__faces { display: flex; flex: none; }
.intake__faces img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid #1a1226; }
.intake__faces img + img { margin-left: -10px; }
.intake__ctx strong { font-weight: 500; font-size: .9rem; color: var(--gold-2); }
.intake__ctx q { font-family: var(--font-display); font-style: italic; font-size: .9rem; color: var(--ink-2); quotes: none; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.intake__qlink { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--gold-2); text-decoration-color: rgba(239, 215, 166, .35); }
.check.is-missing input { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 138, 138, .18); }
.intake__or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: .82rem; margin: 16px 0 4px; }
.intake__or::before, .intake__or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
/* Google / Apple en haut des étapes compte et connexion : blancs sur la nuit (chartes Google et Apple, fond sombre). */
.social { display: grid; gap: 10px; margin-top: 18px; }
.social .intake__or { margin: 8px 0 -4px; }
.btn-social { color: #1f1f1f; background: #fff; font-weight: 500; gap: 12px; }
.btn-social:hover { background: #f1eef6; }
.btn-social svg { flex: none; }
.check__docs { margin: -6px 0 0 32px; font-size: .78rem; color: var(--ink-3); }
.check__docs a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.intake__switch { margin-top: 14px; text-align: center; color: var(--ink-3); font-size: .9rem; }
.intake__pwhint { margin-top: -4px; font-size: .78rem; }
.intake__switch .btn-text, .intake__switch a { color: var(--gold-2); }
.match { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 8px 0 4px; min-height: 300px; }
.match__search { display: grid; gap: 18px; justify-items: center; padding-top: 30px; }
.match__orb { position: relative; width: 110px; height: 110px; display: grid; place-items: center; }
.match__orb i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(212, 175, 106, .6); opacity: 0; animation: sonar 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.match__orb i:nth-child(2) { animation-delay: .8s; } .match__orb i:nth-child(3) { animation-delay: 1.6s; }
.match__orb span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-2); background: radial-gradient(circle, #3a2667, #1a1230); box-shadow: 0 0 0 2px rgba(212, 175, 106, .5), 0 0 40px rgba(212, 175, 106, .3); animation: breathe 2.4s ease-in-out infinite; }
.match__searching { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-2); }
.match__found { display: grid; gap: 12px; justify-items: center; width: 100%; animation: step-in .5s var(--ease-out); }
.match__card { display: grid; justify-items: center; gap: 8px; }
.match__card .avatar { --s: 108px; box-shadow: 0 0 0 3px var(--presence), 0 0 40px 6px rgba(95, 227, 154, .22); }
.match__name { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; }
.match__spec { color: var(--ink-2); font-size: .95rem; }
.match__ai { color: var(--ink-3); font-size: .78rem; margin-top: 4px; }
.match__others { display: grid; gap: 8px; width: 100%; margin-top: 4px; }
.match-alt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); text-align: left; transition: border-color .2s, background .2s; }
.match-alt:hover { border-color: var(--line-gold); background: rgba(212, 175, 106, .06); }
.match-alt .avatar { --s: 46px; }
.match-alt strong { display: block; font-weight: 500; }
.match-alt span { color: var(--ink-3); font-size: .84rem; }
@keyframes sonar { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes breathe { 50% { box-shadow: 0 0 0 2px rgba(212, 175, 106, .8), 0 0 60px rgba(212, 175, 106, .45); } }

/* ---------- 18. Feuille de recharge ---------- */
.pay__step { display: none; animation: step-in .4s var(--ease-out); }
.pay__step.is-on { display: block; }
.pay__balance { margin-top: 10px; display: inline-block; padding: 6px 12px; border-radius: var(--pill); background: rgba(212, 175, 106, .1); color: var(--gold-2); font-size: .88rem; }
.pay-welcome { position: relative; display: grid; gap: 10px; width: 100%; margin-top: 18px; padding: 18px 18px 16px; border-radius: var(--r-l); text-align: left; overflow: hidden;
  border: 1px solid rgba(239, 215, 166, .6); background: radial-gradient(120% 140% at 100% 0%, rgba(242, 165, 74, .22), transparent 55%), linear-gradient(160deg, #2c1d4d, #1b1431);
  box-shadow: 0 0 0 4px rgba(212, 175, 106, .08), 0 18px 40px -18px rgba(242, 165, 74, .45); }
.pay-welcome__tag { display: inline-flex; align-items: center; gap: 7px; justify-self: start; padding: 4px 10px; border-radius: var(--pill); background: rgba(212, 175, 106, .16); color: var(--gold-2); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.pay-welcome__line { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.2; color: #fff; }
.pay-welcome__value { color: var(--ink-3); font-size: .84rem; margin-top: -4px; }
/* Cartes du tirage en cours : retournées et encore face cachée (l'argument vrai de la suite). */
.pay__cards { display: flex; justify-content: center; gap: 6px; margin: 2px 40px 12px 0; }
.pay-card { width: 34px; aspect-ratio: 3 / 5; border-radius: 4px; overflow: hidden; background: radial-gradient(circle at 50% 50%, #2a1d63, #120d33 70%); box-shadow: 0 0 0 1px rgba(212, 175, 106, .45), 0 8px 18px -8px rgba(0, 0, 0, .8); display: grid; place-items: center; }
.pay-card i { width: 10px; height: 10px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: .85; }
.pay-card.is-up { background: var(--cream); }
.pay-card img { width: 100%; height: 100%; object-fit: cover; }
.pay-card:not(.is-up) { animation: pay-card-glow 2.4s ease-in-out infinite alternate; }
@keyframes pay-card-glow { from { box-shadow: 0 0 0 1px rgba(212, 175, 106, .45), 0 8px 18px -8px rgba(0, 0, 0, .8); } to { box-shadow: 0 0 0 1px rgba(239, 215, 166, .8), 0 0 16px 2px rgba(242, 165, 74, .3); } }
.pack__per { color: var(--ink-3); font-size: .72rem; }
.pay__methods { text-align: center; color: var(--ink-3); font-size: .8rem; margin-top: 6px; }
.pay__later { display: block; margin: 10px auto 0; color: var(--ink-3); }
.pay__recap { color: var(--ink-2); font-size: .88rem; margin: -2px 0 12px; }
.packs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }
.pack { position: relative; display: grid; gap: 2px; justify-items: center; padding: 16px 8px 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); transition: all .25s var(--ease-out); }
.pack:hover { border-color: var(--gold); background: rgba(212, 175, 106, .07); transform: translateY(-1px); }
.pack.is-popular { border-color: var(--line-gold); background: rgba(212, 175, 106, .07); }
.pack__pop { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 2px 9px; border-radius: var(--pill); background: var(--gold); color: var(--cta-ink); font-size: .66rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap; text-transform: uppercase; }
.pack__amount { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.pack__bonus { color: var(--presence); font-size: .82rem; font-weight: 500; }
.pack__min { color: var(--ink-3); font-size: .78rem; }
.pack__use { margin-top: 5px; padding-top: 6px; border-top: 1px solid var(--line); width: 100%; color: var(--ink-2); font-size: .72rem; line-height: 1.3; text-align: center; text-wrap: balance; }
.pay__then { margin-top: 14px; text-align: center; color: var(--ink-3); font-size: .82rem; }
.pay__guarantee { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 6px; color: var(--ink-3); font-size: .8rem; }
.pay__guarantee .ico { color: var(--gold); }
.pay__back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 8px; color: var(--ink-3); text-decoration: none; }
.pay__express { margin: 16px 0 6px; min-height: 0; }
.pay__element { margin: 12px 0 14px; min-height: 120px; }
.pay__loading { display: grid; place-items: center; min-height: 120px; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid rgba(212, 175, 106, .25); border-top-color: var(--gold); animation: spin .8s linear infinite; display: inline-block; }
.pay__consent { margin: 4px 0 12px; font-size: .82rem; }
.pay__secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; color: var(--ink-3); font-size: .78rem; }
.pay__done { text-align: center; padding: 30px 0 18px; }
.pay__done .sheet__title { padding: 0; }
.pay__check { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--presence); color: #0b2a18; box-shadow: 0 0 40px rgba(95, 227, 154, .45); animation: pop .5s var(--spring); }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
@media (min-width: 560px) { .packs { grid-template-columns: repeat(4, 1fr); } }

/* Échelle de prix sous le CTA (gratuit → 1re recharge → tarif) : ce qui se passe à 2:01, avant le clic. */
.ladder { list-style: none; margin: 2px 0 0; padding: 0; max-width: 560px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ladder li { position: relative; display: grid; gap: 2px; align-content: start; padding: 9px 8px 8px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); text-align: center; }
.ladder li:first-child { border-color: var(--line-gold); background: rgba(212, 175, 106, .08); }
.ladder li + li::before { content: '›'; position: absolute; left: -7px; top: 50%; transform: translate(-50%, -50%); color: var(--ink-3); font-size: 1rem; line-height: 1; }
.ladder strong { font-family: var(--font-display); font-weight: 400; font-size: 1.06rem; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; }
.ladder li:first-child strong { color: var(--gold-2); }
.ladder span { color: var(--ink-3); font-size: .72rem; line-height: 1.3; text-wrap: balance; }
