/* ============================================================
   ELOZYA — Design system « Midnight Observatory »
   Nuit profonde prune/indigo · or champagne · serif gravé
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --night-900: #0a0816;
  --night-800: #110d24;
  --night-700: #181232;
  --night-600: #221943;
  --plum: #2a1b4d;
  --veil: rgba(255, 255, 255, 0.06);
  --veil-strong: rgba(255, 255, 255, 0.12);

  --gold: #d8b86a;
  --gold-bright: #f3d99b;
  --gold-deep: #a8854a;
  --moon: #e9e4f5;
  --mist: #b3aac8;
  --mist-dim: #7a7196;

  --online: #5fd1a0;
  --busy: #e8a24a;
  --offline: #6b6385;
  --danger: #e06a7c;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px -25px rgba(0, 0, 0, 0.8);
  --shadow-gold: 0 0 40px -8px rgba(216, 184, 106, 0.35);

  --serif: 'Cinzel', serif;
  --script: 'Cormorant Garamond', serif;
  --sans: 'Outfit', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--moon);
  background-color: var(--night-900);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(86, 56, 145, 0.4), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(40, 30, 90, 0.5), transparent 55%),
    radial-gradient(circle at 50% 120%, rgba(216, 184, 106, 0.08), transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Champ d'étoiles + grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(243,217,155,0.6), transparent),
    radial-gradient(1px 1px at 35% 80%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 90% 60%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 12% 60%, rgba(255,255,255,0.4), transparent);
  background-repeat: repeat;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
  animation: twinkle 8s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .5; } to { opacity: .9; } }

body > * { position: relative; z-index: 1; }

/* ---------- Typographie ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .02em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
a { color: var(--gold-bright); text-decoration: none; }
.muted { color: var(--mist); }
.dim { color: var(--mist-dim); }
.script { font-family: var(--script); font-style: italic; }
.eyebrow {
  font-family: var(--serif); font-size: .72rem; letter-spacing: .35em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}

/* ---------- Layout ---------- */
.container { width: min(1180px, 92vw); margin: 0 auto; }
.section { padding: 5rem 0; }
.grid { display: grid; gap: 1.5rem; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.row { display: flex; gap: 1rem; align-items: center; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.wrap { flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(10,8,22,.92), rgba(10,8,22,.55));
  border-bottom: 1px solid var(--veil);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.4rem; color: var(--moon); letter-spacing: .12em; }
.brand .mark { font-size: 1.5rem; filter: drop-shadow(0 0 8px rgba(216,184,106,.6)); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: var(--mist); font-size: .95rem; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--gold-bright); }
/* Les boutons dans la nav gardent leur couleur de texte propre (sinon .nav a écrase .btn-gold -> texte clair sur or). */
.nav a.btn-gold, .nav a.btn-gold:hover { color: #1a1330; }
.nav a.btn-ghost { color: var(--moon); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 500; font-size: .95rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .25s, background .2s; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1a1330; box-shadow: var(--shadow-gold); font-weight: 600;
}
.btn-gold:hover { box-shadow: 0 0 50px -6px rgba(216,184,106,.6); }
.btn-ghost { background: var(--veil); color: var(--moon); border-color: var(--veil-strong); }
.btn-ghost:hover { background: var(--veil-strong); }
.btn-danger { background: linear-gradient(135deg, #e06a7c, #b23b53); color: #fff; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Cartes ---------- */
.card {
  background: linear-gradient(160deg, rgba(34,25,67,.75), rgba(17,13,36,.85));
  border: 1px solid var(--veil); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); backdrop-filter: blur(6px);
}
.card-hover { transition: transform .25s, border-color .25s, box-shadow .25s; }
.card-hover:hover { transform: translateY(-4px); border-color: rgba(216,184,106,.4); box-shadow: var(--shadow), var(--shadow-gold); }

/* ---------- Badges / statut ---------- */
.badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; padding: .25rem .7rem; border-radius: 999px; border: 1px solid var(--veil-strong); }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.online { background: var(--online); box-shadow: 0 0 8px var(--online); animation: pulse 2s infinite; }
.dot.busy { background: var(--busy); box-shadow: 0 0 8px var(--busy); }
.dot.offline { background: var(--offline); }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(95,209,160,.5);} 50%{ box-shadow: 0 0 0 6px rgba(95,209,160,0);} }
.status-online { color: var(--online); }
.status-busy { color: var(--busy); }
.status-offline { color: var(--offline); }

