@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;700&display=swap');

/* ─────────────────────────────────────────────────────────────────
   VARIABLES & RESET
───────────────────────────────────────────────────────────────── */
:root {
  --bg-deep:      #090912;
  --bg-dark:      #0d0d1a;
  --bg-card:      rgba(255,255,255,0.04);
  --bg-card-hov:  rgba(255,255,255,0.08);
  --border:       rgba(255,255,255,0.08);
  --border-accent:rgba(124,58,237,0.4);

  --violet:       #7c3aed;
  --violet-light: #a855f7;
  --violet-glow:  rgba(124,58,237,0.25);
  --gold:         #f59e0b;
  --gold-light:   #fbbf24;
  --gold-glow:    rgba(245,158,11,0.2);

  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #475569;

  --success: #10b981;
  --warn:    #f59e0b;
  --danger:  #ef4444;
  --info:    #3b82f6;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(124,58,237,0.15);

  --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────
   FOND ANIMÉ
───────────────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(124,58,237,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 80% 80%, rgba(245,158,11,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ─────────────────────────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────────────────────────── */
#app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.view { flex: 1; padding: 0 16px 80px; max-width: 480px; margin: 0 auto; width: 100%; }

/* ─────────────────────────────────────────────────────────────────
   TOPBAR
───────────────────────────────────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 12px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}
.topbar-back {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.topbar-back:hover { background: var(--bg-card-hov); color: var(--text-primary); }
.topbar-title { font-size: 15px; font-weight: 600; flex: 1; }
.topbar-badge {
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 20px; background: var(--violet-glow);
  border: 1px solid var(--border-accent); color: var(--violet-light);
}

/* ─────────────────────────────────────────────────────────────────
   WELCOME VIEW
───────────────────────────────────────────────────────────────── */
.welcome-hero {
  text-align: center;
  padding: 60px 20px 40px;
}
.welcome-logo {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--violet-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  margin-bottom: 8px;
}
.welcome-logo-sub {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.welcome-tagline {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 280px;
  margin: 0 auto 48px;
  line-height: 1.5;
}
.welcome-actions { display: flex; flex-direction: column; gap: 12px; }

/* ─────────────────────────────────────────────────────────────────
   BOUTONS
───────────────────────────────────────────────────────────────── */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,0.06); }
.btn:active::after { background: rgba(255,255,255,0.12); }

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-light));
  color: white;
  box-shadow: 0 4px 20px var(--violet-glow);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(124,58,237,0.4); transform: translateY(-1px); }