.tag { font-size: .75rem; padding: .2rem .6rem; border-radius: 999px; background: rgba(216,184,106,.12); color: var(--gold-bright); border: 1px solid rgba(216,184,106,.25); }

/* ---------- Formulaires ---------- */
label { display: block; font-size: .85rem; color: var(--mist); margin-bottom: .4rem; }
input, textarea, select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--moon);
  background: rgba(10,8,22,.6); border: 1px solid var(--veil-strong);
  border-radius: var(--radius-sm); padding: .8rem 1rem; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,184,106,.15); }
/* Accessibilité : focus clavier visible partout (remplace tout outline:none) */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
textarea { resize: vertical; min-height: 90px; }
.field { margin-bottom: 1.1rem; }

/* ---------- Avatar ---------- */
.avatar {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.8rem; background: radial-gradient(circle at 30% 30%, var(--plum), var(--night-700));
  border: 1px solid rgba(216,184,106,.35); flex-shrink: 0;
}
.avatar.lg { width: 96px; height: 96px; font-size: 2.6rem; }

/* ---------- Hero ---------- */
.hero { padding: 6rem 0 4rem; text-align: center; }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .glow { color: var(--gold-bright); text-shadow: 0 0 30px rgba(216,184,106,.5); }
.hero p.lead { font-size: 1.2rem; color: var(--mist); max-width: 620px; margin: 0 auto 2rem; }
.moon-orb {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 2rem;
  background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--gold-deep) 45%, #3a2d1a 75%);
  box-shadow: 0 0 80px -10px rgba(216,184,106,.7), inset -12px -12px 30px rgba(0,0,0,.4);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }

/* ---------- Utilitaires ---------- */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--veil-strong), transparent); margin: 2rem 0; }
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: .5rem; }
.toast { background: var(--night-600); border: 1px solid var(--veil-strong); padding: .8rem 1.2rem; border-radius: var(--radius-sm); box-shadow: var(--shadow); animation: slideUp .3s ease; }
.toast.err { border-color: var(--danger); }
.toast.ok { border-color: var(--online); }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.fade-in { animation: fadeIn .6s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.delay-1 { animation-delay: .1s; } .delay-2 { animation-delay: .2s; } .delay-3 { animation-delay: .3s; }

.price { font-family: var(--serif); color: var(--gold-bright); }
.hidden { display: none !important; }
footer.site-footer { border-top: 1px solid var(--veil); padding: 2.5rem 0; color: var(--mist-dim); font-size: .9rem; text-align: center; }

/* ============================================================
   REFONTE 2026 — Nouvelles classes (spec §9)
   Mêmes variables / rayons / ombres que le design system.
   ============================================================ */

/* ---------- Confiance (trust) ---------- */
/* Bandeau de réassurance : pictos + libellés courts, en ligne, qui passe à la ligne sur mobile */
.trust-row {
  display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; justify-content: center;
  color: var(--mist); font-size: .9rem;
}
.trust-row > * { display: inline-flex; align-items: center; gap: .5rem; }
.trust-row .ico { color: var(--gold); font-size: 1.1rem; filter: drop-shadow(0 0 6px rgba(216,184,106,.5)); }

/* Chiffres clés de réassurance (fiche voyant / landing) */
.trust-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1rem; text-align: center; }
.trust-stats .stat { padding: .6rem; }
.trust-stats .stat b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--gold-bright); line-height: 1.1; }
.trust-stats .stat span { font-size: .78rem; color: var(--mist-dim); letter-spacing: .04em; }

/* ---------- Numéro d'étape (cercle gravé) ---------- */
.step-num {
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 50%;
  font-family: var(--serif); font-weight: 600; font-size: 1rem;
  color: var(--gold-bright); background: radial-gradient(circle at 30% 30%, var(--plum), var(--night-700));
  border: 1px solid rgba(216,184,106,.45); box-shadow: inset 0 0 12px rgba(216,184,106,.15);
}

/* ---------- Simulateur de revenus (landing pro) ---------- */
.simulator { display: flex; flex-direction: column; gap: 1.2rem; }
.simulator .sim-out { font-family: var(--serif); font-size: 2rem; color: var(--gold-bright); text-shadow: 0 0 24px rgba(216,184,106,.4); }
/* Barre horizontale empilée : part voyant (or) + part plateforme (voile) */
.sim-bar {
  position: relative; width: 100%; height: 22px; border-radius: 999px;
  background: var(--veil); overflow: hidden; border: 1px solid var(--veil-strong);
}
.sim-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  box-shadow: var(--shadow-gold); transition: width .4s ease;
}

/* input range stylisé (track --veil, thumb --gold), focus visible */
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; padding: 0;
  background: var(--veil); border: 1px solid var(--veil-strong); border-radius: 999px; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--gold-deep));
  border: 1px solid var(--gold-deep); box-shadow: var(--shadow-gold); cursor: pointer; margin-top: -1px;
}
input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--gold-deep));
  border: 1px solid var(--gold-deep); box-shadow: var(--shadow-gold); cursor: pointer;
}
input[type=range]::-moz-range-track { height: 6px; background: var(--veil); border-radius: 999px; }
input[type=range]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(216,184,106,.3); }
input[type=range]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--gold); outline-offset: 2px; }
input[type=range]:focus-visible::-moz-range-thumb { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Comparatif & paliers de commission ---------- */
.compare-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--veil); }
.compare-row:last-child { border-bottom: none; }
.compare-row .us { color: var(--gold-bright); font-weight: 600; }
.compare-row .them { color: var(--mist-dim); }

/* Barre de palier (40/30/20) : libellé + barre proportionnelle */
.tier-bar { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: .8rem; margin: .5rem 0; }
.tier-bar .bar { height: 12px; border-radius: 999px; background: var(--veil); overflow: hidden; }
.tier-bar .bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); }
.tier-bar .pct { font-family: var(--serif); color: var(--gold-bright); font-size: .9rem; }

/* ---------- Badges spéciaux ---------- */
.founder-badge {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; padding: .25rem .7rem; border-radius: 999px;
  font-weight: 600; color: var(--gold-bright);
  background: linear-gradient(135deg, rgba(243,217,155,.18), rgba(168,133,74,.12));
  border: 1px solid rgba(216,184,106,.5); box-shadow: 0 0 18px -6px rgba(216,184,106,.5);
}
.founder-badge::before { content: '✦'; }
.verified-badge {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; padding: .25rem .7rem; border-radius: 999px;
  color: var(--online); background: rgba(95,209,160,.12); border: 1px solid rgba(95,209,160,.4);
}
.verified-badge::before { content: '✓'; font-weight: 700; }

/* ---------- Stepper d'onboarding (3 points) ---------- */
.stepper { display: flex; align-items: flex-start; gap: 0; counter-reset: step; }
.step {
  flex: 1; position: relative; text-align: center; color: var(--mist-dim);
  font-size: .82rem; padding-top: 46px;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); color: var(--mist-dim);
  background: var(--night-700); border: 1px solid var(--veil-strong); z-index: 1;
}
/* trait reliant les étapes */
.step::after {
  content: ''; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px;
  background: var(--veil-strong); z-index: 0;
}
.step:first-child::after { display: none; }
.step.done, .step.active { color: var(--moon); }
.step.active::before { color: #1a1330; background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.step.done::before { content: '✓'; color: var(--online); border-color: rgba(95,209,160,.5); background: rgba(95,209,160,.12); }
.step.done::after, .step.active::after { background: var(--gold-deep); }

/* ---------- Pastilles d'état (machine à états §3) ---------- */
.status-pill {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 500;
  padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--veil-strong); color: var(--mist);
}
.status-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill.verifie  { color: var(--online); background: rgba(95,209,160,.1); border-color: rgba(95,209,160,.35); }
.status-pill.en-revue { color: #7fb0e8; background: rgba(127,176,232,.1); border-color: rgba(127,176,232,.35); }
.status-pill.a-verifier { color: var(--busy); background: rgba(232,162,74,.1); border-color: rgba(232,162,74,.35); }
.status-pill.rejete   { color: var(--danger); background: rgba(224,106,124,.1); border-color: rgba(224,106,124,.35); }

/* ---------- Charte de déontologie / consentements ---------- */
.deontology {
  background: linear-gradient(160deg, rgba(34,25,67,.6), rgba(17,13,36,.7));
  border: 1px solid var(--veil); border-left: 3px solid var(--gold); border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem; color: var(--mist); font-size: .9rem;
}
.deontology ul { margin: .5rem 0 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
/* Case à cocher de consentement : ligne label cliquable */
.consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--mist); cursor: pointer; padding: .3rem 0; }
.consent input[type=checkbox] { width: auto; margin-top: .15rem; flex-shrink: 0; accent-color: var(--gold); cursor: pointer; }
.consent-rgpd { font-size: .8rem; color: var(--mist-dim); border-top: 1px solid var(--veil); margin-top: .8rem; padding-top: .8rem; }