.btn-gold {
  background: linear-gradient(135deg, #d97706, var(--gold));
  color: #1a0f00;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-gold:hover { box-shadow: 0 6px 28px rgba(245,158,11,0.35); transform: translateY(-1px); }

.btn-ghost {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.btn-ghost:hover { background: var(--bg-card-hov); color: var(--text-primary); border-color: rgba(255,255,255,0.15); }

.btn-danger {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  color: var(--danger);
}
.btn-danger:hover { background: rgba(239,68,68,0.25); }

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  width: auto;
}

.btn-icon {
  width: 38px; height: 38px;
  padding: 0;
  border-radius: 50%;
  width: auto;
  min-width: 38px;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────
   CARDS
───────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.card:hover { border-color: var(--border-accent); box-shadow: var(--shadow-glow); }
.card-clickable { cursor: pointer; }
.card-clickable:active { transform: scale(0.98); }

.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.card-title { font-size: 16px; font-weight: 700; }
.card-subtitle { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ─────────────────────────────────────────────────────────────────
   JAP LIST ITEM
───────────────────────────────────────────────────────────────── */
.jap-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 10px;
}
.jap-item:hover { border-color: var(--border-accent); background: var(--bg-card-hov); transform: translateX(4px); }
.jap-item-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--violet), var(--violet-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.jap-item-info { flex: 1; min-width: 0; }
.jap-item-name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jap-item-meta { font-size: 12px; color: var(--text-muted); }
.jap-item-status {
  font-size: 11px; font-weight: 600; padding: 4px 10px;
  border-radius: 20px;
}
.status-prep { background: rgba(59,130,246,0.15); color: var(--info); border: 1px solid rgba(59,130,246,0.3); }
.status-inv  { background: rgba(245,158,11,0.15); color: var(--gold); border: 1px solid rgba(245,158,11,0.3); }
.status-wish { background: rgba(168,85,247,0.15); color: var(--violet-light); border: 1px solid rgba(168,85,247,0.3); }
.status-done { background: rgba(16,185,129,0.15); color: var(--success); border: 1px solid rgba(16,185,129,0.3); }

/* ─────────────────────────────────────────────────────────────────
   FORMS
───────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.8px;
  display: block; margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--violet-light);
  background: rgba(124,58,237,0.05);
  box-shadow: 0 0 0 3px var(--violet-glow);
}
.form-input::placeholder { color: var(--text-muted); }
.form-select { cursor: pointer; }
.form-select option { background: #1a1a2e; }
.form-textarea { resize: vertical; min-height: 80px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.input-with-icon { position: relative; }
.input-with-icon .form-input { padding-right: 44px; }
.input-icon {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 18px; cursor: pointer;
}
.input-icon:hover { color: var(--violet-light); }

/* ─────────────────────────────────────────────────────────────────
   SECTION HÉRITIERS
───────────────────────────────────────────────────────────────── */
.section-title {
  font-size: 13px; font-weight: 700; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 1px;
  margin: 24px 0 12px;
  display: flex; align-items: center; gap: 8px;
}
.section-title::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

.heir-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: var(--transition);
}
.heir-chip:hover { border-color: var(--border-accent); }
.heir-chip-avatar {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: white; flex-shrink: 0;
}
.heir-chip-info { flex: 1; min-width: 0; }
.heir-chip-email { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.heir-chip-role { font-size: 11px; color: var(--text-muted); }
.heir-chip-badge {
  font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: 10px; background: var(--violet-glow);
  color: var(--violet-light); border: 1px solid var(--border-accent);
}
.heir-chip-dead { opacity: 0.5; }
.heir-chip-dead .heir-chip-avatar { background: linear-gradient(135deg, #374151, #4b5563); }

/* ─────────────────────────────────────────────────────────────────
   INVENTAIRE
───────────────────────────────────────────────────────────────── */
.bien-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.bien-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.bien-card:hover { border-color: var(--border-accent); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.bien-card.liked { border-color: var(--violet-light); }
.bien-card.liked::before {
  content: '♥';
  position: absolute; top: 8px; right: 8px;
  width: 26px; height: 26px;
  background: var(--violet);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: white;
  z-index: 2;
}
.bien-img {
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(245,158,11,0.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}
.bien-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.bien-body { padding: 10px; }
.bien-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; line-height: 1.3; }
.bien-value {
  font-size: 13px; font-weight: 700;
  color: var(--gold);
}
.bien-cat { font-size: 11px; color: var(--text-muted); }
.bien-qty { font-size: 11px; color: var(--text-muted); }

/* Bien liste (mode liste) */
.bien-list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.bien-list-item:hover { border-color: var(--border-accent); background: var(--bg-card-hov); }
.bien-list-emoji {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(245,158,11,0.15));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.bien-list-info { flex: 1; min-width: 0; }
.bien-list-name { font-size: 14px; font-weight: 600; }
.bien-list-sub { font-size: 12px; color: var(--text-muted); }
.bien-list-value { font-size: 14px; font-weight: 700; color: var(--gold); flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────────────
   LISTE DE SOUHAITS
───────────────────────────────────────────────────────────────── */
.wishlist-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(245,158,11,0.05));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.wishlist-total-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; }
.wishlist-total-value { font-size: 22px; font-weight: 800; color: var(--gold); }

.wish-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  position: relative;
}
.wish-rank {
  width: 28px; height: 28px;
  background: var(--violet);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.wish-move { display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.wish-move-btn {
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.05);
  border: none;
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  transition: var(--transition);
}
.wish-move-btn:hover { background: var(--violet-glow); color: var(--violet-light); }
.wish-remove {
  width: 28px; height: 28px;
  background: rgba(239,68,68,0.1);
  border: none;
  border-radius: 50%;
  color: var(--danger);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: var(--transition);
  flex-shrink: 0;
}
.wish-remove:hover { background: rgba(239,68,68,0.25); }

/* ─────────────────────────────────────────────────────────────────
   PARTAGE / RÉSULTATS
───────────────────────────────────────────────────────────────── */
.progress-bar-wrap {
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  height: 8px;
  overflow: hidden;
  margin: 8px 0 4px;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--violet), var(--violet-light));
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}

.heir-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.heir-result-card:hover { border-color: var(--border-accent); }
.heir-result-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  background: rgba(255,255,255,0.02);
}
.heir-result-avatar {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--violet), var(--violet-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.heir-result-name { font-size: 14px; font-weight: 700; }
.heir-result-meta { font-size: 12px; color: var(--text-muted); }
.heir-result-value { margin-left: auto; text-align: right; }
.heir-result-total { font-size: 16px; font-weight: 800; color: var(--gold); }
.heir-result-soulte {
  font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 10px;
}
.soulte-pos { color: var(--success); background: rgba(16,185,129,0.12); }
.soulte-neg { color: var(--danger); background: rgba(239,68,68,0.12); }
.soulte-zero { color: var(--text-muted); background: rgba(255,255,255,0.05); }

.heir-result-body {
  padding: 0 16px 14px;
  display: none;
}
.heir-result-body.open { display: block; }
.result-bien-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.result-bien-item:last-child { border-bottom: none; }

/* ─────────────────────────────────────────────────────────────────
   MODALE
───────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn 0.2s ease;
}
.modal-overlay.hidden { display: none; }
.modal-sheet {
  background: #13131f;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 24px 20px 40px;
  width: 100%; max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s cubic-bezier(0.4,0,0.2,1);
}
.modal-handle {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 20px;
}
.modal-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ─────────────────────────────────────────────────────────────────
   TOAST
───────────────────────────────────────────────────────────────── */
#toast-container {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 200;
  display: flex; flex-direction: column; gap: 8px;
  align-items: center;
  pointer-events: none;
}
.toast {
  background: rgba(30,30,46,0.95);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  white-space: nowrap;
}
.toast-success { border-color: rgba(16,185,129,0.4); }
.toast-warn    { border-color: rgba(245,158,11,0.4); }
.toast-error   { border-color: rgba(239,68,68,0.4); }

@keyframes toastIn  { from { opacity:0; transform: translateY(12px); } to { opacity:1; transform: translateY(0); } }
@keyframes toastOut { from { opacity:1; } to { opacity:0; } }

/* ─────────────────────────────────────────────────────────────────
   BADGES / PILLS
───────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 9px; border-radius: 20px;
}
.badge-violet { background: var(--violet-glow); color: var(--violet-light); border: 1px solid var(--border-accent); }
.badge-gold   { background: var(--gold-glow); color: var(--gold); border: 1px solid rgba(245,158,11,0.3); }
.badge-green  { background: rgba(16,185,129,0.12); color: var(--success); border: 1px solid rgba(16,185,129,0.3); }
.badge-red    { background: rgba(239,68,68,0.12); color: var(--danger); border: 1px solid rgba(239,68,68,0.3); }
.badge-gray   { background: rgba(255,255,255,0.06); color: var(--text-muted); border: 1px solid var(--border); }

/* ─────────────────────────────────────────────────────────────────
   STEP INDICATOR
───────────────────────────────────────────────────────────────── */
.steps {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 28px;
}
.step {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  position: relative;
  font-size: 11px; color: var(--text-muted);
  font-weight: 600;
}
.step::before {
  content: attr(data-n);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  margin-bottom: 4px;
  z-index: 1;
  transition: var(--transition);
}
.step.active::before { background: var(--violet); border-color: var(--violet-light); color: white; box-shadow: 0 0 12px var(--violet-glow); }
.step.done::before { background: var(--success); border-color: var(--success); color: white; content: '✓'; }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 50%; top: 14px;
  width: 100%; height: 1.5px;
  background: var(--border);
}
.step.done:not(:last-child)::after { background: var(--success); }
.step.active { color: var(--violet-light); }

/* ─────────────────────────────────────────────────────────────────
   TIRAGE AU SORT ANIMATION
───────────────────────────────────────────────────────────────── */
.lottery-box {
  text-align: center;
  padding: 32px;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(245,158,11,0.05));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  margin: 16px 0;
}
.lottery-emoji { font-size: 48px; animation: bounce 0.5s infinite alternate; }
.lottery-title { font-size: 18px; font-weight: 700; margin: 12px 0 4px; }
.lottery-sub { font-size: 13px; color: var(--text-muted); }

@keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-8px); } }

/* Tour card */
.tour-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 8px;
}
.tour-card-title {
  font-size: 12px; font-weight: 700; color: var(--violet-light);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 10px;
}
.tour-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.tour-item:last-child { border-bottom: none; }
.tour-item-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────
   BOTTOM NAV / FAB
───────────────────────────────────────────────────────────────── */
.fab {
  position: fixed;
  bottom: 24px; right: 20px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--violet-light));
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 6px 24px var(--violet-glow);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 50;
}
.fab:hover { transform: scale(1.08) rotate(15deg); box-shadow: 0 8px 32px rgba(124,58,237,0.5); }
.fab:active { transform: scale(0.95); }

/* ─────────────────────────────────────────────────────────────────
   MISC UTILS
───────────────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 20px 0;
}
.text-center { text-align: center; }
.text-muted   { color: var(--text-muted); }
.text-small   { font-size: 12px; }
.text-gold    { color: var(--gold); }
.text-violet  { color: var(--violet-light); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.fw-700       { font-weight: 700; }
.fw-800       { font-weight: 800; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.gap-8 { gap: 8px; }
.flex  { display: flex; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }

.empty-state {
  text-align: center; padding: 48px 20px;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.empty-state-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--text-secondary); }

/* Upload photo zone */
.photo-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  font-size: 13px;
}
.photo-zone:hover { border-color: var(--violet-light); color: var(--violet-light); background: var(--violet-glow); }
.photo-zone input { display: none; }
.photo-preview {
  width: 100%; max-height: 160px;
  object-fit: cover; border-radius: var(--radius-sm);
  display: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--violet); }

/* Responsive */
@media (max-width: 360px) {
  .bien-grid { grid-template-columns: 1fr; }
  .form-row  { grid-template-columns: 1fr; }
}