/* ---------- Filtres annuaire ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.filters .field { margin-bottom: 0; }
.chip-filter {
  display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; user-select: none;
  font-size: .85rem; padding: .45rem .9rem; border-radius: 999px;
  background: var(--veil); color: var(--mist); border: 1px solid var(--veil-strong);
  transition: background .2s, color .2s, border-color .2s;
}
.chip-filter:hover { color: var(--moon); border-color: rgba(216,184,106,.4); }
.chip-filter.active { background: rgba(216,184,106,.16); color: var(--gold-bright); border-color: rgba(216,184,106,.5); }

/* ---------- Navigation de dashboard ---------- */
.dash-nav { display: flex; flex-wrap: wrap; gap: .5rem; border-bottom: 1px solid var(--veil); margin-bottom: 1.5rem; }
.dash-nav a, .dash-nav button {
  background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: .92rem;
  color: var(--mist); padding: .7rem 1rem; border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.dash-nav a:hover, .dash-nav button:hover { color: var(--moon); }
.dash-nav a.active, .dash-nav button.active { color: var(--gold-bright); border-bottom-color: var(--gold); }

/* ---------- Wallet / portefeuille ---------- */
.wallet-hero {
  background: linear-gradient(135deg, rgba(42,27,77,.85), rgba(17,13,36,.9));
  border: 1px solid rgba(216,184,106,.25); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow), var(--shadow-gold); text-align: center;
}
.wallet-hero .balance { font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 3.2rem); color: var(--gold-bright); text-shadow: 0 0 30px rgba(216,184,106,.45); line-height: 1.1; }
.wallet-hero .label { color: var(--mist); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; font-family: var(--serif); }

/* Jauge de budget hebdo */
.budget-gauge { width: 100%; height: 14px; border-radius: 999px; background: var(--veil); border: 1px solid var(--veil-strong); overflow: hidden; }
.budget-gauge > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(135deg, var(--online), #3fae85); transition: width .4s ease; }
.budget-gauge.warn > span { background: linear-gradient(135deg, var(--busy), #c47e2e); }
.budget-gauge.over > span { background: linear-gradient(135deg, var(--danger), #b23b53); }

/* Ligne de ledger (mouvement de compte) */
.ledger-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--veil); font-size: .92rem; }
.ledger-row:last-child { border-bottom: none; }
.ledger-row .lbl { color: var(--mist); }
.ledger-row .amt { font-family: var(--serif); }
.ledger-row .amt.plus { color: var(--online); }
.ledger-row .amt.minus { color: var(--danger); }
.ledger-row time { color: var(--mist-dim); font-size: .8rem; }

/* Relevé mensuel (dashboard pro) */
.statement-row { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--veil); }
.statement-row:last-child { border-bottom: none; }
.statement-row .net { font-family: var(--serif); color: var(--gold-bright); }

/* Bandeau d'onboarding (dashboard pro non finalisé) */
.onboarding-banner {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(216,184,106,.14), rgba(42,27,77,.6));
  border: 1px solid rgba(216,184,106,.4); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; color: var(--moon);
}
.onboarding-banner .grow { flex: 1; min-width: 200px; }
.onboarding-banner.muted { background: linear-gradient(135deg, rgba(127,176,232,.1), rgba(42,27,77,.6)); border-color: rgba(127,176,232,.35); }

/* ---------- Scène d'appel (call.html) ---------- */
.call-stage {
  position: relative; width: 100%; min-height: 60vh; border-radius: var(--radius);
  background: radial-gradient(circle at 50% 40%, var(--plum), var(--night-900) 70%);
  border: 1px solid var(--veil); overflow: hidden; display: grid; place-items: center;
}
/* HUD temps/coût superposé */
.hud {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  display: flex; gap: 1.2rem; align-items: center;
  background: rgba(10,8,22,.7); backdrop-filter: blur(10px);
  border: 1px solid var(--veil-strong); border-radius: 999px; padding: .6rem 1.2rem;
}
.hud .timer { font-family: var(--serif); font-size: 1.3rem; color: var(--moon); }
.hud .cost { font-family: var(--serif); color: var(--gold-bright); }
.hud .lbl { font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--mist-dim); display: block; }
/* Contrôles d'appel (boutons ronds) */
.call-controls {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; gap: 1rem; align-items: center;
}
.call-controls .ctrl {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  font-size: 1.3rem; color: var(--moon); background: var(--veil); border: 1px solid var(--veil-strong);
  transition: background .2s, transform .15s;
}
.call-controls .ctrl:hover { background: var(--veil-strong); }
.call-controls .ctrl:active { transform: scale(.94); }
.call-controls .ctrl.off { background: rgba(224,106,124,.2); border-color: var(--danger); color: var(--danger); }
.call-controls .ctrl.hangup { background: linear-gradient(135deg, #e06a7c, #b23b53); border-color: transparent; color: #fff; width: 64px; height: 64px; }
/* Bandeau minutes offertes */
.free-min-banner {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  background: rgba(95,209,160,.12); border: 1px solid rgba(95,209,160,.4); color: var(--online);
  border-radius: 999px; padding: .5rem 1.2rem; font-size: .9rem; font-weight: 500;
}
.free-min-banner::before { content: '🎁'; }

/* ---------- Grille zodiaque (horoscope) ---------- */
.zodiac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
.zodiac-grid .sign {
  text-align: center; padding: 1.3rem .8rem; border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(34,25,67,.7), rgba(17,13,36,.8));
  border: 1px solid var(--veil); transition: transform .25s, border-color .25s;
}
.zodiac-grid .sign:hover { transform: translateY(-4px); border-color: rgba(216,184,106,.45); }
.zodiac-grid .sign .glyph { font-size: 2rem; color: var(--gold-bright); filter: drop-shadow(0 0 8px rgba(216,184,106,.45)); }
.zodiac-grid .sign .name { font-family: var(--serif); font-size: 1rem; margin-top: .4rem; }
.zodiac-grid .sign .dates { font-size: .74rem; color: var(--mist-dim); }

/* ---------- Carte de tarot (tirage) ---------- */
.tarot-card {
  aspect-ratio: 2 / 3; border-radius: var(--radius-sm); position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--plum), var(--night-800));
  border: 1px solid rgba(216,184,106,.4); box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem; text-align: center; transition: transform .3s, box-shadow .3s;
}
.tarot-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow), var(--shadow-gold); }
.tarot-card .glyph { font-size: 2.6rem; color: var(--gold-bright); filter: drop-shadow(0 0 10px rgba(216,184,106,.5)); }
.tarot-card .title { font-family: var(--serif); font-size: 1rem; letter-spacing: .05em; }
.tarot-card.back { background-image: radial-gradient(circle at 50% 50%, rgba(216,184,106,.12), transparent 60%); }

/* ---------- Messagerie ---------- */
/* Indicateur de frappe (3 points animés) */
.typing-dots { display: inline-flex; gap: .25rem; align-items: center; padding: .4rem 0; }
.typing-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--mist); animation: typing 1.2s infinite ease-in-out; }
.typing-dots span:nth-child(2) { animation-delay: .2s; }
.typing-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
/* Message payant (bulle avec sceau or) */
.paid-msg {
  position: relative; border: 1px solid rgba(216,184,106,.4); border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(42,27,77,.6), rgba(17,13,36,.75)); padding: .9rem 1.1rem;
}
.paid-msg .seal { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; color: var(--gold-bright); margin-bottom: .4rem; }
.paid-msg .seal::before { content: '✦'; }
.paid-msg.locked { filter: none; }
.paid-msg.locked .body { filter: blur(5px); user-select: none; pointer-events: none; }

/* ---------- Pages légales ---------- */
.legal { max-width: 760px; margin: 0 auto; color: var(--mist); line-height: 1.8; }
.legal h2 { color: var(--moon); margin: 2rem 0 .8rem; font-size: 1.5rem; }
.legal h3 { color: var(--moon); margin: 1.4rem 0 .5rem; }
.legal p, .legal li { margin-bottom: .6rem; }
.legal ul, .legal ol { padding-left: 1.4rem; }
.legal a { color: var(--gold-bright); text-decoration: underline; }

@media (max-width: 760px) {
  .nav { gap: .9rem; font-size: .85rem; }
  .nav .nav-hide { display: none; }
  .section { padding: 3rem 0; }
  .stepper { font-size: .72rem; }
  .step { padding-top: 42px; }
  .tier-bar { grid-template-columns: 70px 1fr auto; gap: .5rem; }
  .statement-row { grid-template-columns: 1fr auto; }
  .hud { top: .6rem; right: .6rem; gap: .8rem; padding: .5rem .9rem; }
  .hud .timer { font-size: 1.1rem; }
  .call-controls { gap: .7rem; }
  .call-controls .ctrl { width: 48px; height: 48px; font-size: 1.1rem; }
  .call-controls .ctrl.hangup { width: 56px; height: 56px; }
  .dash-nav { overflow-x: auto; flex-wrap: nowrap; }
  .trust-row { gap: 1rem; font-size: .82rem; }
}
